Resource filling method and device, equipment and storage medium
By verifying the information before the resource filling operation, the problem of insufficient verification timeliness in the prior art is solved, and the security and resource filling timeliness are improved.
Patent Information
- Application Number
- CN202411605410.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-11
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-11
AI Technical Summary
The prior art After the resource filling operation, the verification process takes a certain amount of time, resulting in insufficient verification timeliness, which may cause the user to use the filled resources before completing the verification.
After confirming the filling operation, before completing the resource filling operation, verify the resource filling information and perform corresponding processing based on the verification results to delay the completion of the resource filling operation to ensure the verification timeliness.
By delaying the completion of resource filling operations, users avoid using the filled resources before verification is completed, and improves security and verification timeliness.
Smart Images

Figure CN119599652A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a resource filling method, device, equipment and storage medium. Background Art
[0002] With the development of Internet technology, the functions in application clients are becoming increasingly rich, and resources are needed to perform operations in many scenarios, such as using resources to purchase items or giving resources to friends. In application clients, resource accounts corresponding to user accounts are usually created, and the resources of user accounts can be stored in resource accounts.
[0003] The recharge operation refers to filling the resources in the user's other accounts into the resource account corresponding to the user account. The recharge operation generally includes the following steps: determining the recharge amount, selecting the recharge method, confirming the payment of the recharge amount, and adding the recharge amount to the resource account. In addition, in order to improve security, the recharge operation can also be verified after the recharge operation is completed to determine whether the recharge operation is safe.
[0004] However, the verification process takes a certain amount of time, and during the verification period, the user may have used the recharged resources in the resource account. Therefore, the timeliness of the above verification method is insufficient. Summary of the invention
[0005] The present disclosure provides a resource filling method, device, equipment and storage medium, which delays the completion of the resource filling operation, avoids the situation where the user uses the filled resources during the period when the resource filling operation is completed and the verification operation is not completed, ensures the timeliness of the verification operation, and thus improves security. The technical solution of the present disclosure includes the following aspects.
[0006] According to a first aspect of an embodiment of the present disclosure, a resource filling method is provided, including:
[0007] In response to a confirmation filling operation, verifying the resource filling information corresponding to the resource filling operation without completing the resource filling operation, the confirmation filling operation is used to indicate the execution of the resource filling operation, and the resource filling operation is an operation of filling a target amount of the first resource into the first resource account corresponding to the user account;
[0008] A processing operation matching the verification result is performed on the target number of first resources.
[0009] In some embodiments, in response to confirming the filling operation, verifying the resource filling information corresponding to the resource filling operation without completing the resource filling operation includes:
[0010] In response to the confirmation filling operation, without filling the first resource account with the target amount of the first resource, filling the second resource account corresponding to the user account with the target amount of the first resource, and the first resource in the second resource account is not allowed to be used by the user account;
[0011] The resource filling information corresponding to the resource filling operation is verified.
[0012] In some embodiments, performing a processing operation on the target number of first resources to match the verification result includes:
[0013] If the verification result is that the verification is passed, the target amount of first resources in the second resource account is transferred to the first resource account; or,
[0014] When the verification result is that the verification fails, the target quantity of the first resource in the second resource account is returned to the original account.
[0015] In some embodiments, performing a processing operation on the target number of first resources to match the verification result includes:
[0016] If the verification result is the first verification result, transferring the target amount of first resources in the second resource account to the first resource account; or,
[0017] When the verification result is the second verification result, the first quantity of the first resource in the second resource account is transferred to the first resource account, and the second quantity of the first resource in the second resource account is returned to the original account, and the sum of the first quantity and the second quantity is the target quantity; or
[0018] If the verification result is the third verification result, the target amount of first resources in the second resource account is transferred to the first resource account, and the target amount of first resources in the first resource account is frozen; or,
[0019] When the verification result is the fourth verification result, the target amount of the first resource in the second resource account is returned to the original account.
[0020] In some embodiments, the confirming filling operation is used to indicate that the resource filling operation is performed after converting a third quantity of the second resource into the target quantity of the first resource, the third quantity of the second resource is equal in value to the target quantity of the first resource, and the first resource and the second resource are of different types;
[0021] In response to the confirmation filling operation, filling the target amount of the first resource into the second resource account corresponding to the user account without filling the target amount of the first resource into the first resource account, includes:
[0022] In response to the confirming filling operation, filling the third amount of the second resource into an application resource account of the current application client, the application resource account being used to store resources belonging to the application client;
[0023] The second resource account is filled with the target amount of the first resource.
[0024] In some embodiments, performing a processing operation on the target number of first resources to match the verification result includes:
[0025] When the verification result is the fifth verification result, the target quantity of first resources in the second resource account is transferred to the first resource account, and the third quantity of second resources in the application resource account is marked as abnormal.
[0026] In some embodiments, in response to confirming the filling operation, verifying the resource filling information corresponding to the resource filling operation without completing the resource filling operation includes:
[0027] In response to the confirmation filling operation, filling the first resource account with the target quantity of the first resource, and setting the order status of the resource filling order to a verification status, the resource filling order including the first resource account, the target quantity and the order status, in which the target quantity of the first resource in the first resource account is not allowed to be used;
[0028] The resource filling information is verified.
[0029] In some embodiments, performing a processing operation on the target number of first resources to match the verification result includes:
[0030] If the verification result is that the verification is passed, the order status of the resource filling order is changed to a filling success status, in which the target quantity of the first resource in the first resource account is allowed to be used; or
[0031] When the verification result is that the verification fails, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0032] In some embodiments, performing a processing operation on the target number of first resources to match the verification result includes:
[0033] If the verification result is the first verification result, the order status of the resource filling order is changed to a filling success status, in which the target quantity of the first resource in the first resource account is allowed to be used; or
[0034] In the case where the verification result is the second verification result, the second quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a partial filling success state. In the partial filling success state, the remaining first quantity of the first resource in the first resource account is allowed to be used, and the sum of the first quantity and the second quantity is the target quantity; or
[0035] If the verification result is the third verification result, the order status of the resource filling order is changed to a frozen state, in which the target quantity of the first resource in the first resource account is not allowed to be used; or
[0036] When the verification result is the fourth verification result, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0037] In some embodiments, the confirming filling operation is used to indicate that the resource filling operation is performed after converting a third quantity of the second resource into the target quantity of the first resource, the third quantity of the second resource is equal in value to the target quantity of the first resource, and the first resource and the second resource are of different types;
[0038] In response to the confirming the filling operation, filling the first resource account with the target amount of the first resource, and setting the order status of the resource filling order to a verification status, comprises:
[0039] In response to the confirming filling operation, filling the third amount of the second resource into an application resource account of the current application client, the application resource account being used to store resources belonging to the application client;
[0040] The first resource account is filled with the target quantity of the first resource, and the order status of the resource filling order is set to a verification status.
[0041] In some embodiments, performing a processing operation on the target number of first resources to match the verification result includes:
[0042] When the verification result is the fifth verification result, the order status of the resource filling order is changed to a frozen state, in which the target quantity of the first resource in the first resource account is not allowed to be used, or the order status of the resource filling order is changed to a filling success state, in which the target quantity of the first resource in the first resource account is allowed to be used;
[0043] The third number of second resources in the application resource account is marked as being in an abnormal state.
[0044] According to a second aspect of an embodiment of the present disclosure, a resource filling device is provided, including:
[0045] a verification unit configured to verify, in response to a confirmation filling operation, resource filling information corresponding to the resource filling operation without completing the resource filling operation, the confirmation filling operation being used to indicate execution of the resource filling operation, the resource filling operation being an operation of filling a target amount of a first resource into a first resource account corresponding to a user account;
[0046] The processing unit is configured to perform a processing operation on the target number of first resources that matches the verification result.
[0047] In some embodiments, the verification unit comprises:
[0048] The first verification sub-unit is configured to, in response to the confirmation filling operation, fill the target amount of the first resource into the second resource account corresponding to the user account without filling the target amount of the first resource into the first resource account, and the first resource in the second resource account is not allowed to be used by the user account; and verify the resource filling information corresponding to the resource filling operation.
[0049] In some embodiments, the processing unit is used to:
[0050] If the verification result is that the verification is passed, the target amount of first resources in the second resource account is transferred to the first resource account; or,
[0051] When the verification result is that the verification fails, the target quantity of the first resource in the second resource account is returned to the original account.
[0052] In some embodiments, the processing unit is used to:
[0053] If the verification result is the first verification result, transferring the target amount of first resources in the second resource account to the first resource account; or,
[0054] When the verification result is the second verification result, the first quantity of the first resource in the second resource account is transferred to the first resource account, and the second quantity of the first resource in the second resource account is returned to the original account, and the sum of the first quantity and the second quantity is the target quantity; or
[0055] If the verification result is the third verification result, the target amount of first resources in the second resource account is transferred to the first resource account, and the target amount of first resources in the first resource account is frozen; or,
[0056] When the verification result is the fourth verification result, the target amount of the first resource in the second resource account is returned to the original account.
[0057] In some embodiments, the confirming filling operation is used to indicate that the resource filling operation is performed after converting a third quantity of the second resource into the target quantity of the first resource, the third quantity of the second resource is equal in value to the target quantity of the first resource, and the first resource and the second resource are of different types;
[0058] The first verification subunit is used to fill the third quantity of the second resource into the application resource account of the current application client in response to the confirmation filling operation, and the application resource account is used to store resources belonging to the application client; and fill the target quantity of the first resource into the second resource account.
[0059] In some embodiments, the processing unit is used to transfer the target quantity of first resources in the second resource account to the first resource account, and mark the third quantity of second resources in the application resource account as an abnormal state when the verification result is the fifth verification result.
[0060] In some embodiments, the verification unit comprises:
[0061] The second verification sub-unit is configured to, in response to the confirmation filling operation, fill the first resource account with the target quantity of the first resource, and set the order status of the resource filling order to a verification status, wherein the resource filling order includes the first resource account, the target quantity and the order status, and in the verification status, the target quantity of the first resource in the first resource account is not allowed to be used; and verify the resource filling information.
[0062] In some embodiments, the processing unit is used to:
[0063] If the verification result is that the verification is passed, the order status of the resource filling order is changed to a filling success status, in which the target quantity of the first resource in the first resource account is allowed to be used; or
[0064] When the verification result is that the verification fails, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0065] In some embodiments, the processing unit is used to:
[0066] If the verification result is the first verification result, the order status of the resource filling order is changed to a filling success status, in which the target quantity of the first resource in the first resource account is allowed to be used; or
[0067] In the case where the verification result is the second verification result, the second quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a partial filling success state. In the partial filling success state, the remaining first quantity of the first resource in the first resource account is allowed to be used, and the sum of the first quantity and the second quantity is the target quantity; or
[0068] If the verification result is the third verification result, the order status of the resource filling order is changed to a frozen state, in which the target quantity of the first resource in the first resource account is not allowed to be used; or
[0069] When the verification result is the fourth verification result, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0070] In some embodiments, the confirming filling operation is used to indicate that the resource filling operation is performed after converting a third quantity of the second resource into the target quantity of the first resource, the third quantity of the second resource is equal in value to the target quantity of the first resource, and the first resource and the second resource are of different types;
[0071] The second verification subunit is used to:
[0072] In response to the confirming filling operation, filling the third amount of the second resource into an application resource account of the current application client, the application resource account being used to store resources belonging to the application client;
[0073] The first resource account is filled with the target quantity of the first resource, and the order status of the resource filling order is set to a verification status.
[0074] In some embodiments, the processing unit is used to:
[0075] When the verification result is the fifth verification result, the order status of the resource filling order is changed to a frozen state, in which the target quantity of the first resource in the first resource account is not allowed to be used, or the order status of the resource filling order is changed to a filling success state, in which the target quantity of the first resource in the first resource account is allowed to be used;
[0076] The third number of second resources in the application resource account is marked as being in an abnormal state.
[0077] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0078] processor;
[0079] a memory for storing instructions executable by the processor;
[0080] The processor is configured to execute the instructions to implement the resource filling method as described in the above aspects.
[0081] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the resource filling method as described in the above aspects.
[0082] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the resource filling method as described in the above aspects is implemented.
[0083] The solution provided by the embodiment of the present disclosure does not directly complete the resource filling operation when the confirmation filling operation has been performed. Instead, on the premise that the resource filling operation has not been completed, the resource filling information is first verified, and then the processing operation that matches the verification result is performed on the resources to be filled, thereby delaying the completion of the resource filling operation and avoiding the situation where the user uses the filled resources during the time period when the resource filling operation is completed and the verification operation has not been completed, thereby ensuring the timeliness of the verification operation and improving security.
[0084] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0086] Figure 1 It is a schematic diagram showing an implementation environment according to an exemplary embodiment.
[0087] Figure 2 The figure is a flow chart of a resource filling method according to an exemplary embodiment.
[0088] Figure 3 is a flow chart showing another resource filling method according to an exemplary embodiment.
[0089] Figure 4 The figure is a schematic diagram showing a recharging process according to an exemplary embodiment.
[0090] Figure 5 It is a schematic diagram of a recharge interface according to an exemplary embodiment.
[0091] Figure 6 It is a schematic diagram of an order interface according to an exemplary embodiment.
[0092] Figure 7 It is a schematic diagram of an order details interface according to an exemplary embodiment.
[0093] Figure 8 It is a schematic diagram of another order interface according to an exemplary embodiment.
[0094] Fig. 9 It is a schematic diagram of another order details interface according to an exemplary embodiment.
[0095] Fig.10 It is a schematic diagram of yet another order interface according to an exemplary embodiment.
[0096] Fig.11 It is a schematic diagram of yet another order details interface according to an exemplary embodiment.
[0097] Fig.12 The figure is a flowchart of yet another resource filling method according to an exemplary embodiment.
[0098] Fig.13 The figure is a flowchart of yet another resource filling method according to an exemplary embodiment.
[0099] Fig.14 The figure is a structural block diagram of a resource filling device according to an exemplary embodiment.
[0100] Fig.15 It is a structural block diagram of another resource filling device according to an exemplary embodiment.
[0101] Fig.16 It is a structural block diagram of a terminal according to an exemplary embodiment.
[0102] Fig.17 The figure is a structural block diagram of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0103] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0104] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0105] The user information involved in the present disclosure may be information authorized by the user or fully authorized by all parties.
[0106] Figure 1 is a schematic diagram of an implementation environment according to an exemplary embodiment. Figure 1 , the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected via a wireless or wired network.
[0107] Exemplarily, the terminal 101 is installed with an application client provided by the server 102, and the terminal 101 can realize functions such as video sharing, chatting with friends, watching live broadcasts, online shopping, etc. through the application client. The application client is a social application, a short video application, a shopping application, or other applications, which is not limited in the embodiments of the present disclosure.
[0108] In the disclosed embodiment, the terminal 101 logs in to the user account based on the application client, and creates a resource account corresponding to the user account, thereby storing resources belonging to the user account in the resource account. In addition, a resource filling operation can also be performed to fill resources into the resource account.
[0109] In some embodiments, the terminal 101 displays a resource filling interface, which displays a target quantity, a resource transfer method, a confirmation control, etc. The resource transfer method indicates the original account used to transfer out the resource, and the confirmation control is used to indicate the execution of a resource filling operation. The resource filling operation is an operation of filling the target quantity of the first resource from the original account to the resource account corresponding to the user account. In response to the confirmation operation on the confirmation control, the terminal 101 sends a resource filling request to the server 102, and the resource filling request includes the target quantity, the original account number, etc., and the resource filling request indicates that the terminal 101 has executed the confirmation filling operation. In response to the resource filling request, the server 102 verifies the resource filling information corresponding to the resource filling operation without completing the resource filling operation. Based on the verification result of the resource filling information, the processing operation matching the verification result is performed on the first resource of the target quantity, and the resource filling operation will not be completed directly. In this way, the verification time can be advanced to avoid the situation where the user uses the filled first resource before the verification is completed, thereby ensuring timeliness.
[0110] In some embodiments, the terminal 101 includes a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto.
[0111] In some embodiments, server 102 is an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network) and big data and artificial intelligence platforms, but the embodiments of the present disclosure do not limit this.
[0112] It should be noted that the above implementation environment is only an example, and the embodiments of the present disclosure can also be applied to other implementation environments, which are not limited by the embodiments of the present disclosure.
[0113] Figure 2 is a flow chart of a resource filling method according to an exemplary embodiment. Figure 2 As shown, the method is performed by an electronic device, which may be the above-mentioned Figure 1 The terminal 101 or the server 102 shown in the figure is not limited in the embodiment of the present disclosure. The method includes the following steps.
[0114] In step 201, in response to confirming the filling operation, the electronic device verifies the resource filling information corresponding to the resource filling operation without completing the resource filling operation.
[0115] In an embodiment of the present disclosure, an electronic device logs in to a user account and creates a first resource account corresponding to the user account, and the first resource account is used to store a first resource belonging to the user account. In addition, for ease of distinction, the resources available to the user account are referred to as first resources. For example, the first resource is virtual currency, points, virtual gifts, etc., and the type of the first resource is not limited in the embodiment of the present disclosure. In some embodiments, the embodiment of the present disclosure involves a first resource and a second resource, and the types of the first resource and the second resource are different. In the current application client, only the first resource can be used, and the second resource cannot be used. The second resource can be converted into a first resource and then filled into the resource account corresponding to the user account.
[0116] Among them, the confirmation filling operation is used to indicate the execution of the resource filling operation. The resource filling operation is an operation to fill the first resource account corresponding to the user account with the target quantity of the first resource, that is, the quantity of the first resource will be recorded in the first resource account to indicate that the first resource account currently stores the first resource of the quantity, and filling the first resource account with the target quantity of the first resource means increasing the quantity recorded in the first resource account by the target quantity. According to the normal operation sequence, the electronic device needs to first detect the confirmation filling operation, which means that the user confirms that the resource filling operation can be performed, and then the resource filling operation can be performed according to the instructions of the confirmation filling operation. In the embodiment of the present disclosure, even if the confirmation filling operation has been performed, the resource filling operation is not completed directly, but the resource filling information corresponding to the resource filling operation is verified on the premise that the resource filling operation is not completed. Subsequently, based on the verification result of the resource filling information, it is determined what processing operation to adopt for the target quantity of the first resource, so as to determine whether the resource filling operation can be completed.
[0117] In some embodiments, the resource filling information may describe the resource filling operation of this time, and may reflect whether the resource filling operation of this time is safe. For example, the resource filling information includes the user account, the level of the user account, the target quantity, the original account from which the resources need to be deducted, the time of confirming the filling, etc. When the electronic device verifies the resource filling information, it may verify from one or more aspects such as the security of the user account, the quantity of the first resource to be filled, the security of the original account, the time when the user account performs the resource filling operation, so as to obtain an accurate verification result.
[0118] In other embodiments, the resource filling information to be verified includes not only the resource filling information of the current resource filling operation, but also the resource filling information of the historical resource filling operation of the user account. The electronic device verifies the resource filling information of the user account multiple times, and can verify from one or more aspects such as the security of the user account, the number of first resources to be filled, the total number of first resources filled multiple times, the security of the original account, the time and frequency of the resource filling operation of the user account, so as to obtain an accurate verification result.
[0119] In some embodiments, the filling operation is confirmed to be a payment operation, that is, an operation of deducting resources from the original account to obtain a target amount of the first resource. According to the normal operation sequence, after the electronic device deducts resources equivalent to the target amount of the first resource from the original account, it can perform the resource filling operation to fill the target amount of the first resource into the first resource account corresponding to the user account. However, in order to ensure security, in the embodiments of the present disclosure, after the payment operation is performed, the resource filling information corresponding to the resource filling operation is first verified before the resource filling operation is completed.
[0120] The resource filling process includes the following operations: inputting the target quantity and the resource transfer method, the payment operation and the resource filling operation. Among them, the resource transfer method indicates the original account used to transfer the resources, that is, it indicates which original account the resources need to be deducted from to fill the first resource account. Different resource transfer methods correspond to different original accounts. For example, the resource transfer method may include online banking, indicating that the resources are deducted from the online banking account corresponding to the user account, or the resource transfer method may include a social account, indicating that the resources are deducted from the resource account of the social account corresponding to the user account. In addition, the resource filling information obtained by the electronic device is different at different operation stages. For example, after completing the operation of inputting the target quantity and the resource transfer method, the resource filling information obtained by the electronic device includes the user account and the target quantity, but since the payment operation has not been performed at this time, the resources have not been deducted from the original account, so the relevant information of the original account cannot be obtained. At this time, if the resource filling information is verified, the amount of information verified is small, which will cause the verification result to be inaccurate. After completing the payment operation, the resource filling information obtained by the electronic device may include the user account, target quantity, original account, and may also include relevant information of the original account, such as the level of the original account, the frequency of use of the original account, etc. At this time, if the resource filling information is verified, the amount of information verified can be increased, thereby obtaining a more accurate verification result.
[0121] In step 202, the electronic device performs a processing operation on the target number of first resources that matches the verification result.
[0122] The verification result of the resource filling information may indicate whether the resource filling operation is a safe operation, whether there is a possibility of non-compliance, etc. Based on the verification result, a processing operation matching the verification result may be performed. That is, different verification results indicate different security of the resource filling operation, and different processing operations are performed on the target number of first resources.
[0123] In the embodiment of the present disclosure, the processing operation may include:
[0124] 1. Fill the target quantity of the first resource into the first resource account.
[0125] 2. Return all the target amount of the first resource to the original account.
[0126] 3. A portion of the target amount of the first resource is filled into the first resource account, and the other portion of the first resource is returned to the original account.
[0127] In addition, even if all or part of the first resources in the target number of first resources are filled into the first resource account, the state of the filled resources can be a normal state or a frozen state, wherein the resources in the normal state are allowed to be used by the user account, while the resources in the frozen state are not allowed to be used by the user account. Therefore, the processing operation may also include an operation of adjusting the state of the resources in the first resource account, etc., which is not limited in the embodiments of the present disclosure.
[0128] In some embodiments, the verification results include two types: verification passed and verification failed. The electronic device can set matching processing operations for the two verification results respectively, so as to perform different processing operations for different verification results. Alternatively, the verification result includes multiple verification results of different levels, and the number of verification results is greater than 2, such as the first verification result, the second verification result, the third verification result, the fourth verification result, and the fifth verification result. Each verification result represents a different security level of the resource filling operation, and the electronic device can set matching processing operations for each level of verification results respectively, so as to perform different processing operations for each level of verification results, to ensure that the processing operation matches the level of the verification result and also matches the security level of the resource filling operation.
[0129] In some embodiments, the electronic device obtains the current resource filling information in response to the confirmation of the filling operation, determines whether to perform verification based on the current resource filling information, and if it is determined that verification is not required, performs the resource filling operation, and if it is determined that verification is required, executes steps 201-202. Alternatively, the filling operation is confirmed to be a payment operation, and the electronic device obtains the current resource filling information after performing the operation of inputting the target quantity and the resource transfer method, and before performing the payment operation, determines whether to perform verification based on the current resource filling information, and if it is determined that verification is not required, performs the payment operation and the resource filling operation, and if it is determined that verification is required, performs the payment operation, and executes steps 201-202 in response to the payment operation.
[0130] In some embodiments, the electronic device inputs the current resource filling information into the verification system, and the verification system verifies the current resource filling information to obtain a verification result returned by the verification system.
[0131] The method provided by the embodiment of the present disclosure does not directly complete the resource filling operation when the confirmation filling operation has been performed. Instead, the resource filling information is first verified before the resource filling operation is completed, and then the processing operation that matches the verification result is performed on the resources to be filled is delayed, thereby avoiding the situation where the user uses the filled resources during the time period when the resource filling operation is completed but the verification operation has not been completed, thereby ensuring the timeliness of the verification operation and improving security.
[0132] Above Figure 2 The embodiment shown is only a brief description of the resource filling method. Figure 2 Based on the illustrated embodiment, two methods are provided to ensure that the resource filling operation is not completed before verifying the resource filling information.
[0133] The first method is: in addition to the first resource account, a second resource account is also set for the user account. If the first resource in the second resource account is not allowed to be used by the user account, the second resource account is used as a transition account, and the first resource to be filled is first filled into the second resource account instead of the first resource account. After the verification operation is completed, it is determined whether to transfer the first resource in the second resource account to the first resource account.
[0134] The second method is to fill the first resource to be filled into the first resource account, but not allow the user account to use the first resource filled this time. After the verification operation is completed, it is determined whether to allow the use of the first resource filled this time.
[0135] The following Figure 3 and Fig.12The embodiments shown will respectively describe the above two methods in detail.
[0136] Figure 3 is a flowchart of another resource filling method according to an exemplary embodiment. Figure 3 As shown, the method is executed by an electronic device, and the method includes the following steps.
[0137] In step 301, in response to confirming the filling operation, the electronic device fills the target amount of the first resource into the second resource account corresponding to the user account without filling the target amount of the first resource into the first resource account, and the first resource in the second resource account is not allowed to be used by the user account.
[0138] The first resource in the first resource account is allowed to be used by the user account under normal conditions, so when the electronic device uses the user account to perform operations such as purchasing items, transferring money, and sending gifts to a friend's account, the first resource in the first resource account can be used. However, the first resource in the second resource account is not allowed to be used by the user account, that is, when the electronic device uses the user account to perform operations that require the use of the first resource, the first resource in the second resource account cannot be used.
[0139] In some embodiments, although the second resource account corresponds to the user account, it cannot be displayed by the user account, that is, the second resource account is a hidden resource account. Even if the user logs in to the user account on the electronic device, the second resource account cannot be viewed, and the number of first resources in the second resource account cannot be known. In other embodiments, the second resource account is similar to the first resource account, and both are resource accounts that can be displayed by the user account. The user logs in to the user account on the electronic device and can view the number of first resources in the first resource account, and can also view the number of first resources in the second resource account.
[0140] In the disclosed embodiment, the confirmation filling operation is used to indicate the execution of the resource filling operation, and the resource filling operation is an operation of filling the first resource account corresponding to the user account with the target amount of the first resource. If the electronic device directly performs the resource filling operation in response to the confirmation filling operation, and fills the target amount of the first resource into the first resource account, it will allow the user to use the filled first resource before the verification result is obtained, which brings security risks. Therefore, the second resource account is used as a transition account, and the electronic device responds to the confirmation filling operation, and does not fill the target amount of the first resource into the first resource account, but fills the target amount of the first resource into the second resource account, thereby ensuring that the user account is temporarily unable to use the filled first resource.
[0141] In step 302, the electronic device verifies the resource filling information corresponding to the resource filling operation.
[0142] In some embodiments, the electronic device inputs the resource filling information into the verification system, and the verification system verifies the resource filling information to obtain a verification result returned by the verification system.
[0143] In step 303, the electronic device performs a processing operation on the target number of first resources that matches the verification result.
[0144] In some embodiments, the processing operations may include:
[0145] 1. Fill the target quantity of the first resource into the first resource account.
[0146] 2. Return all the target amount of the first resource to the original account.
[0147] 3. A portion of the target amount of the first resource is filled into the first resource account, and the other portion of the first resource is returned to the original account.
[0148] In some embodiments, the verification results include two types: verification passed and verification failed. The electronic device can set matching processing operations for the two verification results respectively, so as to perform different processing operations for different verification results. Then step 303 can include the following steps 3031 or 3032:
[0149] 3031. If the verification result is that the verification is passed, transfer the target amount of first resources in the second resource account to the first resource account.
[0150] If the resource filling information verification passes, it means that this resource filling operation is a safe operation and there is no security risk. Then, the target number of first resources in the second resource account is transferred to the first resource account so that the user account can use these first resources later.
[0151] 3032. When the verification result is that the verification fails, return the target quantity of the first resource in the second resource account to the original account.
[0152] If the resource filling information verification fails, it means that the resource filling operation is not a safe operation and there may be security risks. In this case, the resources in the second resource account will be returned to the original account.
[0153] In the disclosed embodiment, the verification results are divided into two situations: verification passed and verification failed. If the verification passes, the target quantity of the first resource in the second resource account can be transferred to the first resource account, and the resource filling operation is successfully completed. If the verification fails, the target quantity of the first resource in the second resource account is returned to the original account, thereby enhancing the management of filling resources, avoiding security risks, and improving security.
[0154] In some embodiments, the verification result includes multiple verification results of different levels, the number of verification results is greater than 2, and each verification result represents a different security level of the resource filling operation. Then the electronic device can set a matching processing operation for each level of verification result, so as to perform different processing operations for each level of verification result, to ensure that the processing operation matches the level of the verification result and the security level of the resource filling operation. Then step 303 can include any one of the following steps 3033 to 3036:
[0155] 3033. When the verification result is the first verification result, transfer the target amount of the first resource in the second resource account to the first resource account.
[0156] Among them, the first verification result is the highest-level verification result among multiple verification results set by the electronic device. The first verification result indicates that the current resource filling operation is a safe operation and there is no security risk. Therefore, the target number of first resources is transferred to the first resource account to ensure that subsequent user accounts can use these first resources normally.
[0157] In some embodiments, the first resource in the first resource account is set with a corresponding status, which can be a normal status or a frozen status to indicate whether the corresponding first resource is allowed to be used normally or not. Step 3033 includes: when the verification result is the first verification result, the target quantity of first resources in the second resource account is transferred to the first resource account, and the target quantity of first resources in the first resource account is set to a normal status.
[0158] Alternatively, step 3033 includes: when the verification result is the first verification result, transferring the target amount of first resources in the second resource account to the first resource account, setting the first amount of first resources in the first resource account to a normal state, setting the second amount of first resources to a frozen state, and the sum of the first amount and the second amount being the target amount. The user account of the first amount of first resources can be used normally, while the second amount of first resources is frozen and is not allowed to be used by the user account, so as to ensure that the amount of first resources that can be used is not too much, thereby reducing security risks.
[0159] Exemplarily, the first quantity and the second quantity can be determined according to a preset ratio, that is, for the first resource that needs to be filled each time, when the verification result is the first verification result, the target quantity of the first resource can be divided into the first quantity and the second quantity according to this preset ratio, so that the ratio between the first quantity and the second quantity is equal to the preset ratio, thereby dividing the target quantity of the first resource into two parts.
[0160] Exemplarily, the electronic device can set the maximum number of first verification results that can be filled, that is, the preset number. Then, when the verification result is the first verification result, if the target number is greater than the preset number, after the target number of first resources in the second resource account is transferred to the first resource account, the first number of first resources is set to a normal state, and the second number of first resources is frozen. The first number can be equal to the target number, or the first number can be less than the target number, and the second number is the difference between the target number and the first number. If the target number is not greater than the preset number, it means that the target number of the first resource that needs to be filled this time does not exceed the preset number. Even if there is a security risk, it will not cause a major security problem. Therefore, the target number of first resources in the second resource account is transferred to the first resource account, and the target number of first resources is set to a normal state.
[0161] 3034. When the verification result is the second verification result, the first quantity of the first resource in the second resource account is transferred to the first resource account, and the second quantity of the first resource in the second resource account is returned to the original account, and the sum of the first quantity and the second quantity is the target quantity.
[0162] Among them, the level of the second verification result is lower than the level of the first verification result. The second verification result indicates that this resource filling operation is not a safe operation and there may be security risks. Therefore, the target number of first resources is divided into two parts, and the first number of first resources is transferred to the first resource account to ensure that subsequent user accounts can use these first resources normally, and the second number of first resources is returned to the original account to ensure that the number of first resources filled this time is not too much, thereby reducing security risks.
[0163] Exemplarily, the first quantity and the second quantity can be determined according to a preset ratio, that is, for each time the first resource needs to be filled, when the verification result is the second verification result, the target quantity of the first resource can be divided into the first quantity and the second quantity according to this preset ratio, so that the ratio between the first quantity and the second quantity is equal to the preset ratio, thereby dividing the target quantity of the first resource into two parts.
[0164] Exemplarily, the electronic device can set the maximum number of allowed fillings for the second verification result, that is, the preset number. Then, when the verification result is the second verification result, if the target number is greater than the preset number, the first resource of the first number in the second resource account is transferred to the first resource account, and the second number of the first resource in the second resource account is returned to the original account. The first number can be equal to the target number, or the first number can be less than the target number, and the second number is the difference between the target number and the first number. If the target number is not greater than the preset number, it means that the target number of the first resource that needs to be filled this time does not exceed the preset number. Even if there is a security risk, it will not cause a major security problem. Therefore, the target number of the first resource in the second resource account can be transferred to the first resource account.
[0165] 3035. When the verification result is the third verification result, the target amount of first resources in the second resource account is transferred to the first resource account, and the target amount of first resources in the first resource account is frozen.
[0166] Among them, the level of the third verification result is lower than the level of the first verification result, and the third verification result indicates that the resource filling operation is not a safe operation and may have security risks. Therefore, the target number of first resources are transferred to the first resource account, but these first resources are frozen first to ensure that subsequent user accounts cannot use these first resources normally. The first resources can be unfrozen later by a technician or based on a verification operation of a user account, and only after the first resources are unfrozen can the user account be allowed to use these first resources normally.
[0167] In the case where the second verification result and the third verification result are different verification results, the disclosed embodiment does not limit the level of the second verification result and the third verification result. For example, the level of the second verification result and the third verification result can be the same, but the matching processing operations are different. In addition, the second verification result and the third verification result can also be the same verification result, that is, when the electronic device obtains the second verification result (i.e., the third verification result), it can perform either step 3034 or 3035.
[0168] 3036. When the verification result is the fourth verification result, return the target quantity of the first resource in the second resource account to the original account.
[0169] Among them, the level of the fourth verification result is lower than the levels of the first verification result, the second verification result and the third verification result. The fourth verification result indicates that the current resource filling operation is not a safe operation and there is a great possibility of security risks. Therefore, the resource filling operation is not allowed, and the target quantity of the first resource in the second resource account needs to be returned to the original account.
[0170] It should be noted that the embodiments of the present disclosure only use the above four verification results as examples to illustrate the processing operations. The embodiments of the present disclosure may also include other verification results and matching processing operations, which are not limited in the embodiments of the present disclosure.
[0171] In the disclosed embodiment, the verification result includes multiple verification results of different levels, and the number of verification results is greater than 2. Each verification result represents a different security level of the resource filling operation. Different processing operations are performed for each level of verification result to ensure that the processing operation matches the level of the verification result and the security level of the resource filling operation. The granularity of the verification result is refined and the accuracy of the processing operation is improved, which can avoid the impact on the user's normal resource filling operation due to excessive management intensity, and avoid the security risks caused by insufficient management intensity.
[0172] In some embodiments, the confirmation filling operation is used to indicate that the resource filling operation is performed after converting the third quantity of the second resource into the target quantity of the first resource, the third quantity of the second resource is equal in value to the target quantity of the first resource, and the first resource and the second resource are of different types. The ratio between the third quantity and the target quantity may represent the ratio between the value of the unit quantity of the first resource and the unit quantity of the second resource, for example, if the third quantity is equal to the target quantity, then the ratio between the unit value of the unit quantity of the first resource and the unit quantity of the second resource is 1:1, or, if the ratio between the third quantity and the target quantity is 2:1, then the ratio between the unit value of the unit quantity of the first resource and the unit quantity of the second resource is 2:1.
[0173] For example, the second resource can be physical currency, virtual currency different from the first resource, virtual gifts different from the first resource, or points different from the first resource, etc., which are not limited in the embodiments of the present disclosure. The second resource cannot be used directly and needs to be converted into an equivalent first resource before it can be used.
[0174] In this case, step 301 includes the following step 3011:
[0175] 3011. In response to confirming the filling operation, fill an application resource account of the current application client with a third amount of the second resource, where the application resource account is used to store resources belonging to the application client; and fill a second resource account with a target amount of the first resource.
[0176] Among them, the current application client is the client that logs in the user account in the electronic device, and the electronic device performs resource filling operations or other operations through the application client. The application client is provided with an application resource account, which is used to store the second resource, and the application client has the function of issuing the first resource to the resource account corresponding to the user account, so the application resource account can be used as a transfer account to realize the equivalent conversion of the first resource and the second resource. Therefore, in response to confirming the filling operation, the electronic device fills the third amount of the second resource transferred from the original account corresponding to the user account into the application resource account, and issues the target amount of the first resource to the second resource account corresponding to the user account, so as to maintain the effect that the obtained resources are equivalent to the issued resources, and avoid resource loss due to the inequality between the obtained resources and the issued resources.
[0177] Exemplarily, based on the executed step 3011, in step 3032, the process of returning the first quantity of the target quantity in the second resource account to the original account includes: deducting the target quantity of the first resource from the second resource account, and transferring the third quantity of the second resource from the application resource account to the original account.
[0178] Similarly, in step 3034, returning the second quantity of the first resource in the second resource account to the original account includes: deducting the second quantity of the first resource from the second resource account, and transferring the second resource equivalent to the second quantity of the first resource from the application resource account to the original account.
[0179] Exemplarily, step 303 may further include the following steps 3037:
[0180] 3037. When the verification result is the fifth verification result, transfer the target quantity of the first resources in the second resource account to the first resource account, and mark the third quantity of the second resources in the application resource account as abnormal.
[0181] Among them, the level of the fifth verification result is lower than the level of the first verification result. The fifth verification result indicates that this resource filling operation may not be a safe operation and there may be security risks. Therefore, the target number of first resources in the second resource account is transferred to the first resource account, thereby completing the resource filling operation. However, it is also necessary to mark the second resources filled in the application resource account as abnormal to remind the owner of the application client that these second resources are abnormal and cannot be used at will. Therefore, the embodiment of the present disclosure takes into account that the third number of second resources in the original account has been transferred to the application resource account, and the third number of second resources are the original resources transferred by the user. Therefore, the third number of second resources is also marked as abnormal, and the owner of the application client is promptly reminded that there is an abnormality in this resource. The management scope is more comprehensive, and security is further improved.
[0182] In some embodiments, the first resource in the first resource account is set with a corresponding status, which can be a normal status or a frozen status to indicate whether the corresponding first resource is allowed to be used normally or not. Step 3037 includes: when the verification result is the fifth verification result, the target quantity of first resources in the second resource account is transferred to the first resource account, the target quantity of first resources in the first resource account is set to a frozen status, and the third quantity of second resources in the application resource account is marked as an abnormal status.
[0183] It should be noted that the embodiment of the present disclosure is only an example in which the execution subject is an electronic device. The electronic device may be a terminal, or the electronic device may include a terminal and a server. The resource filling method provided by the embodiment of the present disclosure is implemented through the interaction between the terminal and the server. For example, in response to confirming the filling operation, the terminal sends a resource filling request to the server. The resource filling request carries the target quantity and the user account logged in by the terminal. The server responds to the resource filling request, performs the operations in steps 301-303, and sends the processing results to the terminal. The terminal receives the processing results returned by the server and displays the processing result interface. The user can view the processing results in the processing result interface to understand whether the resource filling operation is successful, the quantity of the first resource filled in the first resource account, and other information.
[0184] Figure 4 is a schematic diagram showing a recharge process according to an exemplary embodiment. Figure 4 As shown, the recharge process includes:
[0185] In step 401, the user determines the recharge amount and payment method in the recharge interface displayed on the terminal, and after clicking the confirmation control, the terminal sends a payment request to the server.
[0186] The recharge interface may also display the balance in the main account (ie, the first resource account) corresponding to the user account. For example, the balance in the main account is 0 at this time.
[0187] See also Figure 5 Taking the live broadcast scenario as an example, in the live broadcast room, the user can give gifts to the anchor. When the anchor selects a gift, but the balance in the main account corresponding to the user account is less than the amount required to give the gift, the recharge interface is displayed in the live broadcast room. In the recharge interface, you can select the recharge amount (50, 100 or 200) or enter the recharge amount in the input box, and select the payment method used for this recharge from a variety of payment methods, and then click the confirmation control to initiate the recharge process.
[0188] In step 402, the server responds to the payment request, obtains the recharge information corresponding to the user account logged in by the terminal, inputs the recharge information into the verification system, and the verification system verifies the recharge information to obtain a verification result.
[0189] In step 403, if the verification result indicates that the recharge operation needs to be intercepted before payment, the payment operation and the recharge operation are canceled.
[0190] In step 404, if the verification result indicates that the recharge operation does not need to be intercepted before payment, the payment operation is performed according to the selected payment method.
[0191] In addition, the recharge process also includes:
[0192] In step 405, if the verification result indicates that the recharge operation can be performed normally, after the payment operation is performed, the main account corresponding to the user account is recharged according to the selected recharge amount, the order status of the recharge order is set to the recharge success status, and the recharge process ends.
[0193] Taking the recharge amount as 100 as an example, the balance of the main account is 100.
[0194] See also Figure 6 The order interface displays one or more orders of the user account, including recharge orders. The order interface displays brief information of the recharge order, including order type (i.e. recharge type), recharge time, recharge amount and order status. The order status is "recharge successful", indicating that the recharge has been successful.
[0195] See also Figure 7 The order details interface displays the details of the recharge order, including the order type (i.e. recharge type), recharge time, recharge amount, order number, and order status. The order status is "recharge successful", indicating that the recharge has been successful.
[0196] In step 406, if the verification result indicates that the recharge operation needs to be delayed, then after the payment operation, the shadow account (i.e., the second resource account) corresponding to the user account is recharged, the order status of the recharge order is set to the verification status, and the current recharge information is obtained, and the recharge information is input into the verification system, and the verification system verifies the recharge information.
[0197] Taking the recharge amount as 100 as an example, the balance of the main account is 0 and the balance of the shadow account is 100.
[0198] See also Figure 8 and Fig. 9In the order interface or order details interface, the order status of the recharge order is displayed. The order status is "Recharge under review", which means that the recharge information is currently being verified and the recharge has not been successful.
[0199] In step 407, the verification result returned by the verification system is received. If the verification is successful, the recharge amount is transferred from the shadow account to the main account, and the order status of the recharge order is set to the recharge success status. At this time, the balance of the main account is 100, and the balance of the shadow account is 0. The recharge process ends. If the verification fails, the recharge amount is returned from the shadow account to the original account used for payment, and the order status of the recharge order is set to the refund status. At this time, the balance of the main account is 0, the balance of the shadow account is 0, and the recharge process ends.
[0200] Among them, the refund status may include the refund processing status and the refund success status. After initiating a refund, the order status of the recharge order is set to the refund processing status. After confirming that the refund is successful, the order status of the recharge order is set to the refund success status.
[0201] See also Fig.10 and Fig.11 In the order interface or order details interface, the order status of the recharge order is displayed. The order status is "Refund Successful", which means that the recharge amount has been refunded and the recharge has failed.
[0202] It can be seen from the above steps 402 and 406 that the electronic device can be verified twice. The first verification occurs before the payment operation is performed. The verified recharge information may include information such as the user account, recharge amount, and recharge method, but cannot include payment information, such as information of the original account used for payment. Due to the small amount of information, the verification result obtained by the verification system is not completely accurate. At this time, there are three types of verification results. The first is that the verification fails, and the recharge operation needs to be intercepted before payment. The second is that the verification passes, and the recharge operation does not need to be intercepted before payment, and the recharge operation can be performed normally. The third is that it is not sure whether the verification can pass, that is, the verification result is doubtful, so the recharge operation does not need to be intercepted before payment, but the recharge operation needs to be delayed for the second verification.
[0203] The second verification occurs after the payment operation is performed. The verified recharge information may include payment information, such as information of the original account used for payment. The amount of information increases, and the verification result obtained by the verification system is accurate. Therefore, whether the recharge is successful can be determined based on the verification result of the second verification.
[0204] The method provided by the embodiment of the present disclosure does not directly fill the first resource into the first resource account corresponding to the user account when the confirmation filling operation has been performed, but first fills it into the second resource account corresponding to the user account, verifies the resource filling information, and then automatically performs a processing operation matching the verification result on the first resource filled in the second resource account to determine whether to fill the first resource into the first resource account, thereby delaying the completion of the resource filling operation, avoiding the situation where the user uses the filled resource within the verification time period, ensuring the timeliness of the verification operation, and thus improving security.
[0205] Fig.12 is a flowchart of another resource filling method according to an exemplary embodiment. Fig.12 As shown, the method is executed by an electronic device, and the method includes the following steps.
[0206] In step 1201, in response to confirming the filling operation, the electronic device fills a target amount of the first resource into the first resource account and sets the order status of the resource filling order to a verification status.
[0207] In the disclosed embodiment, the confirmation filling operation is used to indicate the execution of the resource filling operation, and the resource filling operation is an operation of filling the first resource account corresponding to the user account with the target amount of the first resource. Then, in response to the confirmation filling operation, the electronic device will fill the first resource account with the target amount of the first resource. However, in order to improve security and prevent the user from using the filled first resource during the time period before the verification operation is completed, the electronic device will also obtain a resource filling order and set the order status of the resource filling order to the verification status, wherein the resource filling order includes the first resource account, the target amount and the order status. In the verification status, the target amount of the first resource in the first resource account is not allowed to be used.
[0208] In step 1202, the electronic device verifies the resource filling information.
[0209] The electronic device verifies the resource filling information when the order status is in the verification status. Although the electronic device has performed the resource filling operation at this time, since the first resource filled does not allow the user account to use it, that is, the resource filling operation is not actually completed, it achieves the effect of "verifying the resource filling information without completing the resource filling operation."
[0210] In some embodiments, the electronic device inputs the resource filling information into the verification system, and the verification system verifies the resource filling information to obtain a verification result returned by the verification system.
[0211] In step 1203, the electronic device performs a processing operation on the target number of first resources that matches the verification result.
[0212] In some embodiments, the verification results include two types: verification passed and verification failed. The electronic device can set matching processing operations for the two verification results respectively, so as to perform different processing operations for different verification results. Then step 1203 can include the following steps 12031 or 12032:
[0213] 12031. When the verification result is passed, the order status of the resource filling order is changed to a filling success status. In the filling success status, the target quantity of the first resource in the first resource account is allowed to be used.
[0214] If the resource filling information verification is passed, it means that this resource filling operation is a safe operation and there is no security risk. The order status of the resource filling order is changed to the filling success status. At this time, the resource filling operation is truly completed, and the user account can subsequently use these first resources.
[0215] 12032. When the verification result is failure, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0216] If the resource filling information verification fails, it means that the current resource filling operation is not a safe operation and there may be security risks. In this case, the target quantity of the first resource in the first resource account will be returned to the original account to cancel the resource filling operation, and the order status of the resource filling order will be changed to the returned status to ensure that the order status is consistent with the actual status of the resource filling order.
[0217] In the disclosed embodiment, the verification results are divided into two situations: verification passed and verification failed. If the verification passes, the order status of the resource filling order can be changed to a filling success status, that is, the resource filling operation is successfully completed, so that the user account can use the filled first resource. If the verification fails, the order status of the resource filling order is changed to a returned status, thereby canceling the resource filling operation, thereby enhancing the management of the filled first resource, avoiding security risks, and improving security.
[0218] In some embodiments, the verification result includes multiple verification results of different levels, the number of verification results is greater than 2, and each verification result represents a different security level of the resource filling operation. Then the electronic device can set a matching processing operation for each level of verification result, so as to perform different processing operations for each level of verification result, to ensure that the processing operation matches the level of the verification result and the security level of the resource filling operation. Then step 1203 includes any one of the following steps 12033 to 12036:
[0219] 12033. When the verification result is the first verification result, the order status of the resource filling order is changed to a filling success status. In the filling success status, the target quantity of the first resource in the first resource account is allowed to be used.
[0220] Among them, the first verification result is the highest-level verification result among multiple verification results set by the electronic device. The first verification result indicates that the current resource filling operation is a safe operation and there is no security risk. Therefore, the order status of the resource filling order is changed to a filling success status to ensure that subsequent user accounts can use these first resources normally.
[0221] 12034. When the verification result is the second verification result, the second quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a partial filling success status. In the partial filling success status, the remaining first quantity of the first resource in the first resource account is allowed to be used, and the sum of the first quantity and the second quantity is the target quantity.
[0222] Among them, the level of the second verification result is lower than the level of the first verification result. The second verification result indicates that this resource filling operation is not a safe operation and there may be security risks. Therefore, the target number of first resources is divided into two parts, the first number of first resources is retained in the first resource account, and the second number of first resources is returned to the original account, and the order status of the resource filling order is changed to a partially filled successful status to ensure that subsequent user accounts can use these first resources normally, and to ensure that the number of first resources filled this time is not too much, thereby reducing security risks.
[0223] Exemplarily, the first quantity and the second quantity can be determined according to a preset ratio, that is, for each time the first resource needs to be filled, when the verification result is the second verification result, the target quantity of the first resource can be divided into the first quantity and the second quantity according to this preset ratio, so that the ratio between the first quantity and the second quantity is equal to the preset ratio, thereby dividing the target quantity of the first resource into two parts.
[0224] Exemplarily, the electronic device can set the maximum quantity that can be filled according to the second verification result, that is, the preset quantity. Then, when the verification result is the second verification result, if the target quantity is greater than the preset quantity, the first resource of the first quantity is retained in the first resource account, the second quantity of the first resource is returned to the original account, and the order status of the resource filling order is changed to a partially filled successful state. The first quantity can be equal to the target quantity, or the first quantity can be less than the target quantity, and the second quantity is the difference between the target quantity and the first quantity. If the target quantity is not greater than the preset quantity, it means that the target quantity of the first resource that needs to be filled this time does not exceed the preset quantity. Even if there is a security risk, it will not cause a major security problem. Therefore, the target quantity of the first resource is retained in the first resource account, and the order status of the resource filling order is changed to a filled successful state.
[0225] 12035. When the verification result is the third verification result, the order status of the resource filling order is changed to a frozen status. In the frozen status, the target quantity of the first resource in the first resource account is not allowed to be used.
[0226] The level of the third verification result is lower than that of the first verification result, and the third verification result indicates that the resource filling operation is not a safe operation and may involve security risks. Therefore, the order status of the resource filling order is changed to a frozen state to ensure that subsequent user accounts cannot use these first resources normally. The first resources can be unfrozen later by a technician or based on a verification operation of a user account, and only after the first resources are unfrozen can the user account be allowed to use these first resources normally.
[0227] In the case where the second verification result and the third verification result are different verification results, the disclosed embodiment does not limit the level of the second verification result and the third verification result. For example, the level of the second verification result and the third verification result can be the same, but the matching processing operations are different. In addition, the second verification result and the third verification result can also be the same verification result, that is, when the electronic device obtains the second verification result (i.e., the third verification result), it can perform either step 12034 or 12035.
[0228] 12036. When the verification result is the fourth verification result, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0229] Among them, the level of the fourth verification result is lower than the levels of the first verification result, the second verification result and the third verification result. The fourth verification result indicates that the current resource filling operation is not a safe operation and there is a great possibility of security risks. Therefore, the resource filling operation is not allowed. The target quantity of the first resource in the first resource account needs to be returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0230] In the disclosed embodiment, the verification result includes multiple verification results of different levels, and the number of verification results is greater than 2. Each verification result represents a different security level of the resource filling operation. Different processing operations are performed for each level of verification result to ensure that the processing operation matches the level of the verification result and the security level of the resource filling operation. The granularity of the verification result is refined and the accuracy of the processing operation is improved, which can avoid the impact on the user's normal resource filling operation due to excessive management intensity, and avoid the security risks caused by insufficient management intensity.
[0231] It should be noted that the embodiments of the present disclosure only use the above four verification results as examples to illustrate the processing operations. The embodiments of the present disclosure may also include other verification results and matching processing operations, which are not limited in the embodiments of the present disclosure.
[0232] In some embodiments, the confirmation filling operation is used to indicate that the resource filling operation is performed after converting the third quantity of the second resource into the target quantity of the first resource, the third quantity of the second resource is equal in value to the target quantity of the first resource, and the first resource and the second resource are of different types. The ratio between the third quantity and the target quantity may represent the ratio between the value of the unit quantity of the first resource and the unit quantity of the second resource, for example, if the third quantity is equal to the target quantity, then the ratio between the unit value of the unit quantity of the first resource and the unit quantity of the second resource is 1:1, or, if the ratio between the third quantity and the target quantity is 2:1, then the ratio between the unit value of the unit quantity of the first resource and the unit quantity of the second resource is 2:1.
[0233] For example, the second resource can be physical currency, virtual currency different from the first resource, virtual gifts different from the first resource, or points different from the first resource, etc., which are not limited in the embodiments of the present disclosure. The second resource cannot be used directly and needs to be converted into an equivalent first resource before it can be used.
[0234] In this case, step 1201 includes the following step 12011:
[0235] 12011. In response to confirming the filling operation, fill the third quantity of the second resource into the application resource account of the current application client, the application resource account is used to store resources belonging to the application client; fill the target quantity of the first resource into the first resource account, and set the order status of the resource filling order to the verification status.
[0236] Among them, the current application client is the client that logs in the user account in the electronic device, and the electronic device performs resource filling operations or other operations through the application client. The application client is provided with an application resource account, which is used to store the second resource, and the application client has the function of issuing the first resource to the resource account corresponding to the user account, so the application resource account can be used as a transfer account to realize the equivalent conversion of the first resource and the second resource. Therefore, in response to confirming the filling operation, the electronic device fills the third amount of the second resource transferred from the original account corresponding to the user account into the application resource account, and issues the target amount of the first resource to the first resource account corresponding to the user account, maintaining the effect that the obtained resources are equivalent to the issued resources, and avoiding resource loss due to the inequality of the obtained resources and the issued resources. In order to avoid the user account from using the filled first resource, the order status of the resource filling order is set to the verification status, thereby improving security.
[0237] Exemplarily, based on the executed step 12011, in step 12032, the process of returning the target quantity of the first quantity in the first resource account to the original account includes: deducting the target quantity of the first resource from the first resource account, and transferring the third quantity of the second resource from the application resource account to the original account.
[0238] Similarly, in step 12034, returning the second quantity of the first resource in the first resource account to the original account includes: deducting the second quantity of the first resource from the first resource account, and transferring the second resource equivalent to the second quantity of the first resource from the application resource account to the original account.
[0239] Exemplarily, step 303 may further include the following steps 12037:
[0240] 12037. If the verification result is the fifth verification result, the order status of the resource filling order is changed to a frozen state, in which the target quantity of the first resource in the first resource account is not allowed to be used, or the order status of the resource filling order is changed to a filling success state, in which the target quantity of the first resource in the first resource account is allowed to be used. In addition, the third quantity of the second resource in the application resource account is marked as an abnormal state.
[0241] Among them, the level of the fifth verification result is lower than the level of the first verification result. The fifth verification result indicates that the resource filling operation may not be a safe operation and may involve security risks. Therefore, the order status of the resource filling order is changed to a frozen state, thereby freezing the target number of first resources, and marking the second resources filled in the application resource account as abnormal, to remind the owner of the application client that these second resources are abnormal and cannot be used at will. Alternatively, the order status of the resource filling order is changed to a filling success state, to allow the user account to use the target number of first resources, and marking the second resources filled in the application resource account as abnormal, to remind the owner of the application client that these second resources are abnormal and cannot be used at will.
[0242] Therefore, the embodiment of the present disclosure takes into account that the third quantity of second resources in the original account has been transferred to the application resource account, and the third quantity of second resources are the original resources transferred by the user. Therefore, the third quantity of second resources is also marked as abnormal, and the owner of the application client is promptly reminded that there is an abnormality in this resource. The management scope is more comprehensive, and security is further improved.
[0243] It should be noted that the embodiment of the present disclosure is only based on the execution subject being an electronic device as an example. The electronic device may be a terminal, or the electronic device may also include a terminal and a server. The resource filling method provided by the embodiment of the present disclosure is implemented through the interaction between the terminal and the server. For example, in response to the confirmation filling operation, the terminal sends a resource filling request to the server. The resource filling request carries the target quantity and the user account logged in by the terminal. In response to the resource filling request, the server performs the operations in steps 1201-1203 and sends the processing results to the terminal. The terminal receives the processing results returned by the server and displays the processing result interface. The user can view the processing results in the processing result interface to understand whether the resource filling operation is successful, the quantity of the first resource filled in the first resource account, and other information. In addition, the terminal can also display an order interface or an order details interface. The order interface or the order details interface displays the latest order status of the resource filling order, and the user can view the latest order status.
[0244] The method provided by the embodiment of the present disclosure, when the confirmation filling operation has been performed, although the first resource is filled into the first resource account corresponding to the user account, the order status of the resource filling order is set to the verification status, so that the first resource filled in the first resource account is not allowed to be used. In addition, the resource filling information is verified, and then the resource to be filled is processed to match the verification result to determine whether the first resource filled is allowed to be used, which delays the completion of the resource filling operation, avoids the situation where the user uses the filled resource within the verification time period, ensures the timeliness of the verification operation, and thus improves security.
[0245] The disclosed embodiment also provides another resource filling method. Fig.13 is a flowchart of another resource filling method according to an exemplary embodiment. Fig.13 As shown, the method is executed by an electronic device, and the method includes the following steps.
[0246] In step 1301, the electronic device displays a resource filling interface, which displays a target quantity, a resource transfer method, and a confirmation control, and the resource transfer method indicates an original account used to transfer the resources.
[0247] The resource filling interface is used by users to set resource filling information. When the electronic device logs in to the user account, the resource filling interface is displayed to indicate that the first resource account corresponding to the user account is to be filled with the first resource. The resource filling information can be set through the resource filling interface. The resource filling information includes the target quantity and resource transfer method.
[0248] Among them, the target quantity represents the quantity of the first resource that needs to be filled. The target quantity can be displayed by default in the resource filling interface and can also be adjusted by the user, or the user can delete the target quantity and enter a new target quantity in the area where the target quantity is located. The embodiment of the present disclosure does not limit the input method of the target quantity.
[0249] In addition, one or more resource transfer methods may be provided in the resource filling interface. Each resource transfer method represents a method for transferring resources and indicates the original account used to transfer resources, that is, from which original account the resources need to be deducted to fill the resource account corresponding to the user account. For example, if the resource transfer method is online banking, it means that the resources need to be transferred from the online banking account. If the resource transfer method is social application client, it means that the resources need to be transferred from the resource account in the social application client. The user can select the resource transfer method used this time from one or more resource transfer methods currently displayed.
[0250] In addition, the resource filling information may also include information such as the current quantity of the first resource in the resource account corresponding to the user account, the scheduled filling time, and the historical filling record, which is not limited in the embodiments of the present disclosure.
[0251] A confirmation control is also displayed in the resource filling interface. After the user completes setting the resource filling information, the confirmation control can be triggered to instruct the electronic device to perform a resource filling operation.
[0252] In some embodiments, the electronic device displays a fill control based on the homepage or function interface of the current application client, and displays a resource fill interface in response to a trigger operation on the fill control. Alternatively, the electronic device displays a resource fill interface when performing an operation that requires deducting a first resource, but determines that the amount of the first resource in the resource account is less than the amount required to be deducted. For example, the electronic device displays a live broadcast interface, and in response to an operation of giving a gift to the anchor account corresponding to the live broadcast interface, the first resource in the resource account is required to purchase the gift, but the amount of the first resource in the resource account is less than the amount required to purchase the gift, and then displays a resource fill interface. At this time, the resource fill interface can be located on the upper layer of the live broadcast interface, covering a portion of the live broadcast interface.
[0253] In step 1302, the electronic device displays a processing result interface of the resource filling operation in response to the triggering operation on the confirmation control.
[0254] Among them, the resource filling operation is an operation of filling the target quantity of the first resource from the original account to the resource account corresponding to the user account. The processing operation of the target quantity of the first resource is displayed in the processing result interface. The processing operation matches the verification result of the resource filling information. The verification result is obtained on the premise that the resource filling operation has not been completed.
[0255] That is, the electronic device verifies the resource filling information without completing the resource filling operation, obtains a verification result, and then performs a processing operation matching the verification result on the target number of first resources.
[0256] In some embodiments, the triggering operation of the confirmation control is a confirmation filling operation. In response to the triggering operation of the confirmation control, the electronic device can initiate a process of executing the resource filling operation and display a processing result interface of the resource filling operation.
[0257] In other embodiments, the resource filling process includes the following operations: inputting the target quantity and resource transfer method, payment operation and resource filling operation. In response to the triggering operation of the confirmation control, the electronic device first displays the payment interface, which includes the target quantity, the original account and the confirmation payment control. Then, in response to the triggering operation of the confirmation payment control, the electronic device deducts the third quantity of the second resource from the original account, and the third quantity of the second resource is equivalent to the target quantity of the first resource. At this time, the confirmation filling operation is completed, and then after the confirmation filling operation is completed, the process of executing the resource filling operation can be initiated, and the processing result interface of the resource filling operation is displayed.
[0258] The process of the electronic device performing the verification operation and the processing operation matching the verification result is the same as the above-mentioned embodiment, and will not be described in detail here. In some embodiments, if the resource filling information is currently being verified, the processing operation displayed in the processing result interface is the verification operation, or if the resource filling information has been verified and a matching processing operation is performed based on the verification result, the processing operation matching the verification result is displayed in the processing result interface.
[0259] In some embodiments, the method further includes: displaying a resource account interface, wherein the resource account interface displays the latest quantity and status of the first resource in the resource account, wherein the status includes at least one of a normal status and a frozen status.
[0260] For example, before performing this resource filling operation, the quantity of the first resource in the resource account can be displayed in the resource account interface. After the resource filling operation is performed, the quantity of the first resource in the resource account changes, so the latest quantity of the first resource is displayed in the resource account interface. In addition, the first resource in the resource account is also provided with a corresponding status, the normal status indicates that the first resource can be used normally, and the frozen status indicates that the first resource is frozen and temporarily not allowed to be used. Among them, all the first resources in the resource account can correspond to the same status, or the first resources in the resource account can be divided into two parts, one part of the first resources corresponds to the normal status, and the other part of the first resources corresponds to the frozen status.
[0261] Among them, the electronic device can display the account control on the home page of the current application client, and display the resource account interface in response to the triggering operation of the account control. Alternatively, the home page of the current application client can also serve as the resource account interface. The embodiment of the present disclosure does not limit the method of displaying the resource account interface.
[0262] In some embodiments, the method further comprises at least one of the following:
[0263] 1. In the order interface, the brief information of the resource filling order is displayed, including the latest order status of the resource filling order.
[0264] The order interface is used to display orders of the user account, such as orders for purchasing items, resource filling orders, etc. The order interface can display brief information of each order. The embodiment of the present disclosure takes the resource filling operation performed by the electronic device as an example, so a resource filling order is generated, and the brief information of the resource filling order is displayed in the order interface. The brief information may include the latest order status of the resource filling order. The order status includes verification status, filling success status, partial filling success status, frozen status or returned status.
[0265] If the order status is in the verification status, it means that the resource filling information is still being verified, and the first resource filled this time cannot be used temporarily. Alternatively, if the order status is in the filling success status, it means that the resource filling information has been verified, and the target quantity of the first resources filled this time are allowed to be used by the user account. Alternatively, if the order status is in the partial filling success status, it means that the resource filling information has been verified, and among the target quantity of the first resources filled this time, part of the first resources are allowed to be used by the user account, and the other part of the first resources have been returned to the original account. Alternatively, if the order status is in the frozen status, it means that the resource filling information has been verified, and the target quantity of the first resources requested to be filled this time has been filled into the resource account, but is currently in a frozen state and is temporarily not allowed to be used by the user account. Alternatively, if the order status is in the returned status, it means that the resource filling information has been verified, and the target quantity of the first resources filled this time has been returned to the original account.
[0266] In addition, in addition to the order status, the introduction information may also include information such as the target quantity, the time when the resource filling operation is initiated, the time when the resource filling information verification is completed, the number of first resources successfully filled, etc., which is not limited in the embodiments of the present disclosure.
[0267] For example, the order interface is Figure 6 , Figure 8 and Fig.10 shown.
[0268] In some embodiments, the electronic device can also display a processing result interface of the resource filling order in response to a triggering operation on a resource filling order in an order interface. The processing result interface can display the latest order status, as well as processing operations performed based on the verification results of the resource filling information.
[0269] 2. In the order details interface, the detailed information of the resource filling order is displayed, including the latest order status of the resource filling order.
[0270] The order details interface is used to display the details of the current order, which may be an order to purchase items, a resource filling order, etc. Taking a resource filling order as an example, the order details interface displays the details of the resource filling order, which includes the latest order status, including verification status, filling success status, partial filling success status, frozen status, or returned status.
[0271] The detailed information of a resource filling order is more than the brief information of the resource filling order. For example, in addition to the information contained in the brief information, the detailed information may also include the order number of the resource filling order, the resource transfer method, the verification result of the resource filling information, the reason for the filling success or failure, etc.
[0272] In some embodiments, the electronic device displays an order interface, which includes brief information of one or more orders, and in response to a trigger operation on any order, can display an order details interface corresponding to the order to display detailed information of the order.
[0273] For example, the order interface is Figure 7 , Fig. 9 and Fig.11 shown.
[0274] Under the premise that the resource filling operation is not completed, the disclosed embodiment first verifies the resource filling information, and then performs a processing operation matching the verification result on the resources to be filled, thereby delaying the completion of the resource filling operation and avoiding the situation that the user uses the filled resources during the period when the resource filling operation is completed but the verification operation is not completed, thereby ensuring the timeliness of the verification operation and improving security. In addition, the resource filling process can be initiated through the resource filling interface, and the processing operation of the target number of first resources can be intuitively displayed in the processing result interface, so that the user can clearly understand the processing result of the resource filling operation, and more information can be transmitted simply and quickly, thereby improving the efficiency of information transmission.
[0275] Furthermore, in the disclosed embodiments, a resource account interface is also provided, in which the user can view the minimum quantity and status of the first resource in the resource account, thereby increasing the amount of information displayed, helping the user to understand the status of the resource account in a timely manner, and improving the efficiency of information communication.
[0276] In addition, in the embodiment of the present disclosure, at least one of an order interface and an order details interface is provided. In the order interface, brief information of the resource filling order can be displayed, and the user can view the brief information and timely understand the order status of the resource filling order. In the order details interface, detailed information of the resource filling order can be displayed, and the user can view the detailed information and timely understand the details of the resource filling order. Therefore, the embodiment of the present disclosure increases the amount of information displayed, helps the user to timely understand the situation of the resource filling order, and improves the efficiency of information transmission.
[0277] Fig.14 is a structural block diagram of a resource filling device according to an exemplary embodiment. Fig.14 , the device includes the following units.
[0278] The verification unit 1401 is configured to verify the resource filling information corresponding to the resource filling operation in response to the confirmation filling operation, without completing the resource filling operation, the confirmation filling operation is used to indicate the execution of the resource filling operation, and the resource filling operation is an operation of filling a target amount of the first resource into the first resource account corresponding to the user account;
[0279] The processing unit 1402 is configured to perform a processing operation on the target number of first resources that matches the verification result.
[0280] In some embodiments, the verification unit 1401 includes:
[0281] The first verification subunit is configured to, in response to confirming a filling operation, fill a target amount of the first resource into a second resource account corresponding to a user account without filling a target amount of the first resource into the first resource account, and the user account is not allowed to use the first resource in the second resource account; and verify the resource filling information corresponding to the resource filling operation.
[0282] In some embodiments, the processing unit 1402 is configured to:
[0283] If the verification result is that the verification is passed, the target amount of the first resource in the second resource account is transferred to the first resource account; or,
[0284] If the verification result is that the verification fails, the target quantity of the first resource in the second resource account is returned to the original account.
[0285] In some embodiments, the processing unit 1402 is configured to:
[0286] If the verification result is the first verification result, the target amount of the first resource in the second resource account is transferred to the first resource account; or,
[0287] If the verification result is the second verification result, the first quantity of the first resource in the second resource account is transferred to the first resource account, and the second quantity of the first resource in the second resource account is returned to the original account, and the sum of the first quantity and the second quantity is the target quantity; or,
[0288] If the verification result is the third verification result, the target amount of the first resource in the second resource account is transferred to the first resource account, and the target amount of the first resource in the first resource account is frozen; or,
[0289] When the verification result is the fourth verification result, the target amount of the first resource in the second resource account is returned to the original account.
[0290] In some embodiments, the confirming fill operation is used to indicate that the resource fill operation is performed after converting the third amount of the second resource to the target amount of the first resource, the third amount of the second resource is equal in value to the target amount of the first resource, and the first resource is of a different type than the second resource;
[0291] The first verification subunit is used to fill a third amount of the second resource into the application resource account of the current application client in response to confirming the filling operation, where the application resource account is used to store resources belonging to the application client; and fill a target amount of the first resource into the second resource account.
[0292] In some embodiments, the processing unit is used to transfer the target quantity of first resources in the second resource account to the first resource account and mark the third quantity of second resources in the application resource account as abnormal when the verification result is the fifth verification result.
[0293] In some embodiments, the verification unit 1401 includes:
[0294] The second verification sub-unit is configured to fill the first resource account with a target quantity of the first resource in response to confirming the filling operation, and set the order status of the resource filling order to a verification status, wherein the resource filling order includes the first resource account, the target quantity and the order status, and in the verification status, the target quantity of the first resource in the first resource account is not allowed to be used; and verify the resource filling information.
[0295] In some embodiments, the processing unit 1402 is configured to:
[0296] If the verification result is that the verification is passed, the order status of the resource filling order is changed to a filling success status, in which the target quantity of the first resource in the first resource account is allowed to be used; or,
[0297] When the verification result is that the verification fails, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0298] In some embodiments, the processing unit 1402 is configured to:
[0299] If the verification result is the first verification result, the order status of the resource filling order is changed to a filling success status, in which the target quantity of the first resource in the first resource account is allowed to be used; or,
[0300] If the verification result is the second verification result, the second quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a partially filled successful state. In the partially filled successful state, the remaining first quantity of the first resource in the first resource account is allowed to be used, and the sum of the first quantity and the second quantity is the target quantity; or,
[0301] If the verification result is the third verification result, the order status of the resource filling order is changed to a frozen status, in which the target quantity of the first resource in the first resource account is not allowed to be used; or,
[0302] When the verification result is the fourth verification result, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
[0303] In some embodiments, the confirming fill operation is used to indicate that the resource fill operation is performed after converting the third amount of the second resource to the target amount of the first resource, the third amount of the second resource is equal in value to the target amount of the first resource, and the first resource is of a different type than the second resource;
[0304] The second verification subunit is used for:
[0305] In response to confirming the filling operation, filling a third amount of the second resource into an application resource account of the current application client, the application resource account being used to store resources belonging to the application client;
[0306] A target quantity of the first resource is filled into the first resource account, and an order status of the resource filling order is set to a verification status.
[0307] In some embodiments, the processing unit 1402 is configured to:
[0308] If the verification result is the fifth verification result, the order status of the resource filling order is changed to a frozen state, in which the target quantity of the first resource in the first resource account is not allowed to be used, or the order status of the resource filling order is changed to a filling success state, in which the target quantity of the first resource in the first resource account is allowed to be used;
[0309] A third number of second resources in the application resource account is marked as being in an abnormal state.
[0310] Fig.15 is a structural block diagram of a resource filling device according to an exemplary embodiment. Fig.15 , the device includes the following units.
[0311] The first interface display unit 1501 is configured to display a resource filling interface, where the resource filling interface displays a target quantity, a resource transfer method, and a confirmation control, where the resource transfer method indicates an original account for transferring resources;
[0312] The second interface display unit 1502 is configured to display a processing result interface of a resource filling operation in response to a trigger operation on a confirmation control. The resource filling operation is an operation of filling a target quantity of the first resource from an original account to a resource account corresponding to a user account. The processing result interface displays a processing operation on the target quantity of the first resource. The processing operation matches a verification result on the resource filling information. The verification result is obtained on the premise that the resource filling operation has not been completed.
[0313] In some embodiments, the apparatus further comprises:
[0314] The third interface display unit is configured to display a resource account interface, where the resource account interface displays the latest quantity and status of the first resource in the resource account, where the status includes at least one of a normal status and a frozen status.
[0315] In some embodiments, the apparatus further comprises:
[0316] The fourth interface display unit is configured to display brief information of the resource filling order in the order interface, wherein the brief information includes the latest order status of the resource filling order; or
[0317] A fifth interface display unit is configured to display detailed information of the resource filling order in the order details interface, wherein the detailed information includes the latest order status of the resource filling order;
[0318] Among them, the order status includes verification status, filling success status, partial filling success status, freezing status or return status.
[0319] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0320] The embodiments of the present disclosure are executed by an electronic device, and the electronic device is a terminal or a server.
[0321] Fig.16 1 is a block diagram of a terminal according to an exemplary embodiment. In some embodiments, the terminal 1600 includes: a mobile phone, a desktop computer, a laptop computer, a tablet computer, a PDA or other terminals. The terminal 1600 may also be called a user equipment, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0322] Typically, the terminal 1600 includes a processor 1601 and a memory 1602 .
[0323] In some embodiments, processor 1601 includes one or more processing cores, such as a 4-core processor, an 8-core processor, etc.
[0324] In some embodiments, the memory 1602 includes one or more computer-readable storage media, which are non-transitory. In some embodiments, the non-transitory computer-readable storage medium in the memory 1602 is used to store executable instructions, which are used to be executed by the processor 1601 to implement the resource filling method provided by the method embodiment of the present disclosure.
[0325] In some embodiments, the terminal 1600 may further optionally include: a peripheral device interface 1603 and at least one peripheral device. In some embodiments, the processor 1601, the memory 1602 and the peripheral device interface 1603 are connected via a bus or a signal line. In some embodiments, each peripheral device is connected to the peripheral device interface 1603 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1604, a display screen 1605, a camera assembly 1606, an audio circuit 1607, a positioning assembly 1608 and a power supply 1609.
[0326] In some embodiments, the terminal 1600 further includes one or more sensors 1610 . The one or more sensors 1610 include, but are not limited to, an acceleration sensor 1611 , a gyroscope sensor 1612 , a pressure sensor 1613 , an optical sensor 1614 , and a proximity sensor 1615 .
[0327] Those skilled in the art will understand that Fig.16 The structure shown in the figure does not constitute a limitation on the terminal 1600, and the terminal 1600 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.
[0328] Fig.17 This is a schematic diagram of the structure of a server according to an exemplary embodiment. The server 1700 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 1701 and one or more memories 1702, wherein the memory 1702 stores at least one computer program, and the at least one computer program is loaded and executed by the processor 1701 to implement the methods provided by the above-mentioned various method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output. The server may also include other components for implementing device functions, which will not be described in detail here.
[0329] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the resource filling method in the above embodiment. For example, the computer-readable storage medium can be a ROM (Read Only Memory), a RAM (Random Access Memory), a CD-ROM (Compact Disc Read-Only Memory), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0330] In an exemplary embodiment, a computer program product is also provided, including a computer program, and when the computer program is executed by a processor, the resource filling method in the above embodiment is implemented.
[0331] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0332] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A resource filling method, characterized in that: include: In response to a confirmation filling operation, verifying the resource filling information corresponding to the resource filling operation without completing the resource filling operation, the confirmation filling operation is used to indicate the execution of the resource filling operation, and the resource filling operation is an operation of filling a target amount of the first resource into the first resource account corresponding to the user account; A processing operation matching the verification result is performed on the target number of first resources.
2. The method according to claim 1, characterized in that In response to confirming the filling operation, verifying the resource filling information corresponding to the resource filling operation without completing the resource filling operation, includes: In response to the confirmation filling operation, without filling the first resource account with the target amount of the first resource, filling the second resource account corresponding to the user account with the target amount of the first resource, and the first resource in the second resource account is not allowed to be used by the user account; The resource filling information corresponding to the resource filling operation is verified.
3. The method according to claim 2, characterized in that The processing operation of performing a matching operation on the target number of first resources with the verification result includes: If the verification result is that the verification is passed, the target amount of first resources in the second resource account is transferred to the first resource account; or, When the verification result is that the verification fails, the target quantity of the first resource in the second resource account is returned to the original account.
4. The method according to claim 2, characterized in that: The processing operation of performing a matching operation on the target number of first resources with the verification result includes: If the verification result is the first verification result, transferring the target amount of first resources in the second resource account to the first resource account; or, When the verification result is the second verification result, the first quantity of the first resource in the second resource account is transferred to the first resource account, and the second quantity of the first resource in the second resource account is returned to the original account, and the sum of the first quantity and the second quantity is the target quantity; or If the verification result is the third verification result, the target amount of first resources in the second resource account is transferred to the first resource account, and the target amount of first resources in the first resource account is frozen; or, When the verification result is the fourth verification result, the target amount of the first resource in the second resource account is returned to the original account.
5. The method according to claim 2, characterized in that: The confirming filling operation is used to indicate that the resource filling operation is performed after converting a third quantity of the second resource into the target quantity of the first resource, the third quantity of the second resource is equal in value to the target quantity of the first resource, and the first resource and the second resource are of different types; In response to the confirmation filling operation, filling the target amount of the first resource into the second resource account corresponding to the user account without filling the target amount of the first resource into the first resource account, includes: In response to the confirming filling operation, filling the third amount of the second resource into an application resource account of the current application client, the application resource account being used to store resources belonging to the application client; The second resource account is filled with the target amount of the first resource.
6. The method according to claim 5, characterized in that The processing operation of performing a matching operation on the target number of first resources with the verification result includes: When the verification result is the fifth verification result, the target quantity of first resources in the second resource account is transferred to the first resource account, and the third quantity of second resources in the application resource account is marked as abnormal.
7. The method according to claim 1, characterized in that In response to confirming the filling operation, verifying the resource filling information corresponding to the resource filling operation without completing the resource filling operation, includes: In response to the confirmation filling operation, filling the first resource account with the target quantity of the first resource, and setting the order status of the resource filling order to a verification status, the resource filling order including the first resource account, the target quantity and the order status, in which the target quantity of the first resource in the first resource account is not allowed to be used; The resource filling information is verified.
8. The method according to claim 7, characterized in that The processing operation of performing a matching operation on the target number of first resources with the verification result includes: If the verification result is that the verification is passed, the order status of the resource filling order is changed to a filling success status, in which the target quantity of the first resource in the first resource account is allowed to be used; or When the verification result is that the verification fails, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
9. The method according to claim 7, characterized in that: The processing operation of performing a matching operation on the target number of first resources with the verification result includes: If the verification result is the first verification result, the order status of the resource filling order is changed to a filling success status, in which the target quantity of the first resource in the first resource account is allowed to be used; or In the case where the verification result is the second verification result, the second quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a partial filling success state. In the partial filling success state, the remaining first quantity of the first resource in the first resource account is allowed to be used, and the sum of the first quantity and the second quantity is the target quantity; or If the verification result is the third verification result, the order status of the resource filling order is changed to a frozen state, in which the target quantity of the first resource in the first resource account is not allowed to be used; or When the verification result is the fourth verification result, the target quantity of the first resource in the first resource account is returned to the original account, and the order status of the resource filling order is changed to a returned status.
10. The method according to claim 7, characterized in that The confirming filling operation is used to indicate that the resource filling operation is performed after converting a third quantity of the second resource into the target quantity of the first resource, the third quantity of the second resource is equal in value to the target quantity of the first resource, and the first resource and the second resource are of different types; In response to the confirming the filling operation, filling the first resource account with the target amount of the first resource, and setting the order status of the resource filling order to a verification status, comprises: In response to the confirming filling operation, filling the third amount of the second resource into an application resource account of the current application client, the application resource account being used to store resources belonging to the application client; The first resource account is filled with the target quantity of the first resource, and the order status of the resource filling order is set to a verification status.
11. The method according to claim 10, characterized in that The processing operation of performing a matching operation on the target number of first resources with the verification result includes: When the verification result is the fifth verification result, the order status of the resource filling order is changed to a frozen state, in which the target quantity of the first resource in the first resource account is not allowed to be used, or the order status of the resource filling order is changed to a filling success state, in which the target quantity of the first resource in the first resource account is allowed to be used; The third number of second resources in the application resource account is marked as being in an abnormal state.
12. A resource filling device, characterized in that: include: a verification unit configured to verify, in response to a confirmation filling operation, resource filling information corresponding to the resource filling operation without completing the resource filling operation, the confirmation filling operation being used to indicate execution of the resource filling operation, the resource filling operation being an operation of filling a target amount of a first resource into a first resource account corresponding to a user account; The processing unit is configured to perform a processing operation on the target number of first resources that matches the verification result.
13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the resource filling method according to any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the resource filling method as claimed in any one of claims 1 to 11.
15. A computer program product, characterized in that The method comprises a computer program, which implements the resource filling method according to any one of claims 1 to 11 when the computer program is executed by a processor.
Citation Information
Patent Citations
Resource transfer method and device and third-party server
CN108876497A
Method and device for achieving IC card balance transfer
CN110458552A
Data transfer method and device, equipment and computer storage medium
CN112308543A
Resource transfer method and device, equipment and medium
CN113537994A
Resource transfer method, device and equipment and computer readable storage medium
CN114140105A