CN102255947A - STB (Set Top Box) and man-machine interaction method for STB - Google Patents

STB (Set Top Box) and man-machine interaction method for STB Download PDF

Info

Publication number
CN102255947A
CN102255947A CN2011101256717A CN201110125671A CN102255947A CN 102255947 A CN102255947 A CN 102255947A CN 2011101256717 A CN2011101256717 A CN 2011101256717A CN 201110125671 A CN201110125671 A CN 201110125671A CN 102255947 A CN102255947 A CN 102255947A
Authority
CN
China
Prior art keywords
top box
bluetooth
hid
hid equipment
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011101256717A
Other languages
Chinese (zh)
Inventor
贾哲明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Skyworth Digital Technology Co Ltd
Original Assignee
Shenzhen Skyworth Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Skyworth Digital Technology Co Ltd filed Critical Shenzhen Skyworth Digital Technology Co Ltd
Priority to CN2011101256717A priority Critical patent/CN102255947A/en
Publication of CN102255947A publication Critical patent/CN102255947A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a man-machine interaction method for a STB (Set Top Box). The method comprises the following steps: the STB scans Bluetooth HID (Human Interface Device) devices and searches a Bluetooth HID device matched with the STB; and the STB establishes communication connection with the searched Bluetooth HID device matched with the STB. The embodiment of the invention further discloses a STB. The man-machine interaction method for the STB can be used for realizing the man-machine interaction of the STB on the basis of Bluetooth technology, thereby enriching and expanding the man-machine interaction function of the STB.

Description

