CN102082969A - External Bluetooth equipment driving system for set-top box - Google Patents
External Bluetooth equipment driving system for set-top box Download PDFInfo
- Publication number
- CN102082969A CN102082969A CN 201010528746 CN201010528746A CN102082969A CN 102082969 A CN102082969 A CN 102082969A CN 201010528746 CN201010528746 CN 201010528746 CN 201010528746 A CN201010528746 A CN 201010528746A CN 102082969 A CN102082969 A CN 102082969A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- equipment
- module
- top box
- external
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses an external Bluetooth equipment driving system for a set-top box, which comprises a Bluetooth protocol module, a Bluetooth interface module, an equipment driving module, a Bluetooth equipment module and a loading module, wherein the Bluetooth protocol module is used for realizing a higher-layer application service; the Bluetooth interface module is used for finishing the detection of Bluetooth hardware equipment, initialization of an embedded interface module and the like; the equipment driving module is used for establishing a physical link for Bluetooth equipment, establishing an L2CAP logic link, preparing for data communication between the equipment, waiting for data transmission and receiving events, starting the data communication, calling different functions according to transmission and receiving types, and after the transmission and receiving processing of data is finished, canceling the link and resetting each parameter of the system; the Bluetooth equipment module corresponds to each Bluetooth hardware equipment; and the loading module is used for realizing the loading of an external Bluetooth equipment driving module for the set-top box, and realizing the sharing of all Bluetooth equipment under the condition of not installing various Bluetooth equipment drivers. The external Bluetooth equipment driving system for the set-top box achieves Bluetooth equipment driving universality and equipment compatibility.
Description
Technical field
The present invention relates to digital home technical field, be specifically related to the external bluetooth equipment drive system of a kind of set-top box.
Background technology
Along with being the Information Technology Development of core with the digital technology, caused the revolution of television transmission technology and mode, expedited the emergence of the appearance of technology such as digital home.In the cry of the integration of three networks more and more higher today, be that the digital home network development prospect of core is very good with the digital TV set-top box.The shooting of various digital family equipments such as bluetooth is first-class to be connected into the Internet by blue tooth interface, and the user of digital home then manages these equipment by management platform, such as remote monitoring or the like.
But, we find Digital Television and digital home's integration of three networks, many hardware interfaces drivings and communication problem that 3C merges in the interactive application are the greatest problem that faces at present, the present inventor finds in the process of research based on the compatible Driving technique of the many hardware interfaces of Digital Television of Linux, in conjunction with digital television system characteristics and linux system kernel optimisation technique, adopt LKM (Linux Kernel Module) device drives dynamic load mechanism, the bluetooth equipment of designing drives " the hardware socket layer " that can shield hardware differences, realize abundant external apparatus interface standard flexibly, have extensibility, make things convenient for hardware to load and upgrading.
We find also that in the digital home network of set-top box as digital home gateway the file that is stored in set-top box generally all is kept on the very limited FLASH chip in space simultaneously.And the bluetooth equipment that provides at different manufacturers, possible driver can be different, and the driver occupation space can be very big.It can't guarantee versatility and equipment compatibility that bluetooth equipment drives.
Summary of the invention
The embodiment of the invention provides a kind of set-top box external bluetooth equipment drive system, increased the function of module loading at multiple bluetooth equipment, solve the method for special bluetooth equipment driving problems, make this kind equipment under set-top box, still can normally use during carry, improved the compatibility of set-top box various peripheral hardwares.
Accordingly, the embodiment of the invention provides a kind of set-top box external bluetooth equipment drive system, comprising:
The Bluetooth protocol module is used to realize the higher layer applications service;
The blue tooth interface module is used to finish the detecting bluetooth hardware device, work such as embedded interface pattern initialization;
Device driver module is used for bluetooth equipment and sets up physical link, sets up the L2CAP logical links, and the equipment room data communication is ready, wait for the data transmit-receive incident, log-on data communication is called different functions according to the transmitting-receiving type then, data transmit-receive disposes, and cancels link, each parameter reset of system;
The bluetooth equipment module is corresponding to each bluetooth hardware equipment;
Load-on module, be used to realize the loading of the external bluetooth equipment driver module of set-top box, by on set-top box, increasing the module dynamic loading function, compatibility when realize needing the load driver operation need not to install the shared use that realizes all bluetooth equipments under the situation of various bluetooth equipment drivers.
The external bluetooth equipment drive system of described set-top box adopts linux kernel module LKM mechanism.
Described device driver module encapsulates according to the Bluetooth protocol of standard, reserves two interfaces, and wherein: an interface is that bluetooth equipment links to each other with set-top box is wireless, obtains external equipment information by the USB mouth; An interface is to link to each other with the bluetooth Driver Library, dynamic load bluetooth equipment interface module.
Described external bluetooth equipment driver module storehouse mainly is divided into the control transmission bluetooth according to the blue-teeth data transmission means and drives, and interrupts the transmission bluetooth and drives, and the bulk transfer bluetooth drives, and the transmission bluetooth drives four kinds when waiting.
Described load-on module is used for when inserting bluetooth equipment, calls the probe method and detects and transmitted the information of coming in, and obtains PID, VID and the device type information of this equipment; According to device type, drive by the external bluetooth of USB interface prestrain; Fill struct usb_device simultaneously and finish initialization to this equipment, make I/o, memory can use, wake-up device, application memory headroom, the I/o of configuration bluetooth, memory resource, device registration; When bluetooth equipment is pulled out, calls the disconnect method and finish unloading; Discharge bluetooth equipment and PCI resource, the PCI equipment of stopping using makes the device pointer in the PCI equipment compose empty; Simultaneously the bluetooth driver module of prestrain is unloaded.
Described load-on module comprises:
USB.core, be used to call probe function probe, survey external equipment and obtain equipment supplier's identification code VID, the product ID PID of equipment, index file according to essential information coupling associated drives module, by the USB device driver module, with the transmission of corresponding bluetooth driver module and be loaded into the set-top box kernel;
The USB device driver module is used to provide the driving function of USB device, reads the recognition of devices and the descriptor that are obtained by USB core probe function; The read-write transmission of control data stream; Report the information of access device to the set-top box kernel; Load external driver module when needing;
The USB control treatment module is used to provide the USB device data processing function, and set-top box is carried out information interaction by USB interface and external driver module; The bluetooth equipment VID, the PID that report according to the device drives index and the USB driver module of set-top box storage mate;
External bluetooth Driver Library module, being used to preserve the bluetooth that needs that set-top box supports load drives and relevant device information, preserve bluetooth driver module and relevant device information, and offer the external path that set-top box drives, make things convenient for set-top box to load by index file.
The present invention contrasts prior art following beneficial effect: for versatility and the equipment compatibility that guarantees that bluetooth equipment drives, adopted a kind of method of dynamic load device driver module, device driver module is divided into several sections, constant upper-layer protocol, public function etc. are solidificated in the FLASH chip, and the form that the driver module that changes is written as dynamic base is kept at external memory device, utilize PID, VID to set up index and write FLASH.Greatly enrich the interface standard of external equipment, solved set-top-box chip limited storage space problem.Realized the bluetooth driver of digital home.Digital home's bluetooth equipment can provide log-on message to kernel by this driving, communicates thereby insert home network.Widened digital home's scope of business.Adopt LKM (Linux Kernel Module) mechanism, design " the hardware socket layer " of shielding hardware differences, realize abundant external apparatus interface standard flexibly.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the external bluetooth equipment driving system structure of the set-top box in an embodiment of the invention schematic diagram;
Fig. 2 is the structural representation of the load-on module in the embodiment of the invention;
Fig. 3 is the external bluetooth equipment driver module library structure figure in the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
The invention will be further described below in conjunction with drawings and Examples.
Fig. 1 shows the external bluetooth equipment driving system structure of set-top box of the present invention schematic diagram, this system comprises, comprise the Bluetooth protocol module 101 that is used for control data communication, be used to connect the blue tooth interface module 102 of bluetooth peripheral hardware, be used for the device driver module 103 of communicating by letter, comprise that also being used for storage supports described bluetooth external equipment essential information bluetooth equipment module 104 with bluetooth hardware; When described bluetooth external device start, obtain product P ID, VID by the bluetooth equipment module, the usb data control treatment module is searched corresponding blue tooth interface module in the index that is stored in the set-top box the inside.Described blue tooth interface module 102 by load-on module 105 with transfer to set-top box and under the control of usb data control treatment module, be loaded, concrete:
Bluetooth protocol module 101 is used to realize the higher layer applications service, mainly comprises the WAE/WAP standard, is used for satisfying the demand of Application and Development and service on cordless communication network; The TCP/UDP transmission control protocol, Object Exchange OBEX, and point-to-point protocol PPP, audio frequency/phone (A/T order), binary system phone control protocol (TCS-BIN), serial ports simulation protocol (RFCOMM), service discovery protocol (SDP), logical link control and adaptation protocol (L2CAP), audio frequency, bluetooth host control unit interface (HCI), LMP Link Manager Protocol (LMP), base band (BB) agreement, radio frequency (RF) agreement or the like;
Blue tooth interface module 102 is used to finish the detecting bluetooth hardware device, work such as embedded interface pattern initialization;
Device driver module 103, be used for bluetooth equipment and set up physical link, set up the L2CAP logical links, the equipment room data communication is ready, waits for the data transmit-receive incident, log-on data communication, call different functions according to the transmitting-receiving type then, hci_rx_task is the task of being responsible for receiving data, and it fetches data from hdev->rx_q formation, calls layer functions according to the type of data then and handles.Hci_tx_task is the task of being responsible for sending data, sends ACL and SCO data among all connection, and the packet among hdev->raw_q.Data transmit-receive disposes, and cancels link, each parameter reset of system;
Bluetooth equipment module 104, corresponding to each bluetooth hardware equipment, bluetooth equipment module 104 and bluetooth equipment interface module 102 are used to obtain the bluetooth equipment facility information here, as PID number, VID number or the like.
Load-on module 105, be used to realize the loading of the external bluetooth equipment driver module of set-top box, by on set-top box, increasing the module dynamic loading function, compatibility when realize needing the load driver operation need not to install the shared use that realizes all bluetooth equipments under the situation of various bluetooth equipment drivers.
What adopt when the bluetooth driver described in the present invention designs is OO method.An equipment is exactly an object (net_device structure), and there is data and the method for oneself its inside.The fundamental method of bluetooth equipment has initialization, sends and receives.
The device driver module 103 here can encapsulate according to the Bluetooth protocol of standard, stays two interfaces, and one is that bluetooth equipment links to each other with set-top box is wireless, obtains external equipment information by the USB mouth.One is to link to each other with the bluetooth Driver Library, dynamic load bluetooth equipment interface module.
What the set-top box in the embodiment of the invention adopted is the linux kernel, thereby owing to has introduced kernel mechanism. can think dynamically to add or removing module in the kernel, thereby can control the size of kernel.Yet in a single day module is inserted into kernel, and it is just the same with the kernel other parts.
It is one of most important innovation of linux kernel that Linux can load kernel module.They provide telescopic, dynamic kernel.Single kernel (monolithic kernel), promptly most of function of operating system all is called as kernel, and moves under privileged mode.Can when moving, dynamically change Linux by linux kernel module (LKM).LKM comprises an entrance function and withdraws from function, and when to the kernel insert module, the call entry function then calls during from the kernel removing module and withdraws from function.Because entrance function and export function are user-defined,, are used to define these functions and belong to which kind of function so exist module_init and module_exit grand.It is optionally grand that LKM also comprises the grand of one group of necessity and one group, is used for the licence of definition module, the author of module, description of module or the like.
LKM only special carrying out can link the form obj ect file.The symbol and the result that usually, must the linked object file could in executable file, resolve them.Because LKM could resolve symbol after LKM must being loaded into kernel, so LKM remains an ELF object.You can use the standard object instrument on LKM.
Native system is by increasing the module dynamic loading function on set-top box, solved the compatibility issue when needing the load driver operation, the situation that adaline top box memory space is little need not to install the shared use that can realize all bluetooth equipments under the situation of various bluetooth equipment drivers.
The external bluetooth equipment drive system of set-top box among the present invention, most principal work is finished device drive layer exactly.In Linux all bluetooth equipments all abstract be an interface, this interface provides the operational set to all bluetooth equipments.Represent the ruuning situation of bluetooth equipment in kernel, i.e. bluetooth equipment interface by data structure struct_usb_device.A lot of device, methods that supply system's visit and protocol layer to call are arranged among the data structure usb_device, comprise initialization, the open of opening and closing equipment and stop function, the bt_usb_data function that handle packet sends, pointer and the indication equipment that comprises the message string of the buffering area, I/O end points, message queue and the buffering area that transmit data and message string read and write position index, the transmission buffering area state flag bit that whether is activated, whether exists, whether turns on the light.Definition has special data structure to carry out the transmission of data between system and driver.Supporting in the system provides the support to multi-protocols to sending the buffer memory of data and reception data.
The main flow process that its this system supported can be described as: system initialization, set up that physical link, data transmit and reception etc.System initialization at first, the embedded interface pattern is provided with initialization, the bluetooth module initialization.The external bluetooth equipment of hci_usb_probe block search, bluetooth equipment is set up physical link, set up the L2CAP logical links, the equipment room data communication is ready, waits for the data transmit-receive incident, log-on data communication, call different functions according to the transmitting-receiving type then, hci_rx_task is the task of being responsible for receiving data, and it fetches data from hdev->rx_q formation, calls layer functions according to the type of data then and handles.Hci_tx_task is the task of being responsible for sending data, sends ACL and SCO data among all connection, and the packet among hdev->raw_q.Data transmit-receive disposes, and cancels link, each parameter reset of system.
Here bluetooth equipment module and bluetooth equipment interface module are used to obtain the bluetooth equipment facility information, as PID number, VID number or the like.
It is the Core Feature of this bluetooth driver that the bluetooth equipment functional module here realizes.At first when bluetooth equipment was sought to insert main frame, console controller HCI used control channel to enumerate, and distributes unique device address (1-127) to it, reads the class of this equipment simultaneously, device descriptors such as subclass and protocol.
If be complementary if device descriptor information that the device descriptor that reads reads and hci_usb driver are registered to the information of USB core, then equipment and corresponding driving program bound.Call the probe function hci_usb_probe of appointment among the hci_usb_driver, partial data among the initialization structure hci_usb, and registration HCI equipment.
And carry out successively by function m odule_init, hci_usb_init, usb_register, usb_register finally calls usb_register_driver and finishes driving and register to kernel.The external bluetooth equipment of hci_usb_probe block search, bluetooth equipment is set up physical link, set up the L2CAP logical links, the equipment room data communication is ready, waits for the data transmit-receive incident, log-on data communication, call different functions according to the transmitting-receiving type then, hci_rx_task is the task of being responsible for receiving data, and it fetches data from hdev->rx_q formation, calls layer functions according to the type of data then and handles.Hci_tx_task is the task of being responsible for sending data, sends ACL and SCO data among all connection, and the packet among hdev->raw_q.Data transmit-receive disposes, and cancels link, each parameter reset of system.
Among the present invention, the Bluetooth protocol module is immobilized in bluetooth equipment drives, different device just is revised the module of bottom, but has improved compatibility of apparatus and response rate greatly.The Bluetooth protocol module is divided into three levels.Be the higher layer applications layer, this layer mainly comprises the WAE/WAP standard, is used for satisfying the demand of Application and Development and service on cordless communication network; The TCP/UDP transmission control protocol, Object Exchange OBEX, and point-to-point protocol PPP, audio frequency/phone (A/T order) or the like.The intermediate layer agreement.In this layer, comprised binary system phone control protocol (TCS-BIN), serial ports simulation protocol (RFCOMM), service discovery protocol (SDP), logical link control and adaptation protocol (L2CAP), audio frequency.The bottom hardware layer mainly comprises bluetooth host control unit interface (HCI), LMP Link Manager Protocol (LMP), base band (BB) agreement, radio frequency (RF) agreement.
As shown in Figure 2 for the load-on module block diagram of set-top box of the present invention and with the interface schematic flow sheet in external bluetooth module storehouse.When inserting bluetooth equipment, USB core will call the probe method and detect and transmitted the information of coming in, and obtains information such as PID, the VID of this equipment and device type.According to device type, set-top box drives by the external bluetooth of USB interface prestrain.Fill struct usb_device simultaneously and finish initialization to this equipment, make I/o, memory can use, wake-up device, application memory headroom, the I/o of configuration bluetooth, memory resource, device registration.When bluetooth equipment was pulled out, USB core will call the disconnect method and finish unloading.Discharge bluetooth equipment and PCI resource, the PCI equipment of stopping using makes the device pointer in the PCI equipment compose empty.Simultaneously the bluetooth driver module of prestrain is unloaded.
By explicit module initialization and registration of elimination function and cancellation driver module, call module_init and come module of initialization, and when unloading, call the moduel_exit function.
For drive at various bluetooth peripheral hardwares load and on digital family network appliance free communication, comprised USB core, USB device driver module, USB control treatment module, external bluetooth module storehouse in set-top box kernel the inside.The function of several modules is as follows:
1.USB.core
This part is being more device-independent public functions, pre-loaded in the kernel the inside, by calling the probe function probe of USB core the inside, survey external equipment and obtain VID (equipment supplier ID), PID (the Product ID of equipment, product ID), according to the index file of these essential informations coupling associated drives modules, by the USB device driver module, with corresponding bluetooth driver module transmission and be loaded into the set-top box kernel.
2.USB device driver module
This module provides the driving function of USB device, and the function that the present invention relates to comprises as follows: read the recognition of devices and the descriptor that are obtained by USB core probe function; The read-write transmission of control data stream; Report the information of access device to the set-top box kernel; Load external driver module when needing.
3.USB control treatment module
This module provides the USB device data processing function, and the function that relates among the present invention is as follows: set-top box is carried out information interaction by USB interface and external driver module; The bluetooth equipment VID, the PID that report according to the device drives index and the USB driver module of set-top box storage mate.
4. external bluetooth Driver Library module
This module has been preserved the bluetooth that needs that set-top box supports load and has been driven and relevant device information, and the function that designs among the present invention is as follows; Preserve bluetooth driver module and relevant device information, and offer the external path that set-top box drives, make things convenient for set-top box to load by index file.
As shown in Figure 3, external bluetooth equipment driver module storehouse mainly is divided into the control transmission bluetooth according to the blue-teeth data transmission means and drives, and interrupts the transmission bluetooth and drives, and the bulk transfer bluetooth drives, and the transmission bluetooth drives four kinds when waiting.
Described control transmission drives the visit that is used for the USB device different piece, is generally used for configuration device, obtains facility information, sends a command to equipment, perhaps obtains the status report of equipment.Be used for communicating control information in a word.
Described interruption transmission drives and is mainly used to a spot of data of fixing speed rates, and what bluetooth keyboard and bluetooth mouse used is exactly this mode.Data packets for transmission has contained coordinate information.
Described bulk transfer drives and is used for transferring large number of data, and guaranteeing does not have loss of data, because the huge real-time that do not guarantee of data volume, the bluetooth flash disk adopts this technology exactly.
Transmission drives and is used for transmitting lot of data equally during described the grade, but does not guarantee whether data lose, and sends and receives information with stable speed, and is very responsive to propagation delay.Obviously the equipment that is used for video and audio frequency and so on, more commonly bluetooth camera.
To sum up, the present invention has following beneficial effect: for versatility and the equipment compatibility that guarantees that bluetooth equipment drives, adopted a kind of method of dynamic load device driver module, device driver module is divided into several sections, constant upper-layer protocol, public function etc. are solidificated in the FLASH chip, and the form that the driver module that changes is written as dynamic base is kept at external memory device, utilize PID, VID to set up index and write FLASH.Greatly enrich the interface standard of external equipment, solved set-top-box chip limited storage space problem.Realized the bluetooth driver of digital home.Digital home's bluetooth equipment can provide log-on message to kernel by this driving, communicates thereby insert home network.Widened digital home's scope of business.Adopt LKM (Linux Kernel Module) mechanism, design " the hardware socket layer " of shielding hardware differences, realize abundant external apparatus interface standard flexibly.。
Need to prove, contents such as the information interaction between said system and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than to the external bluetooth equipment drive system of a kind of set-top box that the embodiment of the invention provided, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (6)
1. the external bluetooth equipment drive system of set-top box is characterized in that, comprising:
The Bluetooth protocol module is used to realize the higher layer applications service;
The blue tooth interface module is used to finish the detecting bluetooth hardware device, work such as embedded interface pattern initialization;
Device driver module is used for bluetooth equipment and sets up physical link, sets up the L2CAP logical links, and the equipment room data communication is ready, wait for the data transmit-receive incident, log-on data communication is called different functions according to the transmitting-receiving type then, data transmit-receive disposes, and cancels link, each parameter reset of system;
The bluetooth equipment module is corresponding to each bluetooth hardware equipment;
Load-on module, be used to realize the loading of the external bluetooth equipment driver module of set-top box, by on set-top box, increasing the module dynamic loading function, compatibility when realize needing the load driver operation need not to install the shared use that realizes all bluetooth equipments under the situation of various bluetooth equipment drivers.
2. the external bluetooth equipment drive system of set-top box as claimed in claim 1 is characterized in that, the external bluetooth equipment drive system of described set-top box adopts linux kernel module LKM mechanism.
3. the external bluetooth equipment drive system of set-top box as claimed in claim 2, it is characterized in that, described device driver module encapsulates according to the Bluetooth protocol of standard, reserve two interfaces, wherein: an interface is that bluetooth equipment links to each other with set-top box is wireless, obtains external equipment information by the USB mouth; An interface is to link to each other with the bluetooth Driver Library, dynamic load bluetooth equipment interface module.
4. the external bluetooth equipment drive system of set-top box as claimed in claim 1, it is characterized in that, described external bluetooth equipment driver module storehouse mainly is divided into the control transmission bluetooth according to the blue-teeth data transmission means and drives, interrupting the transmission bluetooth drives, the bulk transfer bluetooth drives, and the transmission bluetooth drives four kinds when waiting.
5. the external bluetooth equipment drive system of set-top box as claimed in claim 1, it is characterized in that, described load-on module is used for when inserting bluetooth equipment, calls the probe method and detects and transmitted the information of coming in, and obtains PID, VID and the device type information of this equipment; According to device type, drive by the external bluetooth of USB interface prestrain; Fill struct usb_device simultaneously and finish initialization to this equipment, make I/o, memory can use, wake-up device, application memory headroom, the I/o of configuration bluetooth, memory resource, device registration; When bluetooth equipment is pulled out, calls the disconnect method and finish unloading; Discharge bluetooth equipment and PCI resource, the PCI equipment of stopping using makes the device pointer in the PCI equipment compose empty; Simultaneously the bluetooth driver module of prestrain is unloaded.
6. the external bluetooth equipment drive system of set-top box as claimed in claim 5 is characterized in that described load-on module comprises:
USB.core, be used to call probe function probe, survey external equipment and obtain equipment supplier's identification code VID, the product ID PID of equipment, index file according to essential information coupling associated drives module, by the USB device driver module, with the transmission of corresponding bluetooth driver module and be loaded into the set-top box kernel;
The USB device driver module is used to provide the driving function of USB device, reads the recognition of devices and the descriptor that are obtained by USB core probe function; The read-write transmission of control data stream; Report the information of access device to the set-top box kernel; Load external driver module when needing;
The USB control treatment module is used to provide the USB device data processing function, and set-top box is carried out information interaction by USB interface and external driver module; The bluetooth equipment VID, the PID that report according to the device drives index and the USB driver module of set-top box storage mate;
External bluetooth Driver Library module, being used to preserve the bluetooth that needs that set-top box supports load drives and relevant device information, preserve bluetooth driver module and relevant device information, and offer the external path that set-top box drives, make things convenient for set-top box to load by index file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010528746 CN102082969B (en) | 2010-10-29 | 2010-10-29 | External Bluetooth equipment driving system for set-top box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010528746 CN102082969B (en) | 2010-10-29 | 2010-10-29 | External Bluetooth equipment driving system for set-top box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102082969A true CN102082969A (en) | 2011-06-01 |
CN102082969B CN102082969B (en) | 2013-03-27 |
Family
ID=44088694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010528746 Expired - Fee Related CN102082969B (en) | 2010-10-29 | 2010-10-29 | External Bluetooth equipment driving system for set-top box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102082969B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105846863A (en) * | 2016-05-31 | 2016-08-10 | 青岛海信电器股份有限公司 | Bluetooth based operation method and device |
CN106412656A (en) * | 2016-10-26 | 2017-02-15 | 四川长虹电器股份有限公司 | Method enabling Android smart device to quickly connect with Bluetooth |
CN107229465A (en) * | 2017-04-21 | 2017-10-03 | 北京小鸟看看科技有限公司 | Method, device and VR main frames for the wake-up head-mounted display of VR main frames |
CN107506212A (en) * | 2017-08-28 | 2017-12-22 | 北京翼辉信息技术有限公司 | A kind of method of the dynamic load driver of sound card in real time operating system |
CN108738000A (en) * | 2018-03-30 | 2018-11-02 | 晨星半导体股份有限公司 | Based on Android(Android)The bluetooth adaptation method and terminal device of system |
CN109408418A (en) * | 2017-08-17 | 2019-03-01 | 深圳市中兴微电子技术有限公司 | A kind of USB mode switching device and method, USB device |
CN109710565A (en) * | 2018-12-03 | 2019-05-03 | 天津津航计算技术研究所 | The logic united when VPX cabinet B code realizes system and method |
CN111954039A (en) * | 2020-07-02 | 2020-11-17 | 深圳市华曦达科技股份有限公司 | Set top box Bluetooth configuration method and device, electronic equipment and storage medium |
CN114070721A (en) * | 2021-11-16 | 2022-02-18 | 中国联合网络通信集团有限公司 | Method for determining module information, terminal and storage medium |
US11461465B1 (en) * | 2019-05-24 | 2022-10-04 | Trend Micro Inc. | Protection of kernel extension in a computer |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2615969Y (en) * | 2002-10-16 | 2004-05-12 | 金纯� | Blue tooth USB interface adapter |
US20050278461A1 (en) * | 2004-06-10 | 2005-12-15 | Microsoft Corporation | Self-installing computer peripherals |
CN101098480A (en) * | 2007-07-27 | 2008-01-02 | 中兴通讯股份有限公司 | Set up box system and method for implementing IP communication |
CN201509245U (en) * | 2009-09-25 | 2010-06-16 | 惠州市九联科技有限公司 | Multifunctional set-top box |
CN201654768U (en) * | 2009-07-30 | 2010-11-24 | 陈志建 | Active type intelligent security USB (Universal Serial Bus) removable storage equipment |
-
2010
- 2010-10-29 CN CN 201010528746 patent/CN102082969B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2615969Y (en) * | 2002-10-16 | 2004-05-12 | 金纯� | Blue tooth USB interface adapter |
US20050278461A1 (en) * | 2004-06-10 | 2005-12-15 | Microsoft Corporation | Self-installing computer peripherals |
CN101098480A (en) * | 2007-07-27 | 2008-01-02 | 中兴通讯股份有限公司 | Set up box system and method for implementing IP communication |
CN201654768U (en) * | 2009-07-30 | 2010-11-24 | 陈志建 | Active type intelligent security USB (Universal Serial Bus) removable storage equipment |
CN201509245U (en) * | 2009-09-25 | 2010-06-16 | 惠州市九联科技有限公司 | Multifunctional set-top box |
Non-Patent Citations (1)
Title |
---|
《电子设计工程》 20100228 郑春芳, 郑灵翔, 石江宏 嵌入式Linux 下USB 蓝牙设备驱动 第53页左栏第3段-55页右栏第4段 第18卷, 第2 期 * |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105846863B (en) * | 2016-05-31 | 2019-07-05 | 青岛海信电器股份有限公司 | A kind of operating method and equipment based on bluetooth |
CN105846863A (en) * | 2016-05-31 | 2016-08-10 | 青岛海信电器股份有限公司 | Bluetooth based operation method and device |
CN106412656A (en) * | 2016-10-26 | 2017-02-15 | 四川长虹电器股份有限公司 | Method enabling Android smart device to quickly connect with Bluetooth |
CN107229465A (en) * | 2017-04-21 | 2017-10-03 | 北京小鸟看看科技有限公司 | Method, device and VR main frames for the wake-up head-mounted display of VR main frames |
CN107229465B (en) * | 2017-04-21 | 2021-02-05 | 北京小鸟看看科技有限公司 | Method and device for waking up head-mounted display of VR (virtual reality) host and VR host |
CN109408418A (en) * | 2017-08-17 | 2019-03-01 | 深圳市中兴微电子技术有限公司 | A kind of USB mode switching device and method, USB device |
CN107506212A (en) * | 2017-08-28 | 2017-12-22 | 北京翼辉信息技术有限公司 | A kind of method of the dynamic load driver of sound card in real time operating system |
CN107506212B (en) * | 2017-08-28 | 2021-08-17 | 北京翼辉信息技术有限公司 | Method for dynamically loading sound card drive on real-time operating system |
CN108738000A (en) * | 2018-03-30 | 2018-11-02 | 晨星半导体股份有限公司 | Based on Android(Android)The bluetooth adaptation method and terminal device of system |
CN109710565A (en) * | 2018-12-03 | 2019-05-03 | 天津津航计算技术研究所 | The logic united when VPX cabinet B code realizes system and method |
CN109710565B (en) * | 2018-12-03 | 2023-07-14 | 天津津航计算技术研究所 | Logic realization system and method for VPX chassis B code time system |
US11461465B1 (en) * | 2019-05-24 | 2022-10-04 | Trend Micro Inc. | Protection of kernel extension in a computer |
CN111954039A (en) * | 2020-07-02 | 2020-11-17 | 深圳市华曦达科技股份有限公司 | Set top box Bluetooth configuration method and device, electronic equipment and storage medium |
CN111954039B (en) * | 2020-07-02 | 2022-07-01 | 深圳市华曦达科技股份有限公司 | Set top box Bluetooth configuration method and device, electronic equipment and storage medium |
CN114070721A (en) * | 2021-11-16 | 2022-02-18 | 中国联合网络通信集团有限公司 | Method for determining module information, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102082969B (en) | 2013-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102082969B (en) | External Bluetooth equipment driving system for set-top box | |
CN102082968A (en) | Multi-hardware compatible bluetooth device driving system | |
US10467154B2 (en) | Multi-port multi-sideband-GPIO consolidation technique over a multi-drop serial bus | |
KR101355058B1 (en) | Windows portable devices interface for bluetooth low energy devices | |
US8359411B2 (en) | Data filtering using central DMA mechanism | |
WO2014079228A1 (en) | Method for automatic cleaning background application of electronic device, electronic device and storage medium | |
US7730236B2 (en) | Cellular phone and portable storage device using the same | |
US20190050366A1 (en) | Device, event and message parameter association in a multi-drop bus | |
JP2019508915A (en) | Optimal latency packetizer finite state machine for messaging and I / O transfer interfaces | |
KR20130081286A (en) | Virtual usb compound device enumeration | |
CN104506379A (en) | Method and system for capturing network data | |
CN101350813A (en) | Method and apparatus for providing WiFi access internet for digital household electrical appliance | |
WO2022251998A1 (en) | Communication method and system supporting multiple protocol stacks | |
CN102932022A (en) | Wireless communication module | |
CN103618809A (en) | Method, device and system for communication under vitualization environment | |
US20190171588A1 (en) | Multi-point virtual general-purpose input/output (mp-vgi) for low latency event messaging | |
CN101840391A (en) | Electronic payment system dual-processor sub-system communication method and calling method thereof | |
CN108984324B (en) | FPGA hardware abstraction layer | |
US20090222602A1 (en) | Optimized data transfer between a portable device and a remote computer | |
WO2012128497A2 (en) | In-car network device for smart car | |
CN105589822A (en) | Data transmission method and device for human interface device | |
KR101475472B1 (en) | Apparatus for controlling connection between devices | |
US20090222588A1 (en) | Portable device and remote computer synchronization | |
US20090132734A1 (en) | Controller with Indirect Accessible Memory | |
CN101630296A (en) | USB attached apparatus and internal data transmission method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130327 Termination date: 20151029 |
|
EXPY | Termination of patent right or utility model |