CN105050034B - Voice service implementation method and apparatus and system based on bluetooth connection - Google Patents

Voice service implementation method and apparatus and system based on bluetooth connection Download PDF

Info

Publication number
CN105050034B
CN105050034B CN201510528318.1A CN201510528318A CN105050034B CN 105050034 B CN105050034 B CN 105050034B CN 201510528318 A CN201510528318 A CN 201510528318A CN 105050034 B CN105050034 B CN 105050034B
Authority
CN
China
Prior art keywords
information
link
voice service
bluetooth equipment
bluetooth
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.)
Active
Application number
CN201510528318.1A
Other languages
Chinese (zh)
Other versions
CN105050034A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201510528318.1A priority Critical patent/CN105050034B/en
Publication of CN105050034A publication Critical patent/CN105050034A/en
Application granted granted Critical
Publication of CN105050034B publication Critical patent/CN105050034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention proposes a kind of voice service implementation method and apparatus and system based on bluetooth connection, and the method includes:Link layer is set up with bluetooth equipment to be connected, the link layer connection includes:Privately owned Radio Link and bluetooth standard link;Connected by the link layer, receive the information that bluetooth equipment sends, described information includes:Voice service information, and/or, Internet of Things control information;Data Layer, service layer and application layer process are carried out to described information, the information after being processed;By the information after the process by the link layer linkup transmit to bluetooth equipment, to provide respective service to bluetooth equipment.The method can realize the intellectuality of bluetooth equipment.

Description

