CN106302437A - Method of speech processing and device - Google Patents

Method of speech processing and device Download PDF

Info

Publication number
CN106302437A
CN106302437A CN201610658349.3A CN201610658349A CN106302437A CN 106302437 A CN106302437 A CN 106302437A CN 201610658349 A CN201610658349 A CN 201610658349A CN 106302437 A CN106302437 A CN 106302437A
Authority
CN
China
Prior art keywords
voice
terminal unit
packet
request
upload
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610658349.3A
Other languages
Chinese (zh)
Inventor
刘起耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yunzhisheng Information Technology Co Ltd
Original Assignee
Beijing Yunzhisheng Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yunzhisheng Information Technology Co Ltd filed Critical Beijing Yunzhisheng Information Technology Co Ltd
Priority to CN201610658349.3A priority Critical patent/CN106302437A/en
Publication of CN106302437A publication Critical patent/CN106302437A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention is that wherein, method includes: when detecting that terminal unit meets pre-conditioned about a kind of method of speech processing and device, sends voice upload request packet to server;Obtain the voice content of user's input, and upload voice messaging packet to described server according to prefixed time interval, wherein, the voice content that the voice messaging packet every time sent gets in including the preset time period that described prefixed time interval is corresponding, the second request serial number that described speech identity mark and described terminal unit distribute in order;After all voice contents having uploaded this input of user being detected, send and upload ending request packet to described server;Receive the result that described server returns according to the packet received.By this technical scheme, terminal unit uploading packet parallel, server receiving while processes, and processing speed faster, decreases the waiting time of user, improves the experience of user.

Description

