CN115334455A - Position determining method and device based on voice recognition and electronic equipment - Google Patents
Position determining method and device based on voice recognition and electronic equipment Download PDFInfo
- Publication number
- CN115334455A CN115334455A CN202210945326.6A CN202210945326A CN115334455A CN 115334455 A CN115334455 A CN 115334455A CN 202210945326 A CN202210945326 A CN 202210945326A CN 115334455 A CN115334455 A CN 115334455A
- Authority
- CN
- China
- Prior art keywords
- answer
- speech
- robot
- threshold
- matching
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000013515 script Methods 0.000 claims description 17
- 230000008569 process Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 12
- 238000000605 extraction Methods 0.000 claims description 10
- 239000002699 waste material Substances 0.000 abstract description 5
- 238000012545 processing Methods 0.000 description 13
- 230000006854 communication Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 7
- 230000008676 import Effects 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 230000000007 visual effect Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 238000007667 floating Methods 0.000 description 2
- 230000014509 gene expression Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 1
- 240000005373 Panax quinquefolius Species 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/26—Speech to text systems
-
- 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/527—Centralised call answering arrangements not requiring operator intervention
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Human Computer Interaction (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Tourism & Hospitality (AREA)
- Educational Administration (AREA)
- Development Economics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Manipulator (AREA)
Abstract
本发明公开了一种基于语音识别的位置确定方法、装置以及电子设备。该方法包括:获取目标通讯录,其中目标通讯录中包含多个号码;为目标通讯录中每一个号码配置话术模板和机器人;控制每一个机器人对对应的号码进行语音呼叫;在语音呼叫被成功接通的情况下,控制每一个机器人根据话术模板进行位置确定工作,得到每一个号码对应的用户的位置信息,生成报告。本发明解决了传统的位置确定方法因数据庞大导致的效率低,浪费人力的技术问题。
The invention discloses a method, device and electronic equipment for position determination based on speech recognition. The method includes: acquiring a target address book, wherein the target address book contains multiple numbers; configuring a speech template and a robot for each number in the target address book; controlling each robot to make a voice call to the corresponding number; In the case of successful connection, control each robot to determine the location according to the speech template, obtain the location information of the user corresponding to each number, and generate a report. The invention solves the technical problems of low efficiency and waste of manpower caused by the traditional location determination method due to huge data.
Description
技术领域technical field
本发明涉及计算机领域,具体而言,涉及一种基于语音识别的位置确定方法、装置以及电子设备。The present invention relates to the field of computers, in particular, to a method, device and electronic equipment for determining a location based on speech recognition.
背景技术Background technique
在现有技术中,对于需要确定流动人员的位置信息时,需要通过工作人员对流动人员进行电话沟通,给工作人员产生了巨大工作压力,在工作人员有限的情况下,庞大的数据导致工作效率低,无法满足时效性。In the existing technology, when it is necessary to determine the location information of the floating personnel, it is necessary to communicate with the floating personnel through the staff, which creates a huge work pressure for the staff. In the case of limited staff, the huge data leads to work efficiency. Low, unable to meet the timeliness.
发明内容Contents of the invention
本发明实施例提供了一种基于语音识别的位置确定方法、装置以及电子设备,以至少解决传统的位置确定方法因数据庞大导致的效率低,浪费人力的技术问题。Embodiments of the present invention provide a speech recognition-based location determination method, device, and electronic equipment to at least solve the technical problems of low efficiency and waste of manpower caused by huge data in traditional location determination methods.
根据本发明实施例的一个方面,提供了一种基于语音识别的位置确定方法,包括:获取目标通讯录,其中上述目标通讯录中包含多个号码;为上述目标通讯录中每一个上述号码配置话术模板和机器人;控制每一个上述机器人对对应的上述号码进行语音呼叫;在上述语音呼叫被成功接通的情况下,控制每一个上述机器人根据上述话术模板进行位置确定工作,得到每一个上述号码对应的用户的位置信息,生成报告。According to an aspect of an embodiment of the present invention, a method for determining a location based on speech recognition is provided, including: acquiring a target address book, wherein the target address book contains multiple numbers; configuring each of the numbers in the target address book Speech template and robot; control each of the above-mentioned robots to make a voice call to the corresponding above-mentioned number; in the case that the above-mentioned voice call is successfully connected, control each of the above-mentioned robots to determine the position according to the above-mentioned speech template, and obtain each The location information of the user corresponding to the above number is generated to generate a report.
根据本发明实施例的另一方面,提供了一种基于语音识别的位置确定装置,包括:第一获取模块,用于获取目标通讯录,其中上述目标通讯录中包含多个号码;配置模块,用于为上述目标通讯录中每一个上述号码配置话术模板和机器人;第一控制模块,用于控制每一个上述机器人对对应的上述号码进行语音呼叫;第二控制模块,用于在上述语音呼叫被成功接通的情况下,控制每一个上述机器人根据上述话术模板进行位置确定工作,得到每一个上述号码对应的用户的位置信息,生成上述报告。According to another aspect of the embodiments of the present invention, there is provided a device for determining a location based on speech recognition, including: a first acquisition module, configured to acquire a target address book, wherein the target address book contains multiple numbers; a configuration module, It is used to configure speech templates and robots for each of the above-mentioned numbers in the above-mentioned target address book; the first control module is used to control each of the above-mentioned robots to make voice calls to the corresponding above-mentioned numbers; When the call is successfully connected, each of the above-mentioned robots is controlled to determine the location according to the above-mentioned speech template, obtain the location information of the user corresponding to each of the above-mentioned numbers, and generate the above-mentioned report.
作为一种可选的示例,上述装置还包括:第一获取模块,用于在获取目标通讯录之前获取需要确定位置的号码组;处理模块,用于将上述号码组中每个号码设置为当前号码,对上述当前号码执行如下操作:获取上述当前号码的位数;在上述位数是第一值的情况下,获取上述当前号码的第一位的数值;在上述第一位的数值是第二值的情况下,获取上述当前号码的第二位的数值;在上述第二位的数值不是第三值的情况下,将上述当前号码加入到上述目标通讯录。As an optional example, the above-mentioned device further includes: a first obtaining module, configured to obtain a number group whose location needs to be determined before obtaining the target address book; a processing module, configured to set each number in the above-mentioned number group as the current Number, perform the following operations on the above-mentioned current number: obtain the digit of the above-mentioned current number; if the above-mentioned digit is the first value, obtain the value of the first digit of the above-mentioned current number; the value in the above-mentioned first digit is the first In the case of a binary value, the value of the second digit of the above-mentioned current number is obtained; when the value of the above-mentioned second digit is not the third value, the above-mentioned current number is added to the above-mentioned target address book.
作为一种可选的示例,上述第二控制模块包括:处理单元,用于将每一个上述机器人设置为当前机器人,对上述当前机器人执行如下操作:根据上述话术模板,控制上述当前机器人发出第一话术,以使获得上述用户针对上述第一话术反馈的肯定答语或否定答语或其他答语;获取上述用户根据上述第一话术反馈的第一答语;在上述第一答语为上述肯定答语的情况下,根据上述话术模板,控制上述机器人发出第二话术,以使获取上述用户的位置信息;获取上述用户根据上述第二话术发出的第二答语;从上述第二答语中获取上述位置信息,同时根据上述话术模板,控制上述机器人发出第三话术,以使上述位置确定工作结束,记录上述位置信息,生成上述报告。As an optional example, the above-mentioned second control module includes: a processing unit, configured to set each of the above-mentioned robots as the current robot, and perform the following operations on the above-mentioned current robot: control the above-mentioned current robot to send the first A speech technique, so as to obtain the affirmative answer or negative answer or other answers given by the above-mentioned user to the above-mentioned first speech technique; obtain the first answer given by the above-mentioned user according to the above-mentioned first speech technique; in the above-mentioned first answer In the case where the above-mentioned affirmative answer is used, according to the above-mentioned speech template, control the above-mentioned robot to issue a second speech, so as to obtain the location information of the above-mentioned user; obtain the second answer issued by the above-mentioned user according to the above-mentioned second speech; The location information is obtained from the second answer, and at the same time, according to the speech template, the robot is controlled to issue a third speech, so that the location determination work is completed, the location information is recorded, and the report is generated.
作为一种可选的示例,上述装置还包括:第三控制模块,用于在上述第一答语为上述否定答语或上述其他答语的情况下,根据上述话术模板,控制上述机器人发出上述第三话术,以使上述位置确定工作结束,记录上述位置确定工作未成功,生成上述报告。As an optional example, the above-mentioned device further includes: a third control module, configured to control the above-mentioned robot to issue The above-mentioned third means is to complete the above-mentioned position determination work, record that the above-mentioned position determination work is not successful, and generate the above-mentioned report.
作为一种可选的示例,上述装置还包括:第四控制模块,用于在控制上述机器人发出上述第一话术或上述第二话术或上述第三话术的过程中,被上述用户打断的情况下,控制上述机器人暂停发出上述第一话术或上述第二话术或上述第三话术;第五控制模块,用于设置一个定时器,在上述定时器到达第一时间的的情况下,控制上述机器人继续或重新发出上述第一话术或上述第二话术或上述第三话术。As an optional example, the above-mentioned device further includes: a fourth control module, configured to be activated by the user during the process of controlling the above-mentioned robot to issue the above-mentioned first speech or the above-mentioned second speech or the above-mentioned third speech In the case of interruption, control the above-mentioned robot to suspend sending the above-mentioned first speech or the above-mentioned second speech or the above-mentioned third speech; the fifth control module is used to set a timer, when the above-mentioned timer reaches the first time Under the circumstances, control the above-mentioned robot to continue or reissue the above-mentioned first speech or the above-mentioned second speech or the above-mentioned third speech.
作为一种可选的示例,上述处理单元还包括:在获取上述用户根据上述第一话术反馈的第一答语之后获取答语词库中的肯定词库,否定词库;对上述肯定词库,上述否定词库以及上述第一答语进行特征提取;计算上述第一答语的特征与上述肯定词库的特征的第一匹配度,上述第一答语的特征与上述否定词库的特征的第二匹配度;在上述第一匹配度大于或等于第一阈值,上述第二匹配度小于上述第一阈值的情况下,确定上述第一答语为上述肯定答语;在上述第一匹配度小于上述第一阈值,上述第二匹配度大于或等于上述第一阈值的情况下,确定上述第一答语为上述否定答语;在上述第一匹配度小于上述第一阈值,上述第二匹配度小于上述第一阈值的情况下,确定上述第一答语为上述其他答语。As an optional example, the processing unit further includes: obtaining the affirmative thesaurus and the negative thesaurus in the answer lexicon after obtaining the first answer fed back by the above-mentioned user according to the above-mentioned first speech technique; database, the above-mentioned negative thesaurus and the above-mentioned first answer to carry out feature extraction; calculate the first matching degree between the feature of the above-mentioned first answer and the feature of the above-mentioned affirmative thesaurus, and the feature of the above-mentioned first answer and the above-mentioned negative thesaurus The second matching degree of the feature; when the above-mentioned first matching degree is greater than or equal to the first threshold, and the above-mentioned second matching degree is less than the above-mentioned first threshold, it is determined that the above-mentioned first answer is the above-mentioned positive answer; in the above-mentioned first When the degree of matching is less than the first threshold and the second degree of matching is greater than or equal to the first threshold, it is determined that the first answer is the negative answer; when the first degree of matching is less than the first threshold, the second If the degree of matching between the two is smaller than the above-mentioned first threshold, it is determined that the above-mentioned first answer is the above-mentioned other answer.
作为一种可选的示例,上述处理单元还包括:在上述第一匹配度小于上述阈值,上述第二匹配度小于上述阈值的情况下,获取上述第一答语出现次数;在上述出现次数大于或等于第二阈值的情况下,对上述第一答语进行语义匹配;在上述第一答语被匹配为肯定的情况下,将上述第一答语保存在上述肯定词库;在上述第一答语被匹配为否定的情况下,将上述第一答语保存在上述否定词库。As an optional example, the processing unit further includes: obtaining the number of occurrences of the first answer when the first matching degree is less than the threshold and the second matching degree is less than the threshold; or equal to the second threshold, carry out semantic matching to the above-mentioned first answer; in the case that the above-mentioned first answer is matched as affirmative, save the above-mentioned first answer in the above-mentioned affirmative lexicon; If the answer is matched as negative, the above-mentioned first answer is stored in the above-mentioned negative lexicon.
根据本发明实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被处理器运行时执行上述基于语音识别的位置确定方法。According to yet another aspect of the embodiments of the present invention, there is also provided a storage medium, in which a computer program is stored, wherein, when the computer program is run by a processor, the above method for determining a position based on speech recognition is executed.
根据本发明实施例的又一方面,还提供了一种电子设备,包括存储器和处理器,上述存储器中存储有计算机程序,上述处理器被设置为通过所述计算机程序执行上述的基于语音识别的位置确定方法。According to yet another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to execute the above speech recognition-based The location determination method.
在本发明实施例中,采用了获取目标通讯录,其中上述目标通讯录中包含多个号码;为上述目标通讯录中每一个上述号码配置话术模板和机器人;控制每一个上述机器人对对应的上述号码进行语音呼叫;在上述语音呼叫被成功接通的情况下,控制每一个上述机器人根据上述话术模板进行位置确定工作,得到每一个上述号码对应的用户的位置信息,生成报告的方法,由于在上述方法中,通过用语音识别技术,控制机器人批量同时自动发起语音呼叫,使用真实录音询问位置信息,并根据答语语音,按照话术模板自动跳转逻辑问题,最终将答语语音识别分析,得到用户的位置信息,形成报告,从而实现了位置确定工作的快速高效的目的,进而解决了传统的位置确定方法因数据庞大导致的效率低,浪费人力的技术问题。In the embodiment of the present invention, the acquisition of the target address book is adopted, wherein the above-mentioned target address book contains a plurality of numbers; a speech template and a robot are configured for each of the above-mentioned numbers in the above-mentioned target address book; each of the above-mentioned robots is controlled to correspond to The above-mentioned number makes a voice call; when the above-mentioned voice call is successfully connected, control each of the above-mentioned robots to perform position determination according to the above-mentioned speech template, obtain the location information of the user corresponding to each of the above-mentioned numbers, and generate a report. Because in the above method, through the use of voice recognition technology, the robots are controlled to automatically initiate voice calls in batches at the same time, use real recordings to inquire about location information, and automatically jump to logical questions according to the speech template according to the voice of the answer, and finally recognize the voice of the answer Analyze, obtain the user's location information, and form a report, so as to achieve the purpose of fast and efficient location determination, and then solve the technical problems of low efficiency and waste of manpower caused by the huge data of the traditional location determination method.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1是根据本发明实施例的一种可选的基于语音识别的位置确定方法的流程图;FIG. 1 is a flow chart of an optional speech recognition-based position determination method according to an embodiment of the present invention;
图2是根据本发明实施例的一种可选的基于语音识别的位置确定方法的图;FIG. 2 is a diagram of an optional speech recognition-based position determination method according to an embodiment of the present invention;
图3是根据本发明实施例的一种可选的基于语音识别的位置确定方法的图;Fig. 3 is a diagram of an optional speech recognition-based location determination method according to an embodiment of the present invention;
图4是根据本发明实施例的一种可选的基于语音识别的位置确定方法的图;Fig. 4 is a diagram of an optional speech recognition-based position determination method according to an embodiment of the present invention;
图5是根据本发明实施例的一种可选的基于语音识别的位置确定方法的图;FIG. 5 is a diagram of an optional speech recognition-based location determination method according to an embodiment of the present invention;
图6是根据本发明实施例的一种可选的基于语音识别的位置确定装置的结构示意图;Fig. 6 is a schematic structural diagram of an optional speech recognition-based location determination device according to an embodiment of the present invention;
图7是根据本发明实施例的一种可选的电子设备的示意图。Fig. 7 is a schematic diagram of an optional electronic device according to an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.
根据本发明实施例的第一方面,提供了一种基于语音识别的位置确定方法,可选地,如图1所示,上述方法包括:According to the first aspect of the embodiments of the present invention, a method for determining a position based on speech recognition is provided. Optionally, as shown in FIG. 1 , the above method includes:
S102,获取目标通讯录,其中目标通讯录中包含多个号码;S102, acquiring a target address book, wherein the target address book contains multiple numbers;
S104,为目标通讯录中每一个号码配置话术模板和机器人;S104, configuring a speech template and a robot for each number in the target address book;
S106,控制每一个机器人对对应的号码进行语音呼叫;S106, controlling each robot to make a voice call to the corresponding number;
S108,在语音呼叫被成功接通的情况下,控制每一个机器人根据话术模板进行位置确定工作,得到每一个号码对应的用户的位置信息,生成报告。S108, when the voice call is successfully connected, control each robot to determine the position according to the speech template, obtain the position information of the user corresponding to each number, and generate a report.
可选地,本实施例中,目标通讯录中包含一个或多个需要进行位置确定工作的用户的手机号码。话术模板包括多个节点,每个节点对应一段或一句话术,在机器人说完一段或一句话书后,根据用户的答语,自动跳转到对应的节点,机器人自动说出节点对应的话术。机器人为智能外呼机器人,可以同时大批量进行外呼。Optionally, in this embodiment, the target address book contains one or more mobile phone numbers of users who need to determine the location. The speech template includes multiple nodes, and each node corresponds to a paragraph or a sentence. After the robot finishes speaking a paragraph or a sentence, it will automatically jump to the corresponding node according to the user's answer, and the robot will automatically speak the speech corresponding to the node. . The robot is an intelligent outbound robot that can make outbound calls in large quantities at the same time.
可选地,本实施例中,根据需要确定位置的多个号码中筛选出正确的号码,形成目标通讯录,为目标通讯录中每一个号码配置话术模板和机器人,将每个号码数据发送到对应的机器人,通过网络传送到运营商的数模转换器,即可以通过网络的通话系统对对应的号码进行语音呼叫,用户接通语音呼叫后,每个机器人根据话术模板对每个用户进行位置确定工作,机器人发出话术模板中的每一个问题,记录每个用户针对每个问题发出的答语,从答语中获取每个用户的位置信息,可以包括具体位置信息。根据每个用户的答语生成对应的报告,以便后续位置确定工作人员查看。Optionally, in this embodiment, the correct number is selected from a plurality of numbers whose positions need to be determined to form a target address book, a speech template and a robot are configured for each number in the target address book, and each number data is sent to To the corresponding robot, it is transmitted to the operator’s digital-to-analog converter through the network, that is, it can make a voice call to the corresponding number through the network communication system. After the user connects to the voice call, each robot will respond to each user according to the speech template. To determine the location, the robot sends out each question in the speech template, records each user's answer to each question, and obtains each user's location information from the answer, which can include specific location information. Generate a corresponding report based on each user's answer, so that the subsequent location determination staff can view it.
可选地,本实施例中,通过用语音识别技术,控制机器人批量同时自动发起语音呼叫,使用真实录音询问位置信息,并根据答语语音,按照话术模板自动跳转逻辑问题,最终将答语语音识别分析,得到用户的位置信息,形成报告,从而实现了位置确定工作的快速高效的目的,进而解决了传统的位置确定方法因数据庞大导致的效率低,浪费人力的技术问题。Optionally, in this embodiment, through the use of voice recognition technology, the robots are controlled to automatically initiate voice calls in batches at the same time, use real recordings to inquire about location information, and automatically jump to logical questions according to the speech template according to the voice of the answer, and finally answer the question The user's location information is obtained through speech recognition and analysis, and a report is formed, so as to achieve the purpose of fast and efficient location determination, and then solve the technical problems of low efficiency and waste of manpower caused by the huge data of the traditional location determination method.
作为一种可选的示例,在获取目标通讯录之前还包括:As an optional example, before obtaining the target address book, it also includes:
获取需要确定位置的号码组;Obtain the number group whose location needs to be determined;
将号码组中每个号码设置为当前号码,对当前号码执行如下操作:Set each number in the number group as the current number, and perform the following operations on the current number:
获取当前号码的位数;Get the number of digits in the current number;
在位数是第一值的情况下,获取当前号码的第一位的数值;In the case that the digit is the first value, get the value of the first digit of the current number;
在第一位的数值是第二值的情况下,获取当前号码的第二位的数值;In the case that the value of the first digit is the second value, obtain the value of the second digit of the current number;
在第二位的数值不是第三值的情况下,将当前号码加入到目标通讯录。If the value of the second digit is not the third value, the current number is added to the target address book.
可选地,本实施例中,获取需要确定位置的号码组,号码组中可以包括一个或多个号码,也可能存在错误的号码,为防止机器人呼出错误的号码而浪费时间,首先对号码组中所有号码进行检查,将正确的号码添加到目标通讯录。对每个号码进行检查,例如对第一号码进行检查,获取第一号码的位数,判断第一号码的位数是否为第一值,第一值可以为11位,若第一号码是 11位的情况下,获取第一号码的第一位数,判断第一号码的第一位数是否为第二值,第二值可以为1,若第一号码的第一位数是1的情况下,获取第一号码的第二位数,判断第一号码的第二位数是否为第三值,第三值可以为1 和2,若第一号码的第二位数是3的情况下,确定第一号码为正确的号码,并将第一号码加入到目标通讯录中,若第一号码的位数不是11位,第一号码的第一位数不是1,第一号码的第二位数是1或2的情况下,确定第一号码为错误的号码。Optionally, in this embodiment, the number group whose location needs to be determined is acquired. The number group may include one or more numbers, and there may be wrong numbers. In order to prevent the robot from calling out the wrong number and wasting time, the number group Check all the numbers in , and add the correct number to the target address book. Check each number, for example, check the first number, obtain the digits of the first number, and judge whether the digits of the first number are the first value. The first value can be 11 digits. If the first number is 11 In the case of digits, get the first digit of the first number, and judge whether the first digit of the first number is the second value, the second value can be 1, if the first digit of the first number is 1 Next, get the second digit of the first number, judge whether the second digit of the first number is the third value, the third value can be 1 and 2, if the second digit of the first number is 3 , determine that the first number is the correct number, and add the first number to the target address book. If the digits of the first number are not 11 digits, the first digit of the first number is not 1, and the second digit of the first number When the number of digits is 1 or 2, it is determined that the first number is an incorrect number.
作为一种可选的示例,在语音呼叫被成功接通的情况下,控制每一个机器人根据话术模板进行位置确定工作,得到每一个号码对应的用户的位置信息,生成报告包括:As an optional example, when the voice call is successfully connected, control each robot to determine the location according to the speech template, obtain the location information of the user corresponding to each number, and generate a report including:
将每一个机器人设置为当前机器人,对当前机器人执行如下操作:Set each robot as the current robot, and perform the following operations on the current robot:
根据话术模板,控制当前机器人发出第一话术,以使获得用户针对第一话术反馈的肯定答语或否定答语或其他答语;According to the speech template, control the current robot to issue the first speech, so as to obtain the user's affirmative answer or negative answer or other answers for the first speech feedback;
获取用户根据第一话术反馈的第一答语;Obtain the user's first answer based on the first speech feedback;
在第一答语为肯定答语的情况下,根据话术模板,控制机器人发出第二话术,以使获取用户的位置信息;In the case that the first answer is an affirmative answer, according to the speech template, control the robot to issue the second speech to obtain the user's location information;
获取用户根据第二话术发出的第二答语;Obtain the second answer issued by the user according to the second speech;
从第二答语中获取位置信息,同时根据话术模板,控制机器人发出第三话术,以使位置确定工作结束,记录位置信息,生成报告。The location information is obtained from the second answer, and at the same time, according to the speech template, the robot is controlled to issue the third speech to complete the location determination work, record the location information, and generate a report.
可选地,本实施例中,多个机器人可以同时对对应的号码进行语音呼叫,例如第一机器人对目标通讯录中对应的第二号码进行语音呼叫,第二号码对应的用户接通后,机器人根据话术模板发出话术模板中的第一话术,以使获得用户针对第一话术反馈的肯定答语或否定答语或其他答语,第一话术可以为“您好,我们现在问您几个小问题,我们的通话将被录音,希望得到您的配合!”,获取用户针对第一话术反馈的第一答语,第一答语可以为肯定答语,例如“嗯嗯”、“好的”,可以为否定答语“不行”、“不可能”,可以为其他答语,其他答语为机器人未识别的,或未收到的答语。若收到用户发出的“嗯嗯”的肯定答语,则机器人根据话术模板自动跳转到第二话术,第二话术可以为“请您详细说出您现在的居住地”,获取用户针对第二话术反馈的第二答语,例如“我在A省B市C区D街道E小区”,从第二答语中获取位置信息“A 省B市C区D街道E小区”,记录位置信息,生成第二号码对应的用户位置确定工作完成的报告。最后机器人根据话术模板发出话术模板中的第二话术,可以为“感谢您的接听,祝您生活愉快,再见!”,以使位置确定工作结束。话术模板可以包含一个或多个话术,设置每个话术在收到不同答语情况下的跳转关系。Optionally, in this embodiment, multiple robots can make voice calls to the corresponding numbers at the same time. For example, the first robot makes a voice call to the corresponding second number in the target address book. After the user corresponding to the second number is connected, The robot sends out the first utterance in the utterance template according to the utterance template, so as to obtain the user's affirmative answer or negative answer or other answers to the first utterance feedback. The first utterance can be "Hello, we Now I will ask you a few small questions, our call will be recorded, and I hope to get your cooperation!", get the user's first answer to the first speech feedback, the first answer can be an affirmative answer, for example, "Well Um", "OK", can be negative answers "no", "impossible", can be other answers, other answers are not recognized by the robot, or answers that have not been received. If the user receives an affirmative answer of "ummm", the robot will automatically jump to the second script according to the script template. The second script can be "Please tell me your current place of residence in detail" to obtain The user's second answer for the second speech feedback, such as "I am in the E community of the D street in the C district of the city B in the province A", obtains the location information from the second answer "The E community of the D street in the C district of the city B in the province A" , record the location information, and generate a report on the completion of the user location determination work corresponding to the second number. Finally, the robot sends out the second speech in the speech template according to the speech template, which can be "Thank you for answering, I wish you a happy life, goodbye!", so that the position determination work ends. The script template can contain one or more scripts, and set the jump relationship of each script when different answers are received.
作为一种可选的示例,上述方法还包括:As an optional example, the above method further includes:
在第一答语为否定答语或其他答语的情况下,根据话术模板,控制机器人发出第三话术,以使位置确定工作结束,记录位置确定工作未成功,生成报告。When the first answer is a negative answer or other answers, according to the speech template, the robot is controlled to issue a third speech, so that the position determination work ends, the position determination work is recorded as unsuccessful, and a report is generated.
可选地,本实施例中,在第一答语为否定答语或机器人未识别到,或机器人未收到的答语的情况下,机器人根据话术模板发出话术模板中的第三话术,以使位置确定工作结束。生成位置确定工作未成功的报告。Optionally, in this embodiment, when the first answer is a negative answer or the robot does not recognize it, or the robot does not receive the answer, the robot sends out the third sentence in the speech template according to the speech template. technique to bring position determination to an end. Generate a report of unsuccessful location determination efforts.
作为一种可选的示例,上述方法还包括:As an optional example, the above method further includes:
在控制机器人发出第一话术或第二话术或第三话术的过程中,被用户打断的情况下,控制机器人暂停发出第一话术或第二话术或第三话术;When the robot is interrupted by the user during the process of sending out the first speech, the second speech or the third speech, the control robot stops sending the first speech or the second speech or the third speech;
设置一个定时器,在定时器到达第一时间的的情况下,控制机器人继续或重新发出第一话术或第二话术或第三话术。A timer is set, and when the timer reaches the first time, the robot is controlled to continue or resend the first speech or the second speech or the third speech.
可选地,本实施例中,在机器人发出第一话术或第二话术或第三话术的过程中,出现了被用户打断的情况,机器人立即暂停,设置停顿时长为第一时间,第一时间为1s,2s,在暂停第一时间后,继续或重新发出第一话术或第二话术或第三话术。Optionally, in this embodiment, if the robot is interrupted by the user during the process of sending out the first speech, the second speech, or the third speech, the robot pauses immediately, and the duration of the pause is set as the first time , the first time is 1s, 2s, after pausing the first time, continue or reissue the first speech or the second speech or the third speech.
作为一种可选的示例,在获取用户根据第一话术反馈的第一答语之后包括:As an optional example, after acquiring the user's first answer based on the first utterance feedback, include:
获取答语词库中的肯定词库,否定词库;Obtain the affirmative thesaurus and negative thesaurus in the answer lexicon;
对肯定词库,否定词库以及第一答语进行特征提取;Perform feature extraction on positive thesaurus, negative thesaurus and first answer;
计算第一答语的特征与肯定词库的特征的第一匹配度,第一答语的特征与否定词库的特征的第二匹配度;Calculate the first degree of matching between the features of the first answer and the features of the affirmative lexicon, and the second degree of matching between the features of the first answer and the features of the negative lexicon;
在第一匹配度大于或等于第一阈值,第二匹配度小于第一阈值的情况下,确定第一答语为肯定答语;When the first degree of matching is greater than or equal to the first threshold and the second degree of matching is less than the first threshold, it is determined that the first answer is an affirmative answer;
在第一匹配度小于第一阈值,第二匹配度大于或等于第一阈值的情况下,确定第一答语为否定答语;When the first degree of matching is less than the first threshold and the second degree of matching is greater than or equal to the first threshold, it is determined that the first answer is a negative answer;
在第一匹配度小于第一阈值,第二匹配度小于第一阈值的情况下,确定第一答语为其他答语。When the first matching degree is smaller than the first threshold and the second matching degree is smaller than the first threshold, it is determined that the first answer is another answer.
可选地,本实施例中,创建答语词库,包括肯定词库和否定词库,每个词库中包含一个多或多个答语。对肯定词库中所有答语,否定词库中所有答语以及第一答语进行特征提取得到肯定词库中所有答语的特征,否定词库中所有答语的特征以及第一答语的特征,计算第一答语的特征与肯定词库的特征的第一匹配度,第一答语的特征与否定词库的特征的第二匹配度,第一匹配度和第二匹配度可以为80%,90%,第一阈值可以为85%,例如第一匹配度为90%,第二匹配度为50%,即第一匹配度大于第一阈值,第二匹配度小于第一阈值,确定第一答语为肯定答语,若第一匹配度为50%,第二匹配度为90%,即第一匹配度小于第一阈值,第二匹配度大于第一阈值,确定第一答语为否定答语,若第一匹配度为50%,第二匹配度为40%,即第一匹配度小于第一阈值,第二匹配度小于第一阈值,确定第一答语为其他答语。Optionally, in this embodiment, an answer lexicon is created, including an affirmative lexicon and a negative lexicon, and each lexicon contains one or more answer words. Perform feature extraction on all answers in the affirmative thesaurus, all answers in the negative thesaurus and the first answer to obtain the features of all the answers in the affirmative thesaurus, the features of all the answers in the negative thesaurus and the first answer Features, calculate the first matching degree of the features of the first answer and the features of the positive lexicon, the second matching degree of the features of the first answer and the features of the negative lexicon, the first matching degree and the second matching degree can be 80%, 90%, the first threshold can be 85%, for example, the first matching degree is 90%, the second matching degree is 50%, that is, the first matching degree is greater than the first threshold, and the second matching degree is smaller than the first threshold, Determine that the first answer is an affirmative answer. If the first matching degree is 50% and the second matching degree is 90%, that is, the first matching degree is less than the first threshold and the second matching degree is greater than the first threshold, determine the first answer. If the first matching degree is 50% and the second matching degree is 40%, that is, the first matching degree is less than the first threshold and the second matching degree is less than the first threshold, it is determined that the first answering language is other. language.
作为一种可选的示例,上述方法还包括:As an optional example, the above method further includes:
在第一匹配度小于阈值,第二匹配度小于阈值的情况下,获取第一答语出现次数;When the first degree of matching is less than the threshold and the second degree of matching is less than the threshold, the number of occurrences of the first answer is obtained;
在出现次数大于或等于第二阈值的情况下,对第一答语进行语义匹配;When the number of occurrences is greater than or equal to the second threshold, perform semantic matching on the first answer;
在第一答语被匹配为肯定的情况下,将第一答语保存在肯定词库;In the case that the first answer is matched as affirmative, the first answer is stored in the affirmative lexicon;
在第一答语被匹配为否定的情况下,将第一答语保存在否定词库。In the case that the first answer is matched as negative, the first answer is stored in a negative lexicon.
可选地,本实施例中,在第一匹配度小于阈值,第二匹配度小于阈值的情况下,获取第一答语出现次数,若记录到第一答语已经出现20次,第二阈值可以为10次,出现次数20次大于第二阈值10次的情况下,对第一答语进行语义匹配,经过语义匹配得到第一答语为肯定的情况下,将第一答语保存在肯定词库,第一答语为否定的情况下,将第一答语保存在否定词库。若经过语义匹配未识别出是肯定还是否定,则提示工作人员进行人工匹配。Optionally, in this embodiment, when the first degree of matching is less than the threshold and the second degree of matching is less than the threshold, the number of occurrences of the first answer is obtained. If it is recorded that the first answer has appeared 20 times, the second threshold It can be 10 times. When the number of occurrences is 20 times greater than the second threshold of 10 times, perform semantic matching on the first answer, and if the first answer is affirmative after semantic matching, save the first answer in affirmative Thesaurus, when the first answer is negative, save the first answer in the negative thesaurus. If it is not identified as affirmative or negative after semantic matching, the staff will be prompted to perform manual matching.
可选地,本实施例中,本发明涉及一种基于语音识别的位置确定方法,为了保证位置确定工作的快速高效,创新的引入了批量外呼技术来解决数量大人员编制少的问题;创新的使用话术模板来保证自动呼出询问位置问题的答语都有一定的逻辑导向,将固定的、重复性问题全部问一遍;同时基于答语的内容建立知识库,方便学习和分析,进行深度匹配和无效号码的重复拨打。Optionally, in this embodiment, the present invention relates to a location determination method based on speech recognition. In order to ensure the fast and efficient location determination work, a batch outbound call technology is innovatively introduced to solve the problem of a large number of personnel and a small number of staff; innovative The use of speech templates to ensure that the answers automatically called out to ask location questions have a certain logic orientation, and all fixed and repetitive questions are asked once; at the same time, a knowledge base is established based on the content of the answers to facilitate learning and analysis, and conduct in-depth Repeated dialing of matching and invalid numbers.
1、本发明提出可视化的话术模板编辑功能,通过在线编辑话术问答逻辑,将固定的重复的问题以模板的形式进行固化,并可以根据答语的内容进行不同问答路径的选择,这样在电话被接听后可以自动语音播报,并根据答语内容选择下一步的问题路径;1. The present invention proposes a visual speech template editing function. By editing the speech question and answer logic online, the fixed and repeated questions are solidified in the form of a template, and different question and answer paths can be selected according to the content of the answer. After being answered, an automatic voice broadcast can be made, and the next question path can be selected according to the content of the answer;
2、本发明提出了利用VoIP(Voice over Internet Protocol基于IP 的语音传输)技术来开发批量号码外呼能力,通过多线程的智能外呼机器人,可以同时大批量进行外呼询问,同时记录接听状态,筛选异常号码,并针对未接听人员进行二次拨打;2. The present invention proposes the use of VoIP (Voice over Internet Protocol IP-based voice transmission) technology to develop batch number outbound capabilities. Through the multi-threaded intelligent outbound robot, a large number of outbound inquiries can be made at the same time, and the answering status can be recorded at the same time , screen abnormal numbers, and make a second call for those who did not answer;
3、本发明提出建立知识库学习的功能,通过沟通过程中收集的答复内容,可以自学习和主动学习,完善问答逻辑,让位置确定工作更加准确高效。3. The present invention proposes the function of establishing a knowledge base for learning. Through the reply content collected in the communication process, self-learning and active learning can be performed, and the question-and-answer logic can be improved to make the location determination work more accurate and efficient.
为了满足不同场景下的不同话术的要求,创新的设计了场景话术模板方式,支持可视化的进行模板编辑设计,每个模板有多个节点构成,节点和节点之间可以根据答语内容定义节点之间的关联逻辑。In order to meet the requirements of different speech skills in different scenarios, the scene speech template method is innovatively designed, which supports visual template editing and design. Each template consists of multiple nodes, and the nodes can be defined according to the content of the answer. Association logic between nodes.
首先要针对特定场景的位置确定工作内容进行分析,梳理出一个话术模板,并进行逻辑分析,将话术进行逻辑标注,按照节点—条件—内容—结果—跳转的模板形式进行整理,形成特定场景的话术模板。First of all, it is necessary to determine the work content for the position of a specific scene and analyze it, sort out a speech template, and carry out logical analysis, logically label the speech, and organize it according to the template form of node-condition-content-result-jump to form A speech template for a specific scene.
基于位置确定工作内容,分析整理出场景话术模板如下表1所示:Determine the work content based on the location, analyze and sort out the scene speech template as shown in Table 1 below:
(表1)(Table 1)
当有了场景话术模板以后,就可以进行可视化的系统配置,首先要完成节点的自定义,同时定义了新建节点的模板,可视化展现形式。因为节点类型比较多,如果要统一进行自定义配置,需要梳理节点的属性模型,如下表 2所示:Once you have a scene speech template, you can perform a visual system configuration. First, you must complete the customization of the nodes, and at the same time define the template for the new node and the visual presentation form. Because there are many types of nodes, if you want to uniformly customize the configuration, you need to sort out the attribute model of the nodes, as shown in Table 2 below:
(表2)(Table 2)
节点逻辑设定是串联各个节点之间的提问逻辑,核心的问题在于客户回复模型的建设,基于回复模型可以直接生成节点逻辑关系,其步骤如下:The node logic setting is to connect the query logic between each node in series. The core problem lies in the construction of the customer reply model. Based on the reply model, the node logical relationship can be directly generated. The steps are as follows:
1.定义答语模型,节点回复模型定义如下表3所示:1. Define the answer model, the definition of the node reply model is shown in Table 3 below:
(表3)(table 3)
2.穷举答语内容,因为一个节点的问题,用户会有很多种答语,需要尽可能的将答案进行覆盖,这样可以保证在用户答语时都有相应的路径执行逻辑,让位置确定工作更加流利和顺畅。穷举有个大概的原则,定义为:肯定答语*2+否定答语*2+例外*2,以节点2为例来进行说明,节点2的问题是“请问您现在是在A省内吗?”,将答语进行穷举示例如下表4所示:2. Exhaustively list the content of the answers, because the user will have many kinds of answers to the question of a node, and it is necessary to cover the answers as much as possible, so as to ensure that there is a corresponding path to execute the logic when the user answers, so that the location is determined Work more fluently and smoothly. There is a general principle for exhaustive enumeration, which is defined as: affirmative answer*2+negative answer*2+exception*2, taking node 2 as an example to illustrate, the question of node 2 is "Excuse me, are you in province A now?" Is it?", an exhaustive example of the answers is shown in Table 4 below:
(表4)(Table 4)
3.完善答语词库,答语词库是答语的知识库,可以辅助机器人快速识别包含及意思相近的答语内容,提升机器人的智能水平,知识库是一个逐步完善的过程,以节点2穷举答语内容来完善答语词库,来进行示例说明如下表 5所示:3. Improve the answer lexicon. The answer lexicon is the knowledge base of the answer, which can assist the robot to quickly identify the answer content that contains and has similar meanings, and improve the intelligence level of the robot. The knowledge base is a process of gradual improvement. 2 Exhaustively enumerate the content of the answers to improve the answer lexicon, as an example, as shown in Table 5 below:
(表5)(table 5)
4.连线形成逻辑,将用户回复结果和相应的回复逻辑结果用线连接起来。4. The connection forms the logic, and connects the user reply result and the corresponding reply logic result with a line.
当话术模板编辑完成时就可以配置外呼任务,外呼任务创新的引用VOIP 技术,因为是封装的应用服务,可以方便的支持多路服务同时进行。智能位置确定系统通过可视化的界面,将单个号码进行通过机器人(后台服务)进行数据发送,通过网络传送到运营商的数模转换器,即可以通过网络的通话系统进行语音呼叫,当收到居民的答语后则通过运营商的模数转换器转换后发送到智能位置确定系统,通过以上的流程就实现了位置确定工作的全过程。为了让服务批量呼叫则需要提前导入批量手机号码,同时针对每一路应用服务都可以独立控制,并能够根据话术模板和答语语音进行自动问答路径选择。具体的详细流程图如图2所示。When the script template is edited, you can configure the outbound task. The outbound task uses VOIP technology innovatively. Because it is a packaged application service, it can conveniently support multiple services at the same time. The intelligent location determination system sends data to a single number through a robot (background service) through a visual interface, and transmits it to the operator's digital-to-analog converter through the network, that is, it can make a voice call through the network communication system. After the answer is converted by the operator's analog-to-digital converter, it is sent to the intelligent position determination system. Through the above process, the whole process of position determination is realized. In order to serve batch calls, it is necessary to import batches of mobile phone numbers in advance. At the same time, each application service can be independently controlled, and automatic question-answer path selection can be performed according to the script template and answer voice. The specific detailed flow chart is shown in Figure 2.
批量导入需要确定位置的手机号码,采用了常用的Excel导入方式,但加入了手机号码校验规则:手机号码是11为位数字,其中第一位是1,第二位可以是3、4、5、7、8、9中的任意一位,第三位到第十一位可以从0-9 中任意选取,判定逻辑如图3所示。The batch import of mobile phone numbers that need to determine the location adopts the common Excel import method, but adds the mobile phone number verification rule: the mobile phone number has 11 digits, the first digit is 1, and the second digit can be 3, 4, Any one of 5, 7, 8, and 9, the third to eleventh digits can be arbitrarily selected from 0-9, and the decision logic is shown in Figure 3.
通过批量导入判定后有一个校验结果如下表6所示,批量手机号码导入完成后,即可以建立任务实现自动拨打。After the batch import is judged, there is a verification result as shown in Table 6 below. After the batch import of mobile phone numbers is completed, a task can be created to realize automatic dialing.
(表6)(Table 6)
任务自动拨打有几个关键的配置步骤,分布为话术模板、号码和机器人个数,当配置完成任务并启动后即可以实现机器人智能位置确定工作,具体的工作方式要结合答语进行自动识别,具体步骤如图4所示。There are several key configuration steps for task automatic dialing, which are distributed as speech template, number and number of robots. After the configuration is completed and the task is started, the intelligent position determination of the robot can be realized. The specific working method needs to be automatically identified in combination with the answer. , the specific steps are shown in Figure 4.
当任务开启后,启动机器人多线程开展位置确定工作,这个过程中,直接利用音频比对,不再转义成文字,将答语词库进行语音转换直接和用户的答语语音进行对比,既提升了准确率又提升了识别效率;具体的自动识别流程如图5所示。When the task is started, the multi-threading of the robot is started to determine the position. In this process, the audio comparison is directly used instead of being translated into text, and the answer lexicon is converted into voice and directly compared with the user's answer voice. The accuracy rate is improved and the recognition efficiency is improved; the specific automatic recognition process is shown in Figure 5.
以节点2为例举例说明,节点2的提问和答语词库如下表7所示:Taking node 2 as an example to illustrate, the question and answer lexicon of node 2 is shown in Table 7 below:
(表7)(Table 7)
1.将答语词库进行特征提取,如下表8所示:1. Perform feature extraction on the answer lexicon, as shown in Table 8 below:
(表8)(Table 8)
2.播放节点语“请问您现在是在A省内吗?”;2. Play the node phrase "Excuse me, are you in province A now?";
3.收到答语信号:“我在啊”;3. Receive the answer signal: "I am here";
4.答语特征提取:“wo zai a”;4. Response feature extraction: "wo zai a";
5.特征匹配:答语特征“wo zai a”和答语词库“wo zai a”匹配度高达100%,大于匹配阈值85%,判定为“在A省”;5. Feature matching: the matching degree of the answer feature "wo zai a" and the answer lexicon "wo zai a" is as high as 100%, which is greater than the matching threshold of 85%, and it is judged as "in province A";
6.记录知识库,因为匹配到词库,答语就不记录知识库。6. Record the knowledge base, because it matches the thesaurus, the answer will not be recorded in the knowledge base.
通过采用创新的方法实现了答语的自动识别,既提升了准确率又提升了识别效率,可以确保位置确定工作的准确性和及时性。By adopting an innovative method, the automatic recognition of the answer is realized, which not only improves the accuracy rate but also improves the recognition efficiency, and can ensure the accuracy and timeliness of the position determination work.
针对各地方言和特殊的语言表达方法,智能语音位置确定系统已经做了兼容,但还是难免有遗漏的地方,这样可以将这些语音表达记录到知识库,通过知识学习的方法进行不断的完善。知识库学习过程首先要积累知识库,然后可以通过自动知识学习和人工知识学习进行确认完善。For local dialects and special language expression methods, the intelligent voice position determination system has been compatible, but there are still some omissions. In this way, these voice expressions can be recorded in the knowledge base and continuously improved through knowledge learning. The knowledge base learning process must first accumulate the knowledge base, and then it can be confirmed and improved through automatic knowledge learning and artificial knowledge learning.
知识库积累分为2部分,一部分是事先整理好的词库,另一部分是通过分析未知问题录音获取的。分析未知问题录音分为自动知识学习和人工知识学习。通过对未知问题的学习,可以将获得通过的答语加入相应问题的词库,未通过的答语将被标记为忽略。因此未知问题的整理就非常重要,整理的未知问题属性模型如下表9所示:The accumulation of knowledge base is divided into two parts, one part is the pre-organized thesaurus, and the other part is obtained by analyzing the recordings of unknown problems. Analyzing unknown question recordings is divided into automatic knowledge learning and artificial knowledge learning. Through the study of unknown questions, the passed answers can be added to the thesaurus of the corresponding questions, and the failed answers will be marked as ignored. Therefore, it is very important to sort out the unknown problems. The attribute model of the sorted unknown problems is shown in Table 9 below:
(表9)(Table 9)
人工知识学习是根据答语内容,进行人工知识库学习,其学习的过程如下所示:Artificial knowledge learning is based on the content of the answer, learning the artificial knowledge base, and the learning process is as follows:
1.根据话术模板,按照命中次数倒叙排序,通常命中次数大的答语学习的价值越高;1. According to the speech template, sort in reverse order according to the number of hits. Usually, the value of learning the answer with a large number of hits is higher;
2.找到需要人工学习的答语,通过听取录音对话,获取前后语境,来判定是否需要进行人工进行知识库的创建,如果不需要,则选择忽略,则答语进入已忽略清单,排除未知问题清单;如果需要进行人工知识库的创建,则进入下一步;2. Find the answer that needs to be learned manually, and judge whether it is necessary to manually create the knowledge base by listening to the recorded dialogue and obtaining the context before and after. If not, choose to ignore, and the answer will enter the ignored list to exclude the unknown Question list; if it is necessary to create an artificial knowledge base, go to the next step;
3.如果答语命中的次数比较多,经过人工判定可以加入知识库,则只需要在操作处,选择学习,即可选择匹配话术模板、节点、条件、内容、答语名称和答语词库。例如,答语“是哦”,经过人工匹配后,添加到答语词库,如红色标记出。3. If the number of answers hits is relatively large, it can be added to the knowledge base after manual judgment. You only need to select Learning in the operation, and you can choose to match the speech template, node, condition, content, answer name and answer word library. For example, the answer "Yes" is added to the answer lexicon after manual matching, as marked in red.
自动知识学习是根据答语内容,进行关键词信息学习,自动进行知识库节点匹配,相比较人工知识学习提升了效率。自动学习算法为规则匹配,通过规则和阀值设定,可以通过系统自动匹配答语是否需要加入相应的知识库。规则和阀值的匹配逻辑如下表10所示:Automatic knowledge learning is based on the content of the answer, keyword information learning, and automatic knowledge base node matching, which improves efficiency compared with manual knowledge learning. The automatic learning algorithm is rule matching. Through the setting of rules and thresholds, the system can automatically match whether the answer needs to be added to the corresponding knowledge base. The matching logic of rules and thresholds is shown in Table 10 below:
(表10)(Table 10)
以答语“嗯”举例进行说明,具体的识别步骤如下所示:Taking the answer "um" as an example to illustrate, the specific recognition steps are as follows:
1.获取答语“嗯”,进行特征提取为“ng”;1. Obtain the answer "um", and perform feature extraction as "ng";
2.根据规则,逐项进行匹配,一旦符合规则就跳出匹配,通过匹配“嗯”和答语词库,“嗯”不在答语词库,不符合包含匹配;通过匹配“ng”和词库特征,“ng”与词库特征不匹配,不符合特征匹配;通过匹配“嗯”的命中次数,是40次命中,不符合命中规则;通过匹配“嗯”的语义,有表示应允或肯定,也有表示疑问,不是100%匹配肯定或者否定,因此不符合语义匹配;2. According to the rules, match item by item. Once the rules are met, the match will jump out. By matching "um" and the answer lexicon, "um" is not in the answer lexicon, and it does not match the inclusion match; by matching "ng" and the lexicon The feature, "ng" does not match the feature of the lexicon, and it does not meet the feature matching; by matching the number of hits of "um", it is 40 hits, which does not meet the hit rules; by matching the semantics of "um", it means yes or affirmation, There are also doubts, not 100% match positive or negative, so it does not meet the semantic match;
3.通过规则匹配计算,未匹配上任何规则,答语“嗯”不会添加到知识库。因为命中的次数比较多,则会提示进行人工匹配。3. Through rule matching calculation, if no rules are matched, the answer "um" will not be added to the knowledge base. Because the number of hits is relatively large, it will prompt for manual matching.
综上所述,通过人工和自动知识的学习,将答语词库不断的进行完善,确保对话的完整和准确性。To sum up, through manual and automatic knowledge learning, the answer lexicon is continuously improved to ensure the completeness and accuracy of the dialogue.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
根据本申请实施例的另一方面,还提供了一种基于语音识别的位置确定装置,如图6所示,包括:According to another aspect of the embodiment of the present application, there is also provided a device for determining a location based on speech recognition, as shown in FIG. 6 , including:
第一获取模块602,用于获取目标通讯录,其中目标通讯录中包含多个号码;The first obtaining
配置模块604,用于为目标通讯录中每一个号码配置话术模板和机器人;
第一控制模块606,用于控制每一个机器人对对应的号码进行语音呼叫;The
第二控制模块608,用于在语音呼叫被成功接通的情况下,控制每一个机器人根据话术模板进行位置确定工作,得到每一个号码对应的用户的位置信息,生成报告。The
可选地,本实施例中,目标通讯录中包含一个或多个需要进行位置确定工作的用户的手机号码。话术模板包括多个节点,每个节点对应一段或一句话术,在机器人说完一段或一句话书后,根据用户的答语,自动跳转到对应的节点,机器人自动说出节点对应的话术。机器人为智能外呼机器人,可以同时大批量进行外呼。Optionally, in this embodiment, the target address book contains one or more mobile phone numbers of users who need to determine the location. The speech template includes multiple nodes, and each node corresponds to a paragraph or a sentence. After the robot finishes speaking a paragraph or a sentence, it will automatically jump to the corresponding node according to the user's answer, and the robot will automatically speak the speech corresponding to the node. . The robot is an intelligent outbound robot that can make outbound calls in large quantities at the same time.
可选地,本实施例中,根据需要确定位置的多个号码中筛选出正确的号码,形成目标通讯录,为目标通讯录中每一个号码配置话术模板和机器人,将每个号码数据发送到对应的机器人,通过网络传送到运营商的数模转换器,即可以通过网络的通话系统对对应的号码进行语音呼叫,用户接通语音呼叫后,每个机器人根据话术模板对每个用户进行位置确定工作,机器人发出话术模板中的每一个问题,记录每个用户针对每个问题发出的答语,从答语中获取每个用户的位置信息,可以包括具体位置信息。根据每个用户的答语生成对应的报告,以便后续位置确定工作人员查看。Optionally, in this embodiment, the correct number is selected from a plurality of numbers whose positions need to be determined to form a target address book, a speech template and a robot are configured for each number in the target address book, and each number data is sent to To the corresponding robot, it is transmitted to the operator’s digital-to-analog converter through the network, that is, it can make a voice call to the corresponding number through the network communication system. After the user connects to the voice call, each robot will respond to each user according to the speech template. To determine the location, the robot sends out each question in the speech template, records each user's answer to each question, and obtains each user's location information from the answer, which can include specific location information. Generate a corresponding report based on each user's answer, so that the subsequent location determination staff can view it.
可选地,本实施例中,通过用语音识别技术,控制机器人批量同时自动发起语音呼叫,使用真实录音询问位置信息,并根据答语语音,按照话术模板自动跳转逻辑问题,最终将答语语音识别分析,得到用户的位置信息,形成报告,从而实现了位置确定工作的快速高效的目的,进而解决了传统的位置确定方法因数据庞大导致的效率低,浪费人力的技术问题。Optionally, in this embodiment, through the use of voice recognition technology, the robots are controlled to automatically initiate voice calls in batches at the same time, use real recordings to inquire about location information, and automatically jump to logical questions according to the speech template according to the voice of the answer, and finally answer the question The user's location information is obtained through speech recognition and analysis, and a report is formed, so as to achieve the purpose of fast and efficient location determination, and then solve the technical problems of low efficiency and waste of manpower caused by the huge data of the traditional location determination method.
作为一种可选的示例,上述装置还包括:As an optional example, the above-mentioned device also includes:
第一获取模块,用于在获取目标通讯录之前获取需要确定位置的号码组;The first obtaining module is used to obtain the number group whose location needs to be determined before obtaining the target address book;
处理模块,用于将号码组中每个号码设置为当前号码,对当前号码执行如下操作:The processing module is used to set each number in the number group as the current number, and perform the following operations on the current number:
获取当前号码的位数;在位数是第一值的情况下,获取当前号码的第一位的数值;Get the digit of the current number; if the digit is the first value, get the value of the first digit of the current number;
在第一位的数值是第二值的情况下,获取当前号码的第二位的数值;In the case that the value of the first digit is the second value, obtain the value of the second digit of the current number;
在第二位的数值不是第三值的情况下,将当前号码加入到目标通讯录。If the value of the second digit is not the third value, the current number is added to the target address book.
可选地,本实施例中,获取需要确定位置的号码组,号码组中可以包括一个或多个号码,也可能存在错误的号码,为防止机器人呼出错误的号码而浪费时间,首先对号码组中所有号码进行检查,将正确的号码添加到目标通讯录。对每个号码进行检查,例如对第一号码进行检查,获取第一号码的位数,判断第一号码的位数是否为第一值,第一值可以为11位,若第一号码是 11位的情况下,获取第一号码的第一位数,判断第一号码的第一位数是否为第二值,第二值可以为1,若第一号码的第一位数是1的情况下,获取第一号码的第二位数,判断第一号码的第二位数是否为第三值,第三值可以为1 和2,若第一号码的第二位数是3的情况下,确定第一号码为正确的号码,并将第一号码加入到目标通讯录中,若第一号码的位数不是11位,第一号码的第一位数不是1,第一号码的第二位数是1或2的情况下,确定第一号码为错误的号码。Optionally, in this embodiment, the number group whose location needs to be determined is acquired. The number group may include one or more numbers, and there may be wrong numbers. In order to prevent the robot from calling out the wrong number and wasting time, the number group Check all the numbers in , and add the correct number to the target address book. Check each number, for example, check the first number, obtain the digits of the first number, and judge whether the digits of the first number are the first value. The first value can be 11 digits. If the first number is 11 In the case of digits, get the first digit of the first number, and judge whether the first digit of the first number is the second value, the second value can be 1, if the first digit of the first number is 1 Next, get the second digit of the first number, judge whether the second digit of the first number is the third value, the third value can be 1 and 2, if the second digit of the first number is 3 , determine that the first number is the correct number, and add the first number to the target address book. If the digits of the first number are not 11 digits, the first digit of the first number is not 1, and the second digit of the first number When the number of digits is 1 or 2, it is determined that the first number is an incorrect number.
作为一种可选的示例,第二控制模块包括:As an optional example, the second control module includes:
处理单元,用于将每一个机器人设置为当前机器人,对当前机器人执行如下操作:The processing unit is used to set each robot as the current robot, and perform the following operations on the current robot:
根据话术模板,控制当前机器人发出第一话术,以使获得用户针对第一话术反馈的肯定答语或否定答语或其他答语;According to the speech template, control the current robot to issue the first speech, so as to obtain the user's affirmative answer or negative answer or other answers for the first speech feedback;
获取用户根据第一话术反馈的第一答语;Obtain the user's first answer based on the first speech feedback;
在第一答语为肯定答语的情况下,根据话术模板,控制机器人发出第二话术,以使获取用户的位置信息;In the case that the first answer is an affirmative answer, according to the speech template, control the robot to issue the second speech to obtain the user's location information;
获取用户根据第二话术发出的第二答语;Obtain the second answer issued by the user according to the second speech;
从第二答语中获取位置信息,同时根据话术模板,控制机器人发出第三话术,以使位置确定工作结束,记录位置信息,生成报告。The location information is obtained from the second answer, and at the same time, according to the speech template, the robot is controlled to issue the third speech to complete the location determination work, record the location information, and generate a report.
可选地,本实施例中,多个机器人可以同时对对应的号码进行语音呼叫,例如第一机器人对目标通讯录中对应的第二号码进行语音呼叫,第二号码对应的用户接通后,机器人根据话术模板发出话术模板中的第一话术,以使获得用户针对第一话术反馈的肯定答语或否定答语或其他答语,第一话术可以为“您好,我们现在问您几个小问题,我们的通话将被录音,希望得到您的配合!”,获取用户针对第一话术反馈的第一答语,第一答语可以为肯定答语,例如“嗯嗯”、“好的”,可以为否定答语“不行”、“不可能”,可以为其他答语,其他答语为机器人未识别的,或未收到的答语。若收到用户发出的“嗯嗯”的肯定答语,则机器人根据话术模板自动跳转到第二话术,第二话术可以为“请您详细说出您现在的居住地”,获取用户针对第二话术反馈的第二答语,例如“我在A省B市C区D街道E小区”,从第二答语中获取位置信息“A 省B市C区D街道E小区”,记录位置信息,生成第二号码对应的用户位置确定工作完成的报告。最后机器人根据话术模板发出话术模板中的第二话术,可以为“感谢您的接听,祝您生活愉快,再见!”,以使位置确定工作结束。话术模板可以包含一个或多个话术,设置每个话术在收到不同答语情况下的跳转关系。Optionally, in this embodiment, multiple robots can make voice calls to the corresponding numbers at the same time. For example, the first robot makes a voice call to the corresponding second number in the target address book. After the user corresponding to the second number is connected, The robot sends out the first utterance in the utterance template according to the utterance template, so as to obtain the user's affirmative answer or negative answer or other answers to the first utterance feedback. The first utterance can be "Hello, we Now I will ask you a few small questions, our call will be recorded, and I hope to get your cooperation!", get the user's first answer to the first speech feedback, the first answer can be an affirmative answer, for example, "Well Um", "OK", can be negative answers "no", "impossible", can be other answers, other answers are not recognized by the robot, or answers that have not been received. If the user receives an affirmative answer of "ummm", the robot will automatically jump to the second script according to the script template. The second script can be "Please tell me your current place of residence in detail" to obtain The user's second answer for the second speech feedback, such as "I am in the E community of the D street in the C district of the city B in the province A", obtains the location information from the second answer "The E community of the D street in the C district of the city B in the province A" , record the location information, and generate a report on the completion of the user location determination work corresponding to the second number. Finally, the robot sends out the second speech in the speech template according to the speech template, which can be "Thank you for answering, I wish you a happy life, goodbye!", so that the position determination work ends. The script template can contain one or more scripts, and set the jump relationship of each script when different answers are received.
作为一种可选的示例,上述装置还包括:As an optional example, the above-mentioned device also includes:
第三控制模块,用于在第一答语为否定答语或其他答语的情况下,根据话术模板,控制机器人发出第三话术,以使位置确定工作结束,记录位置确定工作未成功,生成报告。The third control module is used to control the robot to issue a third speech according to the speech template when the first answer is a negative answer or other answers, so that the position determination work ends and the position determination work is recorded as unsuccessful , to generate a report.
可选地,本实施例中,在第一答语为否定答语或机器人未识别到,或机器人未收到的答语的情况下,机器人根据话术模板发出话术模板中的第三话术,以使位置确定工作结束。生成位置确定工作未成功的报告。Optionally, in this embodiment, when the first answer is a negative answer or the robot does not recognize it, or the robot does not receive the answer, the robot sends out the third sentence in the speech template according to the speech template. technique to bring position determination to an end. Generate a report of unsuccessful location determination efforts.
作为一种可选的示例,上述装置还包括:As an optional example, the above-mentioned device also includes:
第四控制模块,用于在控制机器人发出第一话术或第二话术或第三话术的过程中,被用户打断的情况下,控制机器人暂停发出第一话术或第二话术或第三话术;The fourth control module is used to control the robot to suspend the sending of the first speech or the second speech or the third speech in the case of being interrupted by the user during the process of controlling the robot to send the first speech or the second speech or the third speech or the third speech;
第五控制模块,用于设置一个定时器,在定时器到达第一时间的的情况下,控制机器人继续或重新发出第一话术或第二话术或第三话术。The fifth control module is used to set a timer, and when the timer reaches the first time, control the robot to continue or reissue the first speech, the second speech or the third speech.
可选地,本实施例中,在机器人发出第一话术或第二话术或第三话术的过程中,出现了被用户打断的情况,机器人立即暂停,设置停顿时长为第一时间,第一时间为1s,2s,在暂停第一时间后,继续或重新发出第一话术或第二话术或第三话术。Optionally, in this embodiment, if the robot is interrupted by the user during the process of sending out the first speech, the second speech, or the third speech, the robot pauses immediately, and the duration of the pause is set as the first time , the first time is 1s, 2s, after pausing the first time, continue or reissue the first speech or the second speech or the third speech.
作为一种可选的示例,处理单元还包括:As an optional example, the processing unit also includes:
在获取用户根据第一话术反馈的第一答语之后获取答语词库中的肯定词库,否定词库;Obtain the positive thesaurus and the negative thesaurus in the answer lexicon after obtaining the first answer fed back by the user according to the first speech technique;
对肯定词库,否定词库以及第一答语进行特征提取;Perform feature extraction on positive thesaurus, negative thesaurus and first answer;
计算第一答语的特征与肯定词库的特征的第一匹配度,第一答语的特征与否定词库的特征的第二匹配度;Calculate the first degree of matching between the features of the first answer and the features of the affirmative lexicon, and the second degree of matching between the features of the first answer and the features of the negative lexicon;
在第一匹配度大于或等于第一阈值,第二匹配度小于第一阈值的情况下,确定第一答语为肯定答语;When the first degree of matching is greater than or equal to the first threshold and the second degree of matching is less than the first threshold, it is determined that the first answer is an affirmative answer;
在第一匹配度小于第一阈值,第二匹配度大于或等于第一阈值的情况下,确定第一答语为否定答语;When the first degree of matching is less than the first threshold and the second degree of matching is greater than or equal to the first threshold, it is determined that the first answer is a negative answer;
在第一匹配度小于第一阈值,第二匹配度小于第一阈值的情况下,确定第一答语为其他答语。When the first matching degree is smaller than the first threshold and the second matching degree is smaller than the first threshold, it is determined that the first answer is another answer.
可选地,本实施例中,创建答语词库,包括肯定词库和否定词库,每个词库中包含一个多或多个答语。对肯定词库中所有答语,否定词库中所有答语以及第一答语进行特征提取得到肯定词库中所有答语的特征,否定词库中所有答语的特征以及第一答语的特征,计算第一答语的特征与肯定词库的特征的第一匹配度,第一答语的特征与否定词库的特征的第二匹配度,第一匹配度和第二匹配度可以为80%,90%,第一阈值可以为85%,例如第一匹配度为90%,第二匹配度为50%,即第一匹配度大于第一阈值,第二匹配度小于第一阈值,确定第一答语为肯定答语,若第一匹配度为50%,第二匹配度为90%,即第一匹配度小于第一阈值,第二匹配度大于第一阈值,确定第一答语为否定答语,若第一匹配度为50%,第二匹配度为40%,即第一匹配度小于第一阈值,第二匹配度小于第一阈值,确定第一答语为其他答语。Optionally, in this embodiment, an answer lexicon is created, including an affirmative lexicon and a negative lexicon, and each lexicon contains one or more answer words. Perform feature extraction on all answers in the affirmative thesaurus, all answers in the negative thesaurus and the first answer to obtain the features of all the answers in the affirmative thesaurus, the features of all the answers in the negative thesaurus and the first answer Features, calculate the first matching degree of the features of the first answer and the features of the positive lexicon, the second matching degree of the features of the first answer and the features of the negative lexicon, the first matching degree and the second matching degree can be 80%, 90%, the first threshold can be 85%, for example, the first matching degree is 90%, the second matching degree is 50%, that is, the first matching degree is greater than the first threshold, and the second matching degree is smaller than the first threshold, Determine that the first answer is an affirmative answer. If the first matching degree is 50% and the second matching degree is 90%, that is, the first matching degree is less than the first threshold and the second matching degree is greater than the first threshold, determine the first answer. If the first matching degree is 50% and the second matching degree is 40%, that is, the first matching degree is less than the first threshold and the second matching degree is less than the first threshold, it is determined that the first answering language is other. language.
作为一种可选的示例,处理单元还包括:As an optional example, the processing unit also includes:
在第一匹配度小于阈值,第二匹配度小于阈值的情况下,获取第一答语出现次数;When the first degree of matching is less than the threshold and the second degree of matching is less than the threshold, the number of occurrences of the first answer is obtained;
在出现次数大于或等于第二阈值的情况下,对第一答语进行语义匹配;When the number of occurrences is greater than or equal to the second threshold, perform semantic matching on the first answer;
在第一答语被匹配为肯定的情况下,将第一答语保存在肯定词库;In the case that the first answer is matched as affirmative, the first answer is stored in the affirmative lexicon;
在第一答语被匹配为否定的情况下,将第一答语保存在否定词库。In the case that the first answer is matched as negative, the first answer is stored in a negative lexicon.
可选地,本实施例中,在第一匹配度小于阈值,第二匹配度小于阈值的情况下,获取第一答语出现次数,若记录到第一答语已经出现20次,第二阈值可以为10次,出现次数20次大于第二阈值10次的情况下,对第一答语进行语义匹配,经过语义匹配得到第一答语为肯定的情况下,将第一答语保存在肯定词库,第一答语为否定的情况下,将第一答语保存在否定词库。若经过语义匹配未识别出是肯定还是否定,则提示工作人员进行人工匹配。Optionally, in this embodiment, when the first degree of matching is less than the threshold and the second degree of matching is less than the threshold, the number of occurrences of the first answer is obtained. If it is recorded that the first answer has appeared 20 times, the second threshold It can be 10 times. When the number of occurrences is 20 times greater than the second threshold of 10 times, perform semantic matching on the first answer, and if the first answer is affirmative after semantic matching, save the first answer in affirmative Thesaurus, when the first answer is negative, save the first answer in the negative thesaurus. If it is not identified as affirmative or negative after semantic matching, the staff will be prompted to perform manual matching.
本实施例的其他示例请参见上述示例,在此不在赘述。For other examples of this embodiment, refer to the above examples, and details are not repeated here.
图7是根据本申请实施例的一种可选的电子设备的结构框图,如图7所示,包括处理器702、通信接口704、存储器706和通信总线708,其中,处理器702、通信接口704和存储器706通过通信总线708完成相互间的通信,其中,FIG. 7 is a structural block diagram of an optional electronic device according to an embodiment of the present application. As shown in FIG. 704 and
存储器706,用于存储计算机程序;
处理器702,用于执行存储器706上所存放的计算机程序时,实现如下步骤:When the
获取目标通讯录,其中目标通讯录中包含多个号码;Obtain the target address book, wherein the target address book contains multiple numbers;
为目标通讯录中每一个号码配置话术模板和机器人;Configure speech templates and robots for each number in the target address book;
控制每一个机器人对对应的号码进行语音呼叫;Control each robot to make a voice call to the corresponding number;
在语音呼叫被成功接通的情况下,控制每一个机器人根据话术模板进行位置确定工作,得到每一个号码对应的用户的位置信息,生成报告。When the voice call is successfully connected, control each robot to determine the location according to the speech template, obtain the location information of the user corresponding to each number, and generate a report.
可选地,在本实施例中,上述的通信总线可以是PCI(Peripheral ComponentInterconnect,外设部件互连标准)总线、或EISA(Extended Industry StandardArchitecture,扩展工业标准结构)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。通信接口用于上述电子设备与其他设备之间的通信。Optionally, in this embodiment, the aforementioned communication bus may be a PCI (Peripheral Component Interconnect, Peripheral Component Interconnect Standard) bus, or an EISA (Extended Industry Standard Architecture, Extended Industry Standard Architecture) bus, or the like. The communication bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 7 , but it does not mean that there is only one bus or one type of bus. The communication interface is used for communication between the electronic device and other devices.
存储器可以包括RAM,也可以包括非易失性存储器(non-volatile memory),例如,至少一个磁盘存储器。可选地,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include RAM, and may also include non-volatile memory (non-volatile memory), for example, at least one magnetic disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
作为一种示例,上述存储器706中可以但不限于包括上述基于语音识别的位置确定装置中的第一获取模块602、配置模块604、第一控制模块606 以及第二控制模块608。此外,还可以包括但不限于上述请求的处理装置中的其他模块单元,本示例中不再赘述。As an example, the
上述处理器可以是通用处理器,可以包含但不限于:CPU(Central ProcessingUnit,中央处理器)、NP(Network Processor,网络处理器)等;还可以是DSP(DigitalSignal Processing,数字信号处理器)、ASIC (Application Specific IntegratedCircuit,专用集成电路)、FPGA(Field -Programmable Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。Above-mentioned processor can be general-purpose processor, can include but not limited to: CPU (Central Processing Unit, central processing unit), NP (Network Processor, network processor) etc.; Can also be DSP (DigitalSignal Processing, digital signal processor), ASIC (Application Specific Integrated Circuit, Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array, Field Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments, and details are not repeated in this embodiment.
本领域普通技术人员可以理解,图7所示的结构仅为示意,实施上述基于语音识别的位置确定方法的设备可以是终端设备,该终端设备可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图7其并不对上述电子设备的结构造成限定。例如,电子设备还可包括比图7中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图7所示的不同的配置。Those of ordinary skill in the art can understand that the structure shown in Figure 7 is only for illustration, and the device implementing the above-mentioned method for determining a position based on speech recognition may be a terminal device, and the terminal device may be a smart phone (such as an Android phone, an iOS phone, etc.) , Tablet PC, PDA, and mobile Internet devices (Mobile Internet Devices, MID), PAD and other terminal equipment. FIG. 7 does not limit the structure of the above-mentioned electronic equipment. For example, the electronic device may also include more or less components than those shown in FIG. 7 (such as a network interface, a display device, etc.), or have a different configuration from that shown in FIG. 7 .
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、ROM、RAM、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can be Including: flash disk, ROM, RAM, magnetic disk or optical disk, etc.
根据本发明的实施例的又一方面,还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被处理器运行时执行上述基于语音识别的位置确定方法中的步骤。According to yet another aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein, when the computer program is run by a processor, the above-mentioned voice-based Steps in the location determination method are identified.
可选地,在本实施例中,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory, RAM)、磁盘或光盘等。Optionally, in this embodiment, those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing hardware related to the terminal device through a program, and the program can be stored in a In the computer-readable storage medium, the storage medium may include: a flash disk, a read-only memory (Read-Only Memory, ROM), a random access device (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。If the integrated units in the above embodiments are realized in the form of software function units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium. Several instructions are included to make one or more computer devices (which may be personal computers, servers or network devices, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed client can be implemented in other ways. Wherein, the device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or can be Integrate into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of units or modules may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that, for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications can also be made. It should be regarded as the protection scope of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210945326.6A CN115334455B (en) | 2022-08-08 | Position determination method, device and electronic device based on voice recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210945326.6A CN115334455B (en) | 2022-08-08 | Position determination method, device and electronic device based on voice recognition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115334455A true CN115334455A (en) | 2022-11-11 |
CN115334455B CN115334455B (en) | 2025-02-07 |
Family
ID=
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140094137A1 (en) * | 2012-09-28 | 2014-04-03 | Michael Gregory | Method and system for untethered two-way voice communication for an alarm system |
CN110298682A (en) * | 2019-05-22 | 2019-10-01 | 深圳壹账通智能科技有限公司 | Intelligent Decision-making Method, device, equipment and medium based on user information analysis |
CN110809095A (en) * | 2019-10-25 | 2020-02-18 | 大唐网络有限公司 | Method and device for voice call-out |
CN111131621A (en) * | 2019-12-31 | 2020-05-08 | 北京金山安全软件有限公司 | Incoming call processing method and device, electronic equipment and storage medium |
CN112287078A (en) * | 2020-10-23 | 2021-01-29 | 上海淇玥信息技术有限公司 | Multi-sentence matching method and device and electronic equipment |
CN112866086A (en) * | 2021-01-06 | 2021-05-28 | 招商银行股份有限公司 | Information pushing method, device, equipment and storage medium for intelligent outbound |
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140094137A1 (en) * | 2012-09-28 | 2014-04-03 | Michael Gregory | Method and system for untethered two-way voice communication for an alarm system |
CN110298682A (en) * | 2019-05-22 | 2019-10-01 | 深圳壹账通智能科技有限公司 | Intelligent Decision-making Method, device, equipment and medium based on user information analysis |
CN110809095A (en) * | 2019-10-25 | 2020-02-18 | 大唐网络有限公司 | Method and device for voice call-out |
CN111131621A (en) * | 2019-12-31 | 2020-05-08 | 北京金山安全软件有限公司 | Incoming call processing method and device, electronic equipment and storage medium |
CN112287078A (en) * | 2020-10-23 | 2021-01-29 | 上海淇玥信息技术有限公司 | Multi-sentence matching method and device and electronic equipment |
CN112866086A (en) * | 2021-01-06 | 2021-05-28 | 招商银行股份有限公司 | Information pushing method, device, equipment and storage medium for intelligent outbound |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11956187B2 (en) | Natural language processing for information extraction | |
US8943394B2 (en) | System and method for interacting with live agents in an automated call center | |
US10592611B2 (en) | System for automatic extraction of structure from spoken conversation using lexical and acoustic features | |
CN109960723B (en) | Interaction system and method for psychological robot | |
CN111241260A (en) | Data processing method, device, device and storage medium based on human-computer interaction | |
CN115665325B (en) | Intelligent outbound method, device, electronic equipment and storage medium | |
CN111683175A (en) | Method, device, equipment and storage medium for automatically answering incoming call | |
CN113282737B (en) | Man-machine cooperation intelligent customer service dialogue method and device | |
CN113836010A (en) | Voice intelligent customer service automatic testing method, system and storage medium | |
CN114328867A (en) | Intelligent interruption method and device in man-machine conversation | |
Inupakutika et al. | Integration of NLP and Speech-to-text Applications with Chatbots | |
CN118658467B (en) | Cheating detection method, device, equipment, storage medium and product | |
CN114202363B (en) | Artificial intelligence-based call method, device, computer equipment and medium | |
US20250028909A1 (en) | Systems and methods for natural language processing using a plurality of natural language models | |
CN115334455A (en) | Position determining method and device based on voice recognition and electronic equipment | |
CN115334455B (en) | Position determination method, device and electronic device based on voice recognition | |
WO2023090380A1 (en) | Program, information processing system, and information processing method | |
CN114374768B (en) | Voice dialogue testing method and device and storage medium | |
CN115602172A (en) | An intelligent outbound call method and system | |
CN112911074B (en) | Voice communication processing method, device, equipment and machine-readable medium | |
CN114390144A (en) | Method, device and control system for intelligent processing of voice calls | |
US11228679B2 (en) | Browser and phone integration | |
CN111726461A (en) | Telephone conversation method, apparatus, device and computer readable storage medium | |
Stentiford et al. | The design and evaluation of dialogues for interactive voice response services | |
CN110784595A (en) | Incoming call information processing method and related device |
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 | ||
GR01 | Patent grant |