[go: up one dir, main page]

CN109450867B - An identity authentication method, device and storage medium - Google Patents

An identity authentication method, device and storage medium Download PDF

Info

Publication number
CN109450867B
CN109450867B CN201811227867.5A CN201811227867A CN109450867B CN 109450867 B CN109450867 B CN 109450867B CN 201811227867 A CN201811227867 A CN 201811227867A CN 109450867 B CN109450867 B CN 109450867B
Authority
CN
China
Prior art keywords
information
identity
score
user
identity authentication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811227867.5A
Other languages
Chinese (zh)
Other versions
CN109450867A (en
Inventor
胡晓楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201811227867.5A priority Critical patent/CN109450867B/en
Publication of CN109450867A publication Critical patent/CN109450867A/en
Application granted granted Critical
Publication of CN109450867B publication Critical patent/CN109450867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • G06Q10/40
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明实施例公开了一种身份认证方法、装置及存储介质,应用于信息处理技术领域。获取到身份证件信息中n个维度的信息后,会向至少一个第三方信息系统分别获取与n个维度中m个维度的信息一致的多媒体信息,并将得到的各组多媒体信息中每个维度的信息分别与n个维度的信息进行匹配,最后根据得到的至少一组匹配结果计算出身份认证分值后,根据身份认证分值进行用户的身份认证。这样通过向第三方信息系统获取关于用户的多媒体信息,将多媒体信息与用户输入的身份证件信息进行比较后,可以从多方面的信息确定用户输入的身份证件信息是否真实,对用户的身份认证提供了安全性的保障;且可以扩展到对某类用户身份(比如职业身份)的认证。

The embodiment of the invention discloses an identity authentication method, device and storage medium, which are applied in the technical field of information processing. After obtaining the information of n dimensions in the identity document information, the multimedia information consistent with the information of m dimensions in the n dimensions will be obtained from at least one third-party information system, and each dimension of each set of multimedia information obtained will be The information is matched with the information in n dimensions, and finally the identity authentication score is calculated according to at least one set of matching results obtained, and the user's identity authentication is performed according to the identity authentication score. In this way, by obtaining multimedia information about the user from the third-party information system, and comparing the multimedia information with the ID information entered by the user, it can be determined from various information whether the ID information entered by the user is true, and the identity authentication of the user is provided. It guarantees security; and it can be extended to the authentication of certain types of user identities (such as professional identities).

Description

一种身份认证方法、装置及存储介质An identity authentication method, device and storage medium

技术领域technical field

本发明涉及信息处理技术领域,特别涉及一种身份认证方法、装置及存储介质。The present invention relates to the technical field of information processing, in particular to an identity authentication method, device and storage medium.

背景技术Background technique

现在很多应用系统为了用户的使用安全及应用系统中的信息安全,需要对登录到应用服务器的应用终端的用户进行身份认证,从而对使用应用终端的用户的可信度进行认证,如果认证通过,则允许该应用终端连接到应用服务器,以使用应用服务器的业务。Nowadays, many application systems need to authenticate the user of the application terminal who logs in to the application server for the safety of the user and the information security in the application system, so as to authenticate the credibility of the user who uses the application terminal. If the authentication is passed, Then the application terminal is allowed to connect to the application server to use the service of the application server.

现有的身份认证方案中,主要聚焦于个人或企业的实名认证,其特征是存在一个或多个政府机构或权威企业(如银行等),它们拥有用户实名的100%可信信息,并可通过一个唯一标识如纳税号,身份证号,身份证照片等对个人或企业进行实名认证。The existing identity authentication schemes mainly focus on the real-name authentication of individuals or enterprises, which is characterized by the existence of one or more government agencies or authoritative enterprises (such as banks, etc.), which have 100% credible information of the user's real name, and can Real-name authentication of individuals or companies through a unique identification such as tax ID number, ID number, ID photo, etc.

但是有些场景下,比如在有些学术系统(比如医学系统)中,需要对应用终端的使用用户的职业身份进行认证,而现有的身份认证方案并不能很好地使用这种场景。However, in some scenarios, such as in some academic systems (such as medical systems), it is necessary to authenticate the occupational identity of the user of the application terminal, and the existing identity authentication scheme cannot be well used in this scenario.

发明内容Contents of the invention

本发明实施例提供一种身份认证方法、装置及存储介质,实现了根据从第三方信息系统获取的多媒体信息及用户输入的身份证件信息,进行用户的身份认证。Embodiments of the present invention provide an identity authentication method, device, and storage medium, which realize user identity authentication based on multimedia information acquired from a third-party information system and identity document information input by the user.

本发明实施例第一方面提供一种身份认证方法,包括:The first aspect of the embodiment of the present invention provides an identity authentication method, including:

获取用户输入的身份证件信息,所述身份证件信息包括所述用户的n个维度的信息;Acquiring identity document information input by the user, where the identity document information includes n-dimension information of the user;

向至少一个第三方信息系统分别获取与所述n个维度中m个维度的信息一致的多媒体信息,得到至少一组多媒体信息;所述n是大于或等于m的整数,所述m是大于或等于1的整数;Acquiring multimedia information consistent with the information of m dimensions in the n dimensions from at least one third-party information system to obtain at least one set of multimedia information; the n is an integer greater than or equal to m, and the m is greater than or equal to an integer equal to 1;

将所述至少一组多媒体信息中每个维度的信息分别与所述n个维度的信息进行匹配,得到至少一组匹配结果;matching the information of each dimension in the at least one set of multimedia information with the information of the n dimensions respectively, to obtain at least one set of matching results;

根据所述至少一组匹配结果计算身份认证分值;calculating an identity authentication score based on the at least one set of matching results;

如果所述身份认证分值在预置范围内,则所述用户的身份认证通过。If the identity authentication score is within a preset range, the user's identity authentication is passed.

本发明实施例第二方面提供一种身份认证装置,包括:The second aspect of the embodiment of the present invention provides an identity authentication device, including:

证件信息获取单元,用于获取用户输入的身份证件信息,所述身份证件信息包括所述用户的n个维度的信息;A certificate information acquisition unit, configured to obtain identity certificate information input by a user, where the identity certificate information includes n-dimensional information of the user;

多媒体获取单元,用于向至少一个第三方信息系统分别获取与所述n个维度中m个维度的信息一致的多媒体信息,得到至少一组多媒体信息;所述n是大于或等于m的整数,所述m是大于或等于1的整数;The multimedia acquisition unit is used to acquire multimedia information consistent with the information of m dimensions in the n dimensions from at least one third-party information system, and obtain at least one set of multimedia information; the n is an integer greater than or equal to m, The m is an integer greater than or equal to 1;

匹配单元,用于将所述至少一组多媒体信息中每个维度的信息分别与所述n个维度的信息进行匹配,得到至少一组匹配结果;A matching unit, configured to match the information of each dimension in the at least one set of multimedia information with the information of the n dimensions respectively, to obtain at least one set of matching results;

分值计算单元,用于根据所述至少一组匹配结果计算身份认证分值;A score calculation unit, configured to calculate an identity authentication score according to the at least one set of matching results;

认证单元,用于如果所述身份认证分值在预置范围内,则所述用户的身份认证通过。An authentication unit, configured to pass the user's identity authentication if the identity authentication score is within a preset range.

本发明实施例第三方面提供一种存储介质,所述存储介质储存多条指令,所述指令适于由处理器加载并执行如本发明实施例第一方面所述的身份认证方法。The third aspect of the embodiment of the present invention provides a storage medium, the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the identity authentication method according to the first aspect of the embodiment of the present invention.

本发明实施例第四方面提供一种服务器,包括处理器和存储介质,所述处理器,用于实现各个指令;A fourth aspect of the embodiments of the present invention provides a server, including a processor and a storage medium, and the processor is configured to implement various instructions;

所述存储介质用于储存多条指令,所述指令用于由处理器加载并执行如本发明实施例第一方面所述的身份认证方法。The storage medium is used to store a plurality of instructions, and the instructions are used to be loaded by a processor and execute the identity authentication method according to the first aspect of the embodiment of the present invention.

可见,在本实施例的方法中,身份认证装置在获取到身份证件信息中n个维度的信息后,会向至少一个第三方信息系统分别获取与n个维度中m个维度的信息一致的多媒体信息,并将得到的各组多媒体信息中每个维度的信息分别与n个维度的信息进行匹配,最后根据得到的至少一组匹配结果计算出身份认证分值后,根据身份认证分值进行用户的身份认证。这样,通过向第三方信息系统获取关于用户的多媒体信息,从而将这些多媒体信息与用户输入的身份证件信息进行比较后,可以进一步地从多方面的信息确定用户输入的身份证件信息是否真实,对用户的身份认证提供了安全性的保障;且不局限于通过某些权威机构对用户进行实名认证,而可以扩展到对某类不具有权威机构认证的用户身份(比如职业身份)的认证。It can be seen that, in the method of this embodiment, after the identity authentication device obtains the information of n dimensions in the identity document information, it will respectively obtain the multimedia information consistent with the information of m dimensions in the n dimensions from at least one third-party information system. Information, and match the information of each dimension in each group of multimedia information obtained with the information of n dimensions respectively, and finally calculate the identity authentication score based on at least one set of matching results obtained, and then perform user authentication based on the identity authentication score. authentication. In this way, by obtaining multimedia information about the user from a third-party information system, and comparing the multimedia information with the ID information entered by the user, it can be further determined from various information whether the ID information entered by the user is authentic. The user's identity authentication provides security guarantee; and it is not limited to the real-name authentication of users through certain authority organizations, but can be extended to the authentication of certain types of user identities (such as professional identities) that do not have authority authority authentication.

附图说明Description of drawings

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

图1是本发明实施例提供的一种身份认证方法所应用于的场景示意图;FIG. 1 is a schematic diagram of a scenario where an identity authentication method provided by an embodiment of the present invention is applied;

图2是本发明一个实施例提供的一种身份认证方法的流程图;Fig. 2 is a flow chart of an identity authentication method provided by an embodiment of the present invention;

图3是本发明一个实施例中身份认证装置显示的信息输入界面的示意图;Fig. 3 is a schematic diagram of an information input interface displayed by an identity authentication device in an embodiment of the present invention;

图4是本发明应用实施例提供的一种身份认证方法所应用于的场景的示意图;Fig. 4 is a schematic diagram of a scenario where an identity authentication method provided by an application embodiment of the present invention is applied;

图5是本发明应用实施例提供的一种身份认证方法的流程图;Fig. 5 is a flow chart of an identity authentication method provided by an application embodiment of the present invention;

图6是本发明应用实施例中医学应用终端显示的用户界面的示意图;6 is a schematic diagram of a user interface displayed by a medical application terminal in an application embodiment of the present invention;

图7是本发明应用实施例中医学应用终端显示的认证通过的信息的示意图;Fig. 7 is a schematic diagram of the authentication passing information displayed on the medical application terminal in the application embodiment of the present invention;

图8是本发明实施例提供的一种身份认证装置的结构示意图;Fig. 8 is a schematic structural diagram of an identity authentication device provided by an embodiment of the present invention;

图9是本发明实施例提供的一种服务器的结构示意图。FIG. 9 is a schematic structural diagram of a server provided by an embodiment of the present invention.

具体实施方式Detailed ways

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

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排它的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of practice in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements need not be limited to the expressly listed Instead, other steps or elements not explicitly listed or inherent to the process, method, product or apparatus may be included.

本发明实施例提供一种身份认证方法,主要可以应用于如图1所示的场景中,在该场景中可以包括身份认证装置和至少一个第三方信息系统(图1中以t个为例说明),其中,身份认证装置用于根据用户输入的身份证件信息对用户的身份(比如职业身份)进行认证;第三方信息系统用于提供与用户输入的身份证件信息相关的信息。An embodiment of the present invention provides an identity authentication method, which can be mainly applied to the scenario shown in Figure 1, which may include an identity authentication device and at least one third-party information system (in Figure 1, t is used as an example to illustrate ), wherein the identity authentication device is used to authenticate the user's identity (such as professional identity) according to the identity document information input by the user; the third-party information system is used to provide information related to the identity document information input by the user.

在具体的实施例中,身份认证装置可以是某一应用系统中的应用服务器,而用户可以通过该应用系统中的应用终端向应用服务器上传身份证件信息。In a specific embodiment, the identity authentication device may be an application server in a certain application system, and the user may upload identity certificate information to the application server through the application terminal in the application system.

具体地,在本发明实施例中,身份认证装置可以通过如下步骤实现对用户的身份认证:Specifically, in the embodiment of the present invention, the identity authentication device can realize the identity authentication of the user through the following steps:

获取用户输入的身份证件信息,所述身份证件信息包括所述用户的n个维度的信息;向至少一个第三方信息系统分别获取与所述n个维度中m个维度的信息一致的多媒体信息,得到至少一组多媒体信息;所述n是大于或等于m的整数,所述m是大于或等于1的整数;将各组多媒体信息中每个维度的信息分别与所述n个维度的信息进行匹配,得到至少一组匹配结果;根据所述至少一组匹配结果计算身份认证分值;如果所述身份认证分值在预置范围内,则所述用户的身份认证通过。Obtaining the identity document information input by the user, the identity document information including information of n dimensions of the user; obtaining multimedia information consistent with the information of m dimensions in the n dimensions from at least one third-party information system, At least one set of multimedia information is obtained; the n is an integer greater than or equal to m, and the m is an integer greater than or equal to 1; the information of each dimension in each set of multimedia information is respectively compared with the information of the n dimensions Matching, obtaining at least one set of matching results; calculating an identity authentication score according to the at least one set of matching results; if the identity authentication score is within a preset range, the identity authentication of the user is passed.

这样,通过向第三方信息系统获取关于用户的多媒体信息,从而将这些多媒体信息与用户输入的身份证件信息进行比较后,可以进一步地从多方面的信息确定用户输入的身份证件信息是否真实,对用户的身份认证提供了安全性的保障;且不局限于通过某些权威机构对用户进行实名认证,而可以扩展到对某类不具有权威机构认证的用户身份(比如职业身份)的认证。In this way, by obtaining multimedia information about the user from a third-party information system, and comparing the multimedia information with the ID information entered by the user, it can be further determined from various information whether the ID information entered by the user is authentic. The user's identity authentication provides security guarantee; and it is not limited to the real-name authentication of users through certain authority organizations, but can be extended to the authentication of certain types of user identities (such as professional identities) that do not have authority authority authentication.

本发明实施例提供一种身份认证方法,主要是身份认证装置所执行的方法,流程图如图2所示,包括:An embodiment of the present invention provides an identity authentication method, which is mainly a method executed by an identity authentication device. The flow chart is shown in Figure 2, including:

步骤101,获取用户输入的身份证件信息,身份证件信息包括用户的n个维度的信息。In step 101, the identity document information input by the user is acquired, and the identity document information includes information of n dimensions of the user.

可以理解,一种情况下,本实施例的身份认证装置可以是某一应用系统中的应用服务器,这样用户可以通过该应用系统中应用终端提供的用户界面,输入身份证件信息,而应用终端会将用户输入的身份证件信息携带在身份认证请求中发送给应用服务器,以请求应用服务器对用户的身份进行认证;当应用服务器在接收到身份认证请求后,从身份认证请求中提取到身份证件信息,并发起本实施例的身份认证流程。It can be understood that in one case, the identity authentication device in this embodiment may be an application server in a certain application system, so that the user can input identity certificate information through the user interface provided by the application terminal in the application system, and the application terminal will Carry the ID information entered by the user in the identity authentication request and send it to the application server to request the application server to authenticate the user's identity; when the application server receives the identity authentication request, it extracts the identity information from the identity authentication request , and initiate the identity authentication process of this embodiment.

另一种情况下,用户可以操作身份认证装置,使得身份认证装置直接显示信息输入界面,该信息输入界面包括证件信息输入接口,这样用户可以从证件信息输入接口输入身份证件信息;且身份认证装置从证件信息输入接口接收用户输入的身份证件信息。In another case, the user can operate the identity authentication device so that the identity authentication device directly displays an information input interface, and the information input interface includes a credential information input interface, so that the user can input identity certificate information from the credential information input interface; and the identity authentication device The identity certificate information input by the user is received from the certificate information input interface.

例如图3所示为身份认证装置显示的信息输入界面,包括“输入身份证”的按钮、“输入行医资格证”的按钮、“输入执业资格证”的按钮及“确认提交”按钮,其中,“输入身份证”的按钮、“输入行医资格证”的按钮和“输入执业资格证”的按钮为证件信息输入接口。当用户点击某一按钮,比如点击“输入身份证”的按钮,则身份认证装置会开启图像拍摄功能,以方便身份认证装置拍摄用户的身份证图像。For example, Fig. 3 shows the information input interface displayed by the identity authentication device, including the button of "input ID card", the button of "input medical qualification certificate", the button of "input practicing qualification certificate" and the button of "confirm and submit", wherein, The button of "input ID card", the button of "input medical qualification certificate" and the button of "input practice qualification certificate" are the document information input interface. When the user clicks a certain button, such as the button of "input ID card", the identity authentication device will start the image capture function, so that the identity authentication device can capture the image of the user's ID card.

这里,身份证件信息可以是一个或多个身份证件的信息,比如身份证图像,资格证图像等;而每个身份证件的信息中可以包括一个或多个维度的信息,且任意两个身份证件的信息之间可以包括相同维度的信息,例如,身份证图像中包括用户姓名、身份证号码和用户头像等维度的信息,在资格证图像中包括用户姓名、用户头像和资格证号码等维度的信息,这样,身份证图像和资格证图像中都包括用户姓名和用户头像这两个维度的信息。Here, the identity document information can be information of one or more identity documents, such as ID card image, qualification certificate image, etc.; and the information of each identity document can include information of one or more dimensions, and any two identity documents The information can include information of the same dimension. For example, the ID card image includes information of dimensions such as user name, ID number, and user avatar, and the qualification image includes information of dimensions such as user name, user avatar, and qualification certificate number. In this way, both the ID card image and the qualification certificate image include the information of the two dimensions of the user's name and the user's avatar.

需要说明的是,身份认证装置在执行了本步骤101后,可以有如下几种情况:It should be noted that, after the identity authentication device executes step 101, the following situations may occur:

在一种情况下,如果身份认证装置在执行本步骤101时,获取的身份证件信息中包括多个身份证件的信息,且任意两个身份证件的信息之间具有至少一个相同维度的信息,则身份认证装置在执行了步骤101后,可以先将任意两个身份证件的信息之间,相同维度的信息进行匹配,如果任一相同维度的信息不匹配,则用户的身份认证未通过,结束流程;如果每个相同维度的信息都相匹配,则继续执行如下步骤102到105。In one case, if the identity authentication device obtains information on multiple identity documents when performing step 101, and any two identity documents have information of at least one dimension of the same dimension, then After the identity authentication device executes step 101, it can first match the information of the same dimension between the information of any two identity documents, if any information of the same dimension does not match, the user's identity authentication fails, and the process ends ; If all information of the same dimension matches, proceed to the following steps 102 to 105.

例如,身份认证装置获取到身份证图像和资格证图像,且这两个图像中都包括用户姓名和用户头像这两个维度的信息,则身份认证装置会向将这两个图像中的用户姓名进行匹配,且将这两个图像中的用户头像进行匹配,如果两个图像之间的用户姓名或用户头像不一致,则用户的身份认证未通过,结束流程;如果两个图像之间的用户姓名一致,且用户头像一致,才会继续执行如下步骤102。For example, if the identity authentication device acquires an ID card image and a qualification certificate image, and both images include the two-dimensional information of the user name and user avatar, the identity authentication device will send the user name in the two images Match, and match the user avatars in the two images, if the user name or user avatar between the two images is inconsistent, the user's identity authentication has not passed, and the process ends; if the user name between the two images If they are consistent, and the user avatar is consistent, the following step 102 will be executed.

在另一种情况下,身份认证装置在执行了本步骤101后,可以先发送认证请求给第三方认证装置,该认证请求用于请求第三方认证装置对上述获取的n个维度的信息中的某些信息进行认证;如果接收到第三方认证装置返回的认证通过的信息,身份认证装置才会继续执行步骤102;如果接收到第三方认证装置返回的认证未通过的信息,身份认证装置会结束流程。其中,需要向第三方认证装置认证的某些信息可以包括用户姓名,身份证号码等信息,而第三方认证装置属于政府机构或权威企业(比如银行)等可信度较高机构的装置,这样对某些信息的认证才会较安全。In another case, after the identity authentication device executes step 101, it may first send an authentication request to the third-party authentication device, and the authentication request is used to request the third-party authentication device to verify the Certain information is authenticated; if the authentication passing information returned by the third-party authentication device is received, the identity authentication device will continue to perform step 102; if the authentication failed information returned by the third-party authentication device is received, the identity authentication device will end process. Among them, some information that needs to be authenticated by a third-party authentication device may include user name, ID number and other information, and the third-party authentication device belongs to a device with a high degree of credibility such as a government agency or an authoritative enterprise (such as a bank). Authentication of certain information is more secure.

例如,在n个维度的信息中包括用户姓名和身份证号码,则身份认证装置可以向公安部身份认证系统发送认证请求,在认证请求中包括用户姓名和身份证号码,以请求公安部身份认证系统对用户姓名和身份证号码进行认证。For example, if the n-dimensional information includes the user name and ID number, the identity authentication device can send an authentication request to the identity authentication system of the Ministry of Public Security, and include the user name and ID number in the authentication request to request the identity authentication of the Ministry of Public Security. The system authenticates the user's name and ID number.

另外,在其它情况下,如果该身份认证装置是应用系统中的应用服务器,则身份认证装置在向某一第三方信息系统获取多媒体信息之前,还可以向应用终端发送授权请求,该授权请求用于请求应用终端向该身份认证装置授权获取某一第三方信息系统中的多媒体信息;当应用终端接收到授权请求后,会进行用户提示,以提示用户选择接受或拒绝该授权请求,如果用户选择接受该授权请求,则应用终端向身份认证装置发送确认授权的信息;当身份认证装置接收到应用终端根据授权请求返回的确认授权的信息,则向该第三方信息系统获取与n个维度中m个维度的信息一致的多媒体信息。In addition, in other cases, if the identity authentication device is an application server in the application system, before the identity authentication device obtains multimedia information from a third-party information system, it can also send an authorization request to the application terminal, and the authorization request uses To request the application terminal to authorize the identity authentication device to obtain multimedia information in a third-party information system; when the application terminal receives the authorization request, it will prompt the user to choose to accept or reject the authorization request. If the user chooses Accepting the authorization request, the application terminal sends authorization confirmation information to the identity authentication device; when the identity authentication device receives the authorization confirmation information returned by the application terminal according to the authorization request, it obtains the m Multimedia information consistent with the information of each dimension.

而如果用户选择拒绝该授权请求,则应用终端向身份认证装置发送拒绝授权的信息;当身份认证装置接收到应用终端根据授权请求返回的拒绝授权的信息,则不会向该第三方信息系统获取与n个维度中m个维度的信息一致的多媒体信息。这样,用户的有些信息就不会被身份认证装置获取,而保证了用户的信息安全。And if the user chooses to reject the authorization request, the application terminal will send the authorization rejection information to the identity authentication device; when the identity authentication device receives the authorization rejection information returned by the application terminal according to the authorization request, it will not obtain information from the third-party information system. Multimedia information consistent with information in m dimensions out of n dimensions. In this way, some information of the user will not be obtained by the identity authentication device, thereby ensuring the security of the user's information.

步骤102,向至少一个第三方信息系统分别获取与n个维度中m个维度的信息一致的多媒体信息,得到至少一组多媒体信息;这里n是大于或等于m的整数,m是大于或等于1的整数。Step 102, obtain multimedia information consistent with information in m dimensions in n dimensions from at least one third-party information system, and obtain at least one set of multimedia information; where n is an integer greater than or equal to m, and m is greater than or equal to 1 an integer of .

这里第三方信息系统是指与身份认证装置处于不同系统的,用于提供信息的系统,比如微博系统,新闻系统等。且身份认证装置在向不同第三方信息系统获取多媒体信息时所基于的信息的维度数可以相同,也可以不同,例如,身份认证装置向第三方信息系统1获取与3个维度的信息一致的一组多媒体信息,而向第三方信息系统2获取与2个维度的信息一致的一组多媒体信息.Here, the third-party information system refers to a system that is in a different system from the identity authentication device and is used to provide information, such as a microblog system, a news system, and the like. And the number of dimensions of the information based on which the identity authentication device acquires multimedia information from different third-party information systems may be the same or different. A set of multimedia information, and a set of multimedia information consistent with the information of the two dimensions is obtained from the third-party information system 2.

具体地,身份认证装置在向某一第三方信息系统获取对应的一组多媒体信息时,可以根据m个维度的信息,在第三方信息系统中搜索对应的至少一条多媒体信息,每条多媒体信息中都包括这m个维度的信息,且还可以包括该用户的其它维度的信息。Specifically, when the identity authentication device obtains a corresponding set of multimedia information from a third-party information system, it can search for at least one piece of corresponding multimedia information in the third-party information system according to the information of m dimensions, and each piece of multimedia information All include information of the m dimensions, and may also include information of other dimensions of the user.

这里的多媒体信息可以是文本,视频或文字等格式的信息。The multimedia information here may be information in formats such as text, video or text.

步骤103,将各组多媒体信息中各个维度的信息分别与上述n个维度的信息进行匹配,得到至少一组匹配结果。Step 103, matching the information of each dimension in each group of multimedia information with the information of the n dimensions mentioned above to obtain at least one set of matching results.

具体地,身份认证装置得到的每组匹配结果中包括:一组组多媒体信息中各个维度的信息与上述n个维度的信息是否匹配或未匹配到的信息。其中,如果上述n个维度的信息中包括该组多媒体信息中某一维度的信息,在匹配结果中可以包括:该维度的信息与上述n个维度的信息相匹配或不相匹配的信息;如果上述n个维度的信息中不包括该组多媒体信息中某一维度的信息,则在匹配结果中包括:该维度的信息在上述n个维度的信息未匹配到的信息。Specifically, each set of matching results obtained by the identity authentication device includes information on whether the information of each dimension in the group of multimedia information matches or does not match the information of the above n dimensions. Wherein, if the information of the above n dimensions includes information of a certain dimension in the group of multimedia information, the matching result may include: the information of this dimension matches or does not match the information of the above n dimensions; if If the information of the above n dimensions does not include the information of a certain dimension in the group of multimedia information, the matching result includes: the information of this dimension is not matched with the information of the above n dimensions.

例如,身份认证装置得到的多媒体信息为多媒体信息组1,多媒体信息组2,……,多媒体信息组x,身份认证装置可以将多媒体信息组1中各个维度的信息分别与n个维度的信息进行匹配,得到匹配结果1,具体包括:多媒体信息组1中各个维度的信息分别与上述n个维度的信息是否相匹配或未匹配到的信息;For example, the multimedia information obtained by the identity authentication device is multimedia information group 1, multimedia information group 2, ..., multimedia information group x, and the identity authentication device can compare the information of each dimension in multimedia information group 1 with the information of n dimensions respectively Matching to obtain a matching result 1, which specifically includes: whether the information of each dimension in the multimedia information group 1 matches or does not match the information of the above n dimensions;

身份认证装置将多媒体信息组2中各个维度的信息分别与上述n个维度信息进行匹配,得到匹配结果2,具体包括:多媒体信息组2中各个维度的信息分别与上述n个维度的信息是否相匹配或未匹配到的信息;The identity authentication device matches the information of each dimension in the multimedia information group 2 with the information of the above n dimensions respectively, and obtains the matching result 2, which specifically includes: whether the information of each dimension in the multimedia information group 2 is consistent with the information of the above n dimensions Matched or not matched information;

……;...;

身份认证装置可以将多媒体信息组x中各个维度的信息分别与上述n个维度的信息进行匹配,得到匹配结果x,具体包括:多媒体信息组x中各个维度的信息分别上述n个维度的信息是否相匹配或未匹配到的信息。The identity authentication device can match the information of each dimension in the multimedia information group x with the information of the above n dimensions respectively to obtain the matching result x, which specifically includes: whether the information of each dimension in the multimedia information group x is the information of the above n dimensions respectively Matched or not matched information.

步骤104,根据至少一组匹配结果计算身份认证分值。一般情况下,身份认证装置在计算身份认证分值时,可以按照一定的预置策略进行计算,具体地,预置策略可以包括:将每组匹配结果中的信息进行量化后,再根据量化值,及量化值与身份认证分值之间一定的函数对应关系,计算身份认证分值。Step 104, calculating an identity authentication score according to at least one set of matching results. In general, when the identity authentication device calculates the identity authentication score, it can calculate according to a certain preset strategy. Specifically, the preset strategy can include: after quantifying the information in each group of matching results, and then according to the quantified value , and a certain functional correspondence between the quantified value and the identity authentication score, to calculate the identity authentication score.

具体地,如果上述步骤103得到的每组匹配结果中包括:一组多媒体信息中各个维度的信息分别与上述n个维度的信息是否匹配或未匹配到的信息,则身份认证装置在计算身份认证值时,可以先根据每组匹配结果中各个维度的信息是否匹配或未匹配到的信息,及预置的计分策略,统计每组匹配结果对应的总计分值;然后根据至少一组匹配结果分别对应的总计分值,计算身份认证分值。Specifically, if each group of matching results obtained in the above step 103 includes: whether the information of each dimension in a group of multimedia information matches or does not match the information of the above n dimensions, the identity authentication device calculates the identity authentication value, you can first count the total score corresponding to each group of matching results according to whether the information of each dimension in each group of matching results matches or does not match, and the preset scoring strategy; then according to at least one group of matching results The respective corresponding total scores are used to calculate the identity authentication scores.

其中,预置的计分策略可以包括:对于一组匹配结果中一项相匹配的信息,则对应计分为第一数值(比如2);对于一组匹配结果中一项不相匹配的信息,则对应计分为第二数值(比如0);对于一组匹配结果中一项未匹配到的信息,则对应计分为第三数值(比如1)。这样每组匹配结果对应的总计分值为一组多媒体信息中各个维度的信息的匹配结果对应的计分值的和值。Among them, the preset scoring strategy may include: for information that matches one item in a set of matching results, the corresponding score is the first value (such as 2); for information that does not match one item in a set of matching results , the corresponding score is the second value (for example, 0); for a piece of information that is not matched in a set of matching results, the corresponding score is the third value (for example, 1). In this way, the total score value corresponding to each group of matching results is the sum of the score values corresponding to the matching results of information of each dimension in a group of multimedia information.

例如,一组匹配结果中包括:一组多媒体信息中维度1的信息与上述n个维度的信息相匹配,则对应计为第一数值a1,一组多媒体信息中维度2的信息与上述n个维度的信息不相匹配,则对应计为第二数值a2,一组多媒体信息中维度3的信息在上述n个维度的信息中未匹配,则对应计为第三数值a3,则该组匹配结果对应的总计分值为a1、a2和a3的和值。For example, a set of matching results includes: the information of dimension 1 in a set of multimedia information matches the information of the above n dimensions, then the corresponding count is the first value a1, and the information of dimension 2 in a set of multimedia information matches the information of the above n dimensions If the dimension information does not match, it is correspondingly counted as the second value a2, and the information of dimension 3 in a group of multimedia information does not match in the information of the above n dimensions, then it is correspondingly counted as the third value a3, and the matching result of this group The corresponding total score is the sum of a1, a2 and a3.

进一步地,身份认证装置在根据至少一组匹配结果分别对应的总计分值计算身份认证分值时,会分别计算每组匹配结果对应的总计分值,与对应组匹配结果对应的最高可能分值的比值;然后将各组匹配结果对应的比值的函数计算值作为身份认证分值。Further, when the identity authentication device calculates the identity authentication score based on the total score corresponding to at least one group of matching results, it will respectively calculate the total score corresponding to each group of matching results, and the highest possible score corresponding to the corresponding group of matching results The ratio; then the function calculation value of the ratio corresponding to each group of matching results is used as the identity authentication score.

其中,由于一般情况下,当一组多媒体信息中各个维度的信息都与上述n个维度的信息相匹配时,计分值最高,即上述第一数值比第二数值和第二数值都大,则某一组匹配结果对应的最高可能分值是指:一组多媒体信息中各个维度的信息分别与上述n个维度的信息都相匹配时的总积分值,假设一组多媒体信息中包括y个维度的信息,则最高可能分值为y倍的第一数值。Wherein, under normal circumstances, when the information of each dimension in a set of multimedia information matches the information of the above n dimensions, the scoring value is the highest, that is, the above-mentioned first value is greater than both the second value and the second value, Then the highest possible score corresponding to a certain group of matching results refers to: the total integral value when the information of each dimension in a group of multimedia information matches the information of the above n dimensions, assuming that a group of multimedia information includes y Dimension information, the highest possible score is y times the first value.

且身份认证装置在将各组匹配结果对应的比值的函数计算值作为身份认证分值时,可以将各组匹配结果对应的比值的和值作为身份认证分值,或者,将各组匹配结果对应的比值的加权和值作为身份认证分值。And when the identity authentication device uses the function calculation value of the ratio corresponding to each group of matching results as the identity authentication score, it can use the sum of the ratios corresponding to each group of matching results as the identity authentication score, or use the corresponding value of each group of matching results as the identity authentication score. The weighted sum of the ratios is used as the identity authentication score.

步骤105,如果身份认证分值在预置范围内,则用户的身份认证通过,如果身份认证分值不在预置范围内,则用户的身份认证未通过。Step 105, if the identity authentication score is within the preset range, the user's identity authentication is passed; if the identity authentication score is not within the preset range, the user's identity authentication is not passed.

进一步地,身份认证装置还会进行用户提示,如果用户的身份认证通过,则提示用户;如果用户的身份认证未通过,则提示用户未通过。Further, the identity authentication device will also prompt the user, if the user's identity authentication is passed, the user will be prompted; if the user's identity authentication is not passed, the user will be prompted not to pass.

可见,在本实施例的方法中,身份认证装置在获取到身份证件信息中n个维度的信息后,会向至少一个第三方信息系统分别获取与n个维度中m个维度的信息一致的多媒体信息,并将得到的至少一组多媒体信息中各个维度的信息分别与上述n个维度的信息进行匹配,最后根据得到的至少一组匹配结果计算出身份认证分值后,根据身份认证分值进行用户的身份认证。这样,通过向第三方信息系统获取关于用户的多媒体信息,从而将这些多媒体信息与用户输入的身份证件信息进行比较后,可以进一步地从多方面的信息确定用户输入的身份证件信息是否真实,对用户的身份认证提供了安全性的保障;且不局限于通过某些权威机构对用户进行实名认证,而可以扩展到对某类不具有权威机构认证的用户身份(比如职业身份)的认证。It can be seen that, in the method of this embodiment, after the identity authentication device obtains the information of n dimensions in the identity document information, it will respectively obtain the multimedia information consistent with the information of m dimensions in the n dimensions from at least one third-party information system. information, and match the information of each dimension in at least one set of multimedia information obtained with the information of the above n dimensions respectively, and finally calculate the identity authentication score according to the obtained at least one set of matching results, and then proceed according to the identity authentication score. User authentication. In this way, by obtaining multimedia information about the user from a third-party information system, and comparing the multimedia information with the ID information entered by the user, it can be further determined from various information whether the ID information entered by the user is authentic. The user's identity authentication provides security guarantee; and it is not limited to the real-name authentication of users through certain authority organizations, but can be extended to the authentication of certain types of user identities (such as professional identities) that do not have authority authority authentication.

以下以一个具体的实施例来说明本发明的身份认证方法,本实施例的方法可以应用于如图4所示的场景中,该场景中包括:医学应用服务器、微博系统、新闻网站系统、医院网站系统、公安部身份认证系统和医学应用终端,其中,医学应用服务器为上述的身份认证装置,医学应用终端为上述的应用终端,微博系统、新闻网站系统和医院网站系统为上述的第三方信息系统,公安部身份认证系统为上述的第三方认证系统。具体地:The identity authentication method of the present invention is described below with a specific embodiment. The method of this embodiment can be applied to the scene shown in Figure 4, which includes: a medical application server, a microblog system, a news website system, The hospital website system, the identity authentication system of the Ministry of Public Security, and the medical application terminal, wherein the medical application server is the above-mentioned identity authentication device, the medical application terminal is the above-mentioned application terminal, the microblog system, the news website system and the hospital website system are the above-mentioned first The three-party information system and the identity authentication system of the Ministry of Public Security are the above-mentioned third-party authentication systems. specifically:

医学应用服务器可以包括认证信息解析模块、认证核心模块、实名认证模块、微博模块、新闻网站模块和医院网站模块,其中:The medical application server may include an authentication information analysis module, an authentication core module, a real-name authentication module, a microblog module, a news website module and a hospital website module, wherein:

认证信息解析模块,用于获取用户通过医学应用终端上传的身份证件信息,并解析身份证件信息,得到n个维度的信息;The authentication information parsing module is used to obtain the identity document information uploaded by the user through the medical application terminal, and analyze the identity document information to obtain n-dimensional information;

认证核心模块,用于在认证信息解析模块获取到n个维度的信息后,将n为维度的信息中的用户姓名和身份证号码等信息,通过实名认证模块发送给公安部身份认证系统,以进行实名认证;且通知微博模块、新闻网站模块和医院网站模块分别向微博系统、新闻网站系统和医院网站系统获取得到多媒体信息组1、多媒体信息组2和多媒体信息组3;然后将多媒体信息组1、多媒体信息组2和多媒体信息组3中各个维度的信息分别与上述n个维度的信息进行匹配,得到3组匹配结果;最后根据3组匹配结果计算身份认证分值,并根据身份认证分值进行用户的身份认证。The authentication core module is used to send information such as the user name and ID number in the n-dimensional information to the identity authentication system of the Ministry of Public Security through the real-name authentication module after the authentication information parsing module obtains n-dimensional information. Carry out real-name authentication; and notify the microblog module, the news website module and the hospital website module to obtain the multimedia information group 1, the multimedia information group 2 and the multimedia information group 3 from the microblog system, the news website system and the hospital website system respectively; The information of each dimension in information group 1, multimedia information group 2, and multimedia information group 3 is matched with the information of the above n dimensions respectively, and three sets of matching results are obtained; finally, the identity authentication score is calculated according to the three sets of matching results, and according to the identity The authentication score is used to authenticate the identity of the user.

参考图5所示,在本实施例中,医学应用服务器可以通过如下的步骤进行用户的身份认证,具体为对职业身份的认证,包括:Referring to FIG. 5, in this embodiment, the medical application server can perform user identity authentication through the following steps, specifically the authentication of professional identity, including:

步骤201,用户可以操作医学应用终端,使得医学应用终端显示用户界面,在用户界面上包括“身份证”的输入接口,“行医资格证”的输入接口和“执业资格证”的输入接口;用户可以通过这些输入接口分别输入对应的身份证件信息,这样医学应用终端会将用户输入的身份证件信息发送给医学应用服务器。本实施例中,用户输入的身份证件信息包括身份证图像、行医资格证图像和执业资格证图像,即身份证件图像。Step 201, the user can operate the medical application terminal so that the medical application terminal displays a user interface, which includes an input interface for "ID card", an input interface for "medical qualification certificate" and an input interface for "practicing qualification certificate"; the user Corresponding ID card information can be input through these input interfaces, so that the medical application terminal will send the ID card information input by the user to the medical application server. In this embodiment, the ID card information input by the user includes an ID card image, a medical qualification certificate image, and a practice qualification certificate image, that is, an ID card image.

例如图6所示,医学应用终端显示的用户界面上包括:“上传身份证正面”字样及该字样上方“相机”图样的按钮(即“身份证”的输入接口),“上传行医资格证”字样及该字样上方“相机”图样的按钮(即“行医资格证”的输入接口),“上传执业资格证”字样及该字样上方“相机”图样的按钮(即“执业资格证”的输入接口,及“提交认证”的按钮。For example, as shown in Figure 6, the user interface displayed by the medical application terminal includes: "Upload the front of the ID card" and a button with a "camera" pattern above the word (that is, the input interface of the "ID card"), "Upload the medical qualification certificate" The words "Camera" above the word and the button with the image of "Camera" above the word (i.e. the input interface of the "Medical Qualification Certificate"), the words "Upload the Practice Qualification Certificate" and the button with the image of "Camera" above the word (i.e. the input interface of the "Practice Qualification Certificate") , and the "Submit Certification" button.

步骤202,医学应用服务器中的认证信息解析模块接收到用户输入的身份证件信息(即身份证件图像)后,具体可以先通过图像切割技术对身份证件图像进行切割得到多个切割图像,然后在使用字符识别技术比如光学字符识别(Optical CharacterRecognition,OCR)技术识别切割图像,得到结构化的n个维度的信息。其中,在得到多个切割图像后,可以先选取包含n个维度的信息的切割图像,然后再进行识别,从而节省了计算时间。Step 202, after the authentication information parsing module in the medical application server receives the ID card information (i.e. ID card image) input by the user, it can specifically cut the ID card image through image cutting technology to obtain multiple cut images, and then use the A character recognition technology such as an optical character recognition (Optical Character Recognition, OCR) technology recognizes a cut image to obtain structured n-dimensional information. Wherein, after obtaining multiple cut images, the cut images containing information of n dimensions may be selected first, and then recognized, thereby saving calculation time.

例如,从身份证图像中提取到3个维度的信息:[身份证号码(文本),用户姓名(文本),用户头像(图片)];且从行医资格证图像和执业资格证图像中都可以提取到4个维度的信息:[用户姓名(文本),用户头像(图片),职务(文本),单位(文本)]。For example, the information of 3 dimensions is extracted from the ID card image: [ID card number (text), user name (text), user avatar (picture)]; Information extracted into 4 dimensions: [user name (text), user avatar (picture), title (text), unit (text)].

步骤203,医学应用服务器中的认证核心模块先将身份证图像中的用户姓名和用户头像,分别与执业资格证图像中的用户姓名和用户头像进行匹配,如果都匹配,则继续执行步骤204;如果用户姓名不匹配或用户头像不匹配,则对该用户的身份认证未通过,向医学应用终端进行返回认证未通过的信息。Step 203, the authentication core module in the medical application server first matches the user name and user avatar in the ID card image with the user name and user avatar in the practice qualification certificate image, and if they match, continue to step 204; If the user's name does not match or the user's avatar does not match, then the user's identity authentication fails, and the authentication failure information is returned to the medical application terminal.

步骤204,医学应用服务器中的认证核心模块会将多个维度的信息中的用户姓名和身份证号码,通过实名认证模块发送给公安部身份认证系统,进行实名认证,如果实名认证未通过,则对该用户的身份认证未通过,向医学应用终端进行返回认证未通过的信息;如果实名认证通过,则继续执行步骤205。Step 204, the authentication core module in the medical application server will send the user name and ID number in the information of multiple dimensions to the identity authentication system of the Ministry of Public Security through the real-name authentication module for real-name authentication. If the real-name authentication fails, then If the identity authentication of the user fails, return the information that the authentication fails to the medical application terminal; if the real-name authentication passes, continue to execute step 205 .

步骤205,认证核心模块将身份证件信息中的用户姓名和职务发送给微博模块,以通过微博模块向微博系统获取与该用户姓名和职务相关联的微博认证信息;并由微博模块归一化微博认证信息,得到一组多媒体信息,即多媒体信息组1:[职务(文本),单位(文本)]。Step 205, the authentication core module sends the user's name and title in the identity certificate information to the microblog module, so as to obtain the microblog authentication information associated with the user's name and title from the microblog system through the microblog module; and the microblog The module normalizes the Weibo authentication information to obtain a set of multimedia information, that is, multimedia information group 1: [position (text), unit (text)].

在一个具体的实施例中,在执行步骤205之前,认证核心模块可以向医学应用终端发送授权请求,以请求该医学应用终端向医学应用服务器授权获取微博系统中储存的该用户的信息;如果用户通过医学应用终端同意授权,则医学应用终端会向医学应用服务器发送确认授权的信息,认证核心模块才会执行步骤205;如果用户通过医学应用终端拒绝授权,则医学应用终端会向医学应用服务器发送拒绝授权的信息,认证核心模块不会执行步骤205。In a specific embodiment, before performing step 205, the authentication core module may send an authorization request to the medical application terminal to request the medical application terminal to authorize the medical application server to obtain the user's information stored in the microblog system; if If the user agrees to the authorization through the medical application terminal, the medical application terminal will send information confirming the authorization to the medical application server, and the authentication core module will perform step 205; if the user refuses authorization through the medical application terminal, the medical application terminal will send the medical application server If the authorization rejection message is sent, the authentication core module will not execute step 205 .

步骤206,认证核心模块将上述身份证件信息中的用户姓名和职务发送给新闻网站模块,以通过新闻网站模块向新闻网站系统获取与该用户姓名和职务相关联的新闻信息;并由新闻网站模块归一化获取到的新闻信息,得到一组多媒体信息,即多媒体信息组2:[职务(文本),单位(文本),用户姓名(文本)]。Step 206, the authentication core module sends the user's name and title in the above-mentioned identity certificate information to the news website module, so as to obtain the news information associated with the user's name and title from the news website system through the news website module; and the news website module The obtained news information is normalized to obtain a set of multimedia information, that is, multimedia information set 2: [position (text), unit (text), user name (text)].

步骤207,认证核心模块将上述身份证件信息中的用户姓名和职务发送给医院网站模块,以通过医院网站模块向医院网站系统获取与该用户姓名和职务相关联的排班表,科室医生介绍等信息;并由医院网站模块归一化获取到的信息,得到一组多媒体信息,即多媒体信息组3:[职务(文本),单位(文本)]。Step 207, the authentication core module sends the user's name and title in the above identity certificate information to the hospital website module, so as to obtain the schedule associated with the user's name and title, department doctor introduction, etc. from the hospital website system through the hospital website module information; and the obtained information is normalized by the hospital website module to obtain a set of multimedia information, that is, multimedia information group 3: [position (text), unit (text)].

需要说明的是,上述步骤205到207之间没有绝对的顺序关系,可以同时进行,也可以顺序执行,在此不进行限制。It should be noted that there is no absolute sequence relationship among the above steps 205 to 207, and they can be performed simultaneously or sequentially, which is not limited here.

步骤208,认证核心模块将多媒体信息组1、多媒体信息组2和多媒体信息组3中(即3组多媒体信息中)各个维度的信息分别与上述身份证件信息中n个维度的信息进行匹配,得到3组匹配结果。每组匹配结果中都包括一组多媒体信息中各个维度的信息与上述n个维度的信息是否匹配或未匹配到的信息。Step 208, the authentication core module matches the information of each dimension in the multimedia information group 1, the multimedia information group 2 and the multimedia information group 3 (that is, in the 3 groups of multimedia information) with the information of the n dimensions in the above-mentioned identity document information, and obtains 3 sets of matching results. Each set of matching results includes information about whether the information of each dimension in a set of multimedia information matches or does not match the information of the above n dimensions.

步骤209,认证核心模块根据3组匹配结果计算身份认证分值。Step 209, the authentication core module calculates the identity authentication score according to the three sets of matching results.

具体地,认证核心模块在计算身份认证分值,可以包括如下几部分:Specifically, the authentication core module may include the following parts when calculating the identity authentication score:

(1)认证核心模块先对各组匹配结果中的信息进行计分,具体地,在各组匹配结果中:如果一组多媒体信息中某一维度的信息与上述n个维度的信息相匹配时,可以计分为2;如果一组多媒体信息中某一维度的信息与上述n个维度的信息不相匹配时,可以计分为0;如果一组多媒体信息中某一维度的信息在上述n个维度的信息中未匹配到时,可以计分为1。然后对于某一组匹配结果,将根据该组匹配结果得到的所有计分相加得到对应的总计分值。(1) The authentication core module first scores the information in each group of matching results, specifically, in each group of matching results: if the information of a certain dimension in a group of multimedia information matches the information of the above n dimensions , can be scored as 2; if the information of a certain dimension in a set of multimedia information does not match the information of the above n dimensions, it can be scored as 0; if the information of a certain dimension in a set of multimedia information is within the above n When there is no match in the information of dimensions, it can be scored as 1. Then, for a certain group of matching results, all the scores obtained according to the group of matching results are added to obtain a corresponding total score value.

(2)将根据每组匹配结果得到的总计分值,与对应一组匹配结果的最高可能分值的商值,作为对应的比值S。(2) Take the quotient of the total score obtained according to each group of matching results and the highest possible score of the corresponding group of matching results as the corresponding ratio S.

对于从新闻网站系统获取的新闻信息,由于新闻网站系统中可以包括多个网站,可以为每个网站设置一个对应的权重w,则根据从新闻网站系统中获取的多媒体信息得到的一组匹配结果,计算的比值S可以为:S(新闻网站)=s(网站1)*w(网站1)+s(网站2)*w(网站2)+s(网站3)*w(网站3),其中,s为根据各个网站中的新闻信息得到的比值。For the news information obtained from the news website system, since the news website system can include multiple websites, a corresponding weight w can be set for each website, then a set of matching results obtained according to the multimedia information obtained from the news website system , the calculated ratio S can be: S (news website)=s (website 1)*w (website 1)+s (website 2)*w (website 2)+s (website 3)*w (website 3), Among them, s is the ratio obtained according to the news information in each website.

(3)将各组匹配结果的比值S的加权和值作为最终的身份认证分值。例如,S(微博)*W(微博)+S(医院网站)*W(医院网站)+S(新闻网站)*W(新闻网站),其中,W为从某一第三方信息系统获取的多媒体信息的权重值,S为根据从某一第三方信息系统获取的多媒体信息得到的比值。(3) The weighted sum of the ratio S of each group of matching results is taken as the final identity authentication score. For example, S(microblog)*W(microblog)+S(hospital website)*W(hospital website)+S(news website)*W(news website), where W is obtained from a third-party information system The weight value of the multimedia information, S is the ratio obtained from the multimedia information obtained from a third-party information system.

例如,认证核心模块从身份证件信息中得到如下3个维度的信息:[张三,主任医师,北京医院]。For example, the authentication core module obtains the following three dimensions of information from the ID information: [Zhang San, Chief Physician, Beijing Hospital].

从微博系统中获取到一组多媒体信息中包括:[空,主任医师],对应的权重W为0.3。A set of multimedia information obtained from the microblog system includes: [empty, chief physician], and the corresponding weight W is 0.3.

从医院网站系统中获取到的一组多媒体信息包括:[张三,主任医师],对应的权重W为0.4。A set of multimedia information obtained from the hospital website system includes: [Zhang San, chief physician], and the corresponding weight W is 0.4.

新闻网站系统对应的权重W为0.3。The weight W corresponding to the news website system is 0.3.

从新闻网站1中获取到的一组多媒体信息包括:[张三,主治医师,北京医院],对应的权重w1为0.5。A set of multimedia information obtained from the news website 1 includes: [Zhang San, attending physician, Beijing Hospital], and the corresponding weight w1 is 0.5.

从新闻网站2中获取到的一组多媒体信息包括:[张三,主任医师,北京医院],对应的权重w2为0.3。A set of multimedia information obtained from the news website 2 includes: [Zhang San, chief physician, Beijing Hospital], and the corresponding weight w2 is 0.3.

从新闻网站3中获取到的一组多媒体信息包括:[张三,主任医师,北京医院],对应的权重w3为0.2。A set of multimedia information obtained from the news website 3 includes: [Zhang San, chief physician, Beijing Hospital], and the corresponding weight w3 is 0.2.

这样,S(微博)可以为(1+2)/(2*2)=0.75;S(医院网站)=(2+2)/(2*2)=1;Like this, S (microblog) can be (1+2)/(2*2)=0.75; S (hospital website)=(2+2)/(2*2)=1;

而对于新闻网站系统,对应的比值S(新闻网站),需要先计算s(网站1)=(2+0+2)/(3*2)=0.67,s(网站2)=(2+2+2)/(3*2)=1,s(网站3)=(2+2+2)/(3*2)=1;然后再得到积分比值S(新闻网站)=0.67*0.5+1*0.3+1*0.2=0.83;For the news website system, the corresponding ratio S (news website) needs to be calculated first s(website 1)=(2+0+2)/(3*2)=0.67, s(website 2)=(2+2 +2)/(3*2)=1, s(website 3)=(2+2+2)/(3*2)=1; then get integral ratio S(news website)=0.67*0.5+1 *0.3+1*0.2=0.83;

最终得到的身份认证分值为:0.75*0.3+1*0.4+0.83*0.3=0.874The final identity authentication score is: 0.75*0.3+1*0.4+0.83*0.3=0.874

步骤210,在本实施中可以设置两个预置范围,如果身份认证分值在一个预置的范围内,则该用户的身份认证通过,认证核心模块可以向医学应用终端发送认证通过的信息。如果身份认证分值不在一个预置的范围内,而在另一预置范围内,可以进行人工审核,这样,可以将身份认证的自动化与人工认证有效地结合起来;而如果身份认证分值既不在一个预置范围内,又不在另一预置范围内,则直接确定该用户的身份认证未通过。Step 210, in this implementation, two preset ranges can be set. If the identity authentication score is within a preset range, the user's identity authentication is passed, and the authentication core module can send the authentication pass information to the medical application terminal. If the identity authentication score is not within a preset range, but within another preset range, manual review can be carried out, so that the automation of identity authentication can be effectively combined with manual authentication; and if the identity authentication score is both If it is not within one preset range and not within another preset range, it is directly determined that the user's identity authentication has not passed.

具体地,继续上述的例子,得到的身份认证分值为0.874大于0.8(即在一个预置的范围内),则身份认证通过;如果在其它实施例中,得到的身份认证分值小于某一值,比如0.5(既不在一个预置范围内,又不在另一预置范围内),则身份认证未通过,而如果身份认证分值在0.5到0.8之间(不在一个预置范围内,而在另一预置范围内),则认为该用户的身份不确定,可以进行人工审核。Specifically, continuing the above example, if the obtained identity authentication score is 0.874 greater than 0.8 (that is, within a preset range), the identity authentication is passed; if in other embodiments, the obtained identity authentication score is less than a certain value, such as 0.5 (neither in one preset range nor in another preset range), the identity authentication fails, and if the identity authentication score is between 0.5 and 0.8 (not in a preset range, but within another preset range), the user’s identity is considered uncertain and manual review can be performed.

例如图7所示,认证核心模块可以向医学应用终端发送认证通过的信息(认证成功字样),及通过认证的用户的具体身份信息等,医学应用终端可以将这些信息进行显示,比如:显示对用户身份进行认证的系统即“某医学系统”、用户所在医院“深圳市医院”、用户所在科室“妇科”和用户的职业职称“主治医师”。For example, as shown in Figure 7, the authentication core module can send the information of passing the authentication (authentication successful words), and the specific identity information of the authenticated user to the medical application terminal, and the medical application terminal can display these information, for example: display The system that authenticates the user's identity is "a medical system", the user's hospital "Shenzhen Hospital", the user's department "gynecology" and the user's professional title "attending physician".

可见,本实施例中,在对用户的实名认证的基础上,提供了一种认证用户职业身份的方法,且这种方法在100%权威数据源缺乏的情况下仍然能工作。It can be seen that in this embodiment, a method for authenticating the professional identity of the user is provided on the basis of authenticating the user's real name, and this method can still work in the absence of 100% authoritative data sources.

本发明实施例还提供一种身份认证装置,其结构示意图如图8所示,具体可以包括:The embodiment of the present invention also provides an identity authentication device, the structural diagram of which is shown in Figure 8, which may specifically include:

证件信息获取单元10,用于获取用户输入的身份证件信息,所述身份证件信息包括所述用户的n个维度的信息。The credential information acquiring unit 10 is configured to acquire the identity credential information input by the user, the identity credential information including n-dimension information of the user.

该证件信息获取单元10,具体用于接收应用终端发送的身份认证请求,所述身份认证请求中包括所述用户输入的身份证件信息,从所述身份认证请求中提取所述身份证件信息;或者,用于显示信息输入界面,所述信息输入界面包括证件信息输入接口,从所述证件信息输入接口接收用户输入的身份证件信息。The credential information acquisition unit 10 is specifically configured to receive an identity authentication request sent by an application terminal, the identity authentication request includes the identity credential information input by the user, and extract the identity credential information from the identity authentication request; or , for displaying an information input interface, where the information input interface includes a credential information input interface, and receives identity certificate information input by a user from the credential information input interface.

多媒体获取单元11,用于向至少一个第三方信息系统分别获取与所述证件信息获取单元10获取的n个维度中m个维度的信息一致的多媒体信息,得到至少一组多媒体信息;所述n是大于或等于m的整数,所述m是大于或等于1的整数;The multimedia acquiring unit 11 is configured to acquire from at least one third-party information system respectively the multimedia information consistent with the information of the m dimensions in the n dimensions acquired by the credential information acquiring unit 10, and obtain at least one set of multimedia information; the n is an integer greater than or equal to m, said m being an integer greater than or equal to 1;

匹配单元12,用于将所述多媒体获取单元11获取的所述至少一组多媒体信息中每个维度的信息分别与所述n个维度的信息进行匹配,得到至少一组匹配结果。The matching unit 12 is configured to match the information of each dimension in the at least one set of multimedia information acquired by the multimedia acquiring unit 11 with the information of the n dimensions respectively, to obtain at least one set of matching results.

分值计算单元13,用于根据所述匹配单元12得到的至少一组匹配结果计算身份认证分值。A score calculation unit 13, configured to calculate an identity authentication score according to at least one set of matching results obtained by the matching unit 12.

所述分值计算单元13,具体用于如果每组匹配结果中包括:一组多媒体信息中各个维度的信息分别与上述n个维度的信息是否匹配或未匹配到的信息,则根据所述每组匹配结果中各个维度的信息是否匹配或未匹配到的信息,及预置的计分策略,统计每组匹配结果对应的总计分值;根据所述至少一组匹配结果分别对应的总计分值,计算所述身份认证分值。The score calculation unit 13 is specifically configured to: if each group of matching results includes: whether the information of each dimension in a group of multimedia information matches or does not match the information of the above n dimensions, then according to each Whether the information of each dimension in the group matching results matches or does not match the information, and the preset scoring strategy, counting the total score corresponding to each group of matching results; according to the total score corresponding to the at least one group of matching results respectively , to calculate the identity authentication score.

其中,预置的计分策略包括:对于一组匹配结果中一项相匹配的信息,则对应计分为第一数值,对于一组匹配结果中一项不相匹配的信息,则对应计分为第二数值,对于一组匹配结果中一项未匹配到的信息,则对应计分为第三数值;所述每组匹配结果对应的总计分值为一组多媒体信息中各个维度的信息的匹配结果对应的计分值的和值。Among them, the preset scoring strategy includes: for a matching information in a set of matching results, the corresponding score is the first value; for an unmatching information in a group of matching results, the corresponding scoring is the second value, and for a piece of information that is not matched in a group of matching results, the corresponding score is the third value; the total score corresponding to each group of matching results is the sum of the information of each dimension in a group of multimedia information The sum of the scoring values corresponding to the matching results.

所述分值计算单元13在根据所述至少一组匹配结果分别对应的总计分值,计算所述身份认证分值时,具体用户分别计算每组匹配结果对应的总计分值,与对应组匹配结果对应的最高可能分值的比值;将所述各组匹配结果对应的比值的函数计算值作为所述身份认证分值。When the score calculation unit 13 calculates the identity authentication score according to the total score corresponding to the at least one group of matching results, the specific user calculates the total score corresponding to each group of matching results, and matches with the corresponding group. The ratio of the highest possible score corresponding to the result; the function calculation value of the ratio corresponding to each group of matching results is used as the identity authentication score.

所述分值计算单元13在将所述各组匹配结果对应的比值的函数计算值作为所述身份认证分值时,具体用于将所述各组匹配结果对应的比值的和值作为所述身份认证分值,或者,将所述各组匹配结果对应的比值的加权和值作为所述身份认证分值。When the score calculation unit 13 uses the function calculation value of the ratio corresponding to each group of matching results as the identity authentication score, it is specifically configured to use the sum of the ratios corresponding to each group of matching results as the The identity authentication score, or the weighted sum of the ratios corresponding to the matching results of each group is used as the identity authentication score.

认证单元14,用于如果所述分值计算单元13计算的身份认证分值在预置范围内,则所述用户的身份认证通过。如果身份认证分值不在预置范围内,则对用户的身份认证未通过。An authentication unit 14, configured to pass the user's identity authentication if the identity authentication score calculated by the score calculation unit 13 is within a preset range. If the identity authentication score is not within the preset range, the identity authentication of the user fails.

进一步地,身份认证装置除了上述的结构外,还可以包括:证件信息处理单元15和授权单元16,其中:Further, in addition to the above structure, the identity authentication device may also include: a credential information processing unit 15 and an authorization unit 16, wherein:

所述证件信息处理单元15,用于如果证件信息获取单元10获取用户输入的多个身份证件的信息,且任意两个身份证件的信息之间具有至少一个相同维度的信息;将任意两个身份证件的信息之间,相同维度的信息进行匹配,如果每个相同维度的信息都相匹配,则通知所述多媒体获取单元11执行所述得到至少一组多媒体信息的步骤。The credential information processing unit 15 is configured to if the credential information acquisition unit 10 acquires information of a plurality of identity certificates input by the user, and there is at least one information of the same dimension between the information of any two identity certificates; Between the certificate information, the information of the same dimension is matched, and if all the information of the same dimension is matched, the multimedia acquisition unit 11 is notified to execute the step of obtaining at least one set of multimedia information.

进一步地,所述证件信息处理单元15,用于发送认证请求给第三方认证装置,所述认证请求用于请求所述第三方认证装置对所述n个维度的信息中的某些信息进行认证;当接收到所述第三方认证装置根据所述认证请求返回的认证通过的信息,通知所述多媒体获取单元11执行所述得到至少一组多媒体信息的步骤。Further, the credential information processing unit 15 is configured to send an authentication request to a third-party authentication device, and the authentication request is used to request the third-party authentication device to authenticate certain information in the n-dimensional information ; Notifying the multimedia acquisition unit 11 to execute the step of obtaining at least one set of multimedia information when receiving the authentication passing information returned by the third-party authentication device according to the authentication request.

授权单元16,用于向应用终端发送授权请求,所述授权请求用于请求所述应用终端向身份认证装置授权获取所述某一第三方信息系统中的多媒体信息;如果接收到所述应用终端根据所述授权请求返回的确认授权的信息,则通知所述多媒体获取单元11向所述某一第三方信息系统获取与所述n个维度中m个维度的信息一致的多媒体信息。The authorization unit 16 is configured to send an authorization request to the application terminal, the authorization request is used to request the application terminal to authorize the identity authentication device to obtain multimedia information in the certain third-party information system; if the application terminal receives the According to the authorization confirmation information returned by the authorization request, the multimedia acquisition unit 11 is notified to acquire multimedia information consistent with information in m dimensions in the n dimensions from the certain third-party information system.

可见,在本实施例的身份认证装置中,证件信息获取单元10在获取到身份证件信息中n个维度的信息后,会多媒体获取单元11向至少一个第三方信息系统分别获取与n个维度中m个维度的信息一致的多媒体信息,匹配单元12将得到的各组多媒体信息中每个维度的信息分别与上述n个维度的信息进行匹配,最后分值计算单元13根据得到的至少一组匹配结果计算出身份认证分值后,认证单元14根据身份认证分值进行用户的身份认证。这样,通过向第三方信息系统获取关于用户的多媒体信息,从而将这些多媒体信息与用户输入的身份证件信息进行比较后,可以进一步地从多方面的信息确定用户输入的身份证件信息是否真实,对用户的身份认证提供了安全性的保障;且不局限于通过某些权威机构对用户进行实名认证,而可以扩展到对某类不具有权威机构认证的用户身份(比如职业身份)的认证。It can be seen that in the identity authentication device of this embodiment, after the certificate information acquisition unit 10 obtains the information of the n dimensions in the identity certificate information, the multimedia acquisition unit 11 will obtain the information in the n dimensions from at least one third-party information system respectively. For multimedia information with consistent information in m dimensions, the matching unit 12 matches the information of each dimension in each group of multimedia information obtained with the information of the above n dimensions respectively, and finally the score calculation unit 13 is based on at least one group of matching information obtained. As a result, after the identity authentication score is calculated, the authentication unit 14 performs identity authentication of the user according to the identity authentication score. In this way, by obtaining multimedia information about the user from a third-party information system, and comparing the multimedia information with the ID information entered by the user, it can be further determined from various information whether the ID information entered by the user is authentic, The user's identity authentication provides security guarantee; and it is not limited to the real-name authentication of users through some authoritative organizations, but can be extended to the authentication of certain types of user identities (such as professional identities) that do not have authority authentication.

本发明实施例还提供一种服务器,其结构示意图如图9所示,该服务器可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(centralprocessing units,CPU)20(例如,一个或一个以上处理器)和存储器21,一个或一个以上存储应用程序221或数据222的存储介质22(例如一个或一个以上海量存储设备)。其中,存储器21和存储介质22可以是短暂存储或持久存储。存储在存储介质22的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器20可以设置为与存储介质22通信,在服务器上执行存储介质22中的一系列指令操作。The embodiment of the present invention also provides a server, the structural diagram of which is shown in FIG. (eg, one or more processors) and memory 21, and one or more storage media 22 (eg, one or more mass storage devices) for storing application programs 221 or data 222 . Wherein, the memory 21 and the storage medium 22 may be temporary storage or persistent storage. The program stored in the storage medium 22 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processing unit 20 may be configured to communicate with the storage medium 22, and execute a series of instruction operations in the storage medium 22 on the server.

具体地,在存储介质22中储存的应用程序221包括身份认证的应用程序,且该程序可以包括上述身份认证装置中的证件信息获取单元10,多媒体获取单元11,匹配单元12,分值计算单元13,认证单元14,证件信息处理单元15和授权单元16,在此不进行赘述。更进一步地,中央处理器20可以设置为与存储介质22通信,在服务器上执行存储介质22中储存的身份认证的应用程序对应的一系列操作。Specifically, the application program 221 stored in the storage medium 22 includes an application program for identity authentication, and the program may include the certificate information acquisition unit 10, the multimedia acquisition unit 11, the matching unit 12, and the score calculation unit in the above-mentioned identity authentication device. 13. The authentication unit 14, the credential information processing unit 15 and the authorization unit 16, which will not be described in detail here. Furthermore, the central processing unit 20 may be configured to communicate with the storage medium 22, and execute a series of operations corresponding to the identity authentication application program stored in the storage medium 22 on the server.

服务器还可以包括一个或一个以上电源23,一个或一个以上有线或无线网络接口24,一个或一个以上输入输出接口25,和/或,一个或一个以上操作系统223,例如WindowsServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。The server can also include one or more power supplies 23, one or more wired or wireless network interfaces 24, one or more input and output interfaces 25, and/or, one or more operating systems 223, such as WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.

上述方法实施例中所述的由身份认证装置所执行的步骤可以基于该图9所示的服务器的结构。The steps performed by the identity authentication device described in the foregoing method embodiments may be based on the structure of the server shown in FIG. 9 .

本发明实施例还提供一种存储介质,所述存储介质储存多条指令,所述指令适于由处理器加载并执行如上述身份认证装置所执行的身份认证方法。An embodiment of the present invention also provides a storage medium, the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the identity authentication method as performed by the above-mentioned identity authentication device.

本发明实施例还提供一种服务器,包括处理器和存储介质,所述处理器,用于实现各个指令;The embodiment of the present invention also provides a server, including a processor and a storage medium, and the processor is configured to implement various instructions;

所述存储介质用于储存多条指令,所述指令用于由处理器加载并执行如上述身份认证装置所执行的身份认证方法。The storage medium is used to store a plurality of instructions, and the instructions are used to be loaded by the processor and execute the identity authentication method as performed by the above-mentioned identity authentication device.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM)、随机存取存储器RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM), Random Access Memory (RAM), Magnetic Disk or Optical Disk, etc.

