Inter-system identity mutual recognition method and device, electronic equipment and storage medium
By performing local verification and whitelist verification in communication equipment, combined with certificate chain and validity period verification, the problem of difficulty in providing one-stop identity authentication services in the existing technology is solved, and secure mutual recognition of identities between multi-service systems and gateways is achieved. , improving user experience and access convenience.
Patent Information
- Application Number
- CN202410704478.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-27
AI Technical Summary
It is difficult with existing technology to provide one-stop identity authentication services while ensuring information security, allowing users to use a set of digital certificates to access multiple business systems or gateways.
By receiving the user's digital certificate access request in the communication device, performing local verification and whitelist verification, and combining the certificate chain and validity period verification to ensure the validity of the digital certificate, thereby achieving mutual identity recognition and trust between multi-service systems and gateways.
On the premise of ensuring information security, it provides one-stop identity authentication services, allowing users to use a set of digital certificates to access multiple business systems or gateways, improving user experience and achieving highly mobile access rights management.
Smart Images

Figure CN118713867A
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information and network security technology, and in particular, relates to a method, device, electronic device and storage medium for mutual recognition of identities between systems. Background Art
[0002] With the development of network technology, more and more Internet applications have penetrated into users' daily work, study, and life. In this case, how to provide users with one-stop identity authentication services while ensuring the information security of various business applications so that users can use a set of digital certificates to access multiple business systems is a problem that needs to be solved. Summary of the invention
[0003] The present application aims to at least solve the technical problems existing in the prior art. To this end, the present application proposes a method, device, electronic device and storage medium for mutual recognition of identities between systems, which can provide users with a one-stop identity authentication service while ensuring the information security of various business applications, so that users can use a set of digital certificates to access multiple business systems or gateways, thereby improving the user experience.
[0004] In a first aspect, the present application provides a method for mutual recognition of identities between systems, the method comprising:
[0005] The first communication device receives a first access request from a user using a first digital certificate, and locally verifies the unique identification information of the user, where the first digital certificate is a digital certificate used to access a second business system;
[0006] After the identification information is locally verified, the first digital certificate is parsed to obtain the business system identification information in the first digital certificate, where the business system identification information in the first digital certificate is the identification information of the second business system;
[0007] Determine whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally in the first communication device; if so, verify the validity of the first digital certificate to obtain a validity verification result;
[0008] The validity verification result is returned to the user, and if the validity verification result is passed, the user is allowed to access the first communication device.
[0009] In the above technical solution, when the first communication device receives the first access request from the user using the first digital certificate, it parses the first digital certificate to obtain the identification information of the second application system contained in the first digital certificate, and determines whether the identification information of the second application system contained in the first digital certificate matches the business system identification information pre-stored locally in the first communication device. If they match, the validity of the first digital certificate is verified. After the verification is passed, the user is allowed to access the first communication device. While ensuring the security of each business application information, it can provide users with a one-stop identity authentication service, allowing users to use a set of digital certificates to access multiple business systems or gateways, thereby improving user experience.
[0010] According to an embodiment of the present application, after determining whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally, the method further includes:
[0011] If there is no match, determining whether the identification information of the second service system is in the access whitelist of the first communication device;
[0012] If the identification information of the second service system is in the access whitelist of the first communication device, verifying the validity of the first digital certificate;
[0013] If the identification information of the second business system is not in the access whitelist of the first communication device, an access failure result is returned to the user.
[0014] In the above technical solution, by combining local verification and permission verification mechanism based on access whitelist, mutual recognition and trust of identities between multiple business systems and gateways are achieved. While ensuring the information security of each business application, it can provide users with one-stop identity authentication services, allowing users to use a set of digital certificates to access multiple business systems or gateways, thereby improving user experience.
[0015] According to one embodiment of the present application, the method further includes:
[0016] Through visual configuration, identification information of other service systems that need to access or are allowed to access the first communication device is written into the access whitelist of the first communication device.
[0017] In the above technical solution, the entry binding and cancellation of authorization of the business system in the access whitelist are configured in real time through a visual interface, so as to achieve highly mobile access rights connection and blocking, and realize identity mutual recognition and trust between multiple business systems and gateways through the two-layer authentication method of access rights whitelist + certificate validity verification.
[0018] According to an embodiment of the present application, the identification information of the second business system is stored in an extension item of the first digital certificate;
[0019] The identification information is generated by the CA institution cryptographic service sharing platform.
[0020] In the above technical solution, the identification information of the business system is generated through the CA agency's cryptographic service sharing platform. By writing the identification information of the business system to which the digital certificate belongs into the extension item of a specific field of the digital certificate when the digital certificate is created, the legal and compliance application of the digital certificate can be met, laying the foundation for establishing an APPID-based binding relationship between business systems and gateways to meet the needs of identity mutual recognition and interoperability between systems.
[0021] According to an embodiment of the present application, the parsing of the first digital certificate to obtain the business system identification information in the first digital certificate includes:
[0022] The extension item of the first digital certificate is parsed through the digital certificate assistant to obtain the business system identification information in the first digital certificate.
[0023] According to an embodiment of the present application, the verifying the validity of the first digital certificate includes:
[0024] Verifying, by the gateway, the certificate chain of the first digital certificate;
[0025] The CA institution cryptographic service sharing platform is called to determine whether the first digital certificate is within the validity period, whether it is issued by a legitimate issuer, and whether it has been revoked.
[0026] In the above technical solution, the digital certificate owner sends an access request to the business system. The business system gives priority to local judgment. If the local judgment fails, the access whitelist is verified. After the whitelist verification is passed, the validity of the digital certificate is verified. If the local judgment is successful, the validity of the certificate is verified. By verifying the certificate chain and validity period, the validity of the certificate can be ensured, and mutual recognition and trust of identities between multiple business systems and gateways can be achieved.
[0027] According to an embodiment of the present application, the first communication device includes: a first service system, or a gateway.
[0028] In the method for mutual identity recognition between systems provided by the embodiment of the present application, the owner of a digital certificate sends an access request to the first communication device, and the first communication device gives priority to local judgment. If the local judgment fails, the access whitelist is verified. After the whitelist verification is passed, the validity of the verification is verified; if the local judgment is successful, the validity of the certificate is verified. The validity of the certificate can be ensured by verifying the certificate chain and the validity period of the certificate. By combining local verification, permission verification based on the access whitelist, and digital certificate validity verification, mutual identity recognition and mutual trust between multiple business systems and gateways are achieved. While ensuring the information security of each business application, it is possible to provide users with a one-stop identity authentication service, allowing users to use a set of digital certificates to access multiple business systems or gateways, thereby improving user experience.
[0029] In a second aspect, the present application provides an inter-system identity mutual recognition device, the device comprising:
[0030] A receiving unit, configured to receive a first access request from a user using a first digital certificate, where the first digital certificate is a digital certificate used to access a second business system;
[0031] a parsing unit, configured to parse the first digital certificate to obtain the business system identification information in the first digital certificate, wherein the business system identification information in the first digital certificate is the identification information of the second business system;
[0032] a verification unit, configured to determine whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally, and if so, to verify the validity of the first digital certificate to obtain a validity verification result;
[0033] The result returning unit is used to return the validity verification result to the user, and if the validity verification result is passed, allow the user to access the first communication device.
[0034] In the above technical solution, when a first access request from a user using a first digital certificate is received, the first digital certificate is parsed to obtain identification information of the second application system contained in the first digital certificate, and it is determined whether the identification information of the second application system contained in the first digital certificate matches the business system identification information pre-stored locally on the first communication device. If they match, the validity of the first digital certificate is verified. After the verification is passed, the user is allowed to access the first communication device. While ensuring the security of each business application information, a one-stop identity authentication service can be provided to the user, so that the user can use a set of digital certificates to access multiple business systems or gateways, thereby improving the user experience.
[0035] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for mutual identity recognition between systems as described in the first aspect above is implemented.
[0036] In a fourth aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for mutual identity recognition between systems as described in the first aspect above is implemented.
[0037] In a fifth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method for mutual identity recognition between systems as described in the first aspect.
[0038] In a sixth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for mutual identity recognition between systems as described in the first aspect above.
[0039] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0041] Figure 1 One of the flow charts of the method for mutual recognition of identities between systems provided in the embodiment of the present application;
[0042] Figure 2 A schematic diagram of the interaction between the digital certificate assistant, the cryptographic key and the PC provided in the embodiment of the present application;
[0043] Figure 3 A schematic diagram of performing certificate chain verification on a digital certificate provided in an embodiment of the present application;
[0044] Figure 4 A schematic diagram of validating a digital certificate provided in an embodiment of the present application;
[0045] Figure 5 The second flowchart of the method for mutual recognition of identities between systems provided in the embodiment of the present application;
[0046] Figure 6 A schematic diagram of the structure of an inter-system identity mutual recognition device provided in an embodiment of the present application;
[0047] Figure 7It is a hardware schematic diagram of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0049] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0050] The following, in conjunction with the accompanying drawings, describes in detail the method, device, electronic device and storage medium for mutual recognition of identities between systems provided by the embodiments of the present application through specific embodiments and their application scenarios.
[0051] The embodiments of the present application provide a method, apparatus, electronic device and storage medium for mutual identity recognition between systems. The execution subject of the method for mutual identity recognition between systems may be a first communication device or a functional module or functional entity in the first communication device that can implement the method for mutual identity recognition between systems. The method for mutual identity recognition between systems provided by the embodiments of the present application is described below using the first communication device as an example of the execution subject.
[0052] The first communication device may also be replaced by other names, such as the first device, and the first business system may also be replaced by the first system. Optionally, the first business system includes a server and a client, and the client of the first business system runs on a terminal device or an electronic device. Therefore, the first business system may also be replaced by a terminal device, an electronic device, etc. The terminal device or electronic device mentioned in the embodiments of the present application includes but is not limited to a mobile phone, a tablet computer, a computer, a camera, and a wearable device, etc.
[0053] Figure 1 This is one of the flow charts of the method for mutual recognition of identities between systems provided in the embodiment of the present application. Figure 1 As shown, the inter-system identity mutual recognition method includes: step 110, step 120, step 130 and step 140.
[0054] Step 110: The first communication device receives a first access request from a user using a first digital certificate, and locally verifies the unique identification information of the user, where the first digital certificate is a digital certificate used to access a second business system;
[0055] Optionally, the first communication device includes: a first service system, or a gateway. The embodiment of the present application realizes mutual trust and mutual recognition in accessing a service system and mutual trust and mutual recognition in accessing a gateway.
[0056] Mutual recognition of access to business systems means that users can use the same digital certificate to access / login to different business systems. When a user accesses the first business system, he uses the first digital certificate to access it. The first digital certificate here is the digital certificate applied by the user in the second business system for accessing and accessing the second business system, that is, the user uses the digital certificate of the second business system to access the first business system.
[0057] Mutual trust and recognition of access gateways means that users can use the same certificate to access business systems and gateways, or different gateways. When a user accesses a gateway, he uses the first digital certificate to access it. The first digital certificate here is the digital certificate applied by the user in the second business system for accessing and accessing the second business system.
[0058] Step 120: After the identification information is locally verified, the first digital certificate is parsed to obtain the business system identification information in the first digital certificate, where the business system identification information in the first digital certificate is the identification information of the second business system;
[0059] In order to enable a user to access different business systems using the same digital certificate, in an embodiment of the present application, when the first business system receives a first access request from a user using a first digital certificate, the first digital certificate will be parsed.
[0060] In order to enable users to access the gateway using the same digital certificate, in an embodiment of the present application, when the gateway receives a first access request from a user using a first digital certificate, it will parse the first digital certificate.
[0061] The embodiment of the present application has extended the digital certificate, and the identification information of the business system to which the digital certificate belongs is written into the extension item of the digital certificate. The identification information of the business system can be represented by APPID. Through the identification information of the business system, the specific business system to which the digital certificate belongs can be distinguished, that is, the first digital certificate contains the identification information of the second business system. By parsing the first digital certificate, the business system identification information in the first digital certificate can be obtained. The business system identification information is the identification information of the second business system, indicating that the first digital certificate belongs to the second business system.
[0062] Step 130: determine whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally in the first communication device; if so, verify the validity of the first digital certificate to obtain a validity verification result;
[0063] In an embodiment of the present application, mutual recognition and trust of identities between systems are achieved by establishing an identification information binding relationship between business systems. It can be understood that if the first business system and the second business system recognize and trust each other, the identification information of the second business system can be pre-stored locally in the first business system, and the identification information of the first business system can be pre-stored locally in the second business system. Mutual recognition and trust are achieved through the binding of such identification information.
[0064] If the first communication device is the first business system, the first business system will determine whether the business system identification information in the first digital certificate is consistent with the business system identification information pre-stored locally in the first business system, or whether the business system identification information in the first digital certificate is one of multiple business system identification information pre-stored locally in the first business system. If they are consistent, or the business system identification information in the first digital certificate is one of multiple business system identification information pre-stored locally in the first business system, it means that the identification information of the second business system is pre-stored locally in the first business system, that is, the first business system and the second business system recognize and trust each other, and the first business system allows authenticated users of the second business system to access. Furthermore, the first business system verifies the validity of the first digital certificate to obtain a validity verification result.
[0065] If the first communication device is a gateway, the gateway will further determine whether the business system identification information in the first digital certificate is consistent with the business system identification information pre-stored locally in the gateway, which can also be understood as whether the business system identification information in the first digital certificate is one of multiple business system identification information pre-stored locally in the gateway. If they are consistent, or the business system identification information in the first digital certificate is one of multiple business system identification information pre-stored locally in the gateway, it means that the identification information of the second business system is pre-stored locally in the gateway, that is, the gateway and the second business system recognize and trust each other, and the gateway allows authenticated users of the second business system to access. Further, the gateway verifies the validity of the first digital certificate to obtain a validity verification result.
[0066] Optionally, validity verification includes certificate chain verification and validity period verification.
[0067] Step 140: Return the validity verification result to the user, and if the validity verification result is passed, allow the user to access the first communication device.
[0068] The validity verification result is returned to the terminal device where the user is located, and if the validity verification result is passed, the user is allowed to access the first business system or gateway.
[0069] In the method for mutual identity recognition between systems provided in the embodiment of the present application, when the first communication device receives a first access request from a user using a first digital certificate, the first digital certificate is parsed to obtain identification information of the second application system contained in the first digital certificate, and it is determined whether the identification information of the second application system contained in the first digital certificate matches the business system identification information pre-stored locally in the first communication device. If they match, the validity of the first digital certificate is verified. After the verification is passed, the user is allowed to access the first communication device. While ensuring the security of each business application information, a one-stop identity authentication service can be provided to the user, so that the user can use a set of digital certificates to access multiple business systems or gateways, thereby improving the user experience.
[0070] In some embodiments, after determining whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally, the method further includes:
[0071] If there is no match, determining whether the identification information of the second service system is in the access whitelist of the first communication device;
[0072] If the identification information of the second service system is in the access whitelist of the first communication device, the validity of the first digital certificate is verified.
[0073] It is understandable that the embodiment of the present application also realizes mutual recognition and trust of digital certificates between multiple business systems and gateways by accessing the whitelist.
[0074] Access whitelists can also be called access permission whitelists. Access whitelists refer to a set of access permission verification mechanisms that can flexibly configure the permissions for business systems to access other business systems. They are used to protect the security of business systems and the controllability of certificates used between business systems.
[0075] In some embodiments, the method further comprises:
[0076] Through visual configuration, identification information of other service systems that need to access or are allowed to access the first communication device is written into the access whitelist of the first communication device.
[0077] Specifically, through the visual configuration function of the whitelist, the business system is bound to the APPID of other business systems that need to access the business system, and a binding relationship based on the APPID is established, thereby achieving mutual recognition and trust of digital certificates between systems.
[0078] The identification information of other business systems that need to access or are allowed to access the first communication device is written into the access whitelist of the first communication device. When other business systems access the first communication device, the APPID of the other business systems is obtained from the certificates of the other business systems, and it is verified whether the APPID is in the access whitelist of the first communication device. If the APPID is in the access whitelist of the first communication device, the validity verification (real-time verification) is continued to realize identity authentication between multiple business systems and gateways.
[0079] It can be understood that it is determined whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally. If they do not match, it is determined whether the identification information of the second business system is in the access whitelist of the first communication device. If the identification information of the second business system is in the access whitelist of the first communication device, it means that the first communication device allows users of the second business system to access, and the validity of the first digital certificate continues to be verified.
[0080] For example, a user applies for a digital certificate in business system A and accesses business system A. If the user uses the certificate applied for in business system A to access business system B at this time, business system B will first locally determine whether the APPID in the certificate matches the APPID stored locally in business system B. If they match, the certificate will be verified locally, and the user will be allowed to access the system after the verification passes. If they do not match, the APPID access whitelist of business system B needs to be called to determine whether the APPID of business system A is in the APPID access whitelist of business system B. If the APPID of business system A is in the APPID access whitelist of business system B, business system B will verify the validity of the user's digital certificate, and allow the user to access business system B after successful verification.
[0081] For another example, when a terminal device accesses a gateway through a digital certificate, the gateway will first make a local judgment to determine whether the APPID in the certificate matches the APPID pre-stored in the gateway. If they match, the user's digital certificate will be verified locally on the gateway for validity, and terminal device access will be completed after the verification is passed. If they do not match, the gateway's APPID access whitelist will be called. If the APPID in the certificate is in the gateway's APPID access whitelist, the verification will pass, and the validity of the certificate will continue to be verified. Terminal device access will be completed after the verification is passed.
[0082] Optionally, the binding and deauthorization of business systems in the access whitelist can be configured in real time through a visual interface, which can achieve highly flexible access rights connection and blocking, and realize identity mutual recognition and trust between multiple business systems and gateways through the two-layer authentication method of access rights whitelist + certificate validity verification. Identity mutual recognition and trust can also be called digital certificate mutual recognition and trust.
[0083] The method for mutual identity recognition between systems provided in the embodiment of the present application realizes mutual identity recognition and mutual trust between multiple business systems and gateways by combining local verification and an access whitelist-based permission verification mechanism. It can provide users with one-stop identity authentication services while ensuring the information security of each business application, allowing users to access multiple business systems or gateways using a set of digital certificates, thereby improving user experience.
[0084] In some embodiments, after determining whether the identification information of the second service system is in the access whitelist of the first communication device, the method further includes:
[0085] If the identification information of the second business system is not in the access whitelist of the first communication device, an access failure result is returned to the user.
[0086] It is understandable that if the identification information of the second service system is not in the access whitelist of the first communication device, it means that the first communication device does not allow the user of the second service system to access, and returns an access failure result to the user.
[0087] In some embodiments, the identification information of the second business system is stored in an extension item of the first digital certificate;
[0088] The identification information is generated by the CA institution cryptographic service sharing platform.
[0089] It can be understood that the embodiment of the present application designs a whitelist mechanism with control access rights, and realizes the construction of trust chain list and update of public revocation list through the CA (Certificate Authority) institution cryptographic service sharing platform. The mechanism establishes a binding relationship based on APPID between business systems, so that the business system trusts the APPID of other business systems according to the whitelist. At the same time, through the dynamic control of the permission list whitelist, the mutual trust and recognition of digital certificates in multiple business systems and multiple gateways are realized to meet the needs of identity mutual recognition and interoperability between systems.
[0090] Among them, APPID is generated by the CA institution cryptographic service sharing platform, representing the unique identification information of the business system, or called a unique identification code. In the embodiment of the present application, APPID is stored in the extension item of the digital certificate when the digital certificate is created, so as to distinguish that the digital certificate belongs to a specific business system.
[0091] Optionally, when the digital certificate is created, the APPID is stored in the OID extension of the digital certificate to distinguish that the digital certificate belongs to a specific business system. Optionally, the APPID is stored in the Crypto ID extension of the OID field of the digital certificate.
[0092] Optionally, this application takes into account the real-name authentication requirements of password key digital certificates. In terms of basic domains and extensions for digital certificate production, standard information is written to identify specific user information. Specifically, certificate users are basically individuals and enterprises. In terms of identity authentication between systems, the business system relies on the certificate assistant parsing rules to initially judge the consistency of identity information on the business system client. Specifically, it includes the following:
[0093] (I) Basic domain settings for certificates
[0094] 1) The subject of the personal certificate must at least include:
[0095] C = Country (China);
[0096] CN = personal name (consistent with personal ID card).
[0097] 2) The subject of the enterprise certificate shall at least include:
[0098] C = Country (China);
[0099] CN = unit name (consistent with the information on the business license loaded with the unified social credit code).
[0100] (II) Certificate extension settings
[0101] 1) The personal identity code (identity Code) is written into the standard extension of the personal certificate to indicate the number of the personal identity document.
[0102] 2) The unified social credit code (Uniform social credit code) of the business license written into the standard extension of the enterprise certificate represents the unified social credit code.
[0103] (III) The business system verifies the digital certificate user information
[0104] The local verification of user information is completed with the help of the digital certificate assistant client. The local verification of user information includes the verification of identity information and / or MAC address;
[0105] Users can be individuals or enterprises. Personal identity information includes name and ID number; corporate identity information includes company name and unified social credit code.
[0106] During the creation of a digital certificate, the MAC address of the device that is allowed to access the digital certificate will also be written into the extension item of the digital certificate.
[0107] Figure 2A schematic diagram of the interaction between the digital certificate assistant, the password key and the PC provided in the embodiment of the present application. The user inserts the password key into the PC, and the business system performs a local verification of the MAC address through the digital certificate assistant to determine whether the MAC address in the digital certificate is consistent with the MAC address of the PC, or performs a local verification of the identity information and the MAC address.
[0108] Optionally, when the first communication system receives a first access request from a user using a first digital certificate, the first communication system performs local verification of the MAC address through a digital certificate assistant to verify whether the MAC address in the digital certificate is consistent with the MAC address of the PC where the first communication system client is located. After the verification is successful, subsequent steps (i.e., verification of the APPID) are executed. If the verification fails, an access failure result is returned.
[0109] Optionally, the CA institution cryptographic service sharing platform may also be replaced by a digital certificate operation and management module.
[0110] Optionally, the CA cryptographic service sharing platform is also used to create trust lists and maintain public revocation lists. Building trust lists, keeping CA certificate trust chains, and updating certificate trust chains in a timely manner; continuously and synchronously updating the trusted revocation list (CRL) published by the CA can ensure the accuracy, completeness, and availability of the public revocation list.
[0111] The method for mutual identity recognition between systems provided in the embodiment of the present application generates identification information of the business system through the CA organization's cryptographic service sharing platform, and writes the identification information of the business system to which the digital certificate belongs into the extension item of a specific field of the digital certificate when the digital certificate is created. This can meet the legal and compliance application of the digital certificate, and lays the foundation for establishing an APPID-based binding relationship between business systems and gateways to meet the needs of mutual identity recognition and intercommunication between systems.
[0112] In some embodiments, the parsing the first digital certificate to obtain the business system identification information in the first digital certificate includes:
[0113] The extension item of the first digital certificate is parsed through the digital certificate assistant to obtain the business system identification information in the first digital certificate.
[0114] It can be understood that since the embodiment of the present application stores the APPID in the extension item when the digital certificate is created, in order to distinguish that the digital certificate belongs to a specific business system, when parsing the first digital certificate, the extension item of the first digital certificate can be parsed by calling the digital certificate assistant, thereby obtaining the business system identification information in the first digital certificate.
[0115] In some embodiments, verifying the validity of the first digital certificate includes:
[0116] Verifying, by the gateway, the certificate chain of the first digital certificate;
[0117] The CA institution cryptographic service sharing platform is called to determine whether the first digital certificate is within the validity period, whether it is issued by a legitimate issuer, and whether it has been revoked.
[0118] It can be understood that verifying the validity of the first digital certificate includes verifying the certificate chain and the validity period of the first digital certificate.
[0119] The step of performing certificate chain verification on the first digital certificate includes:
[0120] The certificate chain of the first digital certificate is verified by the gateway.
[0121] Figure 3 A schematic diagram of verifying the certificate chain of a digital certificate provided in an embodiment of the present application. By verifying the certificate chain of the first digital certificate through the gateway, the legitimacy of the certificate can be ensured.
[0122] Verifying the validity period of the first digital certificate includes:
[0123] The CA institution cryptographic service sharing platform is called to determine whether the first digital certificate is within the validity period, whether it is issued by a legitimate issuer, and whether it has been revoked.
[0124] Figure 4 A schematic diagram of validating a digital certificate provided in an embodiment of the present application. Figure 4 As shown, by calling the CA institution cryptographic service sharing platform, the legitimacy of the issuer, time validity period and revocation verification of the digital certificate are performed to ensure that the digital certificate is within the validity period.
[0125] In the method for mutual identity recognition between systems provided by the embodiment of the present application, the digital certificate owner sends an access request to the business system, and the business system gives priority to local judgment. If the local judgment fails, the access whitelist is verified. After the whitelist verification passes, the validity of the verification is verified; if the local judgment is successful, the validity of the certificate is verified. By verifying the certificate chain and validity period of the certificate, the validity of the certificate can be ensured, and mutual identity recognition and trust between multiple business systems and gateways can be achieved.
[0126] Figure 5 This is a second flow chart of the method for mutual recognition of identities between systems provided in the embodiment of the present application. Figure 5 As shown, the method for mutual identity recognition between systems includes the following steps:
[0127] (1) The digital certificate owner sends an access request to the first communication device (the accessed business system or gateway). The first communication device prioritizes local judgment. If the local judgment fails, it requests access to the whitelist. If the local judgment succeeds, it verifies the validity of the certificate.
[0128] (2) Perform whitelist verification. Use the digital certificate assistant to parse the OID extension in the digital certificate, obtain the APPID of the business system to which the certificate belongs, and use the APPID to verify the access permission whitelist of the first communication device. If the APPID exists in the access permission whitelist of the first communication device, verify the validity of the certificate. If the APPID does not exist in the access permission whitelist of the first communication device, access to the first communication device fails.
[0129] (3) The gateway verifies the certificate chain of the digital certificate to ensure the legitimacy of the certificate. After the verification is passed, it proceeds to the next step.
[0130] (4) Verify the validity period of the certificate and call the CA cryptographic service sharing platform to determine whether the certificate is within the validity period, whether it is issued by a legitimate issuer, or whether it has been revoked. Once the verification is passed, proceed to the next step.
[0131] (5) The result is returned to the first communication device. If successful, the user is allowed to access the service operation on the first communication device; if unsuccessful, the user is not allowed to access the first communication device.
[0132] In the method for mutual identity recognition between systems provided by the embodiment of the present application, the owner of a digital certificate sends an access request to the first communication device, and the first communication device gives priority to local judgment. If the local judgment fails, the access whitelist is verified. After the whitelist verification is passed, the validity of the verification is verified; if the local judgment is successful, the validity of the certificate is verified. The validity of the certificate can be ensured by verifying the certificate chain and the validity period of the certificate. By combining local verification, permission verification based on the access whitelist, and digital certificate validity verification, mutual identity recognition and mutual trust between multiple business systems and gateways are achieved. While ensuring the information security of each business application, it is possible to provide users with a one-stop identity authentication service, allowing users to use a set of digital certificates to access multiple business systems or gateways, thereby improving user experience.
[0133] The inter-system identity mutual recognition method provided in the embodiment of the present application can be executed by an inter-system identity mutual recognition device. In the embodiment of the present application, the inter-system identity mutual recognition device executing the inter-system identity mutual recognition method is taken as an example to illustrate the inter-system identity mutual recognition device provided in the embodiment of the present application.
[0134] The embodiment of the present application also provides an inter-system identity mutual recognition device, which is applied to a first communication device. It can be understood that the inter-system identity mutual recognition device can be the first communication device, or a functional module or entity on the first communication device.
[0135] Figure 6 This is a schematic diagram of the structure of the inter-system identity mutual recognition device provided in the embodiment of the present application. Figure 6 As shown, the inter-system identity mutual recognition device 60 includes: a receiving unit 610, a parsing unit 620, a verification unit 630 and a result returning unit 640. Among them,
[0136] A receiving unit, configured to receive a first access request from a user using a first digital certificate, where the first digital certificate is a digital certificate used to access a second business system;
[0137] a parsing unit, configured to parse the first digital certificate to obtain the business system identification information in the first digital certificate, wherein the business system identification information in the first digital certificate is the identification information of the second business system;
[0138] a verification unit, configured to determine whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally, and if so, to verify the validity of the first digital certificate to obtain a validity verification result;
[0139] The result returning unit is used to return the validity verification result to the user, and if the validity verification result is passed, allow the user to access the first communication device.
[0140] The inter-system identity mutual recognition device provided in the embodiment of the present application, when receiving a first access request from a user using a first digital certificate, parses the first digital certificate to obtain the identification information of the second application system contained in the first digital certificate, and determines whether the identification information of the second application system contained in the first digital certificate matches the business system identification information pre-stored locally in the first communication device. If they match, the validity of the first digital certificate is verified. After the verification is passed, the user is allowed to access the first communication device. While ensuring the security of each business application information, it can provide users with a one-stop identity authentication service, so that users can use a set of digital certificates to access multiple business systems or gateways, thereby improving user experience.
[0141] In some embodiments, the verification unit is further configured to:
[0142] If there is no match, determining whether the identification information of the second service system is in the access whitelist of the first communication device;
[0143] If the identification information of the second service system is in the access whitelist of the first communication device, verifying the validity of the first digital certificate;
[0144] If the identification information of the second business system is not in the access whitelist of the first communication device, an access failure result is returned to the user.
[0145] In some embodiments, the inter-system identity mutual recognition device further includes:
[0146] The configuration unit is used to write the identification information of other business systems that need to access or are allowed to access the first communication device into the access whitelist of the first communication device through visual configuration.
[0147] In some embodiments, the identification information of the second business system is stored in an extension item of the first digital certificate;
[0148] The identification information is generated by the CA institution cryptographic service sharing platform.
[0149] In some embodiments, the parsing the first digital certificate to obtain the business system identification information in the first digital certificate includes:
[0150] The extension item of the first digital certificate is parsed through the digital certificate assistant to obtain the business system identification information in the first digital certificate.
[0151] In some embodiments, verifying the validity of the first digital certificate includes:
[0152] The certificate chain of the first digital certificate is verified by the gateway.
[0153] The CA institution cryptographic service sharing platform is called to determine whether the first digital certificate is within the validity period, whether it is issued by a legitimate issuer, and whether it has been revoked.
[0154] In some embodiments, the first communication device includes: a first service system, or a gateway.
[0155] The inter-system identity mutual recognition device in the embodiment of the present application can be an electronic device, or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a car-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0156] The inter-system identity mutual recognition device in the embodiment of the present application may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0157] The inter-system identity mutual recognition device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0158] In some embodiments, Figure 7 As shown, an embodiment of the present application also provides an electronic device 700, including a processor 701, a memory 702, and a computer program stored in the memory 702 and executable on the processor 701. When the program is executed by the processor 701, each process of the above-mentioned embodiment of the method for mutual recognition of identity between systems is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0159] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0160] An embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned embodiment of the method for mutual identity recognition between systems are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0161] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0162] An embodiment of the present application also provides a computer program product, including a computer program, which implements the above-mentioned method for mutual identity recognition between systems when executed by a processor.
[0163] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0164] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned embodiment of the method for mutual identity recognition between systems, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0165] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0166] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0167] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0168] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0169] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0170] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A method for mutual recognition of identities between systems, characterized in that: Applied to a first communication device, comprising: Receiving a first access request from a user using a first digital certificate, where the first digital certificate is a digital certificate used to access a second business system; Parsing the first digital certificate to obtain business system identification information in the first digital certificate, where the business system identification information in the first digital certificate is identification information of the second business system; Determine whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally in the first communication device; if so, verify the validity of the first digital certificate to obtain a validity verification result; The validity verification result is returned to the user, and if the validity verification result is passed, the user is allowed to access the first communication device.
2. The method for mutual recognition of identities between systems according to claim 1, characterized in that: After determining whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally, the method further includes: If there is no match, determining whether the identification information of the second service system is in the access whitelist of the first communication device; If the identification information of the second service system is in the access whitelist of the first communication device, verifying the validity of the first digital certificate; If the identification information of the second business system is not in the access whitelist of the first communication device, an access failure result is returned to the user.
3. The method for mutual recognition of identities between systems according to claim 2, characterized in that: The method further comprises: Through visual configuration, identification information of other service systems that need to access or are allowed to access the first communication device is written into the access whitelist of the first communication device.
4. The method for mutual recognition of identities between systems according to claim 1, characterized in that: The identification information of the second business system is stored in the extension item of the first digital certificate; The identification information is generated by the CA institution cryptographic service sharing platform.
5. The method for mutual recognition of identities between systems according to claim 4, characterized in that: The parsing of the first digital certificate to obtain the business system identification information in the first digital certificate includes: The extension item of the first digital certificate is parsed through the digital certificate assistant to obtain the business system identification information in the first digital certificate.
6. The method for mutual recognition of identities between systems according to claim 1, characterized in that: The verifying the validity of the first digital certificate includes: Verifying, by the gateway, the certificate chain of the first digital certificate; The CA institution cryptographic service sharing platform is called to determine whether the first digital certificate is within the validity period, whether it is issued by a legitimate issuer, and whether it has been revoked.
7. The method for mutual recognition of identities between systems according to any one of claims 1 to 6, characterized in that: The first communication device includes: a first service system, or a gateway.
8. An inter-system identity recognition device, characterized in that: Applied to a first communication device, comprising: A receiving unit, configured to receive a first access request from a user using a first digital certificate, where the first digital certificate is a digital certificate used to access a second business system; a parsing unit, configured to parse the first digital certificate to obtain the business system identification information in the first digital certificate, wherein the business system identification information in the first digital certificate is the identification information of the second business system; a verification unit, configured to determine whether the business system identification information in the first digital certificate matches the business system identification information pre-stored locally, and if so, to verify the validity of the first digital certificate to obtain a validity verification result; The result returning unit is used to return the validity verification result to the user, and if the validity verification result is passed, allow the user to access the first communication device.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method for mutual identity recognition between systems as described in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for mutual identity recognition between systems as described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Data traffic verification method and security authentication gateway system
CN119030800A
