Resource filling method and apparatus, device, and storage medium

By verifying and processing information before resource population, the problem of insufficient verification timeliness in resource population operations is solved, ensuring both security and timeliness, and avoiding the use of resources before verification.

CN119599652BActive Publication Date: 2025-12-09BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411605410.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-12-09
Estimated Expiration
2044-11-11

AI Technical Summary

Technical Problem

The verification process for resource filling operations in existing technologies is not timely enough, which may result in users using the filled resources before the verification is completed, posing a security risk.

Method used

Before the resource filling operation is completed, the resource filling information is verified, and matching processing operations are performed based on the verification results, including transferring resources to a transition account, freezing or returning them to the original account, etc., to delay the completion of resource filling and ensure the timeliness of verification.

Benefits of technology

By delaying the resource filling operation, the situation where users use the filled resources before completing the verification is avoided, thus improving the security and timeliness of the resource filling operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119599652B_ABST
    Figure CN119599652B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a resource filling method, device, equipment and storage medium, and belongs to the technical field of Internet. The method comprises: in response to confirming a filling operation, verifying resource filling information corresponding to the resource filling operation under the premise that the resource filling operation is not completed, the confirming operation being used to indicate that the resource filling operation is performed, and the resource filling operation being an operation of filling a target number of first resources into a first resource account corresponding to a user account; and performing a processing operation matching the verification result on the target number of first resources. The present disclosure delays the completion of the resource filling operation, avoids the case that the user uses the filled resources during the period when the resource filling operation is completed and the verification operation is not completed, guarantees the timeliness of the verification operation, and thus improves the security.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure relates to the technical field of Internet, and particularly relates to a resource filling method and device, equipment and storage medium. BACKGROUND

[0002] With the development of Internet technology, the functions in the application client are increasingly rich, and in many scenarios, resources need to be used for operation, such as using resources to buy goods or send resources to friends. The application client usually creates a resource account corresponding to a user account, and the resource account can store the resources of the user account.

[0003] The recharge operation refers to filling the resources in the other account of the user 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 increasing the recharge amount in the resource account. In order to improve security, the recharge operation can also be verified after the completion of the recharge operation to determine whether the recharge operation is safe.

[0004] However, the verification process needs to consume a certain amount of time, and the user is likely to have used the recharged resources in the resource account during the verification period, so the timeliness of the above verification method is insufficient. SUMMARY

[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 case that the user uses the filled resources in the period of time after the completion of the resource filling operation and before the completion of the verification operation, ensures the timeliness of the verification operation, and improves the security. The technical scheme 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, comprising:

[0007] In response to confirming the filling operation, verifying the resource filling information corresponding to the resource filling operation under the premise that the resource filling operation is not completed, the confirming filling operation is used to indicate that the resource filling operation is performed, and the resource filling operation is an operation of filling a target number of first resources into a first resource account corresponding to a user account;

[0008] Performing a processing operation on the target number of first resources matching the verification result.

[0009] In some embodiments, the response to the confirmation of the filling operation, the verification of the resource filling information corresponding to the resource filling operation under the premise that the resource filling operation is not completed, comprises:

[0010] In response to the confirmation filling operation, fill the target quantity of first resources into a second resource account corresponding to the user account, on the premise that the target quantity of first resources is not filled into the first resource account, and the first resources in the second resource account are not allowed to be used by the user account;

[0011] Verify resource filling information corresponding to the resource filling operation.

[0012] In some embodiments, the processing operation of the target quantity of first resources matching the verification result comprises:

[0013] In the case where the verification result is a verification pass, transfer the target quantity of first resources in the second resource account to the first resource account; or,

[0014] In the case where the verification result is a verification fail, return the target quantity of first resources in the second resource account to the original account.

[0015] In some embodiments, the processing operation of the target quantity of first resources matching the verification result comprises:

[0016] In the case where the verification result is a first verification result, transfer the target quantity of first resources in the second resource account to the first resource account; or,

[0017] In the case where the verification result is a second verification result, transfer a first quantity of first resources in the second resource account to the first resource account, and return a second quantity of first resources in the second resource account to the original account, the sum of the first quantity and the second quantity being the target quantity; or,

[0018] In the case where the verification result is a third verification result, transfer the target quantity of first resources in the second resource account to the first resource account, and freeze the target quantity of first resources in the first resource account; or,

[0019] In the case where the verification result is a fourth verification result, return the target quantity of first resources in the second resource account to the original account.

[0020] In some embodiments, the confirmation filling operation is used to indicate that the resource filling operation is performed after converting a third quantity of second resources into the target quantity of first resources, the third quantity of second resources being equal in value to the target quantity of first resources, and the first resources and the second resources being of different types;

[0021] The filling the second resource account with the target quantity of the first resource in response to the confirmation of the filling operation comprises:

[0022] In response to the confirmation of the filling operation, filling an application resource account of the current application client with the third quantity of the second resource, the application resource account being used to store resources belonging to the application client;

[0023] Filling the second resource account with the target quantity of the first resource.

[0024] In some embodiments, the processing the target quantity of the first resource according to the verification result comprises:

[0025] In a case where the verification result is a fifth verification result, transferring the target quantity of the first resource in the second resource account to the first resource account, and marking the third quantity of the second resource in the application resource account as an abnormal state.

[0026] In some embodiments, the verifying the resource filling information corresponding to the resource filling operation in response to the confirmation of the filling operation comprises:

[0027] In response to the confirmation of the filling operation, filling the first resource account with the target quantity of the first resource, and setting an order state of a resource filling order to a verification state, the resource filling order comprising the first resource account, the target quantity, and the order state, in the verification state, the target quantity of the first resource in the first resource account being not allowed to be used;

[0028] Verifying the resource filling information.

[0029] In some embodiments, the processing the target quantity of the first resource according to the verification result comprises:

[0030] In a case where the verification result is a verification pass, changing an order state of the resource filling order to a filling success state, in the filling success state, the target quantity of the first resource in the first resource account being allowed to be used; or

[0031] In a case where the verification result is a verification fail, returning the target quantity of the first resource in the first resource account to an original account, and changing an order state of the resource filling order to a return state.

[0032] In some embodiments, the processing operation matching the verification result on the target quantity of first resources comprises:

[0033] In a case where the verification result is a first verification result, changing an order state of the resource filling order to a filling success state in which the target quantity of first resources in the first resource account is allowed to be used; or,

[0034] In a case where the verification result is a second verification result, returning a second quantity of first resources in the first resource account to the original account, and changing an order state of the resource filling order to a partial filling success state in which a first quantity of first resources remaining in the first resource account is allowed to be used, the first quantity and the second quantity sum up to the target quantity; or,

[0035] In a case where the verification result is a third verification result, changing an order state of the resource filling order to a frozen state in which the target quantity of first resources in the first resource account is not allowed to be used; or,

[0036] In a case where the verification result is a fourth verification result, returning the target quantity of first resources in the first resource account to the original account, and changing an order state of the resource filling order to a returned state.

[0037] In some embodiments, the confirmation filling operation is used to indicate that the resource filling operation is performed after a third quantity of second resources is converted into the target quantity of first resources, the third quantity of second resources is equal to a value of the target quantity of first resources, and the first resources and the second resources are of different types;

[0038] The filling, in response to the confirmation filling operation, of the target quantity of first resources into the first resource account and the setting of an order state of the resource filling order to a verification state comprises:

[0039] In response to the confirmation filling operation, filling the third quantity of second resources into an application resource account of the application client, the application resource account being used to store resources belonging to the application client;

[0040] The filling, in response to the confirmation filling operation, of the target quantity of first resources into the first resource account and the setting of an order state of the resource filling order to a verification state comprises:

[0041] In some embodiments, the processing operation matching the verification result on the target quantity of first resources comprises:

[0042] In a case where the verification result is a fifth verification result, changing an order state of the resource filling order 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 changing the order state of the resource filling order 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] Marking the third quantity of the second resource in the application resource account as an abnormal state.

[0044] According to a second aspect of the embodiments of the present disclosure, a resource filling device is provided, comprising:

[0045] A verification unit is configured to, in response to a confirmation filling operation, verify resource filling information corresponding to a resource filling operation under the condition that the resource filling operation is not completed, the confirmation filling operation being used to indicate that the resource filling operation is performed, the resource filling operation being an operation of filling a target quantity of first resources into a first resource account corresponding to a user account;

[0046] A processing unit is configured to perform a processing operation matched with the verification result on the target quantity of the first resources.

[0047] In some embodiments, the verification unit comprises:

[0048] A first verification sub-unit is configured to, in response to the confirmation filling operation, fill the target quantity of the first resources into a second resource account corresponding to the user account under the condition that the target quantity of the first resources is not filled into the first resource account, the first resources in the second resource account being 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 configured to:

[0050] In a case where the verification result is a verification pass, transferring the target quantity of the first resources in the second resource account to the first resource account; or

[0051] In a case where the verification result is a verification fail, returning the target quantity of the first resources in the second resource account to an original account.

[0052] In some embodiments, the processing unit is configured to:

[0053] In a case where the verification result is a first verification result, transferring the target quantity of the first resources in the second resource account to the first resource account; or

[0054] in a case where the verification result is a second verification result, transferring a first quantity of the first resources in the second resource account to the first resource account, and returning a second quantity of the first resources in the second resource account to the original account, the first quantity and the second quantity being summed up to the target quantity; or

[0055] in a case where the verification result is a third verification result, transferring the target quantity of the first resources in the second resource account to the first resource account, and freezing the target quantity of the first resources in the first resource account; or

[0056] in a case where the verification result is a fourth verification result, returning the target quantity of the first resources in the second resource account to the original account.

