Electronic certificate processing method and device

Through cross-domain event detection and credential activation verification, eligible electronic credentials are automatically activated, which solves the problem of the convenience of activating electronic credentials when users cross domains and improves the convenience of taking public transportation.

CN120673510APending Publication Date: 2025-09-19ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510811141.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-16
Publication Date
2025-09-19

AI Technical Summary

Technical Problem

In the existing technology, users are unable to automatically and timely activate the required electronic credentials when crossing domains, resulting in cumbersome manual operations when taking public transportation and the possibility of activating unnecessary electronic credentials.

Method used

Through cross-domain event detection, the user's credential records and the credential configuration of the destination area are verified, and eligible electronic credentials are automatically activated. Pre-activation or access activation mode is supported to improve the convenience of electronic credentials.

Benefits of technology

It realizes the automation and timely activation of electronic vouchers, reduces the user operation steps, and improves the convenience of taking public transportation and the effectiveness of electronic vouchers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120673510A_ABST
    Figure CN120673510A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an electronic certificate processing method and device, and the method comprises the steps: starting from a cross-domain event obtained through the cross-domain event detection of a user in the opening processing process of an electronic certificate, carrying out the certificate opening verification of a target region corresponding to the cross-domain event, and carrying out the verification of the opening of the electronic certificate. And when the verification is passed, determining a to-be-opened voucher opened to the user in the target area in the voucher opening strategy, and if the opening mode of the to-be-opened voucher is a pre-opening mode, opening the to-be-opened voucher to the user according to an opening link corresponding to the pre-opening mode. In this way, the electronic certificate of the user in the target area is opened in a pre-opening mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This document relates to the field of data processing technology, and in particular to a method and device for processing electronic certificates. Background Art

[0002] With the continuous development and promotion of the Internet and smart hardware, the application scope of various online services provided by the Internet is becoming wider and wider. In this case, there are ways to obtain and use electronic cards online, such as applying for electronic transportation cards for public transportation through applications, and swiping the received electronic transportation cards to ride. With the continuous popularization and promotion of the use of electronic cards, more and more users are using electronic cards to swipe cards to ride. Summary of the Invention

[0003] One or more embodiments of this specification provide a method for processing electronic credentials, the method comprising: detecting a cross-domain event for a user, and performing credential activation verification for the destination area corresponding to the detected cross-domain event. If the verification passes, the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination area. If the activation mode of the credential to be activated is a pre-activation mode, activation processing of the credential to be activated is performed on the user according to the activation link corresponding to the pre-activation mode.

[0004] One or more embodiments of this specification provide another method for processing electronic credentials, the method comprising: obtaining a credential activation message of a target credential issued by a server and issuing a message reminder. The credential activation message is generated after the activation process of the credential to be activated is performed according to the activation link corresponding to the activation mode of the credential to be activated. If a credential access instruction submitted by a user in an application is detected, credential display processing is performed based on the target credential and the credential record of the user. The credential to be activated is determined in the credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

[0005] One or more embodiments of the present specification provide a device for processing electronic credentials, the device comprising: a cross-domain detection module configured to detect cross-domain events for a user, and to perform credential activation verification for the destination area corresponding to the detected cross-domain event; a credential determination module configured to, if the verification passes, determine the user's credential to be activated in the credential activation policy based on the user's credential record and the credential configuration of the destination area; and a credential activation module configured to, if the activation mode of the credential to be activated is a pre-activation mode, perform activation processing for the credential to be activated for the user according to the activation link corresponding to the pre-activation mode.

[0006] One or more embodiments of the present specification provide another electronic credential processing device, the device comprising: a message reminder module, configured to obtain a credential activation message of a target credential issued by a server and to make a message reminder. The credential activation message is generated after the activation process of the credential to be activated is performed according to the activation link corresponding to the activation mode of the credential to be activated. The credential display module is configured to perform credential display processing based on the target credential and the credential record of the user if a credential access instruction submitted by the user in the application is detected. The credential to be activated is determined in the credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

[0007] One or more embodiments of this specification provide a device for processing electronic credentials, including: a processor; and a memory configured to store computer-executable instructions, wherein when the computer-executable instructions are executed, the processor: performs cross-domain event detection on the user, and performs credential activation verification on the destination area corresponding to the detected cross-domain event. If the verification is passed, the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination area. If the activation mode of the credential to be activated is a pre-activation mode, the activation process of the credential to be activated is performed on the user according to the activation link corresponding to the pre-activation mode.

[0008] One or more embodiments of the present specification provide another electronic credential processing device, comprising: a processor; and a memory configured to store computer-executable instructions, wherein the computer-executable instructions, when executed, cause the processor to: obtain a credential activation message of the target credential issued by the server and issue a message reminder. The credential activation message is generated after the activation process of the credential to be activated is performed according to the activation link corresponding to the activation mode of the credential to be activated. If a credential access instruction submitted by a user within an application is detected, credential display processing is performed based on the target credential and the credential record of the user. The credential to be activated is determined in the credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

[0009] One or more embodiments of this specification provide a computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: performing cross-domain event detection on the user, and performing credential activation verification on the destination area corresponding to the detected cross-domain event. If the verification is passed, the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination area. If the activation mode of the credential to be activated is the pre-activation mode, the activation process of the credential to be activated is performed on the user according to the activation link corresponding to the pre-activation mode.

[0010] One or more embodiments of the present specification provide another computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: obtain the credential activation message of the target credential issued by the server and issue a message reminder. The credential activation message is generated after the activation process of the credential to be activated is performed according to the activation link corresponding to the activation mode of the credential to be activated. If a credential access instruction submitted by the user in the application is detected, the credential display process is performed based on the target credential and the credential record of the user. The credential to be activated is determined in the credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate one or more embodiments of this specification or technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments described in this specification. Those skilled in the art can derive other drawings based on these drawings without inventive effort. Figure 1 A schematic diagram of an implementation environment for a method for processing an electronic certificate provided in one or more embodiments of this specification; Figure 2 A flowchart of a method for processing an electronic certificate provided in one or more embodiments of this specification; Figure 3 A processing sequence diagram of a method for processing an electronic certificate applied to a certificate activation scenario provided by one or more embodiments of this specification; Figure 4 A processing sequence diagram of a method for processing an electronic credential applied to a credential access scenario provided by one or more embodiments of this specification; Figure 5 A flowchart of another method for processing electronic certificates provided in one or more embodiments of this specification; Figure 6 A schematic diagram of an embodiment of an electronic certificate processing device provided in one or more embodiments of this specification; Figure 7 A schematic diagram of another embodiment of an electronic certificate processing device provided in one or more embodiments of this specification; Figure 8 A schematic diagram of the structure of an electronic certificate processing device provided in one or more embodiments of this specification; Figure 9 A schematic diagram of the structure of another electronic certificate processing device provided in one or more embodiments of this specification. DETAILED DESCRIPTION

[0012] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this document.

[0013] The electronic certificate processing method provided in one or more embodiments of this specification can be applied to the implementation environment of electronic certificate activation. Figure 1 , the implementation environment includes at least: Server 101 and user terminal 102; Among them, server 101 is used to detect cross-domain events for users, and when a cross-domain event is detected, determine the user's credentials to be activated in the destination area, and activate the credentials to the user according to the activation link corresponding to the activation mode of the credentials to be activated. Server 101 can be a server, or a server cluster composed of several servers, or one or more cloud servers in a cloud computing platform.

[0014] The user terminal 102 is installed with an application, which displays the activation message of the target credential activated and issued by the server 101 through the application, and performs credential display processing according to the user's credential access instruction so that the user can use the electronic credential. The user terminal 102 can specifically be a mobile phone, a personal computer, a tablet computer, an e-book reader, a device for information interaction based on VR (Virtual Reality) or AR (Augmented Reality), an in-vehicle terminal, an IoT device, a wearable smart device, a laptop computer, a desktop computer, etc.; In this implementation environment, during the electronic credential processing, the server 101 first detects the user's cross-domain event and performs credential activation verification on the destination area corresponding to the cross-domain event. If the verification is passed, the credential to be activated to the user is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination area. Further, according to the activation mode of the credential to be activated, the activation process of the credential to be activated is performed on the user according to the activation link corresponding to the activation mode of the credential to be activated. In this way, when the user's cross-domain event is detected, the electronic credential is automatically activated in the back end. The user terminal 102 obtains the credential activation message of the target credential obtained by the activation process of the credential to be activated from the server 101 and sends a message reminder, thereby reminding the user of the activation of the electronic credential. When the credential access instruction submitted by the user in the application is detected, the credential display process is performed to the user, so that the user can perceive and use the activated electronic credential.

[0015] It should be noted that, considering that the event parameters, payment records, travel orders, voucher records, user identity data and other related data involved in this manual may belong to the user's privacy to a certain extent, if you want to collect event parameters, payment records, travel orders, voucher records, user identity data and other related data, you can obtain the user's authorization before collecting the data, so that the data collection operation complies with relevant data management regulations. For example, the user's data authorization can be carried out during the process of activating the service through the application; the specific method of data authorization can be to send an authorization reminder to the user, and the user can obtain data collection authorization after confirming the reminder through an instruction, or, the method of data authorization can also be to obtain data collection authorization by signing a data authorization agreement.

[0016] One or more embodiments of a method for processing an electronic certificate provided in this specification are as follows: Reference Figure 2 The electronic certificate processing method provided in this embodiment can be applied to a server, and the method specifically includes steps S202 to S206.

[0017] Step S202: performing cross-domain event detection on the user, and performing credential activation verification on the destination area corresponding to the detected cross-domain event.

[0018] In this embodiment, the electronic certificate refers to an electronic certificate used in travel scenarios. The specific form of the electronic certificate can be various electronic forms such as electronic cards, digital cards or certificate codes. Specifically, the electronic certificate can be an electronic transportation card, a transportation certificate code and / or a shared electronic certificate, among which the electronic transportation card refers to an electronic card used to take a means of transportation, such as an electronic transportation card for taking a bus; the transportation certificate code refers to a certificate code for taking a means of transportation by scanning a code, such as a boarding code for taking the subway; a shared electronic certificate refers to an electronic certificate that can be used to take multiple means of transportation. The shared electronic certificate can be in the form of an electronic card or a certificate code, such as a transportation code that can be used to take public transportation such as the subway and bus at the same time.

