Resource processing method and device
By obtaining user resource transaction information, determining and declaring value-added vouchers, calculating and issuing value-added rights, the problem of how to promote the user growth and platform vitality of online resource transaction services is solved, and the user participation and retention rate is improved.
Patent Information
- Application Number
- CN202510142188.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-08
- Publication Date
- 2025-05-23
AI Technical Summary
How to promote the user growth of online resource trading services and enhance the vitality of service platforms, and face the challenges of more and more service platforms providing online resource trading services.
By obtaining the order information and resource information generated by user resource transactions, determine the value-added vouchers that meet the conditions and perform verification processing. If the transaction parameters are in a specific threshold range, the value-added equity is calculated based on the value-added coefficient and resource growth value, and distributed to the user.
It realizes the effective calculation and distribution of value-added rights in user accounts, improves user participation and retention rates, and thus promotes the user growth and vitality of the resource service platform.
Smart Images

Figure CN120031608A_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of data processing technology, and in particular to a resource processing method and device. Background Art
[0002] With the continuous development and promotion of the Internet, various online service platforms and applications are becoming more and more popular. Users can conduct various types of resource transactions and service selections through these service platforms. In this case, online resource transactions based on the Internet can not only provide users with diversified resource service choices, but also provide a more efficient and convenient user experience. However, as more and more service platforms begin to provide related services for online resource transactions, how to promote the growth of user groups of resource services and enhance the vitality of service platforms has become the focus of attention of all parties. Summary of the invention
[0003] One or more embodiments of the present specification provide a resource processing method, including: obtaining resource order information generated by a user performing a resource transaction and resource information of the corresponding resource. Determine the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs in the value-added voucher of the user account, and perform cancellation processing on the target voucher. If it is detected that the transaction parameter of the resource is within the parameter threshold interval of the target voucher, the value-added rights are calculated and the value-added rights are issued based on the value-added coefficient of the target voucher and the resource growth value; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
[0004] One or more embodiments of the present specification provide a resource processing device, including: an information acquisition module, configured to obtain resource order information generated by a user for a resource transaction and resource information of a corresponding resource. A voucher processing module, configured to determine, in the value-added voucher of the user account, a target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs, and to perform cancellation processing on the target voucher. An equity processing module, configured to calculate the value-added equity and issue the value-added equity based on the value-added coefficient of the target voucher and the resource growth value if it is detected that the transaction parameter of the resource is within the parameter threshold interval of the target voucher; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
[0005] One or more embodiments of the present specification provide a resource processing device, including: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor: obtains resource order information generated by a user performing a resource transaction and resource information of a corresponding resource. Determine the target voucher to which the voucher cancellation conditions satisfied by the resource order information and the resource information belong in the value-added voucher of the user account, and perform cancellation processing on the target voucher. If it is detected that the transaction parameter of the resource is within the parameter threshold interval of the target voucher, the value-added rights are calculated and the value-added rights are issued based on the value-added coefficient of the target voucher and the resource growth value; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
[0006] One or more embodiments of the present specification provide a computer-readable storage medium for storing computer-executable instructions, which implement the following process when executed: obtain resource order information generated by a user performing a resource transaction and resource information of the corresponding resource. Determine the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs in the value-added voucher of the user account, and perform a cancellation process on the target voucher. If it is detected that the transaction parameter of the resource is within the parameter threshold range of the target voucher, the value-added rights are calculated and the value-added rights are issued based on the value-added coefficient of the target voucher and the resource growth value; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor. Figure 1 A schematic diagram of an implementation environment of a resource processing method provided for one or more embodiments of this specification; Figure 2 A processing flow chart of a resource processing method provided for one or more embodiments of this specification; Figure 3 A schematic diagram of a voucher collection page provided for one or more embodiments of this specification; Figure 4 A schematic diagram of a resource details page provided for one or more embodiments of this specification; Figure 5 Processing flow chart of credential detection provided for one or more embodiments of this specification Figure 6 A schematic diagram of a benefit claiming page provided for one or more embodiments of this specification; Figure 7 A processing flow chart of a resource processing method applied to a resource transaction scenario provided in one or more embodiments of this specification; Figure 8 A schematic diagram of an embodiment of a resource processing device provided for one or more embodiments of this specification; Fig. 9 A schematic diagram of the structure of a resource processing device provided in one or more embodiments of this specification. DETAILED DESCRIPTION
[0008] 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 them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.
[0009] The resource processing method provided in one or more embodiments of this specification can be applied to the implementation environment of resource trading. Figure 1 , the implementation environment includes at least a server 101, and may also include a user terminal 102; Among them, the server 101 is used to respond to the operation of the user terminal 102 to conduct resource transactions, and after the resource transaction, perform value-added voucher processing and value-added rights processing based on the resource order information generated by the resource transaction and the resource information of the corresponding resources. The server can be one or more servers, a server cluster composed of several servers, or a cloud server of a cloud computing platform.
[0010] The user terminal 102 is used to cooperate with the server 101 to conduct resource transactions. The user terminal 102 can specifically be a mobile phone, a personal computer, a tablet computer, an e-book reader, a device based on VR (Virtual Reality) for information interaction, a vehicle terminal, an IoT device, a wearable smart device, a laptop computer, a desktop computer, etc.
[0011] In this implementation environment, the user accesses the resource service through the user terminal 102, and after the user terminal 102 cooperates with the server 101 to conduct resource transactions, the server 101 obtains the resource order information generated by the user based on the resource transaction performed by the user terminal 102 and the resource information of the resources corresponding to the resource order information, and then determines the target voucher to which the voucher cancellation conditions satisfied by the resource order information and the resource information belong in the value-added voucher of the user account, and performs cancellation processing on the target voucher after determining the target voucher. Thereafter, if it is detected that the transaction parameters of the resource are within the parameter threshold range of the target voucher, the value-added rights and interests are calculated and issued based on the value-added coefficient of the target voucher and the resource growth value, so that eligible users can obtain corresponding value-added rights and interests. At the same time, by issuing value-added rights and interests to users, the platform achieves user growth and improves user retention rate.
[0012] It should be noted that, considering that the resource information and user-related information involved in this specification belong to the user's privacy to a certain extent, if you want to obtain the resource information and user-related information, you can obtain the user's authorization before obtaining the information, such as obtaining the information acquisition authorization during the user's resource transaction process, or before or after the resource transaction; the specific method of information acquisition authorization can be to send a user information acquisition reminder to the user, and the user can obtain the information acquisition authorization after confirming the reminder through an instruction, or the method of information acquisition authorization can also be to obtain the information acquisition authorization by signing an information authorization agreement.
[0013] One or more embodiments of a resource processing method provided in this embodiment are as follows: Reference Figure 2 The resource processing method provided in this embodiment specifically includes steps S202 to S206.
[0014] Step S202, obtaining resource order information generated by the user performing resource transactions and resource information of corresponding resources.
[0015] The resources described in this embodiment refer to various types of resources that users trade, manage and / or obtain income from based on the resource services provided by the application. Specifically, the resources can be resources with a savings nature, that is, the resources can be savings resources, or the resources can also be resources with a value-added nature, that is, the resources can be value-added resources. In addition, the resources can also be other resources, such as resources with a security nature and / or resources with a rights and interests nature. Accordingly, the resources can also be security resources and / or rights and interests resources.
[0016] Among them, resource services refer to resource-related services provided by online resource organizations to users based on applications or sub-programs within applications (such as mini-programs). Specifically, resource services can be transactions of resources by users, such as purchase of resources by users and / or sale of resources by users. In addition, resource services can also be other services of resources provided to users, such as management of resources by users. Optionally, resource transactions include the sale of resources.
[0017] Resource order information refers to the order information of an order generated by a user conducting a resource transaction within an application. The resource order information includes the resource transaction amount, transaction time and / or user account ID. In addition, the resource order information may also include other order information of the order, such as the order number and / or order status. Resource information refers to the information of the resource corresponding to the resource order information generated by the user conducting a resource transaction. The resource information includes the resource name, resource ID and / or preset transaction amount. In addition, the resource information may also include other resource information, such as the expected resource return range and / or resource type.
[0018] In this embodiment, the server responds to the operation of the user terminal to enable the user to access resource services and conduct resource transactions, and performs voucher verification and rights issuance after the resource transaction. The process can be divided into four stages: voucher collection stage, resource transaction stage, voucher verification stage and rights issuance stage; the voucher collection stage and resource transaction stage are specifically explained below.
[0019] (1) Voucher Collection Stage In actual applications, users can access resource services based on applications. During the process of accessing resource services, users can determine whether to conduct resource transactions and select resources for transaction based on their preferences and actual needs. In addition, in order to improve user retention and enhance user engagement, value-added certificates may be issued to users during the process of users accessing resource services, so that users can obtain corresponding value-added rights based on the value-added certificates after conducting resource transactions and meeting specific conditions.
[0020] During the specific execution process, in the credential collection stage, the user can access the resource service after entering the application. After obtaining the user's access request to the resource service, a resource access page can be generated to display the resource access page to the user; an optional implementation method provided by this embodiment also includes: Based on the user's access request to the resource service, a resource access page configured with a credential detection control is generated.
[0021] Specifically, a user accesses a resource service based on an application and / or a subroutine within the application. The user terminal can generate and submit an access request for the resource service. Accordingly, after obtaining the access request, a resource access page configured with a credential detection control is generated based on the access request and the resource access page is returned to the user terminal so that the resource access page can be displayed on the user terminal.
[0022] Optionally, after the credential detection control is triggered, a credential detection instruction for the credential to be used is generated; the credential to be used refers to an unused value-added voucher in the user account, that is, the credential to be used refers to a value-added voucher in the user account that has not been written off.
[0023] Among them, the value-added voucher refers to an electronic voucher issued to the user and associated with specific resources and / or resource transaction conditions. After the user conducts a resource transaction and meets specific conditions, he or she can obtain value-added rights based on the value-added voucher; the target voucher refers to a value-added voucher that meets the voucher verification conditions and is determined in the user account based on the resource order information and resource information; optionally, the target voucher is frozen after the resource is sold.
[0024] Value-added rights refer to the rights of the cancelled target vouchers issued to the user after the user conducts a resource transaction and meets specific conditions. The value-added rights can be rights related to resource income, such as doubled income by doubling the resource income. Here, the multiple for doubling the resource income can be determined based on a preset random algorithm or based on analyzing user behavior. In addition, other determination methods can be used, which are not limited in this embodiment.
[0025] During the specific execution process, in the credential collection stage, after the user terminal receives and displays the resource access page configured with the credential detection control, if the user triggers the credential detection control, the user terminal can generate a corresponding credential detection instruction based on the user triggering the credential detection control; in an optional implementation manner provided by this embodiment, after generating the resource access page configured with the credential detection control based on the user's access request for the resource service, it also includes: Based on the credential detection instruction generated after the credential detection control is triggered, detect whether the user account has the credentials to be used; If not, obtaining a detection result that the user account does not have the credentials to be used, so that the user terminal generates and displays an interactive page of the resource based on the detection result; If so, obtain the detection result that the user account has the credentials to be used.
[0026] Specifically, if the user triggers the credential detection control configured on the resource access page, the user terminal can generate and submit a credential detection instruction. Accordingly, the credential detection instruction submitted by the user terminal can be obtained, and based on the credential detection instruction, it can be detected whether the user account has the credentials to be used. If so, a detection result that the user account has the credentials to be used is obtained; if not, a detection result that the user account does not have the credentials to be used is obtained, and the obtained detection result is sent to the user terminal, so that the user terminal generates and displays the corresponding interactive page based on the detection result.
[0027] Furthermore, in the credential collection stage, after obtaining the detection result that the user account has the credential to be used, it is possible to further detect whether the credential usage period of the credential to be used exceeds a preset period interval; in an optional implementation manner provided by this embodiment, if the credential detection instruction generated after the credential detection control is triggered, the execution result after detecting whether the user account has the credential to be used is yes, the following operations are performed: Obtain the credential validity period of the credential to be used, and detect whether the credential validity period exceeds the preset period range; If not, obtain the detection result of the user account having the credentials to be used; If so, it is determined that the credential to be used has expired.
[0028] Specifically, based on the credential detection instruction, it is detected whether there is a credential to be used in the user account, and after obtaining the detection result that the credential to be used exists in the user account, the credential usage period of the credential to be used is further obtained, and based on the obtained credential usage period, it is detected whether the credential usage period exceeds the preset period interval. If so, it is determined that the credential to be used is expired, indicating that the user cannot trade resources based on the credential to be used; if not, it indicates that the credential to be used has not expired, and the detection result that the credential to be used exists in the user account is obtained. Optionally, the credential to be used is a value-added credential of the user account.
[0029] For example, based on the credential detection instruction, it is detected whether there is a credential to be used in the user account, and after obtaining the detection result that there is a credential to be used in the user account, if it is obtained that the credential to be used is valid for 10 days from the date of receipt, and the receipt date of the credential to be used is 20xx-01-01, then it can be determined that the preset period interval is from 20xx-01-01 to 20xx-01-11. Based on this, it is detected whether the current time is in the preset period interval. If it is detected that the current time is in the preset period interval, the detection result that there is a credential to be used in the user account is obtained. Otherwise, it is determined that the credential to be used has expired.
[0030] During the specific execution process, in the credential collection stage, based on the credential detection instruction, it is detected whether the user account has the credential to be used, and after obtaining the detection result, the obtained detection result can be sent to the user terminal, so that the user terminal generates and displays the corresponding interactive page based on the detection result; in an optional implementation manner provided by this embodiment, the interactive page of the resource is generated and displayed based on the detection result, including: If the detection result is that the user account does not have the credential to be used, a credential collection page configured with a credential collection control is generated and displayed; If the detection result is that there are credentials to be used in the user account, a credential details page for the credentials to be used is generated and displayed.
[0031] For example, if the detection result obtained by the user terminal is that the user account does not have the credentials to be used, the user terminal generates and displays the following information based on the detection result: Figure 3 The voucher collection page shown; Figure 3 The voucher collection page shown may be configured with a voucher collection control 301, and / or a value-added voucher 302, where the value-added voucher 302 may render the value-added coefficient of the value-added voucher, such as 10 times the value-added rights, and / or the voucher validity period of the value-added voucher, such as valid within 10 days; If the detection result obtained by the user terminal is that there is a credential to be used in the user account, the user terminal generates and displays a credential details page of the credential to be used based on the detection result. In the credential details page, the credential validity period of the credential to be used and / or the appreciation coefficient of the credential to be used can be displayed.
[0032] Further, in the voucher collection stage, if the user terminal receives a detection result that the user account does not have the voucher to be used, after generating and displaying the voucher collection page configured with the voucher collection control, if the user triggers the voucher collection control to collect the value-added voucher, in order to avoid the same user from collecting the value-added voucher multiple times, and to achieve new users by issuing value-added vouchers to new users, the voucher collection record of the user account can be queried; in an optional implementation manner provided by this embodiment, after generating and displaying the voucher collection page configured with the voucher collection control, it also includes: If the voucher collection instruction generated by the user triggering the voucher collection control is obtained, query whether there is a voucher collection record of the value-added voucher matching the account identifier according to the account identifier of the user account; If not, a value-added voucher is issued to the user account, and a voucher collection record of the value-added voucher corresponding to the account ID is generated; If so, no action is required.
[0033] Specifically, the user terminal generates a voucher collection instruction based on the user triggering the voucher collection control, and submits the voucher collection instruction. Correspondingly, after obtaining the voucher collection instruction submitted by the user terminal, the account identifier of the user account is first obtained, and the account identifier is matched in the database storing the voucher collection record according to the account identifier. If no matching account identifier is found in the voucher collection record, it indicates that the user has not received the value-added voucher, and the value-added voucher is issued to the user account, and a corresponding voucher collection record is generated; if a matching account identifier is found in the voucher collection record, it indicates that the user has received the value-added voucher, and no processing is required.
[0034] It should be noted that after the above-mentioned detection that there is a credential to be used in the user account, if it is further detected that the credential usage period of the credential to be used exceeds the preset period interval, the credential to be used is determined to be expired. In this case, when it is determined that the credential to be used is expired, in the subsequent query process of the credential collection record, although the account identifier matching the account identifier of the user account can still be queried in the credential collection record, the user can be regarded as a "new user", that is, the value-added certificate can be reissued to the user account of the user.
[0035] In actual applications, when the user terminal is displaying the voucher collection page or the voucher details page, a display time threshold (for example, 3 seconds) may be preset for the voucher collection page or the voucher details page. When the display time of the voucher collection page or the voucher details page exceeds the display time threshold, it may automatically jump to the resource collection page; alternatively, the voucher collection page or the voucher details page generated and displayed by the user terminal may be configured with a page closing control. When the user terminal is displaying the voucher collection page or the voucher details page, if the user triggers the page closing control, the display of the current voucher collection page or the voucher details page may be ended, and the resource collection page may be displayed.
[0036] (2) Resource transaction stage During the specific execution process, after the user receives the voucher, the resource transaction stage is entered. Specifically, in the resource transaction stage, in order to enable the user to have an intuitive and comprehensive understanding of the resources provided by the application and the corresponding resource services, and to enable the user to select the resources to be traded according to their preferences and needs, the resource collection page can be displayed to the user, and after the user triggers the resource identifier of any resource in the resource collection page, the resource details information of the resource can be displayed to the user; an optional implementation method provided by this embodiment also includes: Generate a resource details page of a transaction control for configuring resources based on a detail acquisition instruction generated by a resource identifier of a resource in a resource collection page triggered by a user; If a transaction instruction generated by a user-triggered transaction control is obtained, resource transactions are performed based on the transaction instruction.
[0037] Specifically, during the process of displaying the resource collection page by the user terminal, if the user triggers the resource identifier of a resource in the resource collection page, the user terminal generates and submits a detailed information acquisition instruction for the resource. Correspondingly, after obtaining the detailed information acquisition instruction submitted by the user terminal, a resource details page configured with a transaction control can be generated and returned to the user terminal. The user terminal receives and displays the resource details page. If the transaction control configured on the resource details page is triggered, a transaction instruction for the resource is generated and submitted, and a resource transaction is performed for the resource based on the transaction instruction submitted by the user terminal. Optionally, a transaction instruction for the resource is generated after the transaction control is triggered.
[0038] For example, Figure 4 The resource details page shown includes resource transaction instructions 401, resource details information 402, and / or transaction controls 403; specifically, the resource transaction instructions may include resource transaction amount requirements and / or resource holding time requirements for resource transactions. In addition, the resource transaction instructions may also include other regulations related to resource transactions; the resource details information may include the resource name, resource information introduction and / or resource income diagram 402-1, wherein the resource income diagram is used to represent the yield of the resource in each month in the past year. In addition, the resource details information may also include other information related to the resource.
[0039] As described above, during the voucher collection stage and the resource transaction stage, it is possible to detect whether there is a value-added voucher in the user account in response to the user terminal, and send the detection result to the user terminal so that the user who does not have a value-added voucher in the user account can collect the value-added voucher. It is also possible to conduct resource transactions in response to the user terminal, and after the resource transaction, generate resource order information for the resource transaction and resource information of the corresponding resource. Thereafter, after the resource transaction stage, the voucher verification stage can be entered. In the voucher verification stage, the resource order information generated by the user for the resource transaction and the resource information of the corresponding resource are first obtained, and then the value-added vouchers that meet the voucher verification conditions are verified based on the resource order information and resource information.
[0040] During specific implementation, at the voucher verification stage, the resource order information generated by the user for resource transactions is obtained. In addition, the resource information of the resources corresponding to the resource order information is also obtained. The resources corresponding to the resource order information are also the resources for the user to conduct resource transactions. As mentioned above, resource transactions include the sale of resources. Here, obtaining the resource order information generated by the user for resource transactions and the resource information of the corresponding resources can be replaced by: obtaining the resource order information generated by the user for resource sales and the resource information of the corresponding resources.
[0041] During the specific execution process, when the user is selling resources, after the resource sale is completed based on the resource transaction instructions submitted by the user, the transaction processing module generates a resource transaction success message and sends the resource transaction success message to the server. If the server detects the resource transaction success message sent by the transaction processing module, then after detecting the resource transaction success message, the server obtains the resource order information generated by the user for the resource transaction, and obtains the resource information of the resources corresponding to the resource order information.
[0042] Optionally, the value-added voucher is frozen after the resource is sold; here, in order to prevent the value-added voucher from being reused, the value-added voucher can be frozen after the resource is sold. The freezing of the value-added voucher means that the status of the value-added voucher is updated from a waiting state to a frozen state. The frozen state of the value-added voucher indicates that no other operations can be performed on the value-added voucher temporarily.
[0043] Step S204, determining the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs in the value-added voucher of the user account, and performing cancellation processing on the target voucher.
[0044] In the specific implementation, at the voucher cancellation stage, after obtaining the resource order information generated by the user's resource transaction and the resource information of the corresponding resource, first determine the target voucher to which the voucher cancellation conditions that the resource order information and resource information satisfy are determined in the value-added voucher of the user's account, and then, after determining the target voucher, the target voucher is cancelled.
[0045] Specifically, first, the unexpired and unused value-added vouchers in the user account can be obtained, and then based on the resource order information and resource information, it is detected whether the value-added vouchers meet the voucher cancellation conditions, and the value-added vouchers that meet the voucher cancellation conditions are determined as target vouchers, and then the target vouchers are cancelled.
[0046] Among them, the cancellation processing of the target voucher refers to updating the status of the target voucher from an uncancelled status and / or a pending status to a cancelled status. After the status of the target voucher is updated to the cancelled status, it indicates that the target voucher has been used for cancellation and cannot be used for cancellation again in the future.
[0047] In the specific execution process, in order to determine that there is a target voucher that meets the voucher write-off condition in the value-added voucher of the user account, so as to write off the target voucher, an optional implementation manner provided by this embodiment determines, in the value-added voucher of the user account, the target voucher to which the voucher write-off condition satisfied by the resource order information and the resource information, including: Check whether the resource identifier in the resource information matches the resource identifier of any resource in the resource set corresponding to the value-added voucher; If they match, check whether the resource transaction amount of the user for the resource in the resource order information exceeds the preset transaction amount of the value-added voucher; If exceeded, check whether the effective time stamp of the value-added voucher is within the preset time period. If so, determine that the value-added voucher is the target voucher.
[0048] Specifically, firstly, based on the resource information, it is detected whether the resource identifier matches the resource identifier of any resource in the resource set corresponding to the value-added voucher. If they do not match, it indicates that the value-added voucher is not the target voucher, and no processing is performed. If they match, it is further detected based on the resource order information whether the resource transaction amount of the user for the resource exceeds the preset transaction amount of the value-added voucher; In the process of detecting whether the user's resource transaction amount for resources exceeds the preset transaction amount of the value-added voucher based on the resource order information, if the detection result is not exceeded, it indicates that the value-added voucher is not the target voucher and no processing is required. If the detection result is exceeded, it is also necessary to detect whether the effective timestamp of the value-added voucher is within the preset period interval. If not, it indicates that the value-added voucher is not the target voucher and no processing is required. If so, then when the effective timestamp of the value-added voucher is within the preset period interval, the value-added voucher is determined to be the target voucher.
[0049] It should be noted that the above-mentioned implementation method of determining the target voucher to which the voucher verification conditions satisfied by the resource order information and the resource information in the value-added voucher of the user account belong can determine the detection order according to actual needs during the specific implementation process. For example: first, it can be detected whether the effective timestamp of the value-added voucher is within the preset period interval. If the detection result is yes, then it is detected whether the resource identifier in the resource information matches the resource identifier of any resource in the resource set corresponding to the value-added voucher. If the detection result is a match, finally, it is detected whether the resource transaction amount of the user for the resource in the resource order information exceeds the preset transaction amount of the value-added voucher. If the detection result is exceeded, the value-added voucher is determined to be the target voucher.
[0050] In addition, it should be noted that the three sub-steps of the above-mentioned method for determining the target voucher to which the voucher verification conditions satisfied by the resource order information and the resource information in the value-added voucher of the user account belong can be selected for implementation in the specific implementation process according to actual needs, or any one or both of them can be implemented, for example: only whether the resource transaction amount of the user for the resource in the resource order information exceeds the preset transaction amount of the value-added voucher can be detected, and if the detection result is exceeded, the value-added voucher is determined to be the target voucher; or, first detect whether the resource identifier in the resource information matches the resource identifier of any resource in the resource set corresponding to the value-added voucher. If the detection result is a match, further detect whether the effective timestamp of the value-added voucher is within the preset period interval. If so, the value-added voucher is determined to be the target voucher.
[0051] In addition, it should be noted that, in addition to the three sub-steps of determining the target voucher to which the voucher cancellation conditions satisfied by the resource order information and resource information in the value-added voucher of the user account belong, other detection processes may also be introduced, such as: detecting whether a resource transaction success message sent by the transaction processing module is received, and / or detecting whether the transaction timestamp of the resource transaction is within the preset period of the transaction activity; Accordingly, the specific implementation method of determining the target voucher to which the voucher cancellation conditions satisfied by the resource order information and resource information in the value-added voucher of the user account belong may adopt some of the technical means provided by the above three sub-steps, or adopt some of the technical means provided by a new implementation method formed on the basis of the above three sub-steps, for example, Figure 5 The process flow chart of the credential detection shown in the figure, the credential detection may include the following steps: Step S502, detecting whether a resource transaction success message sent by the transaction processing module is received, if yes, executing step S504, if no, no processing is performed; Step S504, detecting whether the resource identifier in the resource information matches the resource identifier of any resource in the resource set corresponding to the value-added voucher, if so, executing step S506, if not, no processing is performed; Step S506, detecting whether the resource transaction amount of the user for the resource in the resource order information exceeds the preset transaction amount of the value-added voucher, if so, executing step S508, if not, no processing is performed; Step S508, checking whether the effective time stamp of the value-added voucher is within the preset time limit, if so, executing step S510, if not, no processing is performed; Step S510, detecting whether the transaction timestamp of the resource transaction is within the preset period of the transaction activity, if so, executing step S512, if not, no processing is performed; Step S512, determining that the value-added voucher is a target voucher.
[0052] Optionally, the target voucher is unfrozen during the cancellation process; here, the target voucher is unfrozen means that the status of the target voucher is updated from a frozen state to a used state during the cancellation process of the target voucher. In addition, if the cancellation of the target voucher fails, the status of the target voucher can also be restored from a frozen state to a ready-to-use state.
[0053] Step S206: If it is detected that the transaction parameter of the resource is within the parameter threshold range of the target voucher, the value-added rights are calculated and the value-added rights are issued based on the value-added coefficient of the target voucher and the resource growth value.
[0054] As mentioned above, after the voucher verification stage, the rights issuance stage can be entered; here, in the rights issuance stage, if it is detected that the transaction parameters of the resources are within the parameter threshold range of the target voucher, the value-added rights are calculated and issued based on the value-added coefficient of the target voucher and the resource growth value.
[0055] In actual applications, during the rights issuance stage, a corresponding scanning task can be created after the user conducts a resource transaction to periodically scan the resource order information generated by the user's resource transaction and the resource information of the corresponding resources, so as to detect whether the transaction parameters of the resources are within the parameter threshold range of the target certificate; if not, continue to scan the transaction parameters at regular intervals; if so, calculate and issue the value-added rights based on the value-added coefficient of the target certificate and the resource growth value, so that the user can obtain the corresponding value-added rights.
[0056] In specific implementation, after the user conducts resource transactions, during the rights issuance stage, the transaction parameters of the resources and the parameter threshold interval of the target voucher can be read, and whether the transaction parameters of the resources are within the parameter threshold interval of the target voucher can be detected. If it is detected that the transaction parameters of the resources are within the parameter threshold interval of the target voucher, the value-added rights that the user can obtain are calculated based on the value-added coefficient of the target voucher and the resource growth value, and the value-added rights are issued to the user account. Optionally, the value-added coefficient includes the value-added multiple of the resource growth value; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
[0057] The transaction parameter refers to a parameter related to resource transaction. Specifically, the transaction parameter may be the length of time that a user holds a resource. In addition, the transaction parameter may also be other parameters related to resource transaction, such as the transaction parameter may also be the average length of time that a user holds a resource. The parameter threshold interval refers to a valid interval of a preset transaction parameter. Specifically, the parameter threshold interval may be a preset length of time that a user needs to hold a resource. In addition, the parameter threshold interval may also be a valid interval of other preset transaction parameters, such as the parameter threshold interval may also be a preset average length of time that a user needs to hold a resource.
[0058] During the specific implementation process, in order to increase the user's participation in resource transactions, different value-added rights can be issued to user accounts based on different resource transaction amounts. Specifically, the resource growth value can be determined based on the numerical relationship between the user's resource transaction amount and the preset transaction amount of the target voucher; the following provides two implementation methods for determining the resource growth value, and specifically explains the two implementation methods respectively.
[0059] Implementation method 1 In an optional implementation manner provided in this embodiment, the resource growth value is determined in the following manner: If the resource transaction amount of the resource is equal to the preset transaction amount of the target voucher, the resource value corresponding to the resource transaction amount is determined as the resource growth value; The resource transaction amount refers to the actual transaction amount used by the user for resource transaction during the resource transaction process; the preset transaction amount refers to the resource transaction amount preset in the target voucher used by the user.
[0060] For example, the preset transaction amount of the target voucher is 100 yuan, and the resource transaction amount used by the user for resource transactions during the resource transaction process is also 100 yuan, then the resource transaction amount is equal to the preset transaction amount. In this case, if it is detected that the transaction parameters of the resource are in the parameter threshold range of the target voucher, then in the process of calculating the value-added rights and interests, the resource value corresponding to the resource transaction amount of 100 yuan is determined as the resource growth value used in the process of calculating the value-added rights and interests.
[0061] Implementation method 2 In another optional implementation manner provided by this embodiment, the resource growth value is determined in the following manner: If the resource transaction amount of the resource is greater than the preset transaction amount of the target voucher, the resource value corresponding to the preset transaction amount is determined as the resource growth value.
[0062] For example, the preset transaction amount of the target voucher is 100 yuan, and the resource transaction amount used by the user for resource transactions during the resource transaction process is 200 yuan, then the resource transaction amount is greater than the preset transaction amount. In this case, if it is detected that the transaction parameters of the resource are in the parameter threshold range of the target voucher, then in the process of calculating the value-added rights and interests, the resource growth value used is not the resource value corresponding to the resource transaction amount of 200 yuan, but the resource value corresponding to the preset transaction amount of 100 yuan is determined as the resource growth value used in the process of calculating the value-added rights and interests.
[0063] In a specific implementation process, in an optional implementation mode provided by this embodiment, the value-added rights and interests are calculated based on the value-added coefficient of the target voucher and the resource growth value, including: Calculate the transaction ratio of resources based on the preset transaction amount of the target voucher and the resource transaction amount of the resource; The resource growth value is calculated based on the transaction ratio and the actual income value of the resources, and the value-added equity is calculated based on the value-added coefficient and the resource growth value.
[0064] For example, the preset transaction amount of the target voucher is 100 yuan, and the resource transaction amount used by the user for resource transaction during the resource transaction is 200 yuan. The calculated transaction ratio is: 100 / 200=0.5. If the actual income value of the resources obtained by the user is 10 yuan, the calculated resource growth value is: 0.5×10=5 yuan. If the value-added coefficient of the target voucher is 10, the value-added rights and interests are: 5×10=50 yuan. That is, when the user's holding time of the resource meets the holding time threshold, the value-added rights can be calculated using the following formula: Value-added equity = (preset transaction amount / resource transaction amount) × actual income value × value-added coefficient; That is to say, the value-added benefits that users can obtain are: (100 / 200)×10×10=50 yuan.
[0065] In actual applications, when it is detected that the transaction parameters of the resources are within the parameter threshold range of the target certificate, in addition to calculating the value-added rights that the user can obtain based on the value-added coefficient of the target certificate and the resource growth value and distributing the value-added rights to the user account, the value-added rights can also be distributed to the user account. After the value-added rights are distributed to the user account, the rights confirmation page is returned to the user terminal for display, so that the user can confirm that the value-added rights have been distributed to the user account and / or confirm the specific amount of the value-added rights distributed to the user account.
[0066] In addition, when it is detected that the transaction parameters of the resources are within the parameter threshold range of the target voucher, after the value-added rights are calculated based on the value-added coefficient of the target voucher and the resource growth value, the corresponding value-added rights may not be immediately issued to the user account. A rights collection page for the value-added rights configured with a rights collection control and / or a rights exchange control may be generated and returned to the user terminal. Accordingly, the user terminal receives and displays the rights collection page. If the user triggers the rights collection control, the user terminal may generate and submit a rights collection instruction, and issue the value-added rights to the user account based on the rights collection instruction submitted by the user terminal; if the user triggers the rights exchange control, the user terminal may generate and submit a rights exchange instruction, and exchange the value-added rights for other rights based on the rights exchange instruction submitted by the user terminal and issue them to the user account.
[0067] For example, when it is detected that the transaction parameters of the resource are within the parameter threshold range of the target voucher, after calculating the value-added rights based on the value-added coefficient of the target voucher and the resource growth value, the first step is to generate Figure 6 The rights collection page shown is returned to the user terminal. If the user triggers the rights collection control 601, the value-added rights will be issued to the user account based on the rights collection instruction submitted by the user terminal; if the user triggers the rights exchange control 602, the value-added rights will be exchanged for other rights and issued to the user account based on the rights exchange instruction submitted by the user terminal.
[0068] In addition, after the user conducts a resource transaction, the user can also cancel the resource transaction during the resource holding period. After the user cancels the resource transaction, a certain resource transaction amount can be returned to the user or a certain value-added rights can be issued to the user; an optional implementation method provided by this implementation also includes: Based on the revocation transaction instruction for the resource submitted by the user terminal, detecting whether the transaction parameter of the resource is within the parameter threshold range of the target voucher; If so, the value-added rights are calculated and distributed based on the value-added coefficient of the target certificate and the resource income value; If not, determine that the order status of the resource is canceled and unfreeze the target voucher.
[0069] Specifically, if the user cancels the resource transaction during the resource holding period, based on the cancellation transaction instruction for the resource submitted by the user terminal, first check whether the transaction parameters of the resource are in the parameter threshold range of the target voucher. If so, it indicates that the transaction parameters of the resource meet the parameter threshold range of the target voucher, then the value-added rights can be calculated and issued based on the value-added coefficient of the target voucher and the resource income value, and the order status of the resource is determined to be the end state; if not, it indicates that the transaction parameters of the resource do not meet the parameter threshold range of the target voucher. In this case, if the user ends the resource transaction in advance, the order status of the resource is determined to be the cancellation state and the target voucher is unfrozen to return the target voucher to the user account. Here, unfreezing the target voucher means restoring the state of the target voucher from a frozen state to a ready-to-use state.
[0070] To sum up, the present embodiment provides a resource processing method. After a user accesses a resource service through a user terminal and conducts a resource transaction, the method first obtains the resource order information generated by the user based on the resource transaction performed by the user terminal and the resource information of the resources corresponding to the resource order information. Then, the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information is determined in the value-added voucher of the user account, and the target voucher is cancelled after the target voucher is determined. Thereafter, if it is detected that the transaction parameter of the resource is within the parameter threshold range of the target voucher, the value-added rights are calculated and issued based on the value-added coefficient of the target voucher and the resource growth value, so that eligible users can obtain corresponding value-added rights. At the same time, by issuing value-added rights to users, the platform achieves user growth and improves user retention rate.
[0071] The following takes the application of a resource processing method provided in this embodiment in a storage resource transaction scenario as an example. Figure 7 , the resource processing method provided in this embodiment is further described, see Figure 7 , a resource processing method applied to a savings resource transaction scenario specifically includes the following steps.
[0072] Step S702, obtaining resource order information generated by the user's resource transaction of the savings resources and resource information of the corresponding savings resources.
[0073] Step S704, detecting whether the resource identifier in the resource information matches the resource identifier of any savings resource in the savings resource set corresponding to the value-added voucher; if so, executing step S706.
[0074] Step S706, detecting whether the resource transaction amount of the user for the savings resource in the resource order information exceeds the preset transaction amount of the value-added voucher; if so, executing step S708.
[0075] Step S708, check whether the effective time stamp of the value-added voucher is within a preset time interval; if so, execute step S710.
[0076] Step S710, determining that the value-added voucher is a target voucher.
[0077] Step S712, cancel the target voucher.
[0078] Step S714, detecting whether the transaction parameters of the savings resources are within the parameter threshold range of the target voucher; if so, executing step S716.
[0079] Step S716, based on the value-added coefficient of the target voucher and the resource growth value, the value-added rights are calculated and issued.
[0080] It should be noted that before executing step S702, the following can also be executed: based on the user's access request for the savings resource service, generating a savings resource access page configured with a voucher detection control; based on the voucher detection instruction generated after the voucher detection control is triggered, detecting whether the user account has the voucher to be used and sending the obtained detection result to the user terminal. If the detection result received by the user terminal is that the user account has the voucher to be used, then generating and displaying a voucher details page for the voucher to be used; if the detection result received by the user terminal is that the user account does not have the voucher to be used, then generating and displaying a voucher collection page configured with a voucher collection control; based on the voucher collection instruction generated by the user triggering the voucher collection control, querying whether there is a voucher collection record for the value-added voucher that matches the account identifier of the user account, and if the query result is that it does not exist, issuing the value-added voucher to the user account; based on the details acquisition instruction generated by the resource identifier of the savings resource in the savings resource collection page triggered by the user, generating a resource details page for the transaction control configured with the savings resource; and conducting resource transactions of the savings resource based on the transaction instruction generated by the user triggering the transaction control.
[0081] It should be noted that any one of steps S702 to S716 or any combination of multiple steps 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 S702 to S716 and combined with any one or multiple technical features provided by steps S202 to S206 to form a new implementation method; or, any one or multiple technical features in steps S702 to S716 can be replaced with any one or multiple technical features provided by steps S202 to S206 to form a new implementation method according to the needs of actual deployment, which will not be elaborated here.
[0082] An embodiment of a resource processing device provided in this specification is as follows: In the above-mentioned embodiment, a resource processing method is provided, and correspondingly, a resource processing device is also provided, which is described below with reference to the accompanying drawings.
[0083] Reference Figure 8 , which shows a schematic diagram of an embodiment of a resource processing device provided in this embodiment.
[0084] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.
[0085] This embodiment provides a resource processing device, the device comprising: The information acquisition module 802 is configured to acquire resource order information generated by a user performing resource transactions and resource information of corresponding resources; The voucher processing module 804 is configured to determine the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs in the value-added voucher of the user account, and perform cancellation processing on the target voucher; The rights processing module 806 is configured to calculate the value-added rights and distribute the value-added rights based on the value-added coefficient of the target certificate and the resource growth value if it is detected that the transaction parameters of the resource are within the parameter threshold range of the target certificate; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
[0086] An embodiment of a resource processing device provided in this specification is as follows: Corresponding to the resource processing method described above, based on the same technical concept, one or more embodiments of this specification further provide a resource processing device, the resource processing device is used to execute the resource processing method provided above, Figure 8 A schematic diagram of the structure of a resource processing device provided in one or more embodiments of this specification.
[0087] This embodiment provides a resource processing device, including: like Fig. 9 As shown, the resource processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 901 and memory 902, and the memory 902 may store one or more storage applications or data. Among them, the memory 902 may be a short-term storage or a persistent storage. The application stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the resource processing device. Furthermore, the processor 901 may be configured to communicate with the memory 902 and execute a series of computer executable instructions in the memory 902 on the resource processing device. The resource 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, etc.
[0088] In a 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 in the project processing device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following: Obtain resource order information generated by users' resource transactions and resource information of corresponding resources; Determine the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs in the value-added voucher of the user account, and perform cancellation processing on the target voucher; If it is detected that the transaction parameters of the resource are within the parameter threshold range of the target certificate, the value-added rights are calculated and issued based on the value-added coefficient of the target certificate and the resource growth value; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
[0089] An embodiment of a computer-readable storage medium provided in this specification is as follows: Corresponding to the resource processing method described above, based on the same technical concept, one or more embodiments of this specification also provide a computer-readable storage medium.
[0090] The computer-readable storage medium provided in this embodiment is used to store computer-executable instructions, and the computer-executable instructions implement the following process when executed: Obtain resource order information generated by users' resource transactions and resource information of corresponding resources; Determine the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs in the value-added voucher of the user account, and perform cancellation processing on the target voucher; If it is detected that the transaction parameters of the resource are within the parameter threshold range of the target certificate, the value-added rights are calculated and issued based on the value-added coefficient of the target certificate and the resource growth value; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
[0091] It should be noted that an embodiment of a computer-readable storage medium in this specification and an embodiment of a resource processing method in this specification are based on the same inventive concept, so the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.
[0092] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referenced to each other. Each embodiment focuses on the differences from other embodiments. For example, the device embodiment, equipment embodiment, and computer-readable storage medium embodiment are similar to the method embodiment, so the description is relatively simple. To read the relevant content in the device embodiment, equipment embodiment, and computer-readable storage medium embodiment, please refer to the partial description of the method embodiment.
[0093] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0094] In the 1930s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many of the improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one kind of HDL, but many kinds, 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, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.
[0095] The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that, in addition to implementing the controller in a purely computer-readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the devices for implementing various functions included therein may also be considered as structures within the hardware component. Or even, the devices for implementing various functions may be considered as both software modules for implementing the method and structures within the hardware component.
[0096] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with 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 smart phone, 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.
[0097] For the convenience of description, the above devices are described in terms of functions and are divided into various units. 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.
[0098] It should be understood by those skilled in the art that one or more embodiments of the present specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of the present specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present 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.
[0099] 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 box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes 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 network live broadcast processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable network live broadcast processing device generate instructions for implementing the processes in the process. 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.
[0100] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable network live broadcast processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0101] These computer program instructions may also be loaded onto a computer or other programmable network live processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0102] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0103] 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.
[0104] A computer-readable medium includes permanent and non-permanent, removable and non-removable media that can store information by any method or technology. 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 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, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tapes, disk storage or other magnetic storage devices, or any other non-transitory medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer-readable medium does not include transitory computer-readable media, such as modulated data signals and carrier waves.
[0105] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising at least one..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0106] 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, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification may also be practiced in a distributed computing environment where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media including storage devices.
[0107] The above are only embodiments of this document and are not intended to limit this document. For those skilled in the art, this document may have various changes and modifications. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this document shall be included within the scope of the claims of this document.
Claims
1. A resource processing method, comprising: Obtain resource order information generated by users' resource transactions and resource information of corresponding resources; Determine the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs in the value-added voucher of the user account, and perform cancellation processing on the target voucher; If it is detected that the transaction parameters of the resource are within the parameter threshold range of the target certificate, the value-added rights are calculated and issued based on the value-added coefficient of the target certificate and the resource growth value; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
2. The resource processing method according to claim 1, wherein determining the target voucher to which the resource order information and the voucher verification condition satisfied by the resource information belong in the value-added voucher of the user account comprises: Detecting whether the resource identifier in the resource information matches the resource identifier of any resource in the resource set corresponding to the value-added voucher; If they match, detecting whether the resource transaction amount of the user for the resource in the resource order information exceeds the preset transaction amount of the value-added voucher; If exceeded, check whether the effective time stamp of the value-added voucher is within a preset time interval, and if so, determine that the value-added voucher is the target voucher.
3. According to the resource processing method of claim 1, the resource transaction includes selling the resource; the target voucher is frozen after the resource sale and is unfrozen during the verification process.
4. The resource processing method according to claim 1, wherein the resource growth value is determined in the following manner: If the resource transaction amount of the resource is equal to the preset transaction amount of the target voucher, the resource value corresponding to the resource transaction amount is determined as the resource growth value; If the resource transaction amount of the resource is greater than the preset transaction amount of the target voucher, the resource value corresponding to the preset transaction amount is determined as the resource growth value.
5. The resource processing method according to claim 1, wherein the value-added equity calculation based on the value-added coefficient of the target voucher and the resource growth value comprises: Calculating the transaction ratio of the resource based on the preset transaction amount of the target voucher and the resource transaction amount of the resource; The resource growth value is calculated according to the transaction ratio and the actual income value of the resource, and the value-added equity is calculated according to the value-added coefficient and the resource growth value.
6. The resource processing method according to claim 1, further comprising: Generate a resource details page for configuring a transaction control for the resource based on a detail acquisition instruction generated by a resource identifier of the resource in the resource collection page triggered by the user; The transaction control generates a transaction instruction for the resource after being triggered; If the transaction instruction generated by the transaction control triggered by the user is obtained, resource transaction is performed based on the transaction instruction.
7. The resource processing method according to claim 1, further comprising: Based on the user's access request for the resource service, a resource access page configured with a credential detection control is generated; after the credential detection control is triggered, a credential detection instruction for the credential to be used is generated.
8. The resource processing method according to claim 7, after the step of generating a resource access page configured with a credential detection control based on the user's access request for the resource service is executed, further comprising: Based on the credential detection instruction generated after the credential detection control is triggered, detecting whether the user account has a credential to be used; If not, a detection result is obtained that the user account does not have the credential to be used, so that the user terminal generates and displays the interactive page of the resource based on the detection result.
9. According to the resource processing method of claim 8, if the credential detection instruction generated after the credential detection control is triggered, the execution result after the step of detecting whether there is a credential to be used in the user account is yes, perform the following operations: Obtaining the credential usage period of the credential to be used, and detecting whether the credential usage period exceeds a preset period interval; If not, a detection result is obtained that the credential to be used exists in the user account; the credential to be used is a value-added credential of the user account.
10. The resource processing method according to claim 8, wherein the generating and displaying of the interactive page of the resource based on the detection result comprises: If the detection result is that the user account does not have the credential to be used, generating and displaying a credential collection page configured with a credential collection control; If the detection result is that the credential to be used exists in the user account, a credential details page of the credential to be used is generated and displayed.
11. The resource processing method according to claim 10, after the operation of generating and displaying a voucher collection page configured with a voucher collection control is performed, further comprising: If the voucher collection instruction generated by the voucher collection control triggered by the user is obtained, query whether there is a voucher collection record of the value-added voucher matching the account identifier according to the account identifier of the user account; If not, the value-added voucher is issued to the user account, and a voucher collection record of the value-added voucher corresponding to the account identifier is generated.
12. The resource processing method according to claim 3, further comprising: Based on the revocation transaction instruction for the resource submitted by the user terminal, detecting whether the transaction parameter of the resource is within the parameter threshold range of the target credential; If so, based on the value-added coefficient of the target certificate and the resource income value, the value-added rights are calculated and the value-added rights are distributed; If not, determine that the order status of the resource is a canceled status and unfreeze the target voucher.
13. The resource processing method according to claim 1, wherein the value-added coefficient comprises a value-added multiple for increasing the resource growth value.
14. A resource processing device, comprising: An information acquisition module is configured to acquire resource order information generated by a user performing resource transactions and resource information of corresponding resources; A voucher processing module is configured to determine, in the value-added voucher of the user account, a target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs, and to perform cancellation processing on the target voucher; The rights processing module is configured to calculate the value-added rights and distribute the value-added rights based on the value-added coefficient of the target certificate and the resource growth value if it is detected that the transaction parameters of the resource are within the parameter threshold range of the target certificate; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
15. A resource processing device, comprising: processor; and a memory configured to store computer executable instructions that, when executed, cause the processor to: Obtain resource order information generated by users' resource transactions and resource information of corresponding resources; Determine the target voucher to which the voucher cancellation condition satisfied by the resource order information and the resource information belongs in the value-added voucher of the user account, and perform cancellation processing on the target voucher; If it is detected that the transaction parameters of the resource are within the parameter threshold range of the target certificate, the value-added rights are calculated and issued based on the value-added coefficient of the target certificate and the resource growth value; the resource growth value includes the resource income value in the total resource value obtained from the resource transaction.
16. A computer-readable storage medium for storing computer-executable instructions, wherein the computer-executable instructions implement the steps of the method of claim 1 when executed.