Voice service implementation method and apparatus and system based on bluetooth connection
Technical field
The present invention relates to voice service technical field, more particularly to a kind of voice service implementation method based on bluetooth connection And apparatus and system.
Background technology
The peripheral electronic device enormous amount for wirelessly connecting at present, wherein most carry phonetic function, phonetic function bag Include available microphone location, voice can be played with earphone or loudspeaker.One kind of peripheral electronic device with phonetic function is base In the audio frequency apparatus of bluetooth, such as bluetooth earphone, Baffle Box of Bluetooth, vehicle Bluetooth hand-free system equipment etc..
But, this kind of bluetooth equipment cannot be bound with specific software at present, substantially belong to " unintelligent device ", non intelligent to set The standby hardware for referring to product includes its functional, no software value-added service for being provided in itself.
The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.
For this purpose, it is an object of the present invention to proposing a kind of voice service implementation method based on bluetooth connection, the party Method can realize the intellectuality of bluetooth equipment.
Further object is that proposing that device is realized in a kind of voice service based on bluetooth connection.
Further object is that proposing that system is realized in a kind of voice service based on bluetooth connection.
To reach above-mentioned purpose, the voice service realization side based on bluetooth connection that first aspect present invention embodiment is proposed Method, including:Link layer is set up with bluetooth equipment to be connected, the link layer connection includes:Privately owned Radio Link and bluetooth standard chain Road;Connected by the link layer, receive the information that bluetooth equipment sends, described information includes:Voice service information, and/or, Internet of Things control information;Data Layer, service layer and application layer process are carried out to described information, the information after being processed;By institute The information after processing is stated by the link layer linkup transmit to bluetooth equipment, respective service is provided to bluetooth equipment.
The voice service implementation method based on bluetooth connection that first aspect present invention embodiment is proposed, it is privately owned by setting up Radio Link, it is possible to achieve bluetooth equipment and specific voice service program interaction on gateway device, binding bluetooth equipment and spy Fixed voice service program, so as to specific voice service program can provide voice service for the bluetooth equipment of binding, realizes The intellectuality of bluetooth equipment.In addition, when voice service program and bluetooth equipment interaction Internet of Things control information, can also realize Internet of Things between voice service program and bluetooth equipment or between bluetooth equipment.
To reach above-mentioned purpose, the voice service realization side based on bluetooth connection that second aspect present invention embodiment is proposed Method, including:Link layer is set up with the default voice service program on gateway device to be connected, the link layer connection includes:It is privately owned Radio Link and bluetooth standard link;Information to gathering carries out data Layer process, obtains information to be sent, described to send Information include:Voice service information, and/or, Internet of Things control information;Connected by the link layer, to voice service journey Sequence sends information to be sent, and is connected by the link layer, receives the feedback information that default voice service program sends, institute It is the information obtained after the default voice service program is processed to the information to be sent to state feedback information;By indigo plant The feedback information is fed back to user by the man-machine interaction layer of tooth equipment.
The voice service implementation method based on bluetooth connection that second aspect present invention embodiment is proposed, it is privately owned by setting up Radio Link, it is possible to achieve bluetooth equipment and specific voice service program interaction on gateway device, binding bluetooth equipment and spy Fixed voice service program, so as to specific voice service program can provide voice service for the bluetooth equipment of binding, realizes The intellectuality of bluetooth equipment.In addition, when voice service program and bluetooth equipment interaction Internet of Things control information, can also realize Internet of Things between voice service program and bluetooth equipment or between bluetooth equipment.
To reach above-mentioned purpose, dress is realized in the voice service based on bluetooth connection that third aspect present invention embodiment is proposed Put, including:Link block, is connected for setting up link layer with bluetooth equipment, and the link layer connection includes:Privately owned Radio Link With bluetooth standard link;Transport module, for connecting by the link layer, receives the information that bluetooth equipment sends, the letter Breath includes:Voice service information, and/or, Internet of Things control information;Processing module, for data Layer, clothes are carried out to described information Business layer and application layer process, the information after being processed;Feedback module, for the information after the process is passed through the link Layer linkup transmit to bluetooth equipment, to provide respective service to bluetooth equipment.
What third aspect present invention embodiment was proposed realizes device based on the voice service of bluetooth connection, privately owned by setting up Radio Link, it is possible to achieve bluetooth equipment and specific voice service program interaction on gateway device, binding bluetooth equipment and spy Fixed voice service program, so as to specific voice service program can provide voice service for the bluetooth equipment of binding, realizes The intellectuality of bluetooth equipment.In addition, when voice service program and bluetooth equipment interaction Internet of Things control information, can also realize Internet of Things between voice service program and bluetooth equipment or between bluetooth equipment.
To reach above-mentioned purpose, dress is realized in the voice service based on bluetooth connection that fourth aspect present invention embodiment is proposed Put, including:Link block, is connected for setting up link layer with the default voice service program on gateway device, the link layer Connection includes:Privately owned Radio Link and bluetooth standard link;Processing module, carries out data Layer process for the information to gathering, Information to be sent is obtained, the information to be sent includes:Voice service information, and/or, Internet of Things control information;Transmission Module, for being connected by the link layer, is sent information to be sent to voice service program, and is connected by the link layer Connect, receive the feedback information that default voice service program sends, the feedback information is the default voice service program to institute State the information obtained after information to be sent is processed;Human-computer interaction module, for passing through the man-machine interaction layer of bluetooth equipment, The feedback information is fed back to into user.
What fourth aspect present invention embodiment was proposed realizes device based on the voice service of bluetooth connection, privately owned by setting up Radio Link, it is possible to achieve bluetooth equipment and specific voice service program interaction on gateway device, binding bluetooth equipment and spy Fixed voice service program, so as to specific voice service program can provide voice service for the bluetooth equipment of binding, realizes The intellectuality of bluetooth equipment.In addition, when voice service program and bluetooth equipment interaction Internet of Things control information, can also realize Internet of Things between voice service program and bluetooth equipment or between bluetooth equipment.
To reach above-mentioned purpose, system is realized in the voice service based on bluetooth connection that fifth aspect present invention embodiment is proposed System, including:The device that third aspect present invention embodiment is proposed, and, the device that fourth aspect present invention embodiment is proposed.
What fifth aspect present invention embodiment was proposed realizes system based on the voice service of bluetooth connection, privately owned by setting up Radio Link, it is possible to achieve bluetooth equipment and specific voice service program interaction on gateway device, binding bluetooth equipment and spy Fixed voice service program, so as to specific voice service program can provide voice service for the bluetooth equipment of binding, realizes The intellectuality of bluetooth equipment.In addition, when voice service program and bluetooth equipment interaction Internet of Things control information, can also realize Internet of Things between voice service program and bluetooth equipment or between bluetooth equipment.
The additional aspect of the present invention and advantage will be set forth in part in the description, and partly will become from the following description Obtain substantially, or recognized by the practice of the present invention.
Description of the drawings
Of the invention above-mentioned and/or additional aspect and advantage will become from the following description of the accompanying drawings of embodiments It is substantially and easy to understand, wherein:
Fig. 1 is the schematic flow sheet of the voice service implementation method based on bluetooth connection that one embodiment of the invention is proposed;
Fig. 2 is the protocol frame schematic diagram of gateway device side in the embodiment of the present invention;
Fig. 3 is that the flow process of the voice service implementation method based on bluetooth connection that another embodiment of the present invention is proposed is illustrated Figure;
Fig. 4 is the protocol frame schematic diagram of gateway device side in the embodiment of the present invention;
Fig. 5 is that the flow process of the voice service implementation method connected based on bluetooth equipment that another embodiment of the present invention is proposed is shown It is intended to;
Fig. 6 is that the voice service connected based on bluetooth equipment that another embodiment of the present invention is proposed realizes that the structure of device is shown It is intended to;
Fig. 7 is that the voice service connected based on bluetooth equipment that another embodiment of the present invention is proposed realizes that the structure of device is shown It is intended to;
Fig. 8 is that the voice service connected based on bluetooth equipment that another embodiment of the present invention is proposed realizes that the structure of device is shown It is intended to;
Fig. 9 is that the voice service connected based on bluetooth equipment that another embodiment of the present invention is proposed realizes that the structure of device is shown It is intended to;
Figure 10 is the structure that system is realized in the voice service connected based on bluetooth equipment that another embodiment of the present invention is proposed Schematic diagram.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar module or the module with same or like function.Below with reference to attached The embodiment of figure description is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.Conversely, this Inventive embodiment includes all changes fallen in the range of the spirit and intension of attached claims, modification and is equal to Thing.
Fig. 1 is the schematic flow sheet of the voice service implementation method based on bluetooth connection that one embodiment of the invention is proposed, The present embodiment is by taking gateway device execution as an example.The method includes:
S11:Link layer is set up with bluetooth equipment to be connected, link layer connection includes:Privately owned Radio Link connection and bluetooth mark Quasi- link connection.
For example, privately owned Radio Link can be divided into:Privately owned control link and privately owned voice frequency link, bluetooth standard link can be with It is divided into:Towards synchronized links (Synchronous Connection Oriented, SCO) link and the bluetooth sound of broadcasting music Keep pouring in defeated model agreement (Advanced Audio Distribution Profile, A2DP) link.
Wherein, privately owned control link is used to transmit the control instruction between bluetooth equipment and voice service program, privately owned sound Frequency link is used to transmit speech data to be identified and the corresponding speech recognition between bluetooth equipment and voice service program As a result.Both SCO link is used to transmit speech data to be identified and corresponding voice identification result, and A2DP links are used to transmit sound Happy voice data.
It is understood that privately owned Radio Link can also not differentiated between, control instruction and speech data can also all same Transmit in one privately owned Radio Link.In addition, when privately owned control link is distinguished, can be private in same with different control instructions Transmit in having control link, it is also possible to which different control instructions is transmitted in different privately owned control links.
In the case of privately owned Radio Link as implied above and bluetooth standard link, as shown in Fig. 2 gateway device is (such as Mobile phone) protocol frame include:Link layer, link layer can be specifically included:Privately owned control link module, privately owned voice frequency link mould Block, both SCO link module and A2DP link modules.
Wherein, privately owned control link module be used for the default voice service program set up on bluetooth equipment and gateway device it Between privately owned control link, privately owned control link be used for transmit the control interacted between bluetooth equipment and default voice service program Instruction.Control instruction for example includes:Voice frequency link is set up and customizes information, Internet of Things with the instruction in control process, speech recognition Net sensing data etc..RFCOMM or SPP connection of the privately owned control link using similar serial communication, it can be ensured that bluetooth equipment is only With default voice service program interaction, without being kidnapped by other application program.
Privately owned voice frequency link module is used between the default voice service program set up on bluetooth equipment and gateway device Privately owned voice frequency link, privately owned voice frequency link are used for the voice data interacted between bluetooth equipment and default voice service program.Sound Frequency evidence for example includes:Speech data to be identified and corresponding voice identification result, so as to realize audio frequency uplink/downlink number According to transmission.RFCOMM or SPP connection of the link using similar serial communication.
In addition, privately owned voice frequency link can use the asynchronous mode for having error retransmission mechanism.Using on privately owned async link Phonetic order (arriving gateway) is passed, compared with the SCO voice frequency links in bluetooth standard based on synchronous transfer, in jitter, is lost The stable transmission of voice can be exchanged for by more error number of retransmissions when wrapping frequent, be conducive to improving phonetic recognization rate. Using voice broadcast (to Bluetooth terminal equipment) is passed under privately owned async link, with music A2DP/AVRCP in bluetooth standard Agreement is compared, and reduces the coupling between agreement, has more preferable compatibility in actual applications, can be avoided at AVRCP instructions The music false triggering that reason was not brought at that time.Simultaneously as privately owned voice frequency link can and be deposited with both SCO link so that we are beating During phone, (in incoming call vibration, call, to outcall fair state) can also carry out speech recognition and report, so as to extended voice The application scenarios of service.
Both SCO link module is used to set up both SCO link, and both SCO link also may be used generally as wireless audio link when making a phone call For the transmission of uplink/downlink speech data in voice service.Both SCO link can be realized using bluetooth standard audio protocols.
A2DP link modules are used to set up A2DP links, and A2DP links are pushed away to Bluetooth terminal generally as gateway when listening music The wireless audio link of one-way audio stream is sent, also can be used for the transmission of downstream voice data in voice service.A2DP links can be with Realized using bluetooth standard audio protocols.
S12:Connected by the link layer, receive the information that bluetooth equipment sends, described information includes:Voice service is believed Breath, and/or, Internet of Things control information.
Wherein, voice service information includes:Speech data to be identified, and/or, the scene information belonging to bluetooth equipment.
Speech data to be identified can pass through privately owned Radio Link or both SCO link transmission, scene information and Internet of Things Control information can be by privately owned transmission of radio links.
Scene information is not related in bluetooth standard audio protocols, therefore speech customization cannot be realized.
And speech customization can be realized by scene information in the present embodiment.It is that smart machine is poor that voice service is customized One primary demand of alienation design.It is easy to understand, a car handsfree bluetooth equipment for being loaded into in-car, the user for being faced Instruction will be mainly related to navigation, route;And a fixed placement is in the Baffle Box of Bluetooth in parlor, the user instruction for being faced Can be more likely to play music.Equally it is route guidance, a vehicle Bluetooth hand-free system can be given tacit consent to after user's query is connected to Inquiry traffic route, and bluetooth earphone then needs to judge the walking that is intended that of user, takes public transport and still drives.These are all Voice service is needed to customize.
In addition, Internet of Things in bluetooth standard audio protocols, is not supported, and the present embodiment is after privately owned Radio Link is set up, can With by privately owned transmission of radio links Internet of Things control information, so as to set up bluetooth equipment with default voice service program and indigo plant Internet of Things between tooth equipment.
S13:Data Layer, service layer and application layer process are carried out to described information, the information after being processed.
Wherein, data Layer process can be including at least one in following item:
Audio frequency flow management, Speech processing, voice recognition information management, Internet of Things network information management, service discovery, authentication With equipment control.
Accordingly, referring to Fig. 2, the protocol frame of gateway side also includes:Data Layer, data Layer include:Audio frequency flow management mould Block, voice signal processing module, voice recognition information management module, Internet of Things information management module, service discovery module, authentication With device management module.
Audio frequency stream management module is used for audio frequency flow management, and responsible function has:Voice data to sending out, receive is encoded, is solved Code operation, manages each voice frequency link, provides unified COBBAIF to upper strata, selects when upper strata is called, sets up, maintaining to close Suitable voice frequency link.
Voice signal processing module is used for Speech processing, is responsible for carrying out various pretreatments to speech data to be identified Operation, such as echo cancellor, self adaptation volume are controlled, vehicle-mounted noise is eliminated, wind is made an uproar elimination, Microphone Array Speech enhancing etc..
Voice recognition information management module for voice recognition information manage, be responsible for collect and manage Bluetooth terminal equipment and Various scene informations in user behavior, as the input information of the service customizationizations such as speech recognition, voice broadcast process.
Internet of Things information management module is used for Internet of Things network information management, is responsible for collecting and managing each on Bluetooth terminal equipment Plant the Internet of Things such as sensor, controller control relevant information.These information are by the privately owned control of link layer/data link transmission To upper strata, Jing after this resume module, report to application layer (gateway side) and man-machine interaction layer (Bluetooth terminal side).
Service discovery module is used for service discovery, the interaction flow and corresponding data of a set of service discovery of this module definition Form, for discovering device ability each other between different Bluetooth terminal equipment, gateway program, and the expansion for doing backward compatibility Exhibition.
Authentication is used for authentication and equipment control, a set of method for authenticating of this module definition, for true with device management module Recognize the legitimacy of the Bluetooth terminal equipment/gateway device of access service.Meanwhile, this module is responsible for being managed equipment, such as sets Standby online upgrading, online equipment statistical analysis etc..
Service layer processes at least one included in following item:
Information is obtained from voice technology platform, information is obtained by third party's service interface.
Application layer process includes:Applied field is determined by the scene information that privately owned Radio Link sends according to bluetooth equipment Scape.
For example, with reference to Fig. 2, the protocol frame of gateway side also includes:Service layer and application layer, service layer include:Voice skill Art platform and third party's service interface.Application layer includes multiple application scenarios.Voice technology platform is provided needed for voice service Every technology, including but not limited to speech recognition, semantic understanding, phonetic synthesis, depth question and answer, Application on Voiceprint Recognition etc..Third party takes Business interface is used to provide in various scenes, the various non-voice class basic technology services needed for user.Such as, in scene of asking the way, User needs to use map, navigation type services;In song scene is listened, user needs music service etc..Application scenarios are based on use A series of services of family demand, the set of interaction.The function of gateway side program is to be made up of multiple application scenarios.Cutting Different application scenarios set, that is, obtained the realization of different gateway side programs, it is achieved thereby that the customization of service.
S14:By the information after the process by the link layer linkup transmit to bluetooth equipment, to carry to bluetooth equipment For respective service.
For example, after default voice service program is processed to voice service information, such as according to speech data " Beijing day After Beijing weather condition today that gas " is obtained, Beijing weather condition today can be set to bluetooth by link layer linkup transmit It is standby, to provide voice service to bluetooth equipment.Or,
For example, after default voice service program is processed to Internet of Things control information, result is passed through into link layer Linkup transmit to bluetooth equipment, to provide Internet of Things service to bluetooth equipment.
Correspondingly, the flow process that bluetooth equipment is performed may refer to Fig. 3, Fig. 3 be another embodiment of the present invention propose based on The schematic flow sheet of the voice service implementation method of bluetooth connection, the present embodiment is by taking bluetooth equipment execution as an example.The method includes:
S31:Link layer is set up with the default voice service program on gateway device to be connected, the link layer connection includes: Privately owned Radio Link and bluetooth standard link.
For example, privately owned Radio Link can be divided into:Privately owned control link and privately owned voice frequency link, bluetooth standard link can be with It is divided into:Synchronously towards connection (Synchronous Connection Oriented, SCO) link and the bluetooth sound of broadcasting music Keep pouring in defeated model agreement (Advanced Audio Distribution Profile, A2DP) link.
Wherein, privately owned control link is used to transmit the control instruction between bluetooth equipment and voice service program, privately owned sound Frequency link is used to transmit speech data to be identified and the corresponding speech recognition between bluetooth equipment and voice service program As a result.Both SCO link is used to transmit speech data to be identified and corresponding voice identification result, and A2DP links are used to transmit sound Happy voice data.
It is understood that privately owned Radio Link can also not differentiated between, control instruction and speech data can also all same Transmit in one privately owned Radio Link.In addition, when privately owned control link is distinguished, can be private in same with different control instructions Transmit in having control link, it is also possible to which different control instructions is transmitted in different privately owned control links.
In the case of privately owned Radio Link as implied above and bluetooth standard link, as shown in figure 4, the association of bluetooth equipment View framework includes:Link layer, link layer can be specifically included:Privately owned control link module, privately owned voice frequency link module, SCO chains Road module and A2DP link modules.
Wherein, the link layer of bluetooth equipment and the link layer of gateway device are consistent, and the concrete function of each module of link layer can With the associated description referring to gateway side.
S32:Information to gathering carries out data Layer process, obtains information to be sent, and the information to be sent includes: Voice service information, and/or, Internet of Things control information.
Wherein, voice service information includes:Speech data to be identified, and/or, the scene information belonging to bluetooth equipment.
Speech data to be identified can pass through privately owned Radio Link or both SCO link transmission, scene information and Internet of Things Control information can be by privately owned transmission of radio links.
Scene information is not related in bluetooth standard audio protocols, therefore speech customization cannot be realized.
And speech customization can be realized by scene information in the present embodiment.It is that smart machine is poor that voice service is customized One primary demand of alienation design.It is easy to understand, a car handsfree bluetooth equipment for being loaded into in-car, the user for being faced Instruction will be mainly related to navigation, route;And a fixed placement is in the Baffle Box of Bluetooth in parlor, the user instruction for being faced Can be more likely to play music.Equally it is route guidance, a vehicle Bluetooth hand-free system can be given tacit consent to after user's query is connected to Inquiry traffic route, and bluetooth earphone then needs to judge the walking that is intended that of user, takes public transport and still drives.These are all Voice service is needed to customize.
In addition, Internet of Things in bluetooth standard audio protocols, is not supported, and the present embodiment is after privately owned Radio Link is set up, can With by privately owned transmission of radio links Internet of Things control information, so as to set up bluetooth equipment with default voice service program and indigo plant Internet of Things between tooth equipment.
Wherein, data Layer process can be including at least one in following item:
Audio frequency flow management, Speech processing, voice recognition information management, Internet of Things network information management, service discovery, authentication With equipment control.
Accordingly, referring to Fig. 4, the protocol frame of bluetooth equipment also includes:Data Layer, data Layer include:Audio frequency flow management Module, voice signal processing module, voice recognition information management module, Internet of Things information management module, service discovery module, mirror Power and device management module.
Wherein, the link layer of bluetooth equipment and the data Layer of gateway device are consistent, and the concrete function of each module of data Layer can With the associated description referring to gateway side.
In addition, the present embodiment can also include:
Collection information is processed by man-machine interaction layer, the man-machine interaction layer processes at least one included in following item:
Button interactive maintenance, display interactive maintenance, audio frequency interactive maintenance, sensor interactive maintenance.
For example, with reference to Fig. 4, bluetooth equipment also includes:Man-machine interaction layer, man-machine interaction layer include:Button interactive maintenance mould Block, display interactive maintenance module, audio frequency interactive maintenance module, sensor interactive maintenance module.For example, button interactive maintenance module The operation that user is produced by button is known for bluetooth equipment, for example, user's triggering speech recognition, user terminate phonetic entry Deng.Interactive maintenance module is shown for result being displayed to the user that by display, for example, by LED by voice identification result Route map is shown to user.Audio frequency interactive maintenance module is interacted for carrying out audio frequency with user, for example, knows that user adopts audio frequency The information that mode is input into, for example, the speech data to be identified of user speech input, or, to user's playing alert tones, or Person, plays voice identification result to user.Sensor interactive maintenance module is used to obtain sensor information, and sensor information is for example Including Internet of Things control information, so as to set up Internet of Things between bluetooth equipment and voice service program or bluetooth equipment.
The service layer of the man-machine interaction layer corresponding gateway equipment of bluetooth equipment and application layer.
S33:Connected by the link layer, the information to be sent is sent to default voice service program, and passed through The link layer connection, receives the feedback information that default voice service program sends, and the feedback information is the default voice The information that service routine is obtained after processing to the information to be sent.
After bluetooth equipment gets information, can be by link layer linkup transmit to default voice service program.For example, lead to Cross privately owned Radio Link and send speech data, scene information, Internet of Things control information, or, speech data can also pass through SCO Link sends.
In addition, default voice service program is after the information for receiving bluetooth equipment transmission, the information for receiving can be entered The process of row data Layer, and bluetooth equipment is retransmited back by link layer connection using result as feedback information.Default voice Service routine for example carries out voice recognition processing or Internet of Things control process etc., and particular content may refer to an embodiment, Will not be described here.
S34:By the man-machine interaction layer of bluetooth equipment, the feedback information is fed back to into user.
For example, after bluetooth equipment receives the feedback information that default voice service program sends, can be according to feedback information Classification using corresponding interactive mode to user feedback, for example, the feedback information that bluetooth equipment is received is navigation way figure, then Navigation way figure can be shown by LED forms by bluetooth equipment through the process of the display interactive maintenance module of man-machine interaction layer Show to user, or, the feedback information that bluetooth equipment is received is voice broadcast, then bluetooth equipment can be through man-machine interaction layer Voice broadcast is played to user by speech form by the process of audio frequency interactive maintenance module.
In the present embodiment, by setting up privately owned Radio Link, it is possible to achieve bluetooth equipment and specific language on gateway device Sound service routine is interacted, and binds bluetooth equipment and specific voice service program, so as to specific voice service program can be The bluetooth equipment of binding provides voice service, realizes the intellectuality of bluetooth equipment.In addition, working as voice service program and bluetooth equipment During interaction Internet of Things control information, the thing between voice service program and bluetooth equipment or between bluetooth equipment can also be realized Networking.
Fig. 5 is that the flow process of the voice service implementation method connected based on bluetooth equipment that another embodiment of the present invention is proposed is shown It is intended to, the present embodiment sets up privately owned Radio Link with bluetooth equipment and default voice service program, and as a example by voice service is provided. The method includes:
S51:Bluetooth equipment sets up privately owned Radio Link with default voice service program, and keeps the privately owned Radio Link In normally open.
It is understood that the privately owned Radio Link between bluetooth equipment and default voice service program can include one Kind, a kind of privately owned Radio Link is used to transmit control instruction and speech data, or, privately owned Radio Link can be divided into two Kind, it is a kind of for transmitting control instruction, it is another kind of to be used for transmitting audio data.In the present embodiment, will to be divided into as a example by two kinds, one Plant and be referred to as privately owned control link, it is another kind of to be referred to as privately owned voice frequency link.It is, of course, understood that privately owned control link can be with For one, for transmit various control instruction, or, privately owned control link can be divided into it is a plurality of, be respectively used to transmission it is different Control instruction.In the present embodiment, so that various control is instructed and is transmitted in a privately owned control link as an example.
For example, preset the feature letter that voice service program is registered to the operating system of gateway device and intercepts wireless link Breath, such as registers specific UUID, in addition, identical UUID is also configured on bluetooth equipment, then bluetooth equipment can be used and is somebody's turn to do UUID initiates the request of privately owned Radio Link, due to only presetting voice service program registration and intercepting the UUID, then presets language Sound service routine can set up privately owned Radio Link with bluetooth equipment.In addition, setting up privately owned control link and privately owned audio chain Lu Shi, can adopt two kinds of different UUID.
Specifically, when privately owned Radio Link includes privately owned control link and privately owned voice frequency link, bluetooth equipment with it is default Voice service program can set up corresponding privately owned control link by privately owned control link module and privately owned voice frequency link module With privately owned voice frequency link.
S52:Bluetooth equipment know user triggering speech recognition after, bluetooth equipment in local playing alert tones, and, bluetooth Equipment sends speech recognition request to voice service program by privately owned Radio Link.
Wherein, by button interactive maintenance module, bluetooth equipment can know that user triggers speech recognition.For example, bluetooth sets The standby button for being above provided with triggering speech recognition, after bluetooth equipment receives pressing of the user to the button to be instructed, knows use Trigger speech recognition in family.
Afterwards, on the one hand, bluetooth equipment can be in local playing alert tones.For example, broadcast by audio frequency interactive maintenance module Put prompt tone.
On the other hand, speech recognition request can be sent to default voice service by privately owned Radio Link by bluetooth equipment Program.After speech recognition request is sent to default voice service program, the default voice service program can be activated, so as to Default voice service program can provide voice service for bluetooth equipment.
It is understood that the present embodiment as a example by playing alert tones, can also realize chain when user triggers speech recognition Playing alert tones before road is set up or during link establishment, wherein, it is different according to the link for transmitting speech data to be identified, The link can specifically refer to privately owned Radio Link or both SCO link.
S53:The speech data to be identified that bluetooth equipment collection user is produced after the prompt tone is heard.
User is after the prompt tone that bluetooth equipment is played is heard, it may be said that words, the voice that bluetooth equipment is said to user are carried out Record, so as to collect speech data to be identified.For example, bluetooth equipment gathers to be identified by audio frequency interactive maintenance module Speech data.
Optionally, after privately owned Radio Link disconnects, privately owned Radio Link can be re-established, and by bluetooth equipment Locally located caching is cached to the speech data before the reconstruction of privately owned Radio Link.
For example, when privately owned voice frequency link is disconnected because of various reasons, the bottom (DSP process layers) in bluetooth equipment side adds Enter caching so that speech data of the user before privately owned voice frequency link does not set up locally is preserved by bluetooth equipment, treats privately owned audio frequency All data are passed to into mobile phone terminal quickly with asynchronous transmission after link establishment.
S54:Speech data to be identified is sent to default voice service program by privately owned Radio Link by bluetooth equipment.
For example, speech data to be identified is sent to default voice service especially by privately owned voice frequency link by bluetooth equipment Program.
S55:Scene information is sent to default voice service program by privately owned Radio Link by bluetooth equipment.
Can be dispatched from the factory in bluetooth equipment the corresponding scene information of configuration, and scene information for example shows:Bluetooth equipment is vehicle-mounted Bluetooth equipment, or belong to the bluetooth equipment of smart home etc..Therefore, bluetooth equipment can be with according to the configuration information that dispatches from the factory of itself Obtain scene information.It is, of course, understood that sensor can also be arranged in bluetooth equipment, bluetooth is set by sensor Standby surrounding environment is detected, so as to obtain scene information.
After scene information is obtained, scene information can be sent to default by bluetooth equipment especially by privately owned control link Voice service program.
S56:When bluetooth equipment knows that user terminates voice input operation, by privately owned Radio Link to speech recognition program Send user speech END instruction.
Wherein, by button interactive maintenance module, bluetooth equipment can know that user terminates voice input operation.For example, it is blue Man-machine interaction of the tooth equipment using intercom pattern, user, can be by pressing pre-set button after speech recognition is proceeded by After speak, bluetooth equipment is transferred to voice service program after recording to the voice of user, when user unclamps the pre-set button Afterwards, then it represents that user terminates phonetic entry, then user can be known when bluetooth equipment is detected after user unclamps the pre-set button Terminate voice input operation.
Bluetooth equipment, can be especially by the default language of privately owned Quality Initiative road direction when knowing that user terminates voice input operation Sound service routine sends user speech END instruction.
S57:Default voice service program starts to speech data to be identified after user speech END instruction is received Speech recognition is carried out, and feedback information is obtained according to the result and scene information of identification.
Equivalent to the mode of speech terminals detection, the voice service program in the present embodiment can know faster start into Row speech recognition, so as to accelerate speech recognition speed.
Voice service program can obtain lteral data corresponding with speech data after speech recognition, afterwards can be with root Voice service process is carried out according to lteral data, scene information, corresponding feedback information is obtained.
For example, scene information shows that bluetooth equipment is vehicle-mounted Bluetooth equipment, and feedback information can specifically obtain voice number According to related traffic route etc..
Voice service customization is a primary demand of smart machine differentiation design.Easy to understand, one is loaded into In-car car handsfree bluetooth equipment, the user instruction for being faced will be mainly related to navigation, route;And a fixation is put The Baffle Box of Bluetooth in parlor is placed in, the user instruction for being faced can be more likely to play music.Equally it is route guidance, a chassis Carrying bluetooth handsfree can be with default query traffic route after user's query is connected to, and bluetooth earphone then needs to judge the intention of user It is walking, takes public transport and still drive.These are required for voice service to customize.
Wherein, voice service program is preset when voice service is provided, can be determined according to the scene information for receiving corresponding Application scenarios, obtain corresponding service layer's information further according to application scenarios, speech recognition carried out according to service layer's information afterwards, For example, obtain third party's map etc..
S58:Feedback information is sent to bluetooth equipment by privately owned Radio Link by default voice service program.
S59:Bluetooth equipment is played to user by man-machine interaction layer or shows feedback information.
For example, when feedback information is voice broadcast, can be played out to user by audio frequency interactive maintenance module, or Person, feedback information are the information such as route map, can be shown by showing that interactive maintenance module carries out LED.
It is understood that in the present embodiment, speech recognition request, scene information, user speech END instruction can have As a example by body is transmitted in privately owned control link, speech data to be identified specifically can be transmitted in privately owned voice frequency link, or, Above-mentioned each information is transmitted all in the privately owned Radio Link of same.In addition, speech recognition request, scene information, user speech knot When Shu Zhiling is transmitted in privately owned control link, can transmit or in different privately owned controls in the privately owned control link of identical Transmit in link processed.
The present embodiment is by taking voice service as an example, in addition, in some embodiments, bluetooth equipment can also be by privately owned radio chains Internet of Things control information is transmitted on road, to set up the Internet of Things between bluetooth equipment and default voice service program or bluetooth equipment Net, wherein, Internet of Things control information can be acquired by the sensor interactive module of bluetooth equipment.In addition, some enforcements In example, by authentication and the process of device management module, software can be upgraded, deepen intelligence degree.
In addition, bluetooth equipment is after speech data is collected, can be then forwarded to preset after first carrying out Speech processing Voice service program, presets voice service program after speech data is received, it is also possible to first carry out after Speech processing again Carry out speech recognition.Speech processing such as de-noising, signal enhancing etc..
In the present embodiment, by setting up the privately owned Radio Link between bluetooth equipment and default voice service program, can be with Ensure that speech recognition request is sent to default voice service program, realize tying up for voice service and default voice service program It is fixed, be conducive to default voice service program, bluetooth equipment and user.In addition, scene information is sent to by bluetooth equipment Default voice service program, it is possible to achieve speech-recognition services are customized.By knowing that user triggers voice and knows in bluetooth equipment When other, in the local playing alert tones of bluetooth equipment, user can be reduced and speech recognition is triggered to the time delay heard between prompt tone, So as to accelerate speech recognition speed, Consumer's Experience is lifted.Further, user is sent to voice service program by bluetooth equipment Voice END instruction, can cause voice service program quickly to proceed by speech recognition, further speed up speech recognition speed Degree.
Fig. 6 is that the voice service connected based on bluetooth equipment that another embodiment of the present invention is proposed realizes that the structure of device is shown It is intended to, the device is may be located on gateway device, and the device 60 includes:
Link block 61, is connected for setting up link layer with bluetooth equipment, and the link layer connection includes:Privately owned radio chains Road and bluetooth standard link;
For example, privately owned Radio Link can be divided into:Privately owned control link and privately owned voice frequency link, bluetooth standard link can be with It is divided into:Synchronously towards connection (Synchronous Connection Oriented, SCO) link and the bluetooth sound of broadcasting music Keep pouring in defeated model agreement (Advanced Audio Distribution Profile, A2DP) link.
Wherein, privately owned control link is used to transmit the control instruction between bluetooth equipment and voice service program, privately owned sound Frequency link is used to transmit speech data to be identified and the corresponding speech recognition between bluetooth equipment and voice service program As a result.Both SCO link is used to transmit speech data to be identified and corresponding voice identification result, and A2DP links are used to transmit sound Happy voice data.
It is understood that privately owned Radio Link can also not differentiated between, control instruction and speech data can also all same Transmit in one privately owned Radio Link.In addition, when privately owned control link is distinguished, can be private in same with different control instructions Transmit in having control link, it is also possible to which different control instructions is transmitted in different privately owned control links.
In the case of privately owned Radio Link as implied above and bluetooth standard link, as shown in Fig. 2 gateway device is (such as Mobile phone) protocol frame include:Link layer, link layer can be specifically included:Privately owned control link module, privately owned voice frequency link mould Block, both SCO link module and A2DP link modules.
Wherein, privately owned control link module be used for the default voice service program set up on bluetooth equipment and gateway device it Between privately owned control link, privately owned control link be used for transmit the control interacted between bluetooth equipment and default voice service program Instruction.Control instruction for example includes:Voice frequency link is set up and customizes information, Internet of Things with the instruction in control process, speech recognition Net sensing data etc..RFCOMM or SPP connection of the privately owned control link using similar serial communication, it can be ensured that bluetooth equipment is only With default voice service program interaction, without being kidnapped by other application program.
Privately owned voice frequency link module is used between the default voice service program set up on bluetooth equipment and gateway device Privately owned voice frequency link, privately owned voice frequency link are used for the voice data interacted between bluetooth equipment and default voice service program.Sound Frequency evidence for example includes:Speech data to be identified and corresponding voice identification result, so as to realize audio frequency uplink/downlink number According to transmission.RFCOMM or SPP connection of the link using similar serial communication.
In addition, privately owned voice frequency link can use the asynchronous mode for having error retransmission mechanism.Using on privately owned async link Phonetic order (arriving gateway) is passed, compared with the SCO voice frequency links in bluetooth standard based on synchronous transfer, in jitter, is lost The stable transmission of voice can be exchanged for by more error number of retransmissions when wrapping frequent, be conducive to improving phonetic recognization rate. Using voice broadcast (to Bluetooth terminal equipment) is passed under privately owned async link, with music A2DP/AVRCP in bluetooth standard Agreement is compared, and reduces the coupling between agreement, has more preferable compatibility in actual applications, can be avoided at AVRCP instructions The music false triggering that reason was not brought at that time.Simultaneously as privately owned voice frequency link can and be deposited with both SCO link so that we are beating During phone, (in incoming call vibration, call, to outcall fair state) can also carry out speech recognition and report, so as to extended voice The application scenarios of service.
Both SCO link module is used to set up both SCO link, and both SCO link also may be used generally as wireless audio link when making a phone call For the transmission of uplink/downlink speech data in voice service.Both SCO link can be realized using bluetooth standard audio protocols.
A2DP link modules are used to set up A2DP links, and A2DP links are pushed away to Bluetooth terminal generally as gateway when listening music The wireless audio link of one-way audio stream is sent, also can be used for the transmission of downstream voice data in voice service.A2DP links can be with Realized using bluetooth standard audio protocols.
Transport module 62, for connecting by the link layer, receives the information that bluetooth equipment sends, described information bag Include:Voice service information, and/or, Internet of Things control information;
Wherein, voice service information includes:Speech data to be identified, and/or, the scene information belonging to bluetooth equipment.
Speech data to be identified can pass through privately owned Radio Link or both SCO link transmission, scene information and Internet of Things Control information can be by privately owned transmission of radio links.
Scene information is not related in bluetooth standard audio protocols, therefore speech customization cannot be realized.
And speech customization can be realized by scene information in the present embodiment.It is that smart machine is poor that voice service is customized One primary demand of alienation design.It is easy to understand, a car handsfree bluetooth equipment for being loaded into in-car, the user for being faced Instruction will be mainly related to navigation, route;And a fixed placement is in the Baffle Box of Bluetooth in parlor, the user instruction for being faced Can be more likely to play music.Equally it is route guidance, a vehicle Bluetooth hand-free system can be given tacit consent to after user's query is connected to Inquiry traffic route, and bluetooth earphone then needs to judge the walking that is intended that of user, takes public transport and still drives.These are all Voice service is needed to customize.
In addition, Internet of Things in bluetooth standard audio protocols, is not supported, and the present embodiment is after privately owned Radio Link is set up, can With by privately owned transmission of radio links Internet of Things control information, so as to set up bluetooth equipment with default voice service program and indigo plant Internet of Things between tooth equipment.
In some embodiments, when the information for receiving is voice service information, the voice service information includes:Voice is known The speech data for not inviting summation to be identified, the bluetooth standard link include:Both SCO link, the transport module 62 specifically for:
When the voice service information is speech recognition request, by the privately owned Radio Link, bluetooth equipment is received The speech recognition request of transmission;
When the voice service information is speech data to be identified, by the privately owned Radio Link or SCO chains Road, receives the speech data to be identified that bluetooth equipment sends.
Processing module 63, for carrying out data Layer, service layer and application layer process to described information, the letter after being processed Breath.
Wherein, data Layer process can be including at least one in following item:
Audio frequency flow management, Speech processing, voice recognition information management, Internet of Things network information management, service discovery, authentication With equipment control.
Accordingly, referring to Fig. 2, the protocol frame of gateway side also includes:Data Layer, data Layer include:Audio frequency flow management mould Block, voice signal processing module, voice recognition information management module, Internet of Things information management module, service discovery module, authentication With device management module.
Audio frequency stream management module is used for audio frequency flow management, and responsible function has:Voice data to sending out, receive is encoded, is solved Code operation, manages each voice frequency link, provides unified COBBAIF to upper strata, selects when upper strata is called, sets up, maintaining to close Suitable voice frequency link.
Voice signal processing module is used for Speech processing, is responsible for carrying out various pretreatments to speech data to be identified Operation, such as echo cancellor, self adaptation volume are controlled, vehicle-mounted noise is eliminated, wind is made an uproar elimination, Microphone Array Speech enhancing etc..
Voice recognition information management module for voice recognition information manage, be responsible for collect and manage Bluetooth terminal equipment and Various scene informations in user behavior, as the input information of the service customizationizations such as speech recognition, voice broadcast process.
Internet of Things information management module is used for Internet of Things network information management, is responsible for collecting and managing each on Bluetooth terminal equipment Plant the Internet of Things such as sensor, controller control relevant information.These information are by the privately owned control of link layer/data link transmission To upper strata, Jing after this resume module, report to application layer (gateway side) and man-machine interaction layer (Bluetooth terminal side).
Service discovery module is used for service discovery, the interaction flow and corresponding data of a set of service discovery of this module definition Form, for discovering device ability each other between different Bluetooth terminal equipment, gateway program, and the expansion for doing backward compatibility Exhibition.
Authentication is used for authentication and equipment control, a set of method for authenticating of this module definition, for true with device management module Recognize the legitimacy of the Bluetooth terminal equipment/gateway device of access service.Meanwhile, this module is responsible for being managed equipment, such as sets Standby online upgrading, online equipment statistical analysis etc..
Service layer processes at least one included in following item:
Information is obtained from voice technology platform, information is obtained by third party's service interface.
Application layer process includes:Applied field is determined by the scene information that privately owned Radio Link sends according to bluetooth equipment Scape.
For example, with reference to Fig. 2, the protocol frame of gateway side also includes:Service layer and application layer, service layer include:Voice skill Art platform and third party's service interface.Application layer includes multiple application scenarios.Voice technology platform is provided needed for voice service Every technology, including but not limited to speech recognition, semantic understanding, phonetic synthesis, depth question and answer, Application on Voiceprint Recognition etc..Third party takes Business interface is used to provide in various scenes, the various non-voice class basic technology services needed for user.Such as, in scene of asking the way, User needs to use map, navigation type services;In song scene is listened, user needs music service etc..Application scenarios are based on use A series of services of family demand, the set of interaction.The function of gateway side program is to be made up of multiple application scenarios.Cutting Different application scenarios set, that is, obtained the realization of different gateway side programs, it is achieved thereby that the customization of service.
Feedback module 64, for by the information after the process by the link layer linkup transmit to bluetooth equipment, with Respective service is provided to bluetooth equipment.
For example, after default voice service program is processed to voice service information, such as according to speech data " Beijing day After Beijing weather condition today that gas " is obtained, Beijing weather condition today can be set to bluetooth by link layer linkup transmit It is standby, to provide voice service to bluetooth equipment.Or,
For example, after default voice service program is processed to Internet of Things control information, result is passed through into link layer Linkup transmit to bluetooth equipment, to provide Internet of Things service to bluetooth equipment.
In some embodiments, referring to Fig. 7, the device also includes:
Sound identification module 65, the user speech for bluetooth equipment transmission is received by the privately owned Radio Link are terminated Instruction, the user speech END instruction is that bluetooth equipment knows that user is sent after terminating voice input operation;Receiving After the user speech END instruction, speech recognition is proceeded by speech data to be identified.
Equivalent to the mode of speech terminals detection, the voice service program in the present embodiment can know faster start into Row speech recognition, so as to accelerate speech recognition speed.
Fig. 8 is that the voice service connected based on bluetooth equipment that another embodiment of the present invention is proposed realizes that the structure of device is shown It is intended to, the device is may be located on bluetooth equipment, and the device 80 includes:
Link block 81, is connected for setting up link layer with the default voice service program on gateway device, the link Layer connection includes:Privately owned Radio Link and bluetooth standard link;
For example, privately owned Radio Link can be divided into:Privately owned control link and privately owned voice frequency link, bluetooth standard link can be with It is divided into:Synchronously towards connection (Synchronous Connection Oriented, SCO) link and the bluetooth sound of broadcasting music Keep pouring in defeated model agreement (Advanced Audio Distribution Profile, A2DP) link.
Wherein, privately owned control link is used to transmit the control instruction between bluetooth equipment and voice service program, privately owned sound Frequency link is used to transmit speech data to be identified and the corresponding speech recognition between bluetooth equipment and voice service program As a result.Both SCO link is used to transmit speech data to be identified and corresponding voice identification result, and A2DP links are used to transmit sound Happy voice data.
It is understood that privately owned Radio Link can also not differentiated between, control instruction and speech data can also all same Transmit in one privately owned Radio Link.In addition, when privately owned control link is distinguished, can be private in same with different control instructions Transmit in having control link, it is also possible to which different control instructions is transmitted in different privately owned control links.
In the case of privately owned Radio Link as implied above and bluetooth standard link, as shown in figure 4, the association of bluetooth equipment View framework includes:Link layer, link layer can be specifically included:Privately owned control link module, privately owned voice frequency link module, SCO chains Road module and A2DP link modules.
Wherein, the link layer of bluetooth equipment and the link layer of gateway device are consistent, and the concrete function of each module of link layer can With the associated description referring to gateway side.
Processing module 82, for carrying out data Layer process to the information for gathering, obtains information to be sent, described to send Information include:Voice service information, and/or, Internet of Things control information;
Wherein, voice service information includes:Speech data to be identified, and/or, the scene information belonging to bluetooth equipment.
Speech data to be identified can pass through privately owned Radio Link or both SCO link transmission, scene information and Internet of Things Control information can be by privately owned transmission of radio links.
Scene information is not related in bluetooth standard audio protocols, therefore speech customization cannot be realized.
And speech customization can be realized by scene information in the present embodiment.It is that smart machine is poor that voice service is customized One primary demand of alienation design.It is easy to understand, a car handsfree bluetooth equipment for being loaded into in-car, the user for being faced Instruction will be mainly related to navigation, route;And a fixed placement is in the Baffle Box of Bluetooth in parlor, the user instruction for being faced Can be more likely to play music.Equally it is route guidance, a vehicle Bluetooth hand-free system can be given tacit consent to after user's query is connected to Inquiry traffic route, and bluetooth earphone then needs to judge the walking that is intended that of user, takes public transport and still drives.These are all Voice service is needed to customize.
In addition, Internet of Things in bluetooth standard audio protocols, is not supported, and the present embodiment is after privately owned Radio Link is set up, can With by privately owned transmission of radio links Internet of Things control information, so as to set up bluetooth equipment with default voice service program and indigo plant Internet of Things between tooth equipment.
Wherein, data Layer process can be including at least one in following item:
Audio frequency flow management, Speech processing, voice recognition information management, Internet of Things network information management, service discovery, authentication With equipment control.
Accordingly, referring to Fig. 4, the protocol frame of bluetooth equipment also includes:Data Layer, data Layer include:Audio frequency flow management Module, voice signal processing module, voice recognition information management module, Internet of Things information management module, service discovery module, mirror Power and device management module.
Wherein, the link layer of bluetooth equipment and the data Layer of gateway device are consistent, and the concrete function of each module of data Layer can With the associated description referring to gateway side.
In some embodiments, referring to Fig. 9, the device 80 also includes:
Acquisition module 85, for processing collection information by man-machine interaction layer, the man-machine interaction layer is processed including as follows At least one in:
Button interactive maintenance, display interactive maintenance, audio frequency interactive maintenance, sensor interactive maintenance.
For example, with reference to Fig. 4, bluetooth equipment also includes:Man-machine interaction layer, man-machine interaction layer include:Button interactive maintenance mould Block, display interactive maintenance module, audio frequency interactive maintenance module, sensor interactive maintenance module.For example, button interactive maintenance module The operation that user is produced by button is known for bluetooth equipment, for example, user's triggering speech recognition, user terminate phonetic entry Deng.Interactive maintenance module is shown for result being displayed to the user that by display, for example, by LED by voice identification result Route map is shown to user.Audio frequency interactive maintenance module is interacted for carrying out audio frequency with user, for example, knows that user adopts audio frequency The information that mode is input into, for example, the speech data to be identified of user speech input, or, to user's playing alert tones, or Person, plays voice identification result to user.Sensor interactive maintenance module is used to obtain sensor information, and sensor information is for example Including Internet of Things control information, so as to set up Internet of Things between bluetooth equipment and voice service program or bluetooth equipment.
Transport module 83, for being connected by the link layer, is sent information to be sent to voice service program, and is led to The link layer connection is crossed, the feedback information that default voice service program sends is received, the feedback information is the default language The information that sound service routine is obtained after processing to the information to be sent.
After bluetooth equipment gets information, can be by link layer linkup transmit to default voice service program.For example, lead to Cross privately owned Radio Link and send speech data, scene information, Internet of Things control information, or, speech data can also pass through SCO Link sends.
In addition, default voice service program is after the information for receiving bluetooth equipment transmission, the information for receiving can be entered The process of row data Layer, and bluetooth equipment is retransmited back by link layer connection using result as feedback information.Default voice Service routine for example carries out voice recognition processing or Internet of Things control process etc., and particular content may refer to an embodiment, Will not be described here.
Human-computer interaction module 84, for by the man-machine interaction layer of bluetooth equipment, the feedback information being fed back to user.
For example, after bluetooth equipment receives the feedback information that default voice service program sends, can be according to feedback information Classification using corresponding interactive mode to user feedback, for example, the feedback information that bluetooth equipment is received is navigation way figure, then Navigation way figure can be shown by LED forms by bluetooth equipment through the process of the display interactive maintenance module of man-machine interaction layer Show to user, or, the feedback information that bluetooth equipment is received is voice broadcast, then bluetooth equipment can be through man-machine interaction layer Voice broadcast is played to user by speech form by the process of audio frequency interactive maintenance module.
In some embodiments, when information is voice service information, the voice service information includes:Speech recognition request With speech data to be identified, the bluetooth standard link includes:Both SCO link, the transport module 83 specifically for:
When the voice service information is speech recognition request, by the privately owned Radio Link, to voice service journey Sequence sends speech recognition request;
When the voice service information is speech data to be identified, by the privately owned Radio Link or SCO chains Road, sends speech data to be identified to voice service program.
In some embodiments, referring to Fig. 9, the device 80 also includes:
Playing module 86, for know user triggering speech recognition when, or, setting up link layer connection before or build In vertical link layer connection procedure, in the local playing alert tones of bluetooth equipment, so that user after the prompt tone is heard starts to say Words.
For example, the button of triggering speech recognition is provided with bluetooth equipment, when bluetooth equipment receives user to the button Pressing instruction after, know user triggering speech recognition.
In some embodiments, referring to Fig. 9, the device 80 also includes:
Sending module 87, for, after knowing that user terminates phonetic entry, being taken to voice by the privately owned Radio Link Business program sends user speech END instruction.
For example, bluetooth equipment using intercom pattern man-machine interaction, user after speech recognition is proceeded by, Ke Yitong Cross and speak after pressing pre-set button, bluetooth equipment is transferred to voice service program after recording to the voice of user, work as user After unclamping the pre-set button, then it represents that user terminates phonetic entry, then the pre-set button is unclamped when bluetooth equipment detects user After can know that user terminates voice input operation.
Bluetooth equipment, can be especially by the default language of privately owned Quality Initiative road direction when knowing that user terminates voice input operation Sound service routine sends user speech END instruction.
In the present embodiment, by setting up privately owned Radio Link, it is possible to achieve bluetooth equipment and specific language on gateway device Sound service routine is interacted, and binds bluetooth equipment and specific voice service program, so as to specific voice service program can be The bluetooth equipment of binding provides voice service, realizes the intellectuality of bluetooth equipment.In addition, working as voice service program and bluetooth equipment During interaction Internet of Things control information, the thing between voice service program and bluetooth equipment or between bluetooth equipment can also be realized Networking.
Figure 10 is the structural representation that system is realized based on the voice service of bluetooth connection that another embodiment of the present invention is proposed Figure, the system include:Device 101 on bluetooth equipment and the device on gateway device 102, on bluetooth equipment Device 101 can as is seen in fig. 6 or fig. 7, the device 102 on gateway device can be as shown in Fig. 8 or Fig. 9.
In the present embodiment, by setting up privately owned Radio Link, it is possible to achieve bluetooth equipment and specific language on gateway device Sound service routine is interacted, and binds bluetooth equipment and specific voice service program, so as to specific voice service program can be The bluetooth equipment of binding provides voice service, realizes the intellectuality of bluetooth equipment.In addition, working as voice service program and bluetooth equipment During interaction Internet of Things control information, the thing between voice service program and bluetooth equipment or between bluetooth equipment can also be realized Networking.
It should be noted that in describing the invention, term " first ", " second " etc. are not only used for describing purpose, and not It is understood that to indicate or implying relative importance.Additionally, in describing the invention, unless otherwise stated, the implication of " multiple " Refer at least two.
In flow chart or here any process described otherwise above or method description are construed as, expression includes It is one or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein the suitable of shown or discussion can not be pressed Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, the software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realizing.For example, if realized with hardware, and in another embodiment, can be with well known in the art Any one of row technology or their combination are realizing:With for the logic gates of logic function is realized to data-signal Discrete logic, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method is carried Suddenly the hardware that can be by program to instruct correlation is completed, and described program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the invention can be integrated in a processing module, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a module.Above-mentioned integrated mould Block both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.The integrated module is such as Fruit using in the form of software function module realize and as independent production marketing or use when, it is also possible to be stored in a computer In read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show Example ", or the description of " some examples " etc. mean specific features with reference to the embodiment or example description, structure, material or spy Point is contained at least one embodiment or example of the present invention.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example are referred to necessarily.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (14)