[0019] In actual scenarios, different cities may use different electronic certificates. When users travel to different cities to take public transportation, they often need to activate the corresponding electronic certificate in the current city for transportation. In view of this, the electronic certificate processing method provided by this embodiment provides an automatic detection and activation method for electronic certificates, which helps users activate and manage electronic certificates.

[0020] In specific implementation, during the activation process of the electronic certificate, the user is first subjected to cross-domain event detection, and the event detection method is used to determine whether the user has crossed the domain. Here, cross-domain means that the user moves from one geographical area to another geographical area. Furthermore, based on the cross-domain event obtained by the cross-domain event detection, the destination area corresponding to the detected cross-domain event is verified for certificate activation to obtain a verification result, thereby determining whether it is necessary to activate the electronic certificate of the current destination area for the user.

[0021] During the specific implementation process, when detecting cross-domain events for users, cross-domain event detection can be performed from the perspective of geographic location. Specifically, the application can detect the cross-domain geographic location. After detecting that the geographic location is cross-domain, the application uploads a cross-domain notification. Here, a cross-domain event is generated when a cross-domain notification uploaded by the application is detected, that is, a cross-domain event is generated after detecting that the application has uploaded a cross-domain notification.

[0022] Specifically, in an optional implementation provided by this embodiment, cross-domain event detection is performed on the user, including: if a cross-domain notification uploaded by an application is detected, a cross-domain event is generated based on the cross-domain notification; optionally, the cross-domain notification is generated after the location module of the application detects that the user's geographic location is across domains.

[0023] Among them, the application refers to the application installed on the user's user terminal, specifically the application used by the user to activate and access the electronic certificate. The location module of the application refers to the functional module deployed by the application for cross-domain detection of geographic location. Cross-domain geographic location means that the location module of the application detects that the user's current geographic location is in a different geographic area from the user's previous geographic location. In addition, cross-domain geographic location can also mean that the location module detects that the user's current geographic location, combined with relevant parameters and the relevant parameters of the user's previous geographic location, meet the geographic area cross-domain conditions, that is, the cross-domain notification can be generated after the location module of the application detects that the user's location-related parameters meet the geographic area cross-domain conditions. For example, the location module of the application generates a cross-domain notification after detecting that the user's location parameters, time parameters, speed parameters and / or location stay duration parameters meet the corresponding geographic area cross-domain conditions.

[0024] On the basis of performing cross-domain event detection on the user to obtain the cross-domain event, further, a credential activation verification is performed on the destination area corresponding to the detected cross-domain event. Specifically, during the credential activation verification process, the credential activation verification can be performed by verifying whether the event parameters of the cross-domain event meet the verification rules. If they meet, it is determined that the verification is passed; if not, it is determined that the verification is failed. In this way, the users who need to activate the electronic credential in the current destination area are determined through the credential activation verification, so as to avoid activating the electronic credential to the user who currently has no actual need. For example, when the user travels from one geographical area to another by means of transportation such as a vehicle or train, it is avoided to activate the electronic credential in the geographical area that the user passes through. Specifically, in an optional implementation provided by this embodiment, a credential activation verification is performed on the destination area corresponding to the detected cross-domain event, including: verifying whether the event parameters of the cross-domain event meet the credential activation conditions of the destination area; if so, determining that the verification is passed; if not, determining that the verification is failed. The event parameters include a location parameter, a time parameter, a speed parameter, and / or a location dwell time parameter.

[0025] In addition, in the process of detecting cross-domain events for users, in addition to the implementation method of detecting cross-domain events from the perspective of geographical location provided above, cross-domain event detection can also be performed from the perspective of payment behavior. Specifically, in an optional implementation method provided by this embodiment, cross-domain event detection for users includes: detecting whether the payment location carried by the user's payment record triggers a cross-domain payment condition. If so, the payment event that triggers the cross-domain payment condition is used as a cross-domain payment event; here, the cross-domain payment event, as a type of cross-domain event, refers to an event in which the user makes a payment in another geographical area / a different place.

[0026] Alternatively, in the process of cross-domain event detection, cross-domain event detection can also be performed from the perspective of user itinerary. For example, if a user purchases a ticket or accommodation order to go to another place, in this case, the user is more likely to go to another place. Specifically, in an optional implementation provided by this embodiment, cross-domain event detection is performed on the user, including: detecting whether the user's itinerary order meets the itinerary cross-domain condition, and if so, generating a itinerary cross-domain event for the itinerary order; here, the itinerary cross-domain event, as a type of cross-domain event, refers to an event in which the user's itinerary goes to another place; wherein the itinerary cross-domain condition can be that the itinerary order is cancelled or fulfilled, or that the itinerary order is not refunded.

[0027] As described above, based on the cross-domain event detection for the user to obtain the cross-domain event, considering that the user's cross-domain events may be of different types, such as geographic location cross-domain events, cross-domain payment events, and itinerary cross-domain events, in the process of performing credential activation verification on the destination area corresponding to the detected cross-domain event, in order to improve the accuracy of credential activation verification for the destination areas corresponding to different types of cross-domain events, it is also possible to start from the event type or event source of the cross-domain event and perform credential activation verification on the destination area according to the rules corresponding to the event type or event source. Specifically, in an optional implementation manner provided by this embodiment, performing credential activation verification on the destination area corresponding to the detected cross-domain event includes: Determine the verification rules for cross-domain event matching based on the event source and / or event type of the cross-domain event; the event source refers to the processor of the cross-domain event or the type of the processor of the cross-domain event; Verify the user's credentials in the destination area according to the verification rules.

[0028] It should be noted that, among the three implementation methods for detecting cross-domain events for users provided above, any one of them can be selected for execution according to actual execution needs during the implementation process. Any two or three of the three implementation methods for detecting cross-domain events for users can also be combined to form a new implementation method. For example, if a cross-domain notification uploaded by an application is detected, it is detected whether the payment location carried in the payment record of the user triggers the cross-domain payment condition. If so, a cross-domain event is generated according to the cross-domain notification. In addition, corresponding features can be selected from the three implementation methods above to combine to form a new implementation method, which is not limited in this embodiment.

[0029] In this embodiment, in order to ensure the real-time activation of the electronic certificate and provide support for the user's current access to and use of the electronic certificate in the destination area, cross-domain event detection can be performed on the user through background task detection, so that the corresponding electronic certificate can be activated after the cross-domain event is detected. In this regard, cross-domain event detection on the user can be performed based on the cross-domain detection task created after the user activates the service; here, service activation refers to the activation of the certificate service, which is a service for the activation, access and management of electronic certificates. The user can access the certificate service through the application installed on the user terminal, that is, the host program of the certificate service is the application installed on the user terminal; specifically, cross-domain event detection can be performed on the user through the cross-domain detection task created after the user signs the certificate agreement, and the cross-domain event detected by the cross-domain detection task can be obtained; accordingly, the detection of payment records and travel orders provided above can also be performed based on the cross-domain detection task created after the user activates the service. The cross-domain events obtained by performing cross-domain event detection on the user through the cross-domain detection task also include cross-domain payment events and travel cross-domain events.

[0030] Specifically, during the service activation process, the user can select one or more geographical areas from the pre-provided area list for automatic activation of electronic credentials as candidate areas for subsequent automatic cross-domain detection and automatic activation of electronic credentials, that is: if it is detected that the user goes to the candidate area selected in the area list, that is, the cross-domain event for cross-domain event detection of the user corresponds to any candidate area selected by the user in the area list, the credential activation verification of any candidate area will be carried out, and after the verification is passed, the user will be provided with the relevant processing for the electronic credential activation of any candidate area.

[0031] In an optional implementation provided by this embodiment, a cross-domain detection task is created in the following manner: Return a list of regions to the user terminal based on the service activation instruction submitted by the user terminal; According to the candidate area selected by the user terminal in the area list, a credential application record for the candidate area is generated, and a cross-domain detection task for performing cross-domain event detection on the candidate area is created, and / or cross-domain detection of the location of the application is performed.

[0032] In order to enhance the user's enthusiasm for participating in service activation, that is, to enhance the user's enthusiasm for participating in the service of automatic cross-domain detection and automatic activation of electronic credentials, the user can be recommended to participate in service activation when the user activates the electronic credential, that is, the user is recommended to participate in the service of automatic cross-domain detection and automatic activation of electronic credentials. Specifically, in an optional implementation provided by this embodiment, a service activation tag carried by the activation request submitted by the user terminal for the selected credential activation is obtained; the activation processing of the selected credential is performed, a cross-domain detection task for performing cross-domain event detection on a preset area set is created, and cross-domain detection of the application's location is performed.

[0033] In actual applications, the service agreement or service content of the electronic certificate provided to users in each geographical area may change. In order to avoid the inability to automatically activate the electronic certificate due to the change of the service agreement or service content of the electronic certificate and to improve the success rate of automatic cross-domain detection and automatic activation of the electronic certificate for users, an optional implementation method provided in this embodiment detects whether the electronic certificate of the geographical area included in the candidate area or the preset area set triggers a certificate update event; If so, return the update area corresponding to the triggering credential update event to the user terminal, display the update mark of the update area in the application, and update the credential application record in the update area according to the update confirmation instruction submitted by the user terminal; If not, no processing is required, or the cross-domain detection task is continued.

[0034] In addition, the electronic credentials provided to users in different geographical areas may be different, and the electronic credentials in different geographical areas may also change during the user's use. For example, the service provider of the electronic credentials in a certain geographical area changes. In this case, the electronic credentials in that geographical area may not be automatically activated due to the change in the electronic credentials. In order to ensure the success rate of automatic cross-domain detection and automatic activation of electronic credentials for users, an optional implementation method provided in this embodiment is that if it is detected that the electronic credentials that the user has received trigger a credential update event, the cancellation processing of the credential to be updated corresponding to the credential update event is performed, and the activation processing of the electronic credential to be activated corresponding to the credential to be updated is performed.

