CN110136419A - A method of passing through Bluetooth remote control Android device - Google Patents
A method of passing through Bluetooth remote control Android device Download PDFInfo
- Publication number
- CN110136419A CN110136419A CN201910480207.6A CN201910480207A CN110136419A CN 110136419 A CN110136419 A CN 110136419A CN 201910480207 A CN201910480207 A CN 201910480207A CN 110136419 A CN110136419 A CN 110136419A
- Authority
- CN
- China
- Prior art keywords
- android device
- program
- android
- bluetooth
- remote control
- 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
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C2201/00—Transmission systems of control signals via wireless link
- G08C2201/20—Binding and programming of remote control devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention relates to Android system field of remote control, specifically disclose a kind of method by Bluetooth remote control Android device, by the way that corresponding ROM program is written in remote controler Bluetooth chip;Barrier-free Service program is installed in controlled Android device;Method of the background process program by inheriting the AccessibilityService process of Android system and overriding onAccessibilityEvent and onInterrupt process, in the running background of Android system, remote controler sends communication instruction to controlled Android device by gatt agreement, after the background process program of controlled Android device receives communication instruction, corresponding operational order is recalled according to the APP of current system operation and the communication instruction received, and services the simulated operation for carrying out operational order by AccessibilityService.The present invention realizes the Bluetooth remote control function of Android system, greatly facilitates the manipulation in the scenes such as driving, smart home to the smart machine of Android system by the cooperation of the background program of low-power consumption bluetooth remote controler and Android system.
Description
Technical field
The present invention relates to Android system field of remote control, specifically disclose a kind of method by Bluetooth remote control Android device.
Background technique
With the development of digital technology, the digital device that people use makes rapid progress.Now most commonly seen personal device
Operating system is Android system.To the mode of Android device control, most common is exactly direct by the touch screen of Android device
The mode of touch-control interacts control, and interaction is convenient, fast.
However have in real life it is many times inconvenient directly go to click screen operator (when such as driving), at this moment
If there is a controller may be implemented to carry out short-range remote control to Android device, can greatly improve user uses body
It tests.There are no the practical Android device remote controlers and implementation based on bluetooth on the market now.
Summary of the invention
In order to overcome existing Android device to lack practical blue Tooth remote controller, to be manipulated in part scene and using not
Just the problem of.The problem of, the present invention provides a kind of method by Bluetooth remote control Android device.
The technical solution adopted by the present invention is that: a method of passing through Bluetooth remote control Android device, including remote controler and nothing
Obstacle service routine, it is characterized in that realizing that steps are as follows:
S1. corresponding ROM program is written in remote controler Bluetooth chip, ROM program pin sets the triggering of each button
There is corresponding communication instruction;
S2. be controlled Android device install Barrier-free Service program, by set interface manage blue Tooth remote controller connection with
And whether the various functions of Barrier-free Service program enable and carry out parameter setting;
S3. background process program is by inheriting the AccessibilityService process of Android system and overriding
The method of onAccessibilityEvent and onInterrupt process, in the running background of Android system;
S4. remote controler and controlled Android device be by Bluetooth pairing, remote controler by communication protocol transmission communication instruction to
Controlled Android device;
S5. be controlled Android device background process program receive communication instruction after, according to current system operation APP and
The communication instruction received recalls corresponding operational order, and is serviced by AccessibilityService and carry out operational order
Simulated operation.
It using the operation that AccessibilityService is simulated include: click, cunning preferably, described
Dynamic, double-click and the click or sliding of multi-point touch.
Preferably, the different interfaces of the operational order corresponding A PP or the page are preset with different allocation plans.
Preferably, the communication protocol is gatt agreement.
The beneficial effects of the present invention are: by the cooperation of the background program of low-power consumption bluetooth remote controler and Android system, it is real
The Bluetooth remote control function of having showed Android system, greatly facilitates the intelligence in the scenes such as driving, smart home to Android system
The manipulation of energy equipment.
Detailed description of the invention
Fig. 1 is the working principle of the invention schematic diagram.
Fig. 2 is structural schematic diagram of the invention.
Fig. 3 is silica gel lid schematic diagram of the invention.
Fig. 4 is BLE bluetooth module circuit diagram of the invention.
In figure: 1, box body, 2, upper cover, 3, silica gel lid, 4, control button, 5, power module, 6, circuit board, 7, indicator light.
Specific embodiment
Referring to Fig. 1 to Fig. 4, the present invention is a kind of method by Bluetooth remote control Android device, and here is of the invention its
In a specific embodiment.
The present invention includes a kind of Android remote controler based on low-power consumption bluetooth, including control circuit and shell;
Referring to fig. 4, control circuit includes micro treatment module, BLE bluetooth module, control button 4, power module 5, micro process
Module is integrated in programmable Bluetooth chip, and the signal for triggering control button 4 is converted into control signal and passes through BLE bluetooth
Module is sent to the Android device by bluetooth connection, and micro treatment module and BLE bluetooth module are arranged on one piece of circuit board 6.
The BLE bluetooth module of the present embodiment uses CST92P10 chip and its support circuit.Bluetooth control equipment of the present invention
Low in energy consumption using BLE bluetooth, data transmission is stablized, and good compatibility, battery has longer service life.
Referring to figs. 2 and 3, shell includes box body 1, upper cover 2 and silica gel lid 3, is equipped with inside box body 1 for blocking circuit board
6 guide pile, silica gel lid 3 are equipped with multiple control buttons 4;It is equipped among upper cover 2 for exposing 3 control button 4 of silica gel lid
Through-hole, silica gel lid 3 are fixedly connected between box body 1 and upper cover 2, and upper cover 2 is threadably secured with box body 1 to be connect.Power module 5
It is fixedly connected in 1 bottom of box body with box body 1.Silica gel lid 3 be closed by box body 1 and upper cover 2 after between gap fix, and be equipped with
There is spacer pin to prevent silica gel lid 3 from sliding.
The box body 1 and upper cover 2 of the present embodiment are designed to cylinder, and the outer diameter of box body 1 is 34.4mm, shell overall thickness
7.8mm, compact, box body 1 and upper cover 2 cast cut forming using aluminium alloy, durable.Control button 4 include upper key,
5 down key, left button, right button and acknowledgement key buttons, are all made of metal clips thin film switch.Power module 5 is one for installing
The battery case and power protecting circuit of 3V button cell.Or using small size battery and charging circuit and
Power protecting circuit.Silica gel upper cover 2 is equipped with the indicator light 7 of LED, and indicator light 7 is connected with micro treatment module.
Referring to Fig. 1, a kind of method by Bluetooth remote control Android device of the invention, including remote controler and Barrier-free Service
Program, Barrier-free Service program include background process program and control interface, and background process program is based on Android
AccessibilityService miscellaneous function exploitation for Bluetooth signal decoding and simulated operation instruction program, from the background into
Journey program pin is preset with the corresponding operational order scheme of communication instruction to each APP that Barrier-free Service program is supported, leads to
It crosses the APP monitor function that AccessibilityService miscellaneous function has and automatically switches corresponding operational order scheme.
Steps are as follows for the method concrete methods of realizing of remote control Android device:
S1. corresponding ROM program is written in remote controler Bluetooth chip, ROM program pin sets the triggering of each button
There is corresponding communication instruction;
S2. be controlled Android device install Barrier-free Service program, by set interface manage blue Tooth remote controller connection with
And whether the various functions of Barrier-free Service program enable and carry out parameter setting;
S3. background process program is by inheriting the AccessibilityService process of Android system and overriding
The method of onAccessibilityEvent and onInterrupt process, in the running background of Android system;
S4. remote controler and controlled Android device be by Bluetooth pairing, remote controler by gatt agreement transmission communication instruction to
Controlled Android device;
S5. be controlled Android device background process program receive communication instruction after, according to current system operation APP and
The communication instruction received recalls corresponding operational order, and is serviced by AccessibilityService and carry out operational order
Simulated operation.
It include: that click, sliding, double-click and multiple spot touch using the operation that AccessibilityService is simulated
The manipulation of the gestures such as the click or sliding of control.
The different runnable interfaces or the page of corresponding practical the manipulated APP of operational order, are preset with different manipulation configurations
Scheme executes the operation of corresponding function at different interfaces to realize.
The present embodiment in actual use, be responsible for and the bluetooth module of Android intelligent equipment mutually communicates by bluetooth module, leads to
Believe that agreement uses GATT communication protocol, each key only corresponds to an independent several byte codes, and each remote controler is one corresponding
Independent device coding.By pressing different buttons in BLE equipment, with click, double-click, three hit or the modes of operation such as long-pressing,
Remotely to control Android device.Corresponding app program is installed, for receiving from bluetooth remote control equipment in Android device
Instruction, and instruction is carried out the different operations such as being converted to touch gestures, click, double-click to control Android device.
Specific manipulation function, the prompt for the functions or operations that can be played chess by the remote control for the display that suspends, or pass through control
Interface processed is checked to inform user.
Claims (4)
1. a kind of method by Bluetooth remote control Android device, including remote controler and Barrier-free Service program, it is characterized in that realizing
Steps are as follows:
S1. corresponding ROM program is written in remote controler Bluetooth chip, ROM program pin is set with pair the triggering of each button
The communication instruction answered;
S2. it is controlled Android device and Barrier-free Service program is installed, the connection and nothing of blue Tooth remote controller are managed by set interface
Whether the various functions of obstacle service routine enable and carry out parameter setting;
S3. background process program is by inheriting the AccessibilityService process of Android system and overriding
The method of onAccessibilityEvent and onInterrupt process, in the running background of Android system;
S4. remote controler and controlled Android device be by Bluetooth pairing, and remote controler sends communication instruction to being controlled by communication protocol
Android device;
S5. after the background process program of controlled Android device receives communication instruction, according to the APP of current system operation and reception
To communication instruction recall corresponding operational order, and pass through the mould that AccessibilityService service carries out operational order
Quasi- operation.
2. a kind of method by Bluetooth remote control Android device according to claim 1, it is characterized in that: the utilization
The operation that AccessibilityService is simulated includes: the click or cunning of click, sliding, double-click and multi-point touch
It is dynamic.
3. a kind of method by Bluetooth remote control Android device according to claim 1, it is characterized in that: the operation refers to
The different interfaces or the page for enabling corresponding A PP are preset with different allocation plans.
4. a kind of method by Bluetooth remote control Android device according to claim 1, it is characterized in that: the communication protocols
View is gatt agreement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910480207.6A CN110136419A (en) | 2019-05-31 | 2019-05-31 | A method of passing through Bluetooth remote control Android device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910480207.6A CN110136419A (en) | 2019-05-31 | 2019-05-31 | A method of passing through Bluetooth remote control Android device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110136419A true CN110136419A (en) | 2019-08-16 |
Family
ID=67580058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910480207.6A Pending CN110136419A (en) | 2019-05-31 | 2019-05-31 | A method of passing through Bluetooth remote control Android device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110136419A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114567515A (en) * | 2022-03-01 | 2022-05-31 | 上海中通吉网络技术有限公司 | Method for implementing automatic group adding of mobile terminal chat application |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130282180A1 (en) * | 2012-04-20 | 2013-10-24 | Electronic Environments U.S. | Systems and methods for controlling home and commercial environments including one touch and intuitive functionality |
CN105516768A (en) * | 2015-12-09 | 2016-04-20 | 深圳创维数字技术有限公司 | Television remote control device position reminding method and system based on Bluetooth |
CN106023360A (en) * | 2016-05-12 | 2016-10-12 | 上海泛创通信技术有限公司 | Intelligent system management method of Bluetooth intelligent lock |
CN106412656A (en) * | 2016-10-26 | 2017-02-15 | 四川长虹电器股份有限公司 | Method enabling Android smart device to quickly connect with Bluetooth |
CN106412654A (en) * | 2016-10-12 | 2017-02-15 | 深圳Tcl新技术有限公司 | Remote controller control method and device based on android system |
CN206743350U (en) * | 2017-05-17 | 2017-12-12 | 临沂昊盾警用装备有限公司 | Bluetooth remote control camera device of mobile phone |
CN207200819U (en) * | 2017-08-10 | 2018-04-06 | 安徽信息工程学院 | A kind of handset remote controller |
US20180184235A1 (en) * | 2016-12-28 | 2018-06-28 | Linctronix Ltd. | Remote bluetooth device communication system and method thereof |
CN108923971A (en) * | 2018-06-29 | 2018-11-30 | 努比亚技术有限公司 | Blue-teeth equipment management method, apparatus, computer readable storage medium and its terminal |
-
2019
- 2019-05-31 CN CN201910480207.6A patent/CN110136419A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130282180A1 (en) * | 2012-04-20 | 2013-10-24 | Electronic Environments U.S. | Systems and methods for controlling home and commercial environments including one touch and intuitive functionality |
CN105516768A (en) * | 2015-12-09 | 2016-04-20 | 深圳创维数字技术有限公司 | Television remote control device position reminding method and system based on Bluetooth |
CN106023360A (en) * | 2016-05-12 | 2016-10-12 | 上海泛创通信技术有限公司 | Intelligent system management method of Bluetooth intelligent lock |
CN106412654A (en) * | 2016-10-12 | 2017-02-15 | 深圳Tcl新技术有限公司 | Remote controller control method and device based on android system |
CN106412656A (en) * | 2016-10-26 | 2017-02-15 | 四川长虹电器股份有限公司 | Method enabling Android smart device to quickly connect with Bluetooth |
US20180184235A1 (en) * | 2016-12-28 | 2018-06-28 | Linctronix Ltd. | Remote bluetooth device communication system and method thereof |
CN206743350U (en) * | 2017-05-17 | 2017-12-12 | 临沂昊盾警用装备有限公司 | Bluetooth remote control camera device of mobile phone |
CN207200819U (en) * | 2017-08-10 | 2018-04-06 | 安徽信息工程学院 | A kind of handset remote controller |
CN108923971A (en) * | 2018-06-29 | 2018-11-30 | 努比亚技术有限公司 | Blue-teeth equipment management method, apparatus, computer readable storage medium and its terminal |
Non-Patent Citations (3)
Title |
---|
李天祥: "《ANDROID物联网开发细致入门与最佳实践》", 30 June 2016, 中国铁道出版社 * |
李文龙: "基于即时通讯软件的智能家居控制***的研究与设计", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 * |
青岛英谷教育科技股份有限公司、德州学院编: "《车载终端应用开发技术》", 31 March 2018, 西安电子科技大学出版社 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114567515A (en) * | 2022-03-01 | 2022-05-31 | 上海中通吉网络技术有限公司 | Method for implementing automatic group adding of mobile terminal chat application |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN203134104U (en) | Intelligent remote control | |
CN102932695B (en) | A kind of remote control thereof, intelligent terminal and intelligent remote control system | |
CN104349198B (en) | The control method of remote control and remote control | |
CN106023991B (en) | A kind of hand-held voice interaction device and exchange method towards multitask interaction | |
CN101478461A (en) | Portable remote controller and method for controlled object arbitrary selection | |
WO2013107266A1 (en) | Robot and control system thereof | |
CN103634169A (en) | A household electrical appliance control system realized based on intelligent terminals | |
CN111193626A (en) | System, method, storage medium and switch for remotely controlling switch | |
CN110136419A (en) | A method of passing through Bluetooth remote control Android device | |
CN112002113A (en) | Intelligent remote control system and method based on NB-IoT network | |
CN211237722U (en) | Electric furniture remote control system with voice recognition function | |
CN106773769A (en) | A kind of magic wand and the method that intelligent home device is controlled based on magic wand | |
CN112506354A (en) | Method for controlling digital equipment by using ring and ring | |
CN113518181B (en) | Shooting control method for automatically matching mobile terminal app parameters | |
CN206193709U (en) | Digital laser page -turning pen | |
CN209517115U (en) | 5G smartwatch | |
CN108681408A (en) | A kind of method and bluetooth keyboard for realizing that bluetooth keyboard is connect with game of mobile terminal | |
CN108829258A (en) | A kind of intelligent keyboard and operating method | |
CN205983060U (en) | Intelligence cross complaint switch | |
CN203313471U (en) | Lamp control apparatus | |
CN209388133U (en) | Smart home device controller and smart home device control system | |
CN106412399A (en) | Auxiliary device for mobile terminal photographing | |
CN207867894U (en) | A kind of interactive voice intelligent switch | |
CN110200379A (en) | A kind of multifunctional intellectual spectacle case | |
TW201725915A (en) | Remote control integrated system and method of infrared household appliance with an intelligent electronic device running an application and combining a transmission device to serve as an integrated remote control |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190816 |