1. a kind of voice service implementation method based on bluetooth connection, it is characterised in that include:
Link layer is set up with bluetooth equipment to be connected, the link layer connection includes:Privately owned Radio Link and bluetooth standard link;
Connected by the link layer, receive the information that bluetooth equipment sends, described information includes:Voice service information, and/ Or, Internet of Things control information;
Data Layer, service layer and application layer process are carried out to described information, the information after being processed;
By the information after the process by the link layer linkup transmit to bluetooth equipment, to provide corresponding clothes to bluetooth equipment Business;
Wherein, application layer process includes:Applied field is determined by the scene information that privately owned Radio Link sends according to bluetooth equipment Scape.
2. method according to claim 1, it is characterised in that data Layer process includes at least one in following item:
Audio frequency flow management, Speech processing, voice recognition information management, Internet of Things network information management, service discovery, authenticate and set Standby management.
3. method according to claim 1, it is characterised in that service layer processes at least one included in following item:
Information is obtained from voice technology platform, information is obtained by third party's service interface.
4. the method according to any one of claim 1-3, it is characterised in that when the information for receiving is voice service information When, the voice service information includes:Speech recognition request and speech data to be identified, the bluetooth standard link include: It is towards synchronized links both SCO link, described to be connected by the link layer, the information that bluetooth equipment sends is received, including:
When the voice service information is speech recognition request, by the privately owned Radio Link, receive bluetooth equipment and send Speech recognition request;
When the voice service information is speech data to be identified, by the privately owned Radio Link or both SCO link, connect Receive the speech data to be identified that bluetooth equipment sends.
5. method according to claim 4, it is characterised in that also include:
The user speech END instruction that bluetooth equipment sends is received by the privately owned Radio Link, the user speech terminates to refer to Order is that bluetooth equipment knows that user is sent after terminating voice input operation;
After the user speech END instruction is received, speech recognition is proceeded by speech data to be identified.
6. a kind of voice service implementation method based on bluetooth connection, it is characterised in that include:
Link layer is set up with the default voice service program on gateway device to be connected, the link layer connection includes:It is privately owned wireless Link and bluetooth standard link;
Information to gathering carries out data Layer process, obtains information to be sent, and the information to be sent includes:Voice service Information, and/or, Internet of Things control information;
Connected by the link layer, information to be sent is sent to default voice service program, and connected by the link layer Connect, receive the feedback information that default voice service program sends, the feedback information is the default voice service program to institute State the information obtained after information to be sent is processed;
By the man-machine interaction layer of bluetooth equipment, the feedback information is fed back to into user;
Wherein, the voice service information includes:Scene information belonging to bluetooth equipment.
7. method according to claim 6, it is characterised in that the data Layer processes at least included in following item :
Audio frequency flow management, Speech processing, voice recognition information management, Internet of Things network information management, service discovery, authenticate and set Standby management.
8. method according to claim 6, it is characterised in that also include:
Collection information is processed by man-machine interaction layer, the man-machine interaction layer processes at least one included in following item:
Button interactive maintenance, display interactive maintenance, audio frequency interactive maintenance, sensor interactive maintenance.
9. the method according to any one of claim 6-8, it is characterised in that when information is voice service information, described Voice service information includes:Speech recognition request and speech data to be identified, the bluetooth standard link include:Both SCO link, Connected by the link layer, information to be sent is sent to default voice service program, including:
When the voice service information is speech recognition request, by the privately owned Radio Link, send out to voice service program Sending voice identification request;
When the voice service information is speech data to be identified, by the privately owned Radio Link or both SCO link, to Voice service program sends speech data to be identified.
10. method according to claim 9, it is characterised in that also include:
Know user triggering speech recognition when, or, set up link layer connection before or set up in link layer connection procedure, In the local playing alert tones of bluetooth equipment, so that user starts speech after the prompt tone is heard.
11. methods according to claim 9, it is characterised in that also include:
After knowing that user terminates phonetic entry, user's language is sent to default voice service program by the privately owned Radio Link Sound END instruction.
Device is realized in a kind of 12. voice services based on bluetooth connection, it is characterised in that included:
Link block, is connected for setting up link layer with bluetooth equipment, and the link layer connection includes:Privately owned Radio Link and indigo plant Tooth standard link;
Transport module, for connecting by the link layer, receives the information that bluetooth equipment sends, and described information includes:Voice Information on services, and/or, Internet of Things control information;
Processing module, for carrying out data Layer, service layer and application layer process to described information, the information after being processed;
Feedback module, for by the information after the process by the link layer linkup transmit to bluetooth equipment, with to bluetooth Equipment provides respective service;
Wherein, application layer process includes:Applied field is determined by the scene information that privately owned Radio Link sends according to bluetooth equipment Scape.
Device is realized in a kind of 13. voice services based on bluetooth connection, it is characterised in that included:
Link block, is connected for setting up link layer with the default voice service program on gateway device, the link layer connection Including:Privately owned Radio Link and bluetooth standard link;
Processing module, for carrying out data Layer process to the information for gathering, obtains information to be sent, the information to be sent Including:Voice service information, and/or, Internet of Things control information;
Transport module, for being connected by the link layer, is sent information to be sent to default voice service program, and is passed through The link layer connection, receives the feedback information that default voice service program sends, and the feedback information is the default voice The information that service routine is obtained after processing to the information to be sent;
Human-computer interaction module, for by the man-machine interaction layer of bluetooth equipment, the feedback information being fed back to user;
Wherein, the voice service information includes:Scene information belonging to bluetooth equipment.
System is realized in a kind of 14. voice services based on bluetooth connection, it is characterised in that included:
Device as claimed in claim 12;And,
Device as claimed in claim 13.
CN201510528318.1A 2015-08-25 2015-08-25 Voice service implementation method and apparatus and system based on bluetooth connection Active CN105050034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510528318.1A CN105050034B (en) 2015-08-25 2015-08-25 Voice service implementation method and apparatus and system based on bluetooth connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510528318.1A CN105050034B (en) 2015-08-25 2015-08-25 Voice service implementation method and apparatus and system based on bluetooth connection