[0057] In some embodiments, the confirmation filling operation is configured to indicate that the resource filling operation is performed after a third quantity of second resources are converted into the target quantity of the first resources, the third quantity of the second resources being equal to a value of the target quantity of the first resources, the first resources and the second resources being of different types;

[0058] the first verification subunit is configured to, in response to the confirmation filling operation, fill the third quantity of the second resources into an application resource account of a current application client, the application resource account being configured to store resources belonging to the application client, and fill the target quantity of the first resources into the second resource account.

[0059] In some embodiments, the processing unit is configured to, in a case where the verification result is a 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 an abnormal state.

[0060] In some embodiments, the verification unit comprises:

[0061] the second verification subunit is configured to, in response to the confirmation filling operation, fill the target quantity of the first resources into the first resource account, and set an order state of a resource filling order to a verification state, the resource filling order comprising the first resource account, the target quantity, and the order state, in the verification state, the target quantity of the first resources 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 configured to:

[0063] In a case where the verification result is a verification pass, changing an order state of the resource filling order to a filling success state in which the target quantity of the first resources in the first resource account is allowed to be used; or,

[0064] In a case where the verification result is a verification fail, returning the target quantity of the first resources in the first resource account to the original account, and changing the order state of the resource filling order to a return state.

[0065] In some embodiments, the processing unit is configured to:

[0066] In a case where the verification result is a first verification result, changing an order state of the resource filling order to a filling success state in which the target quantity of the first resources in the first resource account is allowed to be used; or,

[0067] In a case where the verification result is a second verification result, returning a second quantity of the first resources in the first resource account to the original account, and changing the order state of the resource filling order to a partial filling success state in which a first quantity of the first resources remaining in the first resource account is allowed to be used, the first quantity and the second quantity sum up to the target quantity; or,

[0068] In a case where the verification result is a third verification result, changing an order state of the resource filling order to a frozen state in which the target quantity of the first resources in the first resource account is not allowed to be used; or,

[0069] In a case where the verification result is a fourth verification result, returning the target quantity of the first resources in the first resource account to the original account, and changing the order state of the resource filling order to a return state.

[0070] In some embodiments, the confirmation filling operation is configured to instruct to perform the resource filling operation after converting a third quantity of second resources into the target quantity of the first resources, the third quantity of the second resources being equal to a value of the target quantity of the first resources, the first resources and the second resources being of different types;

[0071] The second verification subunit is configured to:

[0072] In response to the confirmation filling operation, filling the third quantity of the second resources into an application resource account of a current application client, the application resource account being configured to store resources belonging to the application client.

[0073] fill the first resource account with the target quantity of first resources, and set an order state of the resource filling order to a verification state.

[0074] In some embodiments, the processing unit is configured to:

[0075] In a case where the verification result is a fifth verification result, change the order state of the resource filling order to a frozen state in which the target quantity of first resources in the first resource account is not allowed to be used, or change the order state of the resource filling order to a filling success state in which the target quantity of first resources in the first resource account is allowed to be used.

[0076] Mark the third quantity of second resources in the application resource account as an abnormal state.

[0077] According to a third aspect of embodiments of the present disclosure, an electronic device is provided, comprising:

[0078] a 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 according to the above aspect.

[0081] According to a fourth aspect of embodiments 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 perform the resource filling method according to the above aspect.

[0082] According to a fifth aspect of embodiments of the present disclosure, a computer program product is provided, comprising a computer program, when the computer program is executed by a processor, the resource filling method according to the above aspect is implemented.

[0083] The scheme provided by the embodiments of the present disclosure, in a case where the confirmation filling operation has been performed, the resource filling operation is not directly completed, but on the premise that the resource filling operation is not completed, the resource filling information is verified first, and then the required filling resources are processed according to the verification result, delaying the completion of the resource filling operation, avoiding the case that the user uses the filled resources in the period of time when the resource filling operation is completed and the verification operation is not completed, ensuring the timeliness of the verification operation, thereby improving the security.

[0084] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS

[0085] The accompanying drawings, which are incorporated herein and constitute part of this specification, illustrate implementations of the present disclosure and, together with the description, explain the principles of the present disclosure, but do not limit the present disclosure.

[0086] Figure 1 is a schematic diagram of an implementation environment, in accordance with an example embodiment.

[0087] Figure 2 is a flow diagram of a resource populating method, in accordance with an example embodiment.

[0088] Figure 3 is a flow diagram of another resource populating method, in accordance with an example embodiment.

[0089] Figure 4 is a schematic diagram of a recharging flow, in accordance with an example embodiment.

[0090] Figure 5 is a schematic diagram of a recharging interface, in accordance with an example embodiment.

[0091] Figure 6 is a schematic diagram of an order interface, in accordance with an example embodiment.

[0092] Figure 7 is a schematic diagram of an order details interface, in accordance with an example embodiment.

[0093] Figure 8 is a schematic diagram of another order interface, in accordance with an example embodiment.

[0094] Figure 9 is a schematic diagram of another order details interface, in accordance with an example embodiment.

[0095] Figure 10 is a schematic diagram of yet another order interface, in accordance with an example embodiment.

[0096] Figure 11 is a schematic diagram of yet another order details interface, in accordance with an example embodiment.

[0097] Figure 12 is a flow diagram of yet another resource populating method, in accordance with an example embodiment.

[0098] Figure 13 is a flow diagram of yet another resource populating method, in accordance with an example embodiment.

[0099] Figure 14 is a structural block diagram of a resource populating apparatus, in accordance with an example embodiment.

[0100] Figure 15 is a structural block diagram of another resource filling device according to an example embodiment.

[0101] Figure 16 is a structural block diagram of a terminal according to an example embodiment.

[0102] Figure 17 is a structural block diagram of a server according to an example embodiment. DETAILED DESCRIPTION

[0103] In order for those skilled 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 described clearly and completely below with reference to the drawings.

[0104] It should be noted that the terms "first", "second", and the like in the specification and claims of the present disclosure and the above-described drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The implementation described in the following example embodiments does not represent all implementations consistent with the present disclosure. Rather, 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 can be information authorized by the user or sufficiently authorized by various parties.

[0106] Figure 1 is a schematic diagram of an implementation environment according to an example embodiment. Referring to Figure 1 , the implementation environment includes a terminal 101 and a server 102. The terminal 101 and the server 102 are connected through a wireless or wired network.

[0107] For example, 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, friend chatting, watching live broadcast, online shopping, etc. through the application client. The application client is a social application, a short video application, a shopping application, or other applications, etc., and the embodiments of the present disclosure do not limit this.

[0108] In the embodiments of the present disclosure, the terminal 101 logs in a user account based on the application client, and creates a resource account corresponding to the user account, so as to store 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, the resource filling interface displays a target quantity, a resource transfer-out manner, and a confirmation control, etc., the resource transfer-out manner indicates an original account for transferring out resources, and the confirmation control is used to indicate execution of a resource filling operation, the resource filling operation is an operation of filling the target quantity of the first resources into the resource account corresponding to the user account from the original account. The terminal 101 sends a resource filling request to the server 102 in response to the confirmation operation on the confirmation control, the resource filling request includes the target quantity, the original account, etc., and the resource filling request indicates that the terminal 101 has executed the confirmation filling operation. The server 102 verifies the resource filling information corresponding to the resource filling operation on the premise that the resource filling operation is not completed in response to the resource filling request, and performs a processing operation matching the verification result on the target quantity of the first resources based on the verification result of the resource filling information, without directly completing the resource filling operation, so that the verification time can be advanced, and the case that the user uses the filled first resources before the verification is completed can be avoided, and the timeliness is ensured.

[0110] In some embodiments, the terminal 101 includes a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but is not limited thereto.

[0111] In some embodiments, the server 102 is a stand-alone physical server, or is a server cluster or a distributed system composed of multiple physical servers, or is a cloud server providing basic cloud computing services such as cloud service, cloud database, cloud computing, cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), and big data and artificial intelligence platform, etc., and the embodiments of the present disclosure are not limited thereto.