以上对本发明实施例所提供的身份认证方法、装置及存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The identity authentication method, device and storage medium provided by the embodiment of the present invention are described above in detail. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only for helping to understand the present invention. The method of the invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be understood To limit the present invention.

Claims (14)

1.一种身份认证方法,其特征在于,包括:1. An identity authentication method, characterized in that, comprising: 获取用户输入的身份证件信息,所述身份证件信息包括所述用户的n个维度的信息;Acquiring identity document information input by the user, where the identity document information includes n-dimension information of the user; 向至少一个第三方信息系统分别获取与所述n个维度中m个维度的信息一致的多媒体信息,得到至少一组多媒体信息;所述n是大于或等于m的整数,所述m是大于或等于1的整数;Acquiring multimedia information consistent with the information of m dimensions in the n dimensions from at least one third-party information system to obtain at least one set of multimedia information; the n is an integer greater than or equal to m, and the m is greater than or equal to an integer equal to 1; 将所述至少一组多媒体信息中每个维度的信息分别与所述n个维度的信息进行匹配,得到至少一组匹配结果;matching the information of each dimension in the at least one set of multimedia information with the information of the n dimensions respectively, to obtain at least one set of matching results; 根据所述至少一组匹配结果计算身份认证分值;calculating an identity authentication score based on the at least one set of matching results; 如果所述身份认证分值在预置范围内,则所述用户的身份认证通过。If the identity authentication score is within a preset range, the user's identity authentication is passed. 2.如权利要求1所述的方法,其特征在于,所述身份证件信息为身份证件图像,则所述获取用户输入的身份证件信息之后,还包括:2. The method according to claim 1, wherein the identity document information is an identity document image, and after obtaining the identity document information input by the user, further comprising: 根据图像切割技术对所述身份证件图像进行切割得到切割图像;再根据字符识别技术识别所述切割图像,得到结构化的所述n个维度的信息。cutting the ID card image according to the image cutting technology to obtain a cutting image; and then recognizing the cutting image according to the character recognition technology to obtain the structured information of the n dimensions. 3.如权利要求1所述的方法,其特征在于,3. The method of claim 1, wherein, 所述获取用户输入的身份证件信息包括:获取用户输入的多个身份证件的信息,且任意两个身份证件的信息之间具有至少一个相同维度的信息;The acquiring the identity document information input by the user includes: acquiring the information of multiple identity documents input by the user, and the information of any two identity documents has at least one information of the same dimension; 所述获取用户输入的身份证件信息之后,还包括:将任意两个身份证件的信息之间,相同维度的信息进行匹配,如果每个相同维度的信息都相匹配,则执行所述得到至少一组多媒体信息的步骤。After the acquisition of the identity document information input by the user, it also includes: matching the information of the same dimension between the information of any two identity documents. Steps to group multimedia messages. 4.如权利要求1所述的方法,其特征在于,所述获取用户输入的身份证件信息之后,所述方法还包括:4. The method according to claim 1, characterized in that, after obtaining the identity document information input by the user, the method further comprises: 发送认证请求给第三方认证装置,所述认证请求用于请求所述第三方认证装置对所述n个维度的信息中的某些信息进行认证;Sending an authentication request to a third-party authentication device, where the authentication request is used to request the third-party authentication device to authenticate some of the information in the n dimensions; 当接收到所述第三方认证装置根据所述认证请求返回的认证通过的信息,执行所述得到至少一组多媒体信息的步骤。The step of obtaining at least one set of multimedia information is performed when receiving the authentication passing information returned by the third-party authentication device according to the authentication request. 5.如权利要求1所述的方法,其特征在于,向所述至少一个第三方信息系统中某一第三方信息系统分别获取与所述n个维度中m个维度的信息一致的多媒体信息之前,所述方法还包括:5. The method according to claim 1, wherein the multimedia information consistent with the information of m dimensions in the n dimensions is respectively obtained from a third-party information system in the at least one third-party information system , the method also includes: 向应用终端发送授权请求,所述授权请求用于请求所述应用终端向身份认证装置授权获取所述某一第三方信息系统中的多媒体信息;sending an authorization request to the application terminal, where the authorization request is used to request the application terminal to authorize the identity authentication device to obtain multimedia information in the certain third-party information system; 如果接收到所述应用终端根据所述授权请求返回的确认授权的信息,则向所述某一第三方信息系统获取与所述n个维度中m个维度的信息一致的多媒体信息。If the authorization confirmation information returned by the application terminal according to the authorization request is received, the multimedia information consistent with the information in the m dimensions in the n dimensions is obtained from the certain third-party information system. 6.如权利要求1至5任一项所述的方法,其特征在于,如果每组匹配结果中包括:一组多媒体信息中各个维度的信息与所述n个维度的信息是否匹配或未匹配到的信息;则所述根据所述至少一组匹配结果计算身份认证分值,具体包括:6. The method according to any one of claims 1 to 5, wherein if each group of matching results includes: whether the information of each dimension in a group of multimedia information matches or does not match the information of the n dimensions The information obtained; then the calculation of the identity authentication score according to the at least one set of matching results specifically includes: 根据所述每组匹配结果中所述各个维度的信息是否匹配或未匹配到的信息,及预置的计分策略,统计每组匹配结果对应的总计分值;According to the information of whether the information of each dimension in each group of matching results is matched or not matched, and the preset scoring strategy, count the total score value corresponding to each group of matching results; 根据所述至少一组匹配结果分别对应的总计分值,计算所述身份认证分值;calculating the identity authentication score according to the total scores respectively corresponding to the at least one group of matching results; 其中,所述预置的计分策略包括:Wherein, the preset scoring strategy includes: 对于一组匹配结果中一项相匹配的信息,则对应计分为第一数值;对于一组匹配结果中一项不相匹配的信息,则对应计分为第二数值;如果一组匹配结果中一项未匹配到的信息,则对应计分为第三数值;For information that matches one item in a set of matching results, the corresponding score is the first value; for information that does not match one item in a set of matching results, the corresponding score is the second value; if a set of matching results If one item of information is not matched, the corresponding score is the third value; 所述每组匹配结果对应的总计分值为一组多媒体信息中各个维度的信息的匹配结果对应的计分值的和值。The total score value corresponding to each group of matching results is the sum of the score values corresponding to the matching results of information of each dimension in a group of multimedia information. 7.如权利要求6所述的方法,其特征在于,所述根据所述至少一组匹配结果分别对应的总计分值,计算所述身份认证分值,具体包括:7. The method according to claim 6, wherein the calculation of the identity authentication score according to the total score corresponding to the at least one set of matching results includes: 分别计算每组匹配结果对应的总计分值,与对应组匹配结果对应的最高可能分值的比值;Calculate the ratio of the total score corresponding to each group of matching results to the highest possible score corresponding to the corresponding group of matching results; 将所述每组匹配结果对应的比值的函数计算值作为所述身份认证分值。The function calculation value of the ratio corresponding to each group of matching results is used as the identity authentication score. 8.如权利要求7所述的方法,其特征在于,所述将所述每组匹配结果对应的比值的函数计算值作为所述身份认证分值,具体包括:8. The method according to claim 7, wherein the function calculation value of the ratio corresponding to each group of matching results is used as the identity authentication score, specifically comprising: 将所述每组匹配结果对应的比值的和值作为所述身份认证分值,或者,将所述每组匹配结果对应的比值的加权和值作为所述身份认证分值。The sum of the ratios corresponding to each group of matching results is used as the identity authentication score, or the weighted sum of the ratios corresponding to each group of matching results is used as the identity authentication score. 9.一种身份认证装置,其特征在于,包括:9. An identity authentication device, comprising: 证件信息获取单元,用于获取用户输入的身份证件信息,所述身份证件信息包括所述用户的n个维度的信息;A certificate information acquisition unit, configured to obtain identity certificate information input by a user, where the identity certificate information includes n-dimensional information of the user; 多媒体获取单元,用于向至少一个第三方信息系统分别获取与所述n个维度中m个维度的信息一致的多媒体信息,得到至少一组多媒体信息;所述n是大于或等于m的整数,所述m是大于或等于1的整数;The multimedia acquisition unit is used to acquire multimedia information consistent with the information of m dimensions in the n dimensions from at least one third-party information system, and obtain at least one set of multimedia information; the n is an integer greater than or equal to m, The m is an integer greater than or equal to 1; 匹配单元,用于将所述至少一组多媒体信息中每个维度的信息分别与所述n个维度的信息进行匹配,得到至少一组匹配结果;A matching unit, configured to match the information of each dimension in the at least one set of multimedia information with the information of the n dimensions respectively, to obtain at least one set of matching results; 分值计算单元,用于根据所述至少一组匹配结果计算身份认证分值;A score calculation unit, configured to calculate an identity authentication score according to the at least one set of matching results; 认证单元,用于如果所述身份认证分值在预置范围内,则所述用户的身份认证通过。An authentication unit, configured to pass the user's identity authentication if the identity authentication score is within a preset range. 10.如权利要求9所述的装置,其特征在于,还包括:证件信息处理单元;10. The device according to claim 9, further comprising: a certificate information processing unit; 所述证件信息获取单元,具体用于获取用户输入的多个身份证件的信息,且任意两个身份证件的信息之间具有至少一个相同维度的信息;The document information obtaining unit is specifically used to obtain information of multiple identity documents input by the user, and information of any two identity documents has at least one information of the same dimension; 所述证件信息处理单元,用于将任意两个身份证件的信息之间,相同维度的信息进行匹配,如果每个相同维度的信息都相匹配,则通知所述多媒体获取单元执行所述得到至少一组多媒体信息的步骤。The credential information processing unit is configured to match information of the same dimension between the information of any two identity documents, and if each information of the same dimension matches, notify the multimedia acquisition unit to execute the at least A set of steps for multimedia information. 11.如权利要求10所述的装置,其特征在于,11. The apparatus of claim 10, wherein 所述证件信息处理单元,用于发送认证请求给第三方认证装置,所述认证请求用于请求所述第三方认证装置对所述n个维度的信息中的某些信息进行认证;当接收到所述第三方认证装置根据所述认证请求返回的认证通过的信息,通知所述多媒体获取单元执行所述得到至少一组多媒体信息的步骤。The credential information processing unit is configured to send an authentication request to a third-party authentication device, and the authentication request is used to request the third-party authentication device to authenticate certain information in the n dimensions of information; when receiving The third-party authentication device notifies the multimedia acquisition unit to execute the step of obtaining at least one set of multimedia information according to the authentication passing information returned by the authentication request. 12.如权利要求9至11任一项所述的装置,其特征在于,12. Apparatus according to any one of claims 9 to 11, wherein 所述分值计算单元,具体用于如果每组匹配结果中包括:一组多媒体信息中各个维度的信息分别与所述n个维度的信息是否匹配或未匹配到的信息,则根据所述每组匹配结果中所述各个维度的信息是否匹配或未匹配到的信息,及预置的计分策略,统计每组匹配结果对应的总计分值;根据所述至少一组匹配结果分别对应的总计分值,计算所述身份认证分值;The score calculation unit is specifically configured to: if each group of matching results includes: whether the information of each dimension in a group of multimedia information matches or does not match the information of the n dimensions, then according to each Information about whether the information of each dimension in the group matching results matches or does not match, and the preset scoring strategy, counting the total score value corresponding to each group of matching results; Score, calculating the identity authentication score; 所述根据所述至少一组匹配结果分别对应的总计分值,计算所述身份认证分值,具体包括:分别计算每组匹配结果对应的总计分值,与对应组匹配结果对应的最高可能分值的比值;将所述每组匹配结果对应的比值的函数计算值作为所述身份认证分值。The calculating the identity authentication score according to the total score corresponding to the at least one group of matching results respectively includes: calculating the total score corresponding to each group of matching results respectively, and the highest possible score corresponding to the matching result of the corresponding group The ratio of values; the function calculation value of the ratio corresponding to each group of matching results is used as the identity authentication score. 13.一种存储介质,其特征在于,所述存储介质储存多条指令,所述指令适于由处理器加载并执行如权利要求1至8任一项所述的身份认证方法。13. A storage medium, characterized in that the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the identity authentication method according to any one of claims 1 to 8. 14.一种服务器,其特征在于,包括处理器和存储介质,所述处理器,用于实现各个指令;14. A server, characterized in that it includes a processor and a storage medium, the processor is configured to implement various instructions; 所述存储介质用于储存多条指令,所述指令用于由处理器加载并执行如权利要求1至8任一项所述的身份认证方法。The storage medium is used to store a plurality of instructions, and the instructions are used to be loaded by a processor and execute the identity authentication method according to any one of claims 1 to 8.
CN201811227867.5A 2018-10-22 2018-10-22 An identity authentication method, device and storage medium Active CN109450867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811227867.5A CN109450867B (en) 2018-10-22 2018-10-22 An identity authentication method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811227867.5A CN109450867B (en) 2018-10-22 2018-10-22 An identity authentication method, device and storage medium