Publications (2)

Publication Number Publication Date
CN105050034A CN105050034A (en) 2015-11-11
CN105050034B true CN105050034B (en) 2017-04-05

Family

ID=54456138

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510528318.1A Active CN105050034B (en) 2015-08-25 2015-08-25 Voice service implementation method and apparatus and system based on bluetooth connection

Country Status (1)

Country Link
CN (1) CN105050034B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407225A (en) * 2015-11-27 2016-03-16 青岛海信信芯科技有限公司 Data transmission method and Bluetooth equipment
CN106604208A (en) * 2016-12-06 2017-04-26 深圳市京华信息技术有限公司 Method and system for automatically starting application program and conducting voice interaction
CN106792466B (en) * 2016-12-26 2020-10-09 歌尔科技有限公司 Method for communication between equipment end and host end
CN110971744B (en) * 2018-09-28 2022-09-23 深圳市冠旭电子股份有限公司 Method and device for controlling voice playing of Bluetooth sound box
CN111083678B (en) * 2018-10-22 2021-08-06 深圳市冠旭电子股份有限公司 Playing control method and system of Bluetooth sound box and intelligent device
CN109936840B (en) * 2019-01-02 2023-01-03 百度在线网络技术(北京)有限公司 Communication method and device and electronic equipment
CN110166890B (en) 2019-01-30 2022-05-31 腾讯科技(深圳)有限公司 Audio playing and collecting method and device and storage medium
CN110010139B (en) * 2019-03-28 2021-12-21 南昌黑鲨科技有限公司 Audio input/output method, system and computer readable storage medium
CN111899730A (en) * 2019-05-06 2020-11-06 深圳市冠旭电子股份有限公司 Voice control method, device and computer readable storage medium
CN110189753B (en) * 2019-05-28 2022-01-28 北京百度网讯科技有限公司 Bluetooth sound box and control method, system and storage medium thereof
CN110177363B (en) * 2019-05-28 2022-04-26 百度在线网络技术(北京)有限公司 Bluetooth data transmission method and device, Bluetooth chip and storage medium
CN110278205B (en) * 2019-06-19 2021-05-28 百度在线网络技术(北京)有限公司 Bluetooth sound box base and control method and system thereof
CN110880949B (en) * 2019-11-21 2021-11-16 智车(上海)实业有限公司 Bluetooth communication method, device and system
CN111818493B (en) * 2020-05-21 2023-11-07 上海橙群微电子有限公司 Data transmission method, wireless network system, node, and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7242677B2 (en) * 2003-05-09 2007-07-10 Institute For Information Industry Link method capable of establishing link between two bluetooth devices located in a bluetooth scatternet
CN101471109B (en) * 2007-12-24 2011-05-25 中兴通讯股份有限公司 Method for controlling Bluetooth media play list
US8145264B1 (en) * 2008-04-30 2012-03-27 Qualcomm Atheros, Inc. Method and system for message transmission and reception
EP2787790B1 (en) * 2012-11-16 2017-07-26 Huawei Device Co., Ltd. Method, mobile terminal and system for establishing bluetooth connection
CN103592934B (en) * 2013-11-08 2016-08-24 深圳市道通科技股份有限公司 A kind of methods, devices and systems realizing vehicle diagnosis

