CN106095413A - The collocation method of a kind of bluetooth driver and device - Google Patents

The collocation method of a kind of bluetooth driver and device Download PDF

Info

Publication number
CN106095413A
CN106095413A CN201610379869.0A CN201610379869A CN106095413A CN 106095413 A CN106095413 A CN 106095413A CN 201610379869 A CN201610379869 A CN 201610379869A CN 106095413 A CN106095413 A CN 106095413A
Authority
CN
China
Prior art keywords
multicast message
netlink
bluetooth
inner nuclear
bluetooth chip
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
Application number
CN201610379869.0A
Other languages
Chinese (zh)
Other versions
CN106095413B (en
Inventor
初德进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Qingdao Hisense Electronics 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 Qingdao Hisense Electronics Co Ltd filed Critical Qingdao Hisense Electronics Co Ltd
Priority to CN201610379869.0A priority Critical patent/CN106095413B/en
Publication of CN106095413A publication Critical patent/CN106095413A/en
Application granted granted Critical
Publication of CN106095413B publication Critical patent/CN106095413B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses collocation method and the device of a kind of bluetooth driver, relate to the communications field in order to improve Bluetooth chip detection and the success rate of configuration and efficiency.In the present invention, the client layer of intelligent television receives the Netlink socket multicast message that the inner nuclear layer of described intelligent television reports;Described Netlink multicast message is used for notifying described client layer, is currently accessed the incoming event that the equipment of described inner nuclear layer is triggered;Described client layer detects that described Netlink multicast message is to be triggered by the Bluetooth chip accessing described inner nuclear layer to report, according to the device identification carried in described Netlink multicast message and the type of incoming event triggered by described Bluetooth chip, the bluetooth driver that configuration is corresponding;Thus solve the problems referred to above.

Description

The collocation method of a kind of bluetooth driver and device
Technical field
The present invention relates to the communications field, particularly relate to collocation method and the device of a kind of bluetooth driver.
Background technology
Along with the becoming increasingly abundant of function of intelligent terminal, major part intelligent terminal has Bluetooth function.At present, all supports The intelligent terminal of Bluetooth function, its Bluetooth function is all to be realized by single Bluetooth chip.For intelligent television, bluetooth Chip is integrated on a single bluetooth platelet, is connected by usb bus with TV motherboard.Transmit on the usb bus Data form and type are specified by Bluetooth protocol, mainly include HCI cmd, ACL Data or SCO Data.
In order to enable Bluetooth chip and TV motherboard communication, when Bluetooth chip is linked into TV motherboard, need to load The driver mated with the model of this Bluetooth chip, has been used for the initialization operation of Bluetooth chip.In this process, intelligence Energy TV is firstly the need of detecting the facility informations such as the producer of Bluetooth chip, model, it is possible to the driver finding coupling adds Carry.In prior art, the mode of model of intelligent television detection Bluetooth chip mainly includes the following two kinds:
The first is hardware detection mode.In prior art, set a fixed voltage for every a Bluetooth chip in advance, Utilize the voltage of the Bluetooth chip that ADC (Analog-to-Digital Converter, A-D converter) electric circuit inspection inserts, Judge Bluetooth chip model.But, when the chip model supported is too much, the certainty of measurement of adc circuit cannot ensure, easily Detection error situation occurs.
The second is software detection mode.In prior art, by monitoring/sys/bus/usb/devices catalogue it is No have new device node establishment to judge that new equipment inserts, and the information then reading new equipment judges whether it is bluetooth core Sheet.This kind of mode has two drawbacks, and one is that current android system is increasingly stricter to file permission management, right/sys/ The access of bus/usb/devices catalogue needs root (power user) authority, therefore exists for user program and haves no right to access this The situation of catalogue.Another one drawback is that this kind of scheme exists time delays, Bluetooth chip can be caused to detect not in time, cause indigo plant Tooth function opens slow problem.
Summary of the invention
The present invention provides collocation method and the device of a kind of bluetooth driver, in order to improve Bluetooth chip detection and configuration Success rate and efficiency.
The invention provides the collocation method of a kind of bluetooth driver, the method includes:
The client layer of intelligent television receives the Netlink socket multicast message that the inner nuclear layer of described intelligent television reports; Described Netlink multicast message is used for notifying described client layer, is currently accessed the input thing that the equipment of described inner nuclear layer is triggered Part;
Described client layer detects that described Netlink multicast message is to be triggered by the Bluetooth chip accessing described inner nuclear layer Report, according to the device identification carried in described Netlink multicast message and the incoming event that triggered by described Bluetooth chip Type, the bluetooth driver that configuration is corresponding.
Present invention also offers the configuration device of a kind of bluetooth driver, this device includes:
Receive unit, be positioned at the client layer of intelligent television, for receiving what the inner nuclear layer of described intelligent television reported Netlink socket multicast message;Described Netlink multicast message is used for notifying described client layer, is currently accessed described kernel The incoming event that the equipment of layer is triggered;
Dispensing unit, is positioned at the client layer of described intelligent television, for detection by the Bluetooth chip accessing described inner nuclear layer Triggered the Netlink multicast message reported, according to the device identification carried in described Netlink multicast message with by described indigo plant The type of the incoming event that tooth chip triggers, the bluetooth driver that configuration is corresponding.
From technique scheme it can be seen that the present invention is directed to Bluetooth chip to provide the configuration of a kind of bluetooth driver Scheme.In the present invention, can detect by the way of software that incoming event that Bluetooth chip triggered is (e.g., accurately Insert or pull out event), and the facility information such as the model determining Bluetooth chip;Then, the present invention can also be according to different shaped Number Bluetooth chip, differently configured bluetooth driver, complete corresponding initialization operation, it is seen then that the present invention can not repair On the premise of changing hardware circuit, it is achieved the accurate configuration of bluetooth driver, and improve the detection of Bluetooth chip and configuration Speed and success rate.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, in embodiment being described below required for make Accompanying drawing briefly introduce, it should be apparent that, below describe in accompanying drawing be only some embodiments of the present invention, for this From the point of view of the those of ordinary skill in field, on the premise of not paying creative work, it is also possible to obtain it according to these accompanying drawings His accompanying drawing.
Fig. 1 is the schematic flow sheet of the collocation method of a kind of bluetooth driver in the embodiment of the present invention;
Fig. 2 is that a kind of Bluetooth chip that detects in the embodiment of the present invention inserts or pull out the schematic flow sheet of event;
Fig. 3 is the structural representation of the configuration device of a kind of bluetooth driver in the embodiment of the present invention.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing the present invention made into One step ground describes in detail, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole enforcement Example.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise All other embodiments, broadly fall into the scope of protection of the invention.
Present invention could apply on all kinds of intelligent terminal (such as equipment such as intelligent television, smart mobile phone, panel computers), this Invention can be specifically adapted to can be by the intelligent television of USB interface access Bluetooth chip.In the present invention, software is passed through Mode detect Bluetooth chip into and out event, it is not necessary to rely on the device node that created of client layer, can be quickly And load the bluetooth driver of correspondence accurately.
Fig. 1 shows the schematic flow sheet of the collocation method of a kind of bluetooth driver in the embodiment of the present invention, such as Fig. 1 Shown in, this flow process may include that
Step 11: the Netlink socket multicast that the inner nuclear layer of the client layer reception intelligent television of intelligent television reports disappears Breath;Wherein, Netlink multicast message is used for notifying client layer, is currently accessed the incoming event that the equipment of inner nuclear layer is triggered;
Step 12: client layer detects that Netlink multicast message is to be triggered by the Bluetooth chip accessing inner nuclear layer to report, According to the device identification carried in Netlink multicast message and the type of incoming event triggered by Bluetooth chip, configuration correspondence Bluetooth driver.
Optionally, in above-mentioned steps 11~step 12, load the input thing for monitoring Bluetooth chip being pre-created The BluetoothMonitor process of part;Wherein, BluetoothMonitor process be in intelligent television client layer and with EventHub process shares the Netlink multicast message reported by inner nuclear layer, and EventHub process is used for locating reason intelligent television The incoming event that reports of inner nuclear layer;BluetoothMonitor process receives the Netlink multicast message that inner nuclear layer reports; BluetoothMonitor process judges that whether Netlink multicast message is triggered by USB device and reports, if it is, enter One step obtains the device identification carried in Netlink multicast message, in the Bluetooth chip list pre-set, searches whether to deposit At the Bluetooth chip mated with the device identification got, if it is present in Netlink multicast message being defined as by accessing The Bluetooth chip of stratum nucleare is triggered the Netlink multicast message reported;Otherwise, Netlink multicast message is ignored.
Optionally, in above-mentioned steps 12, BluetoothMonitor process obtains in Netlink multicast message and indicates The type of the incoming event triggered by Bluetooth chip;If incoming event type is load driver program, then load corresponding Bluetooth driver;If incoming event type is for removing driver, then remove corresponding bluetooth driver.
Optionally, in above-mentioned steps, EventHub Process Synchronization receives by the bluetooth of the inner nuclear layer accessing intelligent television Chip is triggered the Netlink multicast message reported, and according to the device identification carried in Netlink multicast message, creates correspondence Device node.
Optionally, before above-mentioned steps 11, create BluetoothMonitor process as follows: create and be used for Synchronize to receive the Socket passage of the Netlink multicast message being reported to client layer by the inner nuclear layer of intelligent television;Definition is at least Can be used in the facility information entrained by detection Netlink multicast message, the data structure of incoming event type;Wherein, if Standby information at least includes device id, device name or EIC equipment identification code.
Generally, present invention have the advantage that
First, the present invention provides the mode of a kind of pure software, inserts or pull out event according to Bluetooth chip, loads or moves Except corresponding bluetooth driver, it is not necessary to change hardware circuit.
Second, the present invention can adaptive all kinds, the Bluetooth chip of various model, owing to the present invention pre-sets useful In the Bluetooth chip list of each facility information of detection Bluetooth chip, when there is newly-increased Bluetooth chip equipment, it is only necessary to more New or safeguard Bluetooth chip list, thus make self adaptation many moneys Bluetooth chip on same intelligent platform be possibly realized.
3rd, the present invention creates the BluetoothMonitor process for detecting and monitor Bluetooth chip, it is provided that one Plant bluetooth driver configuration mechanism.In the present invention, BluetoothMonitor process can be used for Eventhub sane level Synchronize to receive the netlink socket that inner nuclear layer sends over, i.e. create socket pipeline, and then obtained by socket pipeline Take and locate reason Bluetooth chip and insert or pull out triggered incoming event.
First, in the present invention, the false code creating socket pipeline can be such that
Socket(PF_NETLINK,SOCK_DGRAM,NETLINK_KOBJECT_UEVENT)
Wherein, NETLINK_KOBJECT_UEVENT type represents the type of message that equipment state changes.
Secondly, in the present invention, the false code that acquisition is inserted or pull out triggered incoming event by Bluetooth chip is permissible As follows:
Struct uevent
{
String action;/ * equipment state change, as add, remove*/
String path;Catalogue * of/* device node/
String subsystem;The subsystem * of the ownership of/* new equipment/
String firmware;The firmware version of/* new equipment, optional */
Int major;Major device number * of/* new equipment/
Int minor;The secondary device * of/* new equipment/
Int pid;/ * device ID*/
Int vid;/ * vendor id */
String name;/ * device name */
}
Certainly, the false code and obtaining of above-mentioned establishment socket pipeline is inserted or pull out triggered defeated by Bluetooth chip The false code of incoming event be citing describe, in actual applications, can by other data forms create socket pipeline or Obtain incoming event, the most only record as a example by one of which more preferably implementation.
Describe the present invention below.
Fig. 2 shows that a kind of Bluetooth chip that detects in the embodiment of the present invention inserts or pull out the schematic flow sheet of event, As in figure 2 it is shown, this flow process may include that
Step 21:BluetoothMonitor process brings into operation.
Step 22: create socket pipeline.
Step 23:BluetoothMonitor Process Synchronization receives by the USB subsystem being positioned at Linux inner core Offer the Netlink socket multicast message of Eventhub.
Step 24: access the subsystem member in the Netlink socket multicast message received, it is judged that get Netlink socket multicast message be whether to be triggered the incoming event reported, if it is, continue executing with step by USB device Rapid 25, otherwise, rebound performs step 23.
Step 25: access the pid member in the Netlink socket multicast message received, vid member becomes with name Member, it is judged that the device identification of the USB device carried in the Netlink socket multicast message got whether with known bluetooth Chip information mates, if it does, then continue executing with step 26, if it does not match, terminate this flow process.
When implementing, in embodiments of the present invention, can be by the Bluetooth chip previously generated or list of devices record The information of all known Bluetooth chips, such as pid (device ID or referred to as device id), vid;(vendor id), name (implementor name Claim) etc. facility information;Certainly, the embodiment of the present invention is possible not only to record various bluetooth equipment information, it is also possible to cycle right Bluetooth chip information recorded in Bluetooth chip or list of devices record is updated and safeguards, thus ensures that the present invention implements The accuracy of the information of the Bluetooth chip that example detects.
Step 26: access the action member in the Netlink socket multicast message received, it is judged that get Incoming event type shown in Netlink socket multicast message indication, if incoming event type drives journey for loading bluetooth Sequence, then continue executing with step 27;If incoming event type is for removing bluetooth driver, the most directly perform step 28.
Step 27: load the bluetooth driver mated with Bluetooth chip, loads firmware (firmware), and carries out initial Change operation.
Step 28: nullify the work of Bluetooth chip, removes or unloads the bluetooth driver of correspondence.
From technique scheme it can be seen that the present invention is directed to Bluetooth chip to provide the configuration of a kind of bluetooth driver Scheme.In the present invention, can detect by the way of software that incoming event that Bluetooth chip triggered is (e.g., accurately Insert or pull out event), and the facility information such as the model determining Bluetooth chip;Then, the present invention can also be according to different shaped Number Bluetooth chip, differently configured bluetooth driver, complete corresponding initialization operation, it is seen then that the present invention can not repair On the premise of changing hardware circuit, it is achieved the accurate configuration of bluetooth driver, and improve the detection of Bluetooth chip and configuration Speed and success rate.
Based on identical technology design, the embodiment of the present invention also provides for the configuration device of a kind of bluetooth driver, Fig. 3 shows the structural representation of the configuration device of a kind of bluetooth driver in the embodiment of the present invention, as it is shown on figure 3, should Device may include that
Receive unit 31, be positioned at the client layer of intelligent television, for receiving what the inner nuclear layer of described intelligent television reported Netlink socket multicast message;Described Netlink multicast message is used for notifying described client layer, is currently accessed described kernel The incoming event that the equipment of layer is triggered;
Dispensing unit 32, is positioned at the client layer of described intelligent television, for detection by the bluetooth core accessing described inner nuclear layer Sheet is triggered the Netlink multicast message reported, according to the device identification carried in described Netlink multicast message with by described The type of the incoming event that Bluetooth chip triggers, the bluetooth driver that configuration is corresponding.
Optionally, described reception unit 31 specifically for: load the input thing for monitoring Bluetooth chip that is pre-created The BluetoothMonitor process of part;Wherein, described BluetoothMonitor process is in the user of described intelligent television Layer and the Netlink multicast message that by described inner nuclear layer report shared with EventHub process, described EventHub process is used for The incoming event that the inner nuclear layer of intelligent television described in place's reason reports;Received described interior by described BluetoothMonitor process The Netlink multicast message that stratum nucleare reports;Described dispensing unit 32 specifically for: sentenced by described BluetoothMonitor process Whether disconnected described Netlink multicast message is triggered by USB device reports, if it is, the described Netlink of acquisition further The device identification carried in multicast message, in the Bluetooth chip list pre-set, searches whether to exist and setting of getting The Bluetooth chip of standby mark coupling, if it is present be defined as described Netlink multicast message by accessing described inner nuclear layer Bluetooth chip is triggered the Netlink multicast message reported;Otherwise, described Netlink multicast message is ignored.
Optionally, described dispensing unit 32 specifically for:
Obtained in described Netlink multicast message by described BluetoothMonitor process indicate by described bluetooth The type of the incoming event that chip triggers;If described incoming event type is load driver program, then load corresponding blue Tooth driver;If described incoming event type is for removing driver, then remove corresponding bluetooth driver.
Optionally, this device also includes:
Creating unit, for being received by the indigo plant of the inner nuclear layer accessing described intelligent television by described EventHub Process Synchronization Tooth chip is triggered the Netlink multicast message reported, according to the device identification carried in described Netlink multicast message, wound Build the device node of correspondence.
Optionally, described reception unit 31 is additionally operable to:
Create and reported to the Netlink multicast message of client layer by the inner nuclear layer of described intelligent television for synchronizing to receive Socket passage;Definition at least can be used in detecting the facility information entrained by described Netlink multicast message, incoming event class The data structure of type;Wherein, described facility information at least includes device id, device name or EIC equipment identification code.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction is to general purpose computer, special-purpose computer, Embedded Processor or the processor of other programmable data processing device so that The instruction performed by the processor of this computer or other programmable data processing device can a stream in flowchart The function specified in journey or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at a flow process of flow chart or multiple flow process and/or block diagram A square frame or multiple square frame in the step of function specified.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation Property concept, then can make other change and amendment to these embodiments.So, claims are intended to be construed to include excellent Select embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof Within, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. the collocation method of a bluetooth driver, it is characterised in that the method includes:
The client layer of intelligent television receives the Netlink socket multicast message that the inner nuclear layer of described intelligent television reports;Described Netlink multicast message is used for notifying described client layer, is currently accessed the incoming event that the equipment of described inner nuclear layer is triggered;
Described client layer detects that described Netlink multicast message is to be triggered by the Bluetooth chip accessing described inner nuclear layer Report, according to the device identification carried in described Netlink multicast message and the class of incoming event triggered by described Bluetooth chip Type, the bluetooth driver that configuration is corresponding.
2. the method for claim 1, it is characterised in that described reception described Netlink multicast message also detects institute Stating Netlink multicast message is to be triggered by the Bluetooth chip accessing described inner nuclear layer to report, including:
Load the BluetoothMonitor process of the incoming event for monitoring Bluetooth chip being pre-created;Wherein, described BluetoothMonitor process is in the client layer of described intelligent television and shares by described inner nuclear layer with EventHub process The Netlink multicast message reported, described EventHub process for the inner nuclear layer locating intelligent television described in reason report defeated Incoming event;
Described BluetoothMonitor process receives the Netlink multicast message that described inner nuclear layer reports;
Described BluetoothMonitor process judges that whether described Netlink multicast message is triggered by USB device and reports, If it is, obtain the device identification carried in described Netlink multicast message further, at the Bluetooth chip row pre-set In table, search whether to there is the Bluetooth chip mated with the device identification got, if it is present by described Netlink group Broadcast message to be defined as being triggered, by the Bluetooth chip of the described inner nuclear layer of access, the Netlink multicast message reported;Otherwise, institute is ignored State Netlink multicast message.
3. method as claimed in claim 2, it is characterised in that the bluetooth driver that described configuration is corresponding, including:
Indicate in the described BluetoothMonitor process described Netlink multicast message of acquisition is touched by described Bluetooth chip The type of the incoming event sent out;
If described incoming event type is load driver program, then load corresponding bluetooth driver;
If described incoming event type is for removing driver, then remove corresponding bluetooth driver.
4. method as claimed in claim 3, it is characterised in that the method also includes:
Described EventHub Process Synchronization receives to be triggered by the Bluetooth chip of inner nuclear layer accessing described intelligent television and reports Netlink multicast message, according to the device identification carried in described Netlink multicast message, creates corresponding device node.
5. the method as according to any one of claim 2-4, it is characterised in that create described as follows BluetoothMonitor process:
Create and reported to the Netlink multicast message of client layer by the inner nuclear layer of described intelligent television for synchronizing to receive Socket passage;
Definition at least can be used in detecting facility information entrained in described Netlink multicast message, incoming event type Data structure;
Wherein, described facility information at least includes device id, device name or EIC equipment identification code.
6. the configuration device of a bluetooth driver, it is characterised in that this device includes:
Receive unit, be positioned at the client layer of intelligent television, for receiving the Netlink set that the inner nuclear layer of described intelligent television reports Connect word multicast message;Described Netlink multicast message is used for notifying described client layer, is currently accessed the equipment institute of described inner nuclear layer The incoming event triggered;
Dispensing unit, is positioned at the client layer of described intelligent television, is touched by the Bluetooth chip accessing described inner nuclear layer for detection Send out the Netlink multicast message reported, according to the device identification carried in described Netlink multicast message with by described bluetooth core The type of the incoming event that sheet triggers, the bluetooth driver that configuration is corresponding.
7. device as claimed in claim 6, it is characterised in that described reception unit specifically for:
Load the BluetoothMonitor process of the incoming event for monitoring Bluetooth chip being pre-created;Wherein, described BluetoothMonitor process is in the client layer of described intelligent television and shares by described inner nuclear layer with EventHub process The Netlink multicast message reported, described EventHub process for the inner nuclear layer locating intelligent television described in reason report defeated Incoming event;The Netlink multicast message that described inner nuclear layer reports is received by described BluetoothMonitor process;
Described dispensing unit specifically for: judged that described Netlink multicast message is by described BluetoothMonitor process No triggering by USB device reports, if it is, obtain the equipment mark carried in described Netlink multicast message further Know, in the Bluetooth chip list pre-set, search whether to there is the Bluetooth chip mated with the device identification got, as Fruit exists, then be defined as described Netlink multicast message being triggered by the Bluetooth chip accessing described inner nuclear layer reporting Netlink multicast message;Otherwise, described Netlink multicast message is ignored.
8. device as claimed in claim 7, it is characterised in that described dispensing unit specifically for:
Obtained in described Netlink multicast message by described BluetoothMonitor process indicate by described Bluetooth chip The type of the incoming event triggered;If described incoming event type is load driver program, then loads corresponding bluetooth and drive Dynamic program;If described incoming event type is for removing driver, then remove corresponding bluetooth driver.
9. device as claimed in claim 8, it is characterised in that this device also includes:
Creating unit, for being received by the bluetooth core of the inner nuclear layer accessing described intelligent television by described EventHub Process Synchronization Sheet is triggered the Netlink multicast message reported, and according to the device identification carried in described Netlink multicast message, it is right to create The device node answered.
10. device as claimed in any one of claims 7-9, it is characterised in that described reception unit is additionally operable to:
Create and reported to the Netlink multicast message of client layer by the inner nuclear layer of described intelligent television for synchronizing to receive Socket passage;Definition at least can be used in detecting the facility information entrained by described Netlink multicast message, incoming event class The data structure of type;Wherein, described facility information at least includes device id, device name or EIC equipment identification code.
CN201610379869.0A 2016-05-31 2016-05-31 A kind of configuration method and device of bluetooth driver Active CN106095413B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610379869.0A CN106095413B (en) 2016-05-31 2016-05-31 A kind of configuration method and device of bluetooth driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610379869.0A CN106095413B (en) 2016-05-31 2016-05-31 A kind of configuration method and device of bluetooth driver

Publications (2)

Publication Number Publication Date
CN106095413A true CN106095413A (en) 2016-11-09
CN106095413B CN106095413B (en) 2019-09-17

Family

ID=57230594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610379869.0A Active CN106095413B (en) 2016-05-31 2016-05-31 A kind of configuration method and device of bluetooth driver

Country Status (1)

Country Link
CN (1) CN106095413B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108173668A (en) * 2018-01-30 2018-06-15 北京坤腾畅联科技有限公司 The method and apparatus that WIFI probes based on Openwrt are realized
CN109167617A (en) * 2018-08-10 2019-01-08 深圳市智微智能科技开发有限公司 The method and Related product of Android system adaptation USB Bluetooth adapter
CN109324908A (en) * 2017-07-31 2019-02-12 华为技术有限公司 The vessel isolation method and device of Netlink resource
CN109947482A (en) * 2017-12-21 2019-06-28 深圳Tcl新技术有限公司 A kind of loading method of USB device, storage medium and smart television
CN110111790A (en) * 2019-05-09 2019-08-09 青岛海信电器股份有限公司 Processing method, device and the equipment of the external equipment access of smart machine
CN113950034A (en) * 2021-10-14 2022-01-18 北京鲸鲮信息***技术有限公司 Bluetooth behavior simulation method, device and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830970A (en) * 2012-08-10 2012-12-19 深圳市共进电子股份有限公司 Hot-plug treatment method applicable to Linux embedded system
CN103186487A (en) * 2011-12-31 2013-07-03 青岛海尔软件有限公司 Method for real-time recognition of USB device hot plugging
CN103530124A (en) * 2013-10-18 2014-01-22 中安消技术有限公司 Method and device for sharing hot plug device in Linux system
CN104636655A (en) * 2015-02-06 2015-05-20 电子科技大学 Credibility verifying method of hot plug device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186487A (en) * 2011-12-31 2013-07-03 青岛海尔软件有限公司 Method for real-time recognition of USB device hot plugging
CN102830970A (en) * 2012-08-10 2012-12-19 深圳市共进电子股份有限公司 Hot-plug treatment method applicable to Linux embedded system
CN103530124A (en) * 2013-10-18 2014-01-22 中安消技术有限公司 Method and device for sharing hot plug device in Linux system
CN104636655A (en) * 2015-02-06 2015-05-20 电子科技大学 Credibility verifying method of hot plug device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109324908A (en) * 2017-07-31 2019-02-12 华为技术有限公司 The vessel isolation method and device of Netlink resource
CN109324908B (en) * 2017-07-31 2021-09-07 华为技术有限公司 Container isolation method and device for Netlik resources
US11500666B2 (en) 2017-07-31 2022-11-15 Huawei Technologies Co., Ltd. Container isolation method and apparatus for netlink resource
CN109947482A (en) * 2017-12-21 2019-06-28 深圳Tcl新技术有限公司 A kind of loading method of USB device, storage medium and smart television
CN109947482B (en) * 2017-12-21 2022-07-29 深圳Tcl新技术有限公司 Loading method of USB (universal serial bus) equipment, storage medium and smart television
CN108173668A (en) * 2018-01-30 2018-06-15 北京坤腾畅联科技有限公司 The method and apparatus that WIFI probes based on Openwrt are realized
CN109167617A (en) * 2018-08-10 2019-01-08 深圳市智微智能科技开发有限公司 The method and Related product of Android system adaptation USB Bluetooth adapter
CN109167617B (en) * 2018-08-10 2022-04-01 深圳市智微智能科技股份有限公司 Method for adapting USB Bluetooth adapter to android system and related product
CN110111790A (en) * 2019-05-09 2019-08-09 青岛海信电器股份有限公司 Processing method, device and the equipment of the external equipment access of smart machine
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

Also Published As

Publication number Publication date
CN106095413B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
CN106095413A (en) The collocation method of a kind of bluetooth driver and device
CN102999716B (en) virtual machine monitoring system and method
CN103530124B (en) Method and device for sharing hot plug device in Linux system
US9164876B2 (en) Controlling asynchronous call return
CN110287696B (en) Detection method, device and equipment for rebound shell process
CN105120339A (en) Smart TV fault detection method and system
US9747449B2 (en) Method and device for preventing application in an operating system from being uninstalled
CN103259688A (en) Failure diagnosis method and device of distributed storage system
CN106502778A (en) A kind of terminal and its process scheduling optimization method
CN105446757B (en) A kind of processing method and equipment of data packet
CN106250487B (en) Database concurrency control method and device
CN104462940B (en) The monitoring method and device of USB interface of computer
CN110780918B (en) Middleware container processing method and device, electronic equipment and storage medium
CN103345439A (en) Method and device for monitoring health states of full links in information system
CN108376110A (en) A kind of automatic testing method, system and terminal device
CN103336740B (en) The operating system integrated test facility of electric power secondary system and device
CN107819758A (en) A kind of IP Camera leak remote detecting method and device
CN103699485A (en) Application program debugging method and device
CN107249050A (en) The management method and device of resource in cloud platform
CN105302689B (en) Intelligent management method and device for computer system
CN116846768A (en) Display method and device for network topology structure and electronic equipment
CN106482742A (en) The acquisition methods of meter step data and device
CN106686461B (en) A kind of playback method of multimedia file, device and television set
CN107766232B (en) Plug-in management method and device
CN106899429B (en) SNMP-based equipment management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee after: Hisense Video Technology Co.,Ltd.

Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No.

Patentee before: HISENSE ELECTRIC Co.,Ltd.

CP01 Change in the name or title of a patent holder