[0035] Step S204: If the verification is successful, the credentials to be activated of the user are determined in the credential activation policy according to the credential record of the user and the credential configuration of the destination zone.

[0036] During specific implementation, when a cross-domain event is detected for a user and a credential activation verification is performed on the destination area corresponding to the detected cross-domain event, and if the verification result is passed, the credential to be activated to be activated for the user in the destination area is determined in the credential activation policy, that is, based on the credential record of the user and the credential configuration of the destination area, the credential to be activated for the user determined in the credential activation policy can be replaced with the credential to be activated to be activated for the user determined in the credential activation policy in the destination area; specifically, in the process of determining the credential to be activated, the credential to be activated for the user can be determined in the credential activation policy based on the credential record of the user and the credential configuration of the destination area; A user's credential records refer to the activation records of electronic credentials that the user has activated, or the activation records of electronic credentials that the user has activated and is currently valid, or the activation records of electronic credentials that the user has activated, or the activation records of electronic credentials that the user has activated and is currently valid in the destination area. The credential configuration of the destination area refers to the configuration of electronic credentials that can be activated in the destination area, that is, the types of electronic credential activation provided by the destination area.

[0037] A credential activation policy refers to a pre-configured policy used to determine the electronic credentials activated for users. Specifically, a credential activation policy consists of one or more policy items, each of which represents the matching relationship between an activated electronic credential and an electronic credential to be activated. A policy item may also contain one or more policy sub-items, each of which may also represent the matching relationship between an activated electronic credential and an electronic credential to be activated.

[0038] Optionally, the policy items in the credential activation policy include at least one of the following: If you have activated an electronic transportation card but not a transportation voucher code, activate the transportation voucher code or activate a shared electronic voucher; If you have activated the transportation voucher code but not the electronic transportation card, activate the electronic transportation card or activate the shared electronic voucher; If the transportation voucher code and electronic transportation card have not been activated, activate the electronic transportation card and transportation voucher code, or activate a shared electronic voucher.

[0039] During the specific execution process, according to the user's credential record and the credential configuration of the destination area, in the process of determining the user's to-be-activated credential in the credential activation policy, the mapped policy item can be determined in the credential activation policy according to the user's credential record, so as to determine the mapped policy item in the credential activation policy according to the user's currently activated electronic credential, that is, to determine the policy item that the user has not yet activated in the credential activation policy; further, by matching the credential configuration with the policy item, it is determined that the to-be-activated credential that needs to be activated to the user in the destination area is currently required to be activated for the user.

[0040] In an optional implementation provided by this embodiment, determining the user's credentials to be activated in the credential activation policy based on the user's credential record and the credential configuration of the destination zone includes: Query the policy items mapped to the credential record in the credential activation policy; Match the credential configuration with the mapped policy item, and determine the credential to be activated based on the policy tag contained in the matched policy item; or match the credential configuration with each policy sub-item contained in the mapped policy item, and determine the credential to be activated based on the policy tag contained in the matched policy sub-item.

[0041] Specifically, in the process of querying the policy items mapped to the credential record in the credential activation policy, the credential field (credential tag / credential keyword) or credential type field (credential type tag / credential type keyword) may be mapped to each policy item in the credential activation policy based on the credential field / credential tag / credential keyword contained in the credential record to obtain the policy item mapped to the credential record, that is, the policy item mapped to the credential field or credential type field. Here, the policy item mapped to the credential field or credential type field may be a policy item containing the credential field or credential type field. Furthermore, after obtaining the policy item mapped by the credential record, the credential configuration is matched with the mapped policy item. Specifically, the electronic credential or electronic credential type in the credential configuration is matched with the mapped policy item, and the credential to be activated is determined based on the matching result. It should be noted that the credential to be activated of the determined user can be one or more.

[0042] Step S206: If the activation mode of the credential to be activated is the pre-activation mode, activation processing of the credential to be activated is performed for the user according to the activation link corresponding to the pre-activation mode.

[0043] The activation mode described in this embodiment refers to a mode for activating the credentials to be activated for the user, and the activation mode includes a pre-activation mode and / or an access activation mode. Among them, the pre-activation mode refers to a mode for activating the credentials to be activated for the user in a pre-activation manner. The pre-activation here refers to the real-time activation of the credentials to be activated to the user when a cross-domain event is detected for the user and the verification result of the credential activation is passed for the destination area corresponding to the detected cross-domain event. The access activation mode refers to a mode for activating the credentials to be activated for the user based on the user's access operation or access behavior. Specifically, it refers to the case where a cross-domain event is detected for the user and the verification result of the credential activation is passed for the destination area corresponding to the detected cross-domain event, the electronic credential is not activated temporarily, but the credential to be activated is activated to the user according to the user's service access instruction or credential access instruction.

[0044] During specific implementation, on the basis of determining the user's credential to be activated, the activation mode of the credential to be activated can be determined, and the activation processing of the credential to be activated can be further performed for the user according to the activation mode. Specifically, if the activation mode of the credential to be activated is a pre-activation mode, the activation processing of the credential to be activated can be performed for the user according to the activation link corresponding to the pre-activation mode, that is: determine the activation mode of the credential to be activated, and perform the activation processing of the credential to be activated for the user according to the activation mode, including: if the activation mode of the credential to be activated is a pre-activation mode, the activation processing of the credential to be activated can be performed for the user according to the activation link corresponding to the pre-activation mode.

[0045] In an optional implementation provided by this embodiment, the activation mode of the credential to be activated is determined as follows: the activation mode is determined based on the activation link type of the credential to be activated accessed by the application. Specifically, if the activation link type is activation through the application (or a credential service within the application), the activation mode is determined to be the pre-activation mode; if the activation link type is activation through a third-party subroutine within the application, the activation mode is determined to be the access activation mode. The application in this context refers to the host program of the credential service, i.e., the application installed on the user terminal.

[0046] In addition, in the process of determining the activation mode of the credential to be activated, the activation mode can also be determined based on the activation link of the credential to be activated. Specifically, if the activation link of the credential to be activated is activated through an application (or a credential service within the application), the activation mode is determined to be a pre-activation mode; if the activation link of the credential to be activated is activated through a third-party subroutine within the application, the activation mode is determined to be an access activation mode.

[0047] The activation link refers to an activation path or an activation channel for performing activation processing for the user's credentials to be activated; correspondingly, the activation link type refers to the type of the activation path or the type of the activation channel.

[0048] During the activation process of the credentials to be activated, if the activation mode is the pre-activation mode, that is, the activation link type is through the application (or, the credential service within the application), the credentials to be activated can be activated to the user through the credential service within the application. If the server is a background server of the credential service, the server helps the user to activate the credentials to be activated on the back end, thereby realizing the activation process of the credentials to be activated under the activation link of the application (or, the credential service within the application).

[0049] Specifically, in an optional implementation provided by this embodiment, the activation process of the to-be-activated credential for the user is performed according to the activation link corresponding to the pre-activation mode, including: Assemble the user identity data of the credential to be activated, and make a credential activation call to the credential provider of the credential to be activated based on the user identity data; Generate a credential activation message based on the activation result of the target credential returned by the call and send it to the user terminal.

[0050] Among them, the target certificate refers to the electronic certificate obtained after the activation process of the certificate to be activated is successful. At this time, the target certificate is in a usable state, and the user can access and use the target certificate to perform corresponding processing.

[0051] During the specific execution process, after the credential activation message of the target credential is sent to the user terminal, the user terminal can obtain the credential activation message of the target credential sent by the server and issue a message reminder. On this basis, the user can also access the target credential by triggering a message reminder. Optionally, when the user terminal detects that the credential activation message is triggered, it starts the application and enters the credential service, obtains the display credential displayed on the service page of the credential service from the server and performs credential display processing, or determines the display credential displayed on the service page of the credential service and performs credential display processing.

[0052] In addition, during the activation process of the credential to be activated, if the activation mode is the access activation mode, that is, the activation link type is activated through a third-party subroutine within the application, in order to improve the user experience, an activation simulation method is used to simulate the user's activation of the credential to be activated in the third-party subroutine, so as to help the user realize the activation process of the credential to be activated. Specifically, in an optional implementation manner provided by this embodiment, after the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination area, if the activation mode is the access activation mode, the credential activation simulation interface is called according to the service access instruction submitted by the user terminal to simulate the activation process of the credential to be activated to obtain the target credential. During the specific execution process, a service access detection can be performed, and according to the detected service access instruction submitted by the user terminal, the credential activation simulation interface is called to simulate the activation process of the credential to be activated, and the obtained target credential is returned to the user terminal for credential display.

[0053] In actual applications, there may be various complex and changeable usage scenarios when users use electronic certificates. In order to cope with complex and changeable usage scenarios and improve the service experience of users using certificate services in complex and changeable usage scenarios, it is also possible to remind the user and determine whether to activate the electronic certificate for the user based on the user's trigger response after cross-domain event detection is performed on the user. In this case, the certificate activation verification for the destination area corresponding to the detected cross-domain event can be replaced by generating a certificate activation reminder for the destination area corresponding to the cross-domain event and issuing it to the user terminal. In response to the reminder trigger instruction submitted by the user terminal, a subsequent processing process of determining the user's to-be-activated certificate in the certificate activation policy based on the user's certificate record and the certificate configuration of the destination area is executed; In addition, if the credential activation verification of the destination area corresponding to the cross-domain event fails, the user can be reminded and whether to activate the electronic credential to the user can be determined based on the user's trigger response. Specifically, in an optional implementation manner provided by this embodiment, a cross-domain event is detected for the user, and the credential activation verification is performed on the destination area corresponding to the detected cross-domain event. If the verification fails, a credential activation reminder for the destination area is generated and sent to the user terminal. In response to the reminder trigger instruction submitted by the user terminal, the user's credential to be activated is determined in the credential activation policy based on the credential record and credential configuration, and the credential activation processing is performed according to the activation mode of the determined credential to be activated.

