CN118797032A - A processing method, device and electronic equipment for intelligent simulated interview - Google Patents
A processing method, device and electronic equipment for intelligent simulated interview Download PDFInfo
- Publication number
- CN118797032A CN118797032A CN202411274092.2A CN202411274092A CN118797032A CN 118797032 A CN118797032 A CN 118797032A CN 202411274092 A CN202411274092 A CN 202411274092A CN 118797032 A CN118797032 A CN 118797032A
- Authority
- CN
- China
- Prior art keywords
- stored
- feature
- processing
- interview
- user
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/335—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
- G06F40/16—Automatic learning of transformation rules, e.g. from examples
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/194—Calculation of difference between files
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
一种智能模拟面试的处理方法、装置及电子设备,涉及数据处理技术领域。在该方法中,获取第一用户输入的第一面试问题;根据预设知识网络,在预设数据库搜索针对第一面试问题的多个第一预存方案;调取预设数据库中,预存的第二用户的选择习惯;根据选择习惯若确定选择率等于预设选择率,则对多个第一预存方案进行总选择率筛选,得到多个第一处理方案;对第二处理方案进行拆分处理,得到至少两个处理步骤;采用预存的关联步骤替换处理步骤,得到针对第一面试问题的第一面试答案,并将第一面试答案向第一用户进行展示,以便第一用户根据第一面试答案进行模拟。实施本申请提供的技术方案,使得输出的面试答案能够更符合学生的回答面试问题的需求。
A processing method, device and electronic device for intelligent simulated interviews, relating to the field of data processing technology. In this method, a first interview question input by a first user is obtained; according to a preset knowledge network, multiple first pre-stored solutions for the first interview question are searched in a preset database; the selection habits of the second user pre-stored in the preset database are retrieved; according to the selection habits, if it is determined that the selection rate is equal to the preset selection rate, the total selection rate of the multiple first pre-stored solutions is screened to obtain multiple first processing solutions; the second processing solution is split and processed to obtain at least two processing steps; the processing steps are replaced by pre-stored associated steps to obtain a first interview answer for the first interview question, and the first interview answer is displayed to the first user so that the first user can simulate according to the first interview answer. The technical solution provided by the present application is implemented so that the output interview answer can better meet the needs of students to answer interview questions.
Description
技术领域Technical Field
本申请涉及数据处理技术领域,具体涉及一种智能模拟面试的处理方法、装置及电子设备。The present application relates to the field of data processing technology, and specifically to a method, device and electronic equipment for processing intelligent simulated interviews.
背景技术Background Art
随着科技的发展和市场的不断变化,企业对求职者的要求也在不断提高,尤其是对于初涉职场的大学生群体而言,普遍面临实战经验匮乏,特别是面试环节上显得尤为不足。智能模拟面试技术应运而生,作为一种创新的教育与培训手段,以深入了解市场动态即企业特定的招牌偏好与用人标准。鉴于智能模拟面试系统广泛覆盖了跨行业、多岗位的面试题库,学生得以借此机会深入检索不同企业以职位的具体要求,进而精确定位个人职业规划方向。With the development of technology and the continuous changes in the market, companies are also constantly increasing their requirements for job seekers. Especially for college students who are new to the workplace, they generally lack practical experience, especially in the interview stage. Intelligent simulation interview technology came into being as an innovative means of education and training to gain an in-depth understanding of market dynamics, that is, the company's specific signature preferences and employment standards. Given that the intelligent simulation interview system covers a wide range of interview question banks across industries and multiple positions, students can take this opportunity to deeply search for the specific requirements of different companies and positions, and then accurately locate the direction of their personal career planning.
在准备参与智能模拟面试的过程中,学生往往会基于目标岗位特性,预先搜集并整理出潜在的面试问题集。然而,面对这些问题,学生可能因缺乏实战经验而感到困惑,难以构思出即贴合岗位需求又展现个人优势的答案。现有的智能平台允许学生输入具体的面试问题,并根据问题自动生成对应的面试回答,但当前生成的回答内容比较简单模糊,无法给出详细且具体的回复,导致不符合学生回答面试问题的需求。In the process of preparing to participate in intelligent simulation interviews, students often collect and organize potential interview question sets in advance based on the characteristics of the target position. However, faced with these questions, students may be confused due to lack of practical experience and find it difficult to conceive answers that both meet the job requirements and show their personal strengths. Existing intelligent platforms allow students to enter specific interview questions and automatically generate corresponding interview answers based on the questions, but the answers currently generated are relatively simple and vague, and cannot give detailed and specific responses, which does not meet the needs of students to answer interview questions.
因此,亟需可解决上述技术问题的一种智能模拟面试的处理方法、装置及电子设备。Therefore, there is an urgent need for an intelligent simulated interview processing method, device and electronic equipment that can solve the above-mentioned technical problems.
发明内容Summary of the invention
本申请提供了一种智能模拟面试的处理方法、装置及电子设备,该方法根据第一用户发送的第一面试问题,进而从预设数据库中搜索出多个预存方案,对预存方案进行筛选、拆分以及替换处理,使得输出的面试答案能够更符合学生的回答面试问题的需求,还可提高答复的效率。The present application provides a method, device and electronic device for processing an intelligent simulated interview. The method searches for multiple pre-stored solutions from a preset database based on a first interview question sent by a first user, and screens, splits and replaces the pre-stored solutions, so that the output interview answers can better meet the students' needs for answering interview questions and improve the efficiency of answering.
第一方面,本申请提供了一种智能模拟面试的处理方法,方法包括:获取第一用户输入的第一面试问题;根据预设知识网络,在预设数据库搜索针对第一面试问题的多个第一预存方案;调取预设数据库中,预存的第二用户的选择习惯,选择习惯包括第二用户对预存方案的选择率,选择率为第二用户选择预存方案的次数与显示的预存方案的数量之比;根据选择习惯若确定选择率低于预设选择率,则对多个第一预存方案进行总选择率筛选,得到多个第一处理方案,第一处理方案为多个第一预存方案中,总选择率高于预设总选择率的第一预存方案,总选择率为对应第一预存方案的被选择总数与被显示总数之比;对第二处理方案进行拆分处理,得到至少两个处理步骤,第二处理方案为多个第一处理方案中的任意一个第一处理方案;采用预存的关联步骤替换处理步骤,得到针对第一面试问题的第一面试答案,并将第一面试答案向第一用户进行展示,以便第一用户根据第一面试答案进行模拟。In a first aspect, the present application provides a method for processing an intelligent simulated interview, the method comprising: obtaining a first interview question input by a first user; searching a preset database for multiple first pre-stored solutions for the first interview question according to a preset knowledge network; retrieving the selection habits of a second user pre-stored in the preset database, the selection habits including the selection rate of the second user for the pre-stored solutions, the selection rate being the ratio of the number of times the second user selects the pre-stored solutions to the number of displayed pre-stored solutions; if it is determined that the selection rate is lower than the preset selection rate according to the selection habits, then screening the multiple first pre-stored solutions for the total selection rate to obtain multiple first processing solutions, the first processing solution being the first pre-stored solution with a total selection rate higher than the preset total selection rate among the multiple first pre-stored solutions, the total selection rate being the ratio of the total number of selected solutions corresponding to the first pre-stored solutions to the total number of displayed solutions; splitting the second processing solution to obtain at least two processing steps, the second processing solution being any one of the multiple first processing solutions; replacing the processing steps with the pre-stored associated steps to obtain a first interview answer for the first interview question, and displaying the first interview answer to the first user so that the first user can simulate according to the first interview answer.
通过采用上述技术方案,在根据第一用户的第一面试问题搜索出预设数据库中的多个预存方案后,再进一步分析第二用户的选择习惯,根据第二用户对预存方案的选择率,判断出第二用户很少选择预存方案从而采用预存方案,则直接对预存方案依次进行筛选、拆分以及替换处理,使最终得到的面试答案能够更符合第一用户的需求。从多个预存方案中筛选出总选择率较高的预存方案,即筛选出其中在用户群体中受欢迎的、点击率较高的预存方案,从而避免推荐需对不受欢迎或不相关的内容,提高了答案的质量和相关性,接着对筛选得到的第一处理方案进行拆分成多个步骤,最后采用关联步骤替换原来的处理步骤。由于预设数据库根据第二用户的选择习惯对给出的答复进行多重加工,而不需要第一用户一次次对答复进行调节限定,从而提高答复的效率。By adopting the above technical solution, after searching for multiple pre-stored solutions in the preset database according to the first interview question of the first user, the selection habits of the second user are further analyzed. According to the selection rate of the second user for the pre-stored solutions, it is judged that the second user rarely chooses the pre-stored solution and thus adopts the pre-stored solution. Then, the pre-stored solutions are directly screened, split and replaced in sequence, so that the final interview answer can better meet the needs of the first user. Pre-stored solutions with a higher total selection rate are screened from multiple pre-stored solutions, that is, pre-stored solutions that are popular among the user group and have a higher click rate are screened, thereby avoiding the need to recommend unpopular or irrelevant content, improving the quality and relevance of the answer, and then the first processing solution obtained by screening is split into multiple steps, and finally the original processing step is replaced by the associated step. Because the preset database performs multiple processing on the given answer according to the selection habits of the second user, the first user does not need to adjust and limit the answer again and again, thereby improving the efficiency of the answer.
可选的,在采用预存的关联步骤替换处理步骤,得到针对第一面试问题的第一面试答案之前,方法还包括:根据预设知识网络,确定第一处理步骤对应的第二面试问题,第一处理步骤为多个处理步骤中的任意一个处理步骤;根据预设知识网络,在预设数据库搜索针对第二面试问题的多个第二预存方案;对多个第二预存方案的总选择率按照从大到小的顺序进行排序,得到排序结果;从排序结果中获取末位对应的目标选择率,确定目标选择率对应的第二面试答案;确定第二面试答案为第二处理步骤,第二处理步骤为多个关联步骤中,第一处理步骤对应的关联步骤。Optionally, before replacing the processing step with a pre-stored association step to obtain a first interview answer to the first interview question, the method also includes: determining a second interview question corresponding to the first processing step based on a preset knowledge network, the first processing step being any one of multiple processing steps; searching a preset database for multiple second pre-stored solutions for the second interview question based on the preset knowledge network; sorting the total selection rates of the multiple second pre-stored solutions in descending order to obtain a sorting result; obtaining a target selection rate corresponding to the last position from the sorting result, and determining a second interview answer corresponding to the target selection rate; and determining the second interview answer to be a second processing step, the second processing step being an association step corresponding to the first processing step among multiple association steps.
通过采用上述技术方案,提高根据预设知识网络确定第一处理步骤对应第二面试问题,然后搜索出第二面试问题的多个第二预存方案,因为均是针对同一问题的方案,从而使得找出的第二预存方案与第二处理方案的关联度更高,还可再筛选出排序结果中末位对应的目标选择率,以得到第二预测方案,并将第二预存方案进行拆分用于后续替换,从而能够使回复的结果既与原始回复有较高关联度,并且还是一些偏新颖的方案。By adopting the above technical solution, it is improved to determine that the first processing step corresponds to the second interview question according to the preset knowledge network, and then search out multiple second pre-stored solutions for the second interview question. Because they are all solutions to the same problem, the second pre-stored solutions found have a higher correlation with the second processing solution. The target selection rate corresponding to the last position in the sorting result can be screened out to obtain the second predicted solution, and the second pre-stored solution can be split for subsequent replacement, so that the reply results can have a high correlation with the original reply and are also some relatively novel solutions.
可选的,对第二处理方案进行拆分处理,得到至少两个处理步骤,具体包括:对第二处理方案进行关键特征提取,得到多个名词短语性关键特征和多个动词性关键特征;对第二处理方案进行顺序逻辑结构识别,确定第二处理方案中包含的多个顺序逻辑连接词,顺序逻辑连接词用于在面试答案中建立句与句或者段与段之间的顺序逻辑关系;确定第一逻辑连接词与第二逻辑连接词之间的第一关键特征和第二关键特征,第一逻辑连接词与第二逻辑连接词为多个顺序连接词中,任意相邻的两个顺序逻辑连接词,第一关键特征为多个名词性关键特征中的任意一个名词性关键特征中,第二关键特征为多个动词关键特征中的任意一个动词性关键特性;对第一关键特征和第二关键特征进行组合,得到第一处理步骤。Optionally, the second processing scheme is split and processed to obtain at least two processing steps, specifically including: extracting key features of the second processing scheme to obtain multiple noun phrase key features and multiple verb key features; identifying the sequential logical structure of the second processing scheme to determine multiple sequential logical connectives included in the second processing scheme, and the sequential logical connectives are used to establish sequential logical relationships between sentences or paragraphs in the interview answers; determining a first key feature and a second key feature between the first logical connective and the second logical connective, the first logical connective and the second logical connective being any two adjacent sequential logical connectives among multiple sequential connectives, the first key feature being any one of multiple noun key features, and the second key feature being any one of multiple verb key features; combining the first key feature and the second key feature to obtain the first processing step.
通过采用上述技术方案,通过提取多个名词短语性关键特征和多个动词性关键特征,能够捕捉面试答案中的重要概念和关键动作,有助于从大段文本中抽取关键信息,通过识别第二处理方案中包含的顺序逻辑连接词,确定了句与句或段与段之间的逻辑关系,这使得面试答案的结构更加清晰,进而更容易理解各个步骤之间的顺序和关联性,最后通过逻辑连接词之间的关键特征的组合,实现了处理步骤的生成。By adopting the above technical scheme, by extracting multiple noun phrase key features and multiple verb key features, it is possible to capture important concepts and key actions in the interview answers, which is helpful to extract key information from large texts. By identifying the sequential logical connectives contained in the second processing scheme, the logical relationship between sentences or paragraphs is determined, which makes the structure of the interview answers clearer and makes it easier to understand the order and correlation between the steps. Finally, through the combination of key features between logical connectives, the generation of processing steps is realized.
可选的,在采用预存的关联步骤替换处理步骤,得到针对第一面试问题的第一面试答案之前,方法还包括:根据预设知识网络,确定第一处理步骤对应的第二面试问题,第一处理步骤为多个处理步骤中的任意一个处理步骤;根据预设知识网络,在预设数据库搜索针对第二面试问题的多个第二预存方案;对第一处理步骤进行特征提取,得到多个第一特征,对目标预存方案进行特征提取,得到多个第二特征,目标预存方案为多个第二预存方案中的任意一个第二预存方案;Optionally, before replacing the processing step with the pre-stored association step to obtain the first interview answer to the first interview question, the method further includes: determining the second interview question corresponding to the first processing step according to the preset knowledge network, the first processing step being any one of the multiple processing steps; searching for multiple second pre-stored solutions for the second interview question in the preset database according to the preset knowledge network; performing feature extraction on the first processing step to obtain multiple first features, performing feature extraction on the target pre-stored solution to obtain multiple second features, the target pre-stored solution being any one of the multiple second pre-stored solutions;
根据多个第一特征以及多个第二特征,计算第一处理步骤与目标预存方案的关联度,具体计算公式如下:;其中D(X,Y)为第一处理步骤X与目标预存方案Y的关联度,df(u)为第u个第一特征的特征频率,df(v)为第v个第二特征的特征频率,argmin(d(u,v)×Puv)为流量分配矩阵,Puv为第u个第一特征到第v个第二特征的流量分配,即将第u个第一特征移动到第v个第二特征所分配的流量数量,d(u,v)为第一特征的特征向量与第二特征的特征向量之间的距离;若确定关联度大于或等于预设阈值,则确定目标预存方案为关联步骤。According to the multiple first features and the multiple second features, the correlation between the first processing step and the target pre-stored solution is calculated. The specific calculation formula is as follows: ; Wherein D(X, Y) is the correlation between the first processing step X and the target pre-stored solution Y, df(u) is the characteristic frequency of the u-th first feature, df(v) is the characteristic frequency of the v-th second feature, argmin(d(u,v)×P uv ) is the traffic allocation matrix, P uv is the traffic allocation from the u-th first feature to the v-th second feature, that is, the amount of traffic allocated by moving the u-th first feature to the v-th second feature, and d(u,v) is the distance between the characteristic vector of the first feature and the characteristic vector of the second feature; if it is determined that the correlation is greater than or equal to the preset threshold, the target pre-stored solution is determined to be an association step.
通过采用上述技术方案,通过在预设知识网络中确定第一处理步骤对应的第二面试问题,保证了关联步骤与原始处理步骤在知识领域上有相关性,确保替换后的方案更符合第一用户的面试需求。通过计算关联度的公式,综合考虑了特征的频率、流量分配和特征向量之间的距离,使关联度计算更加全面和准确。若确定关联度大于或等于预设阈值,则确定目标预存方案为关联步骤。这种机制确保了替换方案的选择更加可靠,仅在关联性较高时才进行替换,避免无关或低关联度的替换,从而提高了回复的准确性。By adopting the above technical solution, by determining the second interview question corresponding to the first processing step in the preset knowledge network, it is ensured that the association step is relevant to the original processing step in the knowledge field, ensuring that the replaced solution is more in line with the interview needs of the first user. By calculating the formula for the correlation, the frequency of the feature, the flow distribution and the distance between the feature vectors are comprehensively considered, making the correlation calculation more comprehensive and accurate. If it is determined that the correlation is greater than or equal to the preset threshold, the target pre-stored solution is determined to be the association step. This mechanism ensures that the selection of the replacement solution is more reliable, and replacement is only performed when the correlation is high, avoiding irrelevant or low-correlation replacements, thereby improving the accuracy of the response.
可选的,通过如下公式计算第一特征的特征频率:;其中,df(u)为第u个第一特征的特征频率,mu为包含第一特征的预存方案的数量,Mu为预存方案的总数量;Optionally, the characteristic frequency of the first characteristic is calculated by the following formula: ; Wherein, df(u) is the characteristic frequency of the u-th first feature, mu is the number of pre-stored solutions containing the first feature, and Mu is the total number of pre-stored solutions;
通过如下公式计算第二特征的特征频率:;其中,df(v)为第v个第二特征的特征频率,mv为包含第二特征的预存方案的数量,Mv为预存方案的总数量;通过如下公式计算第一特征的特征向量与第二特征的特征向量之间的距离:;其中,d(u,v)为第一特征的特征向量与第二特征的特征向量之间的距离,uk为第一特征在第k个维度的特征向量,vk为第二特征在第k个维度的特征向量。The characteristic frequency of the second characteristic is calculated by the following formula: ; Where df(v) is the characteristic frequency of the vth second feature, m v is the number of pre-stored solutions containing the second feature, and M v is the total number of pre-stored solutions; the distance between the characteristic vector of the first feature and the characteristic vector of the second feature is calculated by the following formula: ; Wherein, d(u,v) is the distance between the eigenvector of the first feature and the eigenvector of the second feature, uk is the eigenvector of the first feature in the kth dimension, and vk is the eigenvector of the second feature in the kth dimension.
可选的,在调取预设数据库中,预存的第二用户的选择习惯之前,方法还包括:在第一用户输入面试问题后,记录检索出的针对面试问题的预存方案的第一数量;记录第二用户未经任何处理,选择预存方案的第二数量;根据第二数量与第一数量的比值,得到选择率。Optionally, before retrieving the selection habits of the second user pre-stored in a preset database, the method also includes: recording a first number of pre-stored solutions for the interview question retrieved after the first user inputs the interview question; recording a second number of pre-stored solutions selected by the second user without any processing; and obtaining a selection rate based on a ratio of the second number to the first number.
通过采用上述技术方案,通过计算选择率,能够评估第一用户对预存方案的关注程度。较高的选择率表明第二用户更可能对提供的方案感兴趣,而较低的选择率则可能表示第二用户对方案的兴趣较低。记录第二用户的选择率有助于更智能地调整预存方案的权重。在后续的处理步骤中,可以根据选择率高的方案更优先地推荐相关内容,从而提高第一用户满意度。By adopting the above technical solution, by calculating the selection rate, the first user's attention to the pre-stored solution can be evaluated. A higher selection rate indicates that the second user is more likely to be interested in the provided solution, while a lower selection rate may indicate that the second user is less interested in the solution. Recording the selection rate of the second user helps to more intelligently adjust the weight of the pre-stored solution. In the subsequent processing steps, relevant content can be recommended more preferentially based on the solution with a high selection rate, thereby improving the first user's satisfaction.
可选的,在预设数据库搜索针对第一面试问题的多个第一预存方案,具体包括:确定第一面试问题与预设数据库中多个预存面试问题的相似度;确定多个预存面试问题中,相似度大于或等于预设相似度阈值的预存面试问题;确定各个相似度大于或等于预设相似度阈值的预存面试问题对应的多个第一预存方案。Optionally, searching a preset database for multiple first pre-stored solutions for a first interview question specifically includes: determining a similarity between the first interview question and multiple pre-stored interview questions in the preset database; determining, among the multiple pre-stored interview questions, pre-stored interview questions whose similarity is greater than or equal to a preset similarity threshold; and determining multiple first pre-stored solutions corresponding to the pre-stored interview questions whose respective similarities are greater than or equal to the preset similarity threshold.
通过采用上述技术方案,通过计算第一面试问题与预存面试问题的相似度,能够精准匹配与第一用户提问相近的问题。这有助于提高所搜索到的预存方案与第一用户实际问题的相关性。设置相似度阈值可以过滤掉相似度较低的预存面试问题,确保仅保留与第一用户问题高度相关的问题。这样可以有效降低噪音干扰,提高检索结果的质量。确定相似度大于或等于预设相似度阈值的预存面试问题后,能够获取这些问题对应的多个第一预存方案,从而提供第一用户多样化的解决方案选择,增加了答案的全面性。By adopting the above technical solution, by calculating the similarity between the first interview question and the pre-stored interview questions, it is possible to accurately match questions similar to those asked by the first user. This helps to improve the relevance of the searched pre-stored solutions to the actual questions of the first user. Setting a similarity threshold can filter out pre-stored interview questions with low similarity, ensuring that only questions that are highly relevant to the first user's questions are retained. This can effectively reduce noise interference and improve the quality of retrieval results. After determining the pre-stored interview questions whose similarity is greater than or equal to the preset similarity threshold, multiple first pre-stored solutions corresponding to these questions can be obtained, thereby providing the first user with a variety of solution options and increasing the comprehensiveness of the answers.
在本申请的第二方面提供了一种智能模拟面试的处理装置,装置包括获取单元、处理单元以及拆分单元;获取单元,获取第一用户输入的第一面试问题;处理单元,根据预设知识网络,在预设数据库搜索针对第一面试问题的多个第一预存方案;调取预设数据库中,预存的第二用户的选择习惯,选择习惯包括第二用户对预存方案的选择率,选择率为第二用户选择预存方案的次数与显示的预存方案的数量之比;根据选择习惯若确定选择率低于预设选择率,则对多个第一预存方案进行总选择率筛选,得到多个第一处理方案,第一处理方案为多个第一预存方案中,总选择率高于预设总选择率的第一预存方案,总选择率为对应第一预存方案的被选择总数与被显示总数之比;拆分单元,对第二处理方案进行拆分处理,得到至少两个处理步骤,第二处理方案为多个第一处理方案中的任意一个第一处理方案;采用预存的关联步骤替换处理步骤,得到针对第一面试问题的第一面试答案,并将第一面试答案向第一用户进行展示,以便第一用户根据第一面试答案进行模拟。In a second aspect of the present application, a processing device for an intelligent simulated interview is provided, the device comprising an acquisition unit, a processing unit and a splitting unit; the acquisition unit acquires a first interview question input by a first user; the processing unit searches for a plurality of first pre-stored solutions for the first interview question in a preset database according to a preset knowledge network; retrieves the selection habits of the second user pre-stored in the preset database, the selection habits including the selection rate of the second user for the pre-stored solutions, the selection rate being the ratio of the number of times the second user selects the pre-stored solutions to the number of displayed pre-stored solutions; if it is determined that the selection rate is lower than the preset selection rate according to the selection habits, the total selection rate of the plurality of first pre-stored solutions is screened to obtain a plurality of first processing solutions, the first processing solution being the first pre-stored solution with a total selection rate higher than the preset total selection rate among the plurality of first pre-stored solutions, the total selection rate being the ratio of the total number of selected solutions corresponding to the first pre-stored solutions to the total number of displayed solutions; the splitting unit splits the second processing solution to obtain at least two processing steps, the second processing solution being any one of the plurality of first processing solutions; replaces the processing step with the pre-stored associated step to obtain a first interview answer for the first interview question, and displays the first interview answer to the first user so that the first user can simulate according to the first interview answer.
可选的,处理单元用于根据预设知识网络,确定第一处理步骤对应的第二面试问题,第一处理步骤为多个处理步骤中的任意一个处理步骤;根据预设知识网络,在预设数据库搜索针对第二面试问题的多个第二预存方案;对多个第二预存方案的总选择率按照从大到小的顺序进行排序,得到排序结果;获取单元用于从排序结果中获取末位对应的目标选择率,确定目标选择率对应的第二面试答案;处理单元用于确定第二面试答案为第二处理步骤,第二处理步骤为多个关联步骤中,第一处理步骤对应的关联步骤。Optionally, the processing unit is used to determine, based on a preset knowledge network, a second interview question corresponding to the first processing step, where the first processing step is any one of multiple processing steps; based on the preset knowledge network, search a preset database for multiple second pre-stored solutions for the second interview question; sort the total selection rates of the multiple second pre-stored solutions in descending order to obtain a sorting result; the acquisition unit is used to obtain the target selection rate corresponding to the last position from the sorting result, and determine the second interview answer corresponding to the target selection rate; the processing unit is used to determine that the second interview answer is a second processing step, where the second processing step is an associated step corresponding to the first processing step among multiple associated steps.
可选的,处理单元用于对第二处理方案进行关键特征提取,得到多个名词短语性关键特征和多个动词性关键特征;对第二处理方案进行顺序逻辑结构识别,确定第二处理方案中包含的多个顺序逻辑连接词,顺序逻辑连接词用于在面试答案中建立句与句或者段与段之间的顺序逻辑关系;确定第一逻辑连接词与第二逻辑连接词之间的第一关键特征和第二关键特征,第一逻辑连接词与第二逻辑连接词为多个顺序连接词中,任意相邻的两个顺序逻辑连接词,第一关键特征为多个名词性关键特征中的任意一个名词性关键特征中,第二关键特征为多个动词关键特征中的任意一个动词性关键特性;对第一关键特征和第二关键特征进行组合,得到第一处理步骤。Optionally, the processing unit is used to extract key features of the second processing scheme to obtain multiple noun phrase key features and multiple verb key features; perform sequential logical structure recognition on the second processing scheme to determine multiple sequential logical connectives contained in the second processing scheme, and the sequential logical connectives are used to establish sequential logical relationships between sentences or paragraphs in the interview answers; determine a first key feature and a second key feature between the first logical connective and the second logical connective, the first logical connective and the second logical connective are any two adjacent sequential logical connectives among multiple sequential connectives, the first key feature is any one of the multiple noun key features, and the second key feature is any one of the multiple verb key features; combine the first key feature and the second key feature to obtain a first processing step.
可选的,处理单元用于根据预设知识网络,确定第一处理步骤对应的第二面试问题,第一处理步骤为多个处理步骤中的任意一个处理步骤;根据预设知识网络,在预设数据库搜索针对第二面试问题的多个第二预存方案;对第一处理步骤进行特征提取,得到多个第一特征,对目标预存方案进行特征提取,得到多个第二特征,目标预存方案为多个第二预存方案中的任意一个第二预存方案;根据多个第一特征以及多个第二特征,计算第一处理步骤与目标预存方案的关联度,具体计算公式如下:;其中D(X,Y)为第一处理步骤X与目标预存方案Y的关联度,df(u)为第u个第一特征的特征频率,df(v)为第v个第二特征的特征频率,argmin(d(u,v)×Puv)为流量分配矩阵,Puv为第u个第一特征到第v个第二特征的流量分配,即将第u个第一特征移动到第v个第二特征所分配的流量数量,d(u,v)为第一特征的特征向量与第二特征的特征向量之间的距离;若确定关联度大于或等于预设阈值,则确定目标预存方案为关联步骤。Optionally, the processing unit is used to determine the second interview question corresponding to the first processing step according to a preset knowledge network, where the first processing step is any one of the multiple processing steps; search for multiple second pre-stored solutions for the second interview question in a preset database according to the preset knowledge network; perform feature extraction on the first processing step to obtain multiple first features, perform feature extraction on the target pre-stored solution to obtain multiple second features, where the target pre-stored solution is any one of the multiple second pre-stored solutions; calculate the correlation between the first processing step and the target pre-stored solution according to the multiple first features and the multiple second features, and the specific calculation formula is as follows: ; Wherein D(X, Y) is the correlation between the first processing step X and the target pre-stored solution Y, df(u) is the characteristic frequency of the u-th first feature, df(v) is the characteristic frequency of the v-th second feature, argmin(d(u,v)×P uv ) is the traffic allocation matrix, P uv is the traffic allocation from the u-th first feature to the v-th second feature, that is, the amount of traffic allocated by moving the u-th first feature to the v-th second feature, and d(u,v) is the distance between the characteristic vector of the first feature and the characteristic vector of the second feature; if it is determined that the correlation is greater than or equal to the preset threshold, the target pre-stored solution is determined to be an association step.
可选的,处理单元用于通过如下公式计算第一特征的特征频率:;其中,df(u)为第u个第一特征的特征频率,mu为包含第一特征的预存方案的数量,Mu为预存方案的总数量;通过如下公式计算第二特征的特征频率:;其中,df(v)为第v个第二特征的特征频率,mv为包含第二特征的预存方案的数量,Mv为预存方案的总数量;通过如下公式计算第一特征的特征向量与第二特征的特征向量之间的距离:;其中,d(u,v)为第一特征的特征向量与第二特征的特征向量之间的距离,uk为第一特征在第k个维度的特征向量,vk为第二特征在第k个维度的特征向量。Optionally, the processing unit is used to calculate the characteristic frequency of the first characteristic by the following formula: ; Where df(u) is the characteristic frequency of the u-th first feature, mu is the number of pre-stored solutions containing the first feature, and Mu is the total number of pre-stored solutions; the characteristic frequency of the second feature is calculated by the following formula: ; Where df(v) is the characteristic frequency of the vth second feature, m v is the number of pre-stored solutions containing the second feature, and M v is the total number of pre-stored solutions; the distance between the characteristic vector of the first feature and the characteristic vector of the second feature is calculated by the following formula: ; Wherein, d(u,v) is the distance between the eigenvector of the first feature and the eigenvector of the second feature, uk is the eigenvector of the first feature in the kth dimension, and vk is the eigenvector of the second feature in the kth dimension.
可选的,处理单元用于在第一用户输入面试问题后,记录检索出的针对面试问题的预存方案的第一数量;记录第二用户未经任何处理,选择预存方案的第二数量;根据第二数量与第一数量的比值,得到选择率。Optionally, the processing unit is used to record a first number of pre-stored solutions for the interview question retrieved after the first user inputs the interview question; record a second number of pre-stored solutions selected by the second user without any processing; and obtain a selection rate based on a ratio of the second number to the first number.
可选的,处理单元用于确定第一面试问题与预设数据库中多个预存面试问题的相似度;确定多个预存面试问题中,相似度大于或等于预设相似度阈值的预存面试问题;确定各个相似度大于或等于预设相似度阈值的预存面试问题对应的多个第一预存方案。Optionally, the processing unit is used to determine the similarity between the first interview question and multiple pre-stored interview questions in a preset database; determine the pre-stored interview questions among the multiple pre-stored interview questions whose similarity is greater than or equal to a preset similarity threshold; and determine multiple first pre-stored solutions corresponding to the pre-stored interview questions whose respective similarities are greater than or equal to the preset similarity threshold.
在本申请第三方面提供一种电子设备,电子设备包括处理器、存储器、用户接口及网络接口,存储器用于存储指令,用户接口和网络接口用于与其他设备通信,处理器用于执行存储器中存储的指令,使得一种电子设备执行如本申请上述中任意一项的方法。In a third aspect of the present application, an electronic device is provided, which includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory, so that an electronic device executes any one of the methods described above in the present application.
在本申请第四方面提供一种计算机可读存储介质,计算机可读存储介质存储有指令,当指令被执行时,执行本申请上述中任意一项的方法。In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores instructions, and when the instructions are executed, any one of the above methods of the present application is executed.
综上,本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
1、在根据第一用户的第一面试问题搜索出预设数据库中的多个预存方案后,再进一步分析第二用户的选择习惯,根据第二用户对预存方案的选择率,判断出第一用户很少选择预存方案从而采用预存方案,则直接对预存方案依次进行筛选、拆分以及替换处理,使最终得到的面试答案能够更符合第一用户的需求。从多个预存方案中筛选出总选择率较高的预存方案,即筛选出其中在用户群体中受欢迎的、点击率较高的预存方案,从而避免推荐需对不受欢迎或不相关的内容,提高了答案的质量和相关性,接着对筛选得到的第一处理方案进行拆分成多个步骤,最后采用关联步骤替换原来的处理步骤。由于预设数据库根据第二用户的选择习惯对给出的答复进行多重加工,而不需要第一用户一次次对答复进行调节限定,从而提高答复的效率。1. After searching for multiple pre-stored solutions in the preset database according to the first interview question of the first user, further analyze the selection habits of the second user. According to the selection rate of the second user for the pre-stored solutions, it is judged that the first user rarely chooses the pre-stored solution and thus adopts the pre-stored solution. Then, the pre-stored solutions are directly screened, split and replaced in sequence, so that the final interview answer can better meet the needs of the first user. Pre-stored solutions with a high total selection rate are screened out from multiple pre-stored solutions, that is, pre-stored solutions that are popular among the user group and have a high click rate are screened out, thereby avoiding the recommendation of unpopular or irrelevant content, improving the quality and relevance of the answer, and then the first processing solution obtained by screening is split into multiple steps, and finally the original processing step is replaced by the associated step. Since the preset database performs multiple processing on the given answer according to the selection habits of the second user, the first user does not need to adjust and limit the answer again and again, thereby improving the efficiency of the answer.
2、提高根据预设知识网络确定第一处理步骤对应第二面试问题,然后搜索出第二面试问题的多个第二预存方案,因为均是针对同一问题的方案,从而使得找出的第二预存方案与第二处理方案的关联度更高,还可再筛选出排序结果中末位对应的目标选择率,以得到第二预测方案,并将第二预存方案进行拆分用于后续替换,从而能够使回复的结果既与原始回复有较高关联度,并且还是一些偏新颖的方案。2. Improve the ability to determine that the first processing step corresponds to the second interview question based on the preset knowledge network, and then search out multiple second pre-stored solutions for the second interview question. Because they are all solutions to the same problem, the second pre-stored solutions found have a higher correlation with the second processing solution. The target selection rate corresponding to the last position in the sorting result can be screened out to obtain the second predicted solution, and the second pre-stored solution can be split for subsequent replacement, so that the response results can have a high correlation with the original response and are also some relatively novel solutions.
3、通过提取多个名词短语性关键特征和多个动词性关键特征,能够捕捉面试答案中的重要概念和关键动作,有助于从大段文本中抽取关键信息,通过识别第二处理方案中包含的顺序逻辑连接词,确定了句与句或段与段之间的逻辑关系,这使得面试答案的结构更加清晰,进而更容易理解各个步骤之间的顺序和关联性,最后通过逻辑连接词之间的关键特征的组合,实现了处理步骤的生成。3. By extracting multiple noun phrase key features and multiple verb key features, it is possible to capture important concepts and key actions in interview answers, which helps to extract key information from large texts. By identifying the sequential logical connectives contained in the second processing scheme, the logical relationship between sentences or paragraphs is determined, which makes the structure of the interview answers clearer and makes it easier to understand the order and correlation between the various steps. Finally, through the combination of key features between logical connectives, the generation of processing steps is achieved.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的一种智能模拟面试的处理方法的流程示意图;FIG1 is a flow chart of a method for processing an intelligent simulated interview provided in an embodiment of the present application;
图2是本申请实施例提供的一种智能模拟面试的处理装置的结构示意图;FIG2 is a schematic diagram of the structure of a processing device for an intelligent simulated interview provided in an embodiment of the present application;
图3是本申请实施例公开的一种电子设备的结构示意图。FIG. 3 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application.
附图标记说明:201、获取单元;202、处理单元;203、拆分单元;300、电子设备;301、处理器;302、通信总线;303、用户接口;304、网络接口;305、存储器。Explanation of the reference numerals: 201, acquisition unit; 202, processing unit; 203, splitting unit; 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory.
具体实施方式DETAILED DESCRIPTION
为了使本领域的技术人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
在本申请实施例的描述中,“例如”或者“举例来说”等词用于表示作例子、例证或说明。本申请实施例中被描述为“例如”或者“举例来说”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“例如”或者“举例来说”等词旨在以具体方式呈现相关概念。In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.
在本申请实施例的描述中,术语“多个”的含义是指两个或两个以上。例如,多个系统是指两个或两个以上的系统,多个屏幕终端是指两个或两个以上的屏幕终端。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
随着科技的发展和市场的不断变化,企业对求职者的要求也在不断提高,尤其是对于初涉职场的大学生群体而言,普遍面临实战经验匮乏,特别是面试环节上显得尤为不足。智能模拟面试技术应运而生,作为一种创新的教育与培训手段,以深入了解市场动态即企业特定的招牌偏好与用人标准。鉴于智能模拟面试系统广泛覆盖了跨行业、多岗位的面试题库,学生得以借此机会深入检索不同企业以职位的具体要求,进而精确定位个人职业规划方向。With the development of technology and the continuous changes in the market, companies are also constantly increasing their requirements for job seekers. Especially for college students who are new to the workplace, they generally lack practical experience, especially in the interview stage. Intelligent simulation interview technology came into being as an innovative means of education and training to gain an in-depth understanding of market dynamics, that is, the company's specific signature preferences and employment standards. Given that the intelligent simulation interview system covers a wide range of interview question banks across industries and multiple positions, students can take this opportunity to deeply search for the specific requirements of different companies and positions, and then accurately locate the direction of their personal career planning.
在准备参与智能模拟面试的过程中,学生往往会基于目标岗位特性,预先搜集并整理出潜在的面试问题集。然而,面对这些问题,学生可能因缺乏实战经验而感到困惑,难以构思出即贴合岗位需求又展现个人优势的答案。现有的智能平台允许学生输入具体的面试问题,并根据问题自动生成对应的面试回答,但当前生成的回答内容比较简单模糊,无法给出详细且具体的回复,导致不符合学生回答面试问题的需求。In the process of preparing to participate in intelligent simulation interviews, students often collect and organize potential interview question sets in advance based on the characteristics of the target position. However, faced with these questions, students may be confused due to lack of practical experience and find it difficult to conceive answers that both meet the job requirements and show their personal strengths. Existing intelligent platforms allow students to enter specific interview questions and automatically generate corresponding interview answers based on the questions, but the answers currently generated are relatively simple and vague, and cannot give detailed and specific responses, which does not meet the needs of students to answer interview questions.
因此,如何改变现有的智能平台生成的回答内容不符合学生面试问题的需求是目前亟需解决的问题。本申请实施例提供的一种智能模拟面试的处理方法,应用于服务器中。本申请的服务器可以是为求职者提供面试问题解答服务的平台,图1是本申请实施例提供的一种智能模拟面试的处理方法的流程示意图,参考图1,该方法包含以下步骤S101-步骤S106。Therefore, how to change the answer content generated by the existing intelligent platform to not meet the needs of students' interview questions is a problem that needs to be solved urgently. A method for processing an intelligent simulated interview provided in an embodiment of the present application is applied to a server. The server of the present application can be a platform that provides interview question answering services for job seekers. Figure 1 is a flow chart of a method for processing an intelligent simulated interview provided in an embodiment of the present application. Referring to Figure 1, the method includes the following steps S101-step S106.
S101:获取第一用户输入的第一面试问题。S101: Obtain a first interview question input by a first user.
在上述S101中,服务器接收第一用户输入的第一面试问题,第一用户是指求职的大学生,还可理解为向服务器发送第一面试问题的求职者。服务器包括但不限于诸如手机、平板电脑、可穿戴设备、PC(Personal Computer,个人计算机)等电子设备,也可以是运行语言模型的后台服务器,语言模型是指专门针对求职者输入的面试问题进行解答或回复的模型。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。In the above S101, the server receives a first interview question input by a first user, where the first user refers to a college student seeking a job, and can also be understood as a job seeker who sends the first interview question to the server. The server includes, but is not limited to, electronic devices such as mobile phones, tablet computers, wearable devices, PCs (Personal Computers), and can also be a background server running a language model, where a language model refers to a model specifically for answering or responding to interview questions input by job seekers. The server can be implemented as an independent server or a server cluster consisting of multiple servers.
首先第一用户需要向服务器输入自己的面试问题,例如可以是:如何完成XX任务?服务器根据第一用户的输入,获取到第一用户需要获取答复的面试问题,即第一面试问题。First, the first user needs to input his/her interview question to the server, for example, it can be: How to complete XX task? According to the input of the first user, the server obtains the interview question that the first user needs to get an answer to, that is, the first interview question.
S102:根据预设知识网络,在预设数据库搜索针对第一面试问题的多个第一预存方案。S102: Searching a preset database for a plurality of first pre-stored solutions for a first interview question according to a preset knowledge network.
在上述S102中,在对语言模型的训练阶段,通常会收集大规模的文本语料库作为训练集和验证集,训练集用于模型的训练,验证集用于评估模型性能。而将语言模型运用于问答系统时,需要使用常见问题解答(FAQ)数据集、大型知识库以及人工构建的问答数据等数据来训练语言模型。在训练集中,每个样本通常包括一个问题和相应的答案。模型的任务是学会从问题中推断出正确的答案。这些数据集通常会标注每个问题的正确答案,以便在训练期间计算模型的损失并进行参数更新。使用这样的训练集,语言模型可以学到理解和生成自然语言问答的能力。In the above S102, during the training phase of the language model, a large-scale text corpus is usually collected as a training set and a validation set. The training set is used for model training, and the validation set is used to evaluate model performance. When the language model is applied to the question-answering system, it is necessary to use data such as FAQ data sets, large knowledge bases, and manually constructed question-answering data to train the language model. In the training set, each sample usually includes a question and a corresponding answer. The task of the model is to learn to infer the correct answer from the question. These data sets usually annotate the correct answer to each question so that the model loss can be calculated and the parameters can be updated during training. Using such a training set, the language model can learn the ability to understand and generate natural language questions and answers.
进一步地,将与语言模型相关的数据存储与服务器连接的预设数据库中,并将问题与对应的答案构建出预设知识网络。进而第一用户在使用语言模型进行问答并输入第一面试问题后,服务器对于预设数据库中的每个预存面试问题,采用适当的文本相似度计算方法,如余弦相似度、Jaccard相似度、编辑距离等,计算它们与第一面试问题的相似度。这些方法可以将文本转化为向量空间表示,然后比较向量之间的相似度。预先设定一个预设相似度阈值,该预设相似度阈值可以基于实际场景需求进行调整,预设相似度阈值的选择取决于希望多大程度上认为两个面试问题是相似的。对于计算出的每个预存面试问题的相似度,将相似度大于或等于预设阈值的问题筛选出来,这样得到了与第一面试问题相似度较高的一组预存面试问题。对于通过相似度筛选出的每个预存面试问题,获取其对应的一个或者多个第一预存方案。这可以通过在预设数据库中检索相应的面试问题记录来实现,确保关联了正确的预存方案。Further, the data related to the language model is stored in a preset database connected to the server, and the questions and corresponding answers are used to construct a preset knowledge network. After the first user uses the language model to ask and answer questions and inputs the first interview question, the server uses an appropriate text similarity calculation method, such as cosine similarity, Jaccard similarity, edit distance, etc., for each pre-stored interview question in the preset database to calculate their similarity with the first interview question. These methods can convert text into vector space representation and then compare the similarity between vectors. A preset similarity threshold is set in advance, and the preset similarity threshold can be adjusted based on actual scenario requirements. The selection of the preset similarity threshold depends on the extent to which the two interview questions are expected to be similar. For the calculated similarity of each pre-stored interview question, the questions with a similarity greater than or equal to the preset threshold are screened out, so that a group of pre-stored interview questions with a high similarity to the first interview question are obtained. For each pre-stored interview question screened by similarity, the corresponding one or more first pre-stored solutions are obtained. This can be achieved by retrieving the corresponding interview question record in the preset database to ensure that the correct pre-stored solution is associated.
通过计算第一面试问题与预存面试问题的相似度,能够精准匹配与第一用户提问相近的问题。这有助于提高所搜索到的预存方案与第一用户实际问题的相关性。设置相似度阈值可以过滤掉相似度较低的预存面试问题,确保仅保留与第一用户问题高度相关的问题。这样可以有效降低噪音干扰,提高搜索结果的质量。确定相似度大于或等于预设相似度阈值的预存面试问题后,能够获取这些问题对应的多个第一预存方案,从而提供第一用户多样化的解决方案选择,增加了答案的全面性。By calculating the similarity between the first interview question and the pre-stored interview questions, questions similar to those asked by the first user can be accurately matched. This helps to improve the relevance of the searched pre-stored solutions to the first user's actual questions. Setting a similarity threshold can filter out pre-stored interview questions with low similarity, ensuring that only questions that are highly relevant to the first user's questions are retained. This can effectively reduce noise interference and improve the quality of search results. After determining the pre-stored interview questions with a similarity greater than or equal to the preset similarity threshold, multiple first pre-stored solutions corresponding to these questions can be obtained, thereby providing the first user with a variety of solution options and increasing the comprehensiveness of the answers.
S103:调取预设数据库中,预存的第二用户的选择习惯。S103: Retrieve the selection habits of the second user pre-stored in the preset database.
在上述S103中,选择习惯包括第二用户对预存方案的选择率,选择率为第二用户选择预存方案的次数与显示的预存方案的数量之比。公开的选择习惯优选为第二用户对于服务器得到预存方案的选择率,此时第二用户是指发送与第一用户相同面试问题的其他用户,其他用户可表示其他求职大学生。即第二用户在输入第一面试问题,服务器会根据预设知识网络,给出多个预设数据库中多个预存的预存方案。这里可以理解为这些预存方案基本是正确率较高但比较常规的回答,理论上可以在搜索引擎上根据面试问题直接检索出来的答复。举例来说,对于第一面试问题“如何完成XX任务?”对应的第一预存方案可能会是“首先,应该对xx任务进行工作安排和时间规划。然后,根据工作计划开始执行对应任务。最后,完成任务后,对任务进行检查并发送给相应人员。”In the above S103, the selection habit includes the selection rate of the second user for the pre-stored solutions, and the selection rate is the ratio of the number of times the second user selects the pre-stored solution to the number of displayed pre-stored solutions. The public selection habit is preferably the selection rate of the second user for the pre-stored solutions obtained by the server. At this time, the second user refers to other users who send the same interview questions as the first user, and other users can represent other job-seeking college students. That is, when the second user enters the first interview question, the server will provide multiple pre-stored solutions in multiple preset databases based on the preset knowledge network. It can be understood here that these pre-stored solutions are basically answers with a high accuracy rate but are relatively conventional. In theory, the answers can be directly retrieved from the search engine based on the interview questions. For example, for the first interview question "How to complete XX task?" The corresponding first pre-stored solution may be "First, the work arrangement and time planning should be carried out for the XX task. Then, start executing the corresponding task according to the work plan. Finally, after completing the task, check the task and send it to the corresponding person."
但是对于部分第二用户,其需要语言模型给出更为复杂的方案,在服务器给出多个第一预存方案后,并不会直接点击第一预存方案使用,而是会进一步询问。在上述示例中,针对“如何完成XX任务?”的面试问题,第二用户可能会并不满意直接给出的几个方案。会进一步询问,“再进一步详细介绍下如何合理安排时间以快速完成xx任务?”这就导致了预存方案的选择率降低,选择率为第二用户选择预存方案的次数与显示的预存方案的数量之比。因此可以通过预存方案的选择率来判断第二用户对于预存方案的满意度,当选择率较低,表明该第二用户通常不满足于预存方案,还需要对预存方案进行进一步改进。However, for some second users, they need the language model to give more complex solutions. After the server gives multiple first pre-stored solutions, they will not directly click on the first pre-stored solution to use it, but will ask further questions. In the above example, for the interview question "How to complete XX task?", the second user may not be satisfied with the several solutions given directly. He will further ask, "Please give a more detailed introduction on how to arrange time reasonably to quickly complete XX task?" This leads to a lower selection rate of pre-stored solutions. The selection rate is the ratio of the number of times the second user selects a pre-stored solution to the number of pre-stored solutions displayed. Therefore, the selection rate of the pre-stored solution can be used to judge the second user's satisfaction with the pre-stored solution. When the selection rate is low, it indicates that the second user is usually not satisfied with the pre-stored solution and needs to further improve the pre-stored solution.
因此首先需要一定的用户行为追踪和统计机制,记录第二用户的选择行为并分析第二用户的选择习惯。当第二用户输入面试问题并提交后,服务器记录下检索出的针对该面试问题的预存方案的数量。这可以是一个简单的计数操作,记录服务器检索到的预存方案的数量,并标记为第一数量。当第二用户在未经任何处理的情况下选择预存方案时,服务器记录下第二用户选择的预存方案的数量,并标记为第二数量。这可以通过监测第二用户的选择事件来实现,每个选择事件都被记录为一个计数。利用记录的第一数量和第二数量,计算选择率,选择率通常通过第二数量除以第一数量得到。Therefore, a certain user behavior tracking and statistical mechanism is first required to record the selection behavior of the second user and analyze the selection habits of the second user. When the second user enters the interview question and submits it, the server records the number of pre-stored solutions retrieved for the interview question. This can be a simple counting operation, recording the number of pre-stored solutions retrieved by the server and marking it as the first number. When the second user selects a pre-stored solution without any processing, the server records the number of pre-stored solutions selected by the second user and marks it as the second number. This can be achieved by monitoring the selection events of the second user, and each selection event is recorded as a count. Using the recorded first number and second number, the selection rate is calculated, and the selection rate is usually obtained by dividing the second number by the first number.
通过计算选择率,能够评估第二用户对预存方案的关注程度。较高的选择率表明第二用户更可能对提供的方案感兴趣,而较低的选择率则可能表示第二用户对方案的兴趣较低。记录第二用户的选择率有助于更智能地调整预存方案的权重。在后续的处理步骤中,可以根据选择率高的方案更优先地推荐相关内容,从而提高用户满意度。By calculating the selection rate, the second user's interest in the pre-stored solutions can be evaluated. A higher selection rate indicates that the second user is more likely to be interested in the provided solutions, while a lower selection rate may indicate that the second user is less interested in the solutions. Recording the second user's selection rate helps to more intelligently adjust the weights of the pre-stored solutions. In subsequent processing steps, relevant content can be recommended with higher priority based on solutions with high selection rates, thereby improving user satisfaction.
可以预先设定一个选择率的阈值,即预设选择率,用于判断第二用户选择行为是否符合预期。预设选择率的选择取决于具体应用场景,例如,可以将预设选择率设为0.1,表示当第二用户选择率高于10%时,服务器认为第二用户对预存方案的满意度较高。则根据第二用户的这一选择习惯,在后续若第一用户输入与第二用户相同的面试问题时,服务器可直接根据预设知识网络,提供预设数据库中的预存方案。若第一用户不是初次使用的用户时,可根据第一用户的历史选择率,进而确定第一用户的选择习惯,后续在第一用户输入新的面试问题时,服务器直接根据预设知识网络,提供预设数据库中的预存方案。A selection rate threshold, i.e., a preset selection rate, can be pre-set to determine whether the second user's selection behavior meets expectations. The choice of the preset selection rate depends on the specific application scenario. For example, the preset selection rate can be set to 0.1, indicating that when the second user's selection rate is higher than 10%, the server believes that the second user is more satisfied with the pre-stored solution. Based on the second user's selection habit, if the first user subsequently inputs the same interview question as the second user, the server can directly provide the pre-stored solution in the preset database based on the preset knowledge network. If the first user is not a first-time user, the first user's selection habit can be determined based on the first user's historical selection rate. When the first user subsequently inputs a new interview question, the server directly provides the pre-stored solution in the preset database based on the preset knowledge network.
S104:根据选择习惯若确定选择率等于预设选择率,则对多个第一预存方案进行总选择率筛选,得到多个第一处理方案。S104: If it is determined according to the selection habit that the selection rate is equal to the preset selection rate, a total selection rate screening is performed on a plurality of first pre-stored solutions to obtain a plurality of first processing solutions.
在上述S104中,如果根据预存的第二用户的选择习惯,第二用户对预存方案的选择率低于预设选择率,即第二用户可能在得到第一预存方案后,还进行了进一步询问,导致未选择这些预存方案。因此,服务器需要对第一预存方案进行进一步处理,以使最终得到的回答更符合第一用户的需求。In the above S104, if the selection rate of the second user for the pre-stored solutions is lower than the preset selection rate according to the pre-stored selection habits of the second user, that is, the second user may have made further inquiries after obtaining the first pre-stored solutions, resulting in the failure to select these pre-stored solutions. Therefore, the server needs to further process the first pre-stored solutions so that the final answer can better meet the needs of the first user.
首先服务器确定每个第一预存方案的总选择率,总选择率即该第一预存方案被选择总数与被显示总数之比。需要注意的是,对于某一个第一预存方案,这里提到的被显示总数可以是针对不同用户的不同问题,每显示一次第一预存方案均会计数一次,进而得到被显示总数。同理,该任意一个第一预存方案被任何用户选择一次,均会记录一次选择次数,进而得到被选择总数。最后被选择总数与被显示总数的比值即总选择率。举例来说,对于第一预存方案A,根据预设知识网络,多个用户提出不同问题后,第一预存方案A总共显示了200次。而不同用户总共选择了85次,则第一预存方案A的总选择率为0.425。First, the server determines the total selection rate of each first pre-stored solution, which is the ratio of the total number of selections of the first pre-stored solution to the total number of displays. It should be noted that for a certain first pre-stored solution, the total number of displays mentioned here can be for different questions of different users. Each time the first pre-stored solution is displayed, it will be counted once, and the total number of displays will be obtained. Similarly, any first pre-stored solution will be recorded once when it is selected by any user, and the total number of selections will be obtained. Finally, the ratio of the total number of selections to the total number of displays is the total selection rate. For example, for the first pre-stored solution A, according to the preset knowledge network, after multiple users raised different questions, the first pre-stored solution A was displayed a total of 200 times. And different users selected it a total of 85 times, so the total selection rate of the first pre-stored solution A is 0.425.
然后根据总选择率,对多个第一预存方案进行筛选,过滤掉其中总选择率较低的第一预存方案,保留其中总选择率高于预设总选择率的第一预存方案,得到多个第一处理方案。本实施例中,预设总选择率可根据实际情况调整,本申请不做具体限定。当第一预存方案的总选择率高于预设总选择率,可以理解为该第一预存方案的采纳率较高,更具有实时应用意义。Then, according to the total selection rate, multiple first pre-stored solutions are screened, and the first pre-stored solutions with lower total selection rates are filtered out, and the first pre-stored solutions with higher total selection rates than the preset total selection rates are retained, thereby obtaining multiple first processing solutions. In this embodiment, the preset total selection rate can be adjusted according to actual conditions, and this application does not make specific limitations. When the total selection rate of the first pre-stored solution is higher than the preset total selection rate, it can be understood that the adoption rate of the first pre-stored solution is higher and has more real-time application significance.
S105:对第二处理方案进行拆分处理,得到至少两个处理步骤。S105: Split the second processing solution into two steps.
在上述S105中,服务器在得到多个第一处理方案后,为了使其更新颖从而符合第一用户需求,需要对每个第一处理方案做进一步处理。以多个第一处理方案中的任意一个第一处理方案,第二处理方案进行举例说明。In the above S105, after obtaining multiple first processing solutions, the server needs to further process each first processing solution in order to make it more novel and meet the needs of the first user. Take any one of the multiple first processing solutions and the second processing solution as an example for illustration.
对第二处理方案进行自然语言处理,提取其中的名词短语性关键特征和动词性关键特征。这可以通过词性标注、实体识别等技术实现。名词短语性关键特征通常是方案中涉及的重要名词短语,而动词性关键特征则通常是与方案中的关键动作或操作相关的动词。举例来说,对于第二处理方案“首先,安装并配置一个Web服务器。然后,设置数据库并创建相应的表结构。接下来,编写服务器端代码处理用户请求和数据库交互。最后,创建前端页面以呈现博客内容。”其包含的名词性关键特征包括Web服务器、数据库、表结构、服务器端代码、用户请求、数据库、前端页面、博客内容。其包含的动词性关键特征包括安装、配置、设置、创建、编写、处理、交互、呈现。The second processing scheme is subjected to natural language processing to extract noun phrase key features and verb key features. This can be achieved through technologies such as part-of-speech tagging and entity recognition. Noun phrase key features are usually important noun phrases involved in the scheme, while verb key features are usually verbs related to key actions or operations in the scheme. For example, for the second processing scheme, "First, install and configure a web server. Then, set up the database and create the corresponding table structure. Next, write server-side code to handle user requests and database interactions. Finally, create a front-end page to present blog content." The noun key features it contains include web server, database, table structure, server-side code, user request, database, front-end page, and blog content. The verb key features it contains include installation, configuration, setting, creation, writing, processing, interaction, and presentation.
通过自然语言处理技术,识别第二处理方案中包含的多个顺序逻辑连接词。逻辑连接词通常用于建立句与句或段与段之间的顺序逻辑关系。顺序逻辑连接词有助于指导在文本中找到顺序关系,例如首先、其次、接着、然后、最后。顺序逻辑连接词的识别可以通过事先定义好的连接词列表,或者采用语言模型来实现。By using natural language processing technology, multiple sequential logical connectives included in the second processing scheme are identified. Logical connectives are usually used to establish sequential logical relationships between sentences or paragraphs. Sequential logical connectives help guide the finding of sequential relationships in texts, such as first, second, next, then, and finally. The identification of sequential logical connectives can be achieved through a pre-defined connective list or by using a language model.
然后根据多个顺序逻辑连接词对第二处理方案进行拆分,以多个述顺序逻辑连接词中,任意相邻的两个顺序逻辑连接词,第一逻辑连接词与第二逻辑连接词为例进行说明。服务器确定第一逻辑连接词与第二逻辑连接词之间的第一关键特征和第二关键特征,第一关键特征为多个名词性关键特征中的任意一个名词性关键特征中,第二关键特征为多个动词性关键特征中的任意一个动词性关键特征。在上述示例第二处理方案“首先,应该对xx任务进行工作安排和时间规划。然后,根据工作计划开始执行对应任务。最后,完成任务后,对任务进行检查并发送给相应人员。”中,如果第一逻辑连接词为然后,第二逻辑连接词为最后,那么第一关键特征为工作计划和执行,第二关键特征为检查和发送。Then, the second processing scheme is split according to multiple sequential logical connectives, and any two adjacent sequential logical connectives, the first logical connective and the second logical connective, are used as examples for explanation. The server determines the first key feature and the second key feature between the first logical connective and the second logical connective, the first key feature being any one of multiple noun key features, and the second key feature being any one of multiple verb key features. In the above example second processing scheme "First, work arrangements and time planning should be carried out for the xx task. Then, the corresponding tasks should be executed according to the work plan. Finally, after the tasks are completed, the tasks should be checked and sent to the corresponding personnel.", if the first logical connective is then and the second logical connective is finally, then the first key feature is work planning and execution, and the second key feature is checking and sending.
将第一逻辑连接词与第二逻辑连接词之间的名词短语性关键特征和动词性关键特征进行组合。这样得到的组合关键特征可以视为一个逻辑关系的描述,即得到处理步骤。根据上述方法,对于第二处理方案“首先,应该对xx任务进行工作安排和时间规划。然后,根据工作计划开始执行对应任务。最后,完成任务后,对任务进行检查并发送给相应人员。”将被拆分为如下多个处理步骤:工作安排、时间规划、工作计划、执行任务、对完成任务进行检查、发送相应人员。Combine the noun phrase key features and verb key features between the first logical connective and the second logical connective. The combined key features obtained in this way can be regarded as a description of a logical relationship, that is, the processing steps are obtained. According to the above method, for the second processing scheme "First, the work arrangement and time planning should be carried out for the xx task. Then, the corresponding task should be executed according to the work plan. Finally, after the task is completed, the task should be checked and sent to the corresponding personnel." will be divided into the following multiple processing steps: work arrangement, time planning, work plan, task execution, check of completed tasks, and sending to the corresponding personnel.
接着,服务器确定每个处理步骤的关联步骤,采用关联步骤替换处理步骤,关联步骤为预设数据库中,预存的面试答案。因此需要从数据库中选择合适的关联步骤替换处理步骤。前面提到,在预设数据库中,存储着问题与对应答案的预设知识网络,每一个处理步骤作为一个答案,同样会包含对应的问题。举例来说,对于多个处理步骤中的任意一个处理步骤,第一处理步骤为“应该对xx任务进行工作安排和时间规划”,其对应的问题可能是“如何对xx任务进行详细的规划?”进而可以根据预设知识网络,确定第一处理步骤对应的第二面试问题。Next, the server determines the associated steps of each processing step, and replaces the processing step with the associated steps. The associated steps are interview answers pre-stored in the preset database. Therefore, it is necessary to select appropriate associated steps from the database to replace the processing steps. As mentioned earlier, the preset database stores a preset knowledge network of questions and corresponding answers. Each processing step, as an answer, will also include a corresponding question. For example, for any one of the multiple processing steps, the first processing step is "work arrangements and time planning should be carried out for task xx", and the corresponding question may be "How to make a detailed plan for task xx?" Then, the second interview question corresponding to the first processing step can be determined based on the preset knowledge network.
通过提取多个名词短语性关键特征和多个动词性关键特征,能够捕捉面试答案中的重要概念和关键动作。这有助于从大段文本中抽取关键信息。通过识别第二处理方案中包含的顺序逻辑连接词,确定了句与句或段与段之间的逻辑关系。这使得目标答案的结构更加清晰,模型能够更容易理解各个步骤之间的顺序和关联性。最后通过逻辑连接词之间的关键特征的组合,实现了处理步骤的生成。By extracting multiple noun phrase key features and multiple verb key features, it is possible to capture important concepts and key actions in the interview answers. This helps to extract key information from large texts. By identifying the sequential logical connectives included in the second processing scheme, the logical relationship between sentences or paragraphs is determined. This makes the structure of the target answer clearer and the model can more easily understand the order and correlation between the various steps. Finally, the generation of processing steps is achieved by combining the key features between the logical connectives.
同样根据预设知识网络,根据确定的第二面试问题,从预设数据库中检索与之相关的多个第二预存方案。因为对于同一个问题可能存在多个不同的答案,进而,对于第二面试问题,预设数据库中可能预存有多个回复第二面试问题的第二预存方案。例如,对于第二面试问题“如何对xx任务进行详细的规划?”,第二预存方案可能是“对xx任务进行工作任务拆分,进而合理安排每个工作任务的时间规划”,也可能是“确定xx任务的交付周期,根据交付期限对xx任务进行拆分,以便在交付周期内完成xx任务”,还可能是“确定完成xx任务的人数,根据人数将xx任务进行拆分,拆分后按照个人擅长领域合理安排不同的工作任务”。Similarly, according to the preset knowledge network, according to the determined second interview question, multiple second pre-stored solutions related to it are retrieved from the preset database. Because there may be multiple different answers to the same question, and thus, for the second interview question, the preset database may have multiple second pre-stored solutions to answer the second interview question. For example, for the second interview question "How to make a detailed plan for the xx task?", the second pre-stored solution may be "split the xx task into work tasks, and then reasonably arrange the time plan for each work task", or it may be "determine the delivery cycle of the xx task, split the xx task according to the delivery deadline, so as to complete the xx task within the delivery cycle", or it may be "determine the number of people who will complete the xx task, split the xx task according to the number of people, and after splitting, reasonably arrange different work tasks according to the individual's expertise."
对于每个第二预存方案,计算其总选择率,即被选择总数与被显示总数之比。在步骤S130中,有提到总选择率计算方法,在此不再做进一步赘述。然后服务器按照总选择率的大小顺序对多个第二预存方案进行排序,得到排序结果;从排序结果中获取末位对应的目标选择率,确定目标选择率对应的第二面试答案;第二面试答复为排序结果中总选择率最小的方案,总选择率最小可能表示相对较少的选择,服务器可以根据这一度量判断该方案的新颖性较高,从而选择进行下一步的处理。最后,服务器确定第二目标答案为第二处理步骤,第二处理步骤为多个关联步骤中,第一处理步骤对应的关联步骤。For each second pre-stored solution, calculate its total selection rate, that is, the ratio of the total number of selections to the total number of displays. In step S130, the total selection rate calculation method is mentioned, which will not be further described here. The server then sorts the multiple second pre-stored solutions in order of total selection rate to obtain a sorting result; obtains the target selection rate corresponding to the last position from the sorting result, and determines the second interview answer corresponding to the target selection rate; the second interview answer is the solution with the smallest total selection rate in the sorting result. The smallest total selection rate may indicate relatively few choices. The server can judge that the novelty of the solution is higher based on this metric, and thus choose to proceed to the next step of processing. Finally, the server determines the second target answer as the second processing step, and the second processing step is an associated step corresponding to the first processing step among multiple associated steps.
通过根据预设知识网络确定第一处理步骤对应的第二面试问题,然后检索针对第二面试问题的多个第二预存方案,因为均是针对同一问题的方案,从而使得找出的第二预存方案与第二处理方案的关联度更高。进一步地,再筛选出总选择率最小的第二预存方案,并将该第二预存方案进行拆分用于后续替换。从而能够使回复的结果既与原始回复有较高关联度,并且还是一些偏新颖的方案。By determining the second interview question corresponding to the first processing step according to the preset knowledge network, and then retrieving multiple second pre-stored solutions for the second interview question, since they are all solutions for the same question, the second pre-stored solution found has a higher correlation with the second processing solution. Furthermore, the second pre-stored solution with the smallest total selection rate is screened out, and the second pre-stored solution is split for subsequent replacement. In this way, the reply result can have a high correlation with the original reply and also be some relatively novel solutions.
进一步地,还可以根据处理步骤与预存方案的关联度,来选取合适的预存方案替代处理步骤。同样根据预设知识网络,服务器根据确定的第二面试问题,从预设数据库中检索与之相关的多个第二预存方案。然后服务器从第一处理步骤和第二预存方案中进行特征提取。对第一处理步骤进行特征提取,得到多个第一特征,第一特征即第一处理步骤的内容的关键词和短语。对目标预存方案进行特征提取,得到多个第二特征,第二特征即目标预存方案的内容的关键词和短语,目标预存方案为多个第二预存方案中的任意一个第二预存方案。Furthermore, it is also possible to select a suitable pre-stored solution to replace the processing step according to the correlation between the processing step and the pre-stored solution. Similarly, according to the preset knowledge network, the server retrieves multiple second pre-stored solutions related to the second interview question from the preset database. Then the server extracts features from the first processing step and the second pre-stored solution. Feature extraction is performed on the first processing step to obtain multiple first features, and the first features are keywords and phrases of the content of the first processing step. Feature extraction is performed on the target pre-stored solution to obtain multiple second features, and the second features are keywords and phrases of the content of the target pre-stored solution. The target pre-stored solution is any second pre-stored solution among the multiple second pre-stored solutions.
然后根据多个第一特征以及多个第二特征,计算第一处理步骤与目标预存方案的关联度,具体计算公式如下:;其中D(X,Y)为第一处理步骤X与目标预存方案Y的关联度,df(u)为第u个第一特征的特征频率,df(v)为第v个第二特征的特征频率,argmin(d(u,v)×Puv)为流量分配矩阵,Puv为第u个第一特征到第v个第二特征的流量分配,即将第u个第一特征移动到第v个第二特征所分配的流量数量,d(u,v)为第一特征的特征向量与第二特征的特征向量之间的距离;Then, according to the multiple first features and the multiple second features, the correlation between the first processing step and the target pre-stored solution is calculated. The specific calculation formula is as follows: ; Where D(X, Y) is the correlation between the first processing step X and the target pre-stored solution Y, df(u) is the characteristic frequency of the u-th first feature, df(v) is the characteristic frequency of the v-th second feature, argmin(d(u,v)×P uv ) is the traffic allocation matrix, P uv is the traffic allocation from the u-th first feature to the v-th second feature, that is, the amount of traffic allocated by moving the u-th first feature to the v-th second feature, and d(u,v) is the distance between the characteristic vector of the first feature and the characteristic vector of the second feature;
通过在预设知识网络中确定第一处理步骤对应的第二面试问题,保证了关联步骤与原始处理步骤在知识领域上有相关性,确保替换后的方案更符合用户需求。通过计算关联度的公式,综合考虑了特征的频率、流量分配和特征向量之间的距离,使关联度计算更加全面和准确。若确定关联度大于或等于预设阈值,则确定目标预存方案为关联步骤。这种机制确保了替换方案的选择更加可靠,仅在关联性较高时才进行替换,避免无关或低关联度的替换,从而提高了回复的准确性。By determining the second interview question corresponding to the first processing step in the preset knowledge network, it is ensured that the associated step is relevant to the original processing step in the knowledge field, ensuring that the replaced solution is more in line with user needs. The formula for calculating the correlation degree comprehensively considers the frequency of the feature, the flow distribution, and the distance between the feature vectors, making the correlation calculation more comprehensive and accurate. If it is determined that the correlation degree is greater than or equal to the preset threshold, the target pre-stored solution is determined to be the associated step. This mechanism ensures that the selection of replacement solutions is more reliable, and replacement is only performed when the correlation is high, avoiding irrelevant or low-correlation replacements, thereby improving the accuracy of the response.
在上述公式中,特征频率是指包含特定词语的文档数量与文档总数量的比值。特征频率用于衡量一个特征的普遍性或稀有性。如果一个特征在大多数文档中都出现,它的特征频率会很高,说明这个特征可能是比较常见的、泛化程度较高的特征。相反,如果一个特征只在少数文档中出现,它的特征频率会很低,说明这个特征可能是比较特定或稀有的特征。使用特征频率作为权重,以降低在大多数文档中出现的特征的重要性,从而更好地反映语义信息。具体因为使用特征频率作为权重,减轻在大多数文档中出现的常见特征对文本的区分度,从而更好地反映语义信息。这与信息检索和文本分析的一般目标相关,即在文档集合中更精确地定位和权衡那些在较少文档中出现但具有较高信息量的词语。举例来说,在一个文档集合中,一些常见特征如“是”、“的”或者“作为”等,可能在大多数文档中都出现。由于它们普遍存在,它们的特征频率很高,但它们通常对于文本的区分性和语义信息贡献较小。In the above formula, feature frequency refers to the ratio of the number of documents containing a specific word to the total number of documents. Feature frequency is used to measure the prevalence or rarity of a feature. If a feature appears in most documents, its feature frequency will be high, indicating that this feature may be a relatively common and generalized feature. On the contrary, if a feature only appears in a few documents, its feature frequency will be low, indicating that this feature may be a relatively specific or rare feature. Using feature frequency as a weight can reduce the importance of features that appear in most documents, thereby better reflecting semantic information. Specifically, using feature frequency as a weight can reduce the discriminability of common features that appear in most documents to the text, thereby better reflecting semantic information. This is related to the general goal of information retrieval and text analysis, that is, to more accurately locate and weigh those words that appear in fewer documents but have higher information content in a document collection. For example, in a document collection, some common features such as "是", "的" or "作为" may appear in most documents. Because of their prevalence, their feature frequencies are high, but they usually contribute less to the discriminability and semantic information of the text.
第一特征的特征频率即包含第一特征的预存方案的数量与预设数据库中预存方案总数量之比。通过如下公式计算第一特征的特征频率:;其中,df(u)为第u个第一特征的特征频率,mu为包含第一特征的预存方案的数量,Mu为预存方案的总数量。The characteristic frequency of the first feature is the ratio of the number of pre-stored solutions containing the first feature to the total number of pre-stored solutions in the preset database. The characteristic frequency of the first feature is calculated by the following formula: ; Wherein, df(u) is the characteristic frequency of the u-th first feature, mu is the number of pre-stored solutions containing the first feature, and Mu is the total number of pre-stored solutions.
第二特征的特征频率即包含第二特征的预存方案的数量与预设数据库中预存方案总数量之比。通过如下公式计算第二特征的特征频率:;其中,df(v)为第v个第二特征的特征频率,mv为包含第二特征的预存方案的数量,Mv为预存方案的总数量;The characteristic frequency of the second feature is the ratio of the number of pre-stored solutions containing the second feature to the total number of pre-stored solutions in the preset database. The characteristic frequency of the second feature is calculated by the following formula: ; Wherein, df(v) is the characteristic frequency of the vth second feature, m v is the number of pre-stored solutions containing the second feature, and M v is the total number of pre-stored solutions;
在关联度计算公式中,argmin(d(u,v)×Puv)为流量分配矩阵,而其中Puv为第u个第一特征到第v个第二特征的流量分配,即将第u个第一特征移动到第v个第二特征所分配的流量数量。In the correlation calculation formula, argmin(d(u,v)×P uv ) is the flow distribution matrix, and P uv is the flow distribution from the uth first feature to the vth second feature, that is, the amount of flow allocated from the uth first feature to the vth second feature.
这个分配的数量可以看作是一个表示词之间语义距离的权重。流量分配矩阵是通过解决最小成本最大流问题得到的,流量分配矩阵的求解过程确保了在满足约束条件的情况下,找到了最小成本的流动路径。这个路径给出了将第一处理步骤X的每个特征与目标预存方案Y的对应步骤的最优方式,而每个Puv值表示了相应的权重。这个权重可以理解为从第u个第一特征到第v个第二特征的语义相似度,成本越小表示相似度越高。This assigned quantity can be seen as a weight representing the semantic distance between words. The flow distribution matrix is obtained by solving the minimum cost maximum flow problem. The solution process of the flow distribution matrix ensures that the minimum cost flow path is found while satisfying the constraints. This path gives the optimal way to match each feature of the first processing step X with the corresponding step of the target pre-stored solution Y, and each P uv value represents the corresponding weight. This weight can be understood as the semantic similarity from the uth first feature to the vth second feature. The smaller the cost, the higher the similarity.
而约束条件具体如下:The constraints are as follows:
每个第一特征在第一处理步骤X中的总流量不能超过第一特征的分布,即:;其中,Puv为第u个第一特征到第v个第二特征的流量分配,eu为第一特征在第一处理步骤X中的分布向量。The total flow of each first feature in the first processing step X cannot exceed the distribution of the first feature, that is: ; Wherein, P uv is the flow distribution from the u-th first feature to the v-th second feature, and eu is the distribution vector of the first feature in the first processing step X.
每个第二特征在目标预存步骤Y中的总流量不能超过第二特征的分布,即:;其中,Puv为第u个第一特征到第v个第二特征的流量分配,fv为第二特征在第二处理步骤Y中的分布向量。The total flow of each second feature in the target pre-stored step Y cannot exceed the distribution of the second feature, that is: ; Wherein, P uv is the flow distribution from the u-th first feature to the v-th second feature, and f v is the distribution vector of the second feature in the second processing step Y.
对于每一对第一特征和第二特征,流量分配必须是非负的,即:For every pair of the first and second features, the flow distribution must be non-negative, that is:
Puv≥0;P uv ≥ 0;
对于每个第一特征和第二特征,流量分配必须满足总流出等于总流入,即:;最后,在相关度计算公式中,特征向量之间的距离用于衡量特征之间的语义相似性,因为上述相关度公式是通过最小化总成本来找到最佳的特征移动方案,其中成本由每对特征之间的距离决定。在最小成本最大流问题的优化过程中,特征向量之间的距离用于计算流量分配矩阵中每一对特征的成本。优化的目标是通过合理分配流量,使得总成本最小。这样,模型能够捕捉到特征在语义空间中的相对位置,进而度量第一处理步骤与目标预存方案之间的相似性。通过如下公式计算第一特征的特征向量与第二特征的特征向量之间的距离:;其中,d(u,v)为第一特征的特征向量与第二特征的特征向量之间的距离,uk为第一特征在第k个维度的特征向量,vk为第二特征在第k个维度的特征向量。For each first and second characteristic, the flow distribution must satisfy the total outflow equal to the total inflow, that is: ; Finally, in the correlation calculation formula, the distance between feature vectors is used to measure the semantic similarity between features, because the above correlation formula is to find the best feature movement scheme by minimizing the total cost, where the cost is determined by the distance between each pair of features. In the optimization process of the minimum cost maximum flow problem, the distance between feature vectors is used to calculate the cost of each pair of features in the traffic allocation matrix. The goal of optimization is to minimize the total cost by reasonably allocating traffic. In this way, the model can capture the relative position of the features in the semantic space, and then measure the similarity between the first processing step and the target pre-stored scheme. The distance between the feature vector of the first feature and the feature vector of the second feature is calculated by the following formula: ; Wherein, d(u,v) is the distance between the eigenvector of the first feature and the eigenvector of the second feature, uk is the eigenvector of the first feature in the kth dimension, and vk is the eigenvector of the second feature in the kth dimension.
最后,将第一处理步骤与目标预存方案的关联度与提前设定的预设阈值进行比对,如果关联度小于预设阈值,表明第一处理步骤与目标预存方案相似度较低,则无法采用目标预存方案替代第一处理步骤。反之,如果关联度大于或等于预设阈值,表明第一处理步骤与目标预存方案相似度较低,则可以采用目标预存方案替代第一处理步骤,进而确定目标预存方案为关联步骤。Finally, the correlation between the first processing step and the target pre-stored solution is compared with a preset threshold set in advance. If the correlation is less than the preset threshold, it indicates that the first processing step has a low similarity with the target pre-stored solution, and the target pre-stored solution cannot be used to replace the first processing step. On the contrary, if the correlation is greater than or equal to the preset threshold, it indicates that the first processing step has a low similarity with the target pre-stored solution, and the target pre-stored solution can be used to replace the first processing step, and then the target pre-stored solution is determined to be the associated step.
S106:采用预存的关联步骤替换处理步骤,得到针对第一面试问题的第一面试答案,并将第一面试答案向第一用户进行展示,以便第一用户根据第一面试答案进行模拟。S106: Using a pre-stored association step to replace the processing step, obtaining a first interview answer for the first interview question, and displaying the first interview answer to the first user so that the first user can perform simulation according to the first interview answer.
在上述S106中,将第二处理方案拆分成多个处理步骤后,服务器再查找每个处理步骤的替换预存方案,得到关联步骤,最后,分别采用每个处理步骤对应的关联步骤替换处理步骤,即可得到一个更为复杂但是完整的方案,即针对第一面试问题的第一面试答案。举例来说,针对第一面试问题如何对xx任务进行详细的规划?得到的第一预存方案可能是应该对xx任务进行工作安排和时间规划。如果后续该第一预存方案将作为第二处理方案,将会被拆分成“对xx任务进行工作安排”和“根据工作安排进行时间规划”两个处理步骤。而针对“对xx任务进行工作安排”的关联步骤可能是“对xx任务进行工作拆分”,针对“根据工作安排进行时间规划”的关联步骤可能是“根据拆分的工作任务合理安排时间”。替换后则得到的第一面试答案将是“对XX任务进行工作拆分,然后根据拆分的工作任务合理安排时间规划”,该方案用于解决应该对xx任务进行工作安排和时间规划的面试问题。再将第一面试答案向第一用户进行展示,以便第一用户根据第一面试答案进行模拟,以便于提升第一用户对面试问题回复的专业度,进而使最终得到的第一面试答案符合第一用户需求。In the above S106, after splitting the second processing scheme into multiple processing steps, the server then searches for the replacement pre-stored scheme for each processing step to obtain the associated steps. Finally, the associated steps corresponding to each processing step are used to replace the processing steps, and a more complex but complete scheme can be obtained, that is, the first interview answer to the first interview question. For example, how to make a detailed plan for the first interview question? The first pre-stored scheme obtained may be that the work arrangement and time planning should be carried out for the xx task. If the first pre-stored scheme is used as the second processing scheme in the future, it will be split into two processing steps of "arranging the work for the xx task" and "planning the time according to the work arrangement". The associated step for "arranging the work for the xx task" may be "splitting the work for the xx task", and the associated step for "planning the time according to the work arrangement" may be "reasonably arranging the time according to the split work tasks". After the replacement, the first interview answer obtained will be "splitting the work for the XX task, and then reasonably arranging the time planning according to the split work tasks". This scheme is used to solve the interview question that the work arrangement and time planning should be carried out for the xx task. The first interview answer is then displayed to the first user so that the first user can simulate according to the first interview answer, so as to improve the professionalism of the first user's response to the interview question, thereby making the final first interview answer meet the needs of the first user.
通过采用上述技术方案,在根据第一用户的面试问题检索出预设数据库中的多个预存方案后,再进一步分析第二用户的选择习惯。如果根据第二用户的对预存方案的选择率,判断出第二用户很少选择预存方案从而采用预存方案,则直接对预存方案依次进行筛选、拆分以及替换处理,使最终得到的面试答案能够更符合第一用户需求。从多个预存方案中筛选出总选择率较高的预存方案,即筛选出其中在第二用户群体中受欢迎的、选择率较高的预存方案,从而避免推荐相对不受欢迎或不相关的内容,提高了答案的质量和相关性。接着对筛选得到的第一处理方案进行拆分成多个步骤,最后采用关联步骤替换原来的处理步骤。由于模型直接根据用户的选择习惯对给出的答复进行多重加工处理,而不需要用户一次次对答复进行条件限定,从而提高语言模型答复的效率。By adopting the above technical solution, after retrieving multiple pre-stored solutions in the preset database according to the interview questions of the first user, the selection habits of the second user are further analyzed. If it is judged that the second user rarely chooses the pre-stored solution and adopts the pre-stored solution based on the selection rate of the second user for the pre-stored solution, the pre-stored solution is directly screened, split and replaced in sequence, so that the final interview answer can better meet the needs of the first user. Pre-stored solutions with a higher total selection rate are screened from multiple pre-stored solutions, that is, pre-stored solutions with a higher selection rate that are popular among the second user group are screened, thereby avoiding the recommendation of relatively unpopular or irrelevant content, and improving the quality and relevance of the answer. Then, the first processing solution obtained by screening is split into multiple steps, and finally the original processing step is replaced by the associated step. Since the model directly performs multiple processing on the given answer according to the user's selection habits, without the user having to condition the answer again and again, the efficiency of the language model answer is improved.
本申请实施例还提供了一种智能模拟面试的处理装置,图2是本申请实施例提供的一种智能模拟面试的处理装置的结构示意图,参考图2,装置包括获取单元201、处理单元202以及拆分单元203。An embodiment of the present application also provides a processing device for an intelligent simulated interview. FIG2 is a structural diagram of a processing device for an intelligent simulated interview provided in an embodiment of the present application. Referring to FIG2 , the device includes an acquisition unit 201, a processing unit 202, and a splitting unit 203.
获取单元201,获取第一用户输入的第一面试问题。An acquiring unit 201 acquires a first interview question input by a first user.
处理单元202,根据预设知识网络,在预设数据库搜索针对第一面试问题的多个第一预存方案;调取预设数据库中,预存的第二用户的选择习惯,选择习惯包括第二用户对预存方案的选择率,选择率为第二用户选择预存方案的次数与显示的预存方案的数量之比;根据选择习惯若确定选择率低于预设选择率,则对多个第一预存方案进行总选择率筛选,得到多个第一处理方案,第一处理方案为多个第一预存方案中,总选择率高于预设总选择率的第一预存方案,总选择率为对应第一预存方案的被选择总数与被显示总数之比。The processing unit 202 searches for multiple first pre-stored solutions for the first interview question in a preset database according to a preset knowledge network; retrieves the selection habits of the second user pre-stored in the preset database, the selection habits including the selection rate of the second user for the pre-stored solutions, and the selection rate is the ratio of the number of times the second user selects the pre-stored solutions to the number of displayed pre-stored solutions; if it is determined that the selection rate is lower than the preset selection rate according to the selection habits, the multiple first pre-stored solutions are screened for the total selection rate to obtain multiple first processing solutions, the first processing solution being a first pre-stored solution with a total selection rate higher than the preset total selection rate among the multiple first pre-stored solutions, and the total selection rate is the ratio of the total number of selected corresponding first pre-stored solutions to the total number of displayed solutions.
拆分单元203,对第二处理方案进行拆分处理,得到至少两个处理步骤,第二处理方案为多个第一处理方案中的任意一个第一处理方案;采用预存的关联步骤替换处理步骤,得到针对第一面试问题的第一面试答案,并将第一面试答案向第一用户进行展示,以便第一用户根据第一面试答案进行模拟。The splitting unit 203 splits the second processing scheme to obtain at least two processing steps, where the second processing scheme is any one of the multiple first processing schemes; the processing steps are replaced by pre-stored associated steps to obtain a first interview answer to the first interview question, and the first interview answer is displayed to the first user so that the first user can simulate according to the first interview answer.
在一种可能的实施方式中,处理单元202用于根据预设知识网络,确定第一处理步骤对应的第二面试问题,第一处理步骤为多个处理步骤中的任意一个处理步骤;根据预设知识网络,在预设数据库搜索针对第二面试问题的多个第二预存方案;对多个第二预存方案的总选择率按照从大到小的顺序进行排序,得到排序结果;获取单元201用于从排序结果中获取末位对应的目标选择率,确定目标选择率对应的第二面试答案;处理单元202用于确定第二面试答案为第二处理步骤,第二处理步骤为多个关联步骤中,第一处理步骤对应的关联步骤。In a possible implementation, the processing unit 202 is used to determine the second interview question corresponding to the first processing step according to a preset knowledge network, where the first processing step is any one of the multiple processing steps; based on the preset knowledge network, search the preset database for multiple second pre-stored solutions for the second interview question; sort the total selection rates of the multiple second pre-stored solutions in descending order to obtain a sorting result; the acquisition unit 201 is used to obtain the target selection rate corresponding to the last position from the sorting result, and determine the second interview answer corresponding to the target selection rate; the processing unit 202 is used to determine that the second interview answer is the second processing step, and the second processing step is an associated step corresponding to the first processing step among multiple associated steps.
在一种可能的实施方式中,处理单元202用于对第二处理方案进行关键特征提取,得到多个名词短语性关键特征和多个动词性关键特征;对第二处理方案进行顺序逻辑结构识别,确定第二处理方案中包含的多个顺序逻辑连接词,顺序逻辑连接词用于在面试答案中建立句与句或者段与段之间的顺序逻辑关系;确定第一逻辑连接词与第二逻辑连接词之间的第一关键特征和第二关键特征,第一逻辑连接词与第二逻辑连接词为多个顺序连接词中,任意相邻的两个顺序逻辑连接词,第一关键特征为多个名词性关键特征中的任意一个名词性关键特征中,第二关键特征为多个动词关键特征中的任意一个动词性关键特性;对第一关键特征和第二关键特征进行组合,得到第一处理步骤。In a possible implementation, the processing unit 202 is used to extract key features of the second processing scheme to obtain multiple noun phrase key features and multiple verb key features; perform sequential logical structure recognition on the second processing scheme to determine multiple sequential logical connectives included in the second processing scheme, and the sequential logical connectives are used to establish sequential logical relationships between sentences or paragraphs in the interview answers; determine a first key feature and a second key feature between a first logical connective and a second logical connective, the first logical connective and the second logical connective are any two adjacent sequential logical connectives among multiple sequential connectives, the first key feature is any one of multiple noun key features, and the second key feature is any one of multiple verb key features; combine the first key feature and the second key feature to obtain a first processing step.
在一种可能的实施方式中,处理单元202用于根据预设知识网络,确定第一处理步骤对应的第二面试问题,第一处理步骤为多个处理步骤中的任意一个处理步骤;根据预设知识网络,在预设数据库搜索针对第二面试问题的多个第二预存方案;对第一处理步骤进行特征提取,得到多个第一特征,对目标预存方案进行特征提取,得到多个第二特征,目标预存方案为多个第二预存方案中的任意一个第二预存方案;根据多个第一特征以及多个第二特征,计算第一处理步骤与目标预存方案的关联度,具体计算公式如下:;其中D(X,Y)为第一处理步骤X与目标预存方案Y的关联度,df(u)为第u个第一特征的特征频率,df(v)为第v个第二特征的特征频率,argmin(d(u,v)×Puv)为流量分配矩阵,Puv为第u个第一特征到第v个第二特征的流量分配,即将第u个第一特征移动到第v个第二特征所分配的流量数量,d(u,v)为第一特征的特征向量与第二特征的特征向量之间的距离;若确定关联度大于或等于预设阈值,则确定目标预存方案为关联步骤。In a possible implementation, the processing unit 202 is used to determine the second interview question corresponding to the first processing step according to a preset knowledge network, where the first processing step is any one of the multiple processing steps; search for multiple second pre-stored solutions for the second interview question in a preset database according to the preset knowledge network; perform feature extraction on the first processing step to obtain multiple first features, perform feature extraction on the target pre-stored solution to obtain multiple second features, where the target pre-stored solution is any one of the multiple second pre-stored solutions; calculate the correlation between the first processing step and the target pre-stored solution according to the multiple first features and the multiple second features, and the specific calculation formula is as follows: ; Wherein D(X, Y) is the correlation between the first processing step X and the target pre-stored solution Y, df(u) is the characteristic frequency of the u-th first feature, df(v) is the characteristic frequency of the v-th second feature, argmin(d(u,v)×P uv ) is the traffic allocation matrix, P uv is the traffic allocation from the u-th first feature to the v-th second feature, that is, the amount of traffic allocated by moving the u-th first feature to the v-th second feature, and d(u,v) is the distance between the characteristic vector of the first feature and the characteristic vector of the second feature; if it is determined that the correlation is greater than or equal to the preset threshold, the target pre-stored solution is determined to be an association step.
在一种可能的实施方式中,处理单元202用于通过如下公式计算第一特征的特征频率:;其中,df(u)为第u个第一特征的特征频率,mu为包含第一特征的预存方案的数量,Mu为预存方案的总数量;通过如下公式计算第二特征的特征频率:;其中,df(v)为第v个第二特征的特征频率,mv为包含第二特征的预存方案的数量,Mv为预存方案的总数量;通过如下公式计算第一特征的特征向量与第二特征的特征向量之间的距离:;其中,d(u,v)为第一特征的特征向量与第二特征的特征向量之间的距离,uk为第一特征在第k个维度的特征向量,vk为第二特征在第k个维度的特征向量。In a possible implementation, the processing unit 202 is configured to calculate the characteristic frequency of the first characteristic by using the following formula: ; Where df(u) is the characteristic frequency of the u-th first feature, mu is the number of pre-stored solutions containing the first feature, and Mu is the total number of pre-stored solutions; the characteristic frequency of the second feature is calculated by the following formula: ; Where df(v) is the characteristic frequency of the vth second feature, m v is the number of pre-stored solutions containing the second feature, and M v is the total number of pre-stored solutions; the distance between the characteristic vector of the first feature and the characteristic vector of the second feature is calculated by the following formula: ; Wherein, d(u,v) is the distance between the eigenvector of the first feature and the eigenvector of the second feature, uk is the eigenvector of the first feature in the kth dimension, and vk is the eigenvector of the second feature in the kth dimension.
在一种可能的实施方式中,处理单元202用于在第一用户输入面试问题后,记录检索出的针对面试问题的预存方案的第一数量;记录第二用户未经任何处理,选择预存方案的第二数量;根据第二数量与第一数量的比值,得到选择率。In one possible implementation, the processing unit 202 is used to record a first number of pre-stored solutions for the interview question retrieved after the first user inputs the interview question; record a second number of pre-stored solutions selected by the second user without any processing; and obtain a selection rate based on a ratio of the second number to the first number.
在一种可能的实施方式中,处理单元202用于确定第一面试问题与预设数据库中多个预存面试问题的相似度;确定多个预存面试问题中,相似度大于或等于预设相似度阈值的预存面试问题;确定各个相似度大于或等于预设相似度阈值的预存面试问题对应的多个第一预存方案。In one possible implementation, the processing unit 202 is used to determine the similarity between the first interview question and multiple pre-stored interview questions in a preset database; determine the pre-stored interview questions among the multiple pre-stored interview questions whose similarity is greater than or equal to a preset similarity threshold; and determine multiple first pre-stored solutions corresponding to the pre-stored interview questions whose respective similarities are greater than or equal to the preset similarity threshold.
需要说明的是:上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置和方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
本申请还公开一种电子设备。参照图3,图3为本申请实施例提供了一种电子设备的结构示意图。电子设备300可以包括:至少一个处理器301,至少一个网络接口304,用户接口303,存储器305,至少一个通信总线302。The present application also discloses an electronic device. Referring to FIG3 , FIG3 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .
其中,通信总线302用于实现这些组件之间的连接通信。The communication bus 302 is used to realize the connection and communication between these components.
其中,用户接口303可以包括显示屏(Display)、摄像头(Camera),可选用户接口303还可以包括标准的有线接口、无线接口。The user interface 303 may include a display screen (Display) and a camera (Camera). Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.
其中,网络接口304可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
其中,处理器301可以包括一个或者多个处理核心。处理器301利用各种接口和线路连接整个服务器内的各个部分,通过运行或执行存储在存储器305内的指令、程序、代码集或指令集,以及调用存储在存储器305内的数据,执行服务器的各种功能和处理数据。可选的,处理器301可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器301可集成中央处理器(CentralProcessing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用请求等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器301中,单独通过一块芯片进行实现。Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application requests; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.
其中,存储器305可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器305包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器305可用于存储指令、程序、代码、代码集或指令集。存储器305可包括存储程序区和存储数据区,其中,存储程序区。可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及的数据等。存储器305可选的还可以是至少一个位于远离前述处理器301的存储装置。Among them, the memory 305 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area. Instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc. can be stored; the data storage area can store data involved in the above-mentioned various method embodiments, etc. The memory 305 can also be optionally at least one storage device located away from the aforementioned processor 301.
如图3所示,作为一种计算机存储介质的存储器305中可以包括操作系统、网络通信模块、用户接口模块以及智能模拟面试的处理的应用程序。As shown in FIG. 3 , the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application program for processing intelligent simulated interviews.
在图3所示的电子设备300中,用户接口303主要用于为用户提供输入的接口,获取用户输入的数据;而处理器301可以用于调用存储器305中存储智能模拟面试的处理的应用程序,当由一个或多个处理器执行时,使得电子设备执行如上述实施例中一个或多个所述的方法。In the electronic device 300 shown in Figure 3, the user interface 303 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 301 can be used to call the application program for processing the intelligent simulation interview stored in the memory 305. When executed by one or more processors, the electronic device executes one or more methods described in the above embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必需的。It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所披露的装置,可通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些服务接口,装置或单元的间接耦合或通信连接,可以是电性或其他的形式。In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be 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 distributed on multiple network units. Some or all of the units may 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 application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, 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, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.
以上所述者,仅为本公开的示例性实施例,不能以此限定本公开的范围。即但凡依本公开教导所作的等效变化与修饰,皆仍属本公开涵盖的范围内。本领域技术人员在考虑说明书及实践真理的公开后,将容易想到本公开的其他实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未记载的本技术领域中的公知常识或惯用技术手段。The above is only an exemplary embodiment of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and the truth of practice, it will be easy for those skilled in the art to think of other embodiments of the present disclosure. This application is intended to cover any variation, use or adaptive change of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field that are not recorded in the present disclosure.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411274092.2A CN118797032B (en) | 2024-09-12 | 2024-09-12 | A processing method, device and electronic equipment for intelligent simulated interview |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202411274092.2A CN118797032B (en) | 2024-09-12 | 2024-09-12 | A processing method, device and electronic equipment for intelligent simulated interview |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN118797032A true CN118797032A (en) | 2024-10-18 |
| CN118797032B CN118797032B (en) | 2025-01-24 |
Family
ID=93032087
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202411274092.2A Active CN118797032B (en) | 2024-09-12 | 2024-09-12 | A processing method, device and electronic equipment for intelligent simulated interview |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN118797032B (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060257840A1 (en) * | 2005-04-15 | 2006-11-16 | Jumbuck Entertainment Ltd. | Presenting an interview question and answer session over a communications network |
| US20140057238A1 (en) * | 2012-08-22 | 2014-02-27 | ApprenNet LLC | System and Method for On-Line Interactive Learning and Feedback |
| US20170213190A1 (en) * | 2014-06-23 | 2017-07-27 | Intervyo R&D Ltd. | Method and system for analysing subjects |
| US20200257733A1 (en) * | 2019-02-13 | 2020-08-13 | International Business Machines Corporation | Predicting user preferences and requirements for cloud migration |
| US20210142333A1 (en) * | 2017-05-16 | 2021-05-13 | Visa International Service Association | Dynamic claims submission system |
| CN118093826A (en) * | 2024-03-18 | 2024-05-28 | 武汉厚溥数字科技有限公司 | Intelligent simulation interview processing method, device, equipment and medium |
-
2024
- 2024-09-12 CN CN202411274092.2A patent/CN118797032B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20060257840A1 (en) * | 2005-04-15 | 2006-11-16 | Jumbuck Entertainment Ltd. | Presenting an interview question and answer session over a communications network |
| US20140057238A1 (en) * | 2012-08-22 | 2014-02-27 | ApprenNet LLC | System and Method for On-Line Interactive Learning and Feedback |
| US20170213190A1 (en) * | 2014-06-23 | 2017-07-27 | Intervyo R&D Ltd. | Method and system for analysing subjects |
| US20210142333A1 (en) * | 2017-05-16 | 2021-05-13 | Visa International Service Association | Dynamic claims submission system |
| US20200257733A1 (en) * | 2019-02-13 | 2020-08-13 | International Business Machines Corporation | Predicting user preferences and requirements for cloud migration |
| CN118093826A (en) * | 2024-03-18 | 2024-05-28 | 武汉厚溥数字科技有限公司 | Intelligent simulation interview processing method, device, equipment and medium |
Non-Patent Citations (1)
| Title |
|---|
| 杨真;陈建安;: "招聘面试人工智能系统的框架与模块研究", 江苏大学学报(社会科学版), no. 06, 30 November 2017 (2017-11-30) * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118797032B (en) | 2025-01-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113051362B (en) | Data query method, device and server | |
| CN112346567B (en) | Virtual interaction model generation method and device based on AI (Artificial Intelligence) and computer equipment | |
| US10210244B1 (en) | Updating natural language interfaces by processing usage data | |
| EP3511882A1 (en) | Method for recommending teachers in online teaching system | |
| WO2020077824A1 (en) | Method, apparatus, and device for locating abnormality, and storage medium | |
| CN109360550A (en) | Test method, device, equipment and storage medium for voice interactive system | |
| CN118733416A (en) | Monitoring Generative Model Quality | |
| US20240177183A1 (en) | Systems and methods for improved user experience results analysis | |
| CN113505293A (en) | Information pushing method and device, electronic equipment and storage medium | |
| CN113821612A (en) | Information search method and device | |
| US20250028752A1 (en) | Systems and methods for agglomerative clustering | |
| EP3834162A1 (en) | Dynamic and continous onboarding of service providers in an online expert marketplace | |
| CN110188291A (en) | Document process based on proxy log | |
| RU2643466C1 (en) | Method and system for generating search results | |
| US12287821B2 (en) | Systems and methods for contextual clustering | |
| CN110889034A (en) | Data analysis method and data analysis system | |
| CN109558531A (en) | News information method for pushing, device and computer equipment | |
| US20200160359A1 (en) | User-experience development system | |
| CN107562457A (en) | The generation method and device of navigation menu | |
| CN118981526B (en) | Multi-mode zero-code form modeling intelligent question-answering method and related equipment thereof | |
| KR101144426B1 (en) | Method and system for impressing the knowledge advertising using the knowledge retrieval service | |
| CN118628151A (en) | A policy information screening and customer matching device, system and method | |
| CN118797032A (en) | A processing method, device and electronic equipment for intelligent simulated interview | |
| CN118277403A (en) | A natural language query method and device | |
| KR100479363B1 (en) | Method and system for impressing the knowledge advertising using the knowledge retrieval service |
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 | ||
| GR01 | Patent grant |