The man-machine interaction method of set-top box and set-top box
Technical field
The present invention relates to the set-top box technique field, relate in particular to the man-machine interaction method and the set-top box of set-top box.
Background technology
DVB(Digital Video Broadcast, digital video broadcasting) be European digital television standard, be extensive use of set-top box in the process of whole nation popularization Digital Television based on the DVB standard.Existing DVB set-top box realizes that the scheme of man-machine interaction mainly contains: one, adopt Infrared remote controller.This man-machine interaction mode has strict directivity requirement, must guarantee Infrared remote controller and set-top box over against, can not there be barrier the centre; And the progress of the uncontrollable message transmission of infrared communication, ability to communicate is weak, speed is slow, only can carry out simple communication, can't realize the human-computer interaction function that enriches; Two, adopt the external connection keyboard mouse.This interactive mode only can be carried out wired connection by special purpose interface, as: keyboard only can insert the keyboard special purpose interface of set-top box, and mouse only can insert the mouse special purpose interface of set-top box; In addition, keyboard only can be controlled and the corresponding specific functional units of keyboard special purpose interface, and only logical control of mouse and the corresponding specific functional units of mouse special purpose interface can't be accomplished sharing and expansion of human-computer interaction device.
Bluetooth be a kind of support equipment short haul connection (usually, bluetooth communications range is in the 10m) radiotechnics, can comprise mobile phone, PDA(Personal Digital Assistant, personal digital assistant), carry out wireless information interaction between numerous equipment such as wireless headset, notebook computer.Bluetooth technology provides HID(Human Interface Device, human interface device) standard, and interaction schemes between bluetooth HID equipment end and the bluetooth HID host side is provided.How to make set-top box realize man-machine interaction, become an important research direction with the defective that overcomes existing man-machine interaction scheme based on Bluetooth technology.
Summary of the invention
Embodiment of the invention technical problem to be solved is, a kind of man-machine interaction method and set-top box of set-top box is provided, and can make set-top box realize man-machine interaction based on Bluetooth technology, enriches the function with the man-machine interaction of striking machine top box.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of man-machine interaction method of set-top box, comprising:
Set-top box scanning bluetooth HID equipment, and therefrom search the bluetooth HID equipment that is complementary with described set-top box;
Described set-top box establishes a communications link with the bluetooth HID equipment of the coupling that finds.
Wherein, before the described set-top box scanning bluetooth HID equipment, also comprise: when set-top box started, described set-top box was carried out initialization to its built-in bluetooth module.
Wherein, described bluetooth HID equipment comprises: default bluetooth HID equipment;
Described set-top box scanning bluetooth HID equipment, and therefrom search the bluetooth HID equipment that is complementary with described set-top box, comprising:
Real-time or the default bluetooth HID equipment transmission of timing all in the communication range connection request of described set-top box, described connection request is: adopt default HID service class UUID(Universally Unique Identifier, unique identifier) as the Service Properties request of service search pattern;
Described set-top box receives the connection response that each default bluetooth HID equipment returns;
Described set-top box judges that whether corresponding with default HID service class UUID Service Properties the Service Properties of each connection response be complementary, if judged result is for being to determine that then the default bluetooth HID equipment and the described set-top box of the described connection response of transmission is complementary.
Wherein, described set-top box establishes a communications link with the bluetooth HID equipment of the coupling that finds, and comprising: described set-top box establishes a communications link with the default bluetooth HID equipment that finds automatically.
Wherein, described bluetooth HID equipment comprises: universal blue tooth HID equipment;
Described set-top box scanning bluetooth HID equipment, and therefrom search the bluetooth HID equipment that is complementary with described set-top box, comprising:
Real-time or timing all the universal blue tooth HID equipment transmission connection requests in communication range of described set-top box, described connection request is: adopt default HID service class ID(Identity, identification number) as the service search attribute request of service search pattern, described service search attribute request comprises the attribute list of described default HID service class ID correspondence;
Described set-top box receives the connection response that each universal blue tooth HID equipment returns;
Described set-top box is judged all properties value that whether comprises in each connection response in the attribute list corresponding with described default HID service class ID, if judged result is for being, determine that then the universal blue tooth HID equipment and the described set-top box of the described connection response of transmission is complementary.
Wherein, described set-top box establishes a communications link with the bluetooth HID equipment of the coupling that finds, and comprising:
The universal blue tooth HID equipment of the coupling that described set-top box will find offers the user and selects;
Described set-top box and user-selected universal blue tooth HID equipment establish a communications link.
Wherein, described bluetooth HID equipment comprises: any one or more in blue Tooth remote controller, bluetooth keyboard, bluetooth mouse, bluetooth joystick, bluetooth trace ball, bluetooth handwriting pad and the bluetooth earphone.
Correspondingly, the embodiment of the invention also provides a kind of set-top box, comprising:
Master chip is used to scan bluetooth HID equipment, and therefrom searches the bluetooth HID equipment that is complementary with described set-top box;
Bluetooth module, the bluetooth HID equipment that is complementary with described set-top box that is used for finding with described master chip establishes a communications link.
Wherein, when set-top box started, described master chip carried out initialization to described bluetooth module.
Wherein, described master chip comprises:
The connection request unit is used in real time or timing all bluetooth HID equipment in communication range send connection requests, and described bluetooth HID equipment comprises: default bluetooth HID equipment and/or universal blue tooth HID equipment;
The response receiving element is used to receive the connection response that each bluetooth HID equipment returns;
Matching unit, whether the Service Properties corresponding with default HID service class UUID is complementary to be used to judge the Service Properties of each connection response that described response receiving element receives, if judged result is for being, determine that then the default bluetooth HID equipment and the described set-top box of the described connection response of transmission is complementary; Perhaps, judge all properties value that whether comprises in each connection response in the attribute list corresponding, if judged result is for being to determine that then the universal blue tooth HID equipment and the described set-top box of the described connection response of transmission is complementary with described default HID service class ID;
Wherein, described connection request is: adopt the Service Properties request of default HID service class UUID as service search pattern; Perhaps, described connection request is: adopt the service search attribute request of default HID service class ID as service search pattern, described service search attribute request comprises the attribute list of described default HID service class ID correspondence.
Wherein, described bluetooth module establishes a communications link with the default bluetooth HID equipment that described matching unit finds automatically; Perhaps, the universal blue tooth HID equipment of the coupling that described master chip finds described matching unit offers the user and selects, and described bluetooth module and user-selected universal blue tooth HID equipment establish a communications link.
Wherein, be packaged with the driving of HID service class, L2CAP(Logical Link Control and Adaptation Protocol in the described master chip, logic link control and adapting protocol), service discovery protocol SDP(Service Discovery Protocol, service discovery protocol), HCI(Host Control Interface, host controller interface);
Be packaged with baseband protocol, LMP(Link Management Protocol in the described bluetooth module, LMP Link Manager Protocol) and HCI;
Described bluetooth module and described master chip are by USB(Universal Serial Bus, USB) be connected.
Implement the embodiment of the invention, have following beneficial effect:
The set-top box of the embodiment of the invention is supported bluetooth HID technology, can scan the bluetooth HID equipment of coupling, establish a communications link with the bluetooth HID equipment of coupling, make set-top box realize man-machine interaction based on Bluetooth technology, the user can expand the function of set-top box man-machine interaction by the interactive application that any bluetooth equipment comes and set-top box is enriched that meets bluetooth HID standard.
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 structural representation of the embodiment of set-top box of the present invention;
Fig. 2 is the protocol stack structure schematic diagram of set-top box shown in Figure 1;
Fig. 3 is the structural representation of the embodiment of master chip shown in Figure 1;
Fig. 4 is the flow chart of first embodiment of the man-machine interaction method of set-top box of the present invention;
The flow chart of second embodiment of the man-machine interaction method of Fig. 5 set-top box of the present invention;
The flow chart of the 3rd embodiment of the man-machine interaction method of Fig. 6 set-top box of the present 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 the every other embodiment that is obtained under the creative work prerequisite.
See also Fig. 1, be the structural representation of the embodiment of set-top box of the present invention; Described set-top box comprises:
Master chip 10 is used to scan bluetooth HID equipment, and therefrom searches the bluetooth HID equipment that is complementary with described set-top box.
Described master chip 10 is the decoding chip of set-top box, as: model is the chip of STi5197.Described master chip 10 is extensively integrated usb host controller, but set-top box circumscribed USB equipment made, as the circumscribed USB bluetooth module, thereby make set-top box can pass through external USB bluetooth module, carry out multiple interactive application with the bluetooth HID equipment of outside.Particularly, described bluetooth HID equipment includes but not limited to: any one or more in blue Tooth remote controller, bluetooth keyboard, bluetooth mouse, bluetooth joystick, bluetooth trace ball, bluetooth handwriting pad and the bluetooth earphone.In the practical application, because bluetooth is only supported short haul connection (communication range is generally in 10m), all bluetooth HID equipment in the described master chip 10 scanning bluetooth communications range are therefrom searched the bluetooth HID equipment that is complementary with described set-top box and are carried out interactive application.
Be understandable that, described master chip 10 also is used for the front-end server end is issued to the TS(Transport Stream of set-top box, transport stream) stream decodes, and makes that set-top box users is considerable sees corresponding TV programme, this decode procedure is same as the prior art, does not give unnecessary details at this.
Bluetooth module 20, the bluetooth HID equipment that is used for being complementary with described master chip 10 set-top box that find and described establishes a communications link.
In the specific implementation, described bluetooth module 20 can be the USB bluetooth module, it is connected by USB with described master chip 10, described master chip 10 is when set-top box starts, bluetooth module 20 is carried out initialization, set up with bluetooth module 20 between be connected, afterwards, described bluetooth module 20 establishes a communications link with the bluetooth HID equipment that described master chip 10 set-top box that find and described are complementary, after this communicates to connect foundation, set-top box can send the HID control command to bluetooth HID equipment, and obtains the data and the incident of bluetooth HID equipment, realizes abundant interactive application.
Need to prove that it only is that this connected mode can utilize the series system of USB interface to connect other multiple bluetooth HID equipment for example that described bluetooth module 20 is connected with described master chip 10 by USB, thereby can realize sharing and expansion of bluetooth HID equipment; Other situations, such as: described bluetooth module 20 can also pass through UART(Universal Asynchronous Receiver/Transmitter, universal asynchronous reception/dispensing device) is connected with described master chip 10, but should be noted that, the UART interface of set-top box is mainly used to connect smart card device, set-top box debugging, software upgrading and connects the modem(modulator-demodulator) etc. external equipment, described bluetooth module 20 and described master chip 10 adopt the UART connected mode can take the limited UART interface of set-top box, thus the partial function of restriction set-top box.
In order to be illustrated more clearly in the present invention, will the protocol stack structure of set-top box of the present invention be elaborated below.
See also Fig. 2, be the protocol stack structure schematic diagram of set-top box shown in Figure 1; As shown in Figure 2, base band (Baseband) agreement, LMP and HCI have been encapsulated in the bluetooth module 20 of set-top box; L2CAP, SDP, the driving of HID service class, HCI and bluetooth applications all encapsulate and carry out in master chip 10, are connected by USB between bluetooth module 20 and the master chip 10, and the two realizes unified operation by HCI.
In the present embodiment, bluetooth module 20 has only encapsulated the following bluetooth underlying protocol of HCI, and the bluetooth upper-layer protocol then encapsulates and carries out in master chip 10, and this packaged type is with low cost, and flexible configuration adapts to complicated set-top box application.Certainly, packaged type herein is only for giving an example, under other situations, such as: bluetooth underlying protocol (baseband protocol and LMP) and bluetooth upper-layer protocol (L2CAP and SDP) can be packaged in the bluetooth module 20 in the lump, the cost possibility of this kind packaged type is higher, configuration is comparatively fixing, but but similar analysis under should the encapsulation situation is not given unnecessary details at this.
The set-top box of integrated bluetooth module 20 adopts the dual processor mode of master chip 10 and bluetooth module 20, the function of this set-top box mainly comprises following three parts: the realization of (1) HCI upper-layer protocol (specifically comprising HCI, L2CAP and SDP) in master chip, and HCI underlying protocol (specifically comprising: HCI, LMP and baseband protocol) realizes in bluetooth module; (2) realization of USB driving; (3) after bluetooth module and bluetooth HID equipment establish a communications link, to the extraction and the processing of bluetooth HID device data.
In order to be illustrated more clearly in the present invention, will the master chip structure of set-top box of the present invention be elaborated below.
See also Fig. 3, be the structural representation of the embodiment of master chip shown in Figure 1; Described master chip 10 comprises:
Connection request unit 101 is used in real time or timing all bluetooth HID equipment in communication range send connection requests.
Described connection request unit 101 can be for having encapsulated the module of SDP agreement in the described master chip 10, this module is as the SDP client, real-time or timing all bluetooth HID equipment in communication range send connection requests, and at this moment, each bluetooth HID equipment in the communication range then is the SDP server.Described bluetooth HID equipment comprises: default bluetooth HID equipment and/or universal blue tooth HID equipment.If the bluetooth HID equipment in the communication range is default bluetooth HID equipment, promptly this bluetooth HID equipment is the bluetooth HID equipment (as: blue Tooth remote controller) of the operator of this set-top box for the special customization of this set-top box, and the HID service class UUID of this default bluetooth HID equipment and corresponding relevant service attributes are set in advance in the HID of set-top box service class drives; Described SDP client sends the Service Properties request of this default HID service class UUID as service search pattern of adopting to this default bluetooth HID equipment.If the bluetooth HID equipment in the communication range is universal blue tooth HID equipment, promptly this bluetooth HID equipment drives the universal blue tooth HID equipment that can support for this set-top box HID service class, described SDP client then send to adopt the service search attribute request of default HID service class ID as service search pattern to this universal blue tooth HID equipment, and described service search attribute request comprises the attribute list of described default HID service class ID correspondence.
Response receiving element 102 is used to receive the connection response that each bluetooth HID equipment returns.
Described response receiving element 102 is described SDP client, and it receives the connection response that each SDP server returns at connection request.
Matching unit 103, whether the Service Properties corresponding with default HID service class UUID is complementary to be used to judge the Service Properties of each connection response that described response receiving element 102 receives, if judged result is for being, determine that then the default bluetooth HID equipment and the described set-top box of the described connection response of transmission is complementary; Perhaps, judge all properties value that whether comprises in each connection response in the attribute list corresponding, if judged result is for being to determine that then the universal blue tooth HID equipment and the described set-top box of the described connection response of transmission is complementary with described default HID service class ID.
In the specific implementation, when the bluetooth HID equipment in the communication range is default bluetooth HID equipment, the Service Properties that described matching unit 103 is judged each connection response that described response receiving element 102 receives whether with the corresponding Service Properties of HID service class UUID during the HID service class that is preset in set-top box drives be complementary (identical), if judged result is for being, determine that then the bluetooth HID equipment and the described set-top box that send this connection response are complementary, after this, described bluetooth module 20 automatic default bluetooth HID equipment with described coupling establish a communications link; The HID service class of set-top box drives and starts working, and drives the execution of corresponding HID service, and set-top box is carried out interactive application with this default bluetooth HID equipment.
When the bluetooth HID equipment in the communication range is universal blue tooth HID equipment, described matching unit 103 is judged all properties value that whether comprises in the connection response that described response receiving element 102 receives in the attribute list corresponding with described default HID service class ID, if judged result is for being, the universal blue tooth HID equipment and the described set-top box that then determine to send described connection response are complementary, and the set-top box general HID that can browse the general HID equipment of all couplings and provided serves thus.After this set-top box offers the user with the universal blue tooth HID equipment of coupling (or the universal blue tooth HID equipment of coupling provide general HID service) and selects, described bluetooth module 20 establishes a communications link with user-selected universal blue tooth HID equipment, the HID service class of set-top box drives and starts working, drive the execution of corresponding HID service, set-top box and this universal blue tooth HID equipment carry out interactive application.
Need to prove that bluetooth module 20 is set up Bluetooth link between set-top box and the bluetooth HID equipment after establishing a communications link with the bluetooth HID equipment that mates, this Bluetooth link is called as virtual cable and connects.The L2CAP that encapsulates in the set-top box be responsible for to the HID service class drive and SDP multiplexing, divide into groups cut apart and reorganization is carried out adaptive, and group is extracted, L2CAP has shielded the underlying protocol of encapsulation in the bluetooth module 20, makes upper-layer protocols such as driving of HID service class and SDP can transmit on the Bluetooth link of setting up with using.Bluetooth link has just been set up following relation after setting up between bluetooth HID equipment and the set-top box: (1) bluetooth HID equipment and set-top box binding; (2) if the connection of the two disconnects, will rebulid connection automatically; (3) bluetooth HID equipment can not be connected with another set-top box, connects unless the user removes this virtual cable clearly.Connect by this virtual cable, set-top box application software then can send the HID control command to bluetooth HID equipment, and obtains the data and the incident of bluetooth HID equipment, realizes the interactive application with bluetooth HID equipment.
The set-top box of the embodiment of the invention is supported bluetooth HID technology, can scan the bluetooth HID equipment of coupling, establish a communications link with the bluetooth HID equipment of coupling, make set-top box realize man-machine interaction based on Bluetooth technology, the user can expand the function of set-top box man-machine interaction by the interactive application that any bluetooth equipment comes and set-top box is enriched that meets bluetooth HID standard.
In order to be illustrated more clearly in the present invention, will the man-machine interaction method of set-top box of the present invention be described in detail below.
See also Fig. 4, be the flow chart of first embodiment of the man-machine interaction method of set-top box of the present invention; Described method comprises:
S101, set-top box scanning bluetooth human-computer interaction device HID equipment, and therefrom search the bluetooth HID equipment that is complementary with described set-top box.
Described S101 adopts the master chip of set-top box, i.e. the decoding chip of set-top box, as: model is the chip of STi5197.Described master chip is extensively integrated usb host controller, but set-top box circumscribed USB equipment made, as the circumscribed USB bluetooth module, thereby make set-top box can pass through external USB bluetooth module, carry out multiple interactive application with the bluetooth HID equipment of outside.Particularly, described bluetooth HID equipment includes but not limited to: any one or more in blue Tooth remote controller, bluetooth keyboard, bluetooth mouse, bluetooth joystick, bluetooth trace ball, bluetooth handwriting pad and the bluetooth earphone.In the practical application, because bluetooth is only supported short haul connection (communication range is generally in 10m), all the bluetooth HID equipment in the described S101 scanning bluetooth communications range are therefrom searched the bluetooth HID equipment that is complementary with described set-top box and are carried out interactive application.
S102, described set-top box establishes a communications link with the bluetooth HID equipment of the coupling that finds.
In the specific implementation, described S102 can adopt the USB bluetooth module, this USB bluetooth module is connected by USB with the master chip of set-top box, the bluetooth HID equipment that is complementary with described set-top box that described S102 and described S101 find establishes a communications link, after this communicates to connect foundation, set-top box can send the HID control command to bluetooth HID equipment, and obtains the data and the incident of bluetooth HID equipment, realizes abundant interactive application.
Need to prove, described S102 adopts the USB bluetooth module only for giving an example, the USB bluetooth module is connected with the master chip of set-top box by USB, can utilize the series system of USB interface to connect other multiple bluetooth HID equipment, thereby can realize sharing and expansion of bluetooth HID equipment; Other situations, such as: described S102 can also adopt the UART bluetooth module, this UART bluetooth module is connected by the UART interface with the master chip of described set-top box, but should be noted that, the UART interface of set-top box is mainly used to connect smart card device, set-top box debugging, software upgrading and connects the modem(modulator-demodulator) etc. external equipment, adopt the UART connected mode can take the limited UART interface of set-top box, thus the partial function of restriction set-top box.
The set-top box of the embodiment of the invention is supported bluetooth HID technology, can scan the bluetooth HID equipment of coupling, establish a communications link with the bluetooth HID equipment of coupling, make set-top box realize man-machine interaction based on Bluetooth technology, the user can expand the function of set-top box man-machine interaction by the interactive application that any bluetooth equipment comes and set-top box is enriched that meets bluetooth HID standard.
See also Fig. 5, the flow chart of second embodiment of the man-machine interaction method of set-top box of the present invention; Described method comprises:
S201, when set-top box started, described set-top box was carried out initialization to its built-in bluetooth module.
In this step, when set-top box starts, the usb host controller of starter motor top box at first, usb host controller finds and the registration bluetooth module that afterwards, described set-top box is carried out S201, the bluetooth module of real registration carries out initialization, being connected between the master chip of setting up set-top box and the bluetooth module.
S202, the real-time or default bluetooth HID equipment transmission of timing all in the communication range connection request of described set-top box.
Described S202 can adopt the module that has encapsulated the SDP agreement in the master chip of described set-top box, this module is as the SDP client, real-time or timing all bluetooth HID equipment in communication range send connection requests, and at this moment, each bluetooth HID equipment in the communication range then is the SDP server.Described bluetooth HID equipment comprises: default bluetooth HID equipment, promptly this bluetooth HID equipment is the bluetooth HID equipment (as: blue Tooth remote controller) of the operator of this set-top box for the special customization of this set-top box, and the HID service class UUID of this default bluetooth HID equipment and corresponding relevant service attributes are set in advance in the HID of set-top box service class drives; Described SDP client sends the Service Properties request of this default HID service class UUID as service search pattern of adopting to this default bluetooth HID equipment.
S203, described set-top box receives the connection response that each default bluetooth HID equipment returns.
S204, described set-top box judges that whether corresponding with default HID service class UUID Service Properties the Service Properties of each connection response be complementary, if judged result is for being to change S205 over to; Otherwise, finish.
In the specific implementation, the Service Properties that described S204 judges each connection response that described S203 receives whether with the corresponding Service Properties of HID service class UUID during the HID service class that is preset in set-top box drives be complementary (identical), if judged result is for being then to change S205 over to; Otherwise, finish.
S205, described set-top box determines that the default bluetooth HID equipment and the described set-top box that send described connection response are complementary.
In the present embodiment, described S202-S205 is the concrete refinement step of the S101 of a last embodiment.
S206, described set-top box establishes a communications link with the default bluetooth HID equipment that finds automatically.
Described S206 establishes a communications link with the default bluetooth HID equipment that described S205 mates automatically; Afterwards, the HID service class of set-top box drives and starts working, and drives the execution of corresponding HID service, and set-top box is carried out interactive application with this default bluetooth HID equipment.
In the present embodiment, described S206 is the concrete refinement step of the S102 of a last embodiment.
Embodiment of the invention set-top box is supported bluetooth HID technology, set-top box can the junctor top box default bluetooth HID equipment, enriched the set-top box interactive means greatly, make things convenient for operator easier, develop more value added service of digital television easily based on man-machine interaction.
See also Fig. 6, the flow chart of the 3rd embodiment of the man-machine interaction method of set-top box of the present invention.Described method comprises:
S301, when set-top box started, described set-top box was carried out initialization to its built-in bluetooth module.
In the present embodiment, described S301 is identical with the step of the S201 of a last embodiment, does not give unnecessary details at this.
S302, real-time or timing all the universal blue tooth HID equipment transmission connection requests in communication range of described set-top box.
Described S302 can adopt the module that has encapsulated the SDP agreement in the master chip of described set-top box, this module is as the SDP client, real-time or timing all bluetooth HID equipment in communication range send connection requests, and at this moment, each bluetooth HID equipment in the communication range then is the SDP server.Described bluetooth HID equipment comprises: universal blue tooth HID equipment, promptly this bluetooth HID equipment drives the universal blue tooth HID equipment that can support for this set-top box HID service class, described SDP client then send to adopt the service search attribute request of default HID service class ID as service search pattern to this universal blue tooth HID equipment, and described service search attribute request comprises the attribute list of described default HID service class ID correspondence.
S303, described set-top box receives the connection response that each universal blue tooth HID equipment returns.
S304, described set-top box is judged all properties value that whether comprises in each connection response in the attribute list corresponding with described default HID service class ID, if judged result is for being to change S305 over to; Otherwise, finish.
In the specific implementation, described S304 judges all properties value that whether comprises in the connection response that described S303 receives in the attribute list corresponding with described default HID service class ID, if judged result is for being then to change S305 over to; Otherwise, finish.
S305, described set-top box determines that the universal blue tooth HID equipment and the described set-top box that send described connection response are complementary.
In the present embodiment, described S302-S305 is the concrete refinement step of the S101 in embodiment illustrated in fig. 4.
S306, the universal blue tooth HID equipment of the coupling that described set-top box will find offers the user and selects.
After described S305, set-top box can be browsed the general HID service that the general HID equipment of all couplings is provided.After this described S306 offers the user with the universal blue tooth HID equipment of coupling (or the universal blue tooth HID equipment of coupling provide general HID service) and selects.
S307, described set-top box and user-selected universal blue tooth HID equipment establish a communications link.
Described S307 and user-selected universal blue tooth HID equipment establish a communications link, and afterwards, the HID service class of set-top box drives and starts working, and drive the execution of corresponding HID service, and set-top box and this universal blue tooth HID equipment carry out interactive application.
In the present embodiment, described S306-S307 is the concrete refinement step of the S102 in embodiment illustrated in fig. 4.
Embodiment of the invention set-top box is supported bluetooth HID technology, the universal blue tooth HID equipment that set-top box can the junctor top box be supported, enriched the set-top box interactive means greatly, make things convenient for operator easier, develop more value added service of digital television easily based on man-machine interaction.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in the foregoing description method, be to instruct relevant hardware to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only storage memory body (Read-Only Memory, ROM) or at random store memory body (Random Access Memory, RAM) etc.
Above disclosed only is preferred embodiment of the present invention, certainly can not limit the present invention's interest field with this, one of ordinary skill in the art will appreciate that all or part of flow process that realizes the foregoing description, and, still belong to the scope that invention is contained according to the equivalent variations that claim of the present invention is done.