[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, and the embodiments of the present disclosure are not limited thereto.

[0113] Figure 2 is a flowchart of a resource filling method according to an exemplary embodiment, as shown in Figure 2 , the method is executed by an electronic device, which can be the terminal 101 or the server 102, etc., as shown in Figure 1 , and the embodiments of the present disclosure are not limited thereto. The method includes the following steps.

[0114] In step 201, the electronic device verifies the resource filling information corresponding to the resource filling operation on the premise that the resource filling operation is not completed in response to the confirmation filling operation.

[0115] In the embodiments of the present disclosure, the electronic device logs in a user account, and creates a first resource account corresponding to the user account, the first resource account being used to store first resources belonging to the user account. In addition, in order to facilitate distinction, the resources available to the user account are referred to as first resources. For example, the first resources are virtual currency, points, virtual gifts, etc., and the embodiments of the present disclosure do not limit the type of the first resources. In some embodiments, the embodiments of the present disclosure involve first resources and second resources, the types of the first resources and the second resources are different, and in the current application client, only the first resources can be used, and the second resources cannot be used, but the second resources can be converted into the first resources and then filled into the resource account corresponding to the user account.

[0116] 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 resources of the target quantity into the first resource account corresponding to the user account, that is, the quantity of the first resources in the first resource account is recorded to indicate that the first resource account currently stores the quantity of the first resources, and filling the first resources of the target quantity into the first resource account 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 detect the confirmation filling operation first, which means that the user confirms that the resource filling operation can be executed, and then the electronic device can execute the resource filling operation according to the indication of the confirmation filling operation. In the embodiments of the present disclosure, even if the confirmation filling operation has been executed, the resource filling operation is not directly completed, but the resource filling information corresponding to the resource filling operation is verified under the premise that the resource filling operation is not completed, and then based on the verification result of the resource filling information, it is determined how to process the first resources of the target quantity, so as to determine whether the resource filling operation can be completed.

[0117] In some embodiments, the resource filling information can describe the current resource filling operation, and can reflect whether the current resource filling operation 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 confirmation filling, etc. When the electronic device verifies the resource filling information, the electronic device can verify from one or more aspects such as the security of the user account, the quantity of the first resources to be filled, the security of the original account, the time of the resource filling operation of the user account, etc., so as to obtain an accurate verification result.

[0118] In some embodiments, the resource filling information verified by the electronic device includes not only the resource filling information of the current resource filling operation, but also the resource filling information of the historical resource filling operations of the user account. The electronic device verifies the resource filling information of the user account multiple times, and can verify the security of the user account, the number of the first resources required to be filled, the total number of the first resources filled multiple times, the security of the original account, the time and frequency of the resource filling operation of the user account, and the like, so as to obtain an accurate verification result.

[0119] In some embodiments, the filling operation is a payment operation, i.e., an operation of deducting resources in the original account to obtain the target number of the first resources. According to the normal operation sequence, after the electronic device deducts the resources equivalent to the target number of the first resources in the original account, the resource filling operation can be performed to fill the target number of the first resources into the first resource account corresponding to the user account. However, in order to ensure security, in the embodiments of the present disclosure, the resource filling information corresponding to the resource filling operation is verified before the resource filling operation is completed after the payment operation is performed.

[0120] The resource filling process includes the following operations: an operation of inputting the target number and the resource transfer-out mode, a payment operation, and a resource filling operation. The resource transfer-out mode represents the original account used to transfer out resources, i.e., represents which original account needs to be deducted to fill the first resource account. Different resource transfer-out modes correspond to different original accounts. For example, the resource transfer-out mode can include an online bank, which represents that resources are deducted from the online bank account corresponding to the user account, or the resource transfer-out mode includes a social account, which represents that 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 in different operation stages. For example, after the operation of inputting the target number and the resource transfer-out mode is completed, the resource filling information obtained by the electronic device includes the user account and the target number. However, since the payment operation has not been performed at this time, the resources have not been deducted from the original account, and therefore the related 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 can result in an inaccurate verification result. After the payment operation is completed, the resource filling information obtained by the electronic device can include the user account, the target number, and the original account, and can also include the related information of the original account, such as the level of the original account and the use frequency of the original account. At this time, if the resource filling information is verified, the amount of information verified can be increased, so as to obtain a more accurate verification result.

[0121] In step 202, the electronic device performs a processing operation on the target number of the first resources that matches the verification result.

[0122] The verification result of the resource filling information can indicate whether the current resource filling operation is a safe operation, whether there is a possibility of non-compliance, and the like. Based on the verification result, a processing operation that matches the verification result can be performed. That is, different verification results indicate different safety of the resource filling operation, and different processing operations are performed on the target number of first resources.

[0123] In the embodiments of the present disclosure, the processing operation can include:

[0124] 1. Fill all the target number of first resources to the first resource account.

[0125] 2. Return all the target number of first resources to the original account.

[0126] 3. Fill part of the target number of first resources to the first resource account, and return the other part of the first resources to the original account.

[0127] In addition, even in the case of filling all or part of the target number of first resources to the first resource account, the state of the filled resources can be a normal state or a frozen state, where resources in the normal state allow the user account to use, and resources in the frozen state do not allow the user account to use. Therefore, the processing operation can further include an operation of adjusting the state of the resources in the first resource account, and the like, which is not limited in the embodiments of the present disclosure.

[0128] In some embodiments, the verification result includes two types: verification passed and verification failed, and the electronic device can set a matching processing operation for each of the two verification results, 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 a first verification result, a second verification result, a third verification result, a fourth verification result, and a fifth verification result. Each verification result indicates a different safety level of the resource filling operation, and the electronic device can set a matching processing operation for each level of the verification result, so as to perform different processing operations for each level of the verification result, so as to ensure that the processing operation matches the level of the verification result, and also matches the safety level of the resource filling operation.

[0129] In some embodiments, the electronic device, in response to confirming the filling operation, acquires the current resource filling information, determines whether to perform the verification based on the current resource filling information, if it is determined that the verification is not needed, the resource filling operation can be performed, if it is determined that the verification is needed, steps 201-202 are performed. Alternatively, the filling operation is a payment operation, and the electronic device, after performing the operation of inputting the target quantity and the resource transfer-out mode, and before performing the payment operation, acquires the current resource filling information, determines whether to perform the verification based on the current resource filling information, if it is determined that the verification is not needed, the payment operation and the resource filling operation can be performed, if it is determined that the verification is needed, the payment operation is performed, and in response to the payment operation, steps 201-202 are performed.

[0130] In some embodiments, the electronic device inputs the current resource filling information to the verification system, and performs the verification on the current resource filling information through the verification system to obtain the verification result returned by the verification system.

[0131] The method provided by the embodiments of the present disclosure delays the completion of the resource filling operation, avoids the case that the user uses the filled resource in the time period when the resource filling operation is completed and the verification operation is not completed, guarantees the timeliness of the verification operation, and thus improves the security.

[0132] The above Figure 2 The above Figure 2 The above

[0133] The first way is that a second resource account is set for the user account in addition to the first resource account, 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 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 way is that the first resource to be filled is filled into the first resource account, but the user account is not allowed to use the filled first resource. After the verification operation is completed, it is determined whether to allow the use of the filled first resource.

[0135] The above Figure 3 The above Figure 12The embodiment shown will be described in detail below.

[0136] Figure 3 is a flowchart of another resource filling method according to an example embodiment, as shown, the method is performed by an electronic device, and the method includes the following steps. Figure 3

[0137] In step 301, the electronic device fills the target number of first resources into the second resource account corresponding to the user account in response to confirming the filling operation, and the first resources in the second resource account are not allowed to be used by the user account.

[0138] The first resources in the first resource account are allowed to be used by the user account in a normal state, so the first resources in the first resource account can be used when the electronic device performs operations such as purchasing goods, transferring money, and giving gifts to friend accounts based on the user account. The first resources in the second resource account are not allowed to be used by the user account, that is, the first resources in the second resource account cannot be used when the electronic device performs operations that require the use of first resources based on the user account.

[0139] In some embodiments, the second resource account corresponds to the user account, but cannot be displayed by the user account, that is, the second resource account is a hidden resource account, and the user cannot view the second resource account or know the number of first resources in the second resource account on the electronic device even if the user account is logged in. In other embodiments, the second resource account and the first resource account are both resource accounts that can be displayed by the user account, and the user can view the number of first resources in the first resource account and the number of first resources in the second resource account on the electronic device after logging in to the user account.

[0140] In the embodiments of the present disclosure, confirming the filling operation is used to indicate the execution of the resource filling operation, and the resource filling operation is an operation of filling the target number of first resources into the first resource account corresponding to the user account. If the electronic device directly performs the resource filling operation in response to confirming the filling operation and fills the target number of first resources into the first resource account, the user will be allowed to use the filled first resources without verifying the result, which poses a security risk. Therefore, the second resource account is used as a transition account, and the electronic device fills the target number of first resources into the second resource account in response to confirming the filling operation, rather than filling the target number of first resources into the first resource account, thereby ensuring that the user account cannot temporarily use the filled first resources.

[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 a verification system, verifies the resource filling information through the verification system, and obtains a verification result returned by the verification system.

[0143] In step 303, the electronic device performs a processing operation matched with the verification result on the target number of first resources.

[0144] In some embodiments, the processing operation can include:

[0145] 1. filling all the target number of first resources to the first resource account.

[0146] 2. returning all the target number of first resources to the original account.

[0147] 3. filling part of the target number of first resources to the first resource account and returning the other part of the target number of first resources to the original account.

[0148] In some embodiments, the verification result includes two types: verification pass and verification fail, and the electronic device can set matched processing operations for the two types of verification results, so as to perform different processing operations for different verification results. Then step 303 can include the following steps 3031 or 3032:

[0149] 3031. In the case of verification pass, the target number of first resources in the second resource account is transferred to the first resource account.

[0150] In the case of verification pass of the resource filling information, it indicates that the current resource filling operation is a safe operation and there is no security risk, and 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 in the future.

[0151] 3032. In the case of verification fail, the target number of first resources in the second resource account is returned to the original account.

[0152] In the case of verification fail of the resource filling information, it indicates that the current resource filling operation is not a safe operation and there may be a security risk, and then the target number of first resources in the second resource account is returned to the original account.

[0153] In the embodiments of the present disclosure, the verification result is divided into two cases: verification pass and verification fail. In the case of verification pass, the target amount of first resources in the second resource account can be transferred to the first resource account, and the resource filling operation is successfully completed. In the case of verification fail, the target amount of first resources in the second resource account is returned to the original account, thereby enhancing the management of the filled resources, avoiding security risks, and improving security.

[0154] In some embodiments, the verification result includes a plurality of 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, so as 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 steps 3033 to 3036:

[0155] 3033. In the case of the verification result being a first verification result, the target amount of first resources in the second resource account is transferred to the first resource account.

[0156] The first verification result is the highest level verification result in the plurality of verification results set by the electronic device, and the first verification result indicates that the current resource filling operation is a safe operation without security risks. Therefore, the target amount of first resources is transferred to the first resource account to ensure that the subsequent user account can normally use these first resources.

[0157] In some embodiments, the first resources in the first resource account are provided with a corresponding state, which can be a normal state or a frozen state, to indicate whether the corresponding first resources are allowed to be normally used or not allowed to be used. Then step 3033 includes: in the case of the verification result being the first 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 set to the normal state.

[0158] Alternatively, step 3033 includes: in the case of the verification result being the first verification result, the target amount of first resources in the second resource account is transferred to the first resource account, the first amount of first resources in the first resource account is set to the normal state, and the second amount of first resources is set to the frozen state. The sum of the first amount and the second amount is the target amount. The user account can normally use the first amount of first resources, while the second amount of first resources is frozen and not allowed to be used by the user account, so as to ensure that the amount of usable first resources will not be 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 each time the first resource needs to be filled, in a case where 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 the 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 a maximum quantity of the first verification result that can be allowed to be filled, that is, a preset quantity, and in a case where the verification result is the first verification result, if the target quantity is greater than the preset quantity, the target quantity of the first resource in the second resource account is transferred to the first resource account, the first quantity of the first resource is set to a normal state, and the second quantity of the first resource is frozen. 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 large security problem, so the target quantity of the first resource in the second resource account is transferred to the first resource account, and the target quantity of the first resource is set to a normal state.

[0161] 3034、In a case where 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] The second verification result has a lower level than the first verification result, and the second verification result indicates that the resource filling operation this time is not a safe operation and may have a security risk, so the target quantity of the first resource is divided into two parts, the first quantity of the first resource is transferred to the first resource account to ensure that the subsequent user account can normally use these first resources, and the second quantity of the first resource is returned to the original account to ensure that the quantity of the first resource filled this time will not be too much, thereby reducing the security risk.

[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, in a case where 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 the 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 a maximum number of the second verification result that can be allowed to be filled, i.e., a preset number, and then in a case where the verification result is the second verification result, if the target number is greater than the preset number, the first number of the first resource 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 to be filled this time does not exceed the preset number, and even if there is a security risk, it will not cause a large security problem, so the target number of the first resource in the second resource account is transferred to the first resource account.

[0165] 3035、in a case where the verification result is the third verification result, the target number of the first resource in the second resource account is transferred to the first resource account, and the target number of the first resource in the first resource account is frozen.

[0166] The third verification result is lower than the first verification result, and the third verification result indicates that the resource filling operation this time is not a safe operation, and there may be a security risk, so the target number of the first resource is transferred to the first resource account, but these first resources are first frozen to ensure that the user account cannot normally use these first resources subsequently. The first resource can be unfrozen by a technician or based on a verification operation of the user account, and only after the first resource is unfrozen can the user account normally use these first resources.

[0167] In a case where the second verification result and the third verification result are different verification results, the disclosure embodiments do not limit the high and low levels of the second verification result and the third verification result, for example, the levels 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, the electronic device can execute steps 3034 or 3035 in a case where the second verification result (i.e., the third verification result) is obtained.

[0168] 3036、in a case where the verification result is the fourth verification result, the target number of the first resource in the second resource account is returned to the original account.

[0169] The fourth verification result is lower than the first verification result, the second verification result, and the third verification result, and the fourth verification result indicates that the resource filling operation this time is not a safe operation, and there is a great possibility of a security risk, so the resource filling operation is not allowed, and the target number 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 take the above four verification results as examples to describe the processing operations, and other verification results and matching processing operations can also be included in the embodiments of the present disclosure, which are not limited herein.

[0171] In the embodiments of the present disclosure, the verification results include a plurality of 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, so that different processing operations are performed for each level of verification result, ensuring that the processing operation matches the level of the verification result and the security level of the resource filling operation, refining the granularity of the verification result and improving the accuracy of the processing operation. It can not only avoid affecting the normal resource filling operation of the user due to excessive management, but also avoid the security risk caused by insufficient management.

[0172] In some embodiments, the confirmation filling operation is used to indicate that the resource filling operation is performed after converting the third number of second resources into the target number of first resources, the third number of second resources is equal to the value of the target number of first resources, and the types of the first resources and the second resources are different. Wherein, the ratio between the third number and the target number can represent the ratio between the value of a unit quantity of the first resource and a unit quantity of the second resource, for example, if the third number and the target number are equal, it means that the ratio between the unit value of a unit quantity of the first resource and a unit quantity of the second resource is 1:1, or if the ratio between the third number and the target number is 2:1, it means that the ratio between the unit value of a unit quantity of the first resource and a 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 gift different from the first resource, or points different from the first resource, and the embodiments of the present disclosure are not limited thereto. The second resource cannot be used directly and needs to be converted into equivalent first resources before use.

[0174] In this case, step 301 includes the following step 3011:

[0175] 3011, in response to the confirmation filling operation, filling the third number of second resources into the application resource account of the current application client, and the application resource account is used to store resources belonging to the application client; filling the target number of first resources into the second resource account.

[0176] The current application client is a 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, the application resource account is used to store the second resource, and the application client has a function of issuing the first resource to the resource account corresponding to the user account, so that 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 of 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, thereby maintaining the effect of equivalent resources obtained and resources issued, and avoiding resource loss due to non-equivalent resources obtained and resources issued.

[0177] Exemplarily, on the basis of having executed step 3011, in step 3032, the process of returning the target amount of the first resource in the second resource account to the original account includes: deducting the target amount of the first resource from the second resource account, and transferring the third amount of the second resource from the application resource account to the original account.

[0178] Similarly, in step 3034, returning the second amount of the first resource in the second resource account to the original account includes: deducting the second amount of the first resource from the second resource account, and transferring the second resource equivalent to the second amount of the first resource from the application resource account to the original account.

[0179] Exemplarily, step 303 can further include the following step 3037:

[0180] 3037、in the case where the verification result is a fifth verification result, transferring the target amount of the first resource in the second resource account to the first resource account, and marking the third amount of the second resource in the application resource account as an abnormal state.

[0181] The level of the fifth verification result is lower than the level of the first verification result, and the fifth verification result indicates that the current resource filling operation may not be a safe operation and may have a security risk, so the target amount of the first resource in the second resource account is transferred to the first resource account, thereby completing the resource filling operation, but the second resource filled this time in the application resource account needs to be marked as an abnormal state 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 considers that the third amount of the second resource in the original account has been transferred to the application resource account, and the third amount of the second resource is the original resource transferred by the user, so the third amount of the second resource is also marked as abnormal, timely reminding the owner of the application client that this resource is abnormal, and the management range is more comprehensive, thereby further improving the security.

[0182] In some embodiments, the first resource in the first resource account is provided with a corresponding state, which can be a normal state or a frozen state, to indicate whether the corresponding first resource allows normal use or does not allow use, and then step 3037 includes: in the case where the verification result is the fifth verification result, transferring the target number of first resources in the second resource account to the first resource account, setting the target number of first resources in the first resource account to the frozen state, and marking the third number of second resources in the application resource account as the abnormal state.

[0183] It should be noted that the execution subject in the embodiments of the present disclosure is only taken as an example of an electronic device, which can be a terminal, or the electronic device can also include a terminal and a server, and the resource filling method provided by the embodiments of the present disclosure is realized through the interaction of the terminal and the server. For example, the terminal sends a resource filling request to the server in response to confirming the filling operation, the resource filling request carries a target number and a user account logged in by the terminal, the server performs the operations in steps 301-303 in response to the resource filling request, and sends the processing result to the terminal, the terminal receives the processing result returned by the server, displays a processing result interface, and the user can view the processing result in the processing result interface to understand whether the resource filling operation is successful, the number of first resources filled in the first resource account, and the like.

[0184] Figure 4 is a schematic diagram of a recharge process according to an example embodiment, as shown in Figure 4 , the recharge process includes:

[0185] In step 401, the user determines the recharge amount and the payment method in the recharge interface displayed by the terminal, and after clicking the confirmation control, the terminal sends a payment request to the server.

[0186] Among them, the balance in the main account (i.e. the first resource account) corresponding to the user account can also be displayed in the recharge interface, for example, the balance in the main account at this time is 0.

[0187] Referring to Figure 5 , for example, in a live streaming scenario, a user can send a gift to a host in a live streaming room, and when the host selects a gift but the balance in the main account corresponding to the user account is less than the amount required to send the gift, a recharge interface is displayed in the live streaming room, and the recharge amount (50, 100 or 200) can be selected in the recharge interface or the recharge amount can be input in an input box, and a payment method used for this recharge is selected from a plurality of payment methods, and then a confirmation control is clicked, thereby initiating a recharge process.

[0188] In step 402, the server obtains the recharging information corresponding to the user account logged in by the terminal in response to the payment request, inputs the recharging information into the verification system, and obtains a verification result by verifying the recharging information by the verification system.

[0189] In step 403, if the verification result indicates that the recharging operation needs to be intercepted before payment, the payment operation and the recharging operation are cancelled.

[0190] In step 404, if the verification result indicates that the recharging operation does not need to be intercepted before payment, the payment operation is performed according to the selected payment method.

[0191] Further, the recharging process further includes:

[0192] In step 405, if the verification result indicates that the recharging operation can be normally performed, after the payment operation, the main account corresponding to the user account is recharged according to the selected recharging amount, the order state of the recharging order is set to a recharging success state, and the recharging process is ended.

[0193] Taking the recharging amount as 100 as an example, the balance of the main account is 100 at this time.

[0194] Referring to Figure 6 , one or more orders of the user account are displayed in the order interface, including the recharging order, the order interface displays the brief information of the recharging order, including the order type (i.e., the recharging type), the recharging time, the recharging amount, and the order state, wherein the order state is "recharging success", indicating that the current recharging is successful.

[0195] Referring to Figure 7 , the detail information of the recharging order is displayed in the order detail interface, including the order type (i.e., the recharging type), the recharging time, the recharging amount, the order number, and the order state, wherein the order state is "recharging success", indicating that the current recharging is successful.

[0196] In step 406, if the verification result indicates that the recharging operation needs to be delayed, after the payment operation, the shadow account (i.e., the second resource account) corresponding to the user account is recharged, the order state of the recharging order is set to a verification state, the current recharging information is obtained, the recharging information is input into the verification system, and the verification system verifies the recharging information.

[0197] Taking the recharging amount as 100 as an example, the balance of the main account is 0 at this time, and the balance of the shadow account is 100.

[0198] Referring to Figure 8 and Figure 9In the order interface or the order detail interface, the order state of the recharge order is displayed as "recharge under review", indicating that the recharge information is 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 passed, the above-mentioned recharge amount is transferred from the shadow account to the main account, and the order state of the recharge order is set to a recharge success state. 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 is not passed, the above-mentioned recharge amount is refunded from the shadow account to the original account used for payment, and the order state of the recharge order is set to a refund state. At this time, the balance of the main account is 0 and the balance of the shadow account is 0, and the recharge process ends.

[0200] The refund state can include a refund processing state and a refund success state. After initiating the refund, the order state of the recharge order is set to the refund processing state. After confirming the success of the refund, the order state of the recharge order is set to the refund success state.

[0201] Referring to Figure 10 and Figure 11 In the order interface or the order detail interface, the order state of the recharge order is displayed as "refund success", indicating that the recharge amount has been refunded and the recharge has failed.

[0202] As can be seen from the above step 402 and the above step 406, the electronic device can perform two verifications. The first verification occurs before the payment operation is performed. The verification information can include user account, recharge amount, recharge method and the like, but cannot include payment information such as information of the original account used for payment. Since the amount of information is small, the verification result obtained by the verification system is not completely accurate. At this time, the verification result includes three kinds. The first kind is that the verification is not passed, the recharge operation needs to be intercepted before payment. The second kind is that the verification is passed, the recharge operation can be normally performed without intercepting the recharge operation before payment. The third kind is that it is uncertain whether the verification is passed, i.e., the verification result is doubtful, so the recharge operation does not need to be intercepted before payment, but needs to be delayed to perform the second verification.

[0203] The second verification occurs after the payment operation is performed. The verification information can include payment information such as information of the original account used for payment. The amount of information is increased, and the verification result obtained by the verification system is accurate, so whether the recharge is successful can be determined according to the verification result of the second verification.

[0204] The method provided by the embodiments of the present disclosure, in the case of having performed the confirmation filling operation, does not directly fill the first resource to the first resource account corresponding to the user account, but first fills the first resource to the second resource account corresponding to the user account, and verifies the resource filling information, and then automatically performs a processing operation on the first resource filled in the second resource account this time and matching the verification result to determine whether to fill the first resource to the first resource account, delays the completion of the resource filling operation, avoids the case that the user uses the filled resource within the verification period, guarantees the timeliness of the verification operation, and thus improves the security.

[0205] Figure 12 is a flowchart of still another resource filling method according to an exemplary embodiment, as shown in Figure 12 The method is performed by an electronic device, and the method includes the following steps.

[0206] In step 1201, the electronic device fills a target quantity of first resources to a first resource account in response to a confirmation filling operation, and sets an order state of a resource filling order to a verification state.

[0207] In the embodiments of the present disclosure, the confirmation filling operation is used to indicate to perform a resource filling operation, and the resource filling operation is an operation of filling a target quantity of first resources to a first resource account corresponding to a user account. Then, the electronic device will fill the target quantity of first resources to the first resource account in response to the confirmation filling operation, but in order to improve the security and avoid the user using the filled first resources within the period when the verification operation is not completed, the electronic device will also obtain a resource filling order, and set an order state of the resource filling order to a verification state, wherein the resource filling order includes the first resource account, the target quantity, and the order state, and in the verification state, the target quantity of first resources in the first resource account are 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 in the case of the order state being the verification state, although the electronic device has performed the resource filling operation at this time, but since the filled first resources are not allowed to be used by the user account, that is, the resource filling operation is not really completed, thus achieving the effect of "verifying the resource filling information on the premise that the resource filling operation is not completed".

[0210] In some embodiments, the electronic device inputs the resource filling information to a verification system, and verifies the resource filling information through the verification system to obtain a verification result returned by the verification system.

[0211] In step 1203, the electronic device performs a processing operation on the target quantity of first resources and matching the verification result.

[0212] In some embodiments, the verification result includes two types: verification pass and verification fail, and the electronic device can set matching processing operations for the two types of verification results, so as to perform different processing operations for different verification results. Then, step 1203 can include the following steps 12031 or 12032:

[0213] 12031, in the case of a verification pass, the order state of the resource filling order is changed to a filling success state, and the target amount of the first resource in the first resource account is allowed to be used in the filling success state.

[0214] In the case of a successful verification of the resource filling information, it indicates that the current resource filling operation is a safe operation and there is no security risk, and the order state of the resource filling order is changed to a filling success state. At this time, the resource filling operation is truly completed, and the user account can use the first resource subsequently.

[0215] 12032, in the case of a verification fail, the target amount of the first resource in the first resource account is returned to the original account, and the order state of the resource filling order is changed to a return state.

[0216] In the case of a failed verification of the resource filling information, it indicates that the current resource filling operation is not a safe operation and there may be a security risk. Therefore, the target amount of the first resource in the first resource account is returned to the original account to cancel the resource filling operation, and the order state of the resource filling order is changed to a return state to ensure that the order state is consistent with the actual state of the resource filling order.

[0217] In the embodiments of the present disclosure, the verification result is divided into two cases: verification pass and verification fail. In the case of a verification pass, the order state of the resource filling order can be changed to a filling success state, that is, the resource filling operation is successfully completed, so that the user account can use the filled first resource. In the case of a verification fail, the order state of the resource filling order is changed to a return state, thereby canceling the resource filling operation. Therefore, the management of the filled first resource is enhanced, the security risk is avoided, and the security is improved.

[0218] In some embodiments, 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. The electronic device can set matching processing operations for each level of verification result, so as to perform different processing operations for each level of verification result, so as to ensure that the processing operation matches the level of the verification result and matches the security level of the resource filling operation. Then, step 1203 includes any one of the following steps 12033 to 12036:

[0219] 12033、In the case where the verification result is the first verification result, the order state of the resource filling order is changed to a filling success state in which the target quantity of the first resources in the first resource account is allowed to be used.

[0220] The first verification result is the highest level among a plurality of verification results set by the electronic device, and indicates that the current resource filling operation is a safe operation without security risks. Therefore, the order state of the resource filling order is changed to a filling success state to ensure that the subsequent user account can normally use the first resources.

[0221] 12034、In the case where the verification result is the second verification result, the second quantity of the first resources in the first resource account is returned to the original account, and the order state of the resource filling order is changed to a partial filling success state in which the remaining first quantity of the first resources 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] The level of the second verification result is lower than that of the first verification result, and the second verification result indicates that the current resource filling operation is not a safe operation and may have security risks. Therefore, the target quantity of the first resources is divided into two parts, the first quantity of the first resources is retained in the first resource account, the second quantity of the first resources is returned to the original account, and the order state of the resource filling order is changed to a partial filling success state to ensure that the subsequent user account can normally use the first resources, and to ensure that the quantity of the first resources filled this time will not be excessive, thereby reducing the 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 resources need to be filled, in the case where the verification result is the second verification result, the target quantity of the first resources can be divided into the first quantity and the second quantity according to the 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 resources into two parts.

[0224] Exemplarily, the electronic device can set a maximum number of the second verification result that can allow filling, i.e., a preset number, and then in a case where the verification result is the second verification result, if the target number is greater than the preset number, the first number of the first resource is reserved in the first resource account, the second number of the first resource is returned to the original account, and the order state of the resource filling order is changed to a partial filling success state, 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 to be filled this time does not exceed the preset number, and even if there is a security risk, it will not cause a large security problem, so the target number of the first resource is reserved in the first resource account, and the order state of the resource filling order is changed to a filling success state.

[0225] 12035、in a case where the verification result is the third verification result, the order state of the resource filling order is changed to a frozen state, and in the frozen state, the target number of the first resource in the first resource account is not allowed to be used.

[0226] The third verification result indicates that the resource filling operation this time is not a safe operation and may have a security risk, so the order state of the resource filling order is changed to a frozen state to ensure that the subsequent user account cannot normally use these first resources. The first resource can be unfrozen by a technician or based on a verification operation of the user account, and only after the first resource is unfrozen can the user account normally use these first resources.

[0227] In a case where the second verification result and the third verification result are different verification results, the disclosure embodiments do not limit the high and low levels of the second verification result and the third verification result, for example, the levels 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, the electronic device can execute steps 12034 or 12035 in a case where the second verification result (i.e., the third verification result) is obtained.

[0228] 12036、in a case where the verification result is the fourth verification result, the target number of the first resource in the first resource account is returned to the original account, and the order state of the resource filling order is changed to a returned state.

[0229] The fourth verification result indicates that the current resource filling operation is not a safe operation and has a high possibility of security risks, and thus the resource filling operation is not allowed, the target number of first resources in the first resource account needs to be returned to the original account, and the order state of the resource filling order needs to be changed to a returned state.

[0230] In the embodiments of the present disclosure, 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, so that different processing operations are performed for each level of verification result, ensuring that the processing operation matches the level of the verification result and also matches the security level of the resource filling operation, which refines the granularity of the verification result and improves the accuracy of the processing operation. It can not only avoid affecting the normal resource filling operation of the user due to excessive management, but also avoid security risks due to insufficient management.

[0231] It should be noted that the embodiments of the present disclosure only use the above four verification results as an example to describe the processing operation, and other verification results and matching processing operations can also be included in the embodiments of the present disclosure, which are not limited herein.

[0232] In some embodiments, the confirmation filling operation is used to indicate that the resource filling operation is performed after the third number of second resources is converted into the target number of first resources, the third number of second resources is equal to the value of the target number of first resources, and the types of the first resource and the second resource are different. The ratio between the third number and the target number can represent the ratio between the value of a unit quantity of the first resource and a unit quantity of the second resource. For example, if the third number is equal to the target number, it means that the ratio between the unit value of a unit quantity of the first resource and a unit quantity of the second resource is 1:1, or if the ratio between the third number and the target number is 2:1, it means that the ratio between the unit value of a unit quantity of the first resource and a 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, and the embodiments of the present disclosure are not limited thereto. The second resource cannot be used directly and needs to be converted into equivalent first resources before use.

[0234] In this case, step 1201 includes the following step 12011:

[0235] 12011、in response to the confirmation of the filling operation, filling the third quantity of the second resources into an application resource account of the current application client, the application resource account being configured to store resources belonging to the application client; filling the target quantity of the first resources into the first resource account, and setting the order state of the resource filling order to a verification state.

[0236] The current application client is a client of the electronic device that logs in the user account, and the electronic device performs a resource filling operation or other operations through the application client. The application client is provided with an application resource account configured to store the second resources, and the application client has a function of issuing the first resources to the resource account corresponding to the user account, so that the application resource account can be used as a transfer account to realize the equivalent conversion between the first resources and the second resources. Therefore, in response to the confirmation of the filling operation, the electronic device fills the third quantity of the second resources transferred from the original account into the application resource account, and issues the target quantity of the first resources to the first resource account corresponding to the user account, thereby maintaining the equivalent effect of the obtained resources and the issued resources, and avoiding resource loss due to the inequivalence between the obtained resources and the issued resources. In order to avoid the user account using the filled first resources, the order state of the resource filling order is set to a verification state, thereby improving the security.

[0237] Exemplarily, based on the execution of step 12011, in step 12032, the process of returning the target quantity of the first resources in the first resource account to the original account includes deducting the target quantity of the first resources from the first resource account, and transferring the third quantity of the second resources from the application resource account to the original account.

[0238] Similarly, in step 12034, returning the second quantity of the first resources in the first resource account to the original account includes deducting the second quantity of the first resources from the first resource account, and transferring the second resources equivalent to the second quantity of the first resources from the application resource account to the original account.

[0239] Exemplarily, step 303 can further include the following step 12037:

[0240] 12037、in the case where the verification result is the fifth verification result, changing the order state of the resource filling order to a frozen state in which the target quantity of the first resources in the first resource account is not allowed to be used, or changing the order state of the resource filling order to a filling success state in which the target quantity of the first resources in the first resource account is allowed to be used. And mark the third quantity of the second resources in the application resource account as an abnormal state.

[0241] The fifth verification result indicates that the current resource filling operation can not be a safe operation and can have a security risk, and therefore the order state of the resource filling order is changed to a frozen state, thereby freezing the target quantity of the first resource, and the second resource filled this time in the resource account is also marked as an abnormal state to remind the owner of the application client that these second resources are abnormal and cannot be used at will. Alternatively, the order state of the resource filling order is changed to a filling success state to allow the user account to use the target quantity of the first resource, and the second resource filled this time in the resource account is also marked as an abnormal state to remind the owner of the application client that these second resources are abnormal and cannot be used at will.

[0242] Therefore, the embodiments of the present disclosure consider that the third quantity of the second resource in the original account has been transferred to the application resource account, and the third quantity of the second resource is the original resource transferred by the user, and therefore the third quantity of the second resource is also marked as abnormal to timely remind the owner of the application client that this resource is abnormal, and the management range is more comprehensive, and the security is further improved.

[0243] It should be noted that the embodiments of the present disclosure are only examples taking the electronic device as the execution subject, and the electronic device can be a terminal, or the electronic device can include a terminal and a server, and the resource filling method provided by the embodiments of the present disclosure is realized through the interaction of the terminal and the server. For example, the terminal sends a resource filling request to the server in response to confirming the filling operation, the resource filling request carries the target quantity and the user account logged in by the terminal, the server performs the operations in steps 1201-1203 in response to the resource filling request, and sends the processing result to the terminal, the terminal receives the processing result returned by the server, displays a processing result interface, and the user can view the processing result 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 the like. In addition, the terminal can also display an order interface or an order detail interface, and the order interface or the order detail interface displays the latest order state of the resource filling order, and the user can view the latest order state.

[0244] The method provided by the embodiments of the present disclosure, in the case of having performed the confirmation filling operation, although the first resource is filled into the first resource account corresponding to the user account, the order state of the resource filling order is set to a verification state, thereby not allowing the use of the first resource filled in the first resource account. In addition, the resource filling information is verified, and the required filled resource is processed according to the verification result to determine whether to allow the use of the first resource filled this time, thereby delaying the completion of the resource filling operation, avoiding the case that the user uses the filled resource within the verification period, ensuring the timeliness of the verification operation, and thereby improving the security.

[0245] The embodiment of the present disclosure further provides another resource filling method. Figure 13 is a flowchart of still another resource filling method according to an exemplary embodiment, as shown in the figure, the method is executed by an electronic device, and the method comprises the following steps. Figure 13

[0246] In step 1301, the electronic device displays a resource filling interface, and the resource filling interface displays a target quantity, a resource transfer-out mode and a confirmation control, the resource transfer-out mode indicating an original account for transferring out resources.

[0247] The resource filling interface is used for a user to set resource filling information, and the electronic device displays the resource filling interface in a case where a user account is logged in, to indicate that a first resource is to be filled into a first resource account corresponding to the user account. The resource filling information can be set through the resource filling interface, and the resource filling information includes the target quantity and the resource transfer-out mode.

[0248] The target quantity indicates the quantity of the first resource that needs to be filled, and 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 input a new target quantity in the region where the target quantity is located. The input method of the target quantity is not limited in the embodiment of the present disclosure.

[0249] In addition, one or more resource transfer-out modes can be provided in the resource filling interface, each resource transfer-out mode indicating a way of transferring out resources, and indicating an original account for transferring out resources, that is, resources need to be deducted from which original account to fill into the resource account corresponding to the user account. For example, the resource transfer-out mode is online banking, indicating that resources need to be transferred out from the online banking account, and the resource transfer-out mode is a social application client, indicating that resources need to be transferred out from the resource account in the social application client. The user can select the resource transfer-out mode used this time from one or more currently displayed resource transfer-out modes.

[0250] In addition, the resource filling information can further include the quantity of the first resource in the resource account corresponding to the user account, the pre-appointment filling time, the historical filling record and the like, which are not limited in the embodiment of the present disclosure.

[0251] The confirmation control is further displayed in the resource filling interface, and the confirmation control can be triggered after the user sets the resource filling information to instruct the electronic device to perform a resource filling operation.

[0252] ​In some embodiments, the electronic device displays the filling control based on a home page or a function interface of a current application client, and displays the resource filling interface in response to a triggering operation on the filling control. Alternatively, the electronic device displays the resource filling interface in a case where an operation requiring deduction of the first resource is performed, but it is determined that the quantity of the first resource in the resource account is less than the quantity required for deduction. For example, the electronic device displays a live broadcast interface, and in response to an operation of gifting a gift to a host account corresponding to the live broadcast interface, the first resource in the resource account needs to be used to purchase the gift, but the quantity of the first resource in the resource account is less than the quantity required for purchase of the gift, the resource filling interface is displayed, and at this time, the resource filling interface can be located on the upper layer of the live broadcast interface and shield a part 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 a triggering operation on the confirmation control.

[0254] In the processing result interface, a processing operation on the target quantity of the first resource is displayed, the processing operation matches the verification result, and the verification result is obtained on the premise that the resource filling operation is not completed.

[0255] That is, the electronic device verifies the resource filling information on the premise that the resource filling operation is not completed, obtains the verification result, and then performs the processing operation on the target quantity of the first resource that matches the verification result.

[0256] In some embodiments, the triggering operation on the confirmation control is the confirmation filling operation, and the electronic device initiates the process of performing the resource filling operation and displays the processing result interface of the resource filling operation in response to the triggering operation on the confirmation control.

[0257] In some embodiments, the resource filling process includes the following operations: an operation of inputting the target quantity and the resource transfer-out mode, a payment operation, and a resource filling operation. The electronic device displays a payment interface in response to the triggering operation on the confirmation control, the payment interface includes the target quantity, the original account, and a confirmation payment control, and the electronic device deducts the third quantity of the second resource from the original account in response to a triggering operation on the confirmation payment control, 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 the process of performing the resource filling operation is initiated and the processing result interface of the resource filling operation is displayed after the confirmation filling operation is completed.

[0258] The process in which the electronic device performs the verification operation and the processing operation matched with the verification result is the same as the above-described embodiments, and will not be described 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 the processing operation matched with the verification result is performed based on the verification result, the processing operation matched with the verification result is displayed in the processing result interface.

[0259] In some embodiments, the method further includes: displaying a resource account interface, the resource account interface displaying the latest quantity and state of the first resource in the resource account, the state including at least one of a normal state and a frozen state.

[0260] For example, before the current resource filling operation is performed, 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, and therefore 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 state, the normal state indicating that the first resource can be normally used, and the frozen state indicating that the first resource is frozen and temporarily not allowed to be used. All the first resources in the resource account can correspond to the same state, or the first resources in the resource account can be divided into two parts, one part of the first resources corresponding to the normal state and the other part of the first resources corresponding to the frozen state.

[0261] The electronic device can display the account control on the home page of the current application client, and in response to a triggering operation on the account control, display the resource account interface, or the home page of the current application client can also be used as the resource account interface, and the present disclosure does not limit the way of displaying the resource account interface.

[0262] In some embodiments, the method further includes at least one of the following:

[0263] 1. In the order interface, display the brief information of the resource filling order, the brief information including the latest order state of the resource filling order.

[0264] The order interface is used to display the orders of the user account, such as orders of purchasing items, resource filling orders, etc. The brief information of each order can be displayed in the order interface. The present disclosure takes the electronic device performing the resource filling operation as an example, and therefore a resource filling order is generated, and the brief information of the resource filling order is displayed in the order interface. The brief information can include the latest order state of the resource filling order. The order state includes a verification state, a filling success state, a partial filling success state, a frozen state, or a return state.

[0265] If the order status is a verification status, it indicates that the current resource filling information is still being verified, and the first resource filled this time is temporarily unavailable. Or, if the order status is a filling success status, it indicates that the resource filling information has been verified, and the target number of first resources filled this time is allowed to be used by the user account. Or, if the order status is a partial filling success status, it indicates that the resource filling information has been verified, and among the target number of first resources filled this time, part of the first resources are allowed to be used by the user account, and another part of the first resources have been returned to the original account. Or, if the order status is a frozen status, it indicates that the resource filling information has been verified, and the target number of first resources requested to be filled this time has been filled into the resource account, but is currently in a frozen state and temporarily not allowed to be used by the user account. Or, if the order status is a return status, it indicates that the resource filling information has been verified, and the target number of first resources filled this time has been returned to the original account.

[0266] In addition, in the brief information, in addition to the order status, the target number, the time of initiating the resource filling operation, the time of completing the verification of the resource filling information, the number of first resources successfully filled, and the like can be included, which are not limited by the embodiments of the present disclosure.

[0267] For example, the order interface is as shown in Figure 6 、 Figure 8 and Figure 10 .

[0268] In some embodiments, the electronic device can also display a processing result interface of the resource filling order in response to the triggering operation of the resource filling order in the order interface. The processing result interface can display the latest order status and the processing operation according to the verification result of the resource filling information.

[0269] 2. In the order detail interface, the detail information of the resource filling order is displayed, and the detail information includes the latest order status of the resource filling order.

[0270] The order detail interface is used to display the detail information of the current order, which can be an order of purchasing an item, a resource filling order, and the like. Taking the resource filling order as an example, the order detail interface displays the detail information of the resource filling order, which includes the latest order status, and the order status includes a verification status, a filling success status, a partial filling success status, a frozen status, or a return status.

[0271] The detail information of the resource filling order is more than the brief information of the resource filling order. For example, in addition to the information included in the brief information, the detail information can also include the order number of the resource filling order, the resource transfer-out mode, the verification result of the resource filling information, the reason for filling success or failure, and the like.

[0272] In some embodiments, the electronic device displays an order interface, which includes brief information about one or more orders. In response to a triggering operation on any order, the electronic device can display the order details interface corresponding to that order to show the detailed information of that order.

[0273] For example, the order interface is as follows Figure 7 , Figure 9 and Figure 11 As shown.

[0274] This embodiment of the disclosure verifies the resource filling information before the resource filling operation is completed, and then performs processing operations on the resources to be filled to match the verification results. This delays the completion of the resource filling operation, preventing users from using the filled resources during the period between the completion of the resource filling operation and the completion of the verification operation, thus ensuring the timeliness of the verification operation and improving security. Furthermore, the resource filling process can be initiated through the resource filling interface, and the processing operation on the target number of first resources can be intuitively displayed in the processing result interface, allowing users to clearly understand the processing result of the resource filling operation. This enables the simple and quick transmission of more information and improves information transmission efficiency.

[0275] Furthermore, this embodiment of the disclosure also provides a resource account interface, in which users can view the minimum quantity and status of the first resource in the resource account, increasing the amount of information displayed, helping users to understand the status of the resource account in a timely manner, and improving the efficiency of information transmission.

[0276] Furthermore, this embodiment of the disclosure also provides at least one of an order interface and an order details interface. The order interface can display a brief introduction to the resource-filling order, allowing users to view the brief information and promptly understand the order status. The order details interface can display detailed information about the resource-filling order, allowing users to view the detailed information and promptly understand the order status. Therefore, this embodiment of the disclosure increases the amount of information displayed, helping users to understand the status of the resource-filling order in a timely manner and improving information transmission efficiency.

[0277] Figure 14 This is a structural block diagram illustrating a resource filling device according to an exemplary embodiment. (Refer to...) Figure 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, provided that the resource filling operation has not been completed. The confirmation filling operation is used to instruct the execution of the resource filling operation, which is to fill the first resource with a target quantity 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 matching the verification result on the target amount of the first resource.

[0280] In some embodiments, the verification unit 1401 comprises:

[0281] The first verification sub-unit is configured to, in response to the confirmation filling operation, fill the target amount of the first resource into a second resource account corresponding to the user account on the premise that the target amount of the first resource is not filled into the first resource account, the first resource in the second resource account being not allowed to be used by the user account; and verify resource filling information corresponding to the resource filling operation.

[0282] In some embodiments, the processing unit 1402 is configured to:

[0283] In a case where the verification result is a verification pass, transfer the target amount of the first resource in the second resource account to the first resource account; or

[0284] In a case where the verification result is a verification fail, return the target amount of the first resource in the second resource account to an original account.

[0285] In some embodiments, the processing unit 1402 is configured to:

[0286] In a case where 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; or

[0287] In a case where the verification result is the second verification result, transfer the first amount of the first resource in the second resource account to the first resource account, and return the second amount of the first resource in the second resource account to the original account, the sum of the first amount and the second amount being the target amount; or

[0288] In a case where the verification result is the third verification result, transfer the target amount of the first resource in the second resource account to the first resource account, and freeze the target amount of the first resource in the first resource account; or

[0289] In a case where the verification result is the fourth verification result, return the target amount of the first resource in the second resource account to the original account.

[0290] In some embodiments, the confirmation filling operation is used to indicate that the resource filling operation is performed after the third amount of the second resource is converted into the target amount of the first resource, the third amount of the second resource being equal to the value of the target amount of the first resource, the first resource and the second resource being of different types;

[0291] The first verification subunit is configured to, in response to the confirmation of the filling operation, fill the third quantity of the second resources into an application resource account of the current application client, and fill the target quantity of the first resources into a second resource account.

[0292] In some embodiments, the processing unit is configured to, in a case where the verification result is a 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 an abnormal state.

[0293] In some embodiments, the verification unit 1401 comprises:

[0294] The second verification subunit is configured to, in response to the confirmation of the filling operation, fill the target quantity of the first resources into the first resource account, and set an order state of a resource filling order to a verification state, the resource filling order comprising the first resource account, the target quantity, and the order state, in the verification state, the target quantity of the first resources in the first resource account is not allowed to be used; and perform verification on the resource filling information.

[0295] In some embodiments, the processing unit 1402 is configured to:

[0296] in a case where the verification result is a verification pass, change the order state of the resource filling order to a filling success state, in the filling success state, the target quantity of the first resources in the first resource account is allowed to be used; or

[0297] in a case where the verification result is a verification fail, return the target quantity of the first resources in the first resource account to an original account, and change the order state of the resource filling order to a return state.

[0298] In some embodiments, the processing unit 1402 is configured to:

[0299] in a case where the verification result is a first verification result, change the order state of the resource filling order to a filling success state, in the filling success state, the target quantity of the first resources in the first resource account is allowed to be used; or

[0300] in a case where the verification result is a second verification result, return a second quantity of the first resources in the first resource account to an original account, and change the order state of the resource filling order to a partial filling success state, in the partial filling success state, a first quantity of the first resources remaining in the first resource account is allowed to be used, the first quantity and the second quantity are summed to the target quantity; or

[0301] In a case where the verification result is the third verification result, the order state 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

[0302] In a case where 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 state of the resource filling order is changed to a returned state.

[0303] In some embodiments, the confirmation filling operation is used to indicate that the resource filling operation is performed after the third quantity of the second resource is converted into the target quantity of the first resource, the third quantity of the second resource is equal to the value of the target quantity of the first resource, and the first resource and the second resource are of different types;

[0304] The second verification subunit is configured to:

[0305] In response to the confirmation filling operation, the third quantity of the second resource is filled into an application resource account of the current application client, and the application resource account is used to store resources belonging to the application client;

[0306] The target quantity of the first resource is filled into the first resource account, and the order state of the resource filling order is set to a verification state.

[0307] In some embodiments, the processing unit 1402 is configured to:

[0308] In a case where the verification result is the fifth verification result, the order state 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 state 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] The third quantity of the second resource in the application resource account is marked as an abnormal state.

