WO2022088805A1 - Artificial intelligence-based online credit method and apparatus, computer device, and medium - Google Patents

Artificial intelligence-based online credit method and apparatus, computer device, and medium Download PDF

Info

Publication number
WO2022088805A1
WO2022088805A1 PCT/CN2021/109394 CN2021109394W WO2022088805A1 WO 2022088805 A1 WO2022088805 A1 WO 2022088805A1 CN 2021109394 W CN2021109394 W CN 2021109394W WO 2022088805 A1 WO2022088805 A1 WO 2022088805A1
Authority
WO
WIPO (PCT)
Prior art keywords
double
credit
willingness
requester
recording
Prior art date
Application number
PCT/CN2021/109394
Other languages
French (fr)
Chinese (zh)
Inventor
刘微微
赵之砚
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2022088805A1 publication Critical patent/WO2022088805A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/03Credit; Loans; Processing thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/40Scenes; Scene-specific elements in video content
    • G06V20/41Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L17/00Speaker identification or verification
    • G10L17/22Interactive procedures; Man-machine interfaces
    • G10L17/24Interactive procedures; Man-machine interfaces the user being prompted to utter a password or a predefined phrase
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures

Abstract

The present application relates to the technical field of artificial intelligence, and provides an artificial intelligence-based online credit method and apparatus, a computer device, and a medium. The method comprises: obtaining a dual-recording video of a preset text read by a credit requester; determining, according to the preset text, the dual-recording video, and a document image of the credit requester, whether the reading is successful; upon determining that the reading is successful, using a willingness recognition model to recognize a willingness type of the credit requester on the basis of the dual-recording video; when the willingness type is a target willingness type, receiving a digital password inputted by the credit requester; generating a first public key according to the digital password, and generating a digital signature according to the first public key and the document image; and generating a credit contract according to the digital signature. The present application can improve the efficiency of credit application.

Description