Claims (12)

1. the man-machine interaction method of a set-top box is characterized in that, comprising:
Set-top box scanning bluetooth human-computer interaction device HID equipment, and therefrom search the bluetooth HID equipment that is complementary with described set-top box;
Described set-top box establishes a communications link with the bluetooth HID equipment of the coupling that finds.
2. the method for claim 1 is characterized in that, before the described set-top box scanning bluetooth HID equipment, also comprises:
When set-top box started, described set-top box was carried out initialization to its built-in bluetooth module.
3. method as claimed in claim 2 is characterized in that, described bluetooth HID equipment comprises: default bluetooth HID equipment;
Described set-top box scanning bluetooth HID equipment, and therefrom search the bluetooth HID equipment that is complementary with described set-top box, comprising:
Real-time or the default bluetooth HID equipment transmission of timing all in the communication range connection request of described set-top box, described connection request is: adopt the Service Properties request of default HID service class unique identifier UUID as service search pattern;
Described set-top box receives the connection response that each default bluetooth HID equipment returns;
Described set-top box judges that whether corresponding with default HID service class UUID Service Properties the Service Properties of each connection response be complementary, if judged result is for being to determine that then the default bluetooth HID equipment and the described set-top box of the described connection response of transmission is complementary.
4. method as claimed in claim 3 is characterized in that, described set-top box establishes a communications link with the bluetooth HID equipment of the coupling that finds, and comprising:
Described set-top box establishes a communications link with the default bluetooth HID equipment that finds automatically.
5. method as claimed in claim 2 is characterized in that, described bluetooth HID equipment comprises: universal blue tooth HID equipment;
Described set-top box scanning bluetooth HID equipment, and therefrom search the bluetooth HID equipment that is complementary with described set-top box, comprising:
Real-time or timing all the universal blue tooth HID equipment transmission connection requests in communication range of described set-top box, described connection request is: adopt the service search attribute request of default HID service class identification number ID as service search pattern, described service search attribute request comprises the attribute list of described default HID service class ID correspondence;
Described set-top box receives the connection response that each universal blue tooth HID equipment returns;
Described set-top box is judged all properties value that whether comprises in each connection response in the attribute list corresponding with described default HID service class ID, if judged result is for being, determine that then the universal blue tooth HID equipment and the described set-top box of the described connection response of transmission is complementary.
6. method as claimed in claim 5 is characterized in that, described set-top box establishes a communications link with the bluetooth HID equipment of the coupling that finds, and comprising:
The universal blue tooth HID equipment of the coupling that described set-top box will find offers the user and selects;
Described set-top box and user-selected universal blue tooth HID equipment establish a communications link.
7. as each described method of claim 1-6, it is characterized in that described bluetooth HID equipment comprises: any one or more in blue Tooth remote controller, bluetooth keyboard, bluetooth mouse, bluetooth joystick, bluetooth trace ball, bluetooth handwriting pad and the bluetooth earphone.
8. a set-top box is characterized in that, comprising:
Master chip is used to scan bluetooth HID equipment, and therefrom searches the bluetooth HID equipment that is complementary with described set-top box;
Bluetooth module, the bluetooth HID equipment that is complementary with described set-top box that is used for finding with described master chip establishes a communications link.
9. set-top box as claimed in claim 8 is characterized in that, when set-top box started, described master chip carried out initialization to described bluetooth module.
10. set-top box as claimed in claim 8 is characterized in that, described master chip comprises:
The connection request unit is used in real time or timing all bluetooth HID equipment in communication range send connection requests, and described bluetooth HID equipment comprises: default bluetooth HID equipment and/or universal blue tooth HID equipment;
The response receiving element is used to receive the connection response that each bluetooth HID equipment returns;
Matching unit, whether the Service Properties corresponding with default HID service class UUID is complementary to be used to judge the Service Properties of each connection response that described response receiving element receives, if judged result is for being, determine that then the default bluetooth HID equipment and the described set-top box of the described connection response of transmission is complementary; Perhaps, judge all properties value that whether comprises in each connection response in the attribute list corresponding, if judged result is for being to determine that then the universal blue tooth HID equipment and the described set-top box of the described connection response of transmission is complementary with described default HID service class ID;
Wherein, described connection request is: adopt the Service Properties request of default HID service class UUID as service search pattern; Perhaps, described connection request is: adopt the service search attribute request of default HID service class ID as service search pattern, described service search attribute request comprises the attribute list of described default HID service class ID correspondence.
11. set-top box as claimed in claim 10 is characterized in that, described bluetooth module establishes a communications link with the default bluetooth HID equipment that described matching unit finds automatically; Perhaps, the universal blue tooth HID equipment of the coupling that described master chip finds described matching unit offers the user and selects, and described bluetooth module and user-selected universal blue tooth HID equipment establish a communications link.
12. as each described set-top box of claim 8-11, it is characterized in that, be packaged with the driving of HID service class, logic link control and adapting protocol L2CAP, service discovery protocol SDP, host controller interface HCI in the described master chip;
Be packaged with baseband protocol, LMP Link Manager Protocol LMP and HCI in the described bluetooth module;
Described bluetooth module is connected by general-purpose serial bus USB with described master chip.
CN2011101256717A 2011-05-16 2011-05-16 STB (Set Top Box) and man-machine interaction method for STB Pending CN102255947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101256717A CN102255947A (en) 2011-05-16 2011-05-16 STB (Set Top Box) and man-machine interaction method for STB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101256717A CN102255947A (en) 2011-05-16 2011-05-16 STB (Set Top Box) and man-machine interaction method for STB