Method of speech processing and device
Technical field
The present invention relates to voice processing technology field, particularly relate to a kind of method of speech processing and device.
Background technology
In relevant voice processing technology, client sends in voice process to server, sends http request every time All have to wait for server return http request, next voice could be sent, occur network fluctuation or bad when, etc. The process for the treatment of may be the longest, thus causes overall process the slowest.User needs the time of wait for a long time, and Consumer's Experience is the best.
Summary of the invention
The embodiment of the present invention provides a kind of method of speech processing and device, quickly processes the voice letter received in order to realizing Breath, thus reduce the waiting time of user, promote the experience of user.
First aspect according to embodiments of the present invention, it is provided that a kind of method of speech processing, including:
When detecting that described terminal unit meets pre-conditioned, send voice upload request packet to server, its In, described voice upload request packet includes the speech identity mark and first that described terminal unit is this request distribution Request serial number, and terminal device information;
Obtain the voice content of user's input, and upload voice messaging packet to described service according to prefixed time interval Device, wherein, the voice messaging packet every time sent obtains in including the preset time period that described prefixed time interval is corresponding The voice content arrived, the second request serial number that described speech identity mark and described terminal unit distribute in order;
After all voice contents having uploaded this input of user being detected, send and upload ending request packet to institute State server, wherein, described in upload ending request packet include described speech identity mark and described terminal unit by suitable 3rd request serial number of sequence distribution;
Receive the result that described server returns according to the packet received.
In this embodiment, a voice upload request can be divided into three processes, first, sends voice upload request data Wrap to server, then obtain the voice content of user's input, and upload a voice content every prefixed time interval, as A voice content is sent to server every 300 milliseconds.So, the packet that server can send with limit receiving terminal apparatus While process, after terminal unit has sent all voice contents that this phonetic entry is corresponding, can send and upload end Request data package is to server, thus convenient service device knows that the state of end uploaded in voice, at server process this language complete After all packets of sound, feedback processing result is to terminal unit.So, terminal unit packet is uploaded parallel, not Need waiting for server to retransmit next voice after returning the result of a voice, and server can also receiving while Processing, processing speed faster, decreases the waiting time of user, improves the experience of user.
In one embodiment, described pre-conditioned include:
The voice upload function of described terminal unit is waken up or described terminal unit has detected phonetic entry.
In this embodiment it is possible to be waken up or described terminal unit detects in the voice upload function of terminal unit Having phonetic entry, transmission voice upload request packet is to server, thus notification server will upload voice messaging data Bag.
In one embodiment, described terminal device information at least includes: the identification information of terminal unit.
In this embodiment, terminal device information at least includes the identification information of terminal unit, i.e. terminal unit ID, this Sample, server is receiving voice messaging, and after processing, can return result according to terminal unit ID for it.When So, terminal information processing of starting to write includes outside the identification information of terminal unit, it is also possible to include some configuration parameters, as user selects Voice field etc..
Second aspect according to embodiments of the present invention, it is provided that a kind of method of speech processing, for server, including:
The voice upload request packet that receiving terminal apparatus sends, wherein, wraps in described voice upload request packet Include speech identity mark and the first request serial number that described terminal unit is this request distribution, and terminal device information;
Receive described terminal unit sending after described voice upload request packet, upload according to prefixed time interval Voice messaging packet, wherein, each voice messaging packet includes the Preset Time that described prefixed time interval is corresponding The voice content got in Duan, the second request sequence that described speech identity mark and described terminal unit distribute in order Number;
Receive described terminal unit uploaded user this input all voice contents after, transmission upload end please Seek packet wherein, described in upload ending request packet include described speech identity mark and described terminal unit in order 3rd request serial number of distribution;
According to the described speech identity mark comprised in each packet received and request serial number, sequential processing is each Individual packet;
When all packets of described speech identity mark that comprises after all process terminates being detected, according to described terminal unit Information sends result to described terminal unit.
In this embodiment, a voice upload request can be divided into three processes, first, sends voice upload request data Wrap to server, then obtain the voice content of user's input, and upload a voice content every prefixed time interval, as A voice content is sent to server every 300 milliseconds.So, the packet that server can send with limit receiving terminal apparatus While process, after terminal unit has sent all voice contents that this phonetic entry is corresponding, can send and upload end Request data package is to server, thus convenient service device knows that the state of end uploaded in voice, at server process this language complete After all packets of sound, feedback processing result is to terminal unit.So, terminal unit packet is uploaded parallel, not Need waiting for server to retransmit next voice after returning the result of a voice, and server can also receiving while Processing, processing speed faster, decreases the waiting time of user, improves the experience of user.
In one embodiment, described terminal device information at least includes: the identification information of terminal unit.
In this embodiment, terminal device information at least includes the identification information of terminal unit, i.e. terminal unit ID, this Sample, server is receiving voice messaging, and after processing, can return result according to terminal unit ID for it.When So, terminal information processing of starting to write includes outside the identification information of terminal unit, it is also possible to include some configuration parameters, as user selects Voice field etc..
The third aspect according to embodiments of the present invention, it is provided that a kind of voice processing apparatus, for terminal unit, including:
First sending module, for when detecting that described terminal unit meets pre-conditioned, sends voice upload request Packet is to server, and wherein, described voice upload request packet includes that described terminal unit is this request distribution Speech identity mark and the first request serial number, and terminal device information;
Second sending module, for obtaining the voice content of user's input, and uploads voice letter according to prefixed time interval Breath packet is to described server, and wherein, the voice messaging packet every time sent includes that described prefixed time interval is corresponding Preset time period in the voice content that gets, described speech identity mark and described terminal unit distribute in order second Request serial number;
3rd sending module, for after all voice contents having uploaded this input of user being detected, transmission is uploaded Ending request packet is to described server, wherein, described in upload ending request packet and include that described speech identity identifies The 3rd request serial number distributed in order with described terminal unit;
Receiver module, for receiving the result that described server returns according to the packet received.
In one embodiment, described pre-conditioned include:
The voice upload function of described terminal unit is waken up or described terminal unit has detected phonetic entry.
In one embodiment, described terminal device information at least includes: the identification information of terminal unit.
Fourth aspect according to embodiments of the present invention, it is provided that a kind of voice processing apparatus, for server, including:
First receiver module, the voice upload request packet sent for receiving terminal apparatus, wherein, on described voice Pass speech identity mark and the first request serial number that request data package includes that described terminal unit is this request distribution, with And terminal device information;
Second receiver module, is used for receiving described terminal unit after sending described voice upload request packet, presses The voice messaging packet uploaded according to prefixed time interval, wherein, each voice messaging packet includes described Preset Time The voice content got in the preset time period that interval is corresponding, described speech identity mark and described terminal unit divide in order The second request serial number joined;
3rd receiver module, for receiving described terminal unit at all voice contents having uploaded this input of user After, transmission upload ending request packet wherein, described in upload ending request packet and include that described speech identity identifies The 3rd request serial number distributed in order with described terminal unit;
Processing module, for according to the described speech identity mark comprised in each packet received and request sequence Number, each packet of sequential processing;
Sending module, for all comprising packet that described speech identity identifies after all process terminates when detecting, root Result is sent to described terminal unit according to described terminal device information.
In one embodiment, described terminal device information at least includes: the identification information of terminal unit.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The present invention can be limited.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description Obtain it is clear that or understand by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Structure specifically noted in book, claims and accompanying drawing realizes and obtains.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet the enforcement of the present invention Example, and for explaining the principle of the present invention together with description.
Fig. 1 is the flow chart according to a kind of method of speech processing shown in an exemplary embodiment.
Fig. 2 is the flow chart according to a kind of method of speech processing shown in an exemplary embodiment.
Fig. 3 is the block diagram according to a kind of voice processing apparatus shown in an exemplary embodiment.
Fig. 4 is the block diagram according to a kind of voice processing apparatus shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they are only with the most appended The example of the apparatus and method that some aspects that described in detail in claims, the present invention are consistent.
Fig. 1 is the flow chart according to a kind of method of speech processing shown in an exemplary embodiment.This method of speech processing Being applied in terminal unit, this terminal unit can be mobile phone, computer, digital broadcast terminal, messaging devices, trip Play control station, tablet device, armarium, body-building equipment, arbitrary equipment with voice control function such as personal digital assistant. As it is shown in figure 1, the method comprising the steps of S101-S104:
In step S101, when detecting that described terminal unit meets pre-conditioned, send voice upload request data Bag is to server, and wherein, described voice upload request packet includes the voice that described terminal unit is this request distribution Identity and the first request serial number, and terminal device information;
Wherein, terminal unit distributes request serial number, same voice messaging, corresponding language identity mark in order Identical, and when terminal unit uploads voice messaging, that the allocation of packets that can upload for different time is different serial number.At voice In upload request packet, do not comprise voice content.
In step s 102, obtain the voice content of user's input, and upload voice messaging number according to prefixed time interval According to bag to described server, wherein, the voice messaging packet every time sent includes corresponding pre-of described prefixed time interval If the voice content got in the time period, the second request that described speech identity mark and described terminal unit distribute in order Serial number;
After have sent voice upload request packet, the voice content of terminal unit acquisition user's input, and according to Prefixed time interval uploads voice messaging packet in server, wherein, also comprises speech identity in voice messaging packet Mark, simultaneously for each voice messaging packet, terminal unit all can distribute the second request serial number for it in order.As Prefixed time interval is 300 milliseconds, then, terminal sends a voice messaging packet every 300 milliseconds, the voice every time sent The request serial number of information packet is incremented by one by one, such as, when sending voice upload request packet, and the request distributed for it Serial No. 1, then when sending first voice messaging packet, the request serial number for distribution is 2, is sending second language During sound information packet, it is 3 for its request serial number distributed ... by that analogy, to the last uploads ending request number for one According to bag.
In step s 103, after all voice contents having uploaded this input of user being detected, send and upload end Request data package is to server, wherein, uploads ending request packet and includes speech identity mark and terminal unit in order 3rd request serial number of distribution;
In step S104, receive the result that server returns according to the packet received.
In this embodiment, a voice upload request can be divided into three processes, first, sends voice upload request data Wrap to server, then obtain the voice content of user's input, and upload a voice content every prefixed time interval, as A voice content is sent to server every 300 milliseconds.So, the packet that server can send with limit receiving terminal apparatus While process, after terminal unit has sent all voice contents that this phonetic entry is corresponding, can send and upload end Request data package is to server, thus convenient service device knows that the state of end uploaded in voice, at server process this language complete After all packets of sound, feedback processing result is to terminal unit.So, terminal unit packet is uploaded parallel, not Need waiting for server to retransmit next voice after returning the result of a voice, and server can also receiving while Processing, processing speed faster, decreases the waiting time of user, improves the experience of user.
In one embodiment, pre-conditioned include:
The voice upload function of terminal unit is waken up or terminal unit has detected phonetic entry.
In this embodiment it is possible to be waken up or terminal unit has detected language in the voice upload function of terminal unit Sound inputs, and transmission voice upload request packet is to server, thus notification server will upload voice messaging packet.
In one embodiment, terminal device information at least includes: the identification information of terminal unit.
In this embodiment, terminal device information at least includes the identification information of terminal unit, i.e. terminal unit ID, this Sample, server is receiving voice messaging, and after processing, can return result according to terminal unit ID for it.When So, terminal information processing of starting to write includes outside the identification information of terminal unit, it is also possible to include some configuration parameters, as user selects Voice field etc..
Fig. 2 is the flow chart according to a kind of method of speech processing shown in an exemplary embodiment.This method of speech processing It is applied in server.As in figure 2 it is shown, the method comprising the steps of S201-S205:
In step s 201, the voice upload request packet that receiving terminal apparatus sends, wherein, voice upload request number According to the speech identity mark and the first request serial number that include that terminal unit is this request distribution, and terminal unit letter Breath;
In step S202, receiving terminal apparatus is after sending voice upload request packet, according between Preset Time Every the voice messaging packet uploaded, wherein, when each voice messaging packet includes prefixed time interval corresponding default Between the voice content that gets in section, the second request serial number that speech identity mark and terminal unit distribute in order;
In step S203, receiving terminal apparatus uploaded user this input all voice contents after, transmission Upload ending request packet wherein, upload ending request packet and include that speech identity mark and terminal unit divide in order The 3rd request serial number joined;
In step S204, according to the speech identity mark comprised in each packet received and request serial number, Each packet of sequential processing;
Server receives the packet starting, passing voice, end.According to speech identity mark and request serial number, sequentially Process each packet of a request.If first receiving packet below, not processing, waiting packet above. If order receives packet, then receiving while processes, until terminating, discharges the resource of this request.All numbers of one request After terminating according to bag process, send feedback to terminal.
In step S205, when all packets of speech identity mark that comprises after all process terminates being detected, according to end End facility information sends result to terminal unit.
In this embodiment, a voice upload request can be divided into three processes, first, sends voice upload request data Wrap to server, then obtain the voice content of user's input, and upload a voice content every prefixed time interval, as A voice content is sent to server every 300 milliseconds.So, the packet that server can send with limit receiving terminal apparatus While process, after terminal unit has sent all voice contents that this phonetic entry is corresponding, can send and upload end Request data package is to server, thus convenient service device knows that the state of end uploaded in voice, at server process this language complete After all packets of sound, feedback processing result is to terminal unit.So, terminal unit packet is uploaded parallel, not Need waiting for server to retransmit next voice after returning the result of a voice, and server can also receiving while Processing, processing speed faster, decreases the waiting time of user, improves the experience of user.
In one embodiment, terminal device information at least includes: the identification information of terminal unit.
In this embodiment, terminal device information at least includes the identification information of terminal unit, i.e. terminal unit ID, this Sample, server is receiving voice messaging, and after processing, can return result according to terminal unit ID for it.When So, terminal information processing of starting to write includes outside the identification information of terminal unit, it is also possible to include some configuration parameters, as user selects Voice field etc..
Following for apparatus of the present invention embodiment, may be used for performing the inventive method embodiment.
Fig. 3 is the block diagram according to a kind of voice processing apparatus shown in an exemplary embodiment, and this device can be by soft Part, hardware or both be implemented in combination with become the some or all of of terminal unit.As it is shown on figure 3, this voice processing apparatus Including:
First sending module 31, for when detecting that described terminal unit meets pre-conditioned, transmission voice is uploaded please Asking packet to server, wherein, described voice upload request packet includes that described terminal unit is this request distribution Speech identity mark and the first request serial number, and terminal device information;
Second sending module 32, for obtaining the voice content of user's input, and uploads voice according to prefixed time interval Information packet is to described server, and wherein, the voice messaging packet every time sent includes described prefixed time interval pair The voice content got in the preset time period answered, described speech identity mark and described terminal unit distribute in order the Two request serial number;
After have sent voice upload request packet, the voice content of terminal unit acquisition user's input, and according to Prefixed time interval uploads voice messaging packet in server, wherein, also comprises speech identity in voice messaging packet Mark, simultaneously for each voice messaging packet, terminal unit all can distribute the second request serial number for it in order.As Prefixed time interval is 300 milliseconds, then, terminal sends a voice messaging packet every 300 milliseconds, the voice every time sent The request serial number of information packet is incremented by one by one, such as, when sending voice upload request packet, and the request distributed for it Serial No. 1, then when sending first voice messaging packet, the request serial number for distribution is 2, is sending second language During sound information packet, it is 3 for its request serial number distributed ... by that analogy, to the last uploads ending request number for one According to bag.
3rd sending module 33, is used for after all voice contents having uploaded this input of user being detected, in transmission Pass ending request packet to described server, wherein, described in upload ending request packet and include described speech identity mark Know the 3rd request serial number distributed in order with described terminal unit;
Receiver module 34, for receiving the result that described server returns according to the packet received.
In this embodiment, a voice upload request can be divided into three processes, first, sends voice upload request data Wrap to server, then obtain the voice content of user's input, and upload a voice content every prefixed time interval, as A voice content is sent to server every 300 milliseconds.So, the packet that server can send with limit receiving terminal apparatus While process, after terminal unit has sent all voice contents that this phonetic entry is corresponding, can send and upload end Request data package is to server, thus convenient service device knows that the state of end uploaded in voice, at server process this language complete After all packets of sound, feedback processing result is to terminal unit.So, terminal unit packet is uploaded parallel, not Need waiting for server to retransmit next voice after returning the result of a voice, and server can also receiving while Processing, processing speed faster, decreases the waiting time of user, improves the experience of user.
In one embodiment, described pre-conditioned include:
The voice upload function of described terminal unit is waken up or described terminal unit has detected phonetic entry.
In this embodiment it is possible to be waken up or described terminal unit detects in the voice upload function of terminal unit Having phonetic entry, transmission voice upload request packet is to server, thus notification server will upload voice messaging data Bag.
In one embodiment, described terminal device information at least includes: the identification information of terminal unit.
In this embodiment, terminal device information at least includes the identification information of terminal unit, i.e. terminal unit ID, this Sample, server is receiving voice messaging, and after processing, can return result according to terminal unit ID for it.When So, terminal information processing of starting to write includes outside the identification information of terminal unit, it is also possible to include some configuration parameters, as user selects Voice field etc..
Fig. 4 is the block diagram according to a kind of voice processing apparatus shown in an exemplary embodiment, and this device can be by soft Part, hardware or both be implemented in combination with become the some or all of of server.As shown in Figure 4, this voice processing apparatus bag Include:
First receiver module 41, the voice upload request packet sent for receiving terminal apparatus, wherein, described voice Upload request packet includes speech identity mark and the first request serial number that described terminal unit is this request distribution, And terminal device information;
Second receiver module 42, is used for receiving described terminal unit after sending described voice upload request packet, The voice messaging packet uploaded according to prefixed time interval, wherein, each voice messaging packet include described default time Between be spaced the voice content that gets in the preset time period of correspondence, described speech identity mark and described terminal unit are in order Second request serial number of distribution;
3rd receiver module 43, for receiving described terminal unit at all voice contents having uploaded this input of user After, transmission upload ending request packet wherein, described in upload ending request packet and include that described speech identity identifies The 3rd request serial number distributed in order with described terminal unit;
Processing module 44, for according to the described speech identity mark comprised in each packet received and request sequence Row number, each packet of sequential processing;
Server receives the packet starting, passing voice, end.According to speech identity mark and request serial number, sequentially Process each packet of a request.If first receiving packet below, not processing, waiting packet above. If order receives packet, then receiving while processes, until terminating, discharges the resource of this request.All numbers of one request After terminating according to bag process, send feedback to terminal.
Sending module 45, for all comprising packet that described speech identity identifies after all process terminates when detecting, Result is sent to described terminal unit according to described terminal device information.
In this embodiment, a voice upload request can be divided into three processes, first, sends voice upload request data Wrap to server, then obtain the voice content of user's input, and upload a voice content every prefixed time interval, as A voice content is sent to server every 300 milliseconds.So, the packet that server can send with limit receiving terminal apparatus While process, after terminal unit has sent all voice contents that this phonetic entry is corresponding, can send and upload end Request data package is to server, thus convenient service device knows that the state of end uploaded in voice, at server process this language complete After all packets of sound, feedback processing result is to terminal unit.So, terminal unit packet is uploaded parallel, not Need waiting for server to retransmit next voice after returning the result of a voice, and server can also receiving while Processing, processing speed faster, decreases the waiting time of user, improves the experience of user.
In one embodiment, described terminal device information at least includes: the identification information of terminal unit.
In this embodiment, terminal device information at least includes the identification information of terminal unit, i.e. terminal unit ID, this Sample, server is receiving voice messaging, and after processing, can return result according to terminal unit ID for it.When So, terminal information processing of starting to write includes outside the identification information of terminal unit, it is also possible to include some configuration parameters, as user selects Voice field etc..
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the reality in terms of the present invention can use complete hardware embodiment, complete software implementation or combine software and hardware Execute the form of example.And, the present invention can use at one or more computers wherein including computer usable program code The shape of the upper computer program implemented of usable storage medium (including but not limited to disk memory and optical memory etc.) Formula.
The present invention is with reference to method, equipment (system) and the flow process of computer program according to embodiments of the present invention Figure and/or block diagram describe.It should be understood that can the most first-class by computer program instructions flowchart and/or block diagram Flow process in journey and/or square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided Instruction arrives the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce A raw machine so that the instruction performed by the processor of computer or other programmable data processing device is produced for real The device of the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame now.
These computer program instructions may be alternatively stored in and computer or other programmable data processing device can be guided with spy Determine in the computer-readable memory that mode works so that the instruction being stored in this computer-readable memory produces and includes referring to Make the manufacture of device, this command device realize at one flow process of flow chart or multiple flow process and/or one square frame of block diagram or The function specified in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing device so that at meter Perform sequence of operations step on calculation machine or other programmable devices to produce computer implemented process, thus at computer or The instruction performed on other programmable devices provides for realizing at one flow process of flow chart or multiple flow process and/or block diagram one The step of the function specified in individual square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and the modification essence without deviating from the present invention to the present invention God and scope.So, if these amendments of the present invention and modification belong to the scope of the claims in the present invention and equivalent technologies thereof Within, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a method of speech processing, for terminal unit, it is characterised in that including:
When detecting that described terminal unit meets pre-conditioned, transmission voice upload request packet is to server, wherein, and institute Predicate tone uploading request data package includes speech identity mark and the first request that described terminal unit is this request distribution Serial number, and terminal device information;
Obtain the voice content of user's input, and upload voice messaging packet extremely described server according to prefixed time interval, Wherein, the voice messaging packet every time sent gets in including the preset time period that described prefixed time interval is corresponding Voice content, the second request serial number that described speech identity mark and described terminal unit distribute in order;
After all voice contents having uploaded this input of user being detected, send and upload ending request packet to described clothes Business device, wherein, described in upload ending request packet include described speech identity mark and described terminal unit divide in order The 3rd request serial number joined;
Receive the result that described server returns according to the packet received.
Method the most according to claim 1, it is characterised in that described pre-conditioned include:
The voice upload function of described terminal unit is waken up or described terminal unit has detected phonetic entry.
Method the most according to claim 1, it is characterised in that described terminal device information at least includes: terminal unit Identification information.
4. a method of speech processing, for server, it is characterised in that including:
The voice upload request packet that receiving terminal apparatus sends, wherein, described voice upload request packet includes institute State speech identity mark and the first request serial number that terminal unit is this request distribution, and terminal device information;
Receive described terminal unit sending after described voice upload request packet, the language uploaded according to prefixed time interval Sound information packet, wherein, in each voice messaging packet includes the preset time period that described prefixed time interval is corresponding The voice content got, the second request serial number that described speech identity mark and described terminal unit distribute in order;
Receive described terminal unit uploaded user this input all voice contents after, transmission upload ending request number According to bag wherein, upload ending request packet described in and include that described speech identity mark and described terminal unit distribute in order The 3rd request serial number;
According to the described speech identity mark comprised in each packet received and request serial number, each number of sequential processing According to bag;
When all packets of described speech identity mark that comprises after all process terminates being detected, according to described terminal device information Send result to described terminal unit.
Method the most according to claim 4, it is characterised in that described terminal device information at least includes: terminal unit Identification information.
6. a voice processing apparatus, for terminal unit, it is characterised in that including:
First sending module, for when detecting that described terminal unit meets pre-conditioned, sends voice upload request data Bag is to server, and wherein, described voice upload request packet includes the voice that described terminal unit is this request distribution Identity and the first request serial number, and terminal device information;
Second sending module, for obtaining the voice content of user's input, and uploads voice messaging number according to prefixed time interval According to bag to described server, wherein, the voice messaging packet every time sent includes corresponding pre-of described prefixed time interval If the voice content got in the time period, the second request that described speech identity mark and described terminal unit distribute in order Serial number;
3rd sending module, for after all voice contents having uploaded this input of user being detected, sends and uploads end Request data package is to described server, wherein, described in upload ending request packet and include described speech identity mark and institute State the 3rd request serial number that terminal unit distributes in order;
Receiver module, for receiving the result that described server returns according to the packet received.
Device the most according to claim 6, it is characterised in that described pre-conditioned include:
The voice upload function of described terminal unit is waken up or described terminal unit has detected phonetic entry.
Device the most according to claim 6, it is characterised in that described terminal device information at least includes: terminal unit Identification information.
9. a voice processing apparatus, for server, it is characterised in that including:
First receiver module, the voice upload request packet sent for receiving terminal apparatus, wherein, described voice is uploaded please Described terminal unit is that the speech identity that this request distributes identifies and the first request serial number to ask packet to include, and eventually End facility information;
Second receiver module, is used for receiving described terminal unit after sending described voice upload request packet, according in advance If the voice messaging packet that time interval is uploaded, wherein, each voice messaging packet includes described prefixed time interval The voice content got in corresponding preset time period, described speech identity mark and described terminal unit distribute in order Second request serial number;
3rd receiver module, for receive described terminal unit uploaded user this input all voice contents after, send out That send uploads ending request packet wherein, described in upload ending request packet include described speech identity mark and described The 3rd request serial number that terminal unit distributes in order;
Processing module, for identifying and request serial number according to the described speech identity comprised in each packet received, Each packet of sequential processing;
Sending module, for all comprising packet that described speech identity identifies after all process terminates, according to institute when detecting State terminal device information and send result to described terminal unit.
Device the most according to claim 9, it is characterised in that described terminal device information at least includes: terminal unit Identification information.
CN201610658349.3A 2016-08-11 2016-08-11 Method of speech processing and device Pending CN106302437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610658349.3A CN106302437A (en) 2016-08-11 2016-08-11 Method of speech processing and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610658349.3A CN106302437A (en) 2016-08-11 2016-08-11 Method of speech processing and device

