CN105302925A - Method and device for pushing voice search data - Google Patents
Method and device for pushing voice search data Download PDFInfo
- Publication number
- CN105302925A CN105302925A CN201510908950.9A CN201510908950A CN105302925A CN 105302925 A CN105302925 A CN 105302925A CN 201510908950 A CN201510908950 A CN 201510908950A CN 105302925 A CN105302925 A CN 105302925A
- Authority
- CN
- China
- Prior art keywords
- search data
- response
- server
- text message
- interim
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/632—Query formulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/68—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/683—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Multimedia (AREA)
- Mathematical Physics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method and device for pushing voice search data. The method comprises the specific steps of responding to a received voice recognition command, and obtaining a voice fragment with preset time duration as a cycle; responding to the obtained voice fragment, and uploading the voice fragment to a server; responding to a received text message fragment returned from the server, and presenting the text message fragment, wherein the text message fragment is obtained from the uploaded voice fragment recognized by the server; responding to received temporary search data returned from the server, and presenting the temporary search data, wherein the temporary search data are search data which are pushed to a user terminal by the server based on key words extracted from the text message fragment. By means of the method and device for pushing the voice search data, the text message fragment obtained in the recognition process is effectively utilized, and efficiency of pushing the search data to a user is improved.
Description
Technical field
The application relates to field of computer technology, is specifically related to Internet technical field, particularly relates to the method and apparatus pushing phonetic search data.
Background technology
In prior art, push the method for phonetic search data when pushing phonetic search data, the technology that speech recognition shows continuously on screen can be utilized, user is constantly had in phonetic entry process and identifies that text importing is on screen, to point out identification progress, after completing identification, screen shows full copy information and redirect search data page.
But, the method of phonetic search data is pushed in prior art, to identify that in phonetic entry process text importing is on screen, after completing identification, show full copy information on screen and redirect search data page, the efficiency pushing search data to user is lower.
Summary of the invention
The object of the application is the method and apparatus of the propelling movement phonetic search data proposing a kind of improvement, solves the technical matters that above background technology part is mentioned.
First aspect, this application provides a kind of method pushing phonetic search data, described method comprises: in response to receiving voice recognition instruction, is the cycle to obtain sound bite with predetermined time period; In response to getting described sound bite, upload described sound bite to server; In response to receiving the text message fragment returned from described server, present described text message fragment, wherein, described text message fragment obtains for sound bite described in described server identification; In response to receiving the interim search data returned from described server, present described interim search data, wherein, described interim search data is the search data that described server pushes to described user terminal based on the key word extracted from described text message fragment.
In certain embodiments, described method also comprises: in response to receiving the full copy information returned from described server, close presenting described text message fragment, present described full copy information, wherein, described full copy information is that the voice of described server identification user obtain, and the voice of described user are obtained according to described sound bite by described server; In response to receiving the complete search data returned from described server, close presenting described interim search data, present described complete search data, wherein, described complete search data are the search data that described server obtains based on described full copy information.
In certain embodiments, in response to receiving the interim search data returned from described server, present described interim search data in real time and comprise following any one: in response to receive from described server return play up after interim search data, interim search data after playing up described in presenting in real time, wherein, the interim search data after playing up described in is played up interim search data by described server obtain based on the template of playing up preset; And in response to receiving the interim search data returned from described server, playing up described interim search data based on the template of playing up preset, presenting the interim search data after playing up in real time.
In certain embodiments, described method also comprises: based on same identification strings, sets up the first communication connection respectively and second communication is connected with described server; Based on described first communication connection, upload the sound bite of described user, receive described text message fragment, receive described full copy information and receive described complete search data; Connect based on described second communication, receive described interim search data.
In certain embodiments, described method also comprises: close to described interim search data in current, disconnect described first communication connection and be connected with described second communication.
Second aspect, this application provides a kind of method pushing phonetic search data, described method comprises: in response to the sound bite received from user terminal uploads, identifies described sound bite, obtain text message fragment, send described text message fragment to described user terminal; In response to obtaining described text message fragment, extract the key word of described text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the search data preset that is associated with the key word preset in described index data base as interim search data, send described interim search data to described user terminal.
In certain embodiments, described method also comprises: the voice identifying the user obtained according to described sound bite, obtains full copy information, sends described full copy information to described user terminal; In response to obtaining described full copy information, based on described full copy information, obtaining complete search data, sending described complete search data to described user terminal.
In certain embodiments, describedly send described interim search data to described user terminal and comprise: based on described index data base, generate and play up template; Play up template based on described, play up described interim search data; The interim search data after playing up is sent to user terminal.
In certain embodiments, described method also comprises: to communicate to connect and described second communication is connected in response to setting up described first based on same identification strings and described user terminal, based on described first communication connection, receive the sound bite of described user, send described text message fragment, send complete text message and send complete search data, connect based on described second communication, send described interim search data.
In certain embodiments, described method also comprises: be associated with the search data preset by the key word preset in described index data base by following steps: obtain the historical data obtaining complete search data based on full copy information; Word segmentation processing is carried out to the full copy information in described historical data, will the word of keyword condition be met as the key word preset; Using the informative abstract of complete search data that obtains based on the full copy information in described historical data as the search data preset; Associate described default key word and described default search data.
The third aspect, this application provides a kind of method pushing phonetic search data, described method comprises: user terminal is in response to receiving voice recognition instruction, be the cycle obtain sound bite with predetermined time period, in response to getting described sound bite, upload described sound bite to server, in response to receiving the text message fragment returned from described server, present described text message fragment, in response to receiving the interim search data returned from described server, present described interim search data; Server is in response to the described sound bite of reception, identify described sound bite, obtain described text message fragment, described text message fragment is sent to described user terminal, in response to obtaining described text message fragment, extract the key word of described text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the search data preset that is associated with the key word preset in described index data base as interim search data, send described interim search data to described user terminal.
In certain embodiments, described method also comprises: user terminal is in response to receiving the full copy information returned from described server, close presenting described text message fragment, present described full copy information, in response to receiving the complete search data returned from described server, close presenting described interim search data, present described complete search data; The voice of the user that server identification obtains according to described sound bite, obtain described full copy information, described full copy information is sent to described user terminal, in response to obtaining described full copy information, based on described full copy information, obtain described complete search data, send described complete search data to described user terminal.
In certain embodiments, described in response to receiving the interim search data returned from described server, present described interim search data in real time to comprise: in response to receive from described server return play up after interim search data, the interim search data after playing up described in presenting in real time; And describedly send described interim search data to described user terminal and comprise: described server is based on described index data base, template is played up in generation, play up template based on described, play up described interim search data, send the interim search data after playing up to user terminal.
In certain embodiments, described in response to receiving the interim search data returned from described server, present described interim search data in real time to comprise: in response to receiving the interim search data returned from described server, play up described interim search data based on the template of playing up preset, present the interim search data after playing up in real time.
In certain embodiments, described method also comprises: described user terminal sets up the first communication connection based on same identification strings respectively with described server and second communication is connected, based on described first communication connection, upload the sound bite of described user, receive described text message fragment, receive described full copy information and receive described complete search data, connect based on described second communication, receive described interim search data; Described server to communicate to connect and described second communication is connected in response to setting up described first with described user terminal, based on described first communication connection, receive the sound bite of described user, send described text message fragment, send complete text message and send complete search data, connect based on described second communication, send described interim search data.
Fourth aspect, this application provides a kind of device pushing phonetic search data, described device comprises: acquisition module, in response to receiving voice recognition instruction, is the cycle obtain sound bite with predetermined time period; Upper transmission module, in response to getting described sound bite, uploads described sound bite to server; First presents module, in response to receiving the text message fragment returned from described server, presents described text message fragment, and wherein, described text message fragment obtains for sound bite described in described server identification; Second presents module, for in response to receiving the interim search data returned from described server, present described interim search data, wherein, described interim search data is the search data that described server pushes to described user terminal based on the key word extracted from described text message fragment.
In certain embodiments, described device also comprises: the 3rd presents module, for in response to receiving the full copy information returned from described server, close presenting described text message fragment, present described full copy information, wherein, described full copy information is that the voice of described server identification user obtain, and the voice of described user are obtained according to described sound bite by described server; 4th presents module, for in response to receiving the complete search data returned from described server, closing presenting described interim search data, presenting described complete search data, wherein, described complete search data are the search data that described server obtains based on described full copy information.
In certain embodiments, described second presents module is further used for processing following any one: in response to receive from described server return play up after interim search data, interim search data after playing up described in presenting in real time, wherein, the interim search data after playing up described in is played up interim search data by described server obtain based on the template of playing up preset; And in response to receiving the interim search data returned from described server, playing up described interim search data based on the template of playing up preset, presenting the interim search data after playing up in real time.
In certain embodiments, described device also comprises: first communication module, for based on same identification strings, sets up the first communication connection respectively and second communication is connected with described server; First transport module, for based on described first communication connection, uploads the sound bite of described user, receives described text message fragment, receive described full copy information and receive described complete search data; Second transport module, for connecting based on described second communication, receives described interim search data.
In certain embodiments, described device also comprises: disconnect module, for close to described interim search data in current, disconnect described first communication connection and be connected with described second communication.
5th aspect, this application provides a kind of device pushing phonetic search data, described device comprises: the first identification module, for in response to the sound bite received from user terminal uploads, identify described sound bite, obtain text message fragment, send described text message fragment to described user terminal; First sending module, for in response to obtaining described text message fragment, extract the key word of described text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the search data preset that is associated with the key word preset in described index data base as interim search data, send described interim search data to described user terminal.
In certain embodiments, described device also comprises: the second identification module, for identifying the voice of the user obtained according to described sound bite, obtains full copy information, sends described full copy information to described user terminal; Second sending module, in response to obtaining described full copy information, based on described full copy information, obtaining complete search data, sending described complete search data to described user terminal.
In certain embodiments, described first sending module is further used for based on described index data base, generates and plays up template; Play up template based on described, play up described interim search data; The interim search data after playing up is sent to user terminal.
In certain embodiments, described device also comprises: second communication module, for communicating to connect and described second communication is connected in response to setting up described first based on same identification strings and described user terminal, 3rd transport module, for communicating to connect based on described first, receive the sound bite of described user, send described text message fragment, send complete text message and send complete search data, 4th transport module, for connecting based on described second communication, send described interim search data.
In certain embodiments, described device also comprises: relating module, for being associated with the search data preset by the key word preset in described index data base by following steps: obtain the historical data obtaining complete search data based on full copy information; Word segmentation processing is carried out to the full copy information in described historical data, will the word of keyword condition be met as the key word preset; Using the informative abstract of complete search data that obtains based on the full copy information in described historical data as the search data preset; Associate described default key word and described default search data.
6th aspect, this application provides a kind of device pushing phonetic search data, described device comprises: user terminal, for in response to receiving voice recognition instruction, be the cycle obtain sound bite with predetermined time period, in response to getting described sound bite, upload described sound bite to server, in response to receiving the text message fragment returned from described server, present described text message fragment, in response to receiving the interim search data returned from described server, present described interim search data; Server, for in response to reception described sound bite, identify described sound bite, obtain described text message fragment, described text message fragment is sent to described user terminal, in response to obtaining described text message fragment, extract the key word of described text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the search data preset that is associated with the key word preset in described index data base as interim search data, send described interim search data to described user terminal.
In certain embodiments, described user terminal is further used in response to receiving the full copy information returned from described server, close presenting described text message fragment, present described full copy information, in response to receiving the complete search data returned from described server, close presenting described interim search data, present described complete search data; Described server is further used for the voice identifying the user obtained according to described sound bite, obtain described full copy information, described full copy information is sent to described user terminal, in response to obtaining described full copy information, based on described full copy information, obtain described complete search data, send described complete search data to described user terminal.
In certain embodiments, described user terminal be further used in response to receive from described server return play up after interim search data, the interim search data after playing up described in presenting in real time; And described server is further used for based on described index data base, generates and play up template, play up template based on described, play up described interim search data, send the interim search data after playing up to user terminal.
In certain embodiments, described user terminal is further used in response to receiving the interim search data returned from described server, plays up described interim search data, present the interim search data after playing up in real time based on the template of playing up preset.
In certain embodiments, described user terminal is further used for setting up the first communication connection based on same identification strings respectively with described server and second communication is connected, based on described first communication connection, upload the sound bite of described user, receive described text message fragment, receive described full copy information and receive described complete search data, connect based on described second communication, receive described interim search data; Described server is further used for communicating to connect and described second communication is connected in response to setting up described first with described user terminal, based on described first communication connection, receive the sound bite of described user, send described text message fragment, send complete text message and send complete search data, connect based on described second communication, send described interim search data.
The method and apparatus of the propelling movement phonetic search data that the application provides, by user terminal uploads sound bite to server, receive and present the text message fragment and interim search data that return from server, wherein, text message fragment is that the sound bite that server identification has been uploaded obtains, interim search data is the search data that server pushes to user terminal based on the key word extracted from text message fragment, thus effectively make use of the text message fragment obtained in identifying, improve the efficiency pushing search data to user, allow user can perceive search progress.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, the other features, objects and advantages of the application will become more obvious:
Fig. 1 is the exemplary system architecture figure that the application can be applied to wherein;
Fig. 2 is the process flow diagram of an embodiment of the method for the propelling movement phonetic search data according to the application being applied to system;
Fig. 3 is the schematic flow sheet of an application scenarios of the method for the propelling movement phonetic search data according to the application being applied to system;
Fig. 4 is the screenshotss effect schematic diagram of an application scenarios of the method for the propelling movement phonetic search data according to the application being applied to system;
Fig. 5 is the process flow diagram of an embodiment of the method for the propelling movement phonetic search data according to the application being applied to user terminal;
Fig. 6 is the process flow diagram of an embodiment of the method for the propelling movement phonetic search data according to the application being applied to server;
Fig. 7 is the structural representation of an embodiment of the device of the propelling movement phonetic search data according to the application being applied to system;
Fig. 8 is the structural representation of an embodiment of the device of the propelling movement phonetic search data according to the application being applied to user terminal;
Fig. 9 is the structural representation of an embodiment of the device of the propelling movement phonetic search data according to the application being applied to server;
Figure 10 is the structural representation of the computer system be suitable for for the terminal device or server realizing the embodiment of the present application.
Embodiment
Below in conjunction with drawings and Examples, the application is described in further detail.Be understandable that, specific embodiment described herein is only for explaining related invention, but not the restriction to this invention.It also should be noted that, for convenience of description, in accompanying drawing, illustrate only the part relevant to Invention.
It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.Below with reference to the accompanying drawings and describe the application in detail in conjunction with the embodiments.
Fig. 1 shows the exemplary system architecture 100 of the embodiment of the method for the propelling movement phonetic search data can applying the application or the device of propelling movement phonetic search data.
As shown in Figure 1, system architecture 100 can comprise terminal device 101,102,103, network 104 and server 105.Network 104 is in order at terminal device 101, the medium providing communication link between 102,103 and server 105.Network 104 can comprise various connection type, such as wired, wireless communication link or fiber optic cables etc.
User can use terminal device 101,102,103 mutual by network 104 and server 105, to receive or to send message etc.Terminal device 101,102,103 can be provided with the application of various phonetic search, such as web browser applications, the application of shopping class, search class application, JICQ, social platform software etc.
Terminal device 101,102,103 can be have display screen and the various electronic equipments of support voice search, include but not limited to smart mobile phone, panel computer, E-book reader, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3), MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee and desk-top computer etc.
Server 105 can be to provide the server of various service, such as, to the one or more background server provided support in the text message fragment of display on terminal device 101,102,103, interim search data, full copy information and complete search data.Result (such as text message fragment, full copy information and complete search data etc.) to process such as data analysis such as the sound bites received, and can be fed back to terminal device by background server.
It should be noted that, the method of the propelling movement phonetic search data that the embodiment of the present application provides generally is performed jointly by terminal device 101,102,103 and server 105, correspondingly, the device pushing phonetic search data is generally positioned in terminal device 101,102,103 and server 105.
Should be appreciated that, the number of the terminal device in Fig. 1, network and server is only schematic.According to realizing needs, the terminal device of arbitrary number, network and server can be had.
Continue with reference to figure 2, show the flow process 200 of an embodiment of the method for the propelling movement phonetic search data according to the application.The method of described propelling movement phonetic search data, can run in the system comprising user terminal and server, can comprise the following steps:
Step 201, user terminal is in response to receiving voice recognition instruction, be the cycle obtain sound bite with predetermined time period, in response to getting sound bite, uploading sound bite to server, in response to receiving the text message fragment returned from server, presenting text message fragment, in response to receiving the interim search data returned from server, present interim search data.
In the present embodiment, the method pushing phonetic search data is run between user terminal thereon and server and can be connected by wired connection mode or radio connection, and above-mentioned radio connection can include but not limited to that 3G/4G connects, WiFi connects, bluetooth connects, WiMAX connects, Zigbee connects, UWB (ultrawideband) connects and the radio connection of other known or exploitations in the future now.
Usually, user utilizes the phonetic search that terminal is installed should be used for initiating voice recognition instruction.Phonetic search applies the reception that can have been come by the obtain manner developed in obtain manner of the prior art or WeiLai Technology voice recognition instruction.Such as, phonetic search application can initiate voice recognition instruction by meeting default initiation mode in response to user operation: meet default initiation mode in response to user to the operation that phonetic search is applied, and initiates voice recognition instruction; Or meet default initiation mode in response to the operation of user to terminal, initiate voice recognition instruction.For gesture identification, when terminal has camera, the user operation of reception can also be act on described camera, the operating gesture corresponding with the initiation mode preset.More specifically, first, can predefine and the corresponding operating gesture of initiation mode preset; Afterwards, the camera of described terminal can catch user's gesture in real time and identify, if described user's gesture is identified as the operating gesture corresponding with the initiation mode preset subsequently, then initiates voice recognition instruction.
After receiving voice recognition instruction, phonetic search application call voice-input device, is the cycle obtain sound bite with predetermined time period, and in response to getting sound bite, uploads sound bite to server.Also be, in user's continuous print phonetic entry process, phonetic search application continues recording to the voice of input, first the time span in response to recording meets predetermined time period, is uploaded onto the server by the sound bite of recording, performs predetermined uploading step afterwards: after uploading sound bite, time span in response to lasting recording meets predetermined time period again, again upload the sound bite of recording, repeat predetermined uploading step, until the voice that user inputs are uploaded complete.
After uploading sound bite to server each time, phonetic search application in response to receiving the text message fragment returned from server, can upgrade the text message fragment be shown in screen; In response to receiving the interim search data returned from server, upgrade the interim search data be shown in screen.Here, text message fragment is that the sound bite that server identification has been uploaded obtains, and interim search data is the search data that server pushes to user terminal based on the key word extracted from text message fragment.
In the present embodiment, the text message fragment that user terminal receives is for the perception of user, be presented in screen in real time, also being i.e. perceived as of user: user terminal, in the process receiving input voice, presents the text message fragment that sound bite that identification uploaded obtains in real time; In like manner, the interim search data that user terminal receives is for the perception of user, also be presented in real time in screen, also being i.e. perceived as of user: user terminal, in the process of input voice, presents the search data that the recognition result based on sound bite obtains in real time.
Alternatively, in response to receiving the interim search data returned from server, present interim search data in real time can include but not limited to: in response to receive from server return play up after interim search data, present the interim search data after playing up in real time.
Alternatively, in response to receiving the interim search data returned from server, present interim search data in real time can include but not limited to: in response to receiving the interim search data returned from server, play up interim search data based on the template of playing up preset, present the interim search data after playing up in real time.
That presets in above-mentioned user terminal plays up template, usually generates based on interim search data corresponding with the key word extracted in index data base, is to generate the special of interim searched page to play up template, plays up template and usually has the space of a whole page of simplifying.Wherein, interim search data can be the summary info of complete search data.
In some optional implementations of the present embodiment, above-mentioned method can also include but not limited to (not shown): user terminal can in response to receiving the full copy information returned from server, close presenting text message fragment, present full copy information, in response to receiving the complete search data returned from server, close presenting interim search data, present complete search data.
In some optional implementations of the present embodiment, above-mentioned method can also include but not limited to (not shown): user terminal sets up the first communication connection based on same identification strings respectively with server and second communication is connected, based on the first communication connection, the sound bite of upload user, receive text message fragment, receive complete text message and receive complete search data, connect based on second communication, receive interim search data; Server is in response to setting up the first communication connection with user terminal and second communication is connected, based on the first communication connection, receive the sound bite of user, send text message fragment, send complete text message and send complete search data, connect based on second communication, send interim search data.This method passing through two communication connection return datas, avoids the progress that affects speech recognition owing to obtaining interim Search Results and affects returning of full copy information and complete search data.
In some optional implementations of the present embodiment, above-mentioned method can also include but not limited to (not shown): close to interim search data in current, disconnect the first communication connection and be connected with second communication.Here, close to interim search data in current, disconnect the first communication connection and be connected can save the network bandwidth on the basis meeting data transmission performance with second communication.
Step 202, server is in response to reception sound bite, identify the sound bite uploaded, obtaining text message fragment, sending text message fragment, in response to obtaining text message fragment to user terminal, extract the key word of text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the default search data that is associated with the key word preset in index data base as interim search data, send interim search data to user terminal.
In the present embodiment, server, in response to reception sound bite, identifies the sound bite uploaded, obtains text message fragment, and the technology to user terminal transmission text message fragment can be the one in the technology of prior art or following exploitation.Here, along with the growth of phonetic entry duration, the voice uploaded are identified that the text message fragment obtained can change, thus the data comprised in the text message fragment of follow-up transmission, may be different with the data that comprise in the text message fragment sent before, such as, the text message fragment of follow-up transmission can for the text message fragment revised on the basis of the text message fragment sent before.
Here, server is when obtaining interim search data, carry out real-time search in order to avoid each removal search engine and affect the ageing of Search Results, static interim search data can be directly pulled: in response to the preset keyword in the keyword match index data base extracted, using the default search data that is associated with the key word preset in index data base as interim search data by the index data base comprising key-value pair that establishes in advance.
In index data base, the key word preset can be obtained by following steps with the incidence relation of the search data preset: obtain the historical data obtaining complete search data based on full copy information; Word segmentation processing is carried out to the full copy information in historical data, will the word (such as notional word or frequent words) of keyword condition be met as the key word preset; Using the informative abstract of complete search data that obtains based on the full copy information in historical data as the search data preset; The key word that association is preset and the search data preset.
It should be noted that the database structure type in above-mentioned index data base can be any one database structure type.Preferably, the structure type of index data base can be the key value database configuring redis cluster or non-relational nosql Database based on principal and subordinate, to improve the search efficiency based on database.
In the present embodiment, can also based on the historical data of phonetic search, interval Preset Time upgrades the data in described index data base: first obtain phonetic search daily record, carry out participle and duplicate removal process afterwards to the text message in daily record, generates the key assignments data pair of key word and Search Results; Interval Preset Time by described key assignments data to being updated in described index data base.
In order to the timeliness shown on screen can not be affected when ensureing that user terminal generates visual page, in some optional implementations of the present embodiment, with user terminal in response to receive from server return play up after interim search data, present the interim search data after playing up in real time corresponding, server sends interim search data to user terminal and can include but not limited to: based on index data base, generates and plays up template; Based on playing up template, play up interim search data; The interim search data after playing up is sent to user terminal.Also namely for above-mentioned informative abstract design specialized and simplify play up template, to user terminal send through play up template play up after interim search data, to ensure the timeliness that the interim search data after playing up shows on screen.
In some implementations, with user terminal in response to receiving the full copy information returned from server, close presenting text message fragment, present full copy information, in response to receiving the complete search data returned from server, close presenting interim search data, present complete search data corresponding, server can identify the voice of the user obtained according to sound bite, obtain full copy information, complete text message is sent to user terminal, in response to obtaining full copy information, based on full copy information, obtain complete search data, complete search data is sent to user terminal.
In some implementations, above-mentioned method can also include but not limited to (not shown): in response to setting up the first communication connection based on same identification strings and user terminal and second communication is connected, based on the first communication connection, receive the sound bite of user, send text message fragment, send complete text message and send complete search data, connect based on second communication, send interim search data.This method passing through two communication connection transmission data, prevents owing to sending interim Search Results and affects the progress of speech recognition and affect the transmission of full copy information and complete search data.
In this implementation, in order to prevent from affecting due to the acquisition of interim search data returning of the progress of identification and full copy information and complete search data, server can based on user terminal same identification strings by two communication connection transmissions after shaking hands, what determine to serve session is which two communication connections, wherein, the identification strings of transmission can be generated by UUID algorithm.
Those skilled in the art are to be understood that, server in the embodiment of the present application is the concept of a general reference, the configuration quantity of server can be determined according to the hardware configuration of single server and handling property, can be such as the single server that hardware configuration and handling property are higher, also can for the server cluster providing same to serve be made up of multiple server.
The method of the propelling movement phonetic search data that above-described embodiment of the application provides, by user terminal in response to receiving voice recognition instruction, be the cycle obtain sound bite with predetermined time period, upload sound bite afterwards to server, afterwards in response to receiving the text message fragment returned from server, present text message fragment, wherein, text message fragment is that the sound bite that server identification has been uploaded obtains; In response to receiving the interim search data returned from server, present interim search data, wherein, interim search data is the search data that server pushes to user terminal based on the key word extracted from text message fragment, effectively make use of the text message fragment obtained in identifying, improve the efficiency pushing search data to user, enrich the feedback information in phonetic entry stage, and user can be allowed can to perceive search progress, improve Man machine interaction.
Please refer to Fig. 3, it illustrates the schematic flow sheet of an application scenarios of the method for the propelling movement phonetic search data according to the application.
As shown in Figure 3, when pushing phonetic search data, user terminal 310 and server cluster 320 are set up two and independently communicate to connects: communicate to connect 1 with communicate to connect 2.User terminal 310 continues the voice system front end 321 user speech fragment uploaded onto the server in cluster 320 by communication connection 1, user speech fragment is sent to demoder cluster 322 in server cluster 320 to identify voice via voice system front end 321, demoder cluster 322 identifies that the sound bite uploaded obtains text message fragment, identify that the user speech obtained according to sound bite obtains full copy information, and text message fragment and full copy information are back to voice system front end 321, voice system front end 321 is in response to the text message fragment obtaining demoder cluster and return, on the one hand by text message fragment or full copy information back to user terminal 310, the Asynchronous Request obtaining interim Search Results based on text message fragment is sent on the other hand to the index data base cluster 323 in server cluster 320, index data base cluster 323 is in response to receiving Asynchronous Request, based on the predetermined keyword in index data base-preset search data key values pair, interim search data is sent to voice system front end 321, voice system front end 321 sends interim search data by communication connection 2 to user terminal afterwards, voice system front end 321 is in response to the full copy information obtaining demoder cluster and return, the acquisition request based on full copy acquisition of information complete search data is sent to the search engine rear end 324 in server cluster 320, search engine rear end 324 is asked in response to this acquisition, complete search data is sent to voice system front end 321, voice system 321, in response to receiving complete search data, sends complete search data to user terminal 310.User terminal 310 returns in response to full copy information and complete search data, directly closes the interaction page based on interim search data, disconnects two communication connections, jump to the searched page based on complete search data.Alternatively, in server cluster 320, log database 325 and log processing end 326 can also be provided with, voice system front end 321 can by comprise full copy information and complete search data identification Log Sender to log database 325 will identify that daily record is put in storage, log processing terminal 326 is collector journal from log database 325, and participle and duplicate removal process are carried out to the full copy information in the daily record of collecting, obtain the keyword in full copy information, and based on the complete search data genaration interim search data corresponding with full copy information, thus obtain keyword-interim search data key-value pair, and key-value pair is sent to index data base cluster 323 with more new database.
When setting up two communication connections with session with server cluster 320 of served user terminals 310, what need to know service conversation due to server cluster 320 is which two connections, therefore after completing and shaking hands, user terminal needs to connect transmission identification strings (being also sequence number sn) respectively at two, and ensureing the uniqueness of sn, this sn can be generated by general unique identifier uuid algorithm.If server receives same sn in two separate connection, identify this two these sessions of Connection Service, simultaneously from the text message and the complete search data that receive that connection of speech data and issue the identification returned, return interim search data from another connection.Here, owing to have employed the mode by two communication connection return datas, thus avoid the progress that affects speech recognition owing to obtaining interim Search Results and affect returning of full copy information and complete search data.
The storage organization of above-mentioned index data base, can adopt key word-interim Search Results k-v to form, configure redis cluster or other non-relationals nosql Database based on principal and subordinate.The renewal of index data base, can carry out by off-line, the identification daily record first on Real-time Obtaining line, and off-line carries out participle afterwards, duplicate removal process, generates key word-interim Search Results k-v couple, upgrades k-v couple afterwards according to cycle regular hour in index data base.In order to ensure data consistency, in cluster, only have an index data base master library, by index data base master library to other index data bases from storehouse more new data.
Please refer to Fig. 4, it illustrates the screenshotss effect schematic diagram of an application scenarios of the method for the propelling movement phonetic search data according to the application.
As shown in Figure 4, in step 401, user terminal obtain in first predetermined time period user sound bite and after upload server, in response to receiving the text message fragment returned from server and the interim search data returned from server, phonetic search application in Identification display text message fragment " XXX " and display obtain based on the interim search data be associated with " XXX " present the page.
In step 402, user terminal obtain in second predetermined time period user sound bite and after upload server, in response to receiving the text message fragment returned from server and the interim search data returned from server, the text message fragment upgrading Identification display in phonetic search application be " daughter of XXX " and show obtain based on the interim search data be associated with " daughter of XXX " present the page.
In step 403, user terminal obtain in the 3rd predetermined time period user sound bite and after upload server, in response to receiving the full copy information returned from server and the complete search data returned from server, close the interaction page based on interim search data, disconnect two communication connections, jump to display full copy information " what daughter of XXX cries " and show the searched page of the complete search data obtained based on " what daughter of XXX cries ".
With further reference to Fig. 5, it illustrates the flow process 500 of another embodiment of the method pushing phonetic search data.The flow process 500 of the method for these propelling movement phonetic search data, can run in user terminal, can comprise the following steps:
Step 501, in response to receiving voice recognition instruction, is the cycle obtain sound bite with predetermined time period.
Step 502, in response to getting sound bite, uploads sound bite to server.
Step 503, in response to receiving the text message fragment returned from server, presents text message fragment.
Step 504, in response to receiving the interim search data returned from server, presents interim search data, and wherein, interim search data is the search data that server pushes to user terminal based on the key word extracted from text message fragment.
In some optional implementations of the present embodiment, method can also include but not limited to (not shown): in response to receiving the full copy information returned from server, close presenting text message fragment, present full copy information, wherein, full copy information is that the voice of server identification user obtain, and the voice of user are obtained according to sound bite by server; In response to receiving the complete search data returned from server, closing presenting interim search data, presenting complete search data, wherein, complete search data are the search data that server obtains based on full copy information.
In some optional implementations of the present embodiment, in response to receiving the interim search data returned from server, present interim search data in real time and can include but not limited to following any one: in response to receive from server return play up after interim search data, present the interim search data after playing up in real time, wherein, the interim search data after playing up is played up interim search data by server obtain based on the template of playing up preset; And in response to receiving the interim search data returned from server, playing up interim search data based on the template of playing up preset, presenting the interim search data after playing up in real time.
In some optional implementations of the present embodiment, method can also include but not limited to (not shown): based on same identification strings, sets up the first communication connection respectively and second communication is connected with server; Based on the first communication connection, the sound bite of upload user, receive text message fragment, receive complete text message and receive complete search data; Connect based on second communication, receive interim search data.
In some optional implementations of the present embodiment, method can also include but not limited to (not shown): close to interim search data in current, disconnect the first communication connection and be connected with second communication.
Should be appreciated that all steps recorded in method 500 are corresponding with each step described in method 200 respectively.Thus, the operation described for the method 200 pushing phonetic search data above and feature are equally applicable to method 500 and the operation wherein comprised and feature, do not repeat them here.
The flow process 600 of another embodiment that it illustrates the method pushing phonetic search data is shown with further reference to Fig. 6, Fig. 6.The flow process 600 of the method for these propelling movement phonetic search data, can run in server, can comprise the following steps:
Step 601, in response to the sound bite received from user terminal uploads, identifies the sound bite uploaded, obtains text message fragment, send text message fragment to user terminal.
Step 602, in response to obtaining text message fragment, extract the key word of text message fragment, in response to the preset keyword in the keyword match index data base extracted, using in index data base with preset key word be associated preset search data as interim search data, send interim search data to user terminal.
In some optional implementations of the present embodiment, method can also include but not limited to (not shown): the voice identifying the user obtained according to sound bite, obtains full copy information, sends complete text message to user terminal; In response to obtaining full copy information, based on full copy information, obtaining complete search data, sending complete search data to user terminal.
In some optional implementations of the present embodiment, sending interim search data to user terminal can include but not limited to: based on index data base, generates and plays up template; Based on playing up template, play up interim search data; The interim search data after playing up is sent to user terminal.
In some optional implementations of the present embodiment, method can also include but not limited to (not shown): in response to setting up the first communication connection based on same identification strings and user terminal and second communication is connected, based on the first communication connection, receive the sound bite of user, send text message fragment, send complete text message and send complete search data, connect based on second communication, send interim search data.
In some optional implementations of the present embodiment, method can also include but not limited to (not shown): be associated with the search data preset by the key word preset in index data base by following steps: obtain the historical data obtaining complete search data based on full copy information; Word segmentation processing is carried out to the full copy information in historical data, will the word of keyword condition be met as the key word preset; Using the informative abstract of complete search data that obtains based on the full copy information in historical data as the search data preset; The key word that association is preset and the search data preset.
Should be appreciated that all steps recorded in method 600 are corresponding with each step that the server described in method 200 performs respectively.Thus, the operation that the server described for the method 200 pushing phonetic search data above performs and feature are equally applicable to operation and the feature of description in method 600, do not repeat them here.
With further reference to Fig. 7, as the realization to method shown in above-mentioned each figure, this application provides a kind of embodiment pushing the device of phonetic search data, this device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and this device specifically can be arranged in the system comprising user terminal and server.
As shown in Figure 7, the device 700 of the propelling movement phonetic search data described in the present embodiment can include but not limited to: user terminal 710 and server 720.
Wherein, user terminal 710, be configured in response to receiving voice recognition instruction, being the cycle obtain sound bite with predetermined time period, in response to getting sound bite, uploading sound bite to server, in response to receiving the text message fragment returned from server, presenting text message fragment, in response to receiving the interim search data returned from server, presenting interim search data.
Server 720, be configured in response to reception sound bite, identify the sound bite uploaded, obtaining text message fragment, sending text message fragment, in response to obtaining text message fragment to user terminal, extract the key word of text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the default search data that is associated with the key word preset in index data base as interim search data, send interim search data to user terminal.
In some optional implementations of the present embodiment, user terminal is configured in response to receiving the full copy information returned from server further, close presenting text message fragment, present full copy information, in response to receiving the complete search data returned from server, close presenting interim search data, present complete search data; Server is configured for the voice identifying the user obtained according to sound bite further, obtain full copy information, complete text message is sent to user terminal, in response to obtaining full copy information, based on full copy information, obtain complete search data, send complete search data to user terminal.
In some optional implementations of the present embodiment, user terminal be configured for further in response to receive from server return play up after interim search data, present the interim search data after playing up in real time; And server is configured for further based on index data base, generates and play up template, based on playing up template, playing up interim search data, send the interim search data after playing up to user terminal.
In some optional implementations of the present embodiment, user terminal is configured in response to receiving the interim search data returned from server further, plays up interim search data, present the interim search data after playing up in real time based on the template of playing up preset.
In some optional implementations of the present embodiment, user terminal is configured for further sets up the first communication connection based on same identification strings with server and second communication is connected respectively, based on the first communication connection, the sound bite of upload user, receive text message fragment, receive complete text message and receive complete search data, connect based on second communication, receive interim search data; Server is configured in response to setting up the first communication connection with user terminal and second communication is connected further, based on the first communication connection, receive the sound bite of user, send text message fragment, send complete text message and send complete search data, connect based on second communication, send interim search data.
Should be appreciated that all modules recorded in device 700 are corresponding with each step in the method described with reference to figure 2.Thus, above for the module that operation and the feature of the method description of propelling movement phonetic search data are equally applicable to device 700 and wherein comprise, do not repeat them here.Corresponding module in device 700 can cooperatively interact the scheme realizing the embodiment of the present application with the module in terminal device and server.
With further reference to Fig. 8, as the realization to method shown in above-mentioned each figure, this application provides a kind of embodiment pushing the device of phonetic search data, this device embodiment is corresponding with the embodiment of the method shown in Fig. 5, and this device specifically can be arranged in various user terminal.
As shown in Figure 8, the device 800 of the propelling movement phonetic search data described in the present embodiment can include but not limited to:
Acquisition module 810, is configured in response to receiving voice recognition instruction, is the cycle obtain sound bite with predetermined time period;
Upper transmission module 820, is configured in response to getting sound bite, uploads sound bite to server;
First presents module 830, being configured in response to receiving the text message fragment returned from server, presenting text message fragment, and wherein, text message fragment is that the sound bite that server identification has been uploaded obtains;
Second presents module 840, be configured in response to receiving the interim search data returned from server, present interim search data, wherein, interim search data is the search data that server pushes to user terminal based on the key word extracted from text message fragment.
In some optional implementations of the present embodiment, device can also include but not limited to (not shown): the 3rd presents module, be configured in response to receiving the full copy information returned from server, close presenting text message fragment, present full copy information, wherein, full copy information is that the voice of server identification user obtain, and the voice of user are obtained according to sound bite by server; 4th presents module, being configured in response to receiving the complete search data returned from server, closing presenting interim search data, present complete search data, and wherein, complete search data are the search data that server obtains based on full copy information.
In some optional implementations of the present embodiment, second present module is configured for further process following any one: in response to receive from server return play up after interim search data, present the interim search data after playing up in real time, wherein, the interim search data after playing up is played up interim search data by server obtain based on the template of playing up preset; And in response to receiving the interim search data returned from server, playing up interim search data based on the template of playing up preset, presenting the interim search data after playing up in real time.
In some optional implementations of the present embodiment, device can also include but not limited to (not shown): first communication module, be configured for based on same identification strings, set up the first communication connection respectively with server and second communication is connected; First transport module, is configured for based on the first communication connection, the sound bite of upload user, receives text message fragment, receives complete text message and receive complete search data; Second transport module, is configured for and connects based on second communication, receive interim search data.
In some optional implementations of the present embodiment, device can also include but not limited to (not shown): disconnect module, be configured for close to interim search data in current, disconnect the first communication connection and be connected with second communication.
Should be appreciated that all modules recorded in device 800 are corresponding with each step in the method described with reference to figure 5.Thus, above for the module that operation and the feature of the method description of propelling movement phonetic search data are equally applicable to device 800 and wherein comprise, do not repeat them here.Corresponding module in device 800 can cooperatively interact the scheme realizing the embodiment of the present application with the module in terminal device.
With further reference to Fig. 9, as the realization to method shown in above-mentioned each figure, this application provides a kind of embodiment pushing the device of phonetic search data, this device embodiment is corresponding with the embodiment of the method shown in Fig. 6, and this device specifically can be arranged in server.
As shown in Figure 9, the device 900 of the propelling movement phonetic search data described in the present embodiment can include but not limited to:
First identification module 910, is configured for the sound bite in response to receiving from user terminal uploads, identifies the sound bite uploaded, obtains text message fragment, sends text message fragment to user terminal;
First sending module 920, be configured in response to obtaining text message fragment, extract the key word of text message fragment, in response to the preset keyword in the keyword match index data base extracted, using in index data base with preset key word be associated preset search data as interim search data, send interim search data to user terminal.
In some optional implementations of the present embodiment, device can also include but not limited to (not shown): the second identification module, be configured for the voice identifying the user obtained according to sound bite, obtain full copy information, send complete text message to user terminal; Second sending module, being configured in response to obtaining full copy information, based on full copy information, obtaining complete search data, sending complete search data to user terminal.
In some optional implementations of the present embodiment, the first sending module is configured for further based on index data base, generates and plays up template; Based on playing up template, play up interim search data; The interim search data after playing up is sent to user terminal.
In some optional implementations of the present embodiment, device can also include but not limited to (not shown): second communication module, be configured in response to setting up the first communication connection based on same identification strings and user terminal and second communication is connected, 3rd transport module, be configured for based on the first communication connection, receive the sound bite of user, send text message fragment, send complete text message and send complete search data, 4th transport module, be configured for and connect based on second communication, send interim search data.
In some optional implementations of the present embodiment, device can also include but not limited to (not shown): relating module, is configured for and is associated with the search data preset by the key word preset in index data base by following steps: obtain the historical data obtaining complete search data based on full copy information; Word segmentation processing is carried out to the full copy information in historical data, will the word of keyword condition be met as the key word preset; Using the informative abstract of complete search data that obtains based on the full copy information in historical data as the search data preset; The key word that association is preset and the search data preset.
Should be appreciated that all modules recorded in device 900 are corresponding with each step in the method described with reference to figure 6.Thus, above for the module that operation and the feature of the method description of propelling movement phonetic search data are equally applicable to device 900 and wherein comprise, do not repeat them here.Corresponding module in device 900 can cooperatively interact the scheme realizing the embodiment of the present application with the module in terminal device.
It will be appreciated by those skilled in the art that, the device 700,800 and 900 of above-mentioned propelling movement phonetic search data also comprises some other known features, such as processor, storer etc., in order to unnecessarily fuzzy embodiment of the present disclosure, these known structures are not shown in Fig. 7,8 and 9.
Below with reference to Figure 10, it illustrates the structural representation of the computer system 1000 of terminal device or the server be suitable for for realizing the embodiment of the present application.
As shown in Figure 10, computer system 1000 comprises central processing module (CPU) 1001, and it or can be loaded into the program random access storage device (RAM) 1003 from storage area 1008 and perform various suitable action and process according to the program be stored in ROM (read-only memory) (ROM) 1002.In RAM1003, also store system 1000 and operate required various program and data.CPU1001, ROM1002 and RAM1003 are connected with each other by bus 1004.I/O (I/O) interface 1005 is also connected to bus 1004.
I/O interface 1005 is connected to: the importation 1006 comprising keyboard, mouse etc. with lower component; Comprise the output 1007 of such as cathode-ray tube (CRT) (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.; Comprise the storage area 1008 of hard disk etc.; And comprise the communications portion 1009 of network interface unit of such as LAN card, modulator-demodular unit etc.Communications portion 1009 is via the network executive communication process of such as the Internet.Driver 1010 is also connected to I/O interface 1005 as required.Detachable media 1011, such as disk, CD, magneto-optic disk, semiconductor memory etc., be arranged on driver 1010 as required, so that the computer program read from it is mounted into storage area 1008 as required.
Especially, according to embodiment of the present disclosure, the process that reference flow sheet describes above may be implemented as computer software programs.Such as, embodiment of the present disclosure comprises a kind of computer program, and it comprises the computer program visibly comprised on a machine-readable medium, and described computer program comprises the program code for the method shown in flowchart.In such embodiments, this computer program can be downloaded and installed from network by communications portion 1009, and/or is mounted from detachable media 1011.
Process flow diagram in accompanying drawing and block diagram, illustrate according to the architectural framework in the cards of the system of the various embodiment of the application, method and computer program product, function and operation.In this, each square frame in process flow diagram or block diagram can represent a part for module, program segment or a code, and a part for described module, program segment or code comprises one or more executable instruction for realizing the logic function specified.Also it should be noted that at some as in the realization of replacing, the function marked in square frame also can be different from occurring in sequence of marking in accompanying drawing.Such as, in fact the square frame that two adjoining lands represent can perform substantially concurrently, and they also can perform by contrary order sometimes, and this determines according to involved function.Also it should be noted that, the combination of the square frame in each square frame in block diagram and/or process flow diagram and block diagram and/or process flow diagram, can realize by the special hardware based system of the function put rules into practice or operation, or can realize with the combination of specialized hardware and computer instruction.
Be described in module involved in the embodiment of the present application to be realized by the mode of software, also can be realized by the mode of hardware.Described module also can be arranged within a processor, such as, can be described as: a kind of processor comprises the first identification module and the first sending module.Wherein, the title of these modules does not form the restriction to this module itself under certain conditions, such as, first identification module can also be described to " in response to the sound bite received from user terminal uploads; identify the sound bite uploaded; obtain text message fragment, sending the module of text message fragment to user terminal ".
As another aspect, present invention also provides a kind of non-volatile computer storage medium, this non-volatile computer storage medium can be the non-volatile computer storage medium comprised in device described in above-described embodiment; Also can be individualism, be unkitted the non-volatile computer storage medium allocated in terminal.Above-mentioned non-volatile computer storage medium stores one or more program, when one or more program described is performed by an equipment, make described equipment: in response to the sound bite received from user terminal uploads, identify the sound bite uploaded, obtain text message fragment, send text message fragment to user terminal; In response to obtaining text message fragment, extract the key word of text message fragment, in response to the preset keyword in the keyword match index data base extracted, using in index data base with preset key word be associated preset search data as interim search data, send interim search data to user terminal.
More than describe and be only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art are to be understood that, invention scope involved in the application, be not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, also should be encompassed in when not departing from described inventive concept, other technical scheme of being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed simultaneously.The technical characteristic that such as, disclosed in above-mentioned feature and the application (but being not limited to) has similar functions is replaced mutually and the technical scheme formed.
Claims (30)
1. push a method for phonetic search data, it is characterized in that, described method comprises:
In response to receiving voice recognition instruction, be the cycle obtain sound bite with predetermined time period;
In response to getting described sound bite, upload described sound bite to server;
In response to receiving the text message fragment returned from described server, present described text message fragment, wherein, described text message fragment obtains for sound bite described in described server identification;
In response to receiving the interim search data returned from described server, present described interim search data, wherein, described interim search data is the search data that described server pushes to described user terminal based on the key word extracted from described text message fragment.
2. method according to claim 1, is characterized in that, described method also comprises:
In response to receiving the full copy information returned from described server, close presenting described text message fragment, present described full copy information, wherein, described full copy information is that the voice of described server identification user obtain, and the voice of described user are obtained according to described sound bite by described server;
In response to receiving the complete search data returned from described server, close presenting described interim search data, present described complete search data, wherein, described complete search data are the search data that described server obtains based on described full copy information.
3. method according to claim 2, is characterized in that, in response to receiving the interim search data returned from described server, presenting described interim search data in real time and comprising following any one:
In response to receive from described server return play up after interim search data, interim search data after playing up described in presenting in real time, wherein, the interim search data after playing up described in is played up interim search data by described server obtain based on the template of playing up preset; And
In response to receiving the interim search data returned from described server, playing up described interim search data based on the template of playing up preset, presenting the interim search data after playing up in real time.
4. method according to claim 3, is characterized in that, described method also comprises:
Based on same identification strings, set up the first communication connection respectively with described server and second communication is connected;
Based on described first communication connection, upload the sound bite of described user, receive described text message fragment, receive described full copy information and receive described complete search data;
Connect based on described second communication, receive described interim search data.
5. method according to claim 4, is characterized in that, described method also comprises:
Close to described interim search data in current, disconnect described first communication connection and be connected with described second communication.
6. push a method for phonetic search data, it is characterized in that, described method comprises:
In response to the sound bite received from user terminal uploads, identify described sound bite, obtain text message fragment, send described text message fragment to described user terminal;
In response to obtaining described text message fragment, extract the key word of described text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the search data preset that is associated with the key word preset in described index data base as interim search data, send described interim search data to described user terminal.
7. method according to claim 6, is characterized in that, described method also comprises:
Identify the voice of the user obtained according to described sound bite, obtain full copy information, send described full copy information to described user terminal;
In response to obtaining described full copy information, based on described full copy information, obtaining complete search data, sending described complete search data to described user terminal.
8. method according to claim 6, is characterized in that, describedly sends described interim search data to described user terminal and comprises:
Based on described index data base, generate and play up template;
Play up template based on described, play up described interim search data;
The interim search data after playing up is sent to user terminal.
9. the method according to claim 6-8 any one, is characterized in that, described method also comprises:
To communicate to connect and described second communication is connected in response to setting up described first based on same identification strings and described user terminal;
Based on described first communication connection, receive the sound bite of described user, send described text message fragment, send complete text message and send complete search data;
Connect based on described second communication, send described interim search data.
10. method according to claim 6, is characterized in that, described method also comprises: be associated with the search data preset by the key word preset in described index data base by following steps:
Obtain the historical data obtaining complete search data based on full copy information;
Word segmentation processing is carried out to the full copy information in described historical data, will the word of keyword condition be met as the key word preset;
Using the informative abstract of complete search data that obtains based on the full copy information in described historical data as the search data preset;
Associate described default key word and described default search data.
11. 1 kinds of methods pushing phonetic search data, it is characterized in that, described method comprises:
User terminal is in response to receiving voice recognition instruction, be the cycle obtain sound bite with predetermined time period, in response to getting described sound bite, upload described sound bite to server, in response to receiving the text message fragment returned from described server, presenting described text message fragment, in response to receiving the interim search data returned from described server, presenting described interim search data;
Server is in response to the described sound bite of reception, identify described sound bite, obtain described text message fragment, described text message fragment is sent to described user terminal, in response to obtaining described text message fragment, extract the key word of described text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the search data preset that is associated with the key word preset in described index data base as interim search data, send described interim search data to described user terminal.
12. methods according to claim 11, is characterized in that, described method also comprises:
User terminal is in response to receiving the full copy information returned from described server, close presenting described text message fragment, present described full copy information, in response to receiving the complete search data returned from described server, close presenting described interim search data, present described complete search data;
The voice of the user that server identification obtains according to described sound bite, obtain described full copy information, described full copy information is sent to described user terminal, in response to obtaining described full copy information, based on described full copy information, obtain described complete search data, send described complete search data to described user terminal.
13. methods according to claim 11, it is characterized in that, described in response to receiving the interim search data returned from described server, present described interim search data in real time to comprise: in response to receive from described server return play up after interim search data, the interim search data after playing up described in presenting in real time; And
Describedly send described interim search data to described user terminal and comprise: described server is based on described index data base, template is played up in generation, play up template based on described, play up described interim search data, send the interim search data after playing up to user terminal.
14. methods according to claim 11, is characterized in that, described in response to receiving the interim search data returned from described server, present described interim search data in real time and comprise:
In response to receiving the interim search data returned from described server, playing up described interim search data based on the template of playing up preset, presenting the interim search data after playing up in real time.
15. methods according to claim 13 or 14 any one, it is characterized in that, described method also comprises:
Described user terminal sets up the first communication connection based on same identification strings respectively with described server and second communication is connected, based on described first communication connection, upload the sound bite of described user, receive described text message fragment, receive described full copy information and receive described complete search data, connect based on described second communication, receive described interim search data;
Described server to communicate to connect and described second communication is connected in response to setting up described first with described user terminal, based on described first communication connection, receive the sound bite of described user, send described text message fragment, send complete text message and send complete search data, connect based on described second communication, send described interim search data.
16. 1 kinds of devices pushing phonetic search data, it is characterized in that, described device comprises:
Acquisition module, in response to receiving voice recognition instruction, is the cycle obtain sound bite with predetermined time period;
Upper transmission module, in response to getting described sound bite, uploads described sound bite to server;
First presents module, in response to receiving the text message fragment returned from described server, presents described text message fragment, and wherein, described text message fragment obtains for sound bite described in described server identification;
Second presents module, for in response to receiving the interim search data returned from described server, present described interim search data, wherein, described interim search data is the search data that described server pushes to described user terminal based on the key word extracted from described text message fragment.
17. devices according to claim 16, is characterized in that, described device also comprises:
3rd presents module, for in response to receiving the full copy information returned from described server, close presenting described text message fragment, present described full copy information, wherein, described full copy information is that the voice of described server identification user obtain, and the voice of described user are obtained according to described sound bite by described server;
4th presents module, for in response to receiving the complete search data returned from described server, closing presenting described interim search data, presenting described complete search data, wherein, described complete search data are the search data that described server obtains based on described full copy information.
18. devices according to claim 17, is characterized in that, described second presents module is further used for processing following any one:
In response to receive from described server return play up after interim search data, interim search data after playing up described in presenting in real time, wherein, the interim search data after playing up described in is played up interim search data by described server obtain based on the template of playing up preset; And
In response to receiving the interim search data returned from described server, playing up described interim search data based on the template of playing up preset, presenting the interim search data after playing up in real time.
19. devices according to claim 18 any one, it is characterized in that, described device also comprises:
First communication module, for based on same identification strings, sets up the first communication connection with described server and second communication is connected respectively;
First transport module, for based on described first communication connection, uploads the sound bite of described user, receives described text message fragment, receive described full copy information and receive described complete search data;
Second transport module, for connecting based on described second communication, receives described interim search data.
20. devices according to claim 19, is characterized in that, described device also comprises:
Disconnect module, for close to described interim search data in current, disconnect described first communication connection and be connected with described second communication.
21. 1 kinds of devices pushing phonetic search data, it is characterized in that, described device comprises:
First identification module, in response to the sound bite received from user terminal uploads, identifies described sound bite, obtains text message fragment, sends described text message fragment to described user terminal;
First sending module, for in response to obtaining described text message fragment, extract the key word of described text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the search data preset that is associated with the key word preset in described index data base as interim search data, send described interim search data to described user terminal.
22. devices according to claim 21, is characterized in that, described device also comprises:
Second identification module, for identifying the voice of the user obtained according to described sound bite, obtains full copy information, sends described full copy information to described user terminal;
Second sending module, in response to obtaining described full copy information, based on described full copy information, obtaining complete search data, sending described complete search data to described user terminal.
23. devices according to claim 21, is characterized in that, described first sending module is further used for based on described index data base, template is played up in generation, play up template based on described, play up described interim search data, send the interim search data after playing up to user terminal.
24. devices according to claim 23, is characterized in that, described device also comprises:
Second communication module, for communicating to connect and described second communication is connected in response to setting up described first based on same identification strings and described user terminal;
3rd transport module, for based on described first communication connection, receives the sound bite of described user, sends described text message fragment, sends complete text message and send complete search data;
4th transport module, for connecting based on described second communication, sends described interim search data.
25. devices according to claim 21, it is characterized in that, described device also comprises: relating module, for being associated with the search data preset by the key word preset in described index data base by following steps: obtain the historical data obtaining complete search data based on full copy information; Word segmentation processing is carried out to the full copy information in described historical data, will the word of keyword condition be met as the key word preset; Using the informative abstract of complete search data that obtains based on the full copy information in described historical data as the search data preset; Associate described default key word and described default search data.
26. 1 kinds of devices pushing phonetic search data, it is characterized in that, described device comprises:
User terminal, for in response to receiving voice recognition instruction, be the cycle obtain sound bite with predetermined time period, in response to getting described sound bite, uploading described sound bite to server, in response to receiving the text message fragment returned from described server, presenting described text message fragment, in response to receiving the interim search data returned from described server, present described interim search data;
Server, for in response to reception described sound bite, identify described sound bite, obtain described text message fragment, described text message fragment is sent to described user terminal, in response to obtaining described text message fragment, extract the key word of described text message fragment, in response to the preset keyword in the keyword match index data base extracted, using the search data preset that is associated with the key word preset in described index data base as interim search data, send described interim search data to described user terminal.
27. devices according to claim 26, it is characterized in that, described user terminal is further used in response to receiving the full copy information returned from described server, close presenting described text message fragment, present described full copy information, in response to receiving the complete search data returned from described server, closing presenting described interim search data, presenting described complete search data;
Described server is further used for the voice identifying the user obtained according to described sound bite, obtain described full copy information, described full copy information is sent to described user terminal, in response to obtaining described full copy information, based on described full copy information, obtain described complete search data, send described complete search data to described user terminal.
28. devices according to claim 26, is characterized in that, described user terminal be further used in response to receive from described server return play up after interim search data, the interim search data after playing up described in presenting in real time; And
Described server is further used for based on described index data base, generates and plays up template, play up template, play up described interim search data based on described, sends the interim search data after playing up to user terminal.
29. devices according to claim 26, it is characterized in that, described user terminal is further used in response to receiving the interim search data returned from described server, plays up described interim search data, present the interim search data after playing up in real time based on the template of playing up preset.
30. devices according to claim 28 or 29 any one, is characterized in that,
Described user terminal is further used for setting up the first communication connection based on same identification strings respectively with described server and second communication is connected, based on described first communication connection, upload the sound bite of described user, receive described text message fragment, receive described full copy information and receive described complete search data, connect based on described second communication, receive described interim search data;
Described server is further used for communicating to connect and described second communication is connected in response to setting up described first with described user terminal, based on described first communication connection, receive the sound bite of described user, send described text message fragment, send complete text message and send complete search data, connect based on described second communication, send described interim search data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510908950.9A CN105302925A (en) | 2015-12-10 | 2015-12-10 | Method and device for pushing voice search data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510908950.9A CN105302925A (en) | 2015-12-10 | 2015-12-10 | Method and device for pushing voice search data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105302925A true CN105302925A (en) | 2016-02-03 |
Family
ID=55200194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510908950.9A Pending CN105302925A (en) | 2015-12-10 | 2015-12-10 | Method and device for pushing voice search data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105302925A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106558313A (en) * | 2016-11-16 | 2017-04-05 | 北京云知声信息技术有限公司 | Audio recognition method and device |
CN108346429A (en) * | 2017-01-22 | 2018-07-31 | 腾讯科技(深圳)有限公司 | Data transmission method based on speech recognition and device |
CN108540373A (en) * | 2018-03-22 | 2018-09-14 | 北京云知声信息技术有限公司 | The abstraction generating method of voice data, server and system in instant chat |
CN108874172A (en) * | 2017-05-12 | 2018-11-23 | 北京搜狗科技发展有限公司 | input method and device |
CN108874904A (en) * | 2018-05-24 | 2018-11-23 | 平安科技(深圳)有限公司 | Speech message searching method, device, computer equipment and storage medium |
CN109325180A (en) * | 2018-09-21 | 2019-02-12 | 北京字节跳动网络技术有限公司 | Article abstract method for pushing, device, terminal device, server and storage medium |
CN109445757A (en) * | 2018-09-21 | 2019-03-08 | 深圳变设龙信息科技有限公司 | New design drawing generating method, device and terminal device |
CN111600725A (en) * | 2020-04-03 | 2020-08-28 | 厦门快商通科技股份有限公司 | Group chat establishing method and system based on voice recognition and mobile terminal |
CN114579841A (en) * | 2022-01-27 | 2022-06-03 | 北京声智科技有限公司 | Audio processing method, device, equipment, storage medium and computer program product |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1252662A (en) * | 1998-10-28 | 2000-05-10 | 朗迅科技公司 | Mobile TCP and method for setting up and keeping a mobile TCP connection |
CN101681365A (en) * | 2007-04-10 | 2010-03-24 | 摩托罗拉公司 | Method and apparatus for distributed voice searching |
CN102246587A (en) * | 2008-12-16 | 2011-11-16 | 摩托罗拉移动公司 | Progressively refining a speech-based search |
-
2015
- 2015-12-10 CN CN201510908950.9A patent/CN105302925A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1252662A (en) * | 1998-10-28 | 2000-05-10 | 朗迅科技公司 | Mobile TCP and method for setting up and keeping a mobile TCP connection |
CN101681365A (en) * | 2007-04-10 | 2010-03-24 | 摩托罗拉公司 | Method and apparatus for distributed voice searching |
CN102246587A (en) * | 2008-12-16 | 2011-11-16 | 摩托罗拉移动公司 | Progressively refining a speech-based search |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106558313A (en) * | 2016-11-16 | 2017-04-05 | 北京云知声信息技术有限公司 | Audio recognition method and device |
CN108346429A (en) * | 2017-01-22 | 2018-07-31 | 腾讯科技(深圳)有限公司 | Data transmission method based on speech recognition and device |
CN108346429B (en) * | 2017-01-22 | 2022-07-08 | 腾讯科技(深圳)有限公司 | Data transmission method and device based on voice recognition |
CN108874172A (en) * | 2017-05-12 | 2018-11-23 | 北京搜狗科技发展有限公司 | input method and device |
CN108874172B (en) * | 2017-05-12 | 2022-12-13 | 北京搜狗科技发展有限公司 | Input method and device |
CN108540373A (en) * | 2018-03-22 | 2018-09-14 | 北京云知声信息技术有限公司 | The abstraction generating method of voice data, server and system in instant chat |
CN108540373B (en) * | 2018-03-22 | 2020-12-29 | 云知声智能科技股份有限公司 | Method, server and system for generating abstract of voice data in instant chat |
CN108874904B (en) * | 2018-05-24 | 2022-04-29 | 平安科技(深圳)有限公司 | Voice message searching method and device, computer equipment and storage medium |
CN108874904A (en) * | 2018-05-24 | 2018-11-23 | 平安科技(深圳)有限公司 | Speech message searching method, device, computer equipment and storage medium |
CN109445757A (en) * | 2018-09-21 | 2019-03-08 | 深圳变设龙信息科技有限公司 | New design drawing generating method, device and terminal device |
CN109325180B (en) * | 2018-09-21 | 2021-01-05 | 北京字节跳动网络技术有限公司 | Article abstract pushing method and device, terminal equipment, server and storage medium |
CN109325180A (en) * | 2018-09-21 | 2019-02-12 | 北京字节跳动网络技术有限公司 | Article abstract method for pushing, device, terminal device, server and storage medium |
CN111600725A (en) * | 2020-04-03 | 2020-08-28 | 厦门快商通科技股份有限公司 | Group chat establishing method and system based on voice recognition and mobile terminal |
CN114579841A (en) * | 2022-01-27 | 2022-06-03 | 北京声智科技有限公司 | Audio processing method, device, equipment, storage medium and computer program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105302925A (en) | Method and device for pushing voice search data | |
CN106843828B (en) | Interface display and loading method and device | |
CN109740018B (en) | Method and device for generating video label model | |
CN104994401A (en) | Barrage processing method, device and system | |
CN104796439B (en) | Web page push method, client, server and system | |
CN106293765A (en) | A kind of layout updates method and device | |
CN104125206A (en) | Client-side hardware environment adaption method, device, server and system | |
WO2019128829A1 (en) | Action execution method and apparatus, storage medium and electronic apparatus | |
US11244153B2 (en) | Method and apparatus for processing information | |
JP2023521120A (en) | Method and Apparatus for Evaluating Collaborative Training Models | |
CN108304368A (en) | The kind identification method and device and storage medium and processor of text message | |
CN105468419A (en) | Method and device for realizing broadcast based on application software and electronic equipment | |
CN111680799A (en) | Method and apparatus for processing model parameters | |
CN105095465A (en) | Information recommendation method, system and device | |
CN106201010B (en) | Method for adding word bank and device | |
CN108268936A (en) | For storing the method and apparatus of convolutional neural networks | |
CN110673886B (en) | Method and device for generating thermodynamic diagrams | |
CN112541645B (en) | Data processing method, system and related device for development of vehicle product project | |
US20170279749A1 (en) | Modular Communications | |
CN110659006B (en) | Cross-screen display method and device, electronic equipment and readable storage medium | |
CN112396511A (en) | Distributed wind control variable data processing method, device and system | |
CN109408716A (en) | Method and apparatus for pushed information | |
CN104954407A (en) | Information push method and device | |
CN107547437A (en) | Application and identification method and device | |
CN111031354B (en) | Multimedia playing method, device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160203 |
|
RJ01 | Rejection of invention patent application after publication |