Publications (1)

Publication Number Publication Date
CN102255947A true CN102255947A (en) 2011-11-23

Family

ID=44982940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101256717A Pending CN102255947A (en) 2011-05-16 2011-05-16 STB (Set Top Box) and man-machine interaction method for STB

Country Status (1)

Country Link
CN (1) CN102255947A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625186A (en) * 2012-03-13 2012-08-01 深圳市九洲电器有限公司 STB (Set Top Box) and system for controlling real standby of STB
CN104540091A (en) * 2014-12-27 2015-04-22 深圳市中易腾达科技股份有限公司 Automatic pairing system and automatic pairing method based on bluetooth equipment
CN104866276A (en) * 2015-05-21 2015-08-26 深圳市浩博高科技有限公司 Method, host and system for implementing voice input based on Bluetooth HID service
WO2015184754A1 (en) * 2014-09-15 2015-12-10 中兴通讯股份有限公司 Mobile terminal and method for exchanging calling cards between mobile terminals
WO2016107141A1 (en) * 2014-12-30 2016-07-07 中兴通讯股份有限公司 Method and apparatus for controlling set-top box
CN105187878B (en) * 2015-09-07 2018-11-16 深圳Tcl数字技术有限公司 TV Bluetooth connecting method and device
CN110017761A (en) * 2019-04-22 2019-07-16 广定科技(上海)有限公司 A kind of man-machine interaction method and electronic ruler of electronic ruler
CN110049475A (en) * 2019-04-22 2019-07-23 广定科技(上海)有限公司 A kind of man-machine interaction method and system of electronic ruler
CN110944233A (en) * 2019-11-27 2020-03-31 国美视界(北京)科技有限公司 AC power-on Bluetooth starting method, device, system and storage medium
CN113132962A (en) * 2019-04-16 2021-07-16 华为技术有限公司 Bluetooth scanning method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070165787A1 (en) * 2005-12-24 2007-07-19 Samsung Electronics Co., Ltd. Apparatus and method for controlling home network devices
CN201222767Y (en) * 2008-05-30 2009-04-15 龙山 Interactive device for set-top box
CN101593164A (en) * 2009-07-13 2009-12-02 中国船舶重工集团公司第七○九研究所 Based on built-in Linux from USB HID device and firmware implementation method
CN101950322A (en) * 2010-08-23 2011-01-19 北京启动在线文化娱乐有限公司 Man-machine interaction network system for realizing point-to-point connection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070165787A1 (en) * 2005-12-24 2007-07-19 Samsung Electronics Co., Ltd. Apparatus and method for controlling home network devices
CN201222767Y (en) * 2008-05-30 2009-04-15 龙山 Interactive device for set-top box
CN101593164A (en) * 2009-07-13 2009-12-02 中国船舶重工集团公司第七○九研究所 Based on built-in Linux from USB HID device and firmware implementation method
CN101950322A (en) * 2010-08-23 2011-01-19 北京启动在线文化娱乐有限公司 Man-machine interaction network system for realizing point-to-point connection

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625186B (en) * 2012-03-13 2015-07-15 深圳市九洲电器有限公司 STB (Set Top Box) and system for controlling real standby of STB
CN102625186A (en) * 2012-03-13 2012-08-01 深圳市九洲电器有限公司 STB (Set Top Box) and system for controlling real standby of STB
CN105491202B (en) * 2014-09-15 2019-01-25 中兴通讯股份有限公司 The method of business card exchange is realized between a kind of mobile terminal and mobile terminal
WO2015184754A1 (en) * 2014-09-15 2015-12-10 中兴通讯股份有限公司 Mobile terminal and method for exchanging calling cards between mobile terminals
CN105491202A (en) * 2014-09-15 2016-04-13 中兴通讯股份有限公司 Mobile terminal and method for achieving business card exchange among mobile terminals
CN104540091A (en) * 2014-12-27 2015-04-22 深圳市中易腾达科技股份有限公司 Automatic pairing system and automatic pairing method based on bluetooth equipment
WO2016107141A1 (en) * 2014-12-30 2016-07-07 中兴通讯股份有限公司 Method and apparatus for controlling set-top box
CN104866276A (en) * 2015-05-21 2015-08-26 深圳市浩博高科技有限公司 Method, host and system for implementing voice input based on Bluetooth HID service
CN105187878B (en) * 2015-09-07 2018-11-16 深圳Tcl数字技术有限公司 TV Bluetooth connecting method and device
CN113132962A (en) * 2019-04-16 2021-07-16 华为技术有限公司 Bluetooth scanning method and electronic equipment
CN113132962B (en) * 2019-04-16 2022-12-06 华为技术有限公司 Bluetooth scanning method and electronic equipment
US11849376B2 (en) 2019-04-16 2023-12-19 Huawei Technologies Co., Ltd. Bluetooth scanning method and electronic device
CN110017761A (en) * 2019-04-22 2019-07-16 广定科技(上海)有限公司 A kind of man-machine interaction method and electronic ruler of electronic ruler
CN110049475A (en) * 2019-04-22 2019-07-23 广定科技(上海)有限公司 A kind of man-machine interaction method and system of electronic ruler
CN110944233A (en) * 2019-11-27 2020-03-31 国美视界(北京)科技有限公司 AC power-on Bluetooth starting method, device, system and storage medium

