CN115587869A - A financial product recommendation speech generation method and device - Google Patents

A financial product recommendation speech generation method and device Download PDF

Info

Publication number
CN115587869A
CN115587869A CN202211196259.9A CN202211196259A CN115587869A CN 115587869 A CN115587869 A CN 115587869A CN 202211196259 A CN202211196259 A CN 202211196259A CN 115587869 A CN115587869 A CN 115587869A
Authority
CN
China
Prior art keywords
financial product
recommendation
information
financial
historical
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
Application number
CN202211196259.9A
Other languages
Chinese (zh)
Other versions
CN115587869B (en
Inventor
周子同
郭静毅
张秀娟
刘铁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202211196259.9A priority Critical patent/CN115587869B/en
Publication of CN115587869A publication Critical patent/CN115587869A/en
Application granted granted Critical
Publication of CN115587869B publication Critical patent/CN115587869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Recommending goods or services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Computational Linguistics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Artificial Intelligence (AREA)
  • Game Theory and Decision Science (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Technology Law (AREA)
  • General Engineering & Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Machine Translation (AREA)

Abstract

The application provides a financial product recommended word generating method and device, relates to the field of artificial intelligence, can also be used in the financial field, and comprises: analyzing the financial product description text to be analyzed according to a rule metadata set corresponding to the financial product description text to be analyzed to obtain corresponding financial product information; determining the corresponding financial product recommendation degree according to the financial product information, a pre-constructed financial product recommendation degree generation model and the historical financial product purchase information of the customer to be recommended; and writing the financial product information and the financial product recommendation degree into a pre-constructed standard conversational template to obtain a corresponding financial product recommendation conversational sentence. The method and the device can acquire the financial product information in the financial product description text based on the color label, and generate the recommendation dialect of the financial product based on the financial product information.

Description

一种金融产品推荐话术生成方法及装置A financial product recommendation speech generation method and device

技术领域technical field

本申请涉及人工智能领域,可以用于金融领域,具体是一种金融产品推荐话术生成方法。This application relates to the field of artificial intelligence and can be used in the financial field, specifically a method for generating financial product recommendation words.

背景技术Background technique

在金融领域中,金融产品说明书的种类多种多样,产品经理为了解待推荐给客户的金融产品,需要阅读其对应的金融产品说明书。然而,金融产品说明书的文字量一般较大,影响推荐过程的关键信息很容易被淹没。In the financial field, there are various types of financial product brochures. In order to understand the financial products to be recommended to customers, product managers need to read the corresponding financial product brochures. However, the text volume of financial product manuals is generally large, and key information that affects the recommendation process is easily overwhelmed.

目前,提取上述关键信息的方式主要有以下两种:第一,人工提取,所需人力成本较高;第二,利用应用程序接口直接对产品说明书文件进行操作,通过底层程序设定数据提取规则,提取相关信息,但这种方法在信息提取时,需要根据产品说明书种类的不同,编写底层程序,一旦有新类型的产品说明书上线,需要重新编写相关提取代码,技术门槛高。在不能自动化提取金融产品说明书内的关键信息的情况下,自动生成金融产品对应的推荐话术更是无从谈起。At present, there are mainly two ways to extract the above-mentioned key information: first, manual extraction, which requires high labor costs; second, use the application program interface to directly operate the product manual file, and set the data extraction rules through the underlying program , to extract relevant information, but this method needs to write the underlying program according to the different types of product manuals when extracting information. Once a new type of product manual is launched, the relevant extraction code needs to be rewritten, and the technical threshold is high. In the absence of automatic extraction of key information in financial product brochures, it is even more impossible to automatically generate recommendation words corresponding to financial products.

发明内容Contents of the invention

针对现有技术中的问题,本申请提供一种金融产品推荐话术生成方法及装置,能够基于颜色标签获取金融产品说明文本中的金融产品信息,并基于该金融产品信息生成金融产品的推荐话术。Aiming at the problems in the prior art, this application provides a method and device for generating financial product recommendation words, which can obtain financial product information in financial product description text based on color labels, and generate financial product recommendation words based on the financial product information. surgery.

为解决上述技术问题,本申请提供以下技术方案:In order to solve the above technical problems, the application provides the following technical solutions:

第一方面,本申请提供一种金融产品推荐话术生成方法,包括:In the first aspect, the present application provides a financial product recommendation speech generation method, including:

根据待解析的金融产品说明文本对应的规则元数据集解析所述待解析的金融产品说明文本,得到对应的金融产品信息;Analyzing the financial product description text to be parsed according to the rule metadata set corresponding to the financial product description text to be parsed to obtain corresponding financial product information;

根据所述金融产品信息、预先构建的金融产品推荐度生成模型及待推荐客户的金融产品历史购买信息确定对应的金融产品推荐度;Determine the corresponding financial product recommendation degree according to the financial product information, the pre-built financial product recommendation degree generation model and the financial product historical purchase information of the customer to be recommended;

将所述金融产品信息及所述金融产品推荐度写入预先构建的标准话术模板,得到对应的金融产品推荐话术。Write the financial product information and the financial product recommendation degree into the pre-built standard speech template to obtain the corresponding financial product recommendation speech.

进一步地,所述根据待解析的金融产品说明文本对应的规则元数据集解析所述待解析的金融产品说明文本,得到对应的金融产品信息,包括:Further, the analyzing the financial product description text to be parsed according to the rule metadata set corresponding to the financial product description text to be parsed to obtain corresponding financial product information includes:

利用应用程序接口读取所述待解析的金融产品说明文本中的全量数据,得到对应的目标元数据集;Reading the full amount of data in the description text of the financial product to be analyzed by using the API to obtain the corresponding target metadata set;

根据预设的解析关键词对所述待解析的金融产品说明文本进行颜色标注,得到含颜色标签的金融产品说明文本;Carry out color labeling on the description text of the financial product to be analyzed according to the preset analysis keywords, and obtain the description text of the financial product containing the color label;

按照所述规则元数据集中的规则遍历所述目标元数据集,并读取所述规则所规定的金融产品信息;其中,所述规则基于所述颜色标签设置。Traverse the target metadata set according to the rules in the rule metadata set, and read the financial product information specified by the rules; wherein, the rules are set based on the color labels.

进一步地,所述根据所述金融产品信息、预先构建的金融产品推荐度生成模型及待推荐客户的金融产品历史购买信息确定对应的金融产品推荐度,包括:Further, the determination of the corresponding financial product recommendation degree based on the financial product information, the pre-built financial product recommendation degree generation model and the financial product historical purchase information of the customer to be recommended includes:

根据所述金融产品信息计算所述金融产品的预期净值及预期净值收益率;Calculate the expected net value and expected net value yield of the financial product according to the financial product information;

将所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率输入所述金融产品推荐度生成模型,生成所述金融产品针对该待推荐客户的金融产品推荐度。Input the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the rate of return on the net value into the financial product recommendation generation model, and generate the financial product for the customer to be recommended. Product recommendation.

进一步地,所述根据所述金融产品信息计算所述金融产品的预期净值及预期净值收益率,包括:Further, the calculation of the expected net value and expected net value yield of the financial product according to the financial product information includes:

从所述金融产品信息中获取所述金融产品的历史净值序列;Obtaining the historical net value sequence of the financial product from the financial product information;

根据所述历史净值序列计算对应的历史净值收益率序列;Calculating a corresponding historical equity yield sequence according to the historical equity sequence;

利用时间序列分析算法拟合所述历史净值序列及所述历史净值收益率序列,得到所述预期净值及预期净值收益率。Using a time series analysis algorithm to fit the historical net worth sequence and the historical net worth return rate sequence to obtain the expected net worth and expected net worth return rate.

进一步地,所述将所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率输入所述金融产品推荐度生成模型,生成所述金融产品针对该待推荐客户的金融产品推荐度,包括:Further, inputting the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the rate of return on the net value into the financial product recommendation generation model, and generating the financial product for the financial product The financial product recommendation degree of the customer to be recommended, including:

根据所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率生成对应的推荐参数特征集;Generate a corresponding recommended parameter feature set according to the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the net value yield;

将所述推荐参数特征集输入所述金融产品推荐度生成模型,生成所述金融产品针对所述待推荐客户的金融产品推荐度。Inputting the recommendation parameter feature set into the financial product recommendation generation model to generate the financial product recommendation degree of the financial product for the customer to be recommended.

进一步地,构建所述金融产品推荐度生成模型的步骤,包括:Further, the step of constructing the financial product recommendation generation model includes:

根据各客户的金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率生成各客户对应的推荐参数历史特征集;Generate a historical feature set of recommended parameters corresponding to each customer based on the historical purchase information of each customer's financial product, the financial product rate in the financial product information, the net value and the net value yield;

根据各客户针对该金融产品的购买结果对各推荐参数历史特征集进行正负样本标记;According to the purchase results of each customer for the financial product, mark the positive and negative samples of each recommended parameter historical feature set;

将所述正负样本标记结果及所述推荐参数历史特征集输入分布式梯度提升模型进行训练,得到所述金融产品推荐度生成模型。The positive and negative sample marking results and the recommended parameter historical feature set are input into a distributed gradient boosting model for training to obtain the financial product recommendation generation model.

进一步地,所述金融产品推荐话术生成方法,还包括:Further, the financial product recommendation speech generation method also includes:

采集金融产品客户经理使用所述金融产品推荐话术向所述待推荐客户推荐对应的金融产品时的音频数据,并生成对应的音频转换文本;Collecting the audio data when the financial product customer manager uses the financial product recommendation speech technique to recommend the corresponding financial product to the customer to be recommended, and generating corresponding audio conversion text;

比对所述音频转换文本与所述金融产品推荐话术,并基于比对结果进行预警处理。Comparing the audio conversion text with the financial product recommendation speech, and performing early warning processing based on the comparison result.

进一步地,所述的金融产品推荐话术生成方法,所述比对所述音频转换文本与所述金融产品推荐话术,并基于比对结果进行预警处理,包括:Further, in the method for generating financial product recommendation speech, the comparison of the audio conversion text and the financial product recommendation speech, and performing early warning processing based on the comparison result includes:

将所述音频转换文本输入BERT模型进行语义解析,得到对应的第一分句标签;The audio conversion text is input into the BERT model for semantic analysis to obtain the corresponding first sentence label;

将所述金融产品推荐话术输入所述BERT模型进行语义解析,得到对应的第二分句标签;Inputting the words recommended by the financial product into the BERT model for semantic analysis to obtain the corresponding second clause label;

比对所述第一分句标签与所述第二分句标签,若不一致,进行预警。Comparing the label of the first clause with the label of the second clause, if inconsistent, give an early warning.

第二方面,本申请提供一种金融产品推荐话术生成装置,包括:In the second aspect, the present application provides a financial product recommendation speech generation device, including:

金融产品信息生成单元,用于根据待解析的金融产品说明文本对应的规则元数据集解析所述待解析的金融产品说明文本,得到对应的金融产品信息;A financial product information generating unit, configured to parse the financial product description text to be parsed according to the rule metadata set corresponding to the financial product description text to be parsed, and obtain corresponding financial product information;

推荐度计算单元,用于根据所述金融产品信息、预先构建的金融产品推荐度生成模型及待推荐客户的金融产品历史购买信息确定对应的金融产品推荐度;The recommendation degree calculation unit is used to determine the corresponding financial product recommendation degree according to the financial product information, the pre-built financial product recommendation degree generation model and the financial product historical purchase information of the customer to be recommended;

推荐话术单元,用于将所述金融产品信息及所述金融产品推荐度写入预先构建的标准话术模板,得到对应的金融产品推荐话术。The recommended speech unit is configured to write the financial product information and the financial product recommendation degree into a pre-built standard speech template to obtain the corresponding financial product recommended speech.

进一步地,所述金融产品信息生成单元,包括:Further, the financial product information generation unit includes:

目标元数据集生成模块,用于利用应用程序接口读取所述待解析的金融产品说明文本中的全量数据,得到对应的目标元数据集;The target metadata set generation module is used to read the full amount of data in the description text of the financial product to be parsed by using the API to obtain the corresponding target metadata set;

颜色标签生成模块,用于根据预设的解析关键词对所述待解析的金融产品说明文本进行颜色标注,得到含颜色标签的金融产品说明文本;A color label generation module, configured to color-label the description text of the financial product to be analyzed according to the preset analysis keywords, and obtain the description text of the financial product containing the color label;

产品信息提取模块,用于按照所述规则元数据集中的规则遍历所述目标元数据集,并读取所述规则所规定的金融产品信息;其中,所述规则基于所述颜色标签设置。The product information extraction module is configured to traverse the target metadata set according to the rules in the rule metadata set, and read the financial product information specified by the rules; wherein, the rules are set based on the color labels.

进一步地,所述推荐度计算单元,包括:Further, the recommendation calculation unit includes:

净值参数计算模块,用于根据所述金融产品信息计算所述金融产品的预期净值及预期净值收益率;A net value parameter calculation module, used to calculate the expected net value and expected net value yield of the financial product according to the financial product information;

推荐度计算模块,用于将所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率输入所述金融产品推荐度生成模型,生成所述金融产品针对该待推荐客户的金融产品推荐度。The recommendation degree calculation module is used to input the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the net value return rate into the financial product recommendation degree generation model to generate the financial product The financial product recommendation degree for the customer to be recommended.

进一步地,所述净值参数计算模块,包括:Further, the net worth parameter calculation module includes:

历史净值序列生成模块,用于从所述金融产品信息中获取所述金融产品的历史净值序列;A historical net value sequence generating module, configured to obtain the historical net value sequence of the financial product from the financial product information;

历史净值收益率序列生成模块,用于根据所述历史净值序列计算对应的历史净值收益率序列;A historical net worth yield sequence generation module, used to calculate a corresponding historical net worth yield sequence according to the historical net worth sequence;

净值参数预期模块,用于利用时间序列分析算法拟合所述历史净值序列及所述历史净值收益率序列,得到所述预期净值及预期净值收益率。The net worth parameter expectation module is used to use a time series analysis algorithm to fit the historical net worth sequence and the historical net worth return rate sequence to obtain the expected net worth and expected net worth return rate.

进一步地,所述推荐度计算模块,包括:Further, the recommendation calculation module includes:

参数特征集生成子模块,用于根据所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率生成对应的推荐参数特征集;The parameter feature set generating submodule is used to generate a corresponding recommended parameter feature set according to the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the return rate of the net value;

推荐度计算子模块,用于将所述推荐参数特征集输入所述金融产品推荐度生成模型,生成所述金融产品针对所述待推荐客户的金融产品推荐度。The recommendation degree calculation sub-module is used to input the recommendation parameter feature set into the financial product recommendation degree generation model, and generate the financial product recommendation degree of the financial product for the customer to be recommended.

进一步地,所述金融产品推荐话术生成装置,还包括:Further, the financial product recommendation speech generation device also includes:

参数历史特征集生成单元,用于根据各客户的金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率生成各客户对应的推荐参数历史特征集;A parameter historical feature set generation unit, used to generate a recommended parameter historical feature set corresponding to each customer according to the historical purchase information of financial products of each customer, the financial product rate in the financial product information, the net value and the net value yield;

样本标记单元,用于根据各客户针对该金融产品的购买结果对各推荐参数历史特征集进行正负样本标记;The sample marking unit is used to mark positive and negative samples of each recommended parameter historical feature set according to the purchase result of each customer for the financial product;

模型训练单元,用于将所述正负样本标记结果及所述推荐参数历史特征集输入分布式梯度提升模型进行训练,得到所述金融产品推荐度生成模型。A model training unit, configured to input the positive and negative sample marking results and the recommended parameter historical feature set into a distributed gradient boosting model for training to obtain the financial product recommendation degree generation model.

进一步地,所述金融产品推荐话术生成装置,还包括:Further, the financial product recommendation speech generation device also includes:

音频转换单元,用于采集金融产品客户经理使用所述金融产品推荐话术向所述待推荐客户推荐对应的金融产品时的音频数据,并生成对应的音频转换文本;The audio conversion unit is used to collect the audio data when the financial product account manager uses the financial product recommendation speech technique to recommend the corresponding financial product to the customer to be recommended, and generate corresponding audio conversion text;

比对预警单元,用于比对所述音频转换文本与所述金融产品推荐话术,并基于比对结果进行预警处理。The comparison and warning unit is used to compare the audio conversion text with the financial product recommendation speech, and perform warning processing based on the comparison result.

进一步地,所述比对预警单元,包括:Further, the comparison warning unit includes:

第一分句打标模块,用于将所述音频转换文本输入BERT模型进行语义解析,得到对应的第一分句标签;The first sentence marking module is used to input the audio conversion text into the BERT model and carry out semantic analysis to obtain the corresponding first sentence label;

第二分句打标模块,用于将所述金融产品推荐话术输入所述BERT模型进行语义解析,得到对应的第二分句标签;The second clause marking module is used to input the financial product recommendation speech technique into the BERT model for semantic analysis to obtain the corresponding second clause label;

比对预警模块,用于比对所述第一分句标签与所述第二分句标签,若不一致,进行预警。The comparison and early warning module is used to compare the first clause label and the second clause label, and if they are inconsistent, give an early warning.

第三方面,本申请提供一种电子设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现所述金融产品推荐话术生成方法的步骤。In a third aspect, the present application provides an electronic device including a memory, a processor, and a computer program stored on the memory and operable on the processor, and when the processor executes the program, the financial product recommendation speech generation is realized method steps.

第四方面,本申请提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现所述金融产品推荐话术生成方法的步骤。In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method for generating financial product recommendation speech are realized.

第五方面,本申请提供一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现所述金融产品推荐话术生成方法的步骤。In a fifth aspect, the present application provides a computer program product, including a computer program/instruction, and when the computer program/instruction is executed by a processor, the steps of the method for generating a financial product recommendation speech are implemented.

针对现有技术中的问题,本申请提供的金融产品推荐话术生成方法及装置,能够基于颜色标签获取金融产品说明文本中的金融产品信息,并基于该金融产品信息生成金融产品的推荐话术;将基于颜色标签的金融产品信息提取方法与金融产品推荐度生成模型相结合,能够对金融产品说明文本进行解析,并为金融产品客户经理提供金融产品推荐话术,甚至还能针对金融产品客户经理运用金融产品推荐话术向客户进行金融产品推荐时可能出现的口误提出预警;从而引导客户适应和接受金融产品的净值化转型,合理评估自身风险的承受能力,提升客户投资体验。Aiming at the problems in the prior art, the financial product recommendation speech generation method and device provided by this application can obtain the financial product information in the financial product description text based on the color label, and generate the financial product recommendation speech based on the financial product information ; Combining the color label-based financial product information extraction method with the financial product recommendation generation model, it can analyze the financial product description text, and provide financial product customer managers with financial product recommendation words, and even target financial product customers Managers use financial product recommendation skills to warn customers of possible slips of the tongue when recommending financial products; thus guiding customers to adapt to and accept the net value transformation of financial products, reasonably assess their own risk tolerance, and improve customer investment experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1为本申请实施例中金融产品推荐话术生成方法的流程图之一;Fig. 1 is one of the flowcharts of the financial product recommendation speech generation method in the embodiment of the present application;

图2为本申请实施例中得到对应的金融产品信息的流程图;Fig. 2 is the flowchart of obtaining the corresponding financial product information in the embodiment of the present application;

图3为本申请实施例中确定对应的金融产品推荐度的流程图;FIG. 3 is a flow chart of determining the corresponding financial product recommendation degree in the embodiment of the present application;

图4为本申请实施例中计算金融产品的预期净值及预期净值收益率的流程图;Fig. 4 is the flowchart of calculating the expected net value and expected net value yield of financial products in the embodiment of the present application;

图5为本申请实施例中生成金融产品针对该待推荐客户的金融产品推荐度的流程图;Fig. 5 is a flow chart of generating the financial product recommendation degree of the financial product for the customer to be recommended in the embodiment of the present application;

图6为本申请实施例中构建金融产品推荐度生成模型的流程图;FIG. 6 is a flow chart of building a financial product recommendation generation model in the embodiment of the present application;

图7为本申请实施例中金融产品推荐话术生成方法的流程图之二;Fig. 7 is the second flow chart of the financial product recommendation speech generation method in the embodiment of the present application;

图8为本申请实施例中进行预警处理的流程图;FIG. 8 is a flowchart of early warning processing in the embodiment of the present application;

图9为本申请实施例中金融产品推荐话术生成装置的结构图之一;FIG. 9 is one of the structural diagrams of the financial product recommendation speech generation device in the embodiment of the present application;

图10为本申请实施例中金融产品信息生成单元的结构图;FIG. 10 is a structural diagram of a financial product information generation unit in the embodiment of the present application;

图11为本申请实施例中推荐度计算单元的结构图;FIG. 11 is a structural diagram of a recommendation calculation unit in an embodiment of the present application;

图12为本申请实施例中净值参数计算模块的结构图;Fig. 12 is the structural diagram of the net value parameter calculation module in the embodiment of the present application;

图13为本申请实施例中推荐度计算模块的结构图;Fig. 13 is a structural diagram of the recommendation calculation module in the embodiment of the present application;

图14为本申请实施例中金融产品推荐话术生成装置的结构图之二;Fig. 14 is the second structural diagram of the financial product recommendation speech generating device in the embodiment of the present application;

图15为本申请实施例中金融产品推荐话术生成装置的结构图之三;Fig. 15 is the third structural diagram of the financial product recommendation speech generating device in the embodiment of the present application;

图16为本申请实施例中比对预警单元的结构图;Fig. 16 is a structural diagram of the comparison warning unit in the embodiment of the present application;

图17为本申请实施例中的电子设备的结构示意图;FIG. 17 is a schematic structural diagram of an electronic device in an embodiment of the present application;

图18为本申请实施例中金融产品推荐话术生成方法的流程示意图;FIG. 18 is a schematic flow diagram of a method for generating financial product recommendation words in the embodiment of the present application;

图19为本申请实施例中模型训练示意图之一;Fig. 19 is one of the schematic diagrams of model training in the embodiment of the present application;

图20为本申请实施例中模型训练示意图之二。FIG. 20 is the second schematic diagram of model training in the embodiment of the present application.

具体实施方式detailed description

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

需要说明的是,本申请提供的金融产品推荐话术生成方法及装置,可用于金融领域,也可用于除金融领域之外的任意领域,本申请提供的金融产品推荐话术生成方法及装置的应用领域不做限定。It should be noted that the financial product recommendation speech generation method and device provided in this application can be used in the financial field, and can also be used in any field other than the financial field. The financial product recommendation speech generation method and device provided in this application The field of application is not limited.

本申请技术方案中对数据的获取、存储、使用及处理等均符合国家法律法规的相关规定。The acquisition, storage, use, and processing of data in the technical solution of this application all comply with the relevant provisions of national laws and regulations.

一实施例中,参见图1,为了能够基于颜色标签获取金融产品说明文本中的金融产品信息,并基于该金融产品信息生成金融产品的推荐话术,本申请提供一种金融产品推荐话术生成方法。该方法首先基于颜色标签提取金融产品说明文本中的金融产品信息,然后基于该金融产品信息生成金融产品的推荐话术,以使金融产品客户经理能够按照该推荐话术向待推荐客户(该金融产品的潜在购买客户) 推荐该金融产品。In one embodiment, referring to Fig. 1, in order to obtain the financial product information in the financial product description text based on the color label, and generate a financial product recommendation speech based on the financial product information, this application provides a financial product recommendation speech generation method. The method firstly extracts the financial product information in the financial product description text based on the color label, and then generates a financial product recommendation speech based on the financial product information, so that the financial product account manager can use the recommended speech to recommend the customer (the financial potential buyers of the product) to recommend the financial product.

需要说明的是,在生成金融产品的推荐话术时,本申请提供的金融产品推荐话术生成方法是将颜色标注法与金融产品推荐度生成模型相结合,对金融产品说明文本进行解析,并为金融产品客户经理提供金融产品推荐话术,后续还会通过文本比对技术,针对金融产品客户经理在运用该金融产品推荐话术向待推荐客户进行金融产品推荐时可能出现的口误(例如朗读错误)提出预警,以期引导客户适应和接受金融产品的净值化转型,合理评估自身风险的承受能力,提升客户投资体验。It should be noted that when generating financial product recommendation speech, the financial product recommendation speech generation method provided by this application is to combine the color labeling method with the financial product recommendation degree generation model, analyze the financial product description text, and Provide financial product recommendation speech skills for financial product account managers, and then use text comparison technology to address possible slips of the tongue (such as reading aloud) when financial product account managers use the financial product recommendation speech skills to recommend financial products to customers to be recommended error) put forward an early warning in order to guide customers to adapt to and accept the net value transformation of financial products, reasonably assess their own risk tolerance, and improve customer investment experience.

本申请提供的金融产品推荐话术生成方法,包括:The financial product recommendation speech generation method provided by this application includes:

S101:根据待解析的金融产品说明文本对应的规则元数据集解析所述待解析的金融产品说明文本,得到对应的金融产品信息;S101: Analyze the financial product description text to be analyzed according to the rule metadata set corresponding to the financial product description text to be analyzed, and obtain corresponding financial product information;

具体地,一实施例中,参见图2,步骤S101,包括:利用应用程序接口读取所述待解析的金融产品说明文本中的全量数据,得到对应的目标元数据集(S201);根据预设的解析关键词对所述待解析的金融产品说明文本进行颜色标注,得到含颜色标签的金融产品说明文本(S202);按照所述规则元数据集中的规则遍历所述目标元数据集,并读取所述规则所规定的金融产品信息(S203);其中,所述规则基于所述颜色标签设置。Specifically, in one embodiment, referring to FIG. 2 , step S101 includes: reading the full amount of data in the description text of the financial product to be analyzed by using an API to obtain a corresponding target metadata set (S201); Set the analytical keywords to color-label the financial product description text to be parsed to obtain the financial product description text containing color labels (S202); traverse the target metadata set according to the rules in the rule metadata set, and Read financial product information specified by the rules (S203); wherein, the rules are set based on the color labels.

具体实施是,步骤S201至步骤S203的流程如下:The specific implementation is that the flow from step S201 to step S203 is as follows:

1、利用应用程序接口(例如Java POI)读取待解析的金融产品说明文本(也称产品说明书)中的全量数据,得到对应的目标元数据集。该目标元数据集包括该金融产品说明文本的全量数据。1. Use the application programming interface (such as Java POI) to read the full amount of data in the financial product description text (also called product manual) to be parsed to obtain the corresponding target metadata set. The target metadata set includes the full amount of data of the financial product description text.

2、针对产品说明文本,设置其中的各表格中各单元格的颜色及字体颜色,得到含颜色标签的金融产品说明文本。然后,根据上述各单元格的颜色及字体颜色等对产品说明书模板进行规则集设定,得到规则元数据集。该规则元数据集中至少记载有:各颜色的单元格中的各颜色的字体分别表征什么信息。2. For the product description text, set the color and font color of each cell in each table to obtain the financial product description text with color labels. Then, according to the color and font color of each cell above, the rule set is set for the product brochure template to obtain the rule metadata set. The rule metadata set at least records: what information is represented by the fonts of each color in the cells of each color.

3、根据业务需要选取金融产品说明文本所对应的说明书模板,并根据该说明书模板,提取规则元数据集。3. According to business needs, select the specification template corresponding to the financial product specification text, and extract the rule metadata set according to the specification template.

3、利用规则元数据集对规则集进行建模。3. Use the rule metadata set to model the rule set.

4、利用规则集模型采集目标元数据集的信息。4. Use the rule set model to collect the information of the target metadata set.

5、提取到的金融产品信息存入文件及数据库等存储介质。5. The extracted financial product information is stored in storage media such as files and databases.

具体举例如下:Specific examples are as follows:

在该例中,规则元数据集中的规则如下:In this example, the rules in the rules metadata set are as follows:

1)表格底色橙色用于确定提取信息范围,为该单元格右侧单元格,其中字体颜色“黑色”为固定信息,字体颜色“绿色”为录入项,格式为“[表名/列名]”1) The orange background color of the table is used to determine the range of extracted information, which is the cell on the right side of the cell, where the font color "black" is fixed information, and the font color "green" is the entry item, and the format is "[table name/column name ]”