[0054] In summary, the electronic certificate processing method provided in this embodiment, in the process of opening an electronic certificate for a user, first performs cross-domain event detection on the user, and performs certificate activation verification on the destination area corresponding to the detected cross-domain event, so as to determine whether it is necessary to open the electronic certificate of the current destination area for the user. If the verification is passed, the certificate to be opened to the user is determined in the certificate activation policy according to the user's certificate record and the certificate configuration of the destination area. According to the activation mode of the certificate to be opened, the activation processing of the certificate to be opened is performed for the user according to the activation mode of the certificate to be opened. Specifically, when the activation mode of the certificate to be opened is the pre-activation mode, the activation processing of the certificate to be opened is performed for the user according to the activation link corresponding to the pre-activation mode. When the activation mode is the access activation mode, the certificate activation simulation interface is called according to the service access instruction submitted by the user terminal to simulate the activation process of the certificate to be opened to obtain the electronic certificate, thereby helping the user to realize the activation of the electronic certificate in multiple modes, thereby improving the convenience of the user in accessing and using the electronic certificate.

[0055] The above-mentioned steps S202 to S206 provided in this embodiment can be executed by the server. It should be noted that the above-mentioned steps S202 to S206 executed by the service program and the steps S502 to S504 executed by the user terminal in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S502 to S504 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S202 to S206 provided in this embodiment.

[0056] The following is an example of an electronic certificate processing method provided in this embodiment in the application of the certificate activation scenario. Figure 3 , further explanation of the electronic certificate processing method provided in this embodiment is given in Figure 3 , a method for processing electronic certificates applied to certificate activation scenarios specifically includes the following steps.

[0057] Step S302 : performing cross-domain event detection based on the cross-domain detection task created after the user activates the credential service.

[0058] Step S304: Verify the credential activation of the destination area corresponding to the detected cross-domain event.

[0059] Step S306: If the verification is successful, the user's credential to be activated is determined in the credential activation policy according to the user's credential record and the credential configuration of the destination zone.

[0060] Step S308: If the activation mode of the credential to be activated is the pre-activation mode, activation processing of the credential to be activated is performed for the user according to the activation link corresponding to the pre-activation mode.

[0061] Step S310: Generate a credential activation message based on the target credential obtained through the activation process and send it to the user terminal.

[0062] Step S320: receiving a credential access request submitted by a user terminal, determining a target credential and an access credential in the user's credential record, and returning the result to the user terminal.

[0063] It should be noted that any one of steps S302 to S310 and any combination of multiple steps in step S320 can be combined with any one of steps S202 to S206 to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S302 to S310 and step S320 and combined with any one or multiple technical features provided in steps S202 to S206 to form a new implementation method; or, any one or multiple technical features in steps S302 to S310 and step S320 can be replaced with any one or multiple technical features provided in steps S202 to S206 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.

[0064] In addition, it should be noted that the above-mentioned steps S302 to S310 and S320 provided in this embodiment can be executed by the server of the credential service. It should be noted that the above-mentioned steps S302 to S310 and S320 executed by the server and the steps S312 to S318 and S322 to S324 executed by the user terminal in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S312 to S318 and steps S322 to S324 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S302 to S310 and S320 provided in this embodiment.

[0065] The following is an example of an electronic certificate processing method provided by this embodiment in the application of the certificate access scenario. Figure 4 , further explanation of the electronic certificate processing method provided in this embodiment is given in Figure 4 , a method for processing electronic credentials applied to credential access scenarios specifically includes the following steps.

[0066] Step S406: If a cross-domain notification uploaded by the application is detected, a cross-domain event is generated according to the cross-domain notification.

[0067] Step S408: Verify whether the event parameters of the cross-domain event meet the credential activation conditions of the destination area; If yes, confirm that the verification is passed; If not, the verification is determined to have failed.

[0068] Step S410: If the verification is successful, the user's credential to be activated is determined in the credential activation policy according to the user's credential record and the credential configuration of the destination zone.

[0069] Step S412: If the activation mode is the access activation mode, perform access detection of the credential service.

[0070] Step S416: Based on the service access instruction submitted by the user terminal, the credential activation simulation interface is called to simulate the activation process of the credential to be activated.

[0071] Step S418: Return the obtained target credential to the user terminal for credential display.

[0072] It should be noted that any one of steps S406 to S412 and any combination of multiple steps in steps S416 to S418 can be combined with any one of steps S202 to S206 to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S406 to S412 and steps S416 to S418 and combined with any one or multiple technical features provided in steps S202 to S206 to form a new implementation method; or, any one or multiple technical features in steps S406 to S412 and steps S416 to S418 can be replaced with any one or multiple technical features provided in steps S202 to S206 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.

[0073] In addition, it should be noted that the above-mentioned steps S406 to S412 and steps S416 to S418 provided in this embodiment can be executed by the server of the credential service. It should be noted that the above-mentioned steps S406 to S412 and steps S416 to S418 executed by the server and steps S402 to S404, steps S414 and steps S420 executed by the user terminal in the following embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S402 to S404, steps S414 and steps S420 provided in the following method embodiment, and when reading the following method embodiment, please refer to the corresponding contents of steps S406 to S412 and steps S416 to S418 provided in this embodiment.

[0074] One or more embodiments of another electronic certificate processing method provided in this specification are as follows: Reference Figure 5 The electronic certificate processing method provided in this embodiment can be applied to a user terminal, and the method specifically includes steps S502 to S504.

[0075] Step S502: Obtain the credential activation message of the target credential issued by the server and issue a message reminder.

[0076] In this embodiment, the electronic certificate refers to an electronic certificate used in travel scenarios. The specific form of the electronic certificate can be various electronic forms such as electronic cards, digital cards or certificate codes. Specifically, the electronic certificate can be an electronic transportation card, a transportation certificate code and / or a shared electronic certificate, among which the electronic transportation card refers to an electronic card used to take a means of transportation, such as an electronic transportation card for taking a bus; the transportation certificate code refers to a certificate code for taking a means of transportation by scanning a code, such as a boarding code for taking the subway; a shared electronic certificate refers to an electronic certificate that can be used to take multiple means of transportation. The shared electronic certificate can be in the form of an electronic card or a certificate code, such as a transportation code that can be used to take public transportation such as the subway and bus at the same time.

[0077] In actual scenarios, different cities may use different electronic certificates. When users travel to different cities to take public transportation, they often need to activate the corresponding electronic certificate in the current city for transportation. In view of this, the electronic certificate processing method provided by this embodiment provides an automatic detection and activation method for electronic certificates, which helps users activate and manage electronic certificates.

[0078] Optionally, the credential activation message is generated after the credential to be activated is activated according to the activation link corresponding to the activation mode of the credential to be activated.

[0079] Among them, the activation mode refers to the mode of activating the to-be-activated credentials for the user, and the activation mode includes the pre-activation mode and / or the access activation mode. Among them, the pre-activation mode refers to the mode of activating the to-be-activated credentials for the user in a pre-activation manner. The pre-activation here means that when a cross-domain event is detected for the user and the verification result of the credential activation is passed for the destination area corresponding to the detected cross-domain event, the credential to be activated is activated to the user in real time. The access activation mode refers to the mode of activating the to-be-activated credentials for the user based on the user's access operation or access behavior. Specifically, it means that when a cross-domain event is detected for the user and the verification result of the credential activation is passed for the destination area corresponding to the detected cross-domain event, the electronic credential is not activated for the time being, but the credential to be activated is activated to the user based on the user's service access instruction or credential access instruction.

[0080] The credentials to be activated are determined in the credential activation policy after a cross-domain event is detected for the user and based on the user's credential record and the credential configuration of the destination area corresponding to the cross-domain event.

[0081] The determination of the credentials to be activated is carried out after the credential activation verification is performed on the destination area corresponding to the cross-domain event and the verification is passed.

[0082] Specifically, in the process of cross-domain event detection for users, event detection is used to determine whether the user has crossed domains. Here, cross-domain means that the user travels from one geographical area to another geographical area. Furthermore, based on the cross-domain event obtained by cross-domain event detection, the destination area corresponding to the detected cross-domain event is verified for credential activation to obtain a verification result, thereby determining whether it is necessary to activate an electronic credential for the current destination area to the user.

[0083] During the specific implementation process, when detecting cross-domain events for users, cross-domain event detection can be performed from the perspective of geographic location. Specifically, the application can detect the cross-domain geographic location. After detecting that the geographic location is cross-domain, the application uploads a cross-domain notification. Here, a cross-domain event is generated when a cross-domain notification uploaded by the application is detected, that is, a cross-domain event is generated after detecting that the application has uploaded a cross-domain notification.

[0084] Specifically, in an optional implementation provided by this embodiment, cross-domain event detection is performed on the user, including: if a cross-domain notification uploaded by an application is detected, a cross-domain event is generated based on the cross-domain notification; optionally, the cross-domain notification is generated after the location module of the application detects that the user's geographic location is across domains.

[0085] Among them, the application refers to the application installed on the user's user terminal, specifically the application used by the user to activate and access the electronic certificate. The location module of the application refers to the functional module deployed by the application for cross-domain detection of geographic location. Cross-domain geographic location means that the location module of the application detects that the user's current geographic location is in a different geographic area from the user's previous geographic location. In addition, cross-domain geographic location can also mean that the location module detects that the user's current geographic location, combined with relevant parameters and the relevant parameters of the user's previous geographic location, meet the geographic area cross-domain conditions, that is, the cross-domain notification can be generated after the location module of the application detects that the user's location-related parameters meet the geographic area cross-domain conditions. For example, the location module of the application generates a cross-domain notification after detecting that the user's location parameters, time parameters, speed parameters and / or location stay duration parameters meet the corresponding geographic area cross-domain conditions.

