CN110445941A - Response timeout treatment method and apparatus - Google Patents
Response timeout treatment method and apparatus Download PDFInfo
- Publication number
- CN110445941A CN110445941A CN201910759193.1A CN201910759193A CN110445941A CN 110445941 A CN110445941 A CN 110445941A CN 201910759193 A CN201910759193 A CN 201910759193A CN 110445941 A CN110445941 A CN 110445941A
- Authority
- CN
- China
- Prior art keywords
- speech recognition
- timeout treatment
- response timeout
- recognition result
- preset duration
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/487—Arrangements for providing information services, e.g. recorded voice services or time announcements
- H04M3/493—Interactive information services, e.g. directory enquiries ; Arrangements therefor, e.g. interactive voice response [IVR] systems or voice portals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
- H04M3/50—Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
- H04M3/51—Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing
- H04M3/5166—Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing in combination with interactive voice response systems or voice portals, e.g. as front-ends
Abstract
The embodiment of the present invention provides a kind of response timeout treatment method and apparatus.The described method includes: obtaining the voice flow of user terminal;Speech recognition is carried out to the voice flow;Judge whether obtain speech recognition result before preset duration time-out;Overtime process is executed according to judging result, or continues call flow.The embodiment of the present invention user can be confirmed whether answering, avoid the long-time obstruction of phone, improve resource utilization ratio for a long time in the case where do not have response under intelligent outgoing call scene to user.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of response timeout treatment method and apparatus.
Background technique
Currently, intelligent outgoing call is increasingly received by the market, intelligent outgoing call can active outgoing call client, casting true man's sounding
Voice messaging carries out more wheel speech exchanges with client, and client can hang up or access operator attendance, intelligent outgoing call according to prompt tone
Appearance open electricity pin and customer service the revolution epoch.
FreeSWITCH is the solution of a phone soft switch, and FreeSWITCH can build a calling system,
Realize networking client, analog phone, the mutual number dialing telephone call between mobile phone.Utilize outgoing call dialer under FreeSWITCH platform
It builds the outer calling platform of an intelligence, can be realized many very popular industrial applications.However it uses outside FreeSwitch
Exhaled following defect: if user's not answer content always, phone can rest on always in call and can not continue or
It hangs up, could only stop until reaching in the max-timeout time limit of FreeSwitch system, electricity before the max-timeout time limit reaches
Words waste system resource all in blocked state.
Summary of the invention
For prior art problem, the embodiment of the present invention provides a kind of response timeout treatment method and apparatus.
The embodiment of the present invention provides a kind of response timeout treatment method, which comprises
Obtain the voice flow of user terminal;
Speech recognition is carried out to the voice flow;
Judge whether obtain speech recognition result before preset duration time-out;
Overtime process is executed according to judging result, or continues call flow.
The embodiment of the present invention provides a kind of response timeout treatment device, and described device includes:
Acquiring unit, for obtaining the voice flow of user terminal;
Recognition unit, for carrying out speech recognition to the voice flow;
Judging unit, for judging whether obtain speech recognition result before preset duration time-out;
Processing unit is used to execute overtime process according to judging result, or continues call flow.
The embodiment of the present invention also provides a kind of electronic equipment, including memory, processor and storage are on a memory simultaneously
The computer program that can be run on a processor, the processor realize above-mentioned response timeout treatment side when executing described program
Method.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with computer program,
Above-mentioned response timeout treatment method is realized when described program is executed by processor.
Response timeout treatment method and apparatus provided in an embodiment of the present invention, by carrying out voice knowledge to user speech stream
Not, judge whether obtain speech recognition result in preset duration, determine whether user has response, it can be in intelligent outgoing call scene
In the case that lower user does not have response for a long time, it is confirmed whether answering to user, avoids the long-time obstruction of phone, improve
Resource utilization ratio.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram for the response timeout treatment method that one embodiment of the invention provides;
Fig. 2 is the flow diagram for the response timeout treatment method that one embodiment of the invention provides;
Fig. 3 is the structural schematic diagram for the response timeout treatment device that one embodiment of the invention provides;
Fig. 4 is the structural schematic diagram for the electronic equipment that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of flow diagram of response timeout treatment method provided in an embodiment of the present invention.
As shown in Figure 1, the described method comprises the following steps:
S11, the voice flow for obtaining user terminal;
Specifically, after breathing out by outer calling platform, the voice stream data of user is obtained.In embodiment, it can pass through
FreeSWITCH platform is to user's outbound calling, the Event Socket (thing that monitoring is made a phone call provided by FreeSWITCH
Part) monitoring telephone obtains user speech stream.
S12, speech recognition is carried out to the voice flow;
Specifically, by carrying out speech recognition to the user speech stream of acquisition, user speech is converted into text.
S13, judge whether obtain speech recognition result before preset duration time-out;
Specifically, it if user never has response, is waited for, speech recognition result is sky.Pass through timer
Periodically, judge the result that speech recognition whether is obtained before timer expiry.
S14, overtime process is executed according to judging result, or continues call flow.
Specifically, by whether obtaining speech recognition result before judging timer expiry, determine user in the preset time
Inside whether there is response, to be confirmed whether answering or continuing communication process to user.
Response timeout treatment method provided in an embodiment of the present invention, by carrying out speech recognition, judgement to user speech stream
Whether obtain speech recognition result in preset duration, determine whether user has response, can under intelligent outgoing call scene user
For a long time without being confirmed whether answering to user in the case where response, the long-time obstruction of phone is avoided, system money is improved
Source utilization rate.
On the basis of the above embodiments, step S14 includes:
If not obtaining institute's speech recognition result before the preset duration time-out, overtime process is executed.
Specifically, if not obtaining speech recognition result before timer expiry, user never has response, executes at this time
Overtime process, to confirm whether user is answering.
On the basis of the above embodiments, if described do not obtain the speech recognition knot before the preset duration time-out
Fruit, then executing overtime process includes:
Confirmation message is sent to the user terminal, or is hung up the telephone.
Specifically, overtime process is to send confirmation message to user, judges whether user is answering.If long in overtime process
Time again without response, then hangs up the telephone.
On the basis of the above embodiments, step S14 further include:
If obtaining institute's speech recognition result before the preset duration time-out, continue call flow.
Specifically, if having obtained speech recognition result before timer expiry, continue call flow.
Fig. 2 shows the flow diagrams for the response timeout treatment method that further embodiment of this invention provides.
As shown in Fig. 2, specifically includes the following steps:
Obtain user speech flow data;
Timer starts timing, and carries out speech recognition to voice flow;
Before timer expiry, speech recognition result is obtained, judges whether recognition result is empty;
If recognition result is sky, overtime process is carried out;
If recognition result is not sky, call flow is carried out according to recognition result.
Specifically, using Java language, the implementation method of above-mentioned process is realized with the Java support module of freeswitch
It is as follows:
1, flow of presentation uses Java language, uses esl+freeswitch+mrcp (intelligent call center mrcp
Server the phone process of outgoing call) is realized.
2, esl+freeswitch+mrcp service is built, guarantees that the sofia script for calling freeswicth can breathe out electricity
Words.
3, the mod_java script module for writing freeswitch, it is newly-built in the place for needing to start speech recognition
The thread of Callable-FutureTask, interior execute " play_and_detect_speech " of thread starts to identify voice, and returns
Return the result " detect_speech_result " of speech recognition.
4, recognition result is obtained using FutureTask.get (Long timeout, TimeUnit unit), if dished out
TimeoutException, then it represents that user does not answer at the appointed time, carries out overtime flow processing;Normally get knowledge
Not as a result, then carrying out normal follow-up process processing.
It should be noted that above-mentioned process is realized using the Java support module of freeswitch, in specific implementation process
In, use other solution modules such as Timer, Callable, Future and FutureTask etc. in Java language
Realize above-mentioned process.
Fig. 3 shows a kind of structural schematic diagram of response timeout treatment device provided in an embodiment of the present invention.
As shown in figure 3, described device further include: acquiring unit 11, recognition unit 12, judging unit 13 and processing unit list
Member 14, in which:
The acquiring unit 11, for obtaining the voice flow of user terminal;
Specifically, after breathing out by outer calling platform, the voice stream data of user is obtained.In embodiment, it can pass through
FreeSWITCH platform is to user's outbound calling, the Event Socket (thing that monitoring is made a phone call provided by FreeSWITCH
Part) monitoring telephone obtains user speech stream.
The recognition unit 12, for carrying out speech recognition to the voice flow;
Specifically, by carrying out speech recognition to the user speech stream of acquisition, user speech is converted into text.
The judging unit 13, for judging whether obtain speech recognition result before preset duration time-out;
Specifically, it if user never has response, is waited for, speech recognition result is sky.Pass through timer
Periodically, judge the result that speech recognition whether is obtained before timer expiry.
The processing unit 14 is used to execute overtime process according to judging result, or continues call flow.
Specifically, by whether obtaining speech recognition result before judging timer expiry, determine user in the preset time
Inside whether there is response, to be confirmed whether answering or continuing communication process to user.
Response timeout treatment device provided in an embodiment of the present invention, by carrying out speech recognition, judgement to user speech stream
Whether obtain speech recognition result in preset duration, determine whether user has response, can under intelligent outgoing call scene user
For a long time without being confirmed whether answering to user in the case where response, the long-time obstruction of phone is avoided, system money is improved
Source utilization rate.
On the basis of the above embodiments, the processing unit 14 includes:
First processing module, if being held for not obtaining institute's speech recognition result before the preset duration time-out
Row time-out process.
Specifically, if not obtaining speech recognition result before timer expiry, user never has response, executes at this time
Overtime process, to confirm whether user is answering.
On the basis of the above embodiments, the first processing module is specifically used for sending confirmation to the user terminal
Message, or hang up the telephone.
Specifically, overtime process is to send confirmation message to user, judges whether user is answering.If long in overtime process
Time again without response, then hangs up the telephone.
On the basis of the above embodiments, the processing unit 14 further include:
Second processing module, if for obtaining institute's speech recognition result before preset duration time-out, continue into
Row call flow.
Specifically, if having obtained speech recognition result before timer expiry, continue call flow.
Fig. 4 illustrates the entity structure schematic diagram of a kind of electronic equipment, as shown in figure 4, the electronic equipment may include: place
Manage device (processor) 41, communication interface (Communications Interface) 42, memory (memory) 43 and communication
Bus 44, wherein processor 41, communication interface 42, memory 43 complete mutual communication by communication bus 44.Processor
41 can call the logical order in memory 43, to execute following method:
Obtain the voice flow of user terminal;
Speech recognition is carried out to the voice flow;
Judge whether obtain speech recognition result before preset duration time-out;
Overtime process is executed according to judging result, or continues call flow.
In addition, the logical order in above-mentioned memory 43 can be realized and as only by way of SFU software functional unit
Vertical product when selling or using, can store in a computer readable storage medium.Based on this understanding, this hair
Substantially the part of the part that contributes to existing technology or the technical solution can be with soft in other words for bright technical solution
The form of part product embodies, which is stored in a storage medium, including some instructions are to make
It obtains a computer equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment of the present invention
The all or part of the steps of the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various
It can store the medium of program code.
On the other hand, the embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with meter
Calculation machine program, which is implemented to carry out the various embodiments described above offer method when being executed by processor, for example,
Obtain the voice flow of user terminal;
Speech recognition is carried out to the voice flow;
Judge whether obtain speech recognition result before preset duration time-out;
Overtime process is executed according to judging result, or continues call flow.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (10)
1. a kind of response timeout treatment method, which is characterized in that the described method includes:
Obtain the voice flow of user terminal;
Speech recognition is carried out to the voice flow;
Judge whether obtain speech recognition result before preset duration time-out;
Overtime process is executed according to judging result, or continues call flow.
2. response timeout treatment method according to claim 1, which is characterized in that described to execute time-out according to judging result
Process, or continue call flow and include:
If not obtaining institute's speech recognition result before the preset duration time-out, overtime process is executed.
3. response timeout treatment method according to claim 2, which is characterized in that if described in the preset duration time-out
Preceding not obtain institute's speech recognition result, then executing overtime process includes:
Confirmation message is sent to the user terminal, or is hung up the telephone.
4. response timeout treatment method according to claim 1, which is characterized in that described to execute time-out according to judging result
Process, or continue call flow further include:
If obtaining institute's speech recognition result before the preset duration time-out, continue call flow.
5. a kind of response timeout treatment device, which is characterized in that described device includes:
Acquiring unit, for obtaining the voice flow of user terminal;
Recognition unit, for carrying out speech recognition to the voice flow;
Judging unit, for judging whether obtain speech recognition result before preset duration time-out;
Processing unit is used to execute overtime process according to judging result, or continues call flow.
6. response timeout treatment device according to claim 5, which is characterized in that the processing unit includes:
First processing module, if being executed super for not obtaining institute's speech recognition result before the preset duration time-out
Shi Liucheng.
7. response timeout treatment device according to claim 6, which is characterized in that the first processing module, for
The user terminal sends confirmation message, or hangs up the telephone.
8. response timeout treatment device according to claim 5, which is characterized in that the processing unit further include:
Second processing module, if continuing to lead to for obtaining institute's speech recognition result before the preset duration time-out
Talk about process.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes that response is super as described in any one of Claims 1-4 when executing described program
When processing method the step of.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer
It is realized when program is executed by processor as described in any one of Claims 1-4 the step of response timeout treatment method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910759193.1A CN110445941A (en) | 2019-08-16 | 2019-08-16 | Response timeout treatment method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910759193.1A CN110445941A (en) | 2019-08-16 | 2019-08-16 | Response timeout treatment method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110445941A true CN110445941A (en) | 2019-11-12 |
Family
ID=68436064
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910759193.1A Withdrawn CN110445941A (en) | 2019-08-16 | 2019-08-16 | Response timeout treatment method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110445941A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580714A (en) * | 2014-12-29 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
US20150271328A1 (en) * | 2007-04-04 | 2015-09-24 | At&T Intellectual Property Ii, L.P. | System And Method For Prompt Modification Based on Caller Hang Ups in IVRs |
CN107786723A (en) * | 2016-08-30 | 2018-03-09 | 南京中兴软件有限责任公司 | Terminate the method, apparatus and terminal of call |
CN107968897A (en) * | 2017-11-03 | 2018-04-27 | 平安科技(深圳)有限公司 | Customer service session distribution method, electronic device and computer-readable recording medium |
CN107995377A (en) * | 2017-11-03 | 2018-05-04 | 平安科技(深圳)有限公司 | Customer service management method, electronic device and computer-readable recording medium |
CN108471478A (en) * | 2018-03-13 | 2018-08-31 | 杭州声讯网络科技有限公司 | A method of improving telephone outbound call efficiency |
CN109670021A (en) * | 2018-12-12 | 2019-04-23 | 安徽讯呼信息科技有限公司 | It is a kind of freely to circulate and the customer service system of custom field |
-
2019
- 2019-08-16 CN CN201910759193.1A patent/CN110445941A/en not_active Withdrawn
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150271328A1 (en) * | 2007-04-04 | 2015-09-24 | At&T Intellectual Property Ii, L.P. | System And Method For Prompt Modification Based on Caller Hang Ups in IVRs |
CN104580714A (en) * | 2014-12-29 | 2015-04-29 | 深圳市金立通信设备有限公司 | Terminal |
CN107786723A (en) * | 2016-08-30 | 2018-03-09 | 南京中兴软件有限责任公司 | Terminate the method, apparatus and terminal of call |
CN107968897A (en) * | 2017-11-03 | 2018-04-27 | 平安科技(深圳)有限公司 | Customer service session distribution method, electronic device and computer-readable recording medium |
CN107995377A (en) * | 2017-11-03 | 2018-05-04 | 平安科技(深圳)有限公司 | Customer service management method, electronic device and computer-readable recording medium |
CN108471478A (en) * | 2018-03-13 | 2018-08-31 | 杭州声讯网络科技有限公司 | A method of improving telephone outbound call efficiency |
CN109670021A (en) * | 2018-12-12 | 2019-04-23 | 安徽讯呼信息科技有限公司 | It is a kind of freely to circulate and the customer service system of custom field |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105979107B (en) | Automatic outer call method and system based on speech recognition | |
CN109240791A (en) | A kind of application program display methods, application program display device and mobile terminal | |
CA2947242C (en) | Voice call diversion to alternate communication method | |
US20100278325A1 (en) | Annoying Telephone-Call Prediction and Prevention | |
CN105871683A (en) | Video message leaving method, video message leaving device, terminal and server | |
US11895061B2 (en) | Dynamic prioritization of collaboration between human and virtual agents | |
CN107864297A (en) | Group's adding method, device, terminal and storage medium | |
CN109962893A (en) | A kind of intelligent call method and its relevant device | |
US9602666B2 (en) | Silence density models | |
CN110225559A (en) | A kind of call control method, device, equipment and storage medium | |
CN112995422A (en) | Call control method and device, electronic equipment and storage medium | |
CN110445941A (en) | Response timeout treatment method and apparatus | |
CN103813031B (en) | Call processing method and device | |
CN113746992B (en) | Automatic outbound system, outbound method thereof, electronic device and computer storage medium | |
CN105430148B (en) | Voice leaving method, device and the smartwatch of smartwatch | |
CN112019391B (en) | Terminal network setting method, device, system and storage medium | |
CN115914466B (en) | Voice interaction method and device based on voice stream robot and storage medium | |
CN110475026A (en) | Incoming call sound method, apparatus, terminal and computer readable storage medium | |
CN110324277A (en) | Connection method, device, storage medium and the electronic device of real time communication | |
CN113055279B (en) | Instant text RTT call method, terminal, system and storage medium | |
CN110611731A (en) | Method and device for resisting malicious call | |
CN115514622B (en) | Interactive object processing method, network communication system, device and storage medium | |
CN108234780A (en) | Call processing method, device, terminal and storage medium | |
CN114979992B (en) | Call state determining method and device | |
US20220311811A1 (en) | Personalized action reminders and dynamic injection of information in a cellular network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20191112 |