2)表格底色“深蓝色”用于确定提取信息范围,为该单元右侧竖向范围,该表格中字体颜色“白色”为固定信息,字体颜色“黄色”为录入项,格式为“[表名]”2) The background color of the table "dark blue" is used to determine the range of extracted information, which is the vertical range on the right side of the unit. The font color "white" in this table is fixed information, and the font color "yellow" is the entry item. The format is "[ Table Name]"

3)表格底色“浅蓝色”用于确定提取信息范围,为该单元格下面一整列,该表格中字体颜色“黑色”为固定信息,字体颜色“橙色”为录入项,格式为“[列名]”3) The table background color "light blue" is used to determine the range of extracted information, which is the entire column below the cell. The font color "black" in this table is fixed information, and the font color "orange" is the entry item. The format is "[ column name]"

某金融产品发行公司提供的产品说明书模板中某部分如下表1所示:Some parts of the product brochure template provided by a financial product issuing company are shown in Table 1 below:

表1Table 1

Figure BDA0003868422330000081
Figure BDA0003868422330000081

如果业务场景要求提取产品说明书中的基金名称及A类认购费信息,则可以将该问题转化为:If the business scenario requires extraction of the fund name and Class A subscription fee information in the product brochure, the problem can be transformed into:

1)提取“基金名称”表格右侧单元格信息,并把相关信息存储到数据库 BASE_INFO表中JJZC字段。1) Extract the cell information on the right side of the "Fund Name" table, and store the relevant information in the JJZC field in the BASE_INFO table of the database.