Publications (2)

Publication Number Publication Date
CN109450867A CN109450867A (en) 2019-03-08
CN109450867B true CN109450867B (en) 2019-11-15

Family

ID=65547290

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811227867.5A Active CN109450867B (en) 2018-10-22 2018-10-22 An identity authentication method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109450867B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3899764B1 (en) * 2019-03-24 2023-06-21 Apple Inc. Identity document authentication
CN110796145B (en) * 2019-09-19 2024-01-19 平安科技(深圳)有限公司 Multi-certificate segmentation association method and related equipment based on intelligent decision
CN111767463A (en) * 2020-06-30 2020-10-13 北京同邦卓益科技有限公司 Information processing method, device and storage medium
CN115604008B (en) * 2022-10-17 2025-03-18 支付宝(杭州)信息技术有限公司 Occupational identity verification method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035649A (en) * 2009-09-29 2011-04-27 国际商业机器公司 Authentication method and device
CN104320389A (en) * 2014-10-11 2015-01-28 南京邮电大学 Fusion identify protection system and fusion identify protection method based on cloud computing
CN105681316A (en) * 2016-02-02 2016-06-15 腾讯科技(深圳)有限公司 Identity verification method and device
CN108123926A (en) * 2016-11-30 2018-06-05 阿里巴巴集团控股有限公司 Identity identifying method and device and computing device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104518876B (en) * 2013-09-29 2019-01-04 腾讯科技(深圳)有限公司 Service login method and device
CN108108649B (en) * 2016-11-24 2020-04-07 腾讯科技(深圳)有限公司 Identity verification method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035649A (en) * 2009-09-29 2011-04-27 国际商业机器公司 Authentication method and device
CN104320389A (en) * 2014-10-11 2015-01-28 南京邮电大学 Fusion identify protection system and fusion identify protection method based on cloud computing
CN105681316A (en) * 2016-02-02 2016-06-15 腾讯科技(深圳)有限公司 Identity verification method and device
CN108123926A (en) * 2016-11-30 2018-06-05 阿里巴巴集团控股有限公司 Identity identifying method and device and computing device