Also Published As

Publication number Publication date
CN105050034A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105050034B (en) Voice service implementation method and apparatus and system based on bluetooth connection
CN102340599B (en) Processing method for call of terminal, terminal and processing system
CN105580389B (en) hearing aid with classifier
CN105161111B (en) Audio recognition method and device based on bluetooth connection
CN101272304B (en) Garage door opener communications gateway module
CN101965689B (en) Headset as hub in remote control system
CN101494474B (en) Method and terminal equipment for automatic connection of Bluetooth vehicle-mounted hands-free equipment
US7890147B2 (en) Portable terminal device
JP2012137777A (en) Method and apparatus for processing input speech signal during presentation of output audio signal
CN107992282A (en) Audio data processing method and device, computer installation and readable storage devices
CN108196821B (en) Hand free device with the identification of continuous keyword
JP2012108557A (en) Speech recognition technique based on local interrupt detection
CN104158944A (en) Low-cost interconnection system of mobile phone and vehicle machine
US20080032689A1 (en) Mobile phone and forwarding program
CN103986490B (en) The system and method that arbitration carries out the audio-source of streaming by Mobile solution
CN105161110B (en) Audio recognition method, device and system based on bluetooth connection
CN102461127A (en) Method and system for executing an internet radio application within a vehicle
CN104796846B (en) Control the short-distance radio connection between vehicle remote information process unit and interior audio system
CN107872799A (en) The ultrasonic audio transmission of WLAN information
CN110113728A (en) Audio data transmission method, vehicle device platform, vehicle device and readable storage medium storing program for executing
CN111199743A (en) Audio coding format determining method and device, storage medium and electronic equipment
CN105636041A (en) Networking method and apparatus for intelligent device
CN104769966B (en) Receiver unit
CN106851198A (en) Web camera operation method and web camera
JP2004312662A (en) Mobile terminal having function of outputting effect sound/background sound by using key button on communication

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