Resource transfer method and device, computer program product and electronic equipment
By obtaining the resource transfer contract information of the contracted user and generating resource transfer restrictions, identifying and intercepting abnormal requests, the problem of deduction abnormalities in automatic renewal is solved, and the security of the deduction process and risk identification capabilities are improved.
Patent Information
- Application Number
- CN202411140011.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-19
- Publication Date
- 2024-11-29
AI Technical Summary
In the prior art, it is difficult to detect and interrupt the deduction abnormality in automatic renewal, resulting in the problems of missed deduction, wrong deduction and repeated deduction. Especially under complex business rules and multiple payment methods, the risk of deduction cannot be effectively identified and prevented.
By obtaining the resource transfer contract information of the contracted user, marking the user, generating resource transfer restrictions, and deciding whether to intercept resource transfer requests based on the hit rate and marking information, the risk identification and control of the deduction process can be realized.
It improves the security and accuracy of the deduction process, promptly identify and interrupt potential missed, wrong and repeated deduction problems, reduces user influence, and enhances the security and risk identification capabilities of resource transfer.
Smart Images

Figure CN119048101A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the field of computer technology, and more specifically, relate to a resource transfer method and device, a computer storage medium, and an electronic device. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the disclosure that are recited in the claims, and no description herein is admitted to be prior art by inclusion in this section.
[0003] In automatic renewal, the next month's deduction mainly includes: deductions from third-party payment platforms and deductions initiated by the platform. Deductions from third-party payment platforms are initiated by the user's payment method and the corresponding application platform is notified. Common examples include IAP (in-app purchase) automatic subscriptions; platform-initiated deductions are initiated by the platform to confirm the user information, deduction time, deduction amount and other information that needs to be deducted, and send the information to the third-party payment platform for deduction. Compared with deductions from third-party payment platforms, platform-initiated deductions are more flexible. However, flexibility also brings more risks of abnormal deductions.
[0004] Adding deduction anomaly judgment to the deduction logic is a common means to avoid deduction errors. Redis lock is also a common preventive measure in deduction. Through simple lock setting, if there is an abnormal situation during the deduction of the same user, causing the same user to initiate the deduction process again, the competition lock will fail, thus avoiding the problem of multiple deductions for the user. Summary of the invention
[0005] However, in the related technologies, on the one hand, with the growth of the number of automatic renewal users and the continuous enrichment and expansion of marketing activities and renewal methods, the content of automatic renewal has become increasingly complex. When faced with complex business rules and deduction logic, the above two methods are still unable to avoid the problem of deduction errors only through simple conditional judgments; on the other hand, under conditions such as payment methods, marketing types, and deduction discounts, each category will have a group of automatic renewal users, and the deduction process for users in the same category must be the same. If a certain change or a problem occurs in the logic, it will cause a group of users to have abnormal deductions, but the current deduction process cannot interrupt the deduction in time when the problem first occurs, thereby reducing the number of affected users; on the other hand, user automatic renewal data is not fully utilized. For users who are about to be deducted, the current deduction requires user information and contract information, and the historical renewal behavior data also contains a lot of information. If it can be used, it will be of great value for knowing the user's risk of deduction in advance.
[0006] Therefore, there is a great need for an improved resource transfer method and device, computer program product and electronic device to provide a method and device that can timely detect the problems of missed deduction, wrong deduction and repeated deduction in the process of deduction execution.
[0007] In this context, embodiments of the present disclosure are intended to provide a resource transfer method and apparatus, a computer program product, and an electronic device.
[0008] According to one aspect of the present disclosure, a resource transfer method is provided, comprising:
[0009] Acquire and mark the contracted user according to the resource transfer contract information of the contracted user to obtain marking information;
[0010] Generate a resource transfer restriction condition according to the resource transfer contract information, and determine a target resource transfer restriction condition corresponding to the contracted user in the resource transfer restriction condition according to the tag information of the contracted user;
[0011] In response to a resource transfer request, determining a hit rate of the request information in the resource transfer request hitting the target resource transfer restriction condition;
[0012] Determine whether to intercept the resource transfer of the subscribed user according to the hit rate and the tag information of the subscribed user.
[0013] In an exemplary embodiment of the present disclosure, obtaining and marking the subscriber according to the resource transfer subscription information of the subscriber to obtain the marking information includes:
[0014] Acquire the contract quantity and contract type in the resource transfer contract information, classify the contracted users, and obtain the target classification of the contracted users;
[0015] The contracting user is marked according to the target classification of the contracting user and the contracting channel in the resource transfer contracting information to obtain the marking information.
[0016] In an exemplary embodiment of the present disclosure, the method further includes:
[0017] Acquire the historical resource transfer information of the contracted user, and mark the contracted user according to the number of historical resource transfers, the amount of historical resource transfers, and the discount information during the historical resource transfers in the historical resource transfer information; and
[0018] The contract expiration time, the discount to be used, and the resource fallback information of the contract user are obtained to mark the contract user and obtain the marking information.
[0019] In an exemplary embodiment of the present disclosure, generating a resource transfer restriction condition according to the resource transfer subscription information, and determining a target resource transfer restriction condition corresponding to the subscribed user in the resource transfer restriction condition according to the tag information of the subscribed user, includes:
[0020] Generate multiple resource transfer restriction conditions according to the resource transfer quantity, resource transfer time, contract object, contract type of the contract user, priority associated with the contract type, and contract channel;
[0021] According to the tag information of the subscribed user, a plurality of target resource transfer restriction conditions associated with the subscribed user are determined in the resource transfer restriction conditions.
[0022] In an exemplary embodiment of the present disclosure, in response to a resource transfer request, determining a hit rate of request information in the resource transfer request hitting the target resource transfer restriction condition includes:
[0023] Obtain resource transfer contract information corresponding to the contracted user in the request information;
[0024] The resource transfer contract information is compared with the target resource transfer restriction condition to determine the resource transfer restriction condition hit by the contracted user, and the hit rate of the contracted user is determined based on the hit resource transfer restriction condition.
[0025] In an exemplary embodiment of the present disclosure, the determining whether to intercept the resource transfer of the subscriber according to the hit rate and the tag information of the subscriber includes:
[0026] When the hit rate meets a first limit threshold, intercepting the resource transfer of the subscriber;
[0027] When the hit rate meets a second limiting threshold, processing resource transfer of the subscribers according to the number of the subscribers meeting the second limiting threshold;
[0028] When the hit rate does not meet the first limit threshold and the second limit threshold, the resources of the subscriber are transferred according to the resource transfer request.
[0029] In an exemplary embodiment of the present disclosure, the processing of resource transfer of the subscriber according to the number of subscribers meeting the second restriction threshold includes:
[0030] Acquire the number of first subscribers who meet the second restriction threshold and have the same tag information as the subscriber within a preset time period;
[0031] When the number of the first subscribed users is less than a preset number limit, transferring resources for the subscribed users and the first subscribed users;
[0032] When the number of the first subscribers is greater than the number limit, the subscribers and resource transfer of the first subscribers are intercepted.
[0033] In an exemplary embodiment of the present disclosure, after transferring resources to a subscriber, the resource transfer method further includes:
[0034] Acquire the expected result of resource transfer corresponding to the subscribed user and the resource transfer result of the subscribed user;
[0035] The resource transfer result is verified according to the expected result of the resource transfer, and when the resource transfer result is different from the expected result of the resource transfer, the transfer of resources to the subscriber is interrupted.
[0036] In an exemplary embodiment of the present disclosure, the acquiring the expected result of resource transfer corresponding to the subscribed user includes:
[0037] An expected result of resource transfer for the subscriber is generated according to the tag information of the subscriber and the target resource transfer restriction condition corresponding to the subscriber.
[0038] In an exemplary embodiment of the present disclosure, after intercepting the resource transfer, the method further includes:
[0039] Manually checking the resource transfer contract information in the resource transfer request;
[0040] When it is determined that the resource transfer contract information belongs to normal request information, calling a resource transfer interface to complete the transfer of resources corresponding to the resource transfer request through the resource transfer interface;
[0041] The resource transfer restriction condition is updated according to the request information.
[0042] According to one aspect of the present disclosure, there is provided a resource transfer device, comprising:
[0043] A subscriber marking module, used to obtain and mark the subscriber according to the resource transfer subscription information of the subscriber to obtain marking information;
[0044] a restriction condition determination module, configured to determine a resource transfer restriction condition, and determine a target resource transfer restriction condition corresponding to the subscribed user among the resource transfer restriction conditions according to the tag information of the subscribed user;
[0045] A constraint condition hit module, used to respond to a resource transfer request and determine a hit rate of the request information in the resource transfer request hitting the target resource transfer constraint condition;
[0046] The resource transfer module is used to determine whether to intercept the resource transfer of the subscribed user according to the hit rate and the tag information of the subscribed user.
[0047] According to one aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the resource transfer methods described above.
[0048] According to one aspect of the present disclosure, there is provided an electronic device, including:
[0049] Processor; and
[0050] A memory, configured to store executable instructions of the processor;
[0051] The processor is configured to execute any one of the resource transfer methods described above by executing the executable instructions.
[0052] According to the resource transfer method of the embodiment of the present disclosure, on the one hand, before transferring resources to a contracted user, the contracted user is marked according to the resource transfer contract information of the contracted user to obtain the marking information of the contracted user, and the target resource transfer condition corresponding to the contracted user is determined according to the marking information, thereby solving the problem of insufficient utilization of the user information of the contracted user in the related art; on the other hand, in response to a resource transfer request, the hit rate of the target resource transfer restriction condition in the resource transfer request information is determined, and whether to intercept the resource transfer of the contracted user is determined according to the hit rate and the marking information of the contracted user, thereby realizing risk identification of the contracted user before resource transfer, solving the problem in the related art that the withholding process cannot be interrupted in time when a problem occurs for the first time, thereby improving the security of resource transfer; on the other hand, after obtaining the resource transfer contract information of the contracted user, the resource transfer restriction condition is determined, and the target resource transfer restriction condition corresponding to the contracted user is determined in the resource transfer restriction condition, forming different verification logics for different contracted users, thereby improving the risk identification capability. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:
[0054] Figure 1A flow chart of a resource transfer method according to an embodiment of the present disclosure is schematically shown;
[0055] Figure 2 A flowchart of a method for obtaining and marking a subscriber according to resource transfer subscription information of the subscriber to obtain marking information according to an embodiment of the present disclosure is schematically shown;
[0056] Figure 3 A flowchart of a method for marking a contracted user and obtaining marking information according to an embodiment of the present disclosure is schematically shown;
[0057] Figure 4 A flowchart of a method for determining a target resource transfer restriction condition corresponding to a subscribed user in a resource transfer restriction condition according to tag information of a subscribed user according to an embodiment of the present disclosure is schematically shown;
[0058] Figure 5 A flowchart of a method for responding to a resource transfer request and determining a hit rate of request information in a resource transfer request hitting a target resource transfer restriction condition according to an embodiment of the present disclosure is schematically shown;
[0059] Figure 6 A flowchart of a method for determining whether to intercept resource transfer of a subscriber according to a hit rate and tag information of a subscriber according to an embodiment of the present disclosure is schematically shown;
[0060] Figure 7 A flowchart of a method for processing resource transfer of a subscriber according to the number of subscribers meeting a second restriction threshold according to an embodiment of the present disclosure is schematically shown;
[0061] Figure 8 A flowchart of a resource transfer method after resource transfer to a subscriber according to an embodiment of the present disclosure is schematically shown;
[0062] Fig. 9 A flowchart of a resource transfer method after intercepting resource transfer according to an embodiment of the present disclosure is schematically shown;
[0063] Fig.10 A block diagram schematically shows a resource transfer device according to an embodiment of the present disclosure;
[0064] Fig.11 A schematic diagram of a computer storage medium according to an embodiment of the present disclosure is shown;
[0065] Fig.12 A block diagram of an electronic device according to a disclosed embodiment is schematically shown.
[0066] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION
[0067] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.
[0068] Those skilled in the art will appreciate that the embodiments of the present disclosure may be implemented as a system, device, apparatus, method or computer program product. Therefore, the present disclosure may be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.
[0069] According to an embodiment of the present disclosure, a copyright overlap detection method, a copyright overlap detection device, a computer storage medium and an electronic device are provided.
[0070] In this article, it is important to understand that the terms involved are explained as follows:
[0071] Automatic renewal: A paid membership system within the application software. Users sign a membership contract with the platform. When the user's membership expires or at the agreed time, the platform will automatically deduct the fee from their account to renew the membership.
[0072] Withholding: refers to the deduction service initiated by the platform on the deduction date after the user signs the automatic renewal agreement, which deducts money from the user's relevant account and activates the membership service for the user.
[0073] In this document, any number of elements in the drawings is used for illustration rather than limitation, and any naming is used only for distinction and does not have any limiting meaning.
[0074] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure. SUMMARY OF THE INVENTION
[0076] The inventors have found that in the related art, a judgment on abnormal deduction is added to the deduction logic. For example, the deduction price cannot be lower than 0 yuan, the product must be valid, and the user's current contract is within the validity period; or a Redis lock is used. Through a simple lock setting, during the deduction period of the same user, if there is an abnormal situation, causing the same user to initiate the deduction process again, the competition lock will fail, thereby avoiding the problem of multiple deductions for the user.
[0077] However, with the growth of the number of automatic renewal users and the continuous enrichment and expansion of marketing activities and renewal methods, the content of automatic renewal has become increasingly complex. When faced with complex business rules and deduction logic, the above two methods still cannot avoid the problem of deduction errors only through simple conditional judgment. In addition, under the conditions of payment method, marketing type, deduction discount, etc., each category will have a group of automatic renewal users. The deduction process for users in the same category must be the same. If a certain change or a problem occurs in the logic, it will cause a group of users to deduct abnormalities. However, the current deduction process cannot interrupt the deduction in time when the problem first occurs, reducing the number of affected users. Furthermore, the user's automatic renewal data is not fully utilized. For users who are about to be deducted, the current deduction requires user information and contract information. The historical renewal behavior data also contains a lot of information. If it can be used, it will be of great value for knowing the user's deduction risk in advance.
[0078] In view of the above content, the basic idea of the present disclosure is to obtain the resource transfer contract information of the contracted user, generate the resource transfer restriction condition according to the resource transfer contract information of the user, and mark the contracted user according to the resource transfer contract information of the user to obtain the marking information of the contracted user, and determine the target resource contract transfer condition corresponding to the contracted user in the resource transfer restriction condition according to the marking information. After receiving the resource transfer request, determine the hit rate of hitting the resource transfer restriction condition according to the request information in the resource transfer request, and determine whether to intercept the resource transfer of the contracted user according to the hit rate.
[0079] After introducing the basic principles of the present disclosure, various non-limiting embodiments of the present disclosure are described in detail below.
[0080] Exemplary Methods
[0081] Combine the following Figure 1 A resource transfer method according to an exemplary embodiment of the present disclosure is described below.
[0082] refer to Figure 1 , the resource transfer method may include the following steps:
[0083] S110, acquiring and marking the subscriber according to the resource transfer subscription information of the subscriber to obtain marking information;
[0084] S120, generating a resource transfer restriction condition according to the resource transfer contract information, and determining a target resource transfer restriction condition corresponding to the subscribed user among the resource transfer restriction conditions according to the tag information of the subscribed user;
[0085] S130, responding to a resource transfer request, determining a hit rate of the request information in the resource transfer request hitting the target resource transfer restriction condition;
[0086] S140: Determine whether to intercept resource transfer of the subscriber according to the hit rate and the tag information of the subscriber.
[0087] In the resource transfer method of the embodiment of the present disclosure, on the one hand, before transferring resources to a contracted user, the contracted user is marked according to the resource transfer contract information of the contracted user to obtain the marking information of the contracted user, and the target resource transfer condition corresponding to the contracted user is determined according to the marking information, thereby solving the problem of insufficient utilization of the user information of the contracted user in the related art; on the other hand, in response to a resource transfer request, the hit rate of the target resource transfer restriction condition in the resource transfer request information is determined, and whether to intercept the resource transfer of the contracted user is determined according to the hit rate and the marking information of the contracted user, thereby realizing risk identification of the contracted user before resource transfer, solving the problem in the related art that the deduction process cannot be interrupted in time when a problem occurs for the first time, thereby improving the security of resource transfer; on the other hand, after obtaining the resource transfer contract information of the contracted user, the resource transfer restriction condition is determined, and the target resource transfer restriction condition corresponding to the contracted user is determined in the resource transfer restriction condition, forming different verification logics for different contracted users, thereby improving the risk identification capability.
[0088] In step S110, the subscribed user is obtained and marked according to the resource transfer subscription information of the subscribed user to obtain marking information.
[0089] Among them, the resource transfer contract information of the contracted user is the information in the automatic renewal agreement signed between the user and the platform, including but not limited to the resource transfer quantity, resource transfer time, contract object, contract type of the contracted user, priority associated with the contract type, contract channel, contract discount, etc. In this example embodiment, the resource transfer contract information is not specifically limited. When marking the contracted user, it can be marked according to multiple aspects of information, and the marking information of the contracted user can be multiple. The marking dimension can be the contract channel, the contract quantity and contract type, and the historical deduction information can also be marked. In this example embodiment, the marking dimension is not specifically limited.
[0090] In this example embodiment, reference Figure 2 As shown, the resource transfer contract information of the contracted user is obtained and the contracted user is marked to obtain the marking information, including:
[0091] Step S210: Obtain the contract quantity and contract type in the resource transfer contract information, classify the contracted users, and obtain the target classification of the contracted users;
[0092] Step S220: Mark the contracted user according to the target classification of the contracted user and the contract channel in the resource transfer contract information to obtain the marking information.
[0093] In the following, step S210 and step S220 will be further explained and illustrated. Specifically, when classifying the contracted users, the contract quantity and contract type in the resource transfer contract information of the contracted users can be obtained, and the contracted users are classified according to the contract quantity and contract type to obtain the target classification of the contracted users. After obtaining the target classification of the contracted users, the contracted users are marked according to the target classification and the contract channel in the resource transfer contract information to obtain marking information.
[0094] For example, when a user purchases a first type of membership and a second type of membership, where the second type of membership is an advanced version of the first type of membership, the user's target category can be determined based on the second type of membership. After determining the target category of the contracted user, the contracted user can be marked based on the target category of the contracted user and the contracting channel in the resource transfer contracting information.
[0095] In this example embodiment, reference Figure 3 As shown, marking the subscribed user to obtain marking information may also include:
[0096] Step S310. Obtain the historical resource transfer information of the contracted user, and mark the contracted user according to the number of historical resource transfers, the amount of historical resource transfers, and the discount information during the historical resource transfers in the historical resource transfer information; and
[0097] Step S320: Obtain the contract expiration time, the discount to be used, and the resource fallback information of the contracted user to mark the contracted user and obtain the marking information.
[0098] In the following, step S310 and step S320 are further explained and illustrated. Specifically, the historical resource transfer information of the contracted user is obtained, and the contracted user is marked according to the historical resource transfer times, historical resource transfer quantities, and discount information during the historical resource transfer in the historical resource transfer information of the contracted user. Furthermore, the contract expiration time, the discount to be used, and the resource fallback information of the contracted user can also be obtained to mark the contracted user and obtain the marking information.
[0099] After marking the contracted user, the restriction threshold corresponding to the contracted user can be determined according to the marking information of the contracted user. The restriction threshold is used to judge the resource transfer risk of the contracted user and improve the accuracy of resource transfer of the contracted user.
[0100] In step S120, resource transfer restriction conditions are generated according to the resource transfer subscription information, and target resource transfer restriction conditions corresponding to the subscribed user in the resource transfer restriction conditions are determined according to the tag information of the subscribed user.
[0101] After determining the tag information of the contracted user, it is also necessary to generate resource transfer restriction conditions according to the resource transfer contract information of the contracted user to identify the resource transfer risk of the contracted user. After generating the resource transfer restriction conditions, the target resource transfer restriction conditions corresponding to the contracted user can be determined in the resource transfer restriction conditions according to the tag information of the contracted user.
[0102] refer to Figure 4 As shown, generating a resource transfer restriction condition according to the resource transfer contract information, and determining a target resource transfer restriction condition corresponding to the contracted user in the resource transfer restriction condition according to the tag information of the contracted user may include:
[0103] Step S410. Generate multiple resource transfer restriction conditions according to the resource transfer quantity, resource transfer time, contract object, contract type of the contract user, priority associated with the contract type, and contract channel;
[0104] Step S420: According to the tag information of the subscriber, determine a plurality of target resource transfer restriction conditions associated with the subscriber in the resource transfer restriction conditions.
[0105] In the following, step S410 and step S420 will be further explained and illustrated. Specifically, multiple resource transfer restriction conditions can be generated according to the resource transfer quantity, resource transfer time, contract object, contract type of the contracting user, priority associated with the contract type, and contract channel in the resource transfer contract information. For example, the generated resource transfer restriction conditions may include: the current resource transfer quantity must be the same as the last resource transfer quantity, there is a resource transfer record within a preset time period, the resource transfer cannot be performed currently, the contract object is consistent with the object currently performing resource transfer, and the corresponding rights and interests are issued after the resource transfer, etc., which are not specifically limited in this example embodiment. After the resource transfer restriction conditions are obtained, multiple target resource transfer restriction conditions associated with the contracting user can be determined in the resource transfer restriction conditions according to the tag information of the contracting user. Among the multiple target resource transfer restriction conditions, some target resource transfer restriction conditions can be effective separately, that is, when the target resource transfer restriction condition is hit, it is directly intercepted; it can also be effective for multiple target resource transfer restriction conditions in combination, that is, when several of the multiple target resource transfer restriction conditions are met, it is directly intercepted, which is not specifically limited in this example embodiment.
[0106] In step S130, in response to a resource transfer request, a hit rate of the request information in the resource transfer request hitting the target resource transfer restriction condition is determined.
[0107] The resource transfer request may include the resource transfer quantity, contract type, contract product, etc., which are not specifically limited in this exemplary embodiment. Figure 5 As shown, responding to a resource transfer request and determining a hit rate of the request information in the resource transfer request hitting the target resource transfer restriction condition may include:
[0108] Step S510: Obtain resource transfer subscription information corresponding to the subscription user in the request information;
[0109] Step S520: Compare the resource transfer contract information with the target resource transfer restriction condition to determine the resource transfer restriction condition hit by the contracted user, and determine the hit rate of the contracted user based on the hit resource transfer restriction condition.
[0110] In the following, step S510 and step S520 will be further explained and illustrated. Specifically, firstly, the resource transfer contract information corresponding to the contracted user is obtained in the request information, for example, the resource transfer quantity, contract type, and contracted product of the contracted user are obtained, and after the resource transfer contract information is obtained, the resource transfer contract information is compared with the target resource transfer restriction condition, and it is determined whether the resource transfer contract information hits the resource transfer restriction condition, and the hit rate of the contracted user is determined according to the hit resource transfer restriction condition.
[0111] It should be noted that each resource transfer restriction condition has a corresponding restriction coefficient. When the resource transfer restriction condition is effective alone, the restriction coefficient of the resource transfer restriction condition can be set to 1; when multiple resource transfer restriction conditions are effective in combination, the corresponding restriction coefficient can be set according to the importance of each resource transfer restriction condition, where 0<restriction coefficient<1. In this example embodiment, the restriction coefficient is not specifically limited.
[0112] In step S140, it is determined whether to intercept the resource transfer of the subscriber according to the hit rate and the tag information of the subscriber.
[0113] After obtaining the hit rate of the contracted user, the restriction threshold corresponding to the tag information of the contracted user can be obtained, and whether the resource transfer can be carried out smoothly can be determined according to the restriction threshold of the contracted user.
[0114] refer to Figure 6 As shown, the determining whether to intercept the resource transfer of the subscriber according to the hit rate and the tag information of the subscriber may include:
[0115] Step S610: When the hit rate meets the first limit threshold, intercept the resource transfer of the subscriber;
[0116] Step S620: When the hit rate meets the second limit threshold, the resource transfer of the subscribers is processed according to the number of subscribers meeting the second limit threshold;
[0117] Step S630: When the hit rate does not meet the first limit threshold and the second limit threshold, the resources of the subscribed user are transferred according to the resource transfer request.
[0118] In the following, step S610-step S630 will be further explained and illustrated. Specifically, when the hit rate of the contracted user meets the first restriction threshold, the resource transfer of the contracted user is directly intercepted, wherein the first restriction threshold may be 1. For example, the target resource transfer restriction condition corresponding to the contracted user is effective alone. When the resource transfer contract information in the resource transfer request of the contracted user meets the target resource transfer restriction condition, the hit rate is 1, and the first restriction threshold is met. At this time, the resource transfer of the contracted user must be intercepted. When the hit rate of the contracted user meets the second restriction threshold, the resource transfer of the contracted user can be processed according to the number of contracted users that meet the second restriction threshold, wherein the second restriction threshold may be 0.8 or 0.6, which is not specifically limited in this example embodiment. When the hit rate of the contracted user neither meets the first restriction threshold nor the second restriction threshold, resource transfer can be performed according to the resource transfer request of the contracted user.
[0119] For further reference, Figure 7 As shown, the processing of resource transfer of the subscribers according to the number of the subscribers meeting the second restriction threshold may include:
[0120] Step S710. Obtain the number of first subscribers who meet the second restriction threshold and have the same tag information as the subscriber within a preset time period;
[0121] Step S720: when the number of the first contracted users is less than a preset number limit, transfer resources to the contracted users and the first contracted users;
[0122] Step S730: When the number of the first subscribers is greater than the number limit, intercept the subscribers and resource transfer of the first subscribers.
[0123] In the following, step S710 to step S730 will be further explained and illustrated. Specifically, when the hit rate of the contracted user meets the second restriction threshold, the tag information of the contracted user can be obtained to determine the number of first contracted users who meet the second restriction threshold and whose tag information is the same as the tag information of the contracted user within the preset time period. When the number of first contracted users is less than the preset number limit, the resources of the contracted user and the first contracted user are transferred. However, when the number of first contracted users is greater than the preset number limit, the resource transfer of the contracted user and the first contracted user is intercepted. The preset time period can be 12 hours or 24 hours, which is not specifically limited in the present example embodiment; the preset number limit can be 1,000 people or 100 people, which is not specifically limited in the present example embodiment.
[0124] For example, when the platform issues 10,000 5-yuan coupons, the target resource transfer restriction conditions corresponding to a type of users with the same marking information are combined and effective. One of the target resource transfer restriction conditions is that the current resource transfer quantity is equal to the previous resource transfer quantity. Since the contracted user has received the coupon, the current resource transfer quantity of the contracted user is not equal to the previous resource transfer quantity. It can be seen that the target resource transfer restriction condition is hit and the hit rate meets the second restriction threshold. At this time, the number of first contracted users whose marking information is the same as that of the contracted user and whose hit rate meets the second restriction threshold within the preset time period can be obtained. When the number of the first contracted users is less than 10,000, it can be considered that there is no risk for the contracted users and the resource transfer requests of the first contracted users, and resource transfer can be performed according to the resource transfer requests; when the number of the first contracted users is greater than 10,000 within the preset time period, it can be considered that there is a risk for the contracted users and the resource transfer requests of the first contracted users, and their resource transfer can be intercepted.
[0125] Furthermore, after intercepting the resource transfer of the contracted user, a reminder message may be sent, which may include the reason for the interception and the resource transfer contract information in the resource transfer request of the contracted user, so as to facilitate troubleshooting and locating the problem.
[0126] In this example embodiment, reference Figure 8 As shown, after the resources of the subscriber are transferred, the resource transfer method further includes:
[0127] Step S810: Obtain the expected resource transfer result corresponding to the subscribed user and the resource transfer result of the subscribed user;
[0128] Step S820: verify the resource transfer result according to the expected result of the resource transfer, and when the resource transfer result is different from the expected result of the resource transfer, interrupt the transfer of resources to the subscribed user.
[0129] In the following, step S810 and step S820 will be further explained and illustrated. Specifically, when transferring resources to a contracted user, the expected result of the resource transfer of the contracted user can be obtained, and the resource transfer result of the contracted user can be obtained after the resource transfer, and the resource transfer result can be verified using the expected result of the resource transfer. When the expected result of the resource transfer is different from the resource transfer result, the resource transfer of the contracted user is interrupted. When the resource transfer result of the contracted user is different from the expected result of the resource transfer, after the resource transfer is interrupted, a reminder message can be sent, which can include the reason for the interception and the resource transfer contract information in the resource transfer request of the contracted user, so as to facilitate the troubleshooting and positioning of the problem.
[0130] Further, the obtaining the expected result of resource transfer corresponding to the subscribed user includes:
[0131] An expected result of resource transfer for the subscriber is generated according to the tag information of the subscriber and the target resource transfer restriction condition corresponding to the subscriber.
[0132] Specifically, after determining the tag information of the subscriber and the target resource transfer restriction corresponding to the subscriber, the expected result of the resource transfer of the subscriber can be determined according to the tag information of the subscriber, the resource transfer contract letter in the resource transfer request of the subscriber, and the target resource transfer restriction. The expected result of the resource transfer may include: whether the resource transfer is successful, the amount of resource transfer, the rights and interests of the subscriber, and the effective time of the rights and interests, etc. In this example embodiment, the expected result of the resource transfer is not specifically limited.
[0133] In this example embodiment, reference Fig. 9 As shown, after intercepting the resource transfer, the method further includes:
[0134] Step S910: manually check the resource transfer contract information in the resource transfer request;
[0135] Step S920. When it is determined that the resource transfer contract information belongs to normal request information, a resource transfer interface is called to complete the transfer of resources corresponding to the resource transfer request through the resource transfer interface;
[0136] Step S930: Update the resource transfer restriction condition according to the resource transfer contract information.
[0137] In the following, step S910 to step S930 will be further explained and illustrated. Specifically, after intercepting the resource transfer request of the contracted user, the resource transfer contract information in the resource transfer request can be manually checked. When it is determined that the resource transfer contract information belongs to normal request information, the resource transfer interface can be called to complete the transfer of resources corresponding to the resource transfer request through the resource transfer interface. In addition, the resource transfer restriction condition can also be updated according to the resource transfer contract information included in the resource transfer request.
[0138] In this example embodiment, an overall verification can also be performed on the subscribers who have completed resource transfer within the preset time period. First, an overall verification condition is generated according to the resource transfer results of the subscribers within the preset time period and the resource transfer requests of the subscribers; secondly, the resource transfer results of all the subscribers within the preset time period are verified using the overall verification condition.
[0139] In summary, the method provided by the present disclosure, on the one hand, responds to a resource transfer request, determines the hit rate of the target resource transfer restriction condition in the resource transfer request information, and determines whether to intercept the resource transfer of the contracted user according to its hit rate and the tag information of the contracted user, thereby realizing risk identification of the contracted user before resource transfer, solving the problem in the related technology that the withholding process cannot interrupt the withholding in time when a problem occurs for the first time, and improving the security of resource transfer; on the other hand, after obtaining the resource transfer contract information of the contracted user, the resource transfer restriction condition is determined, and the target resource transfer restriction condition corresponding to the contracted user is determined in the resource transfer restriction condition, forming different verification logics for different contracted users, and improving the risk identification capability; on the other hand, after intercepting the resource transfer request of the contracted user, the resource transfer request is manually checked, and the resource transfer restriction condition is updated according to the resource transfer request, thereby improving the integrity of the resource transfer restriction condition and reducing the risk of resource transfer before resource transfer.
[0140] Exemplary Devices
[0141] After introducing the resource transfer method of the exemplary embodiment of the present disclosure, next, refer to Fig.10 A resource transfer device according to an exemplary embodiment of the present disclosure is described.
[0142] refer to Fig.10 As shown, the resource transfer device 10 of the exemplary embodiment of the present disclosure may include: a subscriber marking module 1010, a restriction condition determination module 1020, a restriction condition hit module 1030 and a resource transfer module 1040; wherein:
[0143] A subscriber marking module 1010 is used to obtain and mark the subscriber according to the resource transfer subscription information of the subscriber to obtain marking information;
[0144] The restriction condition determination module 1020 is used to determine the resource transfer restriction condition, and determine the target resource transfer restriction condition corresponding to the subscribed user in the resource transfer restriction condition according to the tag information of the subscribed user;
[0145] The constraint condition hitting module 1030 is used to respond to the resource transfer request and determine the hit rate of the request information in the resource transfer request hitting the target resource transfer constraint condition;
[0146] The resource transfer module 1040 is used to determine whether to intercept the resource transfer of the subscribed user according to the hit rate and the tag information of the subscribed user.
[0147] According to an exemplary embodiment of the present disclosure, the subscriber marking module includes:
[0148] A user classification module is used to obtain the contract quantity and contract type in the resource transfer contract information, classify the contracted users, and obtain the target classification of the contracted users;
[0149] The marking information acquisition module is used to mark the contracting user according to the target classification of the contracting user and the contracting channel in the resource transfer contracting information to obtain the marking information.
[0150] According to an exemplary embodiment of the present disclosure, the subscriber marking module further includes:
[0151] a historical information marking module, configured to obtain the historical resource transfer information of the contracted user, and mark the contracted user according to the number of historical resource transfers, the amount of historical resource transfers, and the discount information during the historical resource transfers in the historical resource transfer information; and
[0152] The marking information acquisition module is used to obtain the contract expiration time, the discount to be used and the resource fallback information of the contracted user to mark the contracted user and obtain the marking information.
[0153] According to an exemplary embodiment of the present disclosure, the restriction condition determination module includes:
[0154] A restriction condition generating module, used to generate a plurality of resource transfer restriction conditions according to the resource transfer quantity, resource transfer time, contract object, contract type of the contract user, priority associated with the contract type, and contract channel;
[0155] The restriction condition determination module is used to determine a plurality of target resource transfer restriction conditions associated with the subscribed user in the resource transfer restriction conditions according to the tag information of the subscribed user.
[0156] According to an exemplary embodiment of the present disclosure, the constraint condition matching module includes:
[0157] A contract information acquisition module, used to acquire resource transfer contract information corresponding to the contract user in the request information;
[0158] The hit rate determination module is used to compare the resource transfer contract information with the target resource transfer restriction condition, determine the resource transfer restriction condition hit by the contracted user, and determine the hit rate of the contracted user based on the hit resource transfer restriction condition.
[0159] According to an exemplary embodiment of the present disclosure, the resource transfer module includes:
[0160] A resource interception module, configured to intercept the resource transfer of the subscriber when the hit rate meets a first limit threshold;
[0161] a resource processing module, configured to process resource transfer of the subscribers according to the number of the subscribers meeting the second limit threshold when the hit rate meets the second limit threshold;
[0162] The resource transfer module is used to transfer the resources of the subscribed user according to the resource transfer request when the hit rate does not meet the first limit threshold and the second limit threshold.
[0163] According to an exemplary embodiment of the present disclosure, the resource processing module includes:
[0164] A user quantity determination module, used for obtaining the number of first subscribed users who meet the second restriction threshold and have the same tag information as the subscribed user within a preset time period;
[0165] A resource transfer processing module, configured to transfer resources to the subscribers and the first subscribers when the number of the first subscribers is less than a preset number limit;
[0166] The resource interception processing module is used to intercept the resource transfer of the subscribers and the first subscribers when the number of the first subscribers is greater than the number limit.
[0167] According to an exemplary embodiment of the present disclosure, the resource transfer module includes:
[0168] A transfer result acquisition module, used to acquire the expected result of resource transfer corresponding to the contracted user and the resource transfer result of the contracted user;
[0169] The transfer verification module is used to verify the resource transfer result according to the expected result of the resource transfer, and when the resource transfer result is different from the expected result of the resource transfer, interrupt the transfer of resources to the contracted user.
[0170] According to an exemplary embodiment of the present disclosure, the transfer result acquisition module includes:
[0171] The expected result acquisition module is used to generate the expected result of resource transfer of the subscribed user according to the tag information of the subscribed user and the target resource transfer restriction condition corresponding to the subscribed user.
[0172] According to an exemplary embodiment of the present disclosure, the resource interception processing module includes:
[0173] A manual inspection module, used to manually inspect the resource transfer contract information in the resource transfer request;
[0174] A resource transfer module, configured to call a resource transfer interface when determining that the resource transfer contract information belongs to normal request information, so as to complete the transfer of resources corresponding to the resource transfer request through the resource transfer interface;
[0175] A restriction condition updating module is used to update the resource transfer restriction condition according to the request information.
[0176] Since the functional modules of the resource transfer device in the disclosed embodiment are the same as those in the disclosed embodiment of the resource transfer method, they will not be described in detail here.
[0177] Exemplary Storage Media
[0178] After introducing the data synchronization method and device according to the exemplary embodiment of the present disclosure, Fig.11 A computer-readable storage medium according to an exemplary embodiment of the present disclosure is described.
[0179] refer to Fig.11 As shown, a program product 1100 for implementing the above method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0180] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0181] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0182] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0183] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user computing device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0184] Exemplary Electronic Devices
[0185] After introducing the storage medium of the exemplary embodiment of the present disclosure, next, reference is made to Fig.12 An electronic device according to an exemplary embodiment of the present disclosure is described.
[0186] Fig.12 The electronic device 1200 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0187] like Fig.12 As shown, the electronic device 1200 is in the form of a general computing device. The components of the electronic device 1200 may include, but are not limited to: the at least one processing unit 1210, the at least one storage unit 1220, a bus 1230 connecting different system components (including the storage unit 1220 and the processing unit 1210), and a display unit 1240.
[0188] The storage unit stores a program code, which can be executed by the processing unit 1210, so that the processing unit 1210 performs the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 1210 can perform the following steps: Figure 1 Steps S110 to S140 shown in FIG.
[0189] The storage unit 1220 may include a volatile storage unit, such as a random access storage unit (RAM) 12201 and / or a cache storage unit 12202 , and may further include a read-only storage unit (ROM) 12203 .
[0190] The storage unit 1220 may also include a program / utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0191] The bus 1230 may include a data bus, an address bus, and a control bus.
[0192] The electronic device 1200 may also communicate with one or more external devices 1300 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), and such communication may be performed through an input / output (I / O) interface 1250. The electronic device 1200 also includes a display unit 1240, which is connected to the input / output (I / O) interface 1250 for display. In addition, the electronic device 1200 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) through a network adapter 1260. As shown, the network adapter 1260 communicates with other modules of the electronic device 1200 through a bus 1230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0193] It should be noted that although several modules or sub-modules of the audio playback device and the audio sharing device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided to be embodied by multiple units / modules.
[0194] In addition, although the operations of the disclosed method are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0195] Although the spirit and principle of the present disclosure have been described with reference to several specific embodiments, it should be understood that the present disclosure is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and such division is only for the convenience of expression. The present disclosure is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims.
Claims
1. A resource transfer method, characterized in that: include: Acquire and mark the contracted user according to the resource transfer contract information of the contracted user to obtain marking information; Generate a resource transfer restriction condition according to the resource transfer contract information, and determine a target resource transfer restriction condition corresponding to the contracted user in the resource transfer restriction condition according to the tag information of the contracted user; In response to a resource transfer request, determining a hit rate of the request information in the resource transfer request hitting the target resource transfer restriction condition; Determine whether to intercept the resource transfer of the subscribed user according to the hit rate and the tag information of the subscribed user.
2. The resource transfer method according to claim 1, characterized in that: Generating a resource transfer restriction condition according to the resource transfer contract information, and determining a target resource transfer restriction condition corresponding to the subscribed user in the resource transfer restriction condition according to the tag information of the subscribed user, including: Generate multiple resource transfer restriction conditions according to the resource transfer quantity, resource transfer time, contract object, contract type of the contract user, priority associated with the contract type, and contract channel; According to the tag information of the subscribed user, a plurality of target resource transfer restriction conditions associated with the subscribed user are determined in the resource transfer restriction conditions.
3. The resource transfer method according to claim 2, characterized in that: In response to a resource transfer request, determining a hit rate of request information in the resource transfer request hitting the target resource transfer restriction condition includes: Obtain resource transfer contract information corresponding to the contracted user in the request information; The resource transfer contract information is compared with the target resource transfer restriction condition to determine the resource transfer restriction condition hit by the contracted user, and the hit rate of the contracted user is determined based on the hit resource transfer restriction condition.
4. The resource transfer method according to claim 1, characterized in that: The determining whether to intercept the resource transfer of the subscriber according to the hit rate and the tag information of the subscriber includes: When the hit rate meets a first limit threshold, intercepting the resource transfer of the subscriber; When the hit rate meets a second limiting threshold, processing resource transfer of the subscribers according to the number of the subscribers meeting the second limiting threshold; When the hit rate does not meet the first limit threshold and the second limit threshold, the resources of the subscriber are transferred according to the resource transfer request.
5. The resource transfer method according to claim 4, characterized in that: The processing of resource transfer of the subscribers according to the number of the subscribers meeting the second restriction threshold includes: Acquire the number of first subscribers who meet the second restriction threshold and have the same tag information as the subscriber within a preset time period; When the number of the first subscribed users is less than a preset number limit, transferring resources for the subscribed users and the first subscribed users; When the number of the first subscribers is greater than the number limit, the subscribers and resource transfer of the first subscribers are intercepted.
6. The resource transfer method according to claim 4, characterized in that: After transferring the resources to the subscriber, the resource transfer method further includes: Acquire the expected result of resource transfer corresponding to the subscribed user and the resource transfer result of the subscribed user; The resource transfer result is verified according to the expected result of the resource transfer, and when the resource transfer result is different from the expected result of the resource transfer, the transfer of resources to the subscriber is interrupted.
7. The resource transfer method according to claim 6, characterized in that: The obtaining of the expected result of resource transfer corresponding to the subscribed user includes: An expected result of resource transfer for the subscriber is generated according to the tag information of the subscriber and the target resource transfer restriction condition corresponding to the subscriber.
8. A resource transfer device, characterized in that: include: A subscriber marking module, used to obtain and mark the subscriber according to the resource transfer subscription information of the subscriber to obtain marking information; a restriction condition determination module, configured to determine a resource transfer restriction condition, and determine a target resource transfer restriction condition corresponding to the subscribed user among the resource transfer restriction conditions according to the tag information of the subscribed user; A constraint condition hit module, used to respond to a resource transfer request and determine a hit rate of the request information in the resource transfer request hitting the target resource transfer constraint condition; The resource transfer module is used to determine whether to intercept the resource transfer of the subscribed user according to the hit rate and the tag information of the subscribed user.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to perform the method of any one of claims 1 to 7 by executing the executable instructions.