Also Published As

Publication number Publication date
CN109450867A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN104303483B (en) For the recognition system based on user of social networks
US8379941B2 (en) Systems and methods for person's verification using portrait photographs taken by a verifier-controlled digital camera
US10135818B2 (en) User biological feature authentication method and system
CN110322317B (en) Transaction data processing method and device, electronic equipment and medium
CN109450867B (en) An identity authentication method, device and storage medium
WO2017096921A1 (en) Method for identifying identity by means of social relationship
WO2018106431A1 (en) Systems and methods for biometric authentication using existing databases
CN105608621A (en) Remote account opening method, server and system
WO2017114289A1 (en) Bank-card information authentication method, client terminal, and banking system
WO2018045977A1 (en) Shared resource display method, device and storage medium
EP2896162A1 (en) Determining additional information associated with geographic location information
TW201131418A (en) CAPTCHA (completely automated public test to tell computers and humans apart) management methods and systems, and computer program products thereof
WO2015106728A1 (en) Data processing method and system
US20150213460A1 (en) Continuing-education certificate validation
CN113259136B (en) Multi-client collaborative authentication method, device, device and medium for feature identification
US20220230177A1 (en) Identity verification and service provision platform and method
CN113191902A (en) Transaction processing method and device based on block chain, electronic equipment and medium
CN112380577A (en) Multiparty-supported electronic contract repeated signing method and device and computer equipment
US12511935B2 (en) Fiducial mark document sharing
US20140115657A1 (en) Method of Reducing Fraud in System User Account Registration
WO2021255821A1 (en) Authentication server, facial image update recommendation method and storage medium
US20250315511A1 (en) Real-person identity verification for non-natural person entity operator
US20120114189A1 (en) Systems for Person's Verification Using Photographs on Identification Documents
CN115310141A (en) Document authentication method based on notarization and signing of notarization system
CN108200016A (en) Question-type picture verifies terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210924

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right