[0086] On the basis of performing cross-domain event detection on the user to obtain the cross-domain event, further, a credential activation verification is performed on the destination area corresponding to the detected cross-domain event. Specifically, during the credential activation verification process, the credential activation verification can be performed by verifying whether the event parameters of the cross-domain event meet the verification rules. If they meet, it is determined that the verification is passed; if not, it is determined that the verification is failed. In this way, the users who need to activate the electronic credential in the current destination area are determined through the credential activation verification, so as to avoid activating the electronic credential to the user who currently has no actual need. For example, when the user travels from one geographical area to another by means of transportation such as a vehicle or train, it is avoided to activate the electronic credential in the geographical area that the user passes through. Specifically, in an optional implementation provided by this embodiment, a credential activation verification is performed on the destination area corresponding to the detected cross-domain event, including: verifying whether the event parameters of the cross-domain event meet the credential activation conditions of the destination area; if so, determining that the verification is passed; if not, determining that the verification is failed. The event parameters include a location parameter, a time parameter, a speed parameter, and / or a location dwell time parameter.

[0087] In addition, in the process of detecting cross-domain events for users, in addition to the implementation method of detecting cross-domain events from the perspective of geographical location provided above, cross-domain event detection can also be performed from the perspective of payment behavior. Specifically, in an optional implementation method provided by this embodiment, cross-domain event detection for users includes: detecting whether the payment location carried by the user's payment record triggers a cross-domain payment condition. If so, the payment event that triggers the cross-domain payment condition is used as a cross-domain payment event; here, the cross-domain payment event, as a type of cross-domain event, refers to an event in which the user makes a payment in another geographical area / a different place.

[0088] Alternatively, in the process of cross-domain event detection, cross-domain event detection can also be performed from the perspective of user itinerary. For example, if a user purchases a ticket or accommodation order to go to another place, in this case, the user is more likely to go to another place. Specifically, in an optional implementation provided by this embodiment, cross-domain event detection is performed on the user, including: detecting whether the user's itinerary order meets the itinerary cross-domain condition, and if so, generating a itinerary cross-domain event for the itinerary order; here, the itinerary cross-domain event, as a type of cross-domain event, refers to an event in which the user's itinerary goes to another place; wherein the itinerary cross-domain condition can be that the itinerary order is cancelled or fulfilled, or that the itinerary order is not refunded.

[0089] As described above, based on the cross-domain event detection for the user to obtain the cross-domain event, considering that the user's cross-domain events may be of different types, such as geographic location cross-domain events, cross-domain payment events, and travel cross-domain events, in the process of performing credential activation verification on the destination area corresponding to the detected cross-domain event, in order to improve the accuracy of credential activation verification for the destination areas corresponding to different types of cross-domain events, it is also possible to start from the event type or event source of the cross-domain event, and perform credential activation verification on the destination area according to the rules corresponding to the event type or event source. Specifically, in an optional implementation manner provided by this embodiment, credential activation verification is performed on the destination area corresponding to the detected cross-domain event, including: determining the verification rules for cross-domain event matching according to the event source and / or event type of the cross-domain event; the event source refers to the processor of the cross-domain event or the type of the processor of the cross-domain event; and performing credential activation verification of the user in the destination area according to the verification rules.

[0090] In this embodiment, in order to ensure the real-time activation of the electronic certificate and provide support for the user's current access to and use of the electronic certificate in the destination area, cross-domain event detection can be performed on the user through background task detection, so that the corresponding electronic certificate can be activated after the cross-domain event is detected. In this regard, cross-domain event detection on the user can be performed based on the cross-domain detection task created after the user activates the service; here, service activation refers to the activation of the certificate service, which is a service for the activation, access and management of electronic certificates. The user can access the certificate service through the application installed on the user terminal, that is, the host program of the certificate service is the application installed on the user terminal; specifically, cross-domain event detection can be performed on the user through the cross-domain detection task created after the user signs the certificate agreement, and the cross-domain event detected by the cross-domain detection task can be obtained; accordingly, the detection of payment records and travel orders provided above can also be performed based on the cross-domain detection task created after the user activates the service. The cross-domain events obtained by performing cross-domain event detection on the user through the cross-domain detection task also include cross-domain payment events and travel cross-domain events.

[0091] Specifically, during the service activation process, the user can select one or more geographical areas from the pre-provided area list for automatic activation of electronic credentials as candidate areas for subsequent automatic cross-domain detection and automatic activation of electronic credentials, that is: if it is detected that the user goes to the candidate area selected in the area list, that is, the cross-domain event for cross-domain event detection of the user corresponds to any candidate area selected by the user in the area list, the credential activation verification of any candidate area will be carried out, and after the verification is passed, the user will be provided with the relevant processing for the electronic credential activation of any candidate area.

[0092] In an optional implementation provided by this embodiment, a cross-domain detection task is created in the following manner: Return a list of regions to the user terminal based on the service activation instruction submitted by the user terminal; generating a credential application record for the candidate area selected by the user terminal from the area list, and creating a cross-domain detection task for performing cross-domain event detection on the candidate area, and / or performing cross-domain location detection on the application; In order to enhance the user's enthusiasm for participating in service activation, that is, to enhance the user's enthusiasm for participating in the service of automatic cross-domain detection and automatic activation of electronic credentials, the user can be recommended to participate in service activation when the user activates the electronic credential, that is, the user is recommended to participate in the service of automatic cross-domain detection and automatic activation of electronic credentials. Specifically, in an optional implementation provided by this embodiment, a service activation tag carried by the activation request submitted by the user terminal for the selected credential activation is obtained; the activation processing of the selected credential is performed, a cross-domain detection task for performing cross-domain event detection on a preset area set is created, and cross-domain detection of the application's location is performed.

[0093] In actual applications, the service agreement or service content of the electronic certificate provided to users in each geographical area may change. In order to avoid the inability to automatically activate the electronic certificate due to the change of the service agreement or service content of the electronic certificate and to improve the success rate of automatic cross-domain detection and automatic activation of the electronic certificate for users, an optional implementation method provided in this embodiment detects whether the electronic certificate of the geographical area included in the candidate area or the preset area set triggers a certificate update event; If so, return the update area corresponding to the triggering credential update event to the user terminal, display the update mark of the update area in the application, and update the credential application record in the update area according to the update confirmation instruction submitted by the user terminal; If not, no processing is required, or the cross-domain detection task is continued.

[0094] In addition, the electronic credentials provided to users in different geographical areas may be different, and the electronic credentials in different geographical areas may also change during the user's use. For example, the service provider of the electronic credentials in a certain geographical area changes. In this case, the electronic credentials in that geographical area may not be automatically activated due to the change in the electronic credentials. In order to ensure the success rate of automatic cross-domain detection and automatic activation of electronic credentials for users, an optional implementation method provided in this embodiment is that if it is detected that the electronic credentials that the user has received trigger a credential update event, the cancellation processing of the credential to be updated corresponding to the credential update event is performed, and the activation processing of the electronic credential to be activated corresponding to the credential to be updated is performed.

[0095] In this embodiment, the credential to be activated is determined in the credential activation policy after a cross-domain event is detected for the user and based on the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event; in a specific implementation process, when a cross-domain event is detected for the user and the credential activation verification is performed on the destination area corresponding to the detected cross-domain event, and if the verification result is passed, the credential to be activated to be activated to the user in the destination area is determined in the credential activation policy, that is, the credential to be activated of the user determined in the credential activation policy based on the credential record of the user and the credential configuration of the destination area can be replaced with the credential to be activated to the user in the destination area determined in the credential activation policy; specifically, in the process of determining the credential to be activated, the credential to be activated of the user can be determined in the credential activation policy based on the credential record of the user and the credential configuration of the destination area; A user's credential records refer to the activation records of electronic credentials that the user has activated, or the activation records of electronic credentials that the user has activated and is currently valid, or the activation records of electronic credentials that the user has activated, or the activation records of electronic credentials that the user has activated and is currently valid in the destination area. The credential configuration of the destination area refers to the configuration of electronic credentials that can be activated in the destination area, that is, the types of electronic credential activation provided by the destination area.

[0096] A credential activation policy refers to a pre-configured policy used to determine the electronic credentials activated for users. Specifically, a credential activation policy consists of one or more policy items, each of which represents the matching relationship between an activated electronic credential and an electronic credential to be activated. A policy item may also contain one or more policy sub-items, each of which may also represent the matching relationship between an activated electronic credential and an electronic credential to be activated.

[0097] Optionally, the policy items in the credential activation policy include at least one of the following: if the electronic transportation card has been activated but the transportation voucher code has not been activated, activate the transportation voucher code or activate a shared electronic voucher; if the transportation voucher code has been activated but the electronic transportation card has not been activated, activate the electronic transportation card or activate a shared electronic voucher; if the transportation voucher code and electronic transportation card have not been activated, activate the electronic transportation card and transportation voucher code, or activate a shared electronic voucher.

[0098] During the specific execution process, according to the user's credential record and the credential configuration of the destination area, in the process of determining the user's to-be-activated credential in the credential activation policy, the mapped policy item can be determined in the credential activation policy according to the user's credential record, so as to determine the mapped policy item in the credential activation policy according to the user's currently activated electronic credential, that is, to determine the policy item that the user has not yet activated in the credential activation policy; further, by matching the credential configuration with the policy item, it is determined that the to-be-activated credential that needs to be activated to the user in the destination area is currently required to be activated for the user.

[0099] In an optional implementation provided by this embodiment, determining the user's credentials to be activated in the credential activation policy based on the user's credential record and the credential configuration of the destination zone includes: Query the policy items mapped to the credential record in the credential activation policy; Match the credential configuration with the mapped policy item, and determine the credential to be activated based on the policy tag contained in the matched policy item; or match the credential configuration with each policy sub-item contained in the mapped policy item, and determine the credential to be activated based on the policy tag contained in the matched policy sub-item.