2)提取“A类认购费”表格右侧范围中,“认购金额(M)”列以及“费率”列下的所有值,并把相关信息存储到数据库SGJE_INFO表中MONEY和RATE字段。那么业务人员可以通过调整表格底色,按照以下方式改变规则模板(参见表2 所示):2) Extract all the values under the "subscription amount (M)" column and the "rate" column in the right range of the "Class A subscription fee" table, and store the relevant information in the MONEY and RATE fields in the SGJE_INFO table of the database. Then business personnel can change the rule template in the following way by adjusting the background color of the form (see Table 2):

表2Table 2

Figure BDA0003868422330000091
Figure BDA0003868422330000091

当有金融产品发行公司提供新的产品说明书时,提取关键信息的步骤为:When a financial product issuing company provides a new product specification, the steps to extract key information are:

产品说明书示例,参见表3所示:For an example of the product specification, see Table 3:

表3table 3

Figure BDA0003868422330000092
Figure BDA0003868422330000092

第一步,利用Java POI解析上传的产品说明书,从中得到目标元数据集。The first step is to use Java POI to parse the uploaded product manual and get the target metadata set.

第二步,根据目标元数据集中的产品说明书模板类型,找到对应模板,并提取规则元数据集。规则元数据集示例为:The second step is to find the corresponding template according to the product specification template type in the target metadata set, and extract the rule metadata set. An example rule metadata set is:

{{

……………………

产品说明书模板:……;Product brochure template: ...;

规则1:Rule 1:

{{

固定信息:基金管理人;Fixed information: fund manager;

提取范围:右侧;Extraction range: right side;

格式:BASE_INFO/JJZC;Format: BASE_INFO/JJZC;

范围附加:[]range append: []

};};

规则2:Rule 2:

{{

固定信息:A类申购费;Fixed information: Class A subscription fee;

提取范围:右侧竖向范围;Extraction range: the vertical range on the right;

格式:SGJE_INFO;Format: SGJE_INFO;

其他:[{other:[{

固定信息:申购金额(M);Fixed information: subscription amount (M);

提取范围:整列;Extract range: whole column;

格式:SGJE_INFO/MONEY;Format: SGJE_INFO/MONEY;

范围附加:[]range append: []

},{},{

固定信息:费率;Fixed information: rate;

提取范围:整列;Extract range: whole column;

格式:SGJE_INFO/RATE;Format: SGJE_INFO/RATE;

范围附加:[]range append: []

};};

……………………

}}

第三步,遍历规则元数据集,找到规则1,提取其中的“基金管理人”、“右侧”、“BASE_INFO/JJZC”等信息。The third step is to traverse the rule metadata set, find rule 1, and extract information such as "fund manager", "right side", "BASE_INFO/JJZC" and so on.

第四步,遍历规则待提取目标元数据集,找到“基金管理人”表格“右侧”单元格中的数据,即“某某混合型证券投资基金”,插入至BASE_INFO表中的 JJZC字段。The fourth step is to traverse the rule to extract the target metadata set, find the data in the "right" cell of the "fund manager" table, that is, "a certain hybrid securities investment fund", and insert it into the JJZC field in the BASE_INFO table.

第五步,继续遍历规则2、规则3等,直至所有规则遍历完毕。The fifth step is to continue to traverse rule 2, rule 3, etc. until all rules are traversed.

从上述描述可知,本申请提供的金融产品推荐话术生成方法,能够根据待解析的金融产品说明文本对应的规则元数据集解析所述待解析的金融产品说明文本,得到对应的金融产品信息。It can be seen from the above description that the financial product recommendation speech generation method provided by this application can analyze the financial product description text to be parsed according to the rule metadata set corresponding to the financial product description text to be parsed, and obtain corresponding financial product information.

S102:根据所述金融产品信息、预先构建的金融产品推荐度生成模型及待推荐客户的金融产品历史购买信息确定对应的金融产品推荐度;S102: Determine the corresponding financial product recommendation degree according to the financial product information, the pre-built financial product recommendation degree generation model, and the financial product historical purchase information of the customer to be recommended;

具体地,一实施例中,参见图3,步骤S102,包括:根据所述金融产品信息计算所述金融产品的预期净值及预期净值收益率(S301);将所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率输入所述金融产品推荐度生成模型,生成所述金融产品针对该待推荐客户的金融产品推荐度(S302)。Specifically, in one embodiment, referring to FIG. 3 , step S102 includes: calculating the expected net value and expected net value rate of return of the financial product according to the financial product information (S301); The financial product fee rate, the net value and the net value return rate in the financial product information are input into the financial product recommendation generation model to generate the financial product recommendation degree of the financial product for the customer to be recommended (S302).

进一步地,参见图4,步骤S301,包括:从所述金融产品信息中获取所述金融产品的历史净值序列(S401);根据所述历史净值序列计算对应的历史净值收益率序列(S402);利用时间序列分析算法拟合所述历史净值序列及所述历史净值收益率序列,得到所述预期净值及预期净值收益率(S403)。Further, referring to FIG. 4 , step S301 includes: obtaining the historical net value sequence of the financial product from the financial product information (S401); calculating the corresponding historical net value yield sequence according to the historical net value sequence (S402); Using a time series analysis algorithm to fit the historical net worth sequence and the historical net worth rate of return sequence to obtain the expected net worth and expected net worth rate of return (S403).

具体实施时,利用统计和时序分析技术进行产品净值和收益分析:During specific implementation, use statistical and time series analysis techniques to analyze product net value and income:

步骤1:整合获取的净值数据{xt,xt-1,xt-2,…xt-n};比如某净值型理财××××年8月1日首发净值是1,在一个月内发生了3次净值变动,分别是××××年8 月5日净值是1.002,××××年8月12日净值是1.006,××××年8月30日净值是1.005,那么整合获取的净值数据就是{1,1.002,1.006,1.005};Step 1: Integrate the obtained net worth data {x t , x t-1 , x t-2 ,…x tn }; for example, a certain net worth wealth management company’s initial net worth is 1 on August 1, year ××××, and within a month There have been 3 changes in the net value, namely, the net value on August 5, ×××× was 1.002, the net value on August 12, ×××× was 1.006, and the net value on August 30, ×××× was 1.005, then the integration The acquired net worth data is {1, 1.002, 1.006, 1.005};

步骤2:计算净值收益率Rt

Figure BDA0003868422330000111
其中xt为当前净值,xt-n为初始净值,n为产品运营天数;根据步骤1的示例,如果投资者首发认购该净值型理财,那么××××年8月30日的净值收益率就是(1.005-1)×365/30=6.08%;Step 2: Calculate the return on equity R t ,
Figure BDA0003868422330000111
Among them, x t is the current net value, x tn is the initial net value, and n is the number of days of product operation; according to the example of step 1, if the investor first subscribes for the net value-based wealth management, then the net value return on August 30 of ×××× is (1.005-1)×365/30=6.08%;

步骤3:根据净值序列和计算的净值收益率序列绘制净值和净值收益率曲线,反映变动情况,发现趋势规律。Step 3: Draw net worth and net yield curves based on the net worth sequence and the calculated net worth yield sequence to reflect changes and discover trend laws.

步骤4:对于有趋势规律的序列,利用时序分析预测技术,比如LSTM等模型技术,来预测产品未来的净值xt+m=f1(xt,xt-1,…xt-n)和净值收益率 Rt+m=f2(Rt,Rt-1,Rt-2,…,Rt-n)。Step 4: For sequences with regular trends, use time series analysis and forecasting techniques, such as LSTM and other model techniques, to predict the future net value of the product x t+m = f 1 (x t ,x t-1 ,…x tn ) and net value Yield rate R t+m = f 2 (R t , R t-1 , R t-2 , . . . , R tn ).

从上述描述可知,本申请提供的金融产品推荐话术生成方法,能够根据所述金融产品信息计算所述金融产品的预期净值及预期净值收益率。It can be seen from the above description that the financial product recommendation speech generation method provided by this application can calculate the expected net value and expected net value return rate of the financial product according to the financial product information.

进一步地,参见图5,步骤S302,包括:根据所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率生成对应的推荐参数特征集(S501);将所述推荐参数特征集输入所述金融产品推荐度生成模型,生成所述金融产品针对所述待推荐客户的金融产品推荐度(S502)。Further, referring to FIG. 5, step S302 includes: generating a corresponding recommended parameter feature set according to the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the rate of return on the net value (S501) Input the recommended parameter feature set into the financial product recommendation degree generation model, and generate the financial product recommendation degree of the financial product for the customer to be recommended (S502).

需要说明的是,一实施例中,参见图6,构建所述金融产品推荐度生成模型的步骤,包括:It should be noted that, in one embodiment, referring to FIG. 6 , the steps of constructing the financial product recommendation generation model include:

S601:根据各客户的金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率生成各客户对应的推荐参数历史特征集;比如整合产品的净值数据(记为N)、净值收益率数据(记为R)、购买成本数据(记为 C),同时整合客户的持有该产品的同时是否持有其他投资产品数据(记为Q)、产品组合调整(记为T)等数据,形成建模数据特征集(记为X),那么X={N,R, C,Q,T};S601: Generate the historical feature set of recommended parameters corresponding to each customer according to the historical purchase information of financial products of each customer, the financial product rate in the financial product information, the net value and the net value rate of return; for example, integrate the net value data of the product (record is N), net value yield data (denoted as R), purchase cost data (denoted as C), and at the same time integrate the customer’s data on whether to hold other investment products while holding the product (denoted as Q), product mix adjustment (denoted as be recorded as T) and other data to form a modeling data feature set (recorded as X), then X={N, R, C, Q, T};

S602:根据各客户针对该金融产品的购买结果对各推荐参数历史特征集进行正负样本标记;比如根据客户是否持有该产品标识出正负样本;即客户历史上持有该产品则将该客户标识为1,否则标识为0,作为正负样本标签,记为Y;S602: According to the purchase results of each customer for the financial product, mark the positive and negative samples of each recommended parameter historical feature set; for example, identify the positive and negative samples according to whether the customer holds the product; The customer is identified as 1, otherwise it is identified as 0, as the positive and negative sample labels, recorded as Y;

S603:将所述正负样本标记结果及所述推荐参数历史特征集输入分布式梯度提升模型进行训练,得到所述金融产品推荐度生成模型。比如按照经典的机器学习模型(比如XGBoost、逻辑回归等)的建模流程进行建模训练;比如先进行模型数据(X,Y)预处理,再建立模型和进行模型训练,如图19及图20所示。S603: Input the positive and negative sample marking results and the recommended parameter historical feature set into a distributed gradient boosting model for training to obtain the financial product recommendation generation model. For example, modeling training is performed according to the modeling process of classic machine learning models (such as XGBoost, logistic regression, etc.); for example, model data (X, Y) is preprocessed first, and then the model is established and model training is performed, as shown in Figure 19 and Figure 19. 20 shown.

然后将训练好的模型对未持有该产品的客户进行预测,得到产品的推荐潜力 (即模型预测的推荐概率),再结合营销人员经验判断是否需要给客户推荐该产品。Then, the trained model is used to predict customers who do not own the product to obtain the recommendation potential of the product (that is, the recommendation probability predicted by the model), and then combine the experience of marketers to judge whether it is necessary to recommend the product to customers.

从上述描述可知,本申请提供的金融产品推荐话术生成方法,能够将所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率输入所述金融产品推荐度生成模型,生成所述金融产品针对该待推荐客户的金融产品推荐度。It can be seen from the above description that the financial product recommendation speech generation method provided by this application can input the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the rate of return on the net value into the financial product The product recommendation degree generation model generates the financial product recommendation degree of the financial product for the customer to be recommended.

S103:将所述金融产品信息及所述金融产品推荐度写入预先构建的标准话术模板,得到对应的金融产品推荐话术。S103: Write the financial product information and the financial product recommendation degree into a pre-built standard speech template to obtain a corresponding financial product recommendation speech.

具体地,一实施例中,参见图7,所述金融产品推荐话术生成方法,还包括:Specifically, in one embodiment, referring to FIG. 7 , the method for generating financial product recommendation words further includes:

S701:采集金融产品客户经理使用所述金融产品推荐话术向所述待推荐客户推荐对应的金融产品时的音频数据,并生成对应的音频转换文本;S701: Collect audio data when the financial product account manager recommends the corresponding financial product to the customer to be recommended using the financial product recommendation speech technique, and generate corresponding audio conversion text;

S702:比对所述音频转换文本与所述金融产品推荐话术,并基于比对结果进行预警处理。S702: Compare the audio conversion text with the financial product recommendation speech, and perform early warning processing based on the comparison result.

进一步地,参见图8,步骤S702,包括:将所述音频转换文本输入BERT模型进行语义解析,得到对应的第一分句标签(S801);将所述金融产品推荐话术输入所述BERT模型进行语义解析,得到对应的第二分句标签(S802);比对所述第一分句标签与所述第二分句标签,若不一致,进行预警(S803)。Further, referring to FIG. 8, step S702 includes: inputting the audio conversion text into the BERT model for semantic analysis to obtain the corresponding first sentence label (S801); inputting the financial product recommendation speech into the BERT model Perform semantic analysis to obtain the corresponding second clause label (S802); compare the first clause label and the second clause label, and give an early warning if they are inconsistent (S803).

可以理解的是,参见图18,上述步骤S701至步骤S702具体可执行为:It can be understood that, referring to FIG. 18 , the above steps S701 to S702 can be specifically executed as follows:

步骤1:设定标准话术模板。Step 1: Set a standard speech template.

步骤2:金融产品客户经理在网页前端输入金融产品代码;Step 2: The financial product account manager enters the financial product code on the front end of the webpage;

步骤3:后台根据金融产品代码生成参数list,例如 {“pdid”:xxxxx,“jjlx”:xxxxx,“jjzc”:xxxxx,………………},读取list中相对应的value 值,与标准话术模板相结合,形成金融产品推荐话术,传至前端页面,提供给金融产品客户经理;Step 3: The background generates a parameter list according to the financial product code, for example {"pdid":xxxxx,"jjlx":xxxxx,"jjzc":xxxxx,……………}, read the corresponding value in the list, Combined with the standard speech template, a financial product recommendation speech is formed, which is transmitted to the front-end page and provided to the financial product account manager;

步骤4:金融产品客户经理按照金融产品推荐话术朗读,前端通过高拍仪收录声音,利用ASR技术将获取的语音转化为结构化数据;同时也对金融产品推荐话术进行结构化处理。Step 4: The financial product account manager reads aloud according to the words recommended by the financial products. The front-end collects the voice through the high-speed camera, and uses ASR technology to convert the acquired voice into structured data; at the same time, it also performs structured processing on the words recommended by the financial products.

步骤5:对步骤4中的金融产品客户经理朗读的话术对应的结构化数据与金融产品推荐话术对应的结构化数据分别进行建立BERT文本模型,并分别采用短句子滑动窗口按不同语义进行切分,分别标注分句标签。Step 5: Build the BERT text model for the structured data corresponding to the words spoken by the financial product account manager in step 4 and the structured data corresponding to the words recommended by the financial product, and use short sentence sliding windows to cut them according to different semantics points, label the clause labels respectively.

从而,在标签级,可以比对音频转换文本与金融产品推荐话术是否一致,若不一致,可以发出预警信息。Therefore, at the tag level, it is possible to compare whether the audio conversion text is consistent with the words recommended by financial products, and if not, an early warning message can be issued.

最后,举例而言,金融产品推荐话术可以为:Finally, for example, the language of financial product recommendation can be:

“您即将购买的是一款××××基金,管理人为××××基金公司,产品代码为××××,发行方式为公募发行。该产品净值数据为××××,净值收益率是××××,经分析,该产品将保持稳定增长趋势,与您的投资倾向匹配度为××××,所以我们推荐您购买该产品。上述情况您是否知晓并认可?”"What you are about to buy is a ×××× fund, the manager is ×××× fund company, the product code is ××××, and the issuance method is public offering. The net value data of this product is ××××, and the net value return It is ××××, after analysis, this product will maintain a steady growth trend, and the matching degree with your investment tendency is ××××, so we recommend you to buy this product. Do you know and agree with the above situation?"

从上述描述可知,本申请提供的金融产品推荐话术生成方法,能够基于颜色标签获取金融产品说明文本中的金融产品信息,并基于该金融产品信息生成金融产品的推荐话术;将基于颜色标签的金融产品信息提取方法与金融产品推荐度生成模型相结合,能够对金融产品说明文本进行解析,并为金融产品客户经理提供金融产品推荐话术,甚至还能针对金融产品客户经理运用金融产品推荐话术向客户进行金融产品推荐时可能出现的口误提出预警;从而引导客户适应和接受金融产品的净值化转型,合理评估自身风险的承受能力,提升客户投资体验。It can be seen from the above description that the financial product recommendation speech generation method provided by this application can obtain the financial product information in the financial product description text based on the color label, and generate the financial product recommendation speech based on the financial product information; Combining the financial product information extraction method with the financial product recommendation generation model, it can analyze the financial product description text, provide financial product recommendation words for financial product account managers, and even use financial product recommendation for financial product account managers Huashu gives early warning to customers of slips of the tongue that may occur when recommending financial products; thereby guiding customers to adapt and accept the transformation of financial products to net value, reasonably assess their own risk tolerance, and improve customer investment experience.

基于同一发明构思,本申请实施例还提供了一种金融产品推荐话术生成装置,可以用于实现上述实施例所描述的方法,如下面的实施例所述。由于金融产品推荐话术生成装置解决问题的原理与金融产品推荐话术生成方法相似,因此金融产品推荐话术生成装置的实施可以参见基于软件性能基准确定方法的实施,重复之处不再赘述。以下所使用的,术语“单元”或者“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的系统较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。Based on the same inventive concept, the embodiment of the present application also provides an apparatus for generating financial product recommendation words, which can be used to implement the methods described in the above embodiments, as described in the following embodiments. Since the problem-solving principle of the financial product recommendation speech generation device is similar to the financial product recommendation speech generation method, the implementation of the financial product recommendation speech generation device can refer to the implementation of the software performance benchmark determination method, and the repetition will not be repeated. As used below, the term "unit" or "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the systems described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

一实施例中,参见图9,为了能够基于颜色标签获取金融产品说明文本中的金融产品信息,并基于该金融产品信息生成金融产品的推荐话术,本申请提供一种金融产品推荐话术生成装置,包括:金融产品信息生成单元901、推荐度计算单元 902及推荐话术单元903。In one embodiment, referring to FIG. 9 , in order to obtain the financial product information in the financial product description text based on the color label, and generate a financial product recommendation speech based on the financial product information, this application provides a financial product recommendation speech generation The device includes: a financial product information generation unit 901 , a recommendation degree calculation unit 902 and a recommended speaking unit 903 .

金融产品信息生成单元901,用于根据待解析的金融产品说明文本对应的规则元数据集解析所述待解析的金融产品说明文本,得到对应的金融产品信息;Financial product information generation unit 901, configured to analyze the financial product description text to be analyzed according to the rule metadata set corresponding to the financial product description text to be analyzed, and obtain corresponding financial product information;

推荐度计算单元902,用于根据所述金融产品信息、预先构建的金融产品推荐度生成模型及待推荐客户的金融产品历史购买信息确定对应的金融产品推荐度;The recommendation degree calculation unit 902 is configured to determine the corresponding financial product recommendation degree according to the financial product information, the pre-built financial product recommendation degree generation model and the financial product historical purchase information of the customer to be recommended;

推荐话术单元903,用于将所述金融产品信息及所述金融产品推荐度写入预先构建的标准话术模板,得到对应的金融产品推荐话术。The recommendation speech unit 903 is configured to write the financial product information and the financial product recommendation degree into a pre-built standard speech template to obtain the corresponding financial product recommendation speech.

一实施例中,参见图10,所述金融产品信息生成单元901,包括:目标元数据集生成模块1001、颜色标签生成模块1002及产品信息提取模块1003。In one embodiment, referring to FIG. 10 , the financial product information generation unit 901 includes: a target metadata set generation module 1001 , a color label generation module 1002 and a product information extraction module 1003 .

目标元数据集生成模块1001,用于利用应用程序接口读取所述待解析的金融产品说明文本中的全量数据,得到对应的目标元数据集;The target metadata set generation module 1001 is used to read the full amount of data in the description text of the financial product to be analyzed by using the API to obtain the corresponding target metadata set;

颜色标签生成模块1002,用于根据预设的解析关键词对所述待解析的金融产品说明文本进行颜色标注,得到含颜色标签的金融产品说明文本;A color label generation module 1002, configured to color-label the explanatory text of the financial product to be analyzed according to the preset analysis keywords, to obtain the explanatory text of the financial product containing the color label;

产品信息提取模块1003,用于按照所述规则元数据集中的规则遍历所述目标元数据集,并读取所述规则所规定的金融产品信息;其中,所述规则基于所述颜色标签设置。The product information extraction module 1003 is configured to traverse the target metadata set according to the rules in the rule metadata set, and read the financial product information specified by the rules; wherein, the rules are set based on the color labels.

一实施例中,参见图11,所述推荐度计算单元902,包括:净值参数计算模块1101及推荐度计算模块1102。In one embodiment, referring to FIG. 11 , the recommendation calculation unit 902 includes: a net worth parameter calculation module 1101 and a recommendation calculation module 1102 .

净值参数计算模块1101,用于根据所述金融产品信息计算所述金融产品的预期净值及预期净值收益率;A net value parameter calculation module 1101, configured to calculate the expected net value and expected net value yield of the financial product according to the financial product information;

推荐度计算模块1102,用于将所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率输入所述金融产品推荐度生成模型,生成所述金融产品针对该待推荐客户的金融产品推荐度。The recommendation degree calculation module 1102 is configured to input the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the rate of return on the net value into the financial product recommendation generation model to generate the financial product The financial product recommendation degree of the product for the customer to be recommended.

一实施例中,参见图12,所述净值参数计算模块1101,包括:历史净值序列生成模块1201、历史净值收益率序列生成模块1202及净值参数预期模块1203。In one embodiment, referring to FIG. 12 , the equity parameter calculation module 1101 includes: a historical equity sequence generation module 1201 , a historical equity return sequence generation module 1202 and an equity parameter expectation module 1203 .

历史净值序列生成模块1201,用于从所述金融产品信息中获取所述金融产品的历史净值序列;A historical net value sequence generation module 1201, configured to obtain the historical net value sequence of the financial product from the financial product information;

历史净值收益率序列生成模块1202,用于根据所述历史净值序列计算对应的历史净值收益率序列;A historical equity yield sequence generating module 1202, configured to calculate a corresponding historical equity yield sequence according to the historical equity sequence;

净值参数预期模块1203,用于利用时间序列分析算法拟合所述历史净值序列及所述历史净值收益率序列,得到所述预期净值及预期净值收益率。The net worth parameter prediction module 1203 is used to use time series analysis algorithm to fit the historical net worth sequence and the historical net worth rate of return sequence to obtain the expected net worth and expected net worth rate of return.

一实施例中,参见图13,所述推荐度计算模块1102,包括:参数特征集生成子模块1301及推荐度计算子模块1302。In one embodiment, referring to FIG. 13 , the recommendation degree calculation module 1102 includes: a parameter feature set generation submodule 1301 and a recommendation degree calculation submodule 1302 .

参数特征集生成子模块1301,用于根据所述金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率生成对应的推荐参数特征集;The parameter feature set generation submodule 1301 is used to generate a corresponding recommended parameter feature set according to the historical purchase information of the financial product, the financial product rate in the financial product information, the net value and the rate of return on the net value;

推荐度计算子模块1302,用于将所述推荐参数特征集输入所述金融产品推荐度生成模型,生成所述金融产品针对所述待推荐客户的金融产品推荐度。The recommendation degree calculation sub-module 1302 is configured to input the recommendation parameter feature set into the financial product recommendation degree generation model, and generate the financial product recommendation degree of the financial product for the customer to be recommended.

一实施例中,参见图14,所述金融产品推荐话术生成装置,还包括:参数历史特征集生成单元1401、样本标记单元1402及模型训练单元1403。In one embodiment, referring to FIG. 14 , the device for generating words for financial product recommendation further includes: a parameter history feature set generation unit 1401 , a sample labeling unit 1402 and a model training unit 1403 .

参数历史特征集生成单元1401,用于根据各客户的金融产品历史购买信息、所述金融产品信息中的金融产品费率、所述净值及净值收益率生成各客户对应的推荐参数历史特征集;The parameter historical feature set generating unit 1401 is used to generate the recommended parameter historical feature set corresponding to each customer according to the historical purchase information of financial products of each customer, the financial product rate in the financial product information, the net value and the net value yield;

样本标记单元1402,用于根据各客户针对该金融产品的购买结果对各推荐参数历史特征集进行正负样本标记;A sample marking unit 1402, configured to mark positive and negative samples of each recommended parameter historical feature set according to the purchase result of each customer for the financial product;

模型训练单元1403,用于将所述正负样本标记结果及所述推荐参数历史特征集输入分布式梯度提升模型进行训练,得到所述金融产品推荐度生成模型。The model training unit 1403 is configured to input the positive and negative sample marking results and the recommended parameter historical feature set into a distributed gradient boosting model for training to obtain the financial product recommendation degree generation model.

一实施例中,参见图15,所述金融产品推荐话术生成装置,还包括:音频转换单元1501及比对预警单元1502。In one embodiment, referring to FIG. 15 , the device for generating words for financial product recommendation further includes: an audio conversion unit 1501 and a comparison and warning unit 1502 .

音频转换单元1501,用于采集金融产品客户经理使用所述金融产品推荐话术向所述待推荐客户推荐对应的金融产品时的音频数据,并生成对应的音频转换文本;The audio conversion unit 1501 is configured to collect audio data when the financial product account manager recommends the corresponding financial product to the customer to be recommended using the financial product recommendation speech technique, and generate corresponding audio conversion text;

比对预警单元1502,用于比对所述音频转换文本与所述金融产品推荐话术,并基于比对结果进行预警处理。The comparison and warning unit 1502 is configured to compare the audio conversion text with the financial product recommendation words, and perform warning processing based on the comparison result.

一实施例中,参见图16,所述比对预警单元1502,包括:第一分句打标模块 1601、第二分句打标模块1602及比对预警模块1603。In one embodiment, referring to FIG. 16 , the comparison and warning unit 1502 includes: a first sentence marking module 1601, a second sentence marking module 1602 and a comparison and warning module 1603.

第一分句打标模块1601,用于将所述音频转换文本输入BERT模型进行语义解析,得到对应的第一分句标签;The first sentence marking module 1601 is used to input the audio conversion text into the BERT model for semantic analysis to obtain the corresponding first sentence label;

第二分句打标模块1602,用于将所述金融产品推荐话术输入所述BERT模型进行语义解析,得到对应的第二分句标签;The second clause marking module 1602 is configured to input the financial product recommendation speech into the BERT model for semantic analysis to obtain the corresponding second clause label;

比对预警模块1603,用于比对所述第一分句标签与所述第二分句标签,若不一致,进行预警。The comparison and early warning module 1603 is configured to compare the first sentence tag with the second sentence tag, and if they are inconsistent, give a warning.

从硬件层面来说,为了能够基于颜色标签获取金融产品说明文本中的金融产品信息,并基于该金融产品信息生成金融产品的推荐话术,本申请提供一种用于实现所述金融产品推荐话术生成方法中的全部或部分内容的电子设备的实施例,所述电子设备具体包含有如下内容:From the perspective of hardware, in order to obtain the financial product information in the financial product description text based on the color label, and generate a financial product recommendation language based on the financial product information, this application provides a method for implementing the financial product recommendation language An embodiment of an electronic device with all or part of the content in the method for generating a technique, the electronic device specifically includes the following content:

处理器(Processor)、存储器(Memory)、通讯接口(Communications Interface)和总线;其中,所述处理器、存储器、通讯接口通过所述总线完成相互间的通讯;所述通讯接口用于实现所述金融产品推荐话术生成装置与核心业务系统、用户终端以及相关数据库等相关设备之间的信息传输;该逻辑控制器可以是台式计算机、平板电脑及移动终端等,本实施例不限于此。在本实施例中,该逻辑控制器可以参照实施例中的金融产品推荐话术生成方法的实施例,以及金融产品推荐话术生成装置的实施例进行实施,其内容被合并于此,重复之处不再赘述。A processor (Processor), a memory (Memory), a communication interface (Communications Interface) and a bus; wherein, the processor, the memory, and the communication interface complete mutual communication through the bus; the communication interface is used to realize the Information transmission between the financial product recommendation speech generating device and related equipment such as core business systems, user terminals, and related databases; the logic controller can be a desktop computer, tablet computer, and mobile terminal, and this embodiment is not limited thereto. In this embodiment, the logic controller can be implemented with reference to the embodiments of the method for generating financial product recommendation words and the embodiment of the device for generating financial product recommendation words in the embodiments, the contents of which are incorporated herein and repeated I won't repeat them here.

可以理解的是,所述用户终端可以包括智能手机、平板电子设备、网络机顶盒、便携式计算机、台式电脑、个人数字助理(PDA)、车载设备、智能穿戴设备等。其中,所述智能穿戴设备可以包括智能眼镜、智能手表、智能手环等。It can be understood that the user terminal may include smart phones, tablet electronic devices, network set-top boxes, portable computers, desktop computers, personal digital assistants (PDAs), vehicle-mounted devices, smart wearable devices, and the like. Wherein, the smart wearable device may include smart glasses, smart watches, smart bracelets and the like.

在实际应用中,金融产品推荐话术生成方法的部分可以在如上述内容所述的电子设备侧执行,也可以所有的操作都在所述客户端设备中完成。具体可以根据所述客户端设备的处理能力,以及用户使用场景的限制等进行选择。本申请对此不作限定。若所有的操作都在所述客户端设备中完成,所述客户端设备还可以包括处理器。In practical applications, part of the method for generating financial product recommendation words may be executed on the side of the electronic device as described above, or all operations may be completed in the client device. Specifically, the selection may be made according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This application is not limited to this. If all operations are completed in the client device, the client device may further include a processor.

上述的客户端设备可以具有通讯模块(即通讯单元),可以与远程的服务器进行通讯连接,实现与所述服务器的数据传输。所述服务器可以包括任务调度中心一侧的服务器,其他的实施场景中也可以包括中间平台的服务器,例如与任务调度中心服务器有通讯链接的第三方服务器平台的服务器。所述的服务器可以包括单台计算机设备,也可以包括多个服务器组成的服务器集群,或者分布式装置的服务器结构。The above-mentioned client device may have a communication module (that is, a communication unit), which can communicate with a remote server to realize data transmission with the server. The server may include a server on the side of the task scheduling center, and may also include a server of an intermediate platform in other implementation scenarios, such as a server of a third-party server platform that has a communication link with the server of the task scheduling center. The server may include a single computer device, or a server cluster composed of multiple servers, or a server structure of a distributed device.

图17为本申请实施例的电子设备9600的系统构成的示意框图。如图17所示,该电子设备9600可以包括中央处理器9100和存储器9140;存储器9140耦合到中央处理器9100。值得注意的是,该图17是示例性的;还可以使用其他类型的结构,来补充或代替该结构,以实现电信功能或其他功能。FIG. 17 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in FIG. 17 , the electronic device 9600 may include a central processing unit 9100 and a memory 9140 ; the memory 9140 is coupled to the central processing unit 9100 . It should be noted that this FIG. 17 is exemplary; other types of structures may also be used to supplement or replace this structure, so as to realize telecommunication functions or other functions.

一实施例中,金融产品推荐话术生成方法功能可以被集成到中央处理器9100 中。其中,中央处理器9100可以被配置为进行如下控制:In an embodiment, the function of the financial product recommendation speech generation method may be integrated into the central processing unit 9100 . Wherein, the central processing unit 9100 may be configured to perform the following control:

S101:根据待解析的金融产品说明文本对应的规则元数据集解析所述待解析的金融产品说明文本,得到对应的金融产品信息;S101: Analyze the financial product description text to be analyzed according to the rule metadata set corresponding to the financial product description text to be analyzed, and obtain corresponding financial product information;

S102:根据所述金融产品信息、预先构建的金融产品推荐度生成模型及待推荐客户的金融产品历史购买信息确定对应的金融产品推荐度;S102: Determine the corresponding financial product recommendation degree according to the financial product information, the pre-built financial product recommendation degree generation model, and the financial product historical purchase information of the customer to be recommended;

S103:将所述金融产品信息及所述金融产品推荐度写入预先构建的标准话术模板,得到对应的金融产品推荐话术。S103: Write the financial product information and the financial product recommendation degree into a pre-built standard speech template to obtain a corresponding financial product recommendation speech.

从上述描述可知,本申请提供的金融产品推荐话术生成方法,能够基于颜色标签获取金融产品说明文本中的金融产品信息,并基于该金融产品信息生成金融产品的推荐话术;将基于颜色标签的金融产品信息提取方法与金融产品推荐度生成模型相结合,能够对金融产品说明文本进行解析,并为金融产品客户经理提供金融产品推荐话术,甚至还能针对金融产品客户经理运用金融产品推荐话术向客户进行金融产品推荐时可能出现的口误提出预警;从而引导客户适应和接受金融产品的净值化转型,合理评估自身风险的承受能力,提升客户投资体验。It can be seen from the above description that the financial product recommendation speech generation method provided by this application can obtain the financial product information in the financial product description text based on the color label, and generate the financial product recommendation speech based on the financial product information; Combining the financial product information extraction method with the financial product recommendation generation model, it can analyze the financial product description text, provide financial product recommendation words for financial product account managers, and even use financial product recommendation for financial product account managers Huashu gives early warning to customers of slips of the tongue that may occur when recommending financial products; thereby guiding customers to adapt and accept the transformation of financial products to net value, reasonably assess their own risk tolerance, and improve customer investment experience.

在另一个实施方式中,金融产品推荐话术生成装置可以与中央处理器9100分开配置,例如可以将数据复合传输装置金融产品推荐话术生成装置配置为与中央处理器9100连接的芯片,通过中央处理器的控制来实现金融产品推荐话术生成方法的功能。In another embodiment, the financial product recommendation speech generation device may be configured separately from the central processing unit 9100, for example, the financial product recommendation speech generation device of the data composite transmission device may be configured as a chip connected to the central processing unit 9100, through the central processing unit 9100 The processor is controlled to realize the function of the financial product recommendation speech generation method.

如图17所示,该电子设备9600还可以包括:通讯模块9110、输入单元9120、音频处理器9130、显示器9160、电源9170。值得注意的是,电子设备9600也并不是必须要包括图17中所示的所有部件;此外,电子设备9600还可以包括图17 中没有示出的部件,可以参考现有技术。As shown in FIG. 17 , the electronic device 9600 may further include: a communication module 9110 , an input unit 9120 , an audio processor 9130 , a display 9160 , and a power supply 9170 . It should be noted that the electronic device 9600 does not necessarily include all the components shown in FIG. 17; in addition, the electronic device 9600 may also include components not shown in FIG. 17, and reference may be made to the prior art.

如图17所示,中央处理器9100有时也称为控制器或操作控件,可以包括微处理器或其他处理器装置和/或逻辑装置,该中央处理器9100接收输入并控制电子设备9600的各个部件的操作。As shown in FIG. 17 , the central processing unit 9100 is also sometimes referred to as a controller or operating control, and may include a microprocessor or other processor devices and/or logic devices. The central processing unit 9100 receives input and controls various components of the electronic device 9600. The operation of the component.

其中,存储器9140,例如可以是缓存器、闪存、硬驱、可移动介质、易失性存储器、非易失性存储器或其它合适装置中的一种或更多种。可储存上述与失败有关的信息,此外还可存储执行有关信息的程序。并且中央处理器9100可执行该存储器9140存储的该程序,以实现信息存储或处理等。Wherein, the memory 9140 may be, for example, one or more of a cache, a flash memory, a hard drive, a removable medium, a volatile memory, a non-volatile memory, or other suitable devices. The above-mentioned failure-related information may be stored, and a program for executing the related information may also be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing.

输入单元9120向中央处理器9100提供输入。该输入单元9120例如为按键或触摸输入装置。电源9170用于向电子设备9600提供电力。显示器9160用于进行图像和文字等显示对象的显示。该显示器例如可为LCD显示器,但并不限于此。The input unit 9120 provides input to the central processing unit 9100 . The input unit 9120 is, for example, a button or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600 . The display 9160 is used to display display objects such as images and characters. The display can be, for example, an LCD display, but is not limited thereto.

该存储器9140可以是固态存储器,例如,只读存储器(ROM)、随机存取存储器(RAM)、SIM卡等。还可以是这样的存储器,其即使在断电时也保存信息,可被选择性地擦除且设有更多数据,该存储器的示例有时被称为EPROM等。存储器9140还可以是某种其它类型的装置。存储器9140包括缓冲存储器9141(有时被称为缓冲器)。存储器9140可以包括应用/功能存储部9142,该应用/功能存储部9142用于存储应用程序和功能程序或用于通过中央处理器9100执行电子设备9600的操作的流程。The memory 9140 may be a solid state memory, for example, a read only memory (ROM), a random access memory (RAM), a SIM card, and the like. There can also be memory that retains information even when power is off, can be selectively erased and is provided with more data, an example of which is sometimes called EPROM or the like. Memory 9140 may also be some other type of device. The memory 9140 includes buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage part 9142 for storing application programs and function programs or procedures for executing operations of the electronic device 9600 through the central processing unit 9100 .

存储器9140还可以包括数据存储部9143,该数据存储部9143用于存储数据,例如联系人、数字数据、图片、声音和/或任何其他由电子设备使用的数据。存储器9140的驱动程序存储部9144可以包括电子设备的用于通讯功能和/或用于执行电子设备的其他功能(如消息传送应用、通讯录应用等)的各种驱动程序。The memory 9140 may also include a data storage unit 9143 for storing data such as contacts, digital data, pictures, sounds and/or any other data used by the electronic device. The driver storage part 9144 of the memory 9140 may include various drivers of the electronic device for communication functions and/or for executing other functions of the electronic device (such as messaging applications, address book applications, etc.).

通讯模块9110即为经由天线9111发送和接收信号的发送机/接收机9110。通讯模块(发送机/接收机)9110耦合到中央处理器9100,以提供输入信号和接收输出信号,这可以和常规移动通讯终端的情况相同。The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111 . The communication module (transmitter/receiver) 9110 is coupled to the central processing unit 9100 to provide input signals and receive output signals, which can be the same as that of a conventional mobile communication terminal.

基于不同的通讯技术,在同一电子设备中,可以设置有多个通讯模块9110,如蜂窝网络模块、蓝牙模块和/或无线局域网模块等。通讯模块(发送机/接收机) 9110还经由音频处理器9130耦合到扬声器9131和麦克风9132,以经由扬声器9131 提供音频输出,并接收来自麦克风9132的音频输入,从而实现通常的电信功能。音频处理器9130可以包括任何合适的缓冲器、解码器、放大器等。另外,音频处理器9130还耦合到中央处理器9100,从而使得可以通过麦克风9132能够在本机上录音,且使得可以通过扬声器9131来播放本机上存储的声音。Based on different communication technologies, multiple communication modules 9110, such as a cellular network module, a Bluetooth module and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing common telecommunication functions. Audio processor 9130 may include any suitable buffers, decoders, amplifiers, etc. In addition, the audio processor 9130 is also coupled to the central processing unit 9100, so that the microphone 9132 can be used to record on the machine, and the speaker 9131 can be used to play the sound stored on the machine.

本申请的实施例还提供能够实现上述实施例中的执行主体为服务器或客户端的金融产品推荐话术生成方法中全部步骤的一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述实施例中的执行主体为服务器或客户端的金融产品推荐话术生成方法的全部步骤,例如,所述处理器执行所述计算机程序时实现下述步骤:The embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps in the method for generating financial product recommendation words in the above-mentioned embodiments in which the executive body is the server or the client, and the computer-readable storage medium stores the A computer program, when the computer program is executed by a processor, implements all the steps of the method for generating financial product recommendation words in the above embodiments in which the execution subject is a server or a client, for example, when the processor executes the computer program, the following is implemented step:

S101:根据待解析的金融产品说明文本对应的规则元数据集解析所述待解析的金融产品说明文本,得到对应的金融产品信息;S101: Analyze the financial product description text to be analyzed according to the rule metadata set corresponding to the financial product description text to be analyzed, and obtain corresponding financial product information;

S102:根据所述金融产品信息、预先构建的金融产品推荐度生成模型及待推荐客户的金融产品历史购买信息确定对应的金融产品推荐度;S102: Determine the corresponding financial product recommendation degree according to the financial product information, the pre-built financial product recommendation degree generation model, and the financial product historical purchase information of the customer to be recommended;

S103:将所述金融产品信息及所述金融产品推荐度写入预先构建的标准话术模板,得到对应的金融产品推荐话术。S103: Write the financial product information and the financial product recommendation degree into a pre-built standard speech template to obtain a corresponding financial product recommendation speech.

从上述描述可知,本申请提供的金融产品推荐话术生成方法,能够基于颜色标签获取金融产品说明文本中的金融产品信息,并基于该金融产品信息生成金融产品的推荐话术;将基于颜色标签的金融产品信息提取方法与金融产品推荐度生成模型相结合,能够对金融产品说明文本进行解析,并为金融产品客户经理提供金融产品推荐话术,甚至还能针对金融产品客户经理运用金融产品推荐话术向客户进行金融产品推荐时可能出现的口误提出预警;从而引导客户适应和接受金融产品的净值化转型,合理评估自身风险的承受能力,提升客户投资体验。It can be seen from the above description that the financial product recommendation speech generation method provided by this application can obtain the financial product information in the financial product description text based on the color label, and generate the financial product recommendation speech based on the financial product information; Combining the financial product information extraction method with the financial product recommendation generation model, it can analyze the financial product description text, provide financial product recommendation words for financial product account managers, and even use financial product recommendation for financial product account managers Huashu gives early warning to customers of slips of the tongue that may occur when recommending financial products; thereby guiding customers to adapt and accept the transformation of financial products to net value, reasonably assess their own risk tolerance, and improve customer investment experience.

本领域内的技术人员应明白,本发明的实施例可提供为方法、装置、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, apparatuses, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本发明是参照根据本发明实施例的方法、设备(装置)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (apparatus), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

本发明中应用了具体实施例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。In the present invention, specific examples have been applied to explain the principles and implementation methods of the present invention. The description of the above examples is only used to help understand the method of the present invention and its core idea; meanwhile, for those of ordinary skill in the art, according to this The idea of the invention will have changes in the specific implementation and scope of application. To sum up, the contents of this specification should not be construed as limiting the present invention.

Claims (12)

1. A method for generating a financial product recommendation statement, comprising:
analyzing the financial product description text to be analyzed according to a rule metadata set corresponding to the financial product description text to be analyzed to obtain corresponding financial product information;
determining corresponding financial product recommendation degrees according to the financial product information, a pre-constructed financial product recommendation degree generation model and the historical financial product purchasing information of the customer to be recommended;
and writing the financial product information and the financial product recommendation degree into a pre-constructed standard conversational template to obtain a corresponding financial product recommendation conversational sentence.
2. The method according to claim 1, wherein the parsing the description text of the financial product to be parsed according to the rule metadata set corresponding to the description text of the financial product to be parsed to obtain the corresponding financial product information comprises:
reading the full data in the financial product description text to be analyzed by using an application program interface to obtain a corresponding target metadata set;
according to preset analysis keywords, carrying out color labeling on the financial product description text to be analyzed to obtain a financial product description text containing a color label;
traversing the target metadata set according to rules in the rule metadata set, and reading financial product information specified by the rules; wherein the rule is set based on the color label.
3. The method of claim 1, wherein the determining the recommendation level of the financial product according to the information of the financial product, a pre-established model for generating the recommendation level of the financial product, and historical purchase information of the financial product of the customer to be recommended comprises:
calculating an expected net worth and an expected net worth rate of return of the financial product according to the financial product information;
inputting the historical purchase information of the financial products, the financial product rate in the financial product information, the net value and the net value rate of return into the financial product recommendation degree generation model, and generating the financial product recommendation degree of the financial products for the customer to be recommended.
4. The method of claim 3, wherein the calculating the expected net worth and expected net worth profitability of the financial product based on the financial product information comprises:
obtaining a historical net worth sequence of the financial product from the financial product information;
calculating a corresponding historical net worth rate of return sequence according to the historical net worth sequence;
and fitting the historical net worth sequence and the historical net worth rate of return sequence by using a time sequence analysis algorithm to obtain the expected net worth and the expected net worth rate of return.
5. The method of claim 3, wherein the step of inputting the historical purchase information of financial products, the rates of financial products in the financial product information, the net worth and the net worth rate of return into the model for generating recommendations for financial products of the financial products for the customer to be recommended comprises:
generating a corresponding recommendation parameter characteristic set according to the historical financial product purchase information, the financial product rate in the financial product information, the net value and the net value earning rate;
and inputting the recommendation parameter feature set into the financial product recommendation degree generation model to generate the financial product recommendation degree of the financial product for the customer to be recommended.
6. The method of claim 3, wherein the step of constructing the model for generating a recommendation level of a financial product comprises:
generating a recommendation parameter historical characteristic set corresponding to each customer according to historical financial product purchase information of each customer, financial product rates in the financial product information, net worth and net worth rate of return;
carrying out positive and negative sample marking on each recommended parameter historical characteristic set according to the purchase result of each customer for the financial product;
and inputting the positive and negative sample marking results and the recommendation parameter historical characteristic set into a distributed gradient lifting model for training to obtain the financial product recommendation degree generation model.
7. The financial product recommendation statement generating method according to claim 1, further comprising:
collecting audio data when a financial product customer manager uses the financial product recommendation dialect to recommend a corresponding financial product to the customer to be recommended, and generating a corresponding audio conversion text;
and comparing the audio conversion text with the financial product recommendation language, and performing early warning processing based on a comparison result.
8. The method of claim 7, wherein the comparing the audio conversion text with the financial product recommendation language and performing an early warning process based on the comparison result comprises:
inputting the audio conversion text into a BERT model for semantic analysis to obtain a corresponding first clause label;
inputting the financial product recommended dialect into the BERT model for semantic analysis to obtain a corresponding second sentence division label;
and comparing the first sentence dividing label with the second sentence dividing label, and if the first sentence dividing label is inconsistent with the second sentence dividing label, carrying out early warning.
9. A financial product recommendation utterance generation apparatus, comprising:
the financial product information generating unit is used for analyzing the financial product description text to be analyzed according to the rule metadata set corresponding to the financial product description text to be analyzed to obtain corresponding financial product information;
the recommendation degree calculation unit is used for determining the corresponding financial product recommendation degree according to the financial product information, a pre-constructed financial product recommendation degree generation model and the historical financial product purchase information of the customer to be recommended;
and the recommendation dialect unit is used for writing the financial product information and the financial product recommendation degree into a pre-constructed standard dialect template to obtain a corresponding financial product recommendation dialect.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of generating financial product recommendations of any one of claims 1 to 8 when executing the program.
11. A computer-readable storage medium having stored thereon a computer program, wherein the computer program, when executed by a processor, implements the steps of the financial product recommended dialogues generation method of any one of claims 1 to 8.
12. A computer program product comprising computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the steps of the financial product recommendation dialog generation method of any of claims 1 to 8.
CN202211196259.9A 2022-09-28 2022-09-28 A method and device for generating financial product recommendation scripts Active CN115587869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211196259.9A CN115587869B (en) 2022-09-28 2022-09-28 A method and device for generating financial product recommendation scripts

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211196259.9A CN115587869B (en) 2022-09-28 2022-09-28 A method and device for generating financial product recommendation scripts

Publications (2)

Publication Number Publication Date
CN115587869A true CN115587869A (en) 2023-01-10
CN115587869B CN115587869B (en) 2025-09-26

Family

ID=84773125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211196259.9A Active CN115587869B (en) 2022-09-28 2022-09-28 A method and device for generating financial product recommendation scripts

Country Status (1)

Country Link
CN (1) CN115587869B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6083007A (en) * 1998-04-02 2000-07-04 Hewlett-Packard Company Apparatus and method for configuring training for a product and the product
CN108877146A (en) * 2018-09-03 2018-11-23 深圳市尼欧科技有限公司 It is a kind of that safety automatic-alarming devices and methods therefor is driven based on multiplying for intelligent sound identification
CN110827112A (en) * 2019-09-16 2020-02-21 中国平安人寿保险股份有限公司 Deep learning commodity recommendation method and device, computer equipment and storage medium
CN112651569A (en) * 2020-12-31 2021-04-13 中国平安财产保险股份有限公司 Product recommendation method, device and equipment based on state nodes and storage medium
CN112883275A (en) * 2021-03-17 2021-06-01 北京乐我无限科技有限责任公司 Live broadcast room recommendation method, device, server and medium
CN113343116A (en) * 2021-07-06 2021-09-03 上海明略人工智能(集团)有限公司 Intelligent chat recommendation method, system, equipment and storage medium based on enterprise warehouse
CN114036905A (en) * 2021-10-29 2022-02-11 中国平安人寿保险股份有限公司 Artificial intelligence-based product recommendation conversation generation method, device and equipment
WO2022142006A1 (en) * 2020-12-30 2022-07-07 平安科技(深圳)有限公司 Semantic recognition-based verbal skill recommendation method and apparatus, device, and storage medium
CN114764736A (en) * 2022-04-14 2022-07-19 深圳微米信息服务有限公司 Financial product recommendation method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6083007A (en) * 1998-04-02 2000-07-04 Hewlett-Packard Company Apparatus and method for configuring training for a product and the product
CN108877146A (en) * 2018-09-03 2018-11-23 深圳市尼欧科技有限公司 It is a kind of that safety automatic-alarming devices and methods therefor is driven based on multiplying for intelligent sound identification
CN110827112A (en) * 2019-09-16 2020-02-21 中国平安人寿保险股份有限公司 Deep learning commodity recommendation method and device, computer equipment and storage medium
WO2022142006A1 (en) * 2020-12-30 2022-07-07 平安科技(深圳)有限公司 Semantic recognition-based verbal skill recommendation method and apparatus, device, and storage medium
CN112651569A (en) * 2020-12-31 2021-04-13 中国平安财产保险股份有限公司 Product recommendation method, device and equipment based on state nodes and storage medium
CN112883275A (en) * 2021-03-17 2021-06-01 北京乐我无限科技有限责任公司 Live broadcast room recommendation method, device, server and medium
CN113343116A (en) * 2021-07-06 2021-09-03 上海明略人工智能(集团)有限公司 Intelligent chat recommendation method, system, equipment and storage medium based on enterprise warehouse
CN114036905A (en) * 2021-10-29 2022-02-11 中国平安人寿保险股份有限公司 Artificial intelligence-based product recommendation conversation generation method, device and equipment
CN114764736A (en) * 2022-04-14 2022-07-19 深圳微米信息服务有限公司 Financial product recommendation method and device

Also Published As

Publication number Publication date
CN115587869B (en) 2025-09-26

Similar Documents

Publication Publication Date Title
US10489792B2 (en) Maintaining quality of customer support messages
US10770062B2 (en) Adjusting a ranking of information content of a software application based on feedback from a user
CN117609444B (en) Searching question-answering method based on large model
US10210867B1 (en) Adjusting user experience based on paralinguistic information
US20220366127A1 (en) Legal Document Generation
CN103995870A (en) Interactive searching method and device
CN117951547B (en) Bid and tendered data processing method and device based on artificial intelligence
CN113886553B (en) A text generation method, device, equipment and storage medium
CN117992601B (en) Document generation method and device based on artificial intelligence
CN113342948A (en) Intelligent question and answer method and device
CN119336887A (en) Financial knowledge question answering method and system, and storage medium
US20250272604A1 (en) Machine learning model based architecture for query services
CN111798118B (en) Enterprise operation risk monitoring method and device
CN118608295B (en) Product name identification method, device, electronic equipment and medium
CN115587869A (en) A financial product recommendation speech generation method and device
CN119149761A (en) Material file tag processing method and device
CN113535125B (en) Financial demand item generation method and device
CN117453273A (en) Intelligent program code complement method and device
CN115455295A (en) Financial product information pushing method and device
US20250335713A1 (en) System and method for generating dynamic conversational ai experiences using large language models and decisioning systems
JP7592348B1 (en) Real-time interview advice providing system, method and program for providing real-time interview advice
CN114791949B (en) Method and device for identifying dialogue system theme by combining context information
US20250299667A1 (en) System and method for data visualization on spatial computing device based on cascading machine learning approach
CN120687539A (en) Intent labeling method, model training method, intent recognition method and electronic device
CN120851023A (en) Artificial intelligence-based intention recognition method, apparatus, computer device and medium

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