[0310] Figure 15 is a structural block diagram of a resource filling device according to an exemplary embodiment. Referring to Figure 15 The device includes the following units.

[0311] The first interface display unit 1501 is configured to display a resource filling interface, and the resource filling interface displays a target quantity, a resource transfer-out mode, and a confirmation control. The resource transfer-out mode indicates an original account used to transfer out 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 triggering operation on the confirmation control, the resource filling operation being an operation of filling a target quantity of first resources from an original account to a resource account corresponding to a user account, and the processing result interface displaying a processing operation on the target quantity of first resources, the processing operation matching a verification result of the resource filling information, the verification result being obtained on the premise that the resource filling operation is not completed.

[0313] In some embodiments, the apparatus further includes:

[0314] The third interface display unit is configured to display a resource account interface, the resource account interface displaying a latest quantity and a state of the first resources in the resource account, the state including at least one of a normal state and a frozen state.

[0315] In some embodiments, the apparatus further includes:

[0316] The fourth interface display unit is configured to display, in an order interface, brief information of a resource filling order, the brief information including a latest order state of the resource filling order; or

[0317] The fifth interface display unit is configured to display, in an order detail interface, detail information of the resource filling order, the detail information including a latest order state of the resource filling order.

[0318] The order state includes a verification state, a filling success state, a partial filling success state, a frozen state, or a return state.