[0100] Specifically, in the process of querying the policy items mapped to the credential record in the credential activation policy, the credential field (credential tag / credential keyword) or credential type field (credential type tag / credential type keyword) may be mapped to each policy item in the credential activation policy based on the credential field / credential tag / credential keyword contained in the credential record to obtain the policy item mapped to the credential record, that is, the policy item mapped to the credential field or credential type field. Here, the policy item mapped to the credential field or credential type field may be a policy item containing the credential field or credential type field. Furthermore, after obtaining the policy item mapped by the credential record, the credential configuration is matched with the mapped policy item. Specifically, the electronic credential or electronic credential type in the credential configuration is matched with the mapped policy item, and the credential to be activated is determined based on the matching result. It should be noted that the credential to be activated of the determined user can be one or more.

[0101] During the specific execution process, on the basis of determining the user's credential to be activated, the activation mode of the credential to be activated can be determined, and the activation processing of the credential to be activated can be further performed for the user according to the activation mode. Specifically, if the activation mode of the credential to be activated is a pre-activation mode, the activation processing of the credential to be activated can be performed for the user according to the activation link corresponding to the pre-activation mode, that is: determine the activation mode of the credential to be activated, and perform the activation processing of the credential to be activated for the user according to the activation mode, including: if the activation mode of the credential to be activated is a pre-activation mode, the activation processing of the credential to be activated can be performed for the user according to the activation link corresponding to the pre-activation mode.

[0102] In an optional implementation provided by this embodiment, the activation mode of the credential to be activated is determined as follows: the activation mode is determined based on the activation link type of the credential to be activated accessed by the application. Specifically, if the activation link type is activation through the application (or a credential service within the application), the activation mode is determined to be the pre-activation mode; if the activation link type is activation through a third-party subroutine within the application, the activation mode is determined to be the access activation mode. The application in this context refers to the host program of the credential service, i.e., the application installed on the user terminal.

[0103] In addition, in the process of determining the activation mode of the credential to be activated, the activation mode can also be determined based on the activation link of the credential to be activated. Specifically, if the activation link of the credential to be activated is activated through an application (or a credential service within the application), the activation mode is determined to be a pre-activation mode; if the activation link of the credential to be activated is activated through a third-party subroutine within the application, the activation mode is determined to be an access activation mode.

[0104] The activation link refers to an activation path or an activation channel for performing activation processing for the user's credentials to be activated; correspondingly, the activation link type refers to the type of the activation path or the type of the activation channel.

[0105] During the activation process of the credentials to be activated, if the activation mode is the pre-activation mode, that is, the activation link type is through the application (or, the credential service within the application), the credentials to be activated can be activated to the user through the credential service within the application. If the server is a background server of the credential service, the server helps the user to activate the credentials to be activated on the back end, thereby realizing the activation process of the credentials to be activated under the activation link of the application (or, the credential service within the application).

[0106] Specifically, in an optional implementation provided by this embodiment, the activation process of the to-be-activated credential for the user is performed according to the activation link corresponding to the pre-activation mode, including: Assemble the user identity data of the credential to be activated, and make a credential activation call to the credential provider of the credential to be activated based on the user identity data; Generate a credential activation message based on the activation result of the target credential returned by the call and send it to the user terminal.

[0107] Among them, the target certificate refers to the electronic certificate obtained after the activation process of the certificate to be activated is successful. At this time, the target certificate is in a usable state, and the user can access and use the target certificate to perform corresponding processing.

[0108] During the specific execution process, after the credential activation message of the target credential is sent to the user terminal, the user terminal can obtain the credential activation message of the target credential sent by the server and issue a message reminder. On this basis, the user can also access the target credential by triggering a message reminder. In an optional implementation provided by this embodiment, after obtaining the credential activation message of the target credential sent by the server and issuing a message reminder, if it is detected that the credential activation message is triggered, the application is started and the credential service is entered; the display credential displayed on the service page of the credential service is obtained from the server and the credential display processing is performed, or the display credential displayed on the service page of the credential service is determined and the credential display processing is performed. Specifically, in the process of determining the display credential displayed on the service page of the credential service and performing the credential display processing, the display credential can be determined in the credential record of the target credential and the user and the credential display processing can be performed. For the specific process of determining the display credential in the credential record of the target credential and the user, please refer to the implementation process provided in the following step S504.

[0109] In addition, during the activation process of the credential to be activated, if the activation mode is the access activation mode, that is, the activation link type is activated through a third-party subroutine within the application, in order to improve the user experience, an activation simulation method is used to simulate the user's activation of the credential to be activated in the third-party subroutine, so as to help the user realize the activation process of the credential to be activated. Specifically, in an optional implementation manner provided by this embodiment, after the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination area, if the activation mode is the access activation mode, the credential activation simulation interface is called according to the service access instruction submitted by the user terminal to simulate the activation process of the credential to be activated to obtain the target credential. During the specific execution process, a service access detection can be performed, and according to the detected service access instruction submitted by the user terminal, the credential activation simulation interface is called to simulate the activation process of the credential to be activated, and the obtained target credential is returned to the user terminal for credential display.

[0110] Here, after receiving the target credential returned by the server, the returned target credential is displayed on the service page of the credential service; optionally, the target credential returned by the server is obtained after the credential is activated by calling the credential activation simulation interface to simulate the activation process. The credential activation simulation interface is called when the activation mode of the credential to be activated is the access activation mode.

[0111] It should be noted that the above-mentioned step S502 of obtaining the credential activation message of the target credential issued by the server and issuing a message reminder can be replaced by: performing cross-domain detection of the user's geographic location through the location module of the application, and if it is detected that the user's geographic location is across the domain, generating a cross-domain notification and uploading it to the server; or, it can also be replaced by: performing cross-domain detection of the user's geographic location through the location module of the application, and if it is detected that the user's geographic location is across the domain, generating a cross-domain notification and uploading it to the server; obtaining the user's service access instructions for the credential service within the application and uploading it to the server; or, it can also be replaced by: obtaining the user's service access instructions for the credential service within the application and uploading it to the server.

[0112] Step S504: If a credential access instruction submitted by the user in the application is detected, credential display processing is performed based on the target credential and the credential record of the user.

[0113] In an optional implementation provided by this embodiment, performing credential display processing based on the target credential and the user's credential record includes: determining a display credential in the target credential and the user's credential record, and displaying the determined display credential on a service page of the service credential; In addition, in the process of performing voucher display processing based on the target voucher and the user's voucher record, the display voucher can also be determined in the target voucher and voucher record based on the user's user location and payment record and / or travel order, and the display voucher can be displayed on the service page of the voucher service within the application.

[0114] It should be noted that the above-mentioned step S504, if a credential access instruction submitted by a user within an application is detected, credential display processing is performed based on the target credential and the user's credential record, which can be replaced by: if it is detected that a credential activation message is triggered, the application is started and the credential service is entered; the display credential displayed on the service page of the credential service is obtained from the server and the credential display processing is performed, or, the display credential displayed on the service page of the credential service is determined and the credential display processing is performed; or, it can also be replaced by: if a credential access instruction submitted by a user within an application is detected, a credential access request is submitted to the server, the access credential determined and returned by the server in the target credential and the user's credential record is received, and the returned access credential is displayed on the service page of the credential service within the application; or, it can also be replaced by: receiving the target credential returned by the server and displaying it on the service page of the credential service.

[0115] The above steps S502 to S504 provided in this embodiment can be executed by the user terminal. It should be noted that the above steps S502 to S504 executed by the server and the steps S202 to S206 executed by the server in the above embodiment can cooperate with each other during the execution process. Therefore, when reading this embodiment, please refer to the corresponding contents of steps S202 to S206 provided in the above method embodiment, and when reading the above method embodiment, please refer to the corresponding contents of steps S502 to S504 provided in this embodiment.

[0116] The following is an example of an electronic certificate processing method provided in this embodiment in the application of the certificate activation scenario. Figure 3 , further explanation of the electronic certificate processing method provided in this embodiment is given in Figure 3 , a method for processing electronic certificates applied to certificate activation scenarios specifically includes the following steps.

[0117] Step S312: Obtain the credential activation message of the target credential issued by the server and issue a message reminder.

[0118] Optionally, the target credential is generated after the activation processing of the credential to be activated is performed according to the activation link corresponding to the activation mode of the credential to be activated; the credential to be activated is determined in the credential activation policy after cross-domain event detection for the user, based on the user's credential record and the credential configuration of the destination area corresponding to the cross-domain event.

[0119] Step S314: If it is detected that the credential activation message is triggered, the application is started and the credential service is entered.

[0120] Step S316: Obtain the display certificate displayed on the service page of the certificate service from the server and perform certificate display processing.

[0121] Step S318: If a credential access instruction submitted by the user in the application is detected, a credential access request is submitted to the server.

[0122] Step S322: receiving the access credentials determined and returned by the server from the target credentials and the user's credential records.

[0123] Step S324: Display the returned access credentials on the service page of the credential service within the application.

[0124] It should be noted that any one of steps S312 to S318 and any combination of multiple steps in steps S322 to S324 can be combined with any one of steps S502 to S504 to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S312 to S318 and steps S322 to S324 and combined with any one or multiple technical features provided in steps S502 to S504 to form a new implementation method; or, any one or multiple technical features in steps S312 to S318 and steps S322 to S324 can be replaced with any one or multiple technical features provided in steps S502 to S504 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.

[0125] The following is an example of an electronic certificate processing method provided by this embodiment in the application of the certificate access scenario. Figure 4 , further explanation of the electronic certificate processing method provided in this embodiment is given in Figure 4 The method for processing electronic credentials applied to the credential access unlocking scenario specifically includes the following steps.

[0126] Step S402: Perform cross-domain detection of the user's geographic location through the location module of the application.

[0127] Step S404: If it is detected that the user's geographical location is across domains, a cross-domain notification is generated and uploaded to the server.

[0128] Step S414: Obtain the user's service access instruction for the credential service within the application and upload it to the server.

[0129] Step S420: Receive the target credential returned by the server and display it on the service page of the credential service.

[0130] Optionally, the target credential is generated after the activation processing of the credential to be activated is performed according to the activation link corresponding to the activation mode of the credential to be activated; the credential to be activated is determined in the credential activation policy after cross-domain event detection for the user, based on the user's credential record and the credential configuration of the destination area corresponding to the cross-domain event.