Similar Documents

Publication Publication Date Title
CN102255947A (en) STB (Set Top Box) and man-machine interaction method for STB
CN107168666B (en) System and method for audio and video transmission and multi-screen mapping based on USB interface
KR101691446B1 (en) Method, apparatus, and system for intelligently controlling device, and plug-and-play device
CN102932695B (en) A kind of remote control thereof, intelligent terminal and intelligent remote control system
CN103517110B (en) A kind of multi-screen interaction communication system and method
CN101202822B (en) Digital TV set-top box system
CN105635943B (en) Low-power-consumption Bluetooth beacon data interaction device, beacon device and method
US11350413B2 (en) Display apparatus and method of setting operating channel of the same
CN104333844A (en) Interconnection method of vehicle-mounted terminal and smart phone
CN104202461A (en) Connected smart phone function synchronizing automotive sound system
CN203675335U (en) Vehicle-mounted hotspot all-in-one machine
CN208258096U (en) Receiving device and wireless screen transmission system
CN104254005A (en) Wireless video sharing playing device and method
CN100495464C (en) Digital TV set remote-controller based on bluetooth
CN101686341A (en) Method for realizing program sharing among television, set top box and mobile equipment
CN102737003B (en) A kind of method and device of simulating USB device
CN103327387A (en) Television remote control method and system
CN102281085A (en) Method for realizing communication between set top box and intelligent terminal, and apparatus thereof
CN112689172B (en) Program playing method and device, set top box and storage medium
CN103685303A (en) Method and system for processing connection content delivery network
CN112469104A (en) Networking method of dual-system electronic whiteboard and electronic whiteboard
CN103198822B (en) A kind of karaoke broadcast control equipment with wireless push function
CN204965084U (en) Intelligently fusing terminal with remote control and detection function
CN104951417A (en) Method for achieving USB combined device suitable for high-capacity USIM
CN202602838U (en) Smart television

Legal Events

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

Application publication date: 20111123