Movatterモバイル変換


[0]ホーム

URL:


CN110445941A - Response timeout treatment method and apparatus - Google Patents

Response timeout treatment method and apparatus
Download PDF

Info

Publication number
CN110445941A
CN110445941ACN201910759193.1ACN201910759193ACN110445941ACN 110445941 ACN110445941 ACN 110445941ACN 201910759193 ACN201910759193 ACN 201910759193ACN 110445941 ACN110445941 ACN 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
Application number
CN201910759193.1A
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 KONGZHONG MESSENGER INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING KONGZHONG MESSENGER 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 KONGZHONG MESSENGER INFORMATION TECHNOLOGY Co LtdfiledCriticalBEIJING KONGZHONG MESSENGER INFORMATION TECHNOLOGY Co Ltd
Priority to CN201910759193.1ApriorityCriticalpatent/CN110445941A/en
Publication of CN110445941ApublicationCriticalpatent/CN110445941A/en
Withdrawnlegal-statusCriticalCurrent

Links

Classifications

Landscapes

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

Response timeout treatment method and apparatus
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 soundingVoice messaging carries out more wheel speech exchanges with client, and client can hang up or access operator attendance, intelligent outgoing call according to prompt toneAppearance 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 platformIt builds the outer calling platform of an intelligence, can be realized many very popular industrial applications.However it uses outside FreeSwitchExhaled following defect: if user's not answer content always, phone can rest on always in call and can not continue orIt hangs up, could only stop until reaching in the max-timeout time limit of FreeSwitch system, electricity before the max-timeout time limit reachesWords 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 simultaneouslyThe computer program that can be run on a processor, the processor realize above-mentioned response timeout treatment side when executing described programMethod.
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 streamNot, judge whether obtain speech recognition result in preset duration, determine whether user has response, it can be in intelligent outgoing call sceneIn 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, improveResource 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 belowThere 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 hairBright some embodiments for those of ordinary skill in the art without creative efforts, can be with rootOther 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 inventionIn attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment isA 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 artEvery 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 throughFreeSWITCH platform is to user's outbound calling, the Event Socket (thing that monitoring is made a phone call provided by FreeSWITCHPart) 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 timerPeriodically, 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 timeInside 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 streamWhether obtain speech recognition result in preset duration, determine whether user has response, can under intelligent outgoing call scene userFor 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 improvedSource 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 timeOvertime 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-outFruit, 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 processTime 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 freeswitchIt is as follows:
1, flow of presentation uses Java language, uses esl+freeswitch+mrcp (intelligent call center mrcpServer 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 electricityWords.
3, the mod_java script module for writing freeswitch, it is newly-built in the place for needing to start speech recognitionThe thread of Callable-FutureTask, interior execute " play_and_detect_speech " of thread starts to identify voice, and returnsReturn the result " detect_speech_result " of speech recognition.
4, recognition result is obtained using FutureTask.get (Long timeout, TimeUnit unit), if dished outTimeoutException, then it represents that user does not answer at the appointed time, carries out overtime flow processing;Normally get knowledgeNot 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 processIn, use other solution modules such as Timer, Callable, Future and FutureTask etc. in Java languageRealize 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 listMember 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 throughFreeSWITCH platform is to user's outbound calling, the Event Socket (thing that monitoring is made a phone call provided by FreeSWITCHPart) 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 timerPeriodically, 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 timeInside 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 streamWhether obtain speech recognition result in preset duration, determine whether user has response, can under intelligent outgoing call scene userFor 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 improvedSource 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-outRow time-out process.
Specifically, if not obtaining speech recognition result before timer expiry, user never has response, executes at this timeOvertime 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 terminalMessage, or hang up the telephone.
Specifically, overtime process is to send confirmation message to user, judges whether user is answering.If long in overtime processTime 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 intoRow 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: placeManage device (processor) 41, communication interface (Communications Interface) 42, memory (memory) 43 and communicationBus 44, wherein processor 41, communication interface 42, memory 43 complete mutual communication by communication bus 44.Processor41 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 unitVertical product when selling or using, can store in a computer readable storage medium.Based on this understanding, this hairSubstantially the part of the part that contributes to existing technology or the technical solution can be with soft in other words for bright technical solutionThe form of part product embodies, which is stored in a storage medium, including some instructions are to makeIt obtains a computer equipment (can be personal computer, server or the network equipment etc.) and executes each embodiment of the present inventionThe 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 variousIt 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 meterCalculation 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 memberIt is physically separated with being or may not be, component shown as a unit may or may not be physics listMember, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needsIn 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 creativenessLabour 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 canIt realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, onStating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, shouldComputer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingersIt enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementationMethod 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;AlthoughPresent invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be usedTo 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 andRange.

Claims (10)

CN201910759193.1A2019-08-162019-08-16Response timeout treatment method and apparatusWithdrawnCN110445941A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910759193.1ACN110445941A (en)2019-08-162019-08-16Response timeout treatment method and apparatus

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910759193.1ACN110445941A (en)2019-08-162019-08-16Response timeout treatment method and apparatus

Publications (1)

Publication NumberPublication Date
CN110445941Atrue CN110445941A (en)2019-11-12

Family

ID=68436064

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910759193.1AWithdrawnCN110445941A (en)2019-08-162019-08-16Response timeout treatment method and apparatus

Country Status (1)

CountryLink
CN (1)CN110445941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119544873A (en)*2024-11-262025-02-28普强时代(珠海横琴)信息技术有限公司 Method and system for intelligent outbound calling robot to automatically identify the telephone status of virtual number

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104580714A (en)*2014-12-292015-04-29深圳市金立通信设备有限公司Terminal
US20150271328A1 (en)*2007-04-042015-09-24At&T Intellectual Property Ii, L.P.System And Method For Prompt Modification Based on Caller Hang Ups in IVRs
CN107786723A (en)*2016-08-302018-03-09南京中兴软件有限责任公司Terminate the method, apparatus and terminal of call
CN107968897A (en)*2017-11-032018-04-27平安科技(深圳)有限公司Customer service session distribution method, electronic device and computer-readable recording medium
CN107995377A (en)*2017-11-032018-05-04平安科技(深圳)有限公司Customer service management method, electronic device and computer-readable recording medium
CN108471478A (en)*2018-03-132018-08-31杭州声讯网络科技有限公司A method of improving telephone outbound call efficiency
CN109670021A (en)*2018-12-122019-04-23安徽讯呼信息科技有限公司It is a kind of freely to circulate and the customer service system of custom field

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20150271328A1 (en)*2007-04-042015-09-24At&T Intellectual Property Ii, L.P.System And Method For Prompt Modification Based on Caller Hang Ups in IVRs
CN104580714A (en)*2014-12-292015-04-29深圳市金立通信设备有限公司Terminal
CN107786723A (en)*2016-08-302018-03-09南京中兴软件有限责任公司Terminate the method, apparatus and terminal of call
CN107968897A (en)*2017-11-032018-04-27平安科技(深圳)有限公司Customer service session distribution method, electronic device and computer-readable recording medium
CN107995377A (en)*2017-11-032018-05-04平安科技(深圳)有限公司Customer service management method, electronic device and computer-readable recording medium
CN108471478A (en)*2018-03-132018-08-31杭州声讯网络科技有限公司A method of improving telephone outbound call efficiency
CN109670021A (en)*2018-12-122019-04-23安徽讯呼信息科技有限公司It is a kind of freely to circulate and the customer service system of custom field

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119544873A (en)*2024-11-262025-02-28普强时代(珠海横琴)信息技术有限公司 Method and system for intelligent outbound calling robot to automatically identify the telephone status of virtual number

Similar Documents

PublicationPublication DateTitle
GB2406744A (en)Monitoring a data session and engaging a third party dependent on the monitoring.
CN105979107B (en)Automatic outer call method and system based on speech recognition
US9602666B2 (en)Silence density models
CA2484005A1 (en)Method and apparatus for distributed interactive voice processing
CN109240791A (en)Application program display method, application program display device and mobile terminal
GB2470102A (en)Annoying telephone call prediction and prevention
WO2022265990A1 (en)Dynamic prioritization of collaboration between human and virtual agents
US20150312416A1 (en)Voice call diversion to alternate communication method
CN103354667B (en)Talking connection processing method and processing device
CN109962893A (en)A kind of intelligent call method and its relevant device
CN106713674B (en)Call processing method and incoming call handling device
CN106550082A (en)The method and apparatus that a kind of use voice assistant application is dialled
CN109005107B (en)Communication method, intelligent terminal and device with storage function
CN110445941A (en)Response timeout treatment method and apparatus
CN113746992B (en)Automatic outbound system, outbound method thereof, electronic device and computer storage medium
CN103167121A (en)System and method of rapidly saving contact during mobile phone call process
CN113793020B (en)Traffic scheduling and splitting method, device, electronic equipment and computer storage medium
US12120157B2 (en)Personalized action reminders and dynamic injection of information in a cellular network
CN112738349B (en)Method for controlling telephone state of seat end in bidirectional outbound mode
CN105554233A (en)Outgoing call prompting method and terminal
CN108924330A (en)Information processing method, device and electronic equipment
CN106713630A (en)control method and device of communication terminal
CN117294793A (en)Method, system and storage medium for reducing outbound call loss
CN105227780B (en)Processing incoming call and terminal
CN108234780A (en)Call processing method, device, terminal and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
WW01Invention patent application withdrawn after publication
WW01Invention patent application withdrawn after publication

Application publication date:20191112


[8]ページ先頭

©2009-2025 Movatter.jp