[0131] It should be noted that any one of steps S402 to S404, step S414 and step S420, or any combination of multiple steps, can be combined with any one of steps S502 to S504 or any combination of multiple steps to form a new implementation method according to the needs of implementation deployment; in addition, according to the needs of actual deployment, any one or multiple technical features can be selected from steps S402 to S404, step S414 and step S420, and combined with any one or multiple technical features provided by steps S502 to S504 to form a new implementation method; or, any one or multiple technical features in steps S402 to S404, step S414 and step S420 can also be replaced by any one or multiple technical features provided by steps S502 to S504 to form a new implementation method according to the needs of actual deployment, which will not be repeated here.

[0132] An embodiment of an electronic certificate processing device provided in this specification is as follows: In the above embodiment, a method for processing an electronic certificate is provided. Correspondingly, an apparatus for processing an electronic certificate is also provided, which will be described below with reference to the accompanying drawings.

[0133] Reference Figure 6 , which shows a schematic diagram of an embodiment of an electronic certificate processing device provided by this embodiment.

[0134] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0135] This embodiment provides an electronic certificate processing device that can be run in a service program. The device includes: The cross-domain detection module 602 is configured to detect cross-domain events for users and perform credential activation verification on the destination area corresponding to the detected cross-domain event; The credential determination module 604 is configured to determine the user's credential to be activated in the credential activation policy based on the user's credential record and the credential configuration of the destination zone if the verification is successful; The credential activation module 606 is configured to, if the activation mode of the credential to be activated is the pre-activation mode, activate the credential to be activated for the user according to the activation link corresponding to the pre-activation mode.

[0136] Another embodiment of an electronic certificate processing device provided in this specification is as follows: In the above embodiment, another method for processing electronic certificates is provided. Correspondingly, another device for processing electronic certificates is also provided, which will be described below with reference to the accompanying drawings.

[0137] Reference Figure 7 , which shows a schematic diagram of an embodiment of another electronic certificate processing device provided by this embodiment.

[0138] Since the device embodiment corresponds to the method embodiment, the description is relatively simple. For the relevant parts, please refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0139] This embodiment provides an electronic certificate processing device that can be run on a server. The device includes: The message reminder module 702 is configured to obtain a credential activation message of a target credential issued by a server and issue a message reminder; the credential activation message is generated after the credential to be activated is activated according to the activation link corresponding to the activation mode of the credential to be activated. The credential display module 704 is configured to, upon detecting a credential access instruction submitted by a user within an application, perform credential display processing based on the target credential and the credential record of the user; The credential to be activated is determined in a credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

[0140] An embodiment of an electronic certificate processing device provided in this specification is as follows: Corresponding to the above-described method for processing an electronic certificate, based on the same technical concept, one or more embodiments of this specification further provide an electronic certificate processing device, which is used to execute the above-described method for processing an electronic certificate. Figure 8 A schematic diagram of the structure of electronic certificate processing provided in one or more embodiments of this specification.

[0141] This embodiment provides a method for processing an electronic certificate, including: like Figure 8As shown, the processing of electronic credentials can vary significantly depending on configuration or performance. The system may include one or more processors 801 and memory 802. Memory 802 may store one or more applications or data. Memory 802 may be either ephemeral or persistent. Applications stored in memory 802 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for processing electronic credentials. Furthermore, processor 801 may be configured to communicate with memory 802 to execute the series of computer-executable instructions in memory 802 for processing electronic credentials. The processing of electronic credentials may also include one or more power supplies 803, one or more wired or wireless network interfaces 804, one or more input / output interfaces 805, and the like.

[0142] In a specific embodiment, the processing of electronic credentials includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for processing electronic credentials, and the one or more programs are configured to be executed by one or more processors, and include computer-executable instructions for performing the following: detecting a cross-domain event for a user, and performing credential activation verification on a destination area corresponding to the detected cross-domain event; If the verification is successful, the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination zone; If the activation mode of the credential to be activated is a pre-activation mode, activation processing of the credential to be activated is performed for the user according to the activation link corresponding to the pre-activation mode.

[0143] Another embodiment of an electronic certificate processing device provided in this specification is as follows: Corresponding to the above-described method for processing another electronic credential, based on the same technical concept, one or more embodiments of this specification also provide another electronic credential processing device, which is used to execute the above-described method for processing another electronic credential. Figure 9 A schematic diagram of the structure of another electronic certificate processing device provided in one or more embodiments of this specification.

[0144] This embodiment provides an electronic certificate processing device, including: like Figure 9As shown, the electronic credential processing device may vary significantly due to different configurations or performance. It may include one or more processors 901 and memory 902. Memory 902 may store one or more applications or data. Memory 902 may be either ephemeral or persistent. The applications stored in memory 902 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for the electronic credential processing device. Furthermore, processor 901 may be configured to communicate with memory 902 to execute the series of computer-executable instructions in memory 902 on the electronic credential processing device. The electronic credential processing device may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input / output interfaces 905, one or more keyboards 906, and the like.

[0145] In a specific embodiment, an electronic credential processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the electronic credential processing device, and the one or more programs are configured to be executed by one or more processors, and include computer-executable instructions for performing the following: obtaining a credential activation message for a target credential issued by a server and issuing a message reminder; the credential activation message is generated after the credential to be activated is activated according to the activation link corresponding to the activation mode of the credential to be activated; If a credential access instruction submitted by a user in an application is detected, credential display processing is performed based on the target credential and the credential record of the user; The credential to be activated is determined in a credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

[0146] An embodiment of a computer-readable storage medium provided in this specification is as follows: Corresponding to the electronic certificate processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.

[0147] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions. When the computer-executable instructions are executed, the following process is implemented: cross-domain event detection is performed on the user, and credential activation verification is performed on the destination zone corresponding to the detected cross-domain event; If the verification is successful, the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination zone; If the activation mode of the credential to be activated is a pre-activation mode, activation processing of the credential to be activated is performed for the user according to the activation link corresponding to the pre-activation mode.

[0148] It should be noted that the embodiment of a computer-readable storage medium in this specification and the embodiment of a method for processing an electronic certificate in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0149] Another embodiment of a computer-readable storage medium provided in this specification is as follows: Corresponding to the other electronic certificate processing method described above, based on the same technical concept, one or more embodiments of this specification also provide another computer-readable storage medium.

[0150] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions. When executed, the computer-executable instructions implement the following process: obtaining a credential activation message for a target credential issued by a server and issuing a message reminder; the credential activation message is generated after activation processing of the credential to be activated is performed according to an activation link corresponding to an activation mode of the credential to be activated; If a credential access instruction submitted by a user in an application is detected, credential display processing is performed based on the target credential and the credential record of the user; The credential to be activated is determined in a credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

[0151] It should be noted that the embodiment of another computer-readable storage medium in this specification and the embodiment of another electronic certificate processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0152] An embodiment of a computer program product provided in this specification is as follows: Corresponding to the electronic certificate processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a computer program product.

[0153] A computer program product includes a computer program / instructions, which, when executed by a processor, implement the following steps: detecting a cross-domain event for a user, and performing credential activation verification on a destination zone corresponding to the detected cross-domain event; If the verification is successful, the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination zone; If the activation mode of the credential to be activated is a pre-activation mode, activation processing of the credential to be activated is performed for the user according to the activation link corresponding to the pre-activation mode.

[0154] It should be noted that the embodiment of a computer program product in this specification and the embodiment of a method for processing an electronic certificate in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0155] Another computer program product embodiment provided in this specification is as follows: Corresponding to the other electronic certificate processing method described above, based on the same technical concept, one or more embodiments of this specification also provide another computer program product.

[0156] A computer program product includes a computer program / instructions, which, when executed by a processor, implement the following steps: obtaining a credential activation message for a target credential issued by a server and providing a message reminder; the credential activation message is generated after performing activation processing on the credential to be activated according to an activation link corresponding to the activation mode of the credential to be activated; If a credential access instruction submitted by a user in an application is detected, credential display processing is performed based on the target credential and the credential record of the user; The credential to be activated is determined in a credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

[0157] It should be noted that the embodiment of another computer program product in this specification and the embodiment of another electronic certificate processing method in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0158] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. For example, the device embodiments, equipment embodiments, computer-readable storage medium embodiments, and computer program product embodiments are similar to the method embodiments, so the description is relatively simple. For relevant content in the device embodiments, equipment embodiments, computer-readable storage medium embodiments, and computer program product embodiments, please refer to the partial description of the method embodiments.

[0159] The foregoing description of this specification describes specific embodiments. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0160] In the 1930s, technological improvements could be clearly distinguished as either hardware improvements (for example, improvements to circuit structures like diodes, transistors, and switches) or software improvements (improvements to process flows). However, with the advancement of technology, many process flow improvements today can be considered direct improvements to hardware circuit structures. Designers almost always create the corresponding hardware circuit structure by programming the improved process flow into the hardware circuit. Therefore, it cannot be said that a process flow improvement cannot be implemented using physical hardware modules. For example, a programmable logic device (PLD), such as a field programmable gate array (FPGA), is an integrated circuit whose logical function is determined by user programming. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to hire a chip manufacturer to design and manufacture a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly performed using software called a "logic compiler." This is similar to the software compilers used during program development. Before compilation, the original code must be written in a specific programming language, called a Hardware Description Language (HDL). There are many types of HDL, including ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language). Currently, the most commonly used are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art will also understand that simply by programming a method flow in one of these hardware description languages ​​and then programming it into an integrated circuit, a hardware circuit that implements the logic method flow can be easily obtained.

[0161] The controller can be implemented in any suitable manner. For example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the memory control logic. Those skilled in the art will also appreciate that, in addition to implementing the controller purely in computer-readable program code, the controller can also be implemented in the form of logic gates, switches, an application-specific integrated circuit, a programmable logic controller, an embedded microcontroller, etc. by logically programming the method steps. Therefore, such a controller can be considered a hardware component, and the means for implementing the various functions included therein can also be considered as structures within the hardware component. Alternatively, the means for implementing the various functions can be considered both a software module implementing the method and a structure within the hardware component.