[0319] As to the apparatus in the above embodiments, the specific manners in which various units perform operations have been described in detail in the embodiments of the method, and thus will not be described here in detail.

[0320] Embodiments of the present disclosure are performed by an electronic device, which is a terminal or a server.

[0321] Figure 16 is a structural block diagram of a terminal according to an exemplary embodiment. In some embodiments, the terminal 1600 includes a mobile phone, a desktop computer, a notebook computer, a tablet computer, a PDA, or other terminals, etc. The terminal 1600 can also be referred to as a user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.

[0322] Generally, the terminal 1600 includes a processor 1601 and a memory 1602.

[0323] In some embodiments, the 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. In some embodiments, the one or more computer-readable storage media is non-transitory. In some embodiments, the non-transitory computer-readable storage media in the memory 1602 stores executable instructions for execution by the processor 1601 to implement the resource filling method provided by the method embodiments in the present disclosure.

[0325] In some embodiments, the terminal 1600 can 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 through a bus or a signal line. In some embodiments, each peripheral device is connected to the peripheral device interface 1603 through 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 can understand that, Figure 16 The structure shown in FIG. 17 does not constitute a limitation on the terminal 1600, and can include more or fewer components than those shown, or combine certain components, or use different arrangements of components.

[0328] Figure 17 FIG. 17 is a structural schematic diagram of a server 1700 according to an exemplary embodiment. The server 1700 can have a large difference in configuration or performance, and can include one or more processors (Central Processing Units, CPUs) 1701 and one or more memories 1702. The memory 1702 stores at least one computer program, which is loaded and executed by the processor 1701 to implement the method provided by each method embodiment. Of course, the server can also have a wired or wireless network interface, a keyboard, and an input / output interface, etc., to perform input and output, and can include other components for implementing device functions, which are not described here.

