Resource processing method and apparatus
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
- Filing Date
- 2024-11-28
- Publication Date
- 2026-06-02
Smart Images

Figure CN122134427A_ABST
Abstract
Description
[0001] This patent application is a divisional application of the Chinese patent application No. 202411731151.4, filed on November 28, 2024, with the title of "Resource processing method and device". TECHNICAL FIELD
[0002] The present document relates to the technical field of data processing, in particular to a resource processing method and device. BACKGROUND
[0003] With the continuous development and popularization of the Internet, the application range of various online services based on the Internet is also becoming more and more extensive. In this case, the online resource purchase method has appeared and is gradually accepted by users. However, as more and more resource institutions access this method, the competition among resource institutions is increasingly fierce. In this case, how to improve customer satisfaction after attracting customers for resource institutions has become the focus of attention of resource institutions. SUMMARY
[0004] One or more embodiments of the present specification provide a resource processing method, comprising: determining a target voucher matched with a purchased resource of a user according to an access channel of the user for accessing the resource. Performing a cancellation detection on the target voucher based on resource data of the purchased resource. Canceling the target voucher if the detection passes. Determining an interest parameter of a voucher interest according to the resource data and a voucher template of the target voucher. Issuing and locking the voucher interest to the user according to the interest parameter. Associating the voucher interest with the purchased resource. The voucher interest is unlocked after a resource indicator of the purchased resource meets an interest taking effect condition.
[0005] One or more embodiments of the present specification provide a resource processing device, comprising: a voucher matching module configured to determine a target voucher matched with a purchased resource of a user according to an access channel of the user for accessing the resource. A cancellation detection module configured to perform a cancellation detection on the target voucher based on resource data of the purchased resource. A parameter determination module configured to cancel the target voucher if the detection passes, and determine an interest parameter of a voucher interest according to the resource data and a voucher template of the target voucher. An interest processing module configured to issue and lock the voucher interest to the user according to the interest parameter, and associate the voucher interest with the purchased resource. The voucher interest is unlocked after a resource indicator of the purchased resource meets an interest taking effect condition.
[0006] One or more embodiments of the present specification provide a resource processing device, comprising: a processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: determine a target voucher matched with a purchased resource of a user according to an access channel of the user to access the resource. Perform a verification detection on the target voucher based on resource data of the purchased resource. If the detection passes, cancel the target voucher. Determine an entitlement parameter of a voucher entitlement according to the resource data and a voucher template of the target voucher. Perform a voucher entitlement issuance and a voucher entitlement locking to the user according to the entitlement parameter. Associate the voucher entitlement with the purchased resource. The voucher entitlement is unlocked after a resource indicator of the purchased resource meets an entitlement taking effect condition.
[0007] One or more embodiments of the present specification provide a computer readable storage medium for storing computer executable instructions, which, when executed, implement the following processes: determine a target voucher matched with a purchased resource of a user according to an access channel of the user to access the resource. Perform a verification detection on the target voucher based on resource data of the purchased resource. If the detection passes, cancel the target voucher. Determine an entitlement parameter of a voucher entitlement according to the resource data and a voucher template of the target voucher. Perform a voucher entitlement issuance and a voucher entitlement locking to the user according to the entitlement parameter. Associate the voucher entitlement with the purchased resource. The voucher entitlement is unlocked after a resource indicator of the purchased resource meets an entitlement taking effect condition. BRIEF DESCRIPTION OF DRAWINGS
[0008] In order to more clearly illustrate the technical solutions in the one or more embodiments of the present specification or the prior art, brief introductions will be given to the drawings needed in the embodiments or prior art descriptions. Obviously, the drawings in the following description are only some embodiments described in the present specification, and other drawings can be obtained by those skilled in the art without creative labor under the premise of not paying creative labor; Figure 1 A schematic diagram of an implementation environment of a resource processing method provided by one or more embodiments of the present specification; Figure 2 A processing flowchart of a resource processing method provided by one or more embodiments of the present specification; Figure 3 A processing flowchart of a resource processing method applied to a first resource processing scene provided by one or more embodiments of the present specification; Figure 4 A processing flowchart of a resource processing method applied to a second resource processing scene provided by one or more embodiments of the present specification; Figure 5A schematic diagram of an embodiment of a resource processing apparatus provided in one or more embodiments of this specification; Figure 6 This is a schematic diagram of the structure of a resource processing device provided for one or more embodiments of this specification. Detailed Implementation
[0009] 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 with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of the embodiments. Based on one or more embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this document.
[0010] The resource processing methods provided in one or more embodiments of this specification are applicable to the implementation environment of a resource processing system. (Refer to...) Figure 1 The implementation environment includes at least: User terminal 101 and server 102; The user terminal 101 is used to cooperate with the server 102 to perform credential processing, resource processing and credential rights processing. The user terminal 101 can be a mobile phone, personal computer, tablet computer, e-book reader, VR (Virtual Reality) based information interaction device, vehicle terminal, IoT device, wearable smart device, laptop computer and desktop computer, etc. Server 102 is used to process credentials, resources and rights in response to the operations of user terminal 101. Server 102 can be a single server, a server cluster consisting of several servers, or one or more cloud servers in a cloud computing platform.
[0011] In this implementation environment, after a user obtains a credential through user terminal 101 during resource access, server 102 determines the target credential matching the user's purchased resources based on the access channel of user terminal 101. When user terminal 101 and server 102 cooperate to conduct resource transactions and obtain purchased resources, server 102 performs a verification check on the target credential based on the resource data of the user's purchased resources. If the check passes, the target credential is verified. Furthermore, based on the resource data of the purchased resources and the credential template of the target credential, the server determines the rights parameters of the credential. Further, according to the rights parameters, the server issues and locks the credential rights to the user. By associating the credential rights with the purchased resources, the credential rights are unlocked after the resource indicators of the purchased resources meet the rights activation conditions. In other words, the user can use the issued credential rights after the resource indicators of the purchased resources meet the rights activation conditions. In this way, the server guides users to establish better resource management habits through credential processing and credential rights processing during resource processing.
[0012] It should be noted that, considering that the resource data and user-related data involved in this manual may, to some extent, constitute user privacy, authorization from the user must be obtained before collecting such data to ensure that the data collection operation complies with relevant data management regulations. For example, data authorization can be granted during, before, or after resource access. Specific methods of data authorization include sending a user data authorization reminder, which the user confirms upon receiving the reminder, or obtaining data collection authorization by signing a data authorization agreement.
[0013] One or more embodiments of a resource processing method provided in this specification are as follows: Reference Figure 2 The resource processing method provided in this embodiment specifically includes steps S202 to S208.
[0014] Step S202: Determine the target credential that matches the user's purchased resources based on the access channel through which the user accesses resources.
[0015] Resource access as described in this embodiment refers to the process by which a user accesses purchasable transactional resources or digital resources. Transactional resources can be financial products, assets and / or resources, such as currency, gold, foreign exchange, securities, wealth management products or insurance, etc.; digital resources can be assets in various forms such as digital assets or data assets, or digital resources in various forms such as carbon credits (carbon resources).
[0016] Purchased resources refer to resources that a user has already purchased. Access channels refer to the specific pages that a user accesses during the process of accessing resources; optionally, access channels include: the resource page of the resource service accessed by the user, and / or the resource access page that the user enters after triggering the receipt of credentials.
[0017] A voucher is a data certificate recommended and issued to a user, related to the transaction or holding of resources. This data certificate can take the form of a security or a voucher card. A target voucher is the certificate to be redeemed after a user purchases a resource. Voucher rights refer to the rights issued to the user after the voucher is redeemed; that is, the rights issued to the user after successful voucher redemption. These rights can be resource-related rights, such as additional rights to purchased resources; they can also be other forms of rights, such as payment deduction rights or cash bonus rights.
[0018] In practice, after recommending vouchers to users, users can claim vouchers by triggering them. After claiming a voucher, users can use and verify it during resource purchases. Upon successful verification, the user will receive corresponding voucher benefits. Specifically, users can verify the vouchers they have claimed after purchasing resources. Once verified, the user will receive corresponding voucher benefits. These voucher benefits take effect only after the user has purchased the resources and meets certain conditions. That is, users can only use the issued voucher benefits after purchasing the resources and meeting certain conditions.
[0019] In practical applications, during the process of users accessing resources, credentials can be recommended and issued to users so that they can use and redeem the issued credentials after purchasing resources. After successful credential redemption, the corresponding credential rights are issued to the user. Specifically, in the process of issuing credentials to users, in order to improve the targeting of credential issuance and increase the probability of the issued credentials being claimed and used and redeemed, the user's user category can be matched with various credential template types. Based on the credential template types matched to the user category, the corresponding credential is recommended to the user, and the corresponding credential is issued to the user after a claim instruction is detected.
[0020] Specifically, in one optional implementation of this embodiment, the voucher is issued in the following manner: Match the user's user category with each voucher template type to obtain the matching voucher template type; Calculate the recommendation index for each voucher template under the matching voucher template type for the user, select a voucher template based on the recommendation index, and recommend the voucher corresponding to the selected voucher template to the user; If a user's instruction to collect a credential is detected, a credential will be issued to the user.
[0021] In the specific execution process, when issuing vouchers to users, based on determining the user category and on one or more pre-configured voucher template types, the matching voucher template type is obtained by matching the user category with each voucher template type. Here, the matching degree between the user category and each voucher template type can be calculated, and the matching degree can be sorted in descending order. The voucher template type corresponding to the first matching degree is taken as the matching voucher template type. Based on the voucher template types matched with user categories, recommendation metrics for each voucher template under the matched voucher template types can be further calculated for the user. Voucher templates are selected according to the recommendation metrics, and vouchers corresponding to the selected voucher templates are recommended to the user. Specifically, recommendation metrics can be calculated by inputting user data and each voucher template into a recommendation algorithm or recommendation model. Similarly, the recommendation metrics can be sorted in descending order, and the voucher corresponding to the voucher template with the highest-ranking recommendation metric is used as the voucher recommended to the user.
[0022] Furthermore, considering that different users may have different resource access preferences or habits in practice, more personalized vouchers can be recommended to users to increase the probability of vouchers being claimed and used for verification. Specifically, in another optional implementation of this embodiment, vouchers can be issued in the following way: matching the user's user category with each voucher template to obtain a matching voucher template; determining the template parameters of the voucher template based on user data, recommending the corresponding voucher to the user based on the determined template parameters, and issuing the voucher to the user after detecting a claim instruction. The template parameters of the voucher template based on user data can be determined by using a model or script that determines the input parameters of the user data and the voucher template to determine the template parameters that are compatible with the current user data.
[0023] In this embodiment, considering that in reality there may be situations such as users not receiving credentials, received credentials expiring, or credentials becoming invalid, it is also possible to determine whether to issue credentials to users by detecting during the user's resource access process. In one optional implementation of this embodiment, in response to the user's access request for resource access, the credential issuance verification is performed on the user, and the credential processing status is determined according to the verification result; if the credential processing status is the issuance status, the credential is configured on the access page corresponding to the access request; the target credential is obtained after the credential identifier is triggered.
[0024] Furthermore, after issuing credentials to users and having them receive the credentials, users can use and verify the received credentials during the process of purchasing resources. Considering that users may receive one or more credentials, in order to facilitate users' use and verification of the received credentials during resource access, in another optional implementation of this embodiment, the credential issuance verification is performed in response to the user's access request for resource access, and the credential processing status is determined according to the verification result; if the credential processing status is the verification status, the credential verification interface of the target credential is configured on the access page corresponding to the access request.
[0025] It should be noted that, in the specific execution process, based on the verification of user voucher issuance, corresponding processing can be performed according to the verification result, thereby realizing the organic combination of voucher issuance and voucher cancellation, which helps to improve the possibility of voucher issuance and voucher cancellation. Specifically, in an optional implementation method provided in this embodiment, in response to a user's access request for resource access, the voucher issuance verification is performed on the user, and the voucher processing status is determined according to the verification result; if the voucher processing status is issuance status, the voucher is configured on the access page corresponding to the access request; if the voucher processing status is cancellation status, the voucher cancellation interface of the target voucher is configured on the access page corresponding to the access request.
[0026] In practice, once a user has received a voucher and purchased the resources, the user can use and cancel the received voucher based on the purchased resources. Specifically, in determining the voucher to be canceled for the currently purchased resources, the target voucher matching the user's purchased resources is determined based on the access channel used by the user to access the resources. During execution, the determination of the target voucher can be carried out upon detection of successful / complete purchase of the purchased resources.
[0027] Specifically, in one optional implementation of this embodiment, determining the target credential that matches the user's purchased resources based on the access channel the user uses to access resources includes: determining a credential matching mode based on the access channel, and obtaining the target credential by matching the credential of the access channel according to the credential matching mode.
[0028] Optionally, the credential matching mode includes a first matching mode and / or a second matching mode; wherein, the first credential mode refers to the matching mode that uses the user's currently selected credential as the target credential, and the second credential mode refers to the matching mode that matches the target credential among all the credentials the user has received. Access channels include: the resource page of the resource service accessed by the user, and / or, the resource access page entered by the user after triggering the receipt of credentials.
[0029] In the specific execution process, the credential matching mode is determined according to the access channel, and the target credential is obtained by matching the credential of the access channel according to the credential matching mode. This includes: if the access channel is a resource access page entered by the user after triggering any credential that has been claimed, then the credential matching mode is determined to be the first matching mode, and any credential that has been claimed is determined to be the target credential according to the first matching mode. In addition, determining the credential matching mode based on the access channel and obtaining the target credential by matching the credentials of the access channel according to the credential matching mode also includes: if the access channel is a resource page of a resource service, determining the credential matching mode as the second matching mode; calculating the matching degree between the user's received credentials and purchased resources according to the second matching mode, and selecting the target credential based on the matching degree among the received credentials.
[0030] It should be noted that, in addition to the above-mentioned implementation method of determining the target credential by determining the credential matching mode and on the basis of determining the credential matching mode, the second optional implementation method provided in this embodiment determines the target credential matching the user's purchased resources according to the access channel of the user's resource access, including: if the access channel is the resource access page entered by the user after triggering any of the already received credentials, the triggered already received credentials are determined as the target credential.
[0031] In the third optional implementation provided in this embodiment, the target credential matching the user's purchased resources is determined according to the access channel through which the user accesses resources. This includes: if the access channel is a resource page of a resource service, calculating the matching degree between the user's claimed credential and the purchased resources, and selecting the target credential from the claimed credentials based on the matching degree.
[0032] Step S204: Perform a verification check on the target voucher based on the resource data of the purchased resources.
[0033] In practice, after identifying the target voucher that matches the user's purchased resources, a verification check is performed on the target voucher based on the resource data of the purchased resources. This checks whether the currently purchased resources can be used to verify the target voucher. Specifically, during the verification check of the target voucher based on the resource data of the purchased resources, the verification can be performed by checking whether the resource data of the purchased resources meets the verification rules of the target voucher. If the resource data of the purchased resources meets the verification rules, the check passes, meaning the currently purchased resources can be used to verify the target voucher. If the resource data of the purchased resources does not meet the verification rules, the check fails, meaning the currently purchased resources cannot be used to verify the target voucher. In this case, a verification failure reminder can be sent to the user, or no action can be taken. The verification rules include that the resource identifier of the purchased resources is in the list of available resources recorded in the voucher template, and / or that the resource amount of the purchased resources is greater than the number of permitted resources recorded in the voucher template.
[0034] In one optional implementation of this embodiment, the target voucher is reconciled based on the resource data of the purchased resources, including: checking whether the resource identifier contained in the resource data is in the list of available resources recorded in the voucher template; if not, the check is determined to have failed. If yes, check whether the resource amount included in the resource data is greater than or equal to the access resource amount recorded in the voucher template. If yes, the test is considered passed; if no, the test is considered failed.
[0035] Step S206: If the detection passes, cancel the target voucher and determine the rights parameters of the voucher rights based on the resource data and the voucher template of the target voucher.
[0036] If the above-mentioned verification test of the target voucher based on the resource data of the purchased resources passes, it indicates whether the currently purchased resources of the user can be used to verify the target voucher. If so, the target voucher is verified, and the rights parameters of the voucher rights are determined according to the resource data and the voucher template of the target voucher. Here, verifying the target voucher means updating the status of the target voucher from unverified to verified. After the status of the target voucher is updated to verified, it indicates that the current target voucher has been used and verified and cannot be used and verified again in the future.
[0037] The voucher template mentioned in this embodiment refers to a voucher data template, which records: a list of resources that can be used to cancel the current voucher; one or more benefit levels for calculating the benefit amount of the current voucher; the effective period of the current voucher's benefit; and / or, rules for determining the validity period of the current voucher's benefit. In addition, the data template may also record other information related to the voucher or voucher benefits.
[0038] In practice, determining the rights parameters of the voucher based on resource data and the voucher template of the target voucher is to prepare for the subsequent issuance of voucher rights to users. That is, it determines the rights parameters of the voucher rights to be issued to users when they use and redeem the target voucher after purchasing the resources. Optionally, the rights parameters include the rights amount, the rights effective period, and / or the rights validity period.
[0039] Specifically, in one optional implementation of this embodiment, the rights parameters of the voucher rights are determined based on resource data and the voucher template of the target voucher, including: Determine the target equity level corresponding to the resource amount contained in the resource data in the equity level recorded in the voucher template, and input the resource amount into the equity algorithm corresponding to the target equity level to calculate the equity amount. The effective period and validity period of the rights are determined based on the purchase time and the rights rules recorded in the voucher template included in the resource data.
[0040] It should be noted that, in addition to the above-mentioned methods for determining the amount, effective period, and validity period of rights of a certificate, there may be situations in practice where the parameters of the rights of a target certificate only include one or any two of the rights amount, effective period, and validity period. In such cases, the corresponding technical means in the above-mentioned methods for determining the amount, effective period, and validity period of rights of a certificate can be used to determine one or any two of the rights amount, effective period, and validity period. For example, determining the rights parameters of a certificate based on resource data and the certificate template of the target certificate includes: determining the target rights level corresponding to the resource amount contained in the resource data in the rights level recorded in the certificate template, inputting the resource amount into the rights algorithm corresponding to the target rights level to calculate the rights amount, and determining the effective period based on the purchase time contained in the resource data and the rights rules recorded in the certificate template; or, determining the rights parameters of a certificate based on resource data and the certificate template of the target certificate includes: reading the rights amount recorded in the certificate template, and determining the effective period and validity period based on the purchase time contained in the resource data and the rights rules recorded in the certificate template.
[0041] Step S208: Issue and lock the credential rights to the user according to the rights parameters, and associate the credential rights with the purchased resources.
[0042] In this embodiment, the credential is recommended and issued to the user before the user purchases the resource, specifically during the user's resource access process. That is, the issuance of the credential is related to the user's resource access (the issuance of the credential corresponds to the user's resource access). Subsequently, the resale of vouchers is carried out after the user purchases the purchased resources; that is, the resale of vouchers is related to the resource transaction (resource purchase) made by the user (the resale of vouchers corresponds to the resource purchase made by the user). Furthermore, after successful voucher verification, voucher rights are issued to the user, meaning that voucher verification is also related to the user's resource purchases (voucher verification corresponds to the user's resource purchases). Furthermore, after the issuance of the voucher rights, the status of the voucher rights is related to the purchased resources. Specifically, after the voucher rights are issued to the user according to the rights parameters, the voucher rights are locked. This is done by locking the voucher rights. Voucher rights in the locked state cannot be used. Instead, they are unlocked and can be used by the user when the purchased resources meet certain conditions. In other words, the status of the voucher rights is related to the transaction status of the purchased resources (the status of the voucher rights corresponds to the transaction status of the purchased resources).
[0043] Optionally, the credential rights are unlocked after the resource indicators of the purchased resources meet the rights activation conditions. These resource indicators can be holding indicators, such as the purchase duration of the purchased resources. The rights activation conditions include: the purchase duration of the purchased resources meets the rights activation period; the unlocked credential rights are used to pay for the user's payment orders.
[0044] Here, associating credential rights with purchased resources serves two purposes: firstly, it determines the lock-up status of credential rights based on the resource indicators of the purchased resources, i.e., whether the purchased resources need to be unlocked; secondly, it determines the cancellation status of credential rights based on the transaction status of the purchased resources, i.e., whether the credential rights need to be cancelled. It should be noted that in the actual implementation, associating credential rights with purchased resources can be omitted. That is, issuing and locking credential rights to users according to rights parameters and associating credential rights with purchased resources can be replaced by issuing and locking credential rights to users according to rights parameters.
[0045] In one optional implementation of this embodiment, the issuance and locking of credential rights to users are performed according to rights parameters, including: Generate certificate rights based on the amount of rights, the effective period of rights, and the validity period of rights; Issue credential rights to users' user accounts and lock the status of credential rights.
[0046] In addition, during the process of issuing voucher rights to users according to the rights parameters, in addition to generating voucher rights based on the rights amount, rights effective period, and rights validity period as provided above, voucher rights can also be generated based on the rights amount, rights effective period, rights validity period, and rights template. Alternatively, voucher rights can be generated based on at least one of the rights amount, rights effective period, and rights validity period. Or, voucher rights can be generated based on at least one of the rights amount, rights effective period, and rights validity period, and rights template.
[0047] As mentioned above, the rights and benefits of the certificate are unlocked after the resource indicators of the purchased resources meet the conditions for the rights to take effect. In practice, there may be situations where the conditions for the rights to take effect have not yet been met, but the purchased resources have been sold. In this regard, the rights and benefits that have not yet been unlocked can be cancelled. Specifically, in one optional implementation of this embodiment, if it is detected that the purchased resources have been sold before the expiration of the rights to take effect period, the association between the rights and benefits of the certificate and the purchased resources is terminated, and the rights and benefits of the certificate are cancelled.
[0048] In summary, the resource processing method provided in this embodiment recommends and issues vouchers to users during resource access. Upon successful purchase of a resource, it determines a target voucher matching the user's purchased resource based on the access channel. The method then performs a verification check on the target voucher based on the resource data of the purchased resource. This checks whether the currently purchased resource can be used to verify the user's received target voucher. If the check passes, it indicates that the currently purchased resource can be used to verify the target voucher, and the target voucher is then verified. Furthermore, the method determines the voucher's rights parameters based on the resource data and the voucher template. Finally, it issues and locks voucher rights to the user according to these parameters and associates the voucher rights with the purchased resource. This approach, through the issuance and verification of vouchers and the management of voucher rights, guides users to develop better resource management habits.
[0049] The following example uses the application of a resource processing method provided in this embodiment in a first resource processing scenario, combined with... Figure 3 The resource processing method provided in this embodiment will be further explained below. See [link to relevant documentation]. Figure 3 The resource processing method applied to the first resource processing scenario specifically includes the following steps.
[0050] Step S302: Determine the credential matching mode based on the access channel through which the user accesses the resource, and obtain the target credential by matching the credentials of the access channel according to the credential matching mode.
[0051] Step S304: Perform a verification check on the target voucher based on the resource data of the purchased resources.
[0052] Step S306: If the detection passes, cancel the target voucher and determine the rights parameters of the voucher rights based on the resource data and the voucher template of the target voucher.
[0053] Step S308: Generate certificate rights based on the rights amount, rights effective period and rights validity period in the rights parameters.
[0054] Step S310: Issue credential rights to the user's user account and lock the status of the credential rights.
[0055] Step S312: If it is detected that the purchase duration of the purchased resources meets the effective period of the certificate rights, the certificate rights are unlocked.
[0056] Step S314: If it is detected that the purchased resources have been sold before the expiration of the rights effective period, the rights of the certificate shall be cancelled.
[0057] It should be noted that any one or more steps in steps S302 to S314 can be combined with any one or more steps in steps S202 to S208 to form a new implementation method according to the needs of implementation and deployment. In addition, any one or more technical features in steps S302 to S314 can be selected and combined with any one or more technical features provided in steps S202 to S208 to form a new implementation method according to the actual deployment needs. Alternatively, any one or more technical features in steps S302 to S314 can be replaced with any one or more technical features provided in steps S202 to S208 to form a new implementation method according to the actual deployment needs. These will not be elaborated on here.
[0058] The following example uses the application of a resource processing method provided in this embodiment in a second resource processing scenario, combined with... Figure 4 The resource processing method provided in this embodiment will be further explained below. See [link to relevant documentation]. Figure 4 The resource processing method applied to the second resource processing scenario specifically includes the following steps.
[0059] Step S402: Determine the access channel through which the user accesses resources.
[0060] Step S404: If the access channel is a resource access page entered by the user after triggering any of the already claimed credentials, then the triggered already claimed credentials will be determined as the target credentials.
[0061] Step S406: If the access channel is a resource page of resource service, calculate the matching degree between the user's received vouchers and purchased resources, and select the target voucher from the received vouchers based on the matching degree.
[0062] Step S408: Check whether the resource data of the purchased resources meets the reimbursement rules of the target voucher; If so, proceed with steps S410 to S416 below; If not, generate a reconciliation failure notification or do nothing.
[0063] Step S410: Determine the rights parameters of the voucher rights based on the resource data and the voucher template of the target voucher.
[0064] Step S412: Issue and lock the certificate rights to the user according to the rights parameters, and associate the certificate rights with the purchased resources.
[0065] Step S414: If it is detected that the purchase duration of the purchased resources meets the effective period of the certificate rights, the certificate rights are unlocked.
[0066] It should be noted that any one or more steps in steps S402 to S414 can be combined with any one or more steps in steps S202 to S208 to form a new implementation method according to the needs of implementation and deployment. In addition, any one or more technical features in steps S402 to S414 can be selected and combined with any one or more technical features provided in steps S202 to S208 to form a new implementation method according to the actual deployment needs. Alternatively, any one or more technical features in steps S402 to S414 can be replaced with any one or more technical features provided in steps S202 to S208 to form a new implementation method according to the actual deployment needs. These will not be elaborated on here.
[0067] This specification provides an embodiment of a resource processing device as follows: In the above embodiments, a resource processing method is provided, and correspondingly, a resource processing device is also provided, which will be described below with reference to the accompanying drawings.
[0068] Reference Figure 5 This illustration shows a schematic diagram of an embodiment of a resource processing device provided in this embodiment.
[0069] Since the apparatus embodiments correspond to the method embodiments, the descriptions are relatively simple. For relevant parts, please refer to the corresponding descriptions of the method embodiments provided above. The apparatus embodiments described below are merely illustrative.
[0070] This embodiment provides a resource processing device, the device comprising: The credential matching module 502 is configured to determine the target credential that matches the user's purchased resources based on the access channel through which the user accesses resources. The reconciliation detection module 504 is configured to perform reconciliation detection on the target voucher based on the resource data of the purchased resources; The parameter determination module 506 is configured to cancel the target voucher if the detection passes, and to determine the rights parameters of the voucher rights based on the resource data and the voucher template of the target voucher; The rights processing module 508 is configured to issue and lock the rights certificates to the user according to the rights parameters, and associate the rights certificates with the purchased resources; the rights certificates are unlocked after the resource indicators of the purchased resources meet the rights activation conditions.
[0071] The following is an embodiment of a resource processing device provided in this specification: Corresponding to the resource processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a resource processing device for executing the resource processing method provided above. Figure 6 This is a schematic diagram of the structure of a resource processing device provided for one or more embodiments of this specification.
[0072] This embodiment provides a resource processing device, including: like Figure 6 As shown, resource processing devices can vary considerably due to differences in configuration or performance. They may include one or more processors 601 and memory 602, with memory 602 storing one or more application programs or data. Memory 602 can be temporary or persistent storage. The application programs stored in memory 602 may include one or more modules (not shown), each module including a series of computer-executable instructions from the resource processing device. Furthermore, processor 601 may be configured to communicate with memory 602, executing the series of computer-executable instructions stored in memory 602 on the resource processing device. The resource processing device may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input / output interfaces 605, one or more keyboards 606, etc.
[0073] In one specific embodiment, the resource 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 use in the resource processing device, and is configured to be executed by one or more processors. The one or more programs include computer-executable instructions for performing the following: Based on the access channels through which the user accesses resources, determine the target credentials that match the user's purchased resources; The target voucher is verified and checked based on the resource data of the purchased resources. If the detection passes, the target voucher is cancelled, and the rights parameters of the voucher rights are determined based on the resource data and the voucher template of the target voucher. According to the rights parameters, the certificate rights are issued to the user and locked, and the certificate rights are associated with the purchased resources; the certificate rights are unlocked after the resource indicators of the purchased resources meet the rights activation conditions.
[0074] This specification provides an embodiment of a computer-readable storage medium as follows: Corresponding to the resource processing method described above, and based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.
[0075] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, which, when executed, implement the following process: Based on the access channels through which the user accesses resources, determine the target credentials that match the user's purchased resources; The target voucher is verified and checked based on the resource data of the purchased resources. If the detection passes, the target voucher is cancelled, and the rights parameters of the voucher rights are determined based on the resource data and the voucher template of the target voucher. According to the rights parameters, the certificate rights are issued to the user and locked, and the certificate rights are associated with the purchased resources; the certificate rights are unlocked after the resource indicators of the purchased resources meet the rights activation conditions.
[0076] It should be noted that the embodiments of a computer-readable storage medium described in this specification and the embodiments of a resource processing method described in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can be referred to the implementation of the corresponding method described above, and the repeated parts will not be described again.
[0077] This specification provides an example of a computer program product as follows: Corresponding to the resource processing method described above, and based on the same technical concept, one or more embodiments of this specification also provide a computer program product.
[0078] A computer program product includes a computer program / instructions that, when executed by a processor, perform the following steps: Based on the access channels through which the user accesses resources, determine the target credentials that match the user's purchased resources; The target voucher is verified and checked based on the resource data of the purchased resources. If the detection passes, the target voucher is cancelled, and the rights parameters of the voucher rights are determined based on the resource data and the voucher template of the target voucher. According to the rights parameters, the certificate rights are issued to the user and locked, and the certificate rights are associated with the purchased resources; the certificate rights are unlocked after the resource indicators of the purchased resources meet the rights activation conditions.
[0079] It should be noted that the embodiments of a computer program product described in this specification and the embodiments of a resource processing method described in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can be referred to the implementation of the corresponding method described above, and the repeated parts will not be described again.
[0080] The various embodiments in this specification are described in a progressive manner. For the same or similar parts between the various embodiments, please refer to each other. Each embodiment focuses on describing the differences from other embodiments. For example, the device embodiments, equipment embodiments, computer-readable storage medium embodiments, and computer program product embodiments are all similar to the method embodiments, so the descriptions are relatively simple. For reading the relevant content of the device embodiments, equipment embodiments, computer-readable storage medium embodiments, and computer program product embodiments, please refer to the description of the method embodiments.
[0081] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0082] In the 1930s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many improvements to the methodology today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that an improvement to the methodology cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program and "integrate" a digital system onto a PLD themselves, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must also be written in a specific programming language, called a Hardware Description Language (HDL). There are many HDLs, such as 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 should also understand that by simply performing some logic programming on the method flow using one of these hardware description languages and programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.
[0083] The controller can be implemented in any suitable manner. For example, it 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, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
[0084] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
[0085] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in one or more software and / or hardware.
[0086] Those skilled in the art will understand that one or more embodiments of this specification can be provided as a method, system, or computer program product. Therefore, one or more embodiments of this specification may take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this specification may take the form of a computer program product embodied 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.
[0087] This specification is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable resource processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable resource processing apparatus, create a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0088] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable resource processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0089] These computer program instructions may also be loaded onto a computer or other programmable resource processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable apparatus for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0090] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0091] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0092] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. 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 memory (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, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0093] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising at least one…" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0094] One or more embodiments of this specification can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a particular task or implement a particular abstract data type. One or more embodiments of this specification can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.
[0095] The above description is merely an embodiment of this document and is not intended to limit the scope of this document. Various modifications and variations can be made to this document by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this document should be included within the scope of the claims of this document.
Claims
1. A resource processing method, comprising: Based on the access channels through which the user accesses resources, determine the target credentials that match the user's purchased resources; The target voucher is verified and checked based on the resource data of the purchased resources. If the detection passes, the target voucher is cancelled, and the rights parameters of the voucher rights are determined based on the resource data and the voucher template of the target voucher. According to the rights parameters, the certificate rights are issued to the user and locked, and the certificate rights are associated with the purchased resources; if it is detected that the purchased resources are sold before the expiration of the rights validity period, the certificate rights are cancelled.
2. The resource processing method according to claim 1, wherein determining the target credential matching the user's purchased resources based on the user's access channel includes: The credential matching mode is determined based on the access channel, and the target credential is obtained by matching the credentials of the access channel according to the credential matching mode.
3. The resource processing method according to claim 1, wherein determining the target credential matching the user's purchased resources based on the user's access channel includes: If the access channel is a resource access page entered by the user after triggering any of the already claimed credentials, then any of the already claimed credentials triggered will be determined as the target credentials.
4. The resource processing method according to claim 1, wherein determining the target credential matching the user's purchased resources based on the user's access channel includes: If the access channel is a resource page of a resource service, calculate the matching degree between the user's claimed credentials and the purchased resources, and select the target credentials from the claimed credentials based on the matching degree.
5. The resource processing method according to claim 1, wherein determining the rights parameters of the voucher rights based on the resource data and the voucher template of the target voucher includes: Determine the target equity level corresponding to the resource amount contained in the resource data in the equity level recorded in the voucher template, and input the resource amount into the equity algorithm corresponding to the target equity level to calculate the equity amount and obtain the equity amount; The effective period and validity period of the rights are determined based on the purchase time included in the resource data and the rights rules recorded in the voucher template.
6. The resource processing method according to claim 5, wherein the step of issuing and locking credential rights to the user according to the rights parameters includes: The voucher rights are generated based on the amount of rights, the effective period of rights, the validity period of rights, and the voucher template; Issue the credential rights to the user's user account and lock the status of the credential rights.
7. The resource processing method according to claim 5, wherein the conditions for the rights to take effect include: The purchase duration of the purchased resources meets the effective period of the rights; The unlocked credentials are used to pay for the user's payment orders.
8. The resource processing method according to claim 1, wherein the step of performing verification and detection on the target voucher based on the resource data of the purchased resources includes: Check whether the resource identifier contained in the resource data is in the list of available resources recorded in the credential template; If so, check whether the amount of resources contained in the resource data is greater than or equal to the amount of access resources recorded in the voucher template; if so, confirm that the check has passed.
9. The resource processing method according to claim 1, before the step of determining the target credential matching the user's purchased resources based on the user's access channel, further includes: In response to the user's access request for resource access, the system verifies the user's credentials and determines the credential processing status based on the verification result. If the credential processing status is issuance status, the credential is configured on the access page corresponding to the access request; the target credential is obtained after the credential identifier is triggered. If the voucher processing status is a revocation status, configure the voucher revocation interface for the target voucher on the access page corresponding to the access request.
10. The resource processing method according to claim 1, further comprising: The user's user category is matched with each voucher template type to obtain the matching voucher template type; Calculate the recommendation index for each voucher template under the matching voucher template type for the user, select a voucher template according to the recommendation index, and recommend the voucher corresponding to the selected voucher template to the user; If a user's instruction to claim the credential is detected, the credential is issued to the user.
11. The resource processing method according to claim 1, further comprising: The user's user category is matched with each voucher template to obtain the matching voucher template; Based on user data, the template parameters of the matching voucher template are determined, and the voucher corresponding to the voucher template is recommended to the user based on the template parameters, so as to issue the voucher to the user after detecting the collection instruction.
12. A resource processing apparatus, comprising: The credential matching module is configured to determine the target credential that matches the user's purchased resources based on the access channel through which the user accesses resources. The verification detection module is configured to perform verification detection on the target voucher based on the resource data of the purchased resources; The parameter determination module is configured to cancel the target voucher if the detection passes, and to determine the rights parameters of the voucher rights based on the resource data and the voucher template of the target voucher; The rights processing module is configured to issue and lock credential rights to the user according to the rights parameters, and associate the credential rights with the purchased resources; if it is detected that the purchased resources are sold before the expiration of the rights validity period, the credential rights are cancelled.
13. A resource processing device, comprising: processor; And, a memory configured to store computer-executable instructions, which, when executed, cause the processor to: Based on the access channels through which the user accesses resources, determine the target credentials that match the user's purchased resources; The target voucher is verified and checked based on the resource data of the purchased resources. If the detection passes, the target voucher is cancelled, and the rights parameters of the voucher rights are determined based on the resource data and the voucher template of the target voucher. According to the rights parameters, the certificate rights are issued to the user and locked, and the certificate rights are associated with the purchased resources; if it is detected that the purchased resources are sold before the expiration of the rights validity period, the certificate rights are cancelled.
14. A computer-readable storage medium for storing computer-executable instructions that, when executed, implement the steps of the method of claim 1.