[0162] The systems, devices, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0163] For the convenience of description, the above devices are described as being divided into various units according to their functions. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0164] Those skilled in the art will appreciate that one or more embodiments of this specification may be provided as a method, system, or computer program product. Thus, one or more embodiments of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, this specification may take the form of a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0165] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0166] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0167] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0168] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0169] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0170] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology for information storage. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer-readable storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media such as modulated data signals and carrier waves.

[0171] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising at least one ..." does not exclude the presence of additional identical elements in the process, method, commodity, or apparatus comprising the element.

[0172] One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0173] The foregoing description is merely an example of the present invention and is not intended to limit the present invention. Persons skilled in the art will readily appreciate that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present invention are intended to be included within the scope of the claims herein.

Claims

1. A method for processing an electronic certificate, comprising: Detect cross-domain events on users and verify the credential activation for the destination region corresponding to the detected cross-domain event; If the verification is successful, the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination zone; If the activation mode of the credential to be activated is a pre-activation mode, activation processing of the credential to be activated is performed for the user according to the activation link corresponding to the pre-activation mode.

2. The electronic credential processing method according to claim 1, wherein the step of detecting a cross-domain event on a user and verifying the credential activation for a destination zone corresponding to the detected cross-domain event comprises: If a cross-domain notification uploaded by an application is detected, generating the cross-domain event according to the cross-domain notification; The cross-domain notification is generated after the location module of the application detects that the user's geographical location crosses the domain; Verify whether the event parameters of the cross-domain event meet the credential activation conditions of the destination area, and if so, determine that the verification is passed.

3. The electronic credential processing method according to claim 1, wherein the cross-domain event detection for the user comprises: Detecting whether the payment location carried in the payment record of the user triggers a cross-domain payment condition; if so, treating the payment event that triggers the cross-domain payment condition as a cross-domain payment event; or, Detect whether the user's itinerary order meets the itinerary cross-domain conditions. If so, generate a itinerary cross-domain event for the itinerary order; wherein, the detection of the payment record and the itinerary order is based on the cross-domain detection task created after the user activates the service.

4. The electronic credential processing method according to claim 1, wherein the credential activation verification for the destination zone corresponding to the detected cross-domain event comprises: Determining a verification rule for the cross-domain event match according to the event source of the cross-domain event; The user's credential activation verification in the destination area is performed according to the verification rules.

5. The electronic credential processing method according to claim 1, wherein determining the user's credential to be activated in the credential activation policy based on the user's credential record and the credential configuration of the destination zone comprises: Querying the policy item of the credential record mapping in the credential activation policy; The credential configuration is matched with the policy item, and the credential to be activated is determined according to the policy tag contained in the matched policy item.

6. The electronic certificate processing method according to claim 5, wherein the policy items in the certificate activation policy include at least one of the following: If you have activated an electronic transportation card but not a transportation voucher code, activate the transportation voucher code or a shared electronic voucher; If you have activated the transportation voucher code but not the electronic transportation card, activate the electronic transportation card or activate the shared electronic voucher; If the transportation voucher code and electronic transportation card have not been activated, activate the electronic transportation card and transportation voucher code, or activate a shared electronic voucher.

7. The electronic certificate processing method according to claim 1, wherein the activation mode of the certificate to be activated is determined as follows: Determining the activation mode according to the activation link type of the to-be-activated credential accessed by the application program; in, If the activation link type is activation through the application, determining the activation mode to be the pre-activation mode; If the activation link type is activation through a third-party subroutine in the application, the activation mode is determined to be an access activation mode.

8. The electronic credential processing method according to claim 7, further comprising: after the step of determining the user's credential to be activated in the credential activation policy based on the user's credential record and the credential configuration of the destination zone is performed: If the activation mode is the access activation mode, performing service access detection; According to the detected service access instruction submitted by the user terminal, the credential activation simulation interface is called to simulate the activation process of the credential to be activated, and the obtained target credential is returned to the user terminal for credential display.

9. The electronic credential processing method according to claim 1, wherein the step of performing activation processing for the user of the credential to be activated according to the activation link corresponding to the pre-activation mode comprises: Assembling user identity data of the credential to be activated, and making a credential activation call to the credential provider of the credential to be activated based on the user identity data; Generate a credential activation message based on the activation result of the target credential returned by the call and send it to the user terminal.

10. The electronic certificate processing method according to claim 9, wherein when the user terminal detects that the certificate activation message is triggered, it starts the application and enters the certificate service, determines the display certificate displayed on the service page of the certificate service, and performs certificate display processing.

11. The method for processing an electronic certificate according to claim 1 , further comprising: Returning a zone list to the user terminal according to a service activation instruction submitted by the user terminal; According to the candidate area selected by the user terminal in the area list, a credential application record for the candidate area is generated, and a cross-domain detection task for performing cross-domain event detection on the candidate area is created.

12. The method for processing an electronic certificate according to claim 1, further comprising: Obtaining the service activation tag carried in the activation request submitted by the user terminal for the selected credential activation; The selected credential is activated, a cross-domain detection task is created for performing cross-domain event detection on a preset area set, and a cross-domain detection of the location of the application is performed.

13. The method for processing an electronic certificate according to claim 11 or 12, further comprising: Detecting whether an electronic credential of a geographic area included in the candidate area or the preset area set triggers a credential update event; If so, returning the update area corresponding to the triggering of the credential update event to the user terminal, so as to display an update mark of the update area in the application; The credential application record in the update area is updated according to the update confirmation instruction submitted by the user terminal.

14. The method for processing an electronic certificate according to claim 1, further comprising: If it is detected that the electronic certificate received by the user triggers a certificate update event, the certificate to be updated corresponding to the certificate update event is cancelled, and the electronic certificate to be activated corresponding to the certificate to be updated is activated.

15. The electronic credential processing method according to claim 1, further comprising: after performing the steps of detecting a cross-domain event on the user and verifying the credential activation for the destination zone corresponding to the detected cross-domain event; If the verification fails, a credential activation reminder for the destination area is generated and sent to the user terminal; In response to the reminder trigger instruction submitted by the user terminal, the user's to-be-activated credential is determined in the credential activation policy according to the credential record and the credential configuration, and credential activation processing is performed according to the activation mode of the determined to-be-activated credential.

16. A method for processing an electronic certificate, comprising: Obtain the target certificate activation message issued by the server and issue a message reminder; The credential activation message is generated after the credential to be activated is activated according to the activation link corresponding to the activation mode of the credential to be activated; If a credential access instruction submitted by a user in an application is detected, credential display processing is performed based on the target credential and the credential record of the user; The credential to be activated is determined in a credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

17. The electronic credential processing method according to claim 16, further comprising: after the step of obtaining a credential activation message of the target credential issued by the server and issuing a message reminder; If it is detected that the credential activation message is triggered, start the application and enter the credential service; Acquire the display voucher displayed on the service page of the voucher service from the server and perform voucher display processing, or determine the display voucher displayed on the service page and perform voucher display processing.

18. The method for processing an electronic certificate according to claim 16, further comprising: Receive the target credential returned by the server and display it on the service page of the credential service; The target credential returned by the server is obtained after credential activation by calling a credential activation simulation interface to simulate the activation process. The credential activation simulation interface is called when the activation mode of the credential to be activated is the access activation mode.

19. The electronic credential processing method according to claim 16, wherein the credential display processing based on the target credential and the credential record of the user comprises: Determining a display voucher from the target voucher and the voucher record based on the user's location and payment record and / or itinerary order; The presentation credential is displayed on a service page of the credential service within the application.

20. The electronic credential processing method according to claim 16, wherein the determination of the credential to be activated is performed after the credential activation verification is performed on the destination area corresponding to the cross-domain event and the verification is passed; The performing credential activation verification on the destination area corresponding to the cross-domain event includes: A verification rule for matching the cross-domain event is determined according to an event source of the cross-domain event, and credential activation verification of the user in the destination area is performed according to the verification rule.

21. An electronic voucher processing device, comprising: A cross-domain detection module is configured to detect cross-domain events for users and perform credential activation verification on the destination area corresponding to the detected cross-domain event; a credential determination module configured to, if the verification is successful, determine the user's credential to be activated in the credential activation policy based on the user's credential record and the credential configuration of the destination zone; The credential activation module is configured to, if the activation mode of the credential to be activated is the pre-activation mode, perform activation processing for the credential to be activated for the user according to the activation link corresponding to the pre-activation mode.

22. An electronic voucher processing device, comprising: A message reminder module is configured to obtain a credential activation message of a target credential issued by a server and issue a message reminder; The credential activation message is generated after the credential to be activated is activated according to the activation link corresponding to the activation mode of the credential to be activated; a credential display module configured to, upon detecting a credential access instruction submitted by a user within an application, perform credential display processing based on the target credential and the credential record of the user; The credential to be activated is determined in a credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

23. An electronic voucher processing device, comprising: processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to: Detect cross-domain events on users and verify the credential activation for the destination region corresponding to the detected cross-domain event; If the verification is successful, the user's credential to be activated is determined in the credential activation policy based on the user's credential record and the credential configuration of the destination zone; If the activation mode of the credential to be activated is a pre-activation mode, activation processing of the credential to be activated is performed for the user according to the activation link corresponding to the pre-activation mode.

24. An electronic voucher processing device, comprising: processor; and a memory configured to store computer-executable instructions that, when executed, cause the processor to: Obtaining a credential activation message of the target credential issued by the server and issuing a message reminder; the credential activation message is generated after the credential to be activated is activated according to the activation link corresponding to the activation mode of the credential to be activated; If a credential access instruction submitted by a user in an application is detected, credential display processing is performed based on the target credential and the credential record of the user; The credential to be activated is determined in a credential activation policy after a cross-domain event is detected for the user and according to the credential record of the user and the credential configuration of the destination area corresponding to the cross-domain event.

25. A computer-readable storage medium for storing computer-executable instructions, wherein the computer-executable instructions implement the steps of the method of claim 1 or 16 when executed.