[0329] In an exemplary embodiment, there is also provided a computer-readable storage medium including instructions, which when executed by a processor of an electronic device, enable the electronic device to perform the resource padding method in the above-described embodiments. 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 disc, and an optical data storage device, etc.

[0330] In an exemplary embodiment, there is also provided a computer program product including a computer program, which when executed by a processor, implements the resource padding method in the above-described embodiments.

[0331] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon considering the description hereof in light of the drawings and specification. The disclosure is intended to cover any alternatives, modifications, and equivalents of the embodiments of the disclosure that are in accordance with the general principles of the disclosure and include those that are within the scope of the disclosure but are not expressly disclosed in the description or examples. The present disclosure is not intended to be limited to the embodiments described herein, but is to be accorded the full scope that the claims afford to the principles and novel features disclosed herein.

[0332] It is to be understood that the present disclosure is not limited to the precise construction hereinafter described and as shown in the drawings, and that various modifications and changes can be made by those skilled in the art without departing from the scope of the present disclosure. The scope of the present disclosure is limited only by the claims appended hereto.

Claims

1. A resource filling method, characterized by, The method comprises: in response to a confirmation filling operation, verifying resource filling information corresponding to a resource filling operation under the condition that the resource filling operation is not completed, 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 number of first resources into a first resource account corresponding to a user account; performing a processing operation on the target number of first resources that matches a verification result; and the verifying, in response to the confirmation filling operation, the resource filling information corresponding to the resource filling operation under the condition that the resource filling operation is not completed, comprises: in response to the confirmation filling operation, filling the target number of first resources into a second resource account corresponding to the user account under the condition that the target number of first resources is not filled into the first resource account, the first resources in the second resource account being not allowed to be used by the user account, and the second resource account being a hidden resource account and being unable to be displayed by the user account; and verifying the resource filling information corresponding to the resource filling operation; or in response to the confirmation filling operation, filling the target number of first resources into the first resource account, and setting an order state of a resource filling order to a verification state, the resource filling order comprising the first resource account, the target number, and the order state, the target number of first resources in the first resource account being not allowed to be used in the verification state; and verifying the resource filling information; the order state comprising the verification state, a filling success state, a return state, a partial filling success state, and a frozen state, the partial filling success state indicating that a part of the target number of first resources is filled into the first resource account, and another part of the target number of first resources is returned to an original account. the performing, on the target number of first resources, the processing operation that matches the verification result comprises:

2. The method of claim 1, wherein, in a case where the verification result is a verification pass, transferring the target number of first resources in the second resource account to the first resource account; or in a case where the verification result is a verification fail, returning the target number of first resources in the second resource account to the original account. the performing, on the target number of first resources, the processing operation that matches the verification result comprises:

3. The method of claim 1, wherein, in a case where the verification result is a first verification result, transferring the target number of first resources in the second resource account to the first resource account; or in a case where the verification result is a second verification result, transferring a first number of first resources in the second resource account to the first resource account, and returning a second number of first resources in the second resource account to the original account, the first number and the second number summing up to the target number; or in a case where the verification result is a third verification result, transferring a first number of first resources in the second resource account to the first resource account, and returning a second number of first resources in the second resource account to the original account, the first number and the second number summing up to the target number. In a case where the verification result is a third 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 frozen; or In a case where the verification result is a fourth verification result, the target quantity of first resources in the second resource account is returned to the original account.

4. The method of claim 1, wherein, The confirmation filling operation is used to indicate that the resource filling operation is performed after a third quantity of second resources is converted into the target quantity of first resources, the third quantity of second resources is equal to the value of the target quantity of first resources, and the first resources and the second resources are of different types; The response to the confirmation filling operation, without filling the target quantity of first resources into the first resource account, includes: In response to the confirmation filling operation, the third quantity of second resources is filled into an application resource account of the current application client, and the application resource account is used to store resources belonging to the application client; The target quantity of first resources is filled into the second resource account.