基于人工智能的线上信贷方法、装置、计算机设备及介质Artificial intelligence-based online credit method, device, computer equipment and medium
本申请要求于2020年10月30日提交中国专利局、申请号为202011198141.0,发明名称为“基于人工智能的线上信贷方法、装置、计算机设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on October 30, 2020 with the application number 202011198141.0 and the invention titled "Artificial Intelligence-based Online Credit Method, Device, Computer Equipment and Medium", all of which are The contents are incorporated herein by reference.
技术领域technical field
本申请涉及人工智能技术领域,具体涉及一种基于人工智能的线上信贷方法、装置、计算机设备及介质。The present application relates to the field of artificial intelligence technology, and in particular to an artificial intelligence-based online credit method, device, computer equipment and medium.
背景技术Background technique
传统银行信贷业务在线下进行,并基于线下网点的面签模式,导致银行信贷业务的业务范围十分有限,无法大规模、批量的对广大互联网用户授信。The traditional bank credit business is carried out offline and based on the face-to-face signing model of offline outlets, resulting in a very limited business scope of bank credit business, which cannot grant credit to the vast number of Internet users on a large scale and in batches.
虽然随着网络技术的发展逐渐渗透到人们的日常消费生活,越来越多的网络商务活动选择线上进行,避免了传统纸质合同签署、交换、保存的麻烦,但基于互联网的信贷业务的电子合同仍需用户手写电子签名。发明人意识到,手写电子签名一方面容易存在模仿造假的可能,导致信贷业务电子合同的安全性得不到保障,另一方面手写电子签名并不方便,导致信贷业务电子合同的签核效率较低。Although with the development of network technology gradually penetrated into people's daily consumption life, more and more online business activities choose to conduct online, avoiding the trouble of signing, exchanging and saving traditional paper contracts, but the Internet-based credit business Electronic contracts still require the user's handwritten electronic signature. The inventor realized that, on the one hand, handwritten electronic signatures are prone to imitation and forgery, which leads to the inability to guarantee the security of credit business electronic contracts. Low.
发明内容SUMMARY OF THE INVENTION
鉴于以上内容,有必要提出一种基于人工智能的线上信贷方法、装置、计算机设备及介质,能够提高信贷申请的效率。In view of the above, it is necessary to propose an online credit method, device, computer equipment and medium based on artificial intelligence, which can improve the efficiency of credit application.
本申请的第一方面提供一种基于人工智能的线上信贷方法,所述方法包括:A first aspect of the present application provides an artificial intelligence-based online credit method, the method comprising:
获取信贷请求者阅读预设文本的双录视频;Obtain a double-recorded video of a credit requester reading preset text;
根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读;Determine whether the reading is passed according to the preset text, the double-recorded video and the credit requester's certificate image;
当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型;using a willingness recognition model to identify the type of willingness of the credit requester based on the double-recorded video when a pass reading is determined;
当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码;When the willingness type is the target willingness type, receive the digital password input by the credit requester;
根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名;generating a first public key according to the digital password, and generating a digital signature according to the first public key and the certificate image;
根据所述数字签名生成信贷合同。A credit contract is generated based on the digital signature.
本申请的第二方面提供一种基于人工智能的线上信贷装置,所述装置包括:A second aspect of the present application provides an artificial intelligence-based online credit device, the device comprising:
获取模块,用于获取信贷请求者阅读预设文本的双录视频;An acquisition module for acquiring a double-recorded video of a credit requester reading a preset text;
判断模块,用于根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读;a judging module for judging whether the reading is passed according to the preset text, the double-recorded video and the credit requester's certificate image;
识别模块,用于当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型;an identification module for identifying the credit requester's willingness type based on the double-recorded video using a willingness recognition model when it is determined to pass the reading;
接收模块,用于当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码;a receiving module, configured to receive the digital password input by the credit requester when the willingness type is the target willingness type;
签名模块,用于根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名;a signature module, configured to generate a first public key according to the digital password, and generate a digital signature according to the first public key and the certificate image;
生成模块,用于根据所述数字签名生成信贷合同。A generating module for generating a credit contract according to the digital signature.
本申请的第三方面提供一种计算机设备,所述计算机设备包括处理器,所述处理器用于执行存储器中存储的计算机可读指令时实现以下步骤:A third aspect of the present application provides a computer device, the computer device includes a processor, and the processor is configured to implement the following steps when executing computer-readable instructions stored in a memory:
获取信贷请求者阅读预设文本的双录视频;Obtain a double-recorded video of a credit requester reading preset text;
根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读;Determine whether the reading is passed according to the preset text, the double-recorded video and the credit requester's certificate image;
当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类 型;using a willingness recognition model to identify the type of willingness of the credit requester based on the double-recorded video when a pass reading is determined;
当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码;When the willingness type is the target willingness type, receive the digital password input by the credit requester;
根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名;generating a first public key according to the digital password, and generating a digital signature according to the first public key and the certificate image;
根据所述数字签名生成信贷合同。A credit contract is generated based on the digital signature.
本申请的第四方面提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现以下步骤:A fourth aspect of the present application provides a computer-readable storage medium, where computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor, the following steps are implemented:
获取信贷请求者阅读预设文本的双录视频;Obtain a double-recorded video of a credit requester reading preset text;
根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读;Determine whether the reading is passed according to the preset text, the double-recorded video and the credit requester's certificate image;
当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型;using a willingness recognition model to identify the type of willingness of the credit requester based on the double-recorded video when a pass reading is determined;
当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码;When the willingness type is the target willingness type, receive the digital password input by the credit requester;
根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名;generating a first public key according to the digital password, and generating a digital signature according to the first public key and the certificate image;
根据所述数字签名生成信贷合同。A credit contract is generated based on the digital signature.
综上所述,本申请所述的基于人工智能的线上信贷方法、装置、计算机设备及介质,可应用在智慧政务等需要对海量数据进行加密处理的领域,从而推动智慧城市的发展。在获取到信贷请求者阅读预设文本的双录视频时,根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断信贷请求者是否通过阅读;当确定信贷请求者通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型,仅当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码,接着根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名,最后根据所述数字签名生成信贷合同。本申请能够根据信贷请求者的双录视频生成信贷合同,提高了信贷申请的效率,且基于双录视频,能够避免信贷申请数据造假,保障了信贷合同的安全。To sum up, the artificial intelligence-based online credit method, device, computer equipment and medium described in this application can be applied in areas such as smart government affairs that require encryption of massive data, thereby promoting the development of smart cities. When the double-recorded video of the credit requester reading the preset text is obtained, it is determined whether the credit requester has passed the reading according to the preset text, the double-recorded video and the image of the credit requester's certificate; Through reading, the willingness recognition model is used to identify the willingness type of the credit requester based on the double-recorded video, and only when the willingness type is the target willingness type, the digital password input by the credit requester is received, and then according to the The digital password generates a first public key, and a digital signature is generated according to the first public key and the certificate image, and finally a credit contract is generated according to the digital signature. This application can generate a credit contract based on the double-recorded video of the credit requester, which improves the efficiency of credit application, and based on the double-recorded video, it can avoid credit application data fraud and ensure the security of the credit contract.
附图说明Description of drawings
图1是本申请实施例一提供的基于人工智能的线上信贷方法的流程图。FIG. 1 is a flowchart of an artificial intelligence-based online credit method provided in Embodiment 1 of the present application.
图2是本申请实施例二提供的基于人工智能的线上信贷装置的结构图。FIG. 2 is a structural diagram of an artificial intelligence-based online credit device provided in Embodiment 2 of the present application.
图3是本申请实施例三提供的计算机设备的结构示意图。FIG. 3 is a schematic structural diagram of a computer device provided in Embodiment 3 of the present application.
具体实施方式Detailed ways
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施例对本申请进行详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present application, the present application will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments may be combined with each other in the case of no conflict.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are for the purpose of describing specific embodiments only, and are not intended to limit the application.
本申请实施例提供的基于人工智能的线上信贷方法由计算机设备执行,相应地,基于人工智能的线上信贷装置运行于计算机设备中。The artificial intelligence-based online credit method provided by the embodiments of the present application is executed by computer equipment, and correspondingly, the artificial intelligence-based online credit device runs in the computer equipment.
图1是本申请实施例一提供的基于人工智能的线上信贷方法的流程图。所述基于人工智能的线上信贷方法具体包括以下步骤,根据不同的需求,该流程图中步骤的顺序可以改变,某些可以省略。FIG. 1 is a flowchart of an artificial intelligence-based online credit method provided in Embodiment 1 of the present application. The artificial intelligence-based online credit method specifically includes the following steps. According to different requirements, the sequence of the steps in the flowchart can be changed, and some can be omitted.
S11,获取信贷请求者阅读预设文本的双录视频。S11, obtain a double-recorded video of the credit requester reading the preset text.
所述预设文本是指为了在线上信贷时达到客户知晓的义务,将业务风险、贷款须知等以文字的形式展示在信贷请求者的客户端上的文本。The preset text refers to the text that displays business risks, loan instructions, etc. on the client of the credit requester in the form of text in order to achieve the obligation of the customer to know when the online credit is performed.
所述信贷请求者的客户端上预先安装有专用于信贷服务的信贷应用程序,所述信贷请求者通过所述客户端上的所述信贷应用程序录制阅读所述预设文本的双录视频。具体而言,所述信贷请求者启动所述信贷应用程序上的录制功能,对照着所述预设文本进行阅读,所述信 贷应用程序通过所述录制功能录制双录视频。在双录视频录制完成后,通过所述客户端上传所述双录视频至信贷服务器。A credit application dedicated to credit service is pre-installed on the client of the credit requester, and the credit requester records a double-recorded video of reading the preset text through the credit application on the client. Specifically, the credit requester activates the recording function on the credit application, reads against the preset text, and the credit application records a double-recorded video through the recording function. After the double-recording video recording is completed, the double-recording video is uploaded to the credit server through the client.
本实施例中,通过获取信贷请求者阅读预设文本的双录视频,能够保证信贷请求者实际进行了阅读,从而实现对信贷请求者的告知义务,减少后续信贷的投诉风险。In this embodiment, by obtaining a double-recorded video of the credit requester reading the preset text, it can be ensured that the credit requester actually reads, thereby realizing the obligation of informing the credit requester and reducing the risk of subsequent credit complaints.
S12,根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读。S12: Determine whether the reading is passed according to the preset text, the double-recorded video, and the image of the credit requester's certificate.
所述信贷请求者在客户端上成功安装所述信贷应用程序,在首次登录时需要先进行身份信息注册。例如,通过所述信贷应用程序中的证件图像上传功能上传证件图像来完成身份信息的注册。所述证件图像可以是身份证图像,护照图像,驾驶证图像等。The credit requester successfully installs the credit application program on the client, and needs to perform identity information registration when logging in for the first time. For example, the registration of identity information is completed by uploading the certificate image through the certificate image upload function in the credit application. The certificate image may be an identity card image, a passport image, a driver's license image, and the like.
在一个可选的实施例中,所述根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读包括:In an optional embodiment, the determining whether to pass the reading according to the preset text, the double-recorded video and the certificate image of the credit requester includes:
提取所述双录视频中的音频及提取所述双录视频中的多个帧图像;Extracting audio in the double-recording video and extracting multiple frame images in the dual-recording video;
识别所述音频得到语音文本,并比对所述语音文本与所述预设文本,得到第一比对结果;Recognizing the audio to obtain voice text, and comparing the voice text and the preset text to obtain a first comparison result;
比对所述多个帧图像及所述证件图像,得到第二比对结果;Comparing the plurality of frame images and the certificate images to obtain a second comparison result;
根据所述第一比对结果及所述第二比对结果判断所述信贷请求者是否通过阅读。Whether the credit requester has passed the reading is determined according to the first comparison result and the second comparison result.
所述双录视频包括音频及帧图像序列,采用音频分离技术将音频从所述双录视频中分离出来,并使用语音识别技术识别所述音频得到语音文本。所述音频分离技术及所述语音识别技术可以为现有技术。计算机设备可以按照预先设置的固定的采集频率从所述帧图像序列中提取出多个帧图像。The double-recorded video includes audio and frame image sequences. Audio separation technology is used to separate the audio from the double-recorded video, and speech recognition technology is used to recognize the audio to obtain speech text. The audio separation technology and the speech recognition technology may be the prior art. The computer device may extract a plurality of frame images from the frame image sequence according to a preset fixed collection frequency.
由于信贷请求者存在方言的区别,因此计算机设备预先设置第一相似度阈值,以判断所述信贷请求者的音频比对是否通过。具体实施时,计算机设备在得到语音文本之后,计算所述语音文本与所述预设文本之间的第一相似度;比较所述第一相似度与预设第一相似度阈值;当所述第一相似度大于或者等于所述预设第一相似度阈值时,得到音频比对通过的第一比对结果;当所述第一相似度小于所述预设第一相似度阈值时,得到音频比对未通过的第一比对结果。Since the credit requester has a dialect difference, the computer device presets a first similarity threshold to judge whether the audio comparison of the credit requester passes. In a specific implementation, after obtaining the voice text, the computer device calculates a first similarity between the voice text and the preset text; compares the first similarity with a preset first similarity threshold; When the first similarity is greater than or equal to the preset first similarity threshold, a first comparison result that passes the audio comparison is obtained; when the first similarity is less than the preset first similarity threshold, obtain The result of the first alignment that failed the audio alignment.
由于在录制双录视频时因光线等原因导致双录视频中的人脸存在区别,因此计算机设备预先设置第二相似度阈值,以判断所述信贷请求者的图像比对是否通过。具体实施时,计算机设备在得到多个帧图像之后,计算每个帧图像与所述证件图像之间的第二相似度;比较每个第二相似度与预设第二相似度阈值;当每个第二相似度大于或者等于所述预设第二相似度阈值时,得到图像比对通过的第二比对结果;当任意一个第二相似度小于所述预设第二相似度阈值时,得到音频比对未通过的第二比对结果。Since the faces in the dual-recording video are different due to light and other reasons when recording the dual-recording video, the computer device presets a second similarity threshold to determine whether the image comparison of the credit requester passes. In a specific implementation, after obtaining a plurality of frame images, the computer device calculates the second similarity between each frame image and the certificate image; compares each second similarity with a preset second similarity threshold; When every second similarity is greater than or equal to the preset second similarity threshold, a second comparison result that passes the image comparison is obtained; when any second similarity is less than the preset second similarity threshold, A second comparison result that fails the audio comparison is obtained.
计算机设备最后结合第一比对结果和第二比对结果判断所述信贷请求者是否通过阅读。具体实施时,当所述第一比对结果为音频比对通过且所述第二比对结果为图像比对通过,则确定所述信贷请求者通过阅读;当所述第一比对结果为音频比对未通过且所述第二比对结果为图像比对未通过,则确定所述信贷请求者未通过阅读。The computer device finally determines whether the credit requester has passed the reading in combination with the first comparison result and the second comparison result. In specific implementation, when the first comparison result is that the audio comparison is passed and the second comparison result is that the image comparison is passed, it is determined that the credit requester has passed the reading; when the first comparison result is If the audio comparison fails and the second comparison result is that the image comparison fails, it is determined that the credit requester fails the reading.
在一个可选的实施例中,所述提取所述双录视频中的多个帧图像包括:In an optional embodiment, the extracting multiple frame images in the dual-recording video includes:
计算所述双录视频的双录时间;Calculate the double-recording time of the double-recording video;
根据所述双录时间生成检测次数;Generate the number of detections according to the double recording time;
根据所述双录时间及所述检测次数计算检测帧率;Calculate the detection frame rate according to the double recording time and the detection times;
使用所述检测帧率从所述双录视频中提取多个帧图像。Extracting a plurality of frame images from the dual recording video using the detected frame rate.
该可选的实施例中,计算机设备根据每个双录子视频对应的流程环节的开始时间节点及结束时间节点计算每个双录视频的双录时间。In this optional embodiment, the computer device calculates the double-recording time of each double-recording video according to the start time node and the end time node of the process link corresponding to each double-recording sub-video.
为了避免信贷申请过程中的数据造假,计算机设备根据双录视频的双录时间生成检测次数,从而根据检测次数确定如何从双录视频中提取帧图像来进行人脸检测。根据双录时间能够为不同的双录视频生成不同的检测次数,使得提取出的帧图像具有较大的随机性,从而使得对帧图像进行人脸检测也具有较大的随机性,能够有效的确保人脸检测的真实可靠。In order to avoid data fraud during the credit application process, the computer equipment generates the number of detections according to the double-recording time of the double-recording video, so as to determine how to extract frame images from the dual-recording video for face detection according to the number of detections. According to the double-recording time, different detection times can be generated for different double-recording videos, so that the extracted frame images have greater randomness, so that the face detection on the frame images also has greater randomness, which can effectively Ensure the authenticity and reliability of face detection.
计算机设备计算双录时间与检测次数之间的商即可得到检测帧率,例如,双录时间为5分钟,检测次数为10,则检测帧率为5分/10=30秒,即,每30秒从双录视频中提取出一个帧图像。The detection frame rate can be obtained by calculating the quotient between the double recording time and the number of detections by the computer equipment. For example, if the double recording time is 5 minutes and the number of detections is 10, the detection frame rate is 5 minutes/10=30 seconds, that is, every 30 seconds to extract a frame image from the double-recorded video.
在一个可选的实施例中,所述根据所述双录时间生成检测次数包括:In an optional embodiment, the generating the detection times according to the double recording time includes:
定义第一检测次数上下限及第二检测次数上下限;Define the upper and lower limits of the first detection times and the upper and lower limits of the second detection times;
计算历史双录时间的平均时间值;Calculate the average time value of the historical double recording time;
比较所述双录时间与所述平均时间值;comparing the double recording time with the average time value;
当所述双录时间大于或者等于所述平均时间值,在所述第一检测次数上下限对应的数值范围内生成第一随机数,作为所述双录视频的检测次数;When the double-recording time is greater than or equal to the average time value, a first random number is generated within the numerical range corresponding to the upper and lower limits of the first detection times, as the detection times of the double-recording video;
当所述双录时间小于所述平均时间值时,在所述第二检测次数上下限对应的数值范围内生成第二随机数,作为所述双录视频的检测次数。When the double-recording time is less than the average time value, a second random number is generated within a numerical range corresponding to the upper and lower limits of the second detection times as the detection times of the double-recording video.
其中,所述第一检测次数上下限为[x1,x2],所述第二检测次数上下限为[x3,x4],第一检测次数下限大于所述第二检测次数上限,即第二检测次数下限x3<第二检测次数上限x4<第一检测次数下限x1<第一检测次数上限x2。Wherein, the upper and lower limits of the first detection times are [x1, x2], the upper and lower limits of the second detection times are [x3, x4], and the lower limit of the first detection times is greater than the upper limit of the second detection times, that is, the second detection times The lower limit of the number of times x3 < the upper limit of the second number of detection times x4 < the lower limit of the first number of detection times x1 < the upper limit of the first number of detection times x2.
示例性,假设有3个历史双录视频,第一个历史双录视频的双录时间为T1,第二个历史双录视频的双录时间为T2,第三个历史双录视频的双录时间为T3,则计算历史双录时间的平均时间值为B1=T1/(T1+T2+T3)。As an example, suppose there are 3 historical dual-recording videos, the dual-recording time of the first historical dual-recording video is T1, the dual-recording time of the second historical dual-recording video is T2, and the dual-recording time of the third historical dual-recording video is T2. If the time is T3, the average time value of the historical double-recording time is calculated as B1=T1/(T1+T2+T3).
当所述双录时间大于或者等于所述平均时间值,表明该双录视频相对而言属于较长的双录视频,因此可以提取出较多的视频帧;当所述双录时间小于所述平均时间值,表明该双录视频相对而言属于较短的双录视频,因此可以提取出较少的视频帧。When the double-recording time is greater than or equal to the average time value, it indicates that the dual-recording video belongs to a relatively long dual-recording video, so more video frames can be extracted; when the dual-recording time is less than the The average time value indicates that the dual-recording video is relatively short dual-recording video, so fewer video frames can be extracted.
该可选的实施例,通过在所述第一检测次数上下限对应的数值范围内生成第一随机数,能够使得生成的第一随机数较大,从而将所述第一随机数作为所述双录视频的检测次数时,能够提取出较多的视频帧,而通过在所述第二检测次数上下限对应的数值范围内生成第二随机数,能够使得生成的第二随机数较小,从而将所述第二随机数作为所述双录视频的检测次数时,能够提取出较少的视频帧。如此,能够自动的确定提取出的视频帧的数量,视频帧的提取效率较高。In this optional embodiment, by generating the first random number within the numerical range corresponding to the upper and lower limits of the first detection times, the generated first random number can be made larger, so that the first random number is used as the When the number of detections of the double-recorded video is performed, more video frames can be extracted, and by generating the second random number within the numerical range corresponding to the upper and lower limits of the second detection number, the generated second random number can be smaller, Therefore, when the second random number is used as the detection times of the double recording video, fewer video frames can be extracted. In this way, the number of extracted video frames can be automatically determined, and the extraction efficiency of video frames is high.
S13,当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型。S13, when it is determined to pass the reading, use a willingness identification model to identify the willingness type of the credit requester based on the double-recorded video.
所述意愿识别模型为计算机设备事先离线训练得到的,用以基于双录视频识别所述信贷请求者的意愿类型。其中,所述意愿类型包括:愿意、不愿意。如果意愿类型为愿意,表明信贷请求者真实自愿的进行信贷申请。如果意愿类型为不愿意,表明信贷请求者并非真实自愿的进行信贷申请,例如,被胁迫或者被强制性的进行信贷申请。The willingness recognition model is obtained by offline training of computer equipment in advance, and is used to recognize the willingness type of the credit requester based on the double-recorded video. Wherein, the willingness type includes: willingness and unwillingness. If the willingness type is willing, it indicates that the credit requester is truly willing to apply for credit. If the willingness type is unwilling, it indicates that the credit requester is not really willing to apply for credit, for example, is coerced or forced to apply for credit.
在一个可选的实施例中,所述意愿识别模型的训练过程可以包括:In an optional embodiment, the training process of the intention recognition model may include:
获取多个意愿类型对应的多个双录视频,并识别每个意愿类型对应的每个双录视频中的语音文本;Acquire multiple double-recorded videos corresponding to multiple will types, and identify the voice text in each double-recorded video corresponding to each will type;
对所述语音文本进行分行编码处理,得到多个编码向量;Carrying out line-by-line encoding processing to the speech text to obtain a plurality of encoding vectors;
将每个编码向量输入至正向长短期记忆网络层中,得到第一向量,并将每个编码向量输入至反向长短期记忆网络层中,得到第二向量;Input each coding vector into the forward long short-term memory network layer to obtain the first vector, and input each coding vector into the reverse long short-term memory network layer to obtain the second vector;
按照所述语音文本的行顺序将所述语音文本对应的多个第一向量及多个第二向量进行拼接,得到第一输入向量;The multiple first vectors and multiple second vectors corresponding to the voice text are spliced according to the row order of the voice text to obtain a first input vector;
根据所述意愿类型及所述意愿类型对应的第一输入向量生成特征向量;generating a feature vector according to the willingness type and the first input vector corresponding to the willingness type;
基于多个所述特征向量训练支持向量机,得到意愿类型识别模型。A support vector machine is trained based on a plurality of the feature vectors to obtain a willingness type identification model.
该可选的实施例中,所述计算机设备先获取所述语言文本中的预设段落标签,根据所述预设段落标签对所述语言文本进行分块处理,得到多个段文本;再获取所述语言文本中的预设换行符,根据所述预设换行符对每个段文本进行分行处理,得到多个行文本。In this optional embodiment, the computer device first obtains a preset paragraph label in the language text, and performs block processing on the language text according to the preset paragraph label to obtain a plurality of paragraph texts; and then obtains For the preset line breaks in the language text, each segment of text is processed into lines according to the preset line breaks to obtain multiple lines of text.
所述计算机设备可以采用交叉验证法划分多个特征向量,得到第一集合及第二集合。具 体实施时,所述计算机设备将所述多个特征向量按照预设比例随机划分为至少一个数据包,将所述至少一个数据包中的任意一个数据包确定为所述第二集合,其余的数据包确定为所述第一集合,重复上述步骤,直至所有的数据包全都依次被用作为所述第二集合。其中,所述预设比例可以自定义设置,本申请不作限制。基于所述第一集合训练二分类模型,基于所述第二集合验证所述二分类模型。具体的训练过程和验证过程为现有技术,本申请在此不再详细赘述。The computer device may divide a plurality of feature vectors by using a cross-validation method to obtain the first set and the second set. During specific implementation, the computer device randomly divides the plurality of feature vectors into at least one data packet according to a preset ratio, and determines any one data packet in the at least one data packet as the second set, and the rest The data packets are determined to be the first set, and the above steps are repeated until all the data packets are sequentially used as the second set. Wherein, the preset ratio can be set by self-definition, which is not limited in this application. A binary classification model is trained based on the first set, and the binary classification model is validated based on the second set. The specific training process and verification process are in the prior art, which will not be described in detail in this application.
所述计算机设备在训练得到意愿识别模型之后,将所述双录视频对应的语音文本进行分行编码处理得到多个编码向量,将每个编码向量输入至正向长短期记忆网络层中,得到第三向量,并将每个编码向量输入至反向长短期记忆网络层中,得到第四向量;按照所述语音文本的行顺序将所述语音文本对应的多个第三向量及多个第四向量进行拼接,得到第二输入向量;输入所述第二输入向量至所述意愿识别模型中,通过所述意愿识别模型对所述第二输入向量的识别,得到意愿类型。After the computer equipment is trained to obtain a willingness recognition model, the voice text corresponding to the double-recorded video is subjected to line-by-line encoding processing to obtain a plurality of encoding vectors, and each encoding vector is input into the forward long short-term memory network layer to obtain the first number of encoding vectors. three vectors, and input each coding vector into the reverse long short-term memory network layer to obtain a fourth vector; according to the row order of the voice text, multiple third vectors and multiple fourth vectors corresponding to the voice text The vectors are spliced to obtain a second input vector; the second input vector is input into the intention identification model, and the intention type is obtained by identifying the second input vector by the intention identification model.
该可选的实施例中,通过对所述语言文本进行分块处理再进行分行处理,能够避免语音文本中的段尾因不具有预设换行符而导致无法分行,提高了分行的准确度;而提高了分行的准确度之后,能够提高分行编码的编码准确率,从而使用正向长短期记忆网络层及反向长短期记忆网络层对所述编码向量进行处理,能使得使每个编码向量更符合上下文语义,提高意愿识别模型的训练精度;通过划分多个特征向量,使所述多个特征向量中的每个数据行均参与训练及验证,由此,提高了训练所述意愿识别模型的拟合度。In this optional embodiment, by performing block processing on the language text and then performing branch processing, it can be avoided that the end of the segment in the speech text does not have a preset newline character and cannot be divided into lines, thereby improving the accuracy of line branching; After the accuracy of the branch is improved, the encoding accuracy of the branch code can be improved, so that the forward long short-term memory network layer and the reverse long short-term memory network layer are used to process the encoding vector, so that each encoding vector can be More in line with contextual semantics, the training accuracy of the willingness recognition model is improved; by dividing multiple feature vectors, each data row in the multiple feature vectors participates in training and verification, thereby improving the training of the willingness recognition model. the fit.
S14,当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码。S14, when the willingness type is the target willingness type, receive the digital password input by the credit requester.
所述目标意愿类型为计算机设备预先指定的意愿类型,示例性的,所述目标意愿类型可以为愿意。The target willingness type is a willingness type pre-designated by the computer device. Exemplarily, the target willingness type may be willingness.
计算机设备在确定信贷请求者的意愿类型为目标意愿类型时,显示数字密码输入界面,供信贷请求者在所述数字密码数字界面中输入数字密码。所述数字密码用于后续银行放款时要求输入的用以进行身份验证的密码。When determining that the credit requester's willingness type is the target willingness type, the computer device displays a digital password input interface for the credit requester to input a digital password in the digital password digital interface. The digital password is used for the password required to be input for identity verification during subsequent bank lending.
S15,根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名。S15: Generate a first public key according to the digital password, and generate a digital signature according to the first public key and the certificate image.
计算机设备中预先存储有密钥生成算法,以所述数字密码为密钥生成算法的入参,得到的密钥值作为第一公钥。使用所述第一公钥对所述证件图像进行加密,并提取加密后的加密比特,得到数字签名。A key generation algorithm is pre-stored in the computer device, the digital password is used as an input parameter of the key generation algorithm, and the obtained key value is used as the first public key. The certificate image is encrypted using the first public key, and the encrypted encrypted bits are extracted to obtain a digital signature.
在一个可选的实施例中,所述根据所述数字密码生成第一公钥包括:In an optional embodiment, the generating the first public key according to the digital password includes:
确定与所述数字密码对应的字符串;determining a character string corresponding to the digital password;
计算所述字符串的散列值;compute the hash value of the string;
获取第一系统参数及第二系统参数;Obtain the first system parameter and the second system parameter;
利用所述第一系统参数、所述第二系统参数以及所述散列值计算符合El Gamal承诺的第一验证参数,将所述第一验证参数确定为第一公钥。Using the first system parameter, the second system parameter and the hash value to calculate the first verification parameter that complies with the El Gamal commitment, and determine the first verification parameter as the first public key.
该可选的实施例中,计算机设备中存储有数字与字符之间的对应关系表,根据所述对应关系表,确定出与所述数字密码中的每一个密码对应的字符,然后将所述字符按照数字密码的顺序串接起来形成一个字符串。计算机设备可以采用散列函数对所述字符串进行计算,得到散列值。所述散列函数可以是信息摘要算法(Message-Digest Algorithm,MD5),通过MD5计算所述字符串的散列值,能够产生出一个128位(16字节)的散列值。In this optional embodiment, a correspondence table between numbers and characters is stored in the computer device, and according to the correspondence table, the character corresponding to each password in the digital password is determined, and then the The characters are concatenated in the order of the numeric password to form a string. The computer device may use a hash function to calculate the character string to obtain a hash value. The hash function may be a message digest algorithm (Message-Digest Algorithm, MD5). By calculating the hash value of the character string through MD5, a 128-bit (16-byte) hash value can be generated.
所述第一系统参数及所述第二系统参数均为公开的参数,所述第一系统参数可以是椭圆曲线群生成元,所述第二系统参数可以是一个自然数。示例性的,假设第一系统参数为g,第二系统参数为n,散列值为r,则利用所述第一系统参数g、所述第二系统参数n以及所述散列值r计算符合El Gamal承诺的第一验证参数F=g rmodn。 The first system parameter and the second system parameter are both public parameters, the first system parameter may be an elliptic curve group generator, and the second system parameter may be a natural number. Exemplarily, assuming that the first system parameter is g, the second system parameter is n, and the hash value is r, then use the first system parameter g, the second system parameter n, and the hash value r to calculate The first verification parameter F=gr modn in accordance with the El Gamal commitment.
S16,根据所述数字签名生成信贷合同。S16. Generate a credit contract according to the digital signature.
计算机设备中预先存储有信贷合同模板,将所述信贷请求者的基础信息填入所述信贷合同模板中的关键字段对应的位置处,并在签名位置处添加所述数字签名,从而生成信贷请求者的信贷合同。A credit contract template is pre-stored in the computer device, the basic information of the credit requester is filled in the position corresponding to the key field in the credit contract template, and the digital signature is added at the signature position, thereby generating a credit Requester's credit contract.
所述数字签名生成信贷合同,为银行信贷提供坚实的有效的真实数据,为信贷决策提供数据依据少简化了申请流程和申请成本。The digital signature generates a credit contract, provides solid and effective real data for bank credit, provides data basis for credit decision-making, and simplifies the application process and application cost.
在一个可选的实施例中,在所述根据所述数字签名生成信贷合同之后,所述方法还包括:In an optional embodiment, after generating the credit contract according to the digital signature, the method further includes:
将所述第一公钥作为所述信贷合同的合同编码;using the first public key as the contract code of the credit contract;
当接收到签核者的签核指令后,发送数字密码获取指令至所述信贷请求者的客户端;After receiving the sign-off instruction from the signer, sending a digital password acquisition instruction to the client of the credit requester;
接收所述客户端发送的信贷请求者根据所述数字密码获取指令输入的数字密码;Receive the digital password sent by the client and input by the credit requester according to the digital password acquisition instruction;
根据接收到的数字密码生成第二公钥;generating a second public key according to the received digital password;
验证所述第二公钥与所述合同编码是否相同;verifying whether the second public key is the same as the contract code;
当确定所述第二公钥与所述合同编码相同时,执行预设放款操作。When it is determined that the second public key is the same as the contract code, a preset lending operation is performed.
该可选的实施例中,如果信贷请求者真实自愿的进行信贷申请,那么通过客户端接收到计算机设备发送的数字密码获取指令时,会再次输入相同的数字密码并通过所述客户端发送至计算机设备,那么计算机设备采用同样的秘钥生成算法基于所述数字密码计算得到的公钥,将与信贷合同上的合同编码一致。In this optional embodiment, if the credit requester really voluntarily applies for credit, when receiving the digital password acquisition instruction sent by the computer device through the client, the same digital password will be input again and sent to the client through the client. computer equipment, then the public key calculated by the computer equipment using the same secret key generation algorithm based on the digital password will be consistent with the contract code on the credit contract.
通过信贷请求者再次输入数字密码并进行验证,能够进行信贷请求者的二次真伪鉴别,保障了信贷申请的安全性,且减少了验证所花费的时间,提高了审核的效率;在验证成功之后,在线上完成放款操作,而不需要纸质单据和线下的人工处理,使得申请放款的操作简单快捷。By re-entering the digital password and verifying the credit requester, the credit requester can be authenticated twice, which ensures the security of the credit application, reduces the time spent on verification, and improves the efficiency of the review. After that, the loan operation is completed online, without the need for paper documents and offline manual processing, making the operation of applying for loan simple and fast.
需要强调的是,为进一步保证上述意愿类型识别模型的私密性和安全性,上述意愿类型识别模型可存储于区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned willingness type identification model, the above-mentioned willingness type identification model can be stored in the nodes of the blockchain.
在获取到信贷请求者阅读预设文本的双录视频时,根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断信贷请求者是否通过阅读;当确定信贷请求者通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型,仅当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码,接着根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名,最后根据所述数字签名生成信贷合同。本申请可应用在智慧政务等需要对海量数据进行加密处理的领域,从而推动智慧城市的发展,本申请能够根据信贷请求者的双录视频生成信贷合同,提高了信贷申请的效率,且基于双录视频,能够避免信贷申请数据造假,保障了信贷合同的安全。When the double-recorded video of the credit requester reading the preset text is obtained, it is determined whether the credit requester has passed the reading according to the preset text, the double-recorded video and the image of the credit requester's certificate; Through reading, the willingness recognition model is used to identify the willingness type of the credit requester based on the double-recorded video, and only when the willingness type is the target willingness type, the digital password input by the credit requester is received, and then according to the The digital password generates a first public key, and a digital signature is generated according to the first public key and the certificate image, and finally a credit contract is generated according to the digital signature. This application can be applied in smart government affairs and other fields that need to encrypt massive data, thereby promoting the development of smart cities. Video recording can avoid fraudulent credit application data and ensure the security of credit contracts.
图2是本申请实施例二提供的基于人工智能的线上信贷装置的结构图。FIG. 2 is a structural diagram of an artificial intelligence-based online credit device provided in Embodiment 2 of the present application.
在一些实施例中,所述基于人工智能的线上信贷装置20可以包括多个由计算机可读指令段所组成的功能模块。所述基于人工智能的线上信贷装置20中的各个程序段的计算机可读指令可以存储于计算机设备的存储器中,并由至少一个处理器所执行,以执行(详见图1描述)基于人工智能的线上信贷的功能。In some embodiments, the artificial intelligence-based online credit device 20 may include a plurality of functional modules composed of computer-readable instruction segments. Computer readable instructions for each program segment in the artificial intelligence-based online credit device 20 may be stored in the memory of the computer device and executed by at least one processor to execute (detailed in the description of FIG. 1 ) artificial intelligence-based Smart online credit features.
本实施例中,所述基于人工智能的线上信贷装置20根据其所执行的功能,可以被划分为多个功能模块。所述功能模块可以包括:获取模块201、判断模块202、识别模块203、训练模块204、接收模块205、签名模块206、生成模块207及执行模块208。本申请所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机可读指令段,其存储在存储器中。在本实施例中,关于各模块的功能将在后续的实施例中详述。In this embodiment, the online credit device 20 based on artificial intelligence can be divided into a plurality of functional modules according to the functions it performs. The functional modules may include: an acquisition module 201 , a judgment module 202 , an identification module 203 , a training module 204 , a reception module 205 , a signature module 206 , a generation module 207 and an execution module 208 . A module referred to in this application refers to a series of computer-readable instruction segments that can be executed by at least one processor and can perform fixed functions, and are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.
所述获取模块201,用于获取信贷请求者阅读预设文本的双录视频。The obtaining module 201 is configured to obtain a double-recorded video of the credit requester reading the preset text.
所述预设文本是指为了在线上信贷时达到客户知晓的义务,将业务风险、贷款须知等以文字的形式展示在信贷请求者的客户端上的文本。The preset text refers to the text that displays business risks, loan instructions, etc. on the client of the credit requester in the form of text in order to achieve the obligation of the customer to know when the online credit is performed.
所述信贷请求者的客户端上预先安装有专用于信贷服务的信贷应用程序,所述信贷请求者通过所述客户端上的所述信贷应用程序录制阅读所述预设文本的双录视频。具体而言,所述信贷请求者启动所述信贷应用程序上的录制功能,对照着所述预设文本进行阅读,所述信 贷应用程序通过所述录制功能录制双录视频。在双录视频录制完成后,通过所述客户端上传所述双录视频至信贷服务器。A credit application dedicated to credit service is pre-installed on the client of the credit requester, and the credit requester records a double-recorded video of reading the preset text through the credit application on the client. Specifically, the credit requester activates the recording function on the credit application, reads against the preset text, and the credit application records a double-recorded video through the recording function. After the double-recording video recording is completed, the double-recording video is uploaded to the credit server through the client.
本实施例中,通过获取信贷请求者阅读预设文本的双录视频,能够保证信贷请求者实际进行了阅读,从而实现对信贷请求者的告知义务,减少后续信贷的投诉风险。In this embodiment, by obtaining a double-recorded video of the credit requester reading the preset text, it can be ensured that the credit requester actually reads, thereby realizing the obligation of informing the credit requester and reducing the risk of subsequent credit complaints.
所述判断模块202,用于根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读。The judging module 202 is configured to judge whether the reading is passed according to the preset text, the double-recorded video and the certificate image of the credit requester.
所述信贷请求者在客户端上成功安装所述信贷应用程序,在首次登录时需要先进行身份信息注册。例如,通过所述信贷应用程序中的证件图像上传功能上传证件图像来完成身份信息的注册。所述证件图像可以是身份证图像,护照图像,驾驶证图像等。The credit requester successfully installs the credit application program on the client, and needs to perform identity information registration when logging in for the first time. For example, the registration of identity information is completed by uploading a credential image through the credential image upload function in the credit application. The certificate image may be an identity card image, a passport image, a driver's license image, and the like.
在一个可选的实施例中,所述判断模块202根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读包括:In an optional embodiment, the judging module 202 judges whether to pass the reading according to the preset text, the double-recorded video and the certificate image of the credit requester, including:
提取所述双录视频中的音频及提取所述双录视频中的多个帧图像;Extracting audio in the double-recording video and extracting multiple frame images in the dual-recording video;
识别所述音频得到语音文本,并比对所述语音文本与所述预设文本,得到第一比对结果;Recognizing the audio to obtain voice text, and comparing the voice text and the preset text to obtain a first comparison result;
比对所述多个帧图像及所述证件图像,得到第二比对结果;Comparing the plurality of frame images and the certificate images to obtain a second comparison result;
根据所述第一比对结果及所述第二比对结果判断所述信贷请求者是否通过阅读。Whether the credit requester has passed the reading is determined according to the first comparison result and the second comparison result.
所述双录视频包括音频及帧图像序列,采用音频分离技术将音频从所述双录视频中分离出来,并使用语音识别技术识别所述音频得到语音文本。所述音频分离技术及所述语音识别技术可以为现有技术。计算机设备可以按照预先设置的固定的采集频率从所述帧图像序列中提取出多个帧图像。The double-recorded video includes audio and frame image sequences. Audio separation technology is used to separate the audio from the double-recorded video, and speech recognition technology is used to recognize the audio to obtain speech text. The audio separation technology and the speech recognition technology may be the prior art. The computer device may extract a plurality of frame images from the frame image sequence according to a preset fixed collection frequency.
由于信贷请求者存在方言的区别,因此计算机设备预先设置第一相似度阈值,以判断所述信贷请求者的音频比对是否通过。具体实施时,计算机设备在得到语音文本之后,计算所述语音文本与所述预设文本之间的第一相似度;比较所述第一相似度与预设第一相似度阈值;当所述第一相似度大于或者等于所述预设第一相似度阈值时,得到音频比对通过的第一比对结果;当所述第一相似度小于所述预设第一相似度阈值时,得到音频比对未通过的第一比对结果。Since the credit requester has a dialect difference, the computer device presets a first similarity threshold to judge whether the audio comparison of the credit requester passes. In a specific implementation, after obtaining the voice text, the computer device calculates a first similarity between the voice text and the preset text; compares the first similarity with a preset first similarity threshold; When the first similarity is greater than or equal to the preset first similarity threshold, a first comparison result that passes the audio comparison is obtained; when the first similarity is less than the preset first similarity threshold, obtain The result of the first alignment that failed the audio alignment.
由于在录制双录视频时因光线等原因导致双录视频中的人脸存在区别,因此计算机设备预先设置第二相似度阈值,以判断所述信贷请求者的图像比对是否通过。具体实施时,计算机设备在得到多个帧图像之后,计算每个帧图像与所述证件图像之间的第二相似度;比较每个第二相似度与预设第二相似度阈值;当每个第二相似度大于或者等于所述预设第二相似度阈值时,得到图像比对通过的第二比对结果;当任意一个第二相似度小于所述预设第二相似度阈值时,得到音频比对未通过的第二比对结果。Since the faces in the dual-recording video are different due to light and other reasons when recording the dual-recording video, the computer device presets a second similarity threshold to determine whether the image comparison of the credit requester passes. In a specific implementation, after obtaining a plurality of frame images, the computer device calculates the second similarity between each frame image and the certificate image; compares each second similarity with a preset second similarity threshold; When every second similarity is greater than or equal to the preset second similarity threshold, a second comparison result that passes the image comparison is obtained; when any second similarity is less than the preset second similarity threshold, A second comparison result that fails the audio comparison is obtained.
计算机设备最后结合第一比对结果和第二比对结果判断所述信贷请求者是否通过阅读。具体实施时,当所述第一比对结果为音频比对通过且所述第二比对结果为图像比对通过,则确定所述信贷请求者通过阅读;当所述第一比对结果为音频比对未通过且所述第二比对结果为图像比对未通过,则确定所述信贷请求者未通过阅读。The computer device finally determines whether the credit requester has passed the reading in combination with the first comparison result and the second comparison result. In specific implementation, when the first comparison result is that the audio comparison is passed and the second comparison result is that the image comparison is passed, it is determined that the credit requester has passed the reading; when the first comparison result is If the audio comparison fails and the second comparison result is that the image comparison fails, it is determined that the credit requester fails the reading.
在一个可选的实施例中,所述提取所述双录视频中的多个帧图像包括:In an optional embodiment, the extracting multiple frame images in the dual-recording video includes:
计算所述双录视频的双录时间;Calculate the double-recording time of the double-recording video;
根据所述双录时间生成检测次数;Generate the number of detections according to the double recording time;
根据所述双录时间及所述检测次数计算检测帧率;Calculate the detection frame rate according to the double recording time and the detection times;
使用所述检测帧率从所述双录视频中提取多个帧图像。Extracting a plurality of frame images from the dual recording video using the detected frame rate.
该可选的实施例中,计算机设备根据每个双录子视频对应的流程环节的开始时间节点及结束时间节点计算每个双录视频的双录时间。In this optional embodiment, the computer device calculates the double-recording time of each double-recording video according to the start time node and the end time node of the process link corresponding to each double-recording sub-video.
为了避免信贷申请过程中的数据造假,计算机设备根据双录视频的双录时间生成检测次数,从而根据检测次数确定如何从双录视频中提取帧图像来进行人脸检测。根据双录时间能够为不同的双录视频生成不同的检测次数,使得提取出的帧图像具有较大的随机性,从而使得对帧图像进行人脸检测也具有较大的随机性,能够有效的确保人脸检测的真实可靠。In order to avoid data fraud during the credit application process, the computer equipment generates the number of detections according to the double-recording time of the double-recording video, so as to determine how to extract frame images from the dual-recording video for face detection according to the number of detections. According to the double-recording time, different detection times can be generated for different double-recording videos, so that the extracted frame images have greater randomness, so that the face detection on the frame images also has greater randomness, which can effectively Ensure the authenticity and reliability of face detection.
计算机设备计算双录时间与检测次数之间的商即可得到检测帧率,例如,双录时间为5分钟,检测次数为10,则检测帧率为5分/10=30秒,即,每30秒从双录视频中提取出一个帧图像。The detection frame rate can be obtained by calculating the quotient between the double recording time and the number of detections by the computer equipment. For example, if the double recording time is 5 minutes and the number of detections is 10, the detection frame rate is 5 minutes/10=30 seconds, that is, every 30 seconds to extract a frame image from the double-recorded video.
在一个可选的实施例中,所述根据所述双录时间生成检测次数包括:In an optional embodiment, the generating the detection times according to the double recording time includes:
定义第一检测次数上下限及第二检测次数上下限;Define the upper and lower limits of the first detection times and the upper and lower limits of the second detection times;
计算历史双录时间的平均时间值;Calculate the average time value of the historical double recording time;
比较所述双录时间与所述平均时间值;comparing the double recording time with the average time value;
当所述双录时间大于或者等于所述平均时间值,在所述第一检测次数上下限对应的数值范围内生成第一随机数,作为所述双录视频的检测次数;When the double-recording time is greater than or equal to the average time value, a first random number is generated within the numerical range corresponding to the upper and lower limits of the first detection times, as the detection times of the double-recording video;
当所述双录时间小于所述平均时间值时,在所述第二检测次数上下限对应的数值范围内生成第二随机数,作为所述双录视频的检测次数。When the double-recording time is less than the average time value, a second random number is generated within a numerical range corresponding to the upper and lower limits of the second detection times as the detection times of the double-recording video.
其中,所述第一检测次数上下限为[x1,x2],所述第二检测次数上下限为[x3,x4],第一检测次数下限大于所述第二检测次数上限,即第二检测次数下限x3<第二检测次数上限x4<第一检测次数下限x1<第一检测次数上限x2。Wherein, the upper and lower limits of the first detection times are [x1, x2], the upper and lower limits of the second detection times are [x3, x4], and the lower limit of the first detection times is greater than the upper limit of the second detection times, that is, the second detection times The lower limit of the number of times x3 < the upper limit of the second number of detection times x4 < the lower limit of the first number of detection times x1 < the upper limit of the first number of detection times x2.
示例性,假设有3个历史双录视频,第一个历史双录视频的双录时间为T1,第二个历史双录视频的双录时间为T2,第三个历史双录视频的双录时间为T3,则计算历史双录时间的平均时间值为B1=T1/(T1+T2+T3)。As an example, suppose there are 3 historical dual-recording videos, the dual-recording time of the first historical dual-recording video is T1, the dual-recording time of the second historical dual-recording video is T2, and the dual-recording time of the third historical dual-recording video is T2. If the time is T3, the average time value of the historical double-recording time is calculated as B1=T1/(T1+T2+T3).
当所述双录时间大于或者等于所述平均时间值,表明该双录视频相对而言属于较长的双录视频,因此可以提取出较多的视频帧;当所述双录时间小于所述平均时间值,表明该双录视频相对而言属于较短的双录视频,因此可以提取出较少的视频帧。When the double-recording time is greater than or equal to the average time value, it indicates that the dual-recording video belongs to a relatively long dual-recording video, so more video frames can be extracted; when the dual-recording time is less than the The average time value indicates that the dual-recording video is relatively short dual-recording video, so fewer video frames can be extracted.
该可选的实施例,通过在所述第一检测次数上下限对应的数值范围内生成第一随机数,能够使得生成的第一随机数较大,从而将所述第一随机数作为所述双录视频的检测次数时,能够提取出较多的视频帧,而通过在所述第二检测次数上下限对应的数值范围内生成第二随机数,能够使得生成的第二随机数较小,从而将所述第二随机数作为所述双录视频的检测次数时,能够提取出较少的视频帧。如此,能够自动的确定提取出的视频帧的数量,视频帧的提取效率较高。In this optional embodiment, by generating the first random number within the numerical range corresponding to the upper and lower limits of the first detection times, the generated first random number can be made larger, so that the first random number is used as the When the number of detections of the double-recorded video is performed, more video frames can be extracted, and by generating the second random number within the numerical range corresponding to the upper and lower limits of the second detection number, the generated second random number can be smaller, Therefore, when the second random number is used as the detection times of the double recording video, fewer video frames can be extracted. In this way, the number of extracted video frames can be automatically determined, and the extraction efficiency of video frames is high.
所述识别模块203,用于当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型。The identifying module 203 is configured to identify the willingness type of the credit requester based on the double-recorded video using a willingness recognition model when it is determined that the reading is passed.
所述意愿识别模型为计算机设备事先离线训练得到的,用以基于双录视频识别所述信贷请求者的意愿类型。其中,所述意愿类型包括:愿意、不愿意。如果意愿类型为愿意,表明信贷请求者真实自愿的进行信贷申请。如果意愿类型为不愿意,表明信贷请求者并非真实自愿的进行信贷申请,例如,被胁迫或者被强制性的进行信贷申请。The willingness recognition model is obtained by offline training of computer equipment in advance, and is used to recognize the willingness type of the credit requester based on the double-recorded video. Wherein, the willingness type includes: willingness and unwillingness. If the willingness type is willing, it indicates that the credit requester is truly willing to apply for credit. If the willingness type is unwilling, it indicates that the credit requester is not really willing to apply for credit, for example, is coerced or forced to apply for credit.
所述训练模块204,用于训练意愿识别模型。The training module 204 is used for training a willingness recognition model.
在一个可选的实施例中,所述训练模块204训练意愿识别模型包括:In an optional embodiment, the training module 204 training the intention recognition model includes:
获取多个意愿类型对应的多个双录视频,并识别每个意愿类型对应的每个双录视频中的语音文本;Acquire multiple double-recorded videos corresponding to multiple will types, and identify the voice text in each double-recorded video corresponding to each will type;
对所述语音文本进行分行编码处理,得到多个编码向量;Carrying out line-by-line encoding processing to the speech text to obtain a plurality of encoding vectors;
将每个编码向量输入至正向长短期记忆网络层中,得到第一向量,并将每个编码向量输入至反向长短期记忆网络层中,得到第二向量;Input each coding vector into the forward long short-term memory network layer to obtain the first vector, and input each coding vector into the reverse long short-term memory network layer to obtain the second vector;
按照所述语音文本的行顺序将所述语音文本对应的多个第一向量及多个第二向量进行拼接,得到第一输入向量;The multiple first vectors and multiple second vectors corresponding to the voice text are spliced according to the row order of the voice text to obtain a first input vector;
根据所述意愿类型及所述意愿类型对应的第一输入向量生成特征向量;generating a feature vector according to the willingness type and the first input vector corresponding to the willingness type;
基于多个所述特征向量训练支持向量机,得到意愿类型识别模型。A support vector machine is trained based on a plurality of the feature vectors to obtain a willingness type identification model.
该可选的实施例中,所述计算机设备先获取所述语言文本中的预设段落标签,根据所述预设段落标签对所述语言文本进行分块处理,得到多个段文本;再获取所述语言文本中的预设换行符,根据所述预设换行符对每个段文本进行分行处理,得到多个行文本。In this optional embodiment, the computer device first obtains a preset paragraph label in the language text, and performs block processing on the language text according to the preset paragraph label to obtain a plurality of paragraph texts; and then obtains For the preset line breaks in the language text, each segment of text is processed into lines according to the preset line breaks to obtain multiple lines of text.
所述计算机设备可以采用交叉验证法划分多个特征向量,得到第一集合及第二集合。具体实施时,所述计算机设备将所述多个特征向量按照预设比例随机划分为至少一个数据包,将所述至少一个数据包中的任意一个数据包确定为所述第二集合,其余的数据包确定为所述第一集合,重复上述步骤,直至所有的数据包全都依次被用作为所述第二集合。其中,所述预设比例可以自定义设置,本申请不作限制。基于所述第一集合训练二分类模型,基于所述第二集合验证所述二分类模型。具体的训练过程和验证过程为现有技术,本申请在此不再详细赘述。The computer device may divide a plurality of feature vectors by using a cross-validation method to obtain the first set and the second set. During specific implementation, the computer device randomly divides the plurality of feature vectors into at least one data packet according to a preset ratio, and determines any one data packet in the at least one data packet as the second set, and the rest The data packets are determined to be the first set, and the above steps are repeated until all the data packets are sequentially used as the second set. Wherein, the preset ratio can be set by self-definition, which is not limited in this application. A binary classification model is trained based on the first set, and the binary classification model is validated based on the second set. The specific training process and verification process are in the prior art, which will not be described in detail in this application.
所述计算机设备在训练得到意愿识别模型之后,将所述双录视频对应的语音文本进行分行编码处理得到多个编码向量,将每个编码向量输入至正向长短期记忆网络层中,得到第三向量,并将每个编码向量输入至反向长短期记忆网络层中,得到第四向量;按照所述语音文本的行顺序将所述语音文本对应的多个第三向量及多个第四向量进行拼接,得到第二输入向量;输入所述第二输入向量至所述意愿识别模型中,通过所述意愿识别模型对所述第二输入向量的识别,得到意愿类型。After the computer equipment is trained to obtain a willingness recognition model, the voice text corresponding to the double-recorded video is subjected to line-by-line encoding processing to obtain a plurality of encoding vectors, and each encoding vector is input into the forward long short-term memory network layer to obtain the first number of encoding vectors. three vectors, and input each coding vector into the reverse long short-term memory network layer to obtain a fourth vector; according to the row order of the voice text, multiple third vectors and multiple fourth vectors corresponding to the voice text The vectors are spliced to obtain a second input vector; the second input vector is input into the intention identification model, and the intention type is obtained by identifying the second input vector by the intention identification model.
该可选的实施例中,通过对所述语言文本进行分块处理再进行分行处理,能够避免语音文本中的段尾因不具有预设换行符而导致无法分行,提高了分行的准确度;而提高了分行的准确度之后,能够提高分行编码的编码准确率,从而使用正向长短期记忆网络层及反向长短期记忆网络层对所述编码向量进行处理,能使得使每个编码向量更符合上下文语义,提高意愿识别模型的训练精度;通过划分多个特征向量,使所述多个特征向量中的每个数据行均参与训练及验证,由此,提高了训练所述意愿识别模型的拟合度。In this optional embodiment, by performing block processing on the language text and then performing branch processing, it can be avoided that the end of the segment in the speech text does not have a preset newline character and cannot be divided into lines, thereby improving the accuracy of line branching; After the accuracy of the branch is improved, the encoding accuracy of the branch code can be improved, so that the forward long short-term memory network layer and the reverse long short-term memory network layer are used to process the encoding vector, so that each encoding vector can be More in line with contextual semantics, the training accuracy of the willingness recognition model is improved; by dividing multiple feature vectors, each data row in the multiple feature vectors participates in training and verification, thereby improving the training of the willingness recognition model. of fit.
所述接收模块205,用于当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码。The receiving module 205 is configured to receive the digital password input by the credit requester when the willingness type is the target willingness type.
所述目标意愿类型为计算机设备预先指定的意愿类型,示例性的,所述目标意愿类型可以为愿意。The target willingness type is a willingness type pre-designated by the computer device. Exemplarily, the target willingness type may be willingness.
计算机设备在确定信贷请求者的意愿类型为目标意愿类型时,显示数字密码输入界面,供信贷请求者在所述数字密码数字界面中输入数字密码。所述数字密码用于后续银行放款时要求输入的用以进行身份验证的密码。When determining that the credit requester's willingness type is the target willingness type, the computer device displays a digital password input interface for the credit requester to input a digital password in the digital password digital interface. The digital password is used for the password required to be input for identity verification during subsequent bank lending.
所述签名模块206,用于根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名。The signature module 206 is configured to generate a first public key according to the digital password, and generate a digital signature according to the first public key and the certificate image.
计算机设备中预先存储有密钥生成算法,以所述数字密码为密钥生成算法的入参,得到的密钥值作为第一公钥。使用所述第一公钥对所述证件图像进行加密,并提取加密后的加密比特,得到数字签名。A key generation algorithm is pre-stored in the computer device, the digital password is used as an input parameter of the key generation algorithm, and the obtained key value is used as the first public key. The certificate image is encrypted using the first public key, and the encrypted encrypted bits are extracted to obtain a digital signature.
在一个可选的实施例中,所述签名模块206根据所述数字密码生成第一公钥包括:In an optional embodiment, the signature module 206 generating the first public key according to the digital password includes:
确定与所述数字密码对应的字符串;determining a character string corresponding to the digital password;
计算所述字符串的散列值;compute the hash value of the string;
获取第一系统参数及第二系统参数;Obtain the first system parameter and the second system parameter;
利用所述第一系统参数、所述第二系统参数以及所述散列值计算符合El Gamal承诺的第一验证参数,将所述第一验证参数确定为第一公钥。Using the first system parameter, the second system parameter and the hash value to calculate the first verification parameter that complies with the El Gamal commitment, and determine the first verification parameter as the first public key.
该可选的实施例中,计算机设备中存储有数字与字符之间的对应关系表,根据所述对应关系表,确定出与所述数字密码中的每一个密码对应的字符,然后将所述字符按照数字密码的顺序串接起来形成一个字符串。计算机设备可以采用散列函数对所述字符串进行计算,得到散列值。所述散列函数可以是信息摘要算法(Message-Digest Algorithm,MD5),通过MD5计算所述字符串的散列值,能够产生出一个128位(16字节)的散列值。In this optional embodiment, a correspondence table between numbers and characters is stored in the computer device, and according to the correspondence table, the character corresponding to each password in the digital password is determined, and then the The characters are concatenated in the order of the numeric password to form a string. The computer device may use a hash function to calculate the character string to obtain a hash value. The hash function may be a message digest algorithm (Message-Digest Algorithm, MD5). By calculating the hash value of the character string through MD5, a 128-bit (16-byte) hash value can be generated.
所述第一系统参数及所述第二系统参数均为公开的参数,所述第一系统参数可以是椭圆曲线群生成元,所述第二系统参数可以是一个自然数。示例性的,假设第一系统参数为g,第二系统参数为n,散列值为r,则利用所述第一系统参数g、所述第二系统参数n以及所述散列值r计算符合El Gamal承诺的第一验证参数F=g rmodn。 The first system parameter and the second system parameter are both public parameters, the first system parameter may be an elliptic curve group generator, and the second system parameter may be a natural number. Exemplarily, assuming that the first system parameter is g, the second system parameter is n, and the hash value is r, then use the first system parameter g, the second system parameter n, and the hash value r to calculate The first verification parameter F=gr modn in accordance with the El Gamal commitment.
所述生成模块207,用于根据所述数字签名生成信贷合同。The generating module 207 is configured to generate a credit contract according to the digital signature.
计算机设备中预先存储有信贷合同模板,将所述信贷请求者的基础信息填入所述信贷合同模板中的关键字段对应的位置处,并在签名位置处添加所述数字签名,从而生成信贷请求者的信贷合同。A credit contract template is pre-stored in the computer device, the basic information of the credit requester is filled in the position corresponding to the key field in the credit contract template, and the digital signature is added at the signature position, thereby generating a credit Requester's credit contract.
所述数字签名生成信贷合同,为银行信贷提供坚实的有效的真实数据,为信贷决策提供数据依据少简化了申请流程和申请成本。The digital signature generates a credit contract, provides solid and effective real data for bank credit, provides data basis for credit decision-making, and simplifies the application process and application cost.
所述生成模块207,还用于将所述第一公钥作为所述信贷合同的合同编码。The generating module 207 is further configured to use the first public key as the contract code of the credit contract.
所述接收模块205,还用于当接收到签核者的签核指令后,发送数字密码获取指令至所述信贷请求者的客户端;接收所述客户端发送的信贷请求者根据所述数字密码获取指令输入的数字密码。The receiving module 205 is further configured to send a digital password obtaining instruction to the client of the credit requester after receiving the sign-off instruction of the signer; Password The numeric password entered by the command to get the password.
所述生成模块207,还用于根据接收到的数字密码生成第二公钥。The generating module 207 is further configured to generate a second public key according to the received digital password.
所述执行模块208,用于验证所述第二公钥与所述合同编码是否相同,并当确定所述第二公钥与所述合同编码相同时,执行预设放款操作。The execution module 208 is configured to verify whether the second public key is the same as the contract code, and when it is determined that the second public key is the same as the contract code, execute a preset lending operation.
该可选的实施例中,如果信贷请求者真实自愿的进行信贷申请,那么通过客户端接收到计算机设备发送的数字密码获取指令时,会再次输入相同的数字密码并通过所述客户端发送至计算机设备,那么计算机设备采用同样的秘钥生成算法基于所述数字密码计算得到的公钥,将与信贷合同上的合同编码一致。In this optional embodiment, if the credit requester really voluntarily applies for credit, when receiving the digital password acquisition instruction sent by the computer device through the client, the same digital password will be input again and sent to the client through the client. computer equipment, then the public key calculated by the computer equipment using the same secret key generation algorithm based on the digital password will be consistent with the contract code on the credit contract.
通过信贷请求者再次输入数字密码并进行验证,能够进行信贷请求者的二次真伪鉴别,保障了信贷申请的安全性,且减少了验证所花费的时间,提高了审核的效率;在验证成功之后,在线上完成放款操作,而不需要纸质单据和线下的人工处理,使得申请放款的操作简单快捷。By re-entering the digital password and verifying the credit requester, the credit requester can be authenticated twice, which ensures the security of the credit application, reduces the time spent on verification, and improves the efficiency of the review. After that, the loan operation is completed online, without the need for paper documents and offline manual processing, making the operation of applying for loan simple and fast.
需要强调的是,为进一步保证上述意愿类型识别模型的私密性和安全性,上述意愿类型识别模型可存储于区块链的节点中。It should be emphasized that, in order to further ensure the privacy and security of the above-mentioned willingness type identification model, the above-mentioned willingness type identification model can be stored in the nodes of the blockchain.
在获取到信贷请求者阅读预设文本的双录视频时,根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断信贷请求者是否通过阅读;当确定信贷请求者通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型,仅当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码,接着根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名,最后根据所述数字签名生成信贷合同。本申请可应用在智慧政务等需要对海量数据进行加密处理的领域,从而推动智慧城市的发展,本申请能够根据信贷请求者的双录视频生成信贷合同,提高了信贷申请的效率,且基于双录视频,能够避免信贷申请数据造假,保障了信贷合同的安全。When the double-recorded video of the credit requester reading the preset text is obtained, it is determined whether the credit requester has passed the reading according to the preset text, the double-recorded video and the image of the credit requester's certificate; Through reading, the willingness recognition model is used to identify the willingness type of the credit requester based on the double-recorded video, and only when the willingness type is the target willingness type, the digital password input by the credit requester is received, and then according to the The digital password generates a first public key, and a digital signature is generated according to the first public key and the certificate image, and finally a credit contract is generated according to the digital signature. This application can be applied in smart government affairs and other fields that need to encrypt massive data, thereby promoting the development of smart cities. Video recording can avoid fraudulent credit application data and ensure the security of credit contracts.
参阅图3所示,为本申请实施例三提供的计算机设备的结构示意图。在本申请较佳实施例中,所述计算机设备3包括存储器31、至少一个处理器32、至少一条通信总线33及收发器34。Referring to FIG. 3 , it is a schematic structural diagram of a computer device according to Embodiment 3 of the present application. In a preferred embodiment of the present application, the computer device 3 includes a memory 31 , at least one processor 32 , at least one communication bus 33 and a transceiver 34 .
本领域技术人员应该了解,图3示出的计算机设备的结构并不构成本申请实施例的限定,既可以是总线型结构,也可以是星形结构,所述计算机设备3还可以包括比图示更多或更少的其他硬件或者软件,或者不同的部件布置。Those skilled in the art should understand that the structure of the computer device shown in FIG. 3 does not constitute a limitation of the embodiments of the present application, and may be a bus-type structure or a star-shaped structure. more or less other hardware or software, or a different arrangement of components is shown.
在一些实施例中,所述计算机设备3是一种能够按照事先设定或存储的指令,自动进行数值计算和/或信息处理的设备,其硬件包括但不限于微处理器、专用集成电路、可编程门阵列、数字处理器及嵌入式设备等。所述计算机设备3还可包括客户设备,所述客户设备包括但不限于任何一种可与客户通过键盘、鼠标、遥控器、触摸板或声控设备等方式进行人机交互的电子产品,例如,个人计算机、平板电脑、智能手机、数码相机等。In some embodiments, the computer device 3 is a device that can automatically perform numerical calculation and/or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits, Programmable gate arrays, digital processors and embedded devices, etc. The computer equipment 3 may also include client equipment, including but not limited to any electronic product that can interact with the client through a keyboard, a mouse, a remote control, a touchpad or a voice-activated device, etc., for example, Personal computers, tablets, smartphones, digital cameras, etc.
需要说明的是,所述计算机设备3仅为举例,其他现有的或今后可能出现的电子产品如可适应于本申请,也应包含在本申请的保护范围以内,并以引用方式包含于此。It should be noted that the computer equipment 3 is only an example, and other existing or future electronic products, if applicable to the present application, should also be included within the protection scope of the present application, and incorporated herein by reference .
在一些实施例中,所述存储器31中存储有计算机可读指令,所述计算机可读指令被所述至少一个处理器32执行时实现如所述的基于人工智能的线上信贷方法中的全部或者部分步 骤。所述存储器31包括易失性和非易失性存储器,例如随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable Read-Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、一次可编程只读存储器(One-time Programmable Read-Only Memory,OTPROM)、电子擦除式可复写只读存储器(Electrically-Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储器、磁盘存储器、磁带存储器、或者其他能够用于携带或存储数据的计算机可读的存储介质。所述计算机可读存储介质可以是非易失性,也可以是易失性的。。In some embodiments, the memory 31 stores computer readable instructions that, when executed by the at least one processor 32, implement all of the artificial intelligence-based online credit methods described above. or part of the steps. The memory 31 includes volatile and non-volatile memories, such as random access memory (Random Access Memory, RAM), read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable Read-Only memory) Memory, PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electronically Erasable Rewritable Only Memory Read-only memory (Electrically-Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other optical disk storage, magnetic disk storage, tape storage, or other capable of carrying or storing data computer-readable storage medium. The computer-readable storage medium may be non-volatile or volatile. .
进一步地,所述计算机可读存储介质可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function, and the like; The data created by the use of the node, etc.
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in this application is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
在一些实施例中,所述至少一个处理器32是所述计算机设备3的控制核心(Control Unit),利用各种接口和线路连接整个计算机设备3的各个部件,通过运行或执行存储在所述存储器31内的程序或者模块,以及调用存储在所述存储器31内的数据,以执行计算机设备3的各种功能和处理数据。例如,所述至少一个处理器32执行所述存储器中存储的计算机可读指令时实现本申请实施例中所述的基于人工智能的线上信贷方法的全部或者部分步骤;或者实现基于人工智能的线上信贷装置的全部或者部分功能。所述至少一个处理器32可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。In some embodiments, the at least one processor 32 is a control core (Control Unit) of the computer device 3, using various interfaces and lines to connect various components of the entire computer device 3, and by running or executing storage in the computer device 3 The programs or modules in the memory 31 and the data stored in the memory 31 are called to perform various functions of the computer device 3 and process data. For example, when the at least one processor 32 executes the computer-readable instructions stored in the memory, it implements all or part of the steps of the artificial intelligence-based online credit method described in the embodiments of the present application; or implements an artificial intelligence-based online credit method. All or part of the functionality of the online credit facility. The at least one processor 32 may be composed of integrated circuits, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits packaged with the same function or different functions, including one or more central processing units. (Central Processing unit, CPU), microprocessor, digital processing chip, graphics processor and combination of various control chips, etc.
在一些实施例中,所述至少一条通信总线33被设置为实现所述存储器31以及所述至少一个处理器32等之间的连接通信。In some embodiments, the at least one communication bus 33 is configured to enable connection communication between the memory 31 and the at least one processor 32 and the like.
尽管未示出,所述计算机设备3还可以包括给各个部件供电的电源(比如电池),优选的,电源可以通过电源管理装置与所述至少一个处理器32逻辑相连,从而通过电源管理装置实现管理充电、放电、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述计算机设备3还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。Although not shown, the computer device 3 may also include a power source (such as a battery) for supplying power to various components. Preferably, the power source may be logically connected to the at least one processor 32 through a power management device, so as to be implemented by the power management device Manage charging, discharging, and power management functions. The power source may also include one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, power status indicators, and any other components. The computer device 3 may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
上述以软件功能模块的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,计算机设备,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的部分。The above-mentioned integrated units implemented in the form of software functional modules may be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to make a computer device (which may be a personal computer, a computer device, or a network device, etc.) or a processor (processor) to execute the methods described in the various embodiments of the present application. part.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division, and there may be other division manners in actual implementation.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,既可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, and may be located in one place or distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware, or can be implemented in the form of hardware plus software function modules.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离 本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或,单数不排除复数。装置实施例中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It will be apparent to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, but that the present application can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Accordingly, the embodiments are to be regarded in all respects as illustrative and not restrictive, and the scope of the application is to be defined by the appended claims rather than the foregoing description, which is therefore intended to fall within the scope of the claims. All changes within the meaning and scope of the equivalents of , are included in this application. Any reference signs in the claims shall not be construed as limiting the involved claim. Furthermore, it is clear that the word "comprising" does not exclude other units or, and the singular does not exclude the plural. A plurality of units or devices stated in the device embodiments may also be implemented by one unit or device through software or hardware. The terms first, second, etc. are used to denote names and do not denote any particular order.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application rather than limitations. Although the present application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present application can be Modifications or equivalent substitutions can be made without departing from the spirit and scope of the technical solutions of the present application.

Claims (20)

  1. 一种基于人工智能的线上信贷方法,其中,所述方法包括:An artificial intelligence-based online credit method, wherein the method includes:
    获取信贷请求者阅读预设文本的双录视频;Obtain a double-recorded video of a credit requester reading preset text;
    根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读;Determine whether the reading is passed according to the preset text, the double-recorded video and the credit requester's certificate image;
    当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型;using a willingness recognition model to identify the type of willingness of the credit requester based on the double-recorded video when a pass reading is determined;
    当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码;When the willingness type is the target willingness type, receive the digital password input by the credit requester;
    根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名;generating a first public key according to the digital password, and generating a digital signature according to the first public key and the certificate image;
    根据所述数字签名生成信贷合同。A credit contract is generated based on the digital signature.
  2. 如权利要求1所述的基于人工智能的线上信贷方法,其中,所述根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读包括:The online credit method based on artificial intelligence according to claim 1, wherein the determining whether to pass the reading according to the preset text, the double-recorded video and the certificate image of the credit requester comprises:
    提取所述双录视频中的音频及提取所述双录视频中的多个帧图像;Extracting audio in the double-recording video and extracting multiple frame images in the dual-recording video;
    识别所述音频得到语音文本,并比对所述语音文本与所述预设文本,得到第一比对结果;Recognizing the audio to obtain voice text, and comparing the voice text and the preset text to obtain a first comparison result;
    比对所述多个帧图像及所述证件图像,得到第二比对结果;Comparing the plurality of frame images and the certificate images to obtain a second comparison result;
    根据所述第一比对结果及所述第二比对结果判断所述信贷请求者是否通过阅读。Whether the credit requester has passed the reading is determined according to the first comparison result and the second comparison result.
  3. 如权利要求2所述的基于人工智能的线上信贷方法,其中,所述提取所述双录视频中的多个帧图像包括:The artificial intelligence-based online credit method according to claim 2, wherein the extracting a plurality of frame images in the double-recorded video comprises:
    计算所述双录视频的双录时间;Calculate the double-recording time of the double-recording video;
    根据所述双录时间生成检测次数;Generate the number of detections according to the double recording time;
    根据所述双录时间及所述检测次数计算检测帧率;Calculate the detection frame rate according to the double recording time and the detection times;
    使用所述检测帧率从所述双录视频中提取多个帧图像。Extracting a plurality of frame images from the dual recording video using the detected frame rate.
  4. 如权利要求3所述的基于人工智能的线上信贷方法,其中,所述根据所述双录时间生成检测次数包括:The online credit method based on artificial intelligence as claimed in claim 3, wherein the generating the detection times according to the double recording time comprises:
    定义第一检测次数上下限及第二检测次数上下限;Define the upper and lower limits of the first detection times and the upper and lower limits of the second detection times;
    计算历史双录时间的平均时间值;Calculate the average time value of the historical double recording time;
    比较所述双录时间与所述平均时间值;comparing the double recording time with the average time value;
    当所述双录时间大于或者等于所述平均时间值,在所述第一检测次数上下限对应的数值范围内生成第一随机数,作为所述双录视频的检测次数;When the double-recording time is greater than or equal to the average time value, a first random number is generated within the numerical range corresponding to the upper and lower limits of the first detection times, as the detection times of the double-recording video;
    当所述双录时间小于所述平均时间值时,在所述第二检测次数上下限对应的数值范围内生成第二随机数,作为所述双录视频的检测次数。When the double-recording time is less than the average time value, a second random number is generated within a numerical range corresponding to the upper and lower limits of the second detection times as the detection times of the double-recording video.
  5. 如权利要求1至4中任意一项所述的基于人工智能的线上信贷方法,其中,所述意愿识别模型的训练过程包括:The online credit method based on artificial intelligence according to any one of claims 1 to 4, wherein the training process of the willingness recognition model comprises:
    获取多个意愿类型对应的多个双录视频,并识别每个意愿类型对应的每个双录视频中的语音文本;Acquire multiple double-recorded videos corresponding to multiple will types, and identify the voice text in each double-recorded video corresponding to each will type;
    对所述语音文本进行分行编码处理,得到多个编码向量;Carrying out line-by-line encoding processing to the speech text to obtain a plurality of encoding vectors;
    将每个编码向量输入至正向长短期记忆网络层中,得到第一向量,并将每个编码向量输入至反向长短期记忆网络层中,得到第二向量;Input each coding vector into the forward long short-term memory network layer to obtain the first vector, and input each coding vector into the reverse long short-term memory network layer to obtain the second vector;
    按照所述语音文本的行顺序将所述语音文本对应的多个第一向量及多个第二向量进行拼接,得到输入向量;The multiple first vectors and multiple second vectors corresponding to the voice text are spliced according to the row order of the voice text to obtain an input vector;
    根据所述意愿类型及所述意愿类型对应的输入向量生成特征向量;generating a feature vector according to the willingness type and the input vector corresponding to the willingness type;
    基于多个所述特征向量训练支持向量机,得到意愿类型识别模型。A support vector machine is trained based on a plurality of the feature vectors to obtain a willingness type identification model.
  6. 如权利要求5所述的基于人工智能的线上信贷方法,其中,所述根据所述数字密码生成第一公钥包括:The artificial intelligence-based online credit method according to claim 5, wherein the generating the first public key according to the digital password comprises:
    确定与所述数字密码对应的字符串;determining a character string corresponding to the digital password;
    计算所述字符串的散列值;compute the hash value of the string;
    获取第一系统参数及第二系统参数;Obtain the first system parameter and the second system parameter;
    利用所述第一系统参数、所述第二系统参数以及所述散列值计算符合El Gamal承诺的第一验证参数,将所述第一验证参数确定为第一公钥。Using the first system parameter, the second system parameter and the hash value to calculate the first verification parameter that complies with the El Gamal commitment, and determine the first verification parameter as the first public key.
  7. 如权利要求6所述的基于人工智能的线上信贷方法,其中,在所述根据所述数字签名生成信贷合同之后,所述方法还包括:The artificial intelligence-based online credit method according to claim 6, wherein, after the credit contract is generated according to the digital signature, the method further comprises:
    将所述第一公钥作为所述信贷合同的合同编码;using the first public key as the contract code of the credit contract;
    当接收到签核者的签核指令后,发送数字密码获取指令至所述信贷请求者的客户端;After receiving the sign-off instruction from the signer, sending a digital password acquisition instruction to the client of the credit requester;
    接收所述客户端发送的信贷请求者根据所述数字密码获取指令输入的数字密码;Receive the digital password sent by the client and input by the credit requester according to the digital password acquisition instruction;
    根据接收到的数字密码生成第二公钥;generating a second public key according to the received digital password;
    验证所述第二公钥与所述合同编码是否相同;verifying whether the second public key is the same as the contract code;
    当确定所述第二公钥与所述合同编码相同时,执行预设放款操作。When it is determined that the second public key is the same as the contract code, a preset lending operation is performed.
  8. 一种基于人工智能的线上信贷装置,其中,所述装置包括:An artificial intelligence-based online credit device, wherein the device includes:
    获取模块,用于获取信贷请求者阅读预设文本的双录视频;An acquisition module for acquiring a double-recorded video of a credit requester reading a preset text;
    判断模块,用于根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读;a judging module for judging whether the reading is passed according to the preset text, the double-recorded video and the credit requester's certificate image;
    识别模块,用于当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型;an identification module for identifying the credit requester's willingness type based on the double-recorded video using a willingness recognition model when it is determined to pass the reading;
    接收模块,用于当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码;a receiving module, configured to receive the digital password input by the credit requester when the willingness type is the target willingness type;
    签名模块,用于根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名;a signature module, configured to generate a first public key according to the digital password, and generate a digital signature according to the first public key and the certificate image;
    生成模块,用于根据所述数字签名生成信贷合同。A generating module for generating a credit contract according to the digital signature.
  9. 一种计算机设备,其中,所述计算机设备包括处理器,所述处理器用于执行存储器中存储的计算机可读指令以实现以下步骤:A computer device, wherein the computer device includes a processor for executing computer-readable instructions stored in a memory to implement the following steps:
    获取信贷请求者阅读预设文本的双录视频;Obtain a double-recorded video of a credit requester reading preset text;
    根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读;Determine whether the reading is passed according to the preset text, the double-recorded video and the credit requester's certificate image;
    当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型;using a willingness recognition model to identify the type of willingness of the credit requester based on the double-recorded video when a pass reading is determined;
    当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码;When the willingness type is the target willingness type, receive the digital password input by the credit requester;
    根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名;generating a first public key according to the digital password, and generating a digital signature according to the first public key and the certificate image;
    根据所述数字签名生成信贷合同。A credit contract is generated based on the digital signature.
  10. 如权利要求9所述的计算机设备,其中,所述处理器执行所述计算机可读指令以实现根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读时,具体包括:The computer device of claim 9, wherein the processor executes the computer-readable instructions to determine whether to read or not based on the preset text, the double-recorded video, and a credential image of the credit requester , including:
    提取所述双录视频中的音频及提取所述双录视频中的多个帧图像;Extracting audio in the double-recording video and extracting multiple frame images in the dual-recording video;
    识别所述音频得到语音文本,并比对所述语音文本与所述预设文本,得到第一比对结果;Recognizing the audio to obtain voice text, and comparing the voice text and the preset text to obtain a first comparison result;
    比对所述多个帧图像及所述证件图像,得到第二比对结果;Comparing the plurality of frame images and the certificate images to obtain a second comparison result;
    根据所述第一比对结果及所述第二比对结果判断所述信贷请求者是否通过阅读。Whether the credit requester has passed the reading is determined according to the first comparison result and the second comparison result.
  11. 如权利要求10所述的计算机设备,其中,所述处理器执行所述计算机可读指令以实现提取所述双录视频中的多个帧图像时,具体包括:The computer device according to claim 10, wherein, when the processor executes the computer-readable instructions to extract a plurality of frame images in the dual-recording video, it specifically includes:
    计算所述双录视频的双录时间;Calculate the double-recording time of the double-recording video;
    根据所述双录时间生成检测次数;Generate the number of detections according to the double recording time;
    根据所述双录时间及所述检测次数计算检测帧率;Calculate the detection frame rate according to the double recording time and the detection times;
    使用所述检测帧率从所述双录视频中提取多个帧图像。Extracting a plurality of frame images from the dual recording video using the detected frame rate.
  12. 如权利要求11所述的计算机设备,其中,所述处理器执行所述计算机可读指令以实现根据所述双录时间生成检测次数时,具体包括:The computer device according to claim 11, wherein, when the processor executes the computer-readable instructions to generate the number of detections according to the double-recording time, it specifically includes:
    定义第一检测次数上下限及第二检测次数上下限;Define the upper and lower limits of the first detection times and the upper and lower limits of the second detection times;
    计算历史双录时间的平均时间值;Calculate the average time value of the historical double recording time;
    比较所述双录时间与所述平均时间值;comparing the double recording time with the average time value;
    当所述双录时间大于或者等于所述平均时间值,在所述第一检测次数上下限对应的数值范围内生成第一随机数,作为所述双录视频的检测次数;When the double-recording time is greater than or equal to the average time value, a first random number is generated within the numerical range corresponding to the upper and lower limits of the first detection times, as the detection times of the double-recording video;
    当所述双录时间小于所述平均时间值时,在所述第二检测次数上下限对应的数值范围内生成第二随机数,作为所述双录视频的检测次数。When the double-recording time is less than the average time value, a second random number is generated within a numerical range corresponding to the upper and lower limits of the second detection times as the detection times of the double-recording video.
  13. 如权利要求9至12中任意一项所述的计算机设备,其中,所述意愿识别模型的训练过程包括:The computer device according to any one of claims 9 to 12, wherein the training process of the intention recognition model comprises:
    获取多个意愿类型对应的多个双录视频,并识别每个意愿类型对应的每个双录视频中的语音文本;Acquire multiple double-recorded videos corresponding to multiple will types, and identify the voice text in each double-recorded video corresponding to each will type;
    对所述语音文本进行分行编码处理,得到多个编码向量;Carrying out line-by-line encoding processing to the speech text to obtain a plurality of encoding vectors;
    将每个编码向量输入至正向长短期记忆网络层中,得到第一向量,并将每个编码向量输入至反向长短期记忆网络层中,得到第二向量;Input each coding vector into the forward long short-term memory network layer to obtain the first vector, and input each coding vector into the reverse long short-term memory network layer to obtain the second vector;
    按照所述语音文本的行顺序将所述语音文本对应的多个第一向量及多个第二向量进行拼接,得到输入向量;The multiple first vectors and multiple second vectors corresponding to the voice text are spliced according to the row order of the voice text to obtain an input vector;
    根据所述意愿类型及所述意愿类型对应的输入向量生成特征向量;generating a feature vector according to the willingness type and the input vector corresponding to the willingness type;
    基于多个所述特征向量训练支持向量机,得到意愿类型识别模型。A support vector machine is trained based on a plurality of the feature vectors to obtain a willingness type identification model.
  14. 如权利要求13所述的计算机设备,其中,所述处理器执行所述计算机可读指令以实现根据所述数字密码生成第一公钥时,具体包括:The computer device according to claim 13, wherein, when the processor executes the computer-readable instructions to generate the first public key according to the digital password, it specifically includes:
    确定与所述数字密码对应的字符串;determining a character string corresponding to the digital password;
    计算所述字符串的散列值;compute the hash value of the string;
    获取第一系统参数及第二系统参数;Obtain the first system parameter and the second system parameter;
    利用所述第一系统参数、所述第二系统参数以及所述散列值计算符合El Gamal承诺的第一验证参数,将所述第一验证参数确定为第一公钥。Using the first system parameter, the second system parameter and the hash value to calculate the first verification parameter that complies with the El Gamal commitment, and determine the first verification parameter as the first public key.
  15. 如权利要求14所述的计算机设备,其中,在所述根据所述数字签名生成信贷合同之后,所述处理器执行所述计算机可读指令还用以实现以下步骤:15. The computer device of claim 14, wherein, after said generating a credit contract based on said digital signature, said processor executing said computer-readable instructions further implements the following steps:
    将所述第一公钥作为所述信贷合同的合同编码;using the first public key as the contract code of the credit contract;
    当接收到签核者的签核指令后,发送数字密码获取指令至所述信贷请求者的客户端;After receiving the sign-off instruction from the signer, sending a digital password acquisition instruction to the client of the credit requester;
    接收所述客户端发送的信贷请求者根据所述数字密码获取指令输入的数字密码;Receive the digital password sent by the client and input by the credit requester according to the digital password acquisition instruction;
    根据接收到的数字密码生成第二公钥;generating a second public key according to the received digital password;
    验证所述第二公钥与所述合同编码是否相同;verifying whether the second public key is the same as the contract code;
    当确定所述第二公钥与所述合同编码相同时,执行预设放款操作。When it is determined that the second public key is the same as the contract code, a preset lending operation is performed.
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,其中,所述计算机可读指令被处理器执行时实现以下步骤:A computer-readable storage medium storing computer-readable instructions on the computer-readable storage medium, wherein the computer-readable instructions realize the following steps when executed by a processor:
    获取信贷请求者阅读预设文本的双录视频;Obtain a double-recorded video of a credit requester reading preset text;
    根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读;Determine whether the reading is passed according to the preset text, the double-recorded video and the credit requester's certificate image;
    当确定通过阅读时,使用意愿识别模型基于所述双录视频识别所述信贷请求者的意愿类型;using a willingness recognition model to identify the type of willingness of the credit requester based on the double-recorded video when a pass reading is determined;
    当所述意愿类型为目标意愿类型时,接收所述信贷请求者输入的数字密码;When the willingness type is the target willingness type, receive the digital password input by the credit requester;
    根据所述数字密码生成第一公钥,并根据所述第一公钥及所述证件图像生成数字签名;generating a first public key according to the digital password, and generating a digital signature according to the first public key and the certificate image;
    根据所述数字签名生成信贷合同。A credit contract is generated based on the digital signature.
  17. 如权利要求16所述的计算机可读存储介质,其中,所述计算机可读指令被所述处理器执行以实现根据所述预设文本、所述双录视频及所述信贷请求者的证件图像判断是否通过阅读时,具体包括:17. The computer-readable storage medium of claim 16, wherein the computer-readable instructions are executed by the processor to implement a credential image based on the preset text, the double-recorded video, and the credit requester When judging whether to pass the reading, it specifically includes:
    提取所述双录视频中的音频及提取所述双录视频中的多个帧图像;Extracting audio in the double-recording video and extracting multiple frame images in the dual-recording video;
    识别所述音频得到语音文本,并比对所述语音文本与所述预设文本,得到第一比对结果;Recognizing the audio to obtain voice text, and comparing the voice text and the preset text to obtain a first comparison result;
    比对所述多个帧图像及所述证件图像,得到第二比对结果;Comparing the plurality of frame images and the certificate images to obtain a second comparison result;
    根据所述第一比对结果及所述第二比对结果判断所述信贷请求者是否通过阅读。Whether the credit requester has passed the reading is determined according to the first comparison result and the second comparison result.
  18. 如权利要求17所述的计算机可读存储介质,其中,所述计算机可读指令被所述处理器执行以实现提取所述双录视频中的多个帧图像时,具体包括:The computer-readable storage medium according to claim 17, wherein, when the computer-readable instructions are executed by the processor to extract multiple frame images in the dual-recording video, the instructions specifically include:
    计算所述双录视频的双录时间;Calculate the double-recording time of the double-recording video;
    根据所述双录时间生成检测次数;Generate the number of detections according to the double recording time;
    根据所述双录时间及所述检测次数计算检测帧率;Calculate the detection frame rate according to the double recording time and the detection times;
    使用所述检测帧率从所述双录视频中提取多个帧图像。Extracting a plurality of frame images from the dual recording video using the detected frame rate.
  19. 如权利要求18所述的计算机可读存储介质,其中,所述计算机可读指令被所述处理器执行以实现根据所述双录时间生成检测次数时,具体包括:The computer-readable storage medium according to claim 18, wherein when the computer-readable instructions are executed by the processor to realize the generation of the number of detections according to the double-recording time, it specifically includes:
    定义第一检测次数上下限及第二检测次数上下限;Define the upper and lower limits of the first detection times and the upper and lower limits of the second detection times;
    计算历史双录时间的平均时间值;Calculate the average time value of the historical double recording time;
    比较所述双录时间与所述平均时间值;comparing the double recording time with the average time value;
    当所述双录时间大于或者等于所述平均时间值,在所述第一检测次数上下限对应的数值范围内生成第一随机数,作为所述双录视频的检测次数;When the double-recording time is greater than or equal to the average time value, a first random number is generated within the numerical range corresponding to the upper and lower limits of the first detection times, as the detection times of the double-recording video;
    当所述双录时间小于所述平均时间值时,在所述第二检测次数上下限对应的数值范围内生成第二随机数,作为所述双录视频的检测次数。When the double-recording time is less than the average time value, a second random number is generated within a numerical range corresponding to the upper and lower limits of the second detection times as the detection times of the double-recording video.
  20. 如权利要求16至19中任意一项所述的计算机可读存储介质,其中,所述意愿识别模型的训练过程包括:The computer-readable storage medium according to any one of claims 16 to 19, wherein the training process of the intention recognition model comprises:
    获取多个意愿类型对应的多个双录视频,并识别每个意愿类型对应的每个双录视频中的语音文本;Acquire multiple double-recorded videos corresponding to multiple will types, and identify the voice text in each double-recorded video corresponding to each will type;
    对所述语音文本进行分行编码处理,得到多个编码向量;Carrying out line-by-line encoding processing to the speech text to obtain a plurality of encoding vectors;
    将每个编码向量输入至正向长短期记忆网络层中,得到第一向量,并将每个编码向量输入至反向长短期记忆网络层中,得到第二向量;Input each coding vector into the forward long short-term memory network layer to obtain the first vector, and input each coding vector into the reverse long short-term memory network layer to obtain the second vector;
    按照所述语音文本的行顺序将所述语音文本对应的多个第一向量及多个第二向量进行拼接,得到输入向量;The multiple first vectors and multiple second vectors corresponding to the voice text are spliced according to the row order of the voice text to obtain an input vector;
    根据所述意愿类型及所述意愿类型对应的输入向量生成特征向量;generating a feature vector according to the willingness type and the input vector corresponding to the willingness type;
    基于多个所述特征向量训练支持向量机,得到意愿类型识别模型。A support vector machine is trained based on a plurality of the feature vectors to obtain a willingness type identification model.
PCT/CN2021/109394 2020-10-30 2021-07-29 Artificial intelligence-based online credit method and apparatus, computer device, and medium WO2022088805A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011198141.0 2020-10-30
CN202011198141.0A CN112258317B (en) 2020-10-30 2020-10-30 Online credit method, device, computer equipment and medium based on artificial intelligence

Publications (1)

Publication Number Publication Date
WO2022088805A1 true WO2022088805A1 (en) 2022-05-05

Family

ID=74268572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109394 WO2022088805A1 (en) 2020-10-30 2021-07-29 Artificial intelligence-based online credit method and apparatus, computer device, and medium

Country Status (2)

Country Link
CN (1) CN112258317B (en)
WO (1) WO2022088805A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112258317B (en) * 2020-10-30 2022-11-11 深圳壹账通智能科技有限公司 Online credit method, device, computer equipment and medium based on artificial intelligence

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867261A (en) * 2012-08-24 2013-01-09 深圳市亚略特生物识别科技有限公司 Fingerprint digital certificate-based electronic contract signing method
CN107844946A (en) * 2017-06-19 2018-03-27 深圳法大大网络科技有限公司 A kind of method, apparatus and server of electronic contract signature
CN108765131A (en) * 2018-05-18 2018-11-06 深圳壹账通智能科技有限公司 Credit authorization method, apparatus, terminal and readable storage medium storing program for executing based on micro- expression
US10133385B1 (en) * 2005-01-27 2018-11-20 Reynolds & Reynolds Holdings, Inc. Transaction automation and archival system using electronic contract disclosure units
CN109543516A (en) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 Signing intention judgment method, device, computer equipment and storage medium
CN109729383A (en) * 2019-01-04 2019-05-07 深圳壹账通智能科技有限公司 Double record video quality detection methods, device, computer equipment and storage medium
CN109840406A (en) * 2017-11-29 2019-06-04 百度在线网络技术(北京)有限公司 Living body verification method, device and computer equipment
CN110443692A (en) * 2019-07-04 2019-11-12 平安科技(深圳)有限公司 Enterprise's credit authorization method, apparatus, equipment and computer readable storage medium
CN111275540A (en) * 2020-01-14 2020-06-12 河南中原消费金融股份有限公司 Consumption credit approval method and device and terminal equipment
CN111275444A (en) * 2020-01-14 2020-06-12 深圳壹账通智能科技有限公司 Contract signing-based double recording method and device, terminal and storage medium
CN112258317A (en) * 2020-10-30 2021-01-22 深圳壹账通智能科技有限公司 Online credit method, device, computer equipment and medium based on artificial intelligence

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8194045B1 (en) * 2005-01-27 2012-06-05 Singleton Technology, Llc Transaction automation and archival system using electronic contract disclosure units
CN107707970B (en) * 2017-09-14 2019-11-15 深圳市佰仟金融服务有限公司 A kind of electronic contract signature method, system and terminal
CN109697665A (en) * 2018-12-15 2019-04-30 深圳壹账通智能科技有限公司 Loan checking method, device, equipment and medium based on artificial intelligence
CN110782335B (en) * 2019-09-19 2023-08-15 平安科技(深圳)有限公司 Method, device and storage medium for processing credit data based on artificial intelligence
CN111552833A (en) * 2020-03-30 2020-08-18 深圳壹账通智能科技有限公司 Intelligent double recording method, device and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10133385B1 (en) * 2005-01-27 2018-11-20 Reynolds & Reynolds Holdings, Inc. Transaction automation and archival system using electronic contract disclosure units
CN102867261A (en) * 2012-08-24 2013-01-09 深圳市亚略特生物识别科技有限公司 Fingerprint digital certificate-based electronic contract signing method
CN107844946A (en) * 2017-06-19 2018-03-27 深圳法大大网络科技有限公司 A kind of method, apparatus and server of electronic contract signature
CN109840406A (en) * 2017-11-29 2019-06-04 百度在线网络技术(北京)有限公司 Living body verification method, device and computer equipment
CN108765131A (en) * 2018-05-18 2018-11-06 深圳壹账通智能科技有限公司 Credit authorization method, apparatus, terminal and readable storage medium storing program for executing based on micro- expression
CN109543516A (en) * 2018-10-16 2019-03-29 深圳壹账通智能科技有限公司 Signing intention judgment method, device, computer equipment and storage medium
CN109729383A (en) * 2019-01-04 2019-05-07 深圳壹账通智能科技有限公司 Double record video quality detection methods, device, computer equipment and storage medium
CN110443692A (en) * 2019-07-04 2019-11-12 平安科技(深圳)有限公司 Enterprise's credit authorization method, apparatus, equipment and computer readable storage medium
CN111275540A (en) * 2020-01-14 2020-06-12 河南中原消费金融股份有限公司 Consumption credit approval method and device and terminal equipment
CN111275444A (en) * 2020-01-14 2020-06-12 深圳壹账通智能科技有限公司 Contract signing-based double recording method and device, terminal and storage medium
CN112258317A (en) * 2020-10-30 2021-01-22 深圳壹账通智能科技有限公司 Online credit method, device, computer equipment and medium based on artificial intelligence

Also Published As

Publication number Publication date
CN112258317B (en) 2022-11-11
CN112258317A (en) 2021-01-22

Similar Documents

Publication Publication Date Title
US11108546B2 (en) Biometric verification of a blockchain database transaction contributor
US10341123B2 (en) User identification management system and method
CN108521418B (en) Identity authentication method and system fusing block chain and biological feature recognition
US9483629B2 (en) Document authentication based on expected wear
TW202011242A (en) Blockchain cross-chain authentication method and system, and server and readable storage medium
WO2021021373A1 (en) Self-sovereign identity systems and methods for identification documents
US20130339749A1 (en) Distributed biometric data storage and validation
JP2020528675A (en) Encryption key management based on ID information
WO2022100349A1 (en) Artificial intelligence-based dual-recording quality inspection method and apparatus, computer device and medium
CN110290134A (en) A kind of identity identifying method, device, storage medium and processor
CN115270193B (en) Data file secure sharing method and device based on block chain and collaborative synchronization
Hossain et al. Improving cloud data security through hybrid verification technique based on biometrics and encryption system
JP2020529745A (en) Secure execution of cryptographic operations
CN111859431A (en) Electronic file signature method and device, electronic equipment and storage medium
WO2022088805A1 (en) Artificial intelligence-based online credit method and apparatus, computer device, and medium
CN110223075B (en) Identity authentication method and device, computer equipment and storage medium
US20200334430A1 (en) Self-sovereign identity systems and methods for identification documents
CN113486316A (en) User identity authentication method and device, electronic equipment and readable storage medium
US20200057871A1 (en) Apparatuses and methods for signing a legal document
CN105117920A (en) Anti-counterfeiting method and apparatus for picture electronic certificates
CN112862484A (en) Secure payment method and device based on multi-terminal interaction
US8910260B2 (en) System and method for real time secure image based key generation using partial polygons assembled into a master composite image
Prinslin et al. Secure online transaction with user authentication
US20120317639A1 (en) Biometric data system
EP3262553A1 (en) Method of transaction without physical support of a security identifier and without token, secured by the structural decoupling of the personal and service identifiers

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21884540

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/08/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21884540

Country of ref document: EP

Kind code of ref document: A1