CN112203132A - Method for quickly connecting Bluetooth remote controller during startup of android smart television - Google Patents
Method for quickly connecting Bluetooth remote controller during startup of android smart television Download PDFInfo
- Publication number
- CN112203132A CN112203132A CN202011270629.XA CN202011270629A CN112203132A CN 112203132 A CN112203132 A CN 112203132A CN 202011270629 A CN202011270629 A CN 202011270629A CN 112203132 A CN112203132 A CN 112203132A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- protocol stack
- started
- remote controller
- 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
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000004891 communication Methods 0.000 claims abstract description 8
- 238000012544 monitoring process Methods 0.000 claims description 4
- 238000009434 installation Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000005457 optimization Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
- H04N21/42206—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor characterized by hardware details
- H04N21/42221—Transmission circuitry, e.g. infrared [IR] or radio frequency [RF]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Details Of Television Systems (AREA)
Abstract
The invention relates to a Bluetooth equipment management technology of an android smart television, discloses a method for quickly connecting a Bluetooth remote controller during startup of the android smart television, and solves the problem that remote control operation of the Bluetooth remote controller cannot be received in the initialization process of an installation system of the traditional android smart television. The method comprises the following steps: a reconnection management module which can be independently started is added between a Bluetooth protocol stack and a Bluetooth driver, is realized by adopting a Linux program and is started before starting a video; and the reconnection management module is responsible for realizing reconnection of the Bluetooth remote control equipment after the Bluetooth protocol stack is started and before the Bluetooth protocol stack is started, and is responsible for realizing state synchronization and communication between the Bluetooth protocol stack and the Bluetooth driver after the Bluetooth protocol stack is started.
Description
Technical Field
The invention relates to a Bluetooth device management technology of an android smart television, in particular to a method for quickly connecting a Bluetooth remote controller when the android smart television is started.
Background
Bluetooth device management of the android system is a centralized implementation of a Bluetooth driver, a Bluetooth protocol stack, Bluetooth services, and corresponding device management applications. The other modules except the driver need to wait for the android system to be initialized and then can be started, so that the Bluetooth equipment can work only after the android system is initialized, and the Bluetooth remote controller can be used after the system is initialized.
At present, mainstream android smart televisions have a starting video function, and a plurality of manufacturers operate the function as advertisements, and the advertisement function needs to support the remote controller to be closed. However, the starting time of the startup video is in the initialization process of the android system, which results in that the startup video cannot receive the operation information of the bluetooth remote controller in the system initialization process. The remote control operation of the startup video cannot be realized.
Disclosure of Invention
The technical problem to be solved by the invention is as follows: the method for quickly connecting the Bluetooth remote controller during the startup of the android smart television solves the problem that the remote control operation of the Bluetooth remote controller cannot be received in the initialization process of an installation system of the traditional android smart television.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a method for quickly connecting back a Bluetooth remote controller when an android smart television is started comprises the following steps:
a reconnection management module which can be independently started is added between a Bluetooth protocol stack and a Bluetooth driver, is realized by adopting a Linux program and is started before starting a video; and the reconnection management module is responsible for realizing reconnection of the Bluetooth remote control equipment after the Bluetooth protocol stack is started and before the Bluetooth protocol stack is started, and is responsible for realizing state synchronization and communication between the Bluetooth protocol stack and the Bluetooth driver after the Bluetooth protocol stack is started.
As a further optimization, the reconnection management module is responsible for realizing reconnection of the bluetooth remote control device before the bluetooth protocol stack is started, and specifically includes:
and calling a Bluetooth driving interface to initialize the Bluetooth driving, enabling the Bluetooth driving to work normally, monitoring and processing Bluetooth remote controller return connection information sent by the Bluetooth driving, enabling the Bluetooth remote controller to be connected normally, and recording remote controller equipment information.
As a further optimization, the reconnection management module is responsible for realizing state synchronization and communication between the bluetooth protocol stack and the bluetooth driver after the bluetooth protocol stack is started, and specifically includes:
processing a Bluetooth protocol stack initialization Bluetooth drive interface to ensure that the Bluetooth drive is not initialized for the second time and the protocol stack can obtain a normal return result; providing the information of the connected Bluetooth remote control equipment for the synchronization of a Bluetooth protocol stack; and handing the subsequent Bluetooth remote control back connection message by a Bluetooth protocol stack.
The invention has the beneficial effects that:
through set up a module of being responsible for the management of reconnection between bluetooth protocol stack and bluetooth driver, this module just can load before start-up video starts to take over the reconnection work of bluetooth remote controller, after bluetooth protocol stack starts, as the bridge between bluetooth protocol stack and the bluetooth driver, realize state synchronization and communication between bluetooth protocol stack and bluetooth driver. Therefore, by adopting the scheme, the connection between the Bluetooth remote controller and the system can be established in the android system initialization process, so that the button operation of the remote controller can be responded as soon as the startup video is started, and the user experience is improved.
Drawings
FIG. 1 is a timing diagram of native boot video startup and Bluetooth remote control back connection;
fig. 2 is a timing diagram of the startup video startup and bluetooth remote control back connection after the scheme of the present invention is optimized.
Detailed Description
The invention aims to provide a method for quickly connecting a Bluetooth remote controller during startup of an android smart television, and solves the problem that remote control operation of the Bluetooth remote controller cannot be received in the initialization process of an installation system of the traditional android smart television. In the process from power-on to normal use of the remote controller, the Bluetooth remote controller firstly returns to the connection and then sends remote control key data to the television. The remote control key data is processed by a Bluetooth driver, and the driver can be loaded only by running the kernel of Linux. Therefore, the core of the scheme of the invention is to respond to the back connection action of the Bluetooth remote control in advance.
The invention adds a reconnection management module which can be independently started between a Bluetooth protocol stack and a Bluetooth driver, wherein the reconnection management module is realized by adopting a Linux program and is started before starting up a video; and the reconnection management module is responsible for realizing reconnection of the Bluetooth remote control equipment after the Bluetooth protocol stack is started and before the Bluetooth protocol stack is started, and is responsible for realizing state synchronization and communication between the Bluetooth protocol stack and the Bluetooth driver after the Bluetooth protocol stack is started.
Wherein, the reconnection management module is responsible for realizing the reconnection of the Bluetooth remote control equipment before the Bluetooth protocol stack is opened, and specifically comprises: and calling a Bluetooth driving interface to initialize the Bluetooth driving, enabling the Bluetooth driving to work normally, monitoring and processing Bluetooth remote controller return connection information sent by the Bluetooth driving, enabling the Bluetooth remote controller to be connected normally, and recording remote controller equipment information.
The reconnection management module is responsible for realizing state synchronization and communication between the Bluetooth protocol stack and the Bluetooth driver after the Bluetooth protocol stack is opened, and specifically comprises:
processing a Bluetooth protocol stack initialization Bluetooth drive interface to ensure that the Bluetooth drive is not initialized for the second time and the protocol stack can obtain a normal return result; providing the information of the connected Bluetooth remote control equipment for the synchronization of a Bluetooth protocol stack; and handing the subsequent Bluetooth remote control back connection message by a Bluetooth protocol stack.
In the specific implementation, the invention uses the Linux program to realize the switching of the bluetooth driving interface, and the interfaces of the bluetooth protocol stack calling driver are all connected to the Linux program, and the processing logics of the Linux program and the bluetooth protocol stack are as follows:
after the Linux program is started, calling a Bluetooth driving interface to initialize the Bluetooth driving so that the Bluetooth driving works normally;
before the bluetooth protocol stack calls the program interface, the Linux program is responsible for monitoring and processing remote controller reconnection information sent by the bluetooth driver, so that the remote controller can be normally reconnected, and equipment information is recorded;
after the Bluetooth protocol stack is started, the Linux program processes the interface of the protocol stack initialization driver, so that the driver is not initialized for the second time, and the protocol stack can obtain a normal return result; after the protocol stack initialization is completed, calling a Linux program to synchronize the information of the connected remote controllers; subsequent Bluetooth remote control back-connection messages are processed by a Bluetooth protocol stack through a Linux program.
The sequence diagram of the native boot video startup and bluetooth remote control reconnection is shown in fig. 1, and it can be seen that the remote control reconnection time is significantly slower than the boot video, and the bluetooth remote control can be performed only after the android system initialization is completed. The starting video starting and Bluetooth remote control back-connection time sequence diagram after the optimization of the scheme is shown in fig. 2, the back-connection time of the remote controller is earlier than that of the starting video, so that the key operation of the remote controller can be responded once the starting video is started, and the user experience is improved.
Claims (3)
1. A method for quickly connecting back a Bluetooth remote controller when an android smart television is started is characterized by comprising the following steps:
a reconnection management module which can be independently started is added between a Bluetooth protocol stack and a Bluetooth driver, is realized by adopting a Linux program and is started before starting a video; and the reconnection management module is responsible for realizing reconnection of the Bluetooth remote control equipment after the Bluetooth protocol stack is started and before the Bluetooth protocol stack is started, and is responsible for realizing state synchronization and communication between the Bluetooth protocol stack and the Bluetooth driver after the Bluetooth protocol stack is started.
2. The method for android smart television boot fast loopback Bluetooth remote control of claim 1,
the reconnection management module is responsible for realizing the reconnection of the Bluetooth remote control equipment before the Bluetooth protocol stack is opened, and specifically comprises:
and calling a Bluetooth driving interface to initialize the Bluetooth driving, enabling the Bluetooth driving to work normally, monitoring and processing Bluetooth remote controller return connection information sent by the Bluetooth driving, enabling the Bluetooth remote controller to be connected normally, and recording remote controller equipment information.
3. The method for android smart television boot fast loopback Bluetooth remote control of claim 1,
the reconnection management module is responsible for realizing state synchronization and communication between the Bluetooth protocol stack and the Bluetooth driver after the Bluetooth protocol stack is opened, and specifically comprises:
processing a Bluetooth protocol stack initialization Bluetooth drive interface to ensure that the Bluetooth drive is not initialized for the second time and the protocol stack can obtain a normal return result; providing the information of the connected Bluetooth remote control equipment for the synchronization of a Bluetooth protocol stack; and handing the subsequent Bluetooth remote control back connection message by a Bluetooth protocol stack.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011270629.XA CN112203132A (en) | 2020-11-13 | 2020-11-13 | Method for quickly connecting Bluetooth remote controller during startup of android smart television |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202011270629.XA CN112203132A (en) | 2020-11-13 | 2020-11-13 | Method for quickly connecting Bluetooth remote controller during startup of android smart television |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN112203132A true CN112203132A (en) | 2021-01-08 |
Family
ID=74033503
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202011270629.XA Pending CN112203132A (en) | 2020-11-13 | 2020-11-13 | Method for quickly connecting Bluetooth remote controller during startup of android smart television |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN112203132A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113543104A (en) * | 2021-07-13 | 2021-10-22 | 深圳创维-Rgb电子有限公司 | Bluetooth communication method, multimedia device and storage medium |
| CN113950034A (en) * | 2021-10-14 | 2022-01-18 | 北京鲸鲮信息系统技术有限公司 | Bluetooth behavior simulation method, device and equipment |
| CN114173315A (en) * | 2022-02-14 | 2022-03-11 | 荣耀终端有限公司 | Bluetooth reconnection method and terminal equipment |
| CN114640980A (en) * | 2022-04-21 | 2022-06-17 | 四川长虹电器股份有限公司 | Bluetooth communication method and system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090313659A1 (en) * | 2008-06-17 | 2009-12-17 | Schoolview Technologies, Llc | Campus Audio-Visual Control and Communication System |
| CN106060619A (en) * | 2016-06-27 | 2016-10-26 | 乐视控股(北京)有限公司 | Method for controlling Bluetooth signal response in television and related device |
| US20170171872A1 (en) * | 2013-10-28 | 2017-06-15 | At&T Intellectual Property I, L.P. | Method and apparatus for managing communication interfaces in a communication system |
| CN111510900A (en) * | 2020-04-20 | 2020-08-07 | Oppo广东移动通信有限公司 | Bluetooth transmission method, terminal device and computer readable storage medium |
-
2020
- 2020-11-13 CN CN202011270629.XA patent/CN112203132A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090313659A1 (en) * | 2008-06-17 | 2009-12-17 | Schoolview Technologies, Llc | Campus Audio-Visual Control and Communication System |
| US20170171872A1 (en) * | 2013-10-28 | 2017-06-15 | At&T Intellectual Property I, L.P. | Method and apparatus for managing communication interfaces in a communication system |
| CN106060619A (en) * | 2016-06-27 | 2016-10-26 | 乐视控股(北京)有限公司 | Method for controlling Bluetooth signal response in television and related device |
| CN111510900A (en) * | 2020-04-20 | 2020-08-07 | Oppo广东移动通信有限公司 | Bluetooth transmission method, terminal device and computer readable storage medium |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113543104A (en) * | 2021-07-13 | 2021-10-22 | 深圳创维-Rgb电子有限公司 | Bluetooth communication method, multimedia device and storage medium |
| CN113543104B (en) * | 2021-07-13 | 2023-10-24 | 深圳创维-Rgb电子有限公司 | Bluetooth communication method, multimedia device and storage medium |
| CN113950034A (en) * | 2021-10-14 | 2022-01-18 | 北京鲸鲮信息系统技术有限公司 | Bluetooth behavior simulation method, device and equipment |
| CN113950034B (en) * | 2021-10-14 | 2024-04-26 | 北京字节跳动网络技术有限公司 | Bluetooth behavior simulation method, device and equipment |
| CN114173315A (en) * | 2022-02-14 | 2022-03-11 | 荣耀终端有限公司 | Bluetooth reconnection method and terminal equipment |
| CN114640980A (en) * | 2022-04-21 | 2022-06-17 | 四川长虹电器股份有限公司 | Bluetooth communication method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112203132A (en) | Method for quickly connecting Bluetooth remote controller during startup of android smart television | |
| CN106412656B (en) | The method that Android smart machine quickly connects bluetooth | |
| TWI408971B (en) | Communication system and method for aligning polling timers by a mobile station | |
| CN110427385B (en) | Block chain data updating method, related node and block chain | |
| CN105978766A (en) | Device, system and method for operating electric appliance through employing mobile terminal | |
| US10887401B2 (en) | Device connection method and terminal | |
| CN103345414B (en) | Self-aided terminal controls the method for hardware device, equipment manager and processor | |
| CN104765623A (en) | Data processing method of multiple operating systems and terminal equipment | |
| CN103108232A (en) | Method and system based on interaction control of mobile phone and television | |
| CN111240858A (en) | Event scheduling method and component | |
| WO2022056081A1 (en) | A wireless device and a method for automatic recovery from failures | |
| CN108111520A (en) | Media playing resources processing method, device and terminal | |
| CN115314494B (en) | A method and device for multi-device collaborative work | |
| CN106028142B (en) | A kind of upgrade control method and device of playback equipment | |
| CN105049936B (en) | Method and device for switching on and off | |
| CN105204814A (en) | Sound card switching method and system of Android system | |
| CN106714084B (en) | The method that Android intelligent equipment quickly connects bluetooth | |
| CN107908450A (en) | Application loading method based on thin-client, device and system | |
| CN101086719A (en) | Control of a multifunctional device | |
| CN105933160B (en) | Method for realizing rapid connection of wired network on Android smart television | |
| CN112839194A (en) | Method, device, all-in-one machine and storage medium for sharing camera under dual systems | |
| CN115297467B (en) | Data domain switching method, device, terminal equipment and medium | |
| CN104581326A (en) | Interaction method and device between control device and television | |
| CN109688468A (en) | A kind of playback method, intelligent terminal, system and the storage medium of the video that is switched on | |
| CN115686641A (en) | Power-on control method and device, electronic device, and computer-readable storage medium |
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: 20210108 |