5. The method of claim 4, wherein, The processing operation of the target quantity of first resources matching the verification result includes: In a case where the verification result is a 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 an abnormal state.

6. The method of claim 1, wherein, The processing operation of the target quantity of first resources matching the verification result includes: In a case where the verification result is a verification pass, the order state of the resource filling order is changed to the filling success state, and in the filling success state, the target quantity of first resources in the first resource account is allowed to be used; or In a case where the verification result is a verification fail, the target quantity of first resources in the first resource account is returned to the original account, and the order state of the resource filling order is changed to the return state.

7. The method of claim 1, wherein, The processing operation of the target quantity of first resources matching the verification result includes: In a case where the verification result is a first verification result, the order state of the resource filling order is changed to the filling success state, and in the filling success state, the target quantity of first resources in the first resource account is allowed to be used; or In a case where the verification result is a second verification result, a second quantity of first resources in the first resource account is returned to the original account, the order state of the resource filling order is changed to a partial filling success state, and in the partial filling success state, a first quantity of first resources remaining in the first resource account is allowed to be used, and the first quantity and the second quantity are summed to the target quantity; or In a case where the verification result is a third 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 frozen; or In a case where the verification result is a third verification result, changing an order state of the resource filling order to a frozen state in which the target quantity of the first resources in the first resource account is not allowed to be used; or In a case where the verification result is a fourth verification result, returning the target quantity of the first resources in the first resource account to the original account, and changing an order state of the resource filling order to a returned state.

8. The method of claim 1, wherein, The confirmation filling operation is used to indicate that the resource filling operation is executed after a third quantity of second resources is converted into the target quantity of the first resources, the third quantity of the second resources is equal to a value of the target quantity of the first resources, and the first resources and the second resources are of different types; The response to the confirmation filling operation includes: In response to the confirmation filling operation, filling the third quantity of the second resources into an application resource account of the application client, the application resource account being used to store resources belonging to the application client; Filling the target quantity of the first resources into the first resource account, and setting an order state of the resource filling order to a verification state.

9. The method of claim 8, wherein, The processing operation on the target quantity of the first resources that matches the verification result includes: In a case where the verification result is a fifth verification result, changing an order state of the resource filling order to a frozen state in which the target quantity of the first resources in the first resource account is not allowed to be used, or changing an order state of the resource filling order to a filling success state in which the target quantity of the first resources in the first resource account is allowed to be used; Marking the third quantity of the second resources in the application resource account as an abnormal state.

10. A resource filling apparatus characterized by comprising: The verification unit is configured to, in response to a confirmation filling operation, verify resource filling information corresponding to a resource filling operation on a premise that the resource filling operation is not completed, the confirmation filling operation being used to indicate that the resource filling operation is executed, and the resource filling operation being an operation of filling a target quantity of first resources into a first resource account corresponding to a user account; The processing unit is configured to perform a processing operation on the target quantity of the first resources that matches a verification result; The verification unit includes: A first verification subunit is configured to, in response to the confirmation filling operation, fill the target quantity of the first resources into a second resource account corresponding to the user account on a premise that the target quantity of the first resources is not filled into the first resource account, the first resources in the second resource account being not allowed to be used by the user account, and the second resource account being a hidden resource account and being unable to be displayed by the user account; and verify the resource filling information corresponding to the resource filling operation. Or ​ A second verification sub-unit configured to, in response to the confirmation filling operation, fill the target quantity of first resources to the first resource account, and set an order state of a resource filling order to a verification state, the resource filling order comprising the first resource account, the target quantity and the order state, in the verification state, the target quantity of first resources in the first resource account is not allowed to be used; verify the resource filling information; the order state comprises the verification state, a filling success state, a return state, a partial filling success state and a frozen state, the partial filling success state indicates that a part of the target quantity of first resources is filled to the first resource account, and another part of the target quantity of first resources is returned to an original account.

11. An electronic device, comprising: Comprise: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the resource filling method of any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that, When the instructions in the computer readable storage medium are executed by the processor of the electronic device, the electronic device is enabled to perform the resource filling method of any one of claims 1 to 9.

13. A computer program product, characterised in that, comprise a computer program, which, when executed by a processor, implements the resource filling method of any one of claims 1 to 9.

Citation Information

Patent Citations

  • Resource transfer method, device and equipment and computer readable storage medium

    CN114140105A

  • Resource transfer processing method and device, electronic equipment and computer readable storage medium

    CN115249157A