Publications (1)

Publication Number Publication Date
CN106302437A true CN106302437A (en) 2017-01-04

Family

ID=57669201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610658349.3A Pending CN106302437A (en) 2016-08-11 2016-08-11 Method of speech processing and device

Country Status (1)

Country Link
CN (1) CN106302437A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274882A (en) * 2017-08-08 2017-10-20 腾讯科技(深圳)有限公司 Data transmission method and device
CN111309763A (en) * 2018-12-11 2020-06-19 英业达科技有限公司 Input system with batch transmission function and method thereof
CN111464644A (en) * 2020-04-01 2020-07-28 北京声智科技有限公司 Data transmission method and electronic equipment
CN114267358A (en) * 2021-12-17 2022-04-01 北京百度网讯科技有限公司 Audio processing method, device, apparatus, storage medium, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009504A (en) * 2006-12-08 2007-08-01 北京科技大学 A purple-bee technology-based voice transfer recovery system and method
CN101820590A (en) * 2009-02-27 2010-09-01 王建宁 Method and mobile communication device for sending and receiving voice message through text message channel
CN102685143A (en) * 2012-05-23 2012-09-19 北京新媒传信科技有限公司 Audio data transmission method, client side and server
CN104123942A (en) * 2014-07-30 2014-10-29 腾讯科技(深圳)有限公司 Voice recognition method and system
CN104143333A (en) * 2013-05-10 2014-11-12 腾讯科技(深圳)有限公司 Audio transmission method, client and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009504A (en) * 2006-12-08 2007-08-01 北京科技大学 A purple-bee technology-based voice transfer recovery system and method
CN101820590A (en) * 2009-02-27 2010-09-01 王建宁 Method and mobile communication device for sending and receiving voice message through text message channel
CN102685143A (en) * 2012-05-23 2012-09-19 北京新媒传信科技有限公司 Audio data transmission method, client side and server
CN104143333A (en) * 2013-05-10 2014-11-12 腾讯科技(深圳)有限公司 Audio transmission method, client and terminal device
CN104123942A (en) * 2014-07-30 2014-10-29 腾讯科技(深圳)有限公司 Voice recognition method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274882A (en) * 2017-08-08 2017-10-20 腾讯科技(深圳)有限公司 Data transmission method and device
CN111309763A (en) * 2018-12-11 2020-06-19 英业达科技有限公司 Input system with batch transmission function and method thereof
CN111309763B (en) * 2018-12-11 2023-10-27 英业达科技有限公司 Input system with batch transmission function and method thereof
CN111464644A (en) * 2020-04-01 2020-07-28 北京声智科技有限公司 Data transmission method and electronic equipment
CN114267358A (en) * 2021-12-17 2022-04-01 北京百度网讯科技有限公司 Audio processing method, device, apparatus, storage medium, and program
CN114267358B (en) * 2021-12-17 2023-12-12 北京百度网讯科技有限公司 Audio processing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
JP7112919B2 (en) Smart device task processing method and device
US8065367B1 (en) Method and apparatus for scheduling requests during presentations
CN106302437A (en) Method of speech processing and device
CN107731229B (en) Method and apparatus for recognizing speech
CN103885426B (en) Control method, client, server, intermediate equipment and the controlled device of equipment
CN111163130B (en) Network service system and data transmission method thereof
RU2013155598A (en) COMMUNICATION SYSTEM USING MULTIPLE DATA TYPES
CN109995877A (en) Information-pushing method and device
US20150264095A1 (en) Web service push method and web service push server and web service providing server performing same
US20220043898A1 (en) Methods and apparatuses for acquiring information
CN109862100B (en) Method and device for pushing information
CN106533932A (en) Method and device for pushing instant message
CN110084317B (en) Method and device for recognizing images
CN106358065A (en) Multimedia information processing method and system
CN109510881A (en) Method, apparatus, electronic equipment and the readable storage medium storing program for executing of sharing files
CN107493203A (en) DPI rules delivery method and device
CN108549586B (en) Information processing method and device
WO2017054510A1 (en) Data communication method, apparatus and system in communication process
CN111314439A (en) Data sending method and device and electronic equipment
CN108023941A (en) Sound control method and device and electronic equipment
US20200259838A1 (en) Right control method and apparatus for terminal device
WO2017080450A1 (en) Multi-media data download method, client, server, system and storage medium
CN106558313A (en) Audio recognition method and device
CN105511961B (en) A kind of data transmission method for uplink and terminal
CN106161356B (en) Method and system for rapidly logging in website through client

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: 20170104

RJ01 Rejection of invention patent application after publication