CN112036887A - Method, device, device and storage medium for resource transfer - Google Patents

Method, device, device and storage medium for resource transfer Download PDF

Info

Publication number
CN112036887A
CN112036887A CN201910482986.3A CN201910482986A CN112036887A CN 112036887 A CN112036887 A CN 112036887A CN 201910482986 A CN201910482986 A CN 201910482986A CN 112036887 A CN112036887 A CN 112036887A
Authority
CN
China
Prior art keywords
resource
account
target object
transfer
resource transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910482986.3A
Other languages
Chinese (zh)
Inventor
杨勇
杨进京
李凯
晏琪
陆斌
张海玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201910482986.3A priority Critical patent/CN112036887A/en
Publication of CN112036887A publication Critical patent/CN112036887A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/409Device specific authentication in transaction processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/42Confirmation, e.g. check or permission by the legal debtor of payment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/06Asset management; Financial planning or analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本申请公开了资源转移的方法、装置、设备及存储介质,属于互联网技术领域。方法包括:基于目标对象的第一资源账号的资源转移请求,获取资源转移数量;根据资源转移数量确定目标对象的第二资源账号中待锁定的第一资源的数量;响应于待锁定的第一资源的数量不超过参考数量,将待锁定的第一资源进行锁定;响应于锁定成功,将第三方的资源账号中的第二资源转移至目标对象的第一资源账号;响应于资源转移结果为资源转移成功,将被锁定的第一资源进行解锁,将解锁后的第一资源转移至第三方的资源账号。在整个资源转移过程中,即使资源转移的周期较长,也不会造成附加资源的损失,保证目标对象的资源无损,提高资源转移的效果,提升用户体验。

Figure 201910482986

The present application discloses a method, apparatus, device and storage medium for resource transfer, which belong to the technical field of the Internet. The method includes: obtaining the resource transfer quantity based on the resource transfer request of the first resource account of the target object; determining the quantity of the first resource to be locked in the second resource account of the target object according to the resource transfer quantity; The number of resources does not exceed the reference number, and the first resource to be locked is locked; in response to the successful locking, the second resource in the resource account of the third party is transferred to the first resource account of the target object; in response to the resource transfer result is If the resource transfer is successful, the locked first resource is unlocked, and the unlocked first resource is transferred to the third-party resource account. In the entire resource transfer process, even if the resource transfer cycle is long, it will not cause the loss of additional resources, ensuring that the resources of the target object are not damaged, improving the effect of resource transfer, and improving user experience.

Figure 201910482986

Description

资源转移的方法、装置、设备及存储介质Method, device, device and storage medium for resource transfer

技术领域technical field

本申请实施例涉及互联网技术领域,特别涉及一种资源转移的方法、装置、设备及存储介质。The embodiments of the present application relate to the field of Internet technologies, and in particular, to a method, apparatus, device, and storage medium for resource transfer.

背景技术Background technique

随着社会的发展及科技的不断进步,资源转移的方式越来越多。不同账号之间的资源可以进行相互转移。例如,以资源为资金为例,可以将储蓄卡账号中的资金转移至信用卡账号中,用于信用卡还款等。With the development of society and the continuous progress of science and technology, there are more and more ways of resource transfer. Resources between different accounts can be transferred to each other. For example, taking resources as funds as an example, the funds in the savings card account can be transferred to the credit card account for credit card repayment.

相关技术在第三方将资源转移至用户的第一资源账号的过程中,先将用户的第二资源账号的资源转移至第三方的资源账号中,再将第三方资源账号中的资源转移至用户的第一资源账号。例如,在第三方商户帮用户进行信用卡还款的过程中,先将用户的基金进行赎回,将赎回资金转付至第三方商户的账号中,然后再将第三方商户账号中的资金转付到用户的信用卡账号中。In the related art, in the process of the third party transferring resources to the user's first resource account, the resources of the user's second resource account are first transferred to the third-party resource account, and then the resources in the third-party resource account are transferred to the user. The first resource account of . For example, when a third-party merchant helps a user to repay a credit card, the user's funds are first redeemed, the redemption funds are transferred to the account of the third-party merchant, and then the funds in the third-party merchant's account are transferred. Pay to the user's credit card account.

在实现本申请的过程中,发明人发现相关技术至少存在以下问题:In the process of realizing this application, the inventor found that the related art has at least the following problems:

相关技术中,先将用户的第二资源账号的资源转移至第三方的资源账号中,再将第三方资源账号中的资源转移至用户的第一资源账号。当资源转移的周期较长时,提前将用户的第二资源账号的资源转移至第三方的资源账号,可能会造成部分附加资源的损失。In the related art, the resources of the user's second resource account are first transferred to the third-party resource account, and then the resources in the third-party resource account are transferred to the user's first resource account. When the period of resource transfer is long, transferring the resources of the user's second resource account to the third-party resource account in advance may result in the loss of some additional resources.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种资源转移的方法、装置、设备及存储介质,可用于解决相关技术中的问题。所述技术方案如下:Embodiments of the present application provide a method, apparatus, device, and storage medium for resource transfer, which can be used to solve problems in related technologies. The technical solution is as follows:

一方面,本申请实施例提供了一种资源转移的方法,所述方法包括:On the one hand, an embodiment of the present application provides a method for resource transfer, the method comprising:

基于目标对象的第一资源账号的资源转移请求,获取资源转移数量;Obtain the resource transfer quantity based on the resource transfer request of the first resource account of the target object;

根据所述资源转移数量确定所述目标对象的第二资源账号中待锁定的第一资源的数量;determining the number of the first resources to be locked in the second resource account of the target object according to the number of resource transfers;

响应于所述待锁定的第一资源的数量不超过参考数量,将所述待锁定的第一资源进行锁定,被锁定的第一资源能产生额外的附加资源但不能被转移;In response to the number of the first resources to be locked does not exceed the reference number, the first resources to be locked are locked, and the locked first resources can generate additional additional resources but cannot be transferred;

响应于锁定成功,将第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号,所述第二资源的数量与所述第一资源的数量相对应;In response to the successful locking, transfer the second resource in the resource account of the third party to the first resource account of the target object, and the quantity of the second resource corresponds to the quantity of the first resource;

响应于所述资源转移结果为资源转移成功,将所述被锁定的第一资源进行解锁,将解锁后的第一资源转移至所述第三方的资源账号。In response to the resource transfer result being that the resource transfer is successful, the locked first resource is unlocked, and the unlocked first resource is transferred to the resource account of the third party.

可选地,所述将第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号之后,还包括:Optionally, after transferring the second resource in the resource account of the third party to the first resource account of the target object, the method further includes:

响应于所述资源转移结果为资源转移失败,当资源转移失败的次数超过阈值范围时,将所述被锁定的第一资源进行解锁。In response to the resource transfer result being a resource transfer failure, when the number of resource transfer failures exceeds a threshold range, the locked first resource is unlocked.

可选地,所述将第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号之后,还包括:Optionally, after transferring the second resource in the resource account of the third party to the first resource account of the target object, the method further includes:

响应于资源转移结果为资源转移失败,当资源转移失败的次数不超过阈值时,继续执行所述将第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号,直至资源转移结果为资源转移成功或者资源转移失败的次数超过阈值。In response to the resource transfer result being a resource transfer failure, when the number of resource transfer failures does not exceed the threshold, continue to perform the transfer of the second resource in the third-party resource account to the first resource account of the target object until the resource is transferred. The transfer result is that the resource transfer succeeds or the number of times the resource transfer fails exceeds the threshold.

可选地,所述将所述被锁定的第一资源进行解锁,包括:Optionally, the unlocking of the locked first resource includes:

将被锁定的第一资源的状态恢复为能产生额外的附加资源并且能被转移的状态。The state of the locked first resource is restored to a state that can generate additional additional resources and can be transferred.

可选地,所述将第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号,包括:Optionally, the transferring the second resource in the resource account of the third party to the first resource account of the target object includes:

将第三方的资源账号中的第二资源转移至中转平台,所述中转平台用于将所述第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号。The second resource in the resource account of the third party is transferred to a transfer platform, and the transfer platform is used for transferring the second resource in the resource account of the third party to the first resource account of the target object.

可选地,所述基于目标对象的第一资源账号的资源转移请求,获取资源转移数量之前,还包括:Optionally, before obtaining the resource transfer quantity based on the resource transfer request of the first resource account of the target object, the method further includes:

基于目标对象的资源账号的资源转移请求,进行身份验证,所述资源转移请求中包括身份验证信息;Perform authentication based on the resource transfer request of the resource account of the target object, where the resource transfer request includes authentication information;

响应于所述身份验证通过,显示目标对象的资源账号的列表;In response to passing the authentication, displaying a list of resource accounts of the target object;

响应于目标对象的第一资源账号在所述目标对象的资源账号的列表中,基于目标对象的第一资源账号的选中指令,获取目标对象的第一资源账号的资源转移请求。In response to the first resource account of the target object being in the list of resource accounts of the target object, the resource transfer request of the first resource account of the target object is acquired based on the selection instruction of the first resource account of the target object.

可选地,所述基于目标对象的第一资源账号的资源转移请求,获取资源转移数量之前,还包括:Optionally, before obtaining the resource transfer quantity based on the resource transfer request of the first resource account of the target object, the method further includes:

基于目标对象的资源账号的资源转移请求,进行身份验证,所述资源转移请求中包括身份验证信息;Perform authentication based on the resource transfer request of the resource account of the target object, where the resource transfer request includes authentication information;

响应于所述身份验证通过,显示目标对象的资源账号的列表;In response to passing the authentication, displaying a list of resource accounts of the target object;

响应于目标对象的第一资源账号不在所述目标对象的资源账号的列表中,显示资源账号绑定界面,在所述资源账号绑定界面,获取目标对象的第一资源账号的信息,基于所述目标对象的第一资源账号的信息,获取目标对象的第一资源账号的资源转移请求。In response to that the first resource account of the target object is not in the list of resource accounts of the target object, a resource account binding interface is displayed, and on the resource account binding interface, the information of the first resource account of the target object is obtained, based on the The information of the first resource account of the target object is described, and the resource transfer request of the first resource account of the target object is obtained.

可选地,所述基于目标对象的第一资源账号的资源转移请求,获取资源转移数量,包括:Optionally, obtaining the resource transfer quantity based on the resource transfer request of the first resource account of the target object, including:

基于目标对象的第一资源账号的资源转移请求,显示资源转移数量输入界面;Display the resource transfer quantity input interface based on the resource transfer request of the first resource account of the target object;

在所述资源转移数量输入界面,获取输入的资源转移数量。On the resource transfer quantity input interface, obtain the input resource transfer quantity.

另一方面,提供了一种资源转移的装置,所述装置包括:In another aspect, an apparatus for resource transfer is provided, the apparatus comprising:

获取模块,用于基于目标对象的第一资源账号的资源转移请求,获取资源转移数量;an obtaining module, used for obtaining the resource transfer quantity based on the resource transfer request of the first resource account of the target object;

确定模块,用于根据所述资源转移数量确定所述目标对象的第二资源账号中待锁定的第一资源的数量;a determining module, configured to determine the quantity of the first resource to be locked in the second resource account of the target object according to the resource transfer quantity;

锁定模块,用于响应于所述待锁定的第一资源的数量不超过参考数量,将所述待锁定的第一资源进行锁定,被锁定的第一资源能产生额外的附加资源但不能被转移;A locking module, configured to lock the first resource to be locked in response to the quantity of the first resource to be locked does not exceed the reference quantity, and the locked first resource can generate additional additional resources but cannot be transferred ;

第一转移模块,用于响应于锁定成功,将第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号,所述第二资源的数量与所述第一资源的数量相对应;A first transfer module, configured to transfer the second resource in the resource account of the third party to the first resource account of the target object in response to the successful locking, the quantity of the second resource and the quantity of the first resource Corresponding;

解锁模块,用于响应于所述资源转移结果为资源转移成功,将所述被锁定的第一资源进行解锁;an unlocking module, configured to unlock the locked first resource in response to the resource transfer result being that the resource transfer is successful;

第二转移模块,用于将解锁后的第一资源转移至所述第三方的资源账号。The second transfer module is configured to transfer the unlocked first resource to the resource account of the third party.

可选地,所述解锁模块,还用于响应于所述资源转移结果为资源转移失败,当资源转移失败的次数超过阈值范围时,将所述被锁定的第一资源进行解锁。Optionally, the unlocking module is further configured to, in response to the resource transfer result being a resource transfer failure, unlock the locked first resource when the number of resource transfer failures exceeds a threshold range.

可选地,所述第一转移模块,还用于响应于资源转移结果为资源转移失败,当资源转移失败的次数不超过阈值时,继续执行所述将第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号,直至资源转移结果为资源转移成功或者资源转移失败的次数超过阈值。Optionally, the first transfer module is further configured to, in response to the resource transfer result being that the resource transfer fails, when the number of times the resource transfer fails does not exceed a threshold, continue to execute the second resource in the third party's resource account. Transfer to the first resource account of the target object until the resource transfer result is that the resource transfer succeeds or the number of times the resource transfer fails exceeds the threshold.

可选地,所述解锁模块,用于将被锁定的第一资源的状态恢复为能产生额外的附加资源并且能被转移的状态。Optionally, the unlocking module is configured to restore the state of the locked first resource to a state in which additional additional resources can be generated and can be transferred.

可选地,所述第一转移模块,用于将第三方的资源账号中的第二资源转移至中转平台,所述中转平台用于将所述第三方的资源账号中的第二资源转移至所述目标对象的第一资源账号。Optionally, the first transfer module is used to transfer the second resource in the resource account of the third party to a transfer platform, and the transfer platform is used to transfer the second resource in the resource account of the third party to the transfer platform. The first resource account of the target object.

可选地,所述装置,还包括:Optionally, the device further includes:

验证模块,用于基于目标对象的资源账号的资源转移请求,进行身份验证,所述资源转移请求中包括身份验证信息;a verification module for performing identity verification based on a resource transfer request of the resource account of the target object, where the resource transfer request includes identity verification information;

第一显示模块,用于响应于所述身份验证通过,显示目标对象的资源账号的列表;a first display module, configured to display a list of resource accounts of the target object in response to passing the authentication;

所述获取模块,用于响应于目标对象的第一资源账号在所述目标对象的资源账号的列表中,基于目标对象的第一资源账号的选中指令,获取目标对象的第一资源账号的资源转移请求。The obtaining module is configured to obtain the resources of the first resource account of the target object based on the selection instruction of the first resource account of the target object in response to the first resource account of the target object being in the list of resource accounts of the target object transfer request.

可选地,所述获取模块,用于响应于目标对象的第一资源账号不在所述目标对象的资源账号的列表中,显示资源账号绑定界面,在所述资源账号绑定界面,获取目标对象的第一资源账号的信息,基于所述目标对象的第一资源账号的信息,获取目标对象的第一资源账号的资源转移请求。Optionally, the obtaining module is configured to display a resource account binding interface in response to that the first resource account of the target object is not in the list of resource accounts of the target object, and obtain the target on the resource account binding interface. The information of the first resource account of the object, and the resource transfer request of the first resource account of the target object is acquired based on the information of the first resource account of the target object.

可选地,所述装置,还包括:Optionally, the device further includes:

第二显示模块,用于基于目标对象的第一资源账号的资源转移请求,显示资源转移数量输入界面;The second display module is used to display the resource transfer quantity input interface based on the resource transfer request of the first resource account of the target object;

所述获取模块,用于在所述资源转移数量输入界面,获取输入的资源转移数量。The obtaining module is configured to obtain the input resource transfer quantity on the resource transfer quantity input interface.

另一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令在被所述处理器执行时实现上述任一所述的资源转移的方法。In another aspect, a computer device is provided, the computer device includes a processor and a memory, the memory stores at least one instruction, the at least one instruction when executed by the processor implements any of the above method of resource transfer.

另一方面,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令,所述至少一条指令在被执行时实现上述任一所述的资源转移的方法。In another aspect, a computer-readable storage medium is also provided, wherein the computer-readable storage medium stores at least one instruction, and when the at least one instruction is executed, implements any one of the foregoing resource transfer methods.

本申请实施例提供的技术方案至少带来如下有益效果:The technical solutions provided in the embodiments of the present application at least bring the following beneficial effects:

先将目标对象的第二资源账号中的第一资源锁定,在被锁定期间,第一资源能够继续产生额外的附加资源。当第三方的资源账号中的第二资源成功转移至目标对象的第一资源账号之后,再将目标对象的第二资源账号中的第一资源解锁并转移至第三方的资源账号。在整个资源转移的过程中,即使资源转移的周期较长,也不会造成附加资源的损失,保证目标对象的资源无损,提高资源转移的效果,提升用户体验。First, lock the first resource in the second resource account of the target object, and during the locked period, the first resource can continue to generate additional additional resources. After the second resource in the resource account of the third party is successfully transferred to the first resource account of the target object, the first resource in the second resource account of the target object is unlocked and transferred to the resource account of the third party. During the entire resource transfer process, even if the resource transfer cycle is long, it will not cause the loss of additional resources, ensure that the resources of the target object are not damaged, improve the effect of resource transfer, and improve user experience.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.

图1是本申请实施例提供的一种实施环境的示意图;1 is a schematic diagram of an implementation environment provided by an embodiment of the present application;

图2是本申请实施例提供的一种资源转移的方法流程图;FIG. 2 is a flowchart of a method for resource transfer provided by an embodiment of the present application;

图3是本申请实施例提供的一种获取目标对象的第一资源账号的资源转移请求的界面示意图;3 is a schematic diagram of an interface for obtaining a resource transfer request of a first resource account of a target object provided by an embodiment of the present application;

图4是本申请实施例提供的一种获取目标对象的第一资源账号的资源转移请求的界面示意图;4 is a schematic interface diagram of a resource transfer request for obtaining a first resource account of a target object provided by an embodiment of the present application;

图5是本申请实施例提供的一种获取资源转移数量的界面示意图;5 is a schematic diagram of an interface for obtaining a resource transfer quantity provided by an embodiment of the present application;

图6是本申请实施例提供的一种资源转移的过程示意图;6 is a schematic diagram of a process of resource transfer provided by an embodiment of the present application;

图7是本申请实施例提供的一种资源转移的过程示意图;7 is a schematic diagram of a process of resource transfer provided by an embodiment of the present application;

图8是本申请实施例提供的一种资源转移的装置示意图;8 is a schematic diagram of an apparatus for resource transfer provided by an embodiment of the present application;

图9是本申请实施例提供的一种资源转移的装置示意图;FIG. 9 is a schematic diagram of an apparatus for resource transfer provided by an embodiment of the present application;

图10是本申请实施例提供的一种资源转移的装置示意图;FIG. 10 is a schematic diagram of an apparatus for resource transfer provided by an embodiment of the present application;

图11是本申请实施例提供的一种资源转移的设备结构示意图。FIG. 11 is a schematic structural diagram of a device for resource transfer provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.

随着社会的发展及科技的不断进步,资源转移的方式越来越多。不同账号之间的资源可以进行相互转移。With the development of society and the continuous progress of science and technology, there are more and more ways of resource transfer. Resources between different accounts can be transferred to each other.

对此,本申请实施例提供了一种资源转移的方法,请参考图1,其示出了本申请实施例提供的方法实施环境的示意图。该实施环境可以包括:终端11和服务器12。In this regard, an embodiment of the present application provides a method for resource transfer. Please refer to FIG. 1 , which shows a schematic diagram of an implementation environment of the method provided by the embodiment of the present application. The implementation environment may include: a terminal 11 and a server 12 .

其中,终端11安装有能够转移资源的应用程序或者网页,从而当该应用程序或者网页在目标对象的资源账号和第三方的资源账号之间进行资源转移时,可应用本申请实施例提供的方法进行转移。终端11可以获取目标对象的身份验证信息、目标对象的资源账号信息以及第三方的资源账号信息,然后将获取的信息发送至服务器12上进行存储。当然,终端11上也可以对目标对象的身份验证信息、目标对象的资源账号信息以及第三方的资源账号信息进行存储。Wherein, the terminal 11 is installed with an application program or webpage capable of transferring resources, so that when the application program or webpage transfers resources between the resource account of the target object and the resource account of a third party, the method provided by the embodiment of the present application can be applied to transfer. The terminal 11 may acquire the identity verification information of the target object, the resource account information of the target object, and the resource account information of the third party, and then send the acquired information to the server 12 for storage. Of course, the terminal 11 may also store the identity verification information of the target object, the resource account information of the target object, and the resource account information of a third party.

可选地,终端11可以是任何一种可与用户通过键盘、触摸板、触摸屏、遥控器、语音交互或手写设备等一种或多种方式进行人机交互的电子产品,例如PC(PersonalComputer,个人计算机)、手机、智能手机、PDA(Personal Digital Assistant,个人数字助手)、可穿戴设备、掌上电脑PPC(Pocket PC)、平板电脑、智能车机、智能电视、智能音箱等。服务器12可以是一台服务器,也可以是由多台服务器组成的服务器集群,或者是一个云计算服务中心。终端11与服务器12通过有线或无线网络建立通信连接。Optionally, the terminal 11 can be any electronic product that can perform human-computer interaction with the user in one or more ways such as a keyboard, a touchpad, a touchscreen, a remote control, a voice interaction or a handwriting device, such as a PC (Personal Computer, Personal computer), mobile phone, smart phone, PDA (Personal Digital Assistant, personal digital assistant), wearable device, Pocket PC (Pocket PC), tablet computer, smart car machine, smart TV, smart speaker, etc. The server 12 may be a server, a server cluster composed of multiple servers, or a cloud computing service center. The terminal 11 establishes a communication connection with the server 12 through a wired or wireless network.

本领域技术人员应能理解上述终端11和服务器12仅为举例,其他现有的或今后可能出现的终端或服务器如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Those skilled in the art should understand that the above-mentioned terminal 11 and server 12 are only examples. If other existing or future terminals or servers are applicable to this application, they should also be included in the protection scope of this application, and are hereby referred to as References are included here.

基于上述图1所示的实施环境,本申请实施例提供一种资源转移的方法,以该方法应用于终端的资源转移应用程序为例。如图2所示,本申请实施例提供的方法可以包括如下几个步骤:Based on the above implementation environment shown in FIG. 1 , an embodiment of the present application provides a method for resource transfer, taking the method applied to a resource transfer application of a terminal as an example. As shown in FIG. 2 , the method provided by the embodiment of the present application may include the following steps:

在步骤201中,基于目标对象的第一资源账号的资源转移请求,获取资源转移数量。In step 201, the resource transfer quantity is obtained based on the resource transfer request of the first resource account of the target object.

资源转移应用程序是指能够进行资源转移的应用程序,在该应用程序中,可以实现不同资源账号的资源之间的转移,例如,可以将目标对象的资源账号的资源转移至第三方的资源账号,也可以将第三方的资源账号的资源转移至目标对象的资源账号。其中,第三方的资源账号是指非目标对象的资源账号,可以为该资源转移应用程序本身的资源账号,也可以为与该资源转移应用程序有绑定关系的其他资源账号。资源账号是指管理资源的账号,例如,当资源为资金时,资源账号为管理资金的账号,如信用卡账号、基金账号等。在本申请实施例中,目标对象具有至少两个资源账号,其中,目标对象的第一资源账号是指需要转入资源的资源账号,目标对象的第二资源账号是指能够转出资源的资源账号。例如,以资源为资金为例,对于同一目标对象而言,第一资源账号可以是目标对象的待还款的信用卡账号,第二资源账号可以是目标对象的基金账号,该基金账号能够将属于该基金账号的基金进行赎回,然后将赎回资金从该基金账号转出至其他资金账号。A resource transfer application refers to an application that can transfer resources. In this application, resources of different resource accounts can be transferred. For example, the resources of the resource account of the target object can be transferred to the resource account of a third party. , you can also transfer the resources of the third-party resource account to the resource account of the target object. The third-party resource account refers to the resource account of the non-target object, which can be the resource account of the resource transfer application itself, or other resource accounts that are bound to the resource transfer application. A resource account refers to an account for managing resources. For example, when a resource is a fund, the resource account is an account for managing funds, such as a credit card account, a fund account, and the like. In the embodiment of the present application, the target object has at least two resource accounts, where the first resource account of the target object refers to the resource account that needs to transfer resources, and the second resource account of the target object refers to the resources that can transfer resources out account. For example, taking resources as funds as an example, for the same target object, the first resource account number may be the credit card account number of the target object to be repaid, and the second resource account number may be the fund account number of the target object. The fund of the fund account is redeemed, and then the redemption funds are transferred from the fund account to other fund accounts.

当目标对象的第一资源账号需要转入资源时,目标对象向资源转移应用程序发送第一资源账号的资源转移请求,资源转移应用程序获取目标对象的第一资源账号的资源转移请求。可选地,获取目标对象的第一资源账号的资源转移请求的方式包括但不限于以下两种:When the first resource account of the target object needs to transfer resources, the target object sends the resource transfer request of the first resource account to the resource transfer application, and the resource transfer application obtains the resource transfer request of the first resource account of the target object. Optionally, the methods for obtaining the resource transfer request of the first resource account of the target object include but are not limited to the following two:

方式一:基于目标对象的资源账号的资源转移请求,进行身份验证,资源转移请求中包括身份验证信息;响应于身份验证通过,显示目标对象的资源账号的列表;响应于目标对象的第一资源账号在目标对象的资源账号的列表中,基于目标对象的第一资源账号的选中指令,获取目标对象的第一资源账号的资源转移请求。Mode 1: Perform authentication based on the resource transfer request of the resource account of the target object, and the resource transfer request includes the authentication information; in response to passing the authentication, display the list of resource accounts of the target object; in response to the first resource of the target object The account is in the list of resource accounts of the target object, and based on the selection instruction of the first resource account of the target object, the resource transfer request of the first resource account of the target object is obtained.

对于同一目标对象而言,可能有多个资源账号,该目标对象可以在资源转移应用程序中预先绑定部分或者全部资源账号。当目标对象的某一资源账号需要进行资源转移时,目标对象发送资源账号的资源转移请求,该资源转移请求中包括目标对象的身份验证信息,例如,目标对象的姓名、目标对象的身份证件号码、目标对象的通信号码等信息。资源转移应用程序基于目标对象的资源账号的资源转移请求中的目标对象的身份验证信息,对目标对象进行身份验证。可选地,对目标对象进行身份验证的过程包括但不限于,验证目标对象的资源转移请求中的姓名与身份证件号码是否匹配,验证目标对象的资源转移请求中的姓名与通信号码是否匹配等。For the same target object, there may be multiple resource accounts, and the target object can be pre-bound with some or all of the resource accounts in the resource transfer application. When a resource account of the target object needs to transfer resources, the target object sends a resource transfer request of the resource account, and the resource transfer request includes the identity verification information of the target object, such as the name of the target object and the ID number of the target object , the communication number of the target object, etc. The resource transfer application authenticates the target object based on the authentication information of the target object in the resource transfer request of the resource account of the target object. Optionally, the process of authenticating the target object includes, but is not limited to, verifying whether the name in the resource transfer request of the target object matches the ID number, verifying whether the name in the resource transfer request of the target object matches the communication number, etc. .

当目标对象的身份验证信息不匹配时,身份验证失败,此时可以提示目标对象身份验证信息有误。本申请实施例对身份验证失败时的提示方式不加以限定。当目标对象的身份验证信息匹配时,身份验证通过,此时显示目标对象在该资源转移应用程序中绑定的所有资源账号的列表,供目标对象选择需要转入资源的第一资源账号,如图3所示。当资源账号较多时,资源账号的列表可以上下滑动,以方便目标对象查看列表中的所有资源账号。可选地,在资源账号的列表的下方显示选择其他资源账号的入口,供目标对象选择不属于该资源账号的列表中的其他资源账号作为第一资源账号。例如,将图3中所示的“其他资源账号”作为选择其他资源账号的入口。When the authentication information of the target object does not match, the authentication fails, and the authentication information of the target object can be prompted to be incorrect at this time. The embodiment of the present application does not limit the prompting manner when the identity verification fails. When the authentication information of the target object matches, the authentication is passed. At this time, a list of all resource accounts bound by the target object in the resource transfer application is displayed for the target object to select the first resource account that needs to transfer resources, such as shown in Figure 3. When there are many resource accounts, the list of resource accounts can be swiped up and down to facilitate the target object to view all resource accounts in the list. Optionally, an entry for selecting other resource accounts is displayed below the list of resource accounts, for the target object to select other resource accounts that do not belong to the list of resource accounts as the first resource account. For example, the “other resource account” shown in FIG. 3 is used as an entry for selecting other resource accounts.

当需要转入资源的资源账号在该资源账号的列表中时,目标对象可以选择该资源账号,将该资源账号作为目标对象的第一资源账号,此时资源账号应用程序获取到目标对象的第一资源账号的选中指令。可选地,选择资源账号的方式可以为单击、双击或者长按等。终端的资源转移应用程序基于目标对象的第一资源账号的选中指令,即可获取目标对象的第一资源账号的资源转移请求。例如,如图3所示,在图3的资源账号的列表中存在目标对象的第一资源账号,基于该第一资源账号的选中指令,即可获取目标对象的第一资源账号的资源转移请求。When the resource account that needs to be transferred to the resource is in the list of resource accounts, the target object can select the resource account and use the resource account as the first resource account of the target object. At this time, the resource account application program obtains the first resource account of the target object. A selection command for a resource account. Optionally, the method of selecting the resource account can be single-click, double-click, or long-press. The resource transfer application program of the terminal can obtain the resource transfer request of the first resource account of the target object based on the selection instruction of the first resource account of the target object. For example, as shown in FIG. 3 , there is the first resource account of the target object in the list of resource accounts in FIG. 3 , and based on the selection instruction of the first resource account, the resource transfer request of the first resource account of the target object can be obtained .

当需要转入资源的资源账号不在该资源账号的列表中时,根据方式二获取目标对象的第一资源账号的资源转移请求。When the resource account to which the resource needs to be transferred is not in the list of resource accounts, the resource transfer request of the first resource account of the target object is obtained according to the second method.

方式二:响应于目标对象的第一资源账号不在目标对象的资源账号的列表中,显示资源账号绑定界面,在资源账号绑定界面,获取目标对象的第一资源账号的信息,基于目标对象的第一资源账号的信息,获取目标对象的第一资源账号的资源转移请求。Mode 2: In response to that the first resource account of the target object is not in the list of resource accounts of the target object, a resource account binding interface is displayed, and on the resource account binding interface, the information of the first resource account of the target object is obtained, based on the target object The information of the first resource account of the target object is obtained, and the resource transfer request of the first resource account of the target object is obtained.

当目标对象需要转入资源的账号不在资源账号的列表中时,目标对象可以触发选择其他资源账号的入口。例如,目标对象点击图4(1)中的“其他资源账号”。此时,在终端的资源转移应用程序中显示资源账号绑定界面,如图4(2)所示,在资源账号绑定界面,显示有信息输入框,目标对象输入需要转入资源的资源账号的名称、资源账号的密码等信息。资源转移应用程序获取输入的资源账号的信息,将输入的资源账号作为目标对象的第一资源账号。可选地,资源转移应用程序对获取到的第一资源账号的账号信息进行验证。若验证失败,则提示目标对象信息有误,然后清空信息输入框,供目标对象重新输入。例如,验证失败时,显示如图4(3)中所示的“资源账号的信息输入错误,请重新输入”的提示信息,当目标对象触发图4(3)中所示的“确定”选项时,再次显示如图4(2)所示的信息输入框。若验证成功,则资源转移应用程序根据获取到的第一资源账号的信息,绑定目标对象的第一资源账号,由此获取目标对象的第一资源账号的资源转移请求。When the account to which the target object needs to transfer resources is not in the list of resource accounts, the target object can trigger an entry to select other resource accounts. For example, the target object clicks the "other resource account" in Figure 4(1). At this time, the resource account binding interface is displayed in the resource transfer application program of the terminal. As shown in Figure 4(2), on the resource account binding interface, an information input box is displayed, and the target object enters the resource account that needs to be transferred to the resource. name, resource account password and other information. The resource transfer application acquires the information of the input resource account, and uses the input resource account as the first resource account of the target object. Optionally, the resource transfer application verifies the acquired account information of the first resource account. If the verification fails, it will prompt that the target object information is incorrect, and then clear the information input box for the target object to re-enter. For example, when the verification fails, the prompt message "Incorrect input of resource account information, please re-enter" as shown in Figure 4(3) is displayed, and when the target object triggers the "OK" option shown in Figure 4(3) , the information input box shown in Figure 4(2) is displayed again. If the verification is successful, the resource transfer application binds the first resource account of the target object according to the obtained information of the first resource account, thereby obtaining the resource transfer request of the first resource account of the target object.

可选地,在得到目标对象的第一资源账号后,对目标对象的第一资源账号与目标对象的身份验证信息再次进行验证。若验证结果为目标对象的第一资源账号不属于该目标对象,则验证失败,提示目标对象核实第一资源账号的信息;若验证结果为目标对象的第一资源账号属于该目标对象,则验证成功,继续执行后续操作。Optionally, after obtaining the first resource account of the target object, the first resource account of the target object and the identity verification information of the target object are verified again. If the verification result is that the first resource account of the target object does not belong to the target object, the verification fails, and the target object is prompted to verify the information of the first resource account; if the verification result is that the first resource account of the target object belongs to the target object, the verification Success, continue with subsequent operations.

终端的资源转移应用程序基于目标对象的第一资源账号的资源转移请求,获取资源转移数量。其中,资源转移数量是指目标对象的第一资源账号需要转入的资源的数量。例如,以资源为资金、第一资源账号为信用卡账号为例,资源转移数量为目标对象的信用卡的待还款金额,如5000元等。可选地,获取资源转移数量的方式包括但不限于以下两种:The resource transfer application program of the terminal obtains the resource transfer quantity based on the resource transfer request of the first resource account of the target object. The resource transfer quantity refers to the quantity of resources that need to be transferred to the first resource account of the target object. For example, taking the resource as the fund and the first resource account as the credit card account as an example, the resource transfer amount is the amount to be repaid for the credit card of the target object, such as RMB 5,000. Optionally, the methods for obtaining the resource transfer quantity include but are not limited to the following two:

方式1:目标对象的第一资源账号的资源转移请求中包括资源转移数量,根据目标对象的第一资源账号的资源转移请求,即可直接得到资源转移数量。Mode 1: The resource transfer request of the first resource account of the target object includes the resource transfer quantity, and the resource transfer quantity can be directly obtained according to the resource transfer request of the first resource account of the target object.

方式2:基于目标对象的第一资源账号的资源转移请求,显示资源转移数量输入界面;在资源转移数量输入界面,获取输入的资源转移数量。Manner 2: Based on the resource transfer request of the first resource account of the target object, the resource transfer quantity input interface is displayed; on the resource transfer quantity input interface, the input resource transfer quantity is obtained.

在获取目标对象的第一资源账号的资源转移请求之后,显示资源转移数量输入界面。资源转移输入界面可以如图5(1)所示。目标对象在资源转移输入界面输入资源转移数量,由此资源转移应用程序获取输入的资源转移数量。After acquiring the resource transfer request of the first resource account of the target object, the resource transfer quantity input interface is displayed. The resource transfer input interface can be shown in Figure 5(1). The target object inputs the resource transfer quantity in the resource transfer input interface, and the resource transfer application program obtains the input resource transfer quantity.

在步骤202中,根据资源转移数量确定目标对象的第二资源账号中待锁定的第一资源的数量。In step 202, the quantity of the first resource to be locked in the second resource account of the target object is determined according to the quantity of the resource transfer.

目标对象的第二资源账号是指能够转出资源的资源账号。本申请实施例对目标对象的第二资源账号的来源不加以限定。例如,目标对象的第二资源账号可以是与目标对象的第一资源账号存在固定关联关系的资源账号,也可以是目标对象在资源账号的列表中选择的资源账号,还可以是目标对象输入的资源账号。需要说明的是,目标对象的第二资源账号中的资源在正常状态下,能够产生额外的附加资源,并且能够被转移。例如,以目标对象的第二资源账号为目标对象的基金账号为例,基金账号中的基金能够产生收益,并且能够被赎回。The second resource account of the target object refers to a resource account that can transfer out resources. This embodiment of the present application does not limit the source of the second resource account of the target object. For example, the second resource account of the target object may be a resource account that has a fixed relationship with the first resource account of the target object, or may be a resource account selected by the target object in the list of resource accounts, or may be input by the target object resource account. It should be noted that, in a normal state, the resources in the second resource account of the target object can generate additional additional resources and can be transferred. For example, taking the second resource account of the target object as the fund account of the target object as an example, the funds in the fund account can generate income and can be redeemed.

在获取资源转移数量之后,根据资源转移数量确定目标对象的第二资源账号中与资源转移数量相对应的待锁定的第一资源的数量。第一资源是指目标对象的第二资源账号中的资源。由于资源转移数量是指目标对象的第一资源账号需要转入的资源的数量,所以根据资源转移数量确定待锁定的第一资源的数量的方式包括但不限于以下两种:After the resource transfer quantity is acquired, the quantity of the to-be-locked first resource corresponding to the resource transfer quantity in the second resource account of the target object is determined according to the resource transfer quantity. The first resource refers to the resource in the second resource account of the target object. Since the number of resources transferred refers to the number of resources that need to be transferred to the first resource account of the target object, the methods for determining the number of first resources to be locked according to the number of resource transfers include but are not limited to the following two:

当目标对象的第一资源账号中需要转入的资源的形式与第一资源的形式相同时,待锁定的第一资源的数量与资源转移数量相同。When the form of the resource to be transferred in the first resource account of the target object is the same as the form of the first resource, the quantity of the first resource to be locked is the same as the quantity of the resource to be transferred.

当目标对象的第一资源账号中需要转入的资源的形式与第一资源的形式不同时,可以先将第一资源账号中需要转入的资源的形式转换为与第一资源的形式相同的形式,然后再根据资源转移数量对应的资源确定第一资源的数量。例如,当目标对象的第一资源账号中需要转入的资源的形式为资金,第一资源的形式为基金时,资源转移数量指的是资金转移数额,可以先将单位数额的资金转换为基金的份额,然后再根据资金转移数额确定对应的基金的份额,将该基金的份额作为待锁定的第一资源的数量。When the form of the resource to be transferred in the first resource account of the target object is different from the form of the first resource, the form of the resource to be transferred in the first resource account can be converted into the same form as the first resource. form, and then determine the quantity of the first resource according to the resource corresponding to the resource transfer quantity. For example, when the resource to be transferred in the first resource account of the target object is in the form of funds and the first resource is in the form of funds, the amount of resource transfer refers to the amount of funds transferred, and the unit amount of funds can be converted into funds first. and then determine the corresponding fund share according to the fund transfer amount, and use the fund share as the quantity of the first resource to be locked.

在步骤203中,响应于待锁定的第一资源的数量不超过参考数量,将待锁定的第一资源进行锁定,被锁定的第一资源能产生额外的附加资源但不能被转移。In step 203, in response to the number of the first resources to be locked does not exceed the reference number, the first resources to be locked are locked, and the locked first resources can generate additional additional resources but cannot be transferred.

在确定第二资源账号中的待锁定的第一资源的数量之后,判断待锁定的第一资源的数量是否超过参考数量。参考数量可以根据第二资源账号中的总资源数量进行设置,例如,参考数量可以为第二资源账号中的总资源的数量,也可以为第二资源账号中的总资源的数量的80%的数量。After determining the number of the first resources to be locked in the second resource account, it is determined whether the number of the first resources to be locked exceeds the reference number. The reference quantity can be set according to the total resource quantity in the second resource account. For example, the reference quantity can be the total resource quantity in the second resource account, or it can be 80% of the total resource quantity in the second resource account. quantity.

当待锁定的第一资源的数量超过参考数量时,资源转移应用程序提示目标对象第二资源账号中的资源数量不足。例如,如图5(2)所示,以弹窗的形式进行提示,弹出中的内容为“资源数量不足”。当提示信息提示的时间超过参考时间时或者当目标对象触发图5(2)中的“确定”选项时,可以返回至如图5(1)所示的资源转移数量输入界面也可以返回资源转移应用程序的首界面,本申请实施例对此不加以限定。参考时间可以根据经验进行设置,如5秒等。When the quantity of the first resource to be locked exceeds the reference quantity, the resource transfer application prompts the target object that the quantity of resources in the second resource account of the target object is insufficient. For example, as shown in FIG. 5(2), the prompt is given in the form of a pop-up window, and the content in the pop-up is "insufficient amount of resources". When the time indicated by the prompt information exceeds the reference time or when the target object triggers the "OK" option in Figure 5(2), it can return to the resource transfer quantity input interface as shown in Figure 5(1) or return to the resource transfer The first interface of the application program, which is not limited in this embodiment of the present application. The reference time can be set according to experience, such as 5 seconds.

当待锁定的第一资源的数量不超过参考数量时,将待锁定的第一资源进行锁定。将待锁定的第一资源进行锁定的结果可能为锁定成功,也可能为锁定失败。可选地,当锁定结果为锁定失败时,提示目标对象锁定失败,此时第一资源仍处于待锁定状态,也就是处于既能够产生额外的附件资源,也能够被转移的状态。当锁定结果为锁锁定成功时,第一资源处于被锁定状态,被锁定的第一资源能够继续产生额外的附加资源,但是不能够被转移。例如,以第一资源为基金为例,基金在待锁定状态时能够产生收益并且能够被赎回转付至其他资金账号,基金在被锁定状态时依然能够继续产生收益,但是不能够被赎回转付至其他资金账号。When the number of the first resources to be locked does not exceed the reference number, the first resources to be locked are locked. The result of locking the first resource to be locked may be locking success or locking failure. Optionally, when the locking result is that the locking fails, it is prompted that the target object fails to be locked. At this time, the first resource is still in a pending state, that is, in a state that can generate additional attachment resources and can be transferred. When the locking result is that the lock is successfully locked, the first resource is in a locked state, and the locked first resource can continue to generate additional additional resources, but cannot be transferred. For example, taking the first resource as an example of a fund, the fund can generate income when it is in the locked state and can be redeemed and paid back to other fund accounts. The fund can still continue to generate income when it is in the locked state, but cannot be redeemed. Transfer to other funds account.

在步骤204中,响应于锁定成功,将第三方的资源账号中的第二资源转移至目标对象的第一资源账号,第二资源的数量与第一资源的数量相对应。In step 204, in response to the successful locking, the second resource in the resource account of the third party is transferred to the first resource account of the target object, and the quantity of the second resource corresponds to the quantity of the first resource.

第一资源被锁定成功后,根据第一资源的数量确定第三方的资源账号中的第二资源的数量。第二资源的数量与第一资源的数量相对应。当第二资源的形式与第一资源的形式相同时,第二资源的数量与第一资源的数量相同;当第二资源的形式与第一资源的形式不同时,可以先将第一资源的形式转换为与第二资源的形式相同的形式,然后再根据第一资源的数量对应的资源确定第二资源的数量。例如,当第二资源的形式为资金,第一资源的形式为基金时,第一资源的数量指的是基金的份额,可以先将单位份额的基金转换为资金的数额,然后再根据基金的份额确定对应的资金的数额,将资金的数额作为第二资源的数量。第三方的资源账号可以为资源转移应用程序本身的资源账号,也可以为与该资源转移应用程序有绑定关系的其他资源账号。After the first resource is successfully locked, the quantity of the second resource in the resource account of the third party is determined according to the quantity of the first resource. The number of the second resources corresponds to the number of the first resources. When the form of the second resource is the same as the form of the first resource, the quantity of the second resource is the same as the quantity of the first resource; when the form of the second resource is different from the form of the first resource, the The form is converted into a form that is the same as the form of the second resource, and then the quantity of the second resource is determined according to the resource corresponding to the quantity of the first resource. For example, when the second resource is in the form of funds and the first resource is in the form of funds, the quantity of the first resource refers to the shares of the fund, and the unit of the fund can be converted into the amount of funds first, and then the amount of funds can be converted according to the amount of the fund. The share determines the amount of the corresponding funds, and the amount of funds is used as the amount of the second resource. The third-party resource account may be the resource account of the resource transfer application itself, or may be other resource accounts that are bound to the resource transfer application.

在根据被锁定的第一资源的数量确定第三方的资源账号中的第二资源的数量后,将第三方的资源账号中的第二资源转移至目标对象的第一资源账号。例如,以目标对象的第一资源账号为信用卡账号、目标对象的第二资源账号为基金账号、第三方的资源账号为资金账号为例,将第三方的资金转移至目标对象的信用卡账号中,此过程相当于第三方代替目标对象进行信用卡还款。在此过程中,目标对象的基金账号中被锁定的基金能够起到提供资金保障的作用。After determining the quantity of the second resources in the resource account of the third party according to the quantity of the locked first resources, the second resource in the resource account of the third party is transferred to the first resource account of the target object. For example, taking the first resource account of the target object as the credit card account, the second resource account of the target object as the fund account, and the resource account of the third party as the fund account, the third party's funds are transferred to the credit card account of the target object, This process is equivalent to a third party making credit card repayments on behalf of the target. During this process, the locked fund in the fund account of the target object can play the role of providing financial guarantee.

可选地,将第三方的资源账号中的第二资源转移至目标对象的第一资源账号,包括:将第三方的资源账号中的第二资源转移至中转平台,中转平台用于将第三方的资源账号中的第二资源转移至目标对象的第一资源账号。Optionally, transferring the second resource in the resource account of the third party to the first resource account of the target object includes: transferring the second resource in the resource account of the third party to a transfer platform, and the transfer platform is used to transfer the third-party resource. The second resource in the resource account of the target object is transferred to the first resource account of the target object.

在第三方的资源账号中的第二资源转移至目标对象的第一资源账号的过程中,增加一个中转平台。先将第三方的资源账号中的第二资源转移至中转平台,然后由中转平台将第三方资源账号中的第二资源转移至目标对象的第一资源账号。例如,以第三方的资源账号为资金账号、目标对象的第一资源账号为信用卡账号为例,中转平台可以为银联电子,银联电子指的是依托中国银联全国统一的跨行信息交换网络,为各类商户和用户提供银行卡支付以及资金结算服务的平台。在第三方代替目标对象进行信用卡还款的过程中,先将第三方的资金账号中的资金支付给银联电子,然后再由银联电子将资金支付给目标对象的信用卡账号,信用卡账号是指该信用卡在开卡银行的账号。增加中转平台能够缩短资源转移的路径,从而提高资源转移的成功率。In the process of transferring the second resource in the resource account of the third party to the first resource account of the target object, a transfer platform is added. The second resource in the third-party resource account is first transferred to the transfer platform, and then the transfer platform transfers the second resource in the third-party resource account to the first resource account of the target object. For example, taking the resource account of the third party as the fund account and the first resource account of the target object as the credit card account, the transfer platform can be UnionPay Electronics, which refers to relying on China UnionPay's unified national inter-bank information exchange network to provide services for each It is a platform for merchants and users to provide bank card payment and fund settlement services. In the process of credit card repayment by a third party on behalf of the target object, the funds in the third party's capital account are paid to UnionPay Electronics first, and then UnionPay Electronics pays the funds to the credit card account of the target object. The credit card account number refers to the credit card Account at the bank where the card was issued. Adding a transit platform can shorten the path of resource transfer, thereby improving the success rate of resource transfer.

可选地,将第三方的资源账号中的第二资源转移至目标对象的第一资源账号的转移结果包括但不限于以下三种:Optionally, the transfer results of transferring the second resource in the resource account of the third party to the first resource account of the target object include but are not limited to the following three types:

结果一:资源转移结果为资源转移失败,资源转移失败的次数不超过阈值。Result 1: The resource transfer result is resource transfer failure, and the number of resource transfer failures does not exceed the threshold.

当资源转移中断或者资源转移异常时,资源转移结果为资源转移失败。造成资源转移中断或者资源转移异常的原因可能是网络出现故障或者系统出现故障,也可能是其他因素,本申请实施例对比不加以限定。当资源转移失败时,判断资源转移失败的次数,若资源转移失败的次数不超过阈值,则继续执行将第三方的资源账号中的第二资源转移至目标对象的第一资源账号的操作,直至资源转移结果为资源转移成功或者资源转移失败的次数超过阈值。其中,阈值可以根据经验进行设置,如3次,也可以根据应用场景自由调整。When the resource transfer is interrupted or the resource transfer is abnormal, the result of the resource transfer is that the resource transfer fails. The reason for the interruption of resource transfer or the abnormality of resource transfer may be a network failure or a system failure, or other factors, which are not limited in the comparison of the embodiments of the present application. When the resource transfer fails, determine the number of resource transfer failures, and if the number of resource transfer failures does not exceed the threshold, continue to perform the operation of transferring the second resource in the third-party resource account to the first resource account of the target object, until The resource transfer result is that the resource transfer succeeds or the number of times the resource transfer fails exceeds the threshold. Among them, the threshold can be set according to experience, such as 3 times, or can be adjusted freely according to the application scenario.

结果二:资源转移结果为资源转移失败,资源转移失败的次数超过阈值。在此种结果下,将被锁定的第一资源进行解锁。此时,第一资源仍处于目标对象的第二资源账号中,而且解锁之后的第一资源既能够产生额外的附加资源,又能够被转移。以第一资源为基金为例,解锁之后的基金,既能够产生收益,又能够被赎回转付至其他资金账号。可选地,解锁第一资源的操作失败多次,转人工处理,由人工解锁第一资源。Result 2: The resource transfer result is resource transfer failure, and the number of resource transfer failures exceeds the threshold. Under such a result, the locked first resource is unlocked. At this time, the first resource is still in the second resource account of the target object, and the unlocked first resource can generate additional additional resources and can be transferred. Taking the first resource as the fund as an example, the unlocked fund can not only generate income, but also be redeemed and repaid to other fund accounts. Optionally, if the operation of unlocking the first resource fails for many times, manual processing is performed, and the first resource is manually unlocked.

结果三:资源转移结果为资源转移成功。Result 3: The resource transfer result is that the resource transfer is successful.

当第三方的资源账号中的第二资源成功转移至目标对象的第一资源账号时,目标对象的第一资源账号得到了第二资源,但是第三方的资源账号中损失了第二资源。在此种情况下,执行步骤205。When the second resource in the resource account of the third party is successfully transferred to the first resource account of the target object, the first resource account of the target object obtains the second resource, but the resource account of the third party loses the second resource. In this case, step 205 is performed.

在步骤205中,响应于资源转移结果为资源转移成功,将被锁定的第一资源进行解锁,将解锁后的第一资源转移至第三方的资源账号。In step 205, in response to the resource transfer result being that the resource transfer is successful, the locked first resource is unlocked, and the unlocked first resource is transferred to the resource account of the third party.

当资源转移结果为资源转移成功时,将被锁定的第一资源进行解锁,然后将解锁后的第一资源转移至第三方的资源账号。此过程相当于用目标对象的第二资源账号中的第一资源补偿第三方资源账号中损失的第二资源。整个资源转移过程可以如图6所示,在将目标对象的第二资源账号的第一资源锁定的前提下,先将第三方的资源账号中的第二资源转移至目标对象的第一资源账号,在转移成功之后,再将目标对象的第二资源账号的第一资源解锁并转移至第三方的资源账号。When the resource transfer result is that the resource transfer is successful, the locked first resource is unlocked, and then the unlocked first resource is transferred to the resource account of the third party. This process is equivalent to compensating the second resource lost in the third-party resource account with the first resource in the second resource account of the target object. The entire resource transfer process can be shown in Figure 6. On the premise of locking the first resource of the second resource account of the target object, the second resource in the third-party resource account is first transferred to the first resource account of the target object. , after the transfer is successful, the first resource of the second resource account of the target object is unlocked and transferred to the resource account of the third party.

相关技术在资源转移的过程中,先将目标对象的第二资源账号中的第一资源转移至第三方的资源账号,然后将第三方的资源账号中的与第一资源数量相对应的第二资源转移至目标对象的第一资源账号。由于将第一资源转移至第三方的资源账号后,第一资源不能再产生额外的附件资源,所以当资源转移周期较长时,会造成部分附加资源的损失。而在本申请实施例中,先将目标对象的第二资源账号的第一资源锁定,当第三方资源账号中的第二资源成功转移至目标对象的第一资源账号后,再将目标对象的第二资源账号的第一资源解锁并转移至第三方资源的账号中。由于第一资源在被锁定期间,能够继续产生额外的附加资源,所以即使资源转移的周期较长,也不会造成目标对象的资源的损失。In the process of resource transfer in the related art, the first resource in the second resource account of the target object is first transferred to the third-party resource account, and then the second resource in the third-party resource account corresponding to the number of the first resources is transferred. The resource is transferred to the first resource account of the target object. Since the first resource cannot generate additional attachment resources after the first resource is transferred to the resource account of the third party, when the resource transfer period is long, some additional resources will be lost. However, in the embodiment of the present application, the first resource of the second resource account of the target object is first locked, and after the second resource in the third-party resource account is successfully transferred to the first resource account of the target object, the second resource of the target object is then locked. The first resource of the second resource account is unlocked and transferred to the account of the third-party resource. Since the first resource can continue to generate additional additional resources during the locked period, even if the period of resource transfer is long, the resource of the target object will not be lost.

此外,相关技术中,若第三方的资源账号中的第二资源向目标对象的第一资源账号转移失败,由于第三方已获取到目标对象的第二资源账号转移的第二资源,所以需要将第二资源退回,甚至可能需要人工干预,转移失败的处理流程复杂。而本申请实施例提供的方法,若第三方的第二资源向目标对象的第一资源账号转移失败,只需将被锁定的第一资源解锁即可,转移失败的处理流程简单。In addition, in the related art, if the transfer of the second resource in the resource account of the third party to the first resource account of the target object fails, since the third party has obtained the second resource transferred from the second resource account of the target object, it is necessary to transfer the second resource to the first resource account of the target object. The return of the second resource may even require manual intervention, and the handling process for transfer failure is complicated. However, in the method provided by the embodiment of the present application, if the transfer of the second resource of the third party to the first resource account of the target object fails, it only needs to unlock the locked first resource, and the processing flow of the transfer failure is simple.

为了便于理解,接下来以具体的资源转移应用场景为例进行说明,该资源转移过程可以如图7所示。图7所示的资源转移场景为目标对象基于第三方商户平台,用基金转还信用卡的场景。在该场景下,目标对象的第一资源账号为目标对象的信用卡账号;目标对象的第二资源账号为目标对象的基金账号;第三方的资源账号为第三方商户平台的资金账号;资源转移数量为目标对象的信用卡待还款金额;目标对象的第二资源账号的第一资源为与信用卡待还款金额对应的一定份额的基金;第三方资源账号的第二资源为与信用卡待还款金额对应的资金。For ease of understanding, a specific resource transfer application scenario is used as an example for description below, and the resource transfer process may be shown in FIG. 7 . The resource transfer scenario shown in Figure 7 is a scenario in which the target object is based on a third-party merchant platform and uses funds to repay a credit card. In this scenario, the first resource account of the target object is the credit card account of the target object; the second resource account of the target object is the fund account of the target object; the third-party resource account is the fund account of the third-party merchant platform; the number of resources transferred is the amount to be repaid by the credit card of the target object; the first resource of the second resource account of the target object is a certain share of the fund corresponding to the amount to be paid by the credit card; the second resource of the third-party resource account is the amount to be paid by the credit card corresponding funds.

在如图7所示的场景下,涉及目标对象、第三方商户平台和银行三大主体。第三方商户平台可以是指对接不同第三方基金公司的应用程序,该第三方商户平台具有基金服务、卡服务和基金还款系统。其中,基金服务是指基金的产品介绍、基金购买、基金推荐、基金管理等与基金相关的服务;卡服务是指管理目标对象在该第三方商户平台绑定的信用卡的服务;基金还款系统是指能够实现利用基金转还信用卡的系统。该场景实现的前提是目标对象在第三方商户平台购买了一定份额的基金。接下来具体介绍基于图7所示的应用场景,进行资源转移的过程。In the scenario shown in Figure 7, it involves three main entities: the target object, the third-party merchant platform and the bank. The third-party merchant platform may refer to an application program connected to different third-party fund companies, and the third-party merchant platform has fund services, card services and fund repayment systems. Among them, fund service refers to fund product introduction, fund purchase, fund recommendation, fund management and other related services; card service refers to the service of managing the target object’s credit card bound on the third-party merchant platform; fund repayment system Refers to the system that can realize the use of funds to transfer credit cards. The premise of this scenario is that the target object has purchased a certain share of the fund on the third-party merchant platform. Next, the process of resource transfer based on the application scenario shown in FIG. 7 will be described in detail.

首先由目标对象发起基金转还信用卡请求,该请求中包含目标对象的身份验证信息,第三方商户平台中的基金还款系统对目标对象的身份进行验证。身份验证成功后,第三方商户平台的卡服务获取与目标对象的身份验证信息对应的信用卡列表并展示该信用卡列表。若待还款信用卡在该列表内,则第三方商户平台基于目标对象对该待还款信用卡的选中指令跳转至还款金额输入页获取还款金额;若待还款信用卡未在该列表内,则第三方商户平台基于目标对象在信息输入框输入的待还信用卡的相关信息,跳转至还款金额输入页获取还款金额。可选地,在确定待还款信用卡后,基金还款系统对待还款信用卡的卡号和目标对象的姓名进行二次验证。验证成功后,第三方商户平台根据获取的还款金额,确定与还款金额对应的待锁定的基金的份额,然后将指令份额的基金锁定,基金在锁定期间,不能进行赎回操作,但依然可产生收益。锁定成功后,第三方商户平台的基金还款系统利用该第三方商户平台的资金进行代还款操作。基金还款系统向目标对象的信用卡的开卡银行发送还款请求,然后基金还款系统轮询向该银行发送还款结果查询请求并等待。若银行返回的还款结果为还款成功,第三方商户平台将被锁定的基金解锁,并进行赎回转付处理,由第三方商户平台的基金还款系统进行收款,并将赎回资金置于第三方商户平台的资金账户中。若银行返回的还款结果为还款失败,则第三方商户平台将被锁定的基金进行解锁,解锁之后的基金仍属于目标对象。最后第三方商户平台将还款结果告知目标对象,也就是告知目标对象基金转还信用卡是否成功。First, the target object initiates a fund transfer credit card request, which contains the target object's identity verification information, and the fund repayment system in the third-party merchant platform verifies the target object's identity. After the identity verification is successful, the card service of the third-party merchant platform obtains a list of credit cards corresponding to the identity verification information of the target object and displays the list of credit cards. If the credit card to be repaid is in the list, the third-party merchant platform will jump to the repayment amount input page based on the target object's selected instruction for the credit card to be repaid to obtain the repayment amount; if the credit card to be repaid is not in the list , the third-party merchant platform jumps to the repayment amount input page to obtain the repayment amount based on the relevant information of the credit card to be repaid entered by the target object in the information input box. Optionally, after determining the credit card to be repaid, the fund repayment system performs secondary verification on the card number of the credit card to be repaid and the name of the target object. After the verification is successful, the third-party merchant platform determines the share of the fund to be locked corresponding to the repayment amount according to the obtained repayment amount, and then locks the fund of the commanded share. During the lock-up period, the fund cannot be redeemed, but still Can generate income. After the lock is successful, the fund repayment system of the third-party merchant platform uses the funds of the third-party merchant platform to perform repayment operations. The fund repayment system sends a repayment request to the issuing bank of the target object's credit card, and then the fund repayment system polls and sends a repayment result query request to the bank and waits. If the repayment result returned by the bank is successful, the third-party merchant platform will unlock the locked funds and perform redemption and repayment processing. The fund repayment system of the third-party merchant platform will collect the funds and redeem the funds. Placed in the fund account of the third-party merchant platform. If the repayment result returned by the bank is that the repayment fails, the third-party merchant platform will unlock the locked fund, and the unlocked fund still belongs to the target object. Finally, the third-party merchant platform informs the target object of the repayment result, that is, informs the target object whether the fund transfer to the credit card is successful.

在本申请实施例中,先将目标对象的第二资源账号中的第一资源锁定,在被锁定期间,第一资源能够继续产生额外的附加资源。当第三方的资源账号中的第二资源成功转移至目标对象的第一资源账号之后,再将目标对象的第二资源账号中的第一资源解锁并转移至第三方的资源账号。在整个资源转移的过程中,即使资源转移的周期较长,也不会造成附加资源的损失,保证目标对象的资源无损,提高资源转移的效果,提升用户体验。In the embodiment of the present application, the first resource in the second resource account of the target object is first locked, and during the locked period, the first resource can continue to generate additional additional resources. After the second resource in the resource account of the third party is successfully transferred to the first resource account of the target object, the first resource in the second resource account of the target object is unlocked and transferred to the resource account of the third party. During the entire resource transfer process, even if the resource transfer cycle is long, it will not cause the loss of additional resources, ensure that the resources of the target object are not damaged, improve the effect of resource transfer, and improve user experience.

基于相同技术构思,参见图8,本申请实施例提供了一种资源转移的装置,该装置包括:Based on the same technical concept, referring to FIG. 8 , an embodiment of the present application provides an apparatus for resource transfer, and the apparatus includes:

获取模块801,用于基于目标对象的第一资源账号的资源转移请求,获取资源转移数量;The obtaining module 801 is used for obtaining the resource transfer quantity based on the resource transfer request of the first resource account of the target object;

确定模块802,用于根据资源转移数量确定目标对象的第二资源账号中待锁定的第一资源的数量;A determination module 802, configured to determine the quantity of the first resource to be locked in the second resource account of the target object according to the resource transfer quantity;

锁定模块803,用于响应于待锁定的第一资源的数量不超过参考数量,将待锁定的第一资源进行锁定,被锁定的第一资源能产生额外的附加资源但不能被转移;A locking module 803, configured to lock the first resource to be locked in response to the quantity of the first resource to be locked does not exceed the reference quantity, and the locked first resource can generate additional additional resources but cannot be transferred;

第一转移模块804,用于响应于锁定成功,将第三方的资源账号中的第二资源转移至目标对象的第一资源账号,第二资源的数量与第一资源的数量相对应;The first transfer module 804 is configured to transfer the second resource in the resource account of the third party to the first resource account of the target object in response to the successful locking, and the quantity of the second resource corresponds to the quantity of the first resource;

解锁模块805,用于响应于资源转移结果为资源转移成功,将被锁定的第一资源进行解锁;The unlocking module 805 is used for unlocking the locked first resource in response to the resource transfer result being that the resource transfer is successful;

第二转移模块806,用于将解锁后的第一资源转移至第三方的资源账号。The second transfer module 806 is configured to transfer the unlocked first resource to a resource account of a third party.

可选地,解锁模块805,还用于响应于资源转移结果为资源转移失败,当资源转移失败的次数超过阈值范围时,将被锁定的第一资源进行解锁。Optionally, the unlocking module 805 is further configured to, in response to the resource transfer result being that the resource transfer fails, unlock the locked first resource when the number of times the resource transfer fails exceeds a threshold range.

可选地,第一转移模块804,还用于响应于资源转移结果为资源转移失败,当资源转移失败的次数不超过阈值时,继续执行将第三方的资源账号中的第二资源转移至目标对象的第一资源账号,直至资源转移结果为资源转移成功或者资源转移失败的次数超过阈值。Optionally, the first transfer module 804 is further configured to, in response to the resource transfer result being that the resource transfer fails, when the number of times the resource transfer fails does not exceed the threshold, continue to perform the transfer of the second resource in the third party's resource account to the target. The first resource account of the object until the resource transfer result is that the resource transfer succeeds or the number of times the resource transfer fails exceeds the threshold.

可选地,解锁模块805,用于将被锁定的第一资源的状态恢复为能产生额外的附加资源并且能被转移的状态。Optionally, the unlocking module 805 is configured to restore the state of the locked first resource to a state in which additional additional resources can be generated and can be transferred.

可选地,第一转移模块804,用于将第三方的资源账号中的第二资源转移至中转平台,中转平台用于将第三方的资源账号中的第二资源转移至目标对象的第一资源账号。Optionally, the first transfer module 804 is used to transfer the second resource in the resource account of the third party to the transfer platform, and the transfer platform is used to transfer the second resource in the resource account of the third party to the first resource of the target object. resource account.

可选地,参见图9,该装置还包括:Optionally, referring to Figure 9, the device further includes:

验证模块807,用于基于目标对象的资源账号的资源转移请求,进行身份验证,资源转移请求中包括身份验证信息;The verification module 807 is used for performing authentication based on the resource transfer request of the resource account of the target object, and the resource transfer request includes the authentication information;

第一显示模块808,用于响应于身份验证通过,显示目标对象的资源账号的列表;a first display module 808, configured to display a list of resource accounts of the target object in response to passing the authentication;

获取模块801,用于响应于目标对象的第一资源账号在目标对象的资源账号的列表中,基于目标对象的第一资源账号的选中指令,获取目标对象的第一资源账号的资源转移请求。The obtaining module 801 is configured to obtain the resource transfer request of the first resource account of the target object based on the selection instruction of the first resource account of the target object in response to the first resource account of the target object being in the list of resource accounts of the target object.

可选地,获取模块801,用于响应于目标对象的第一资源账号不在目标对象的资源账号的列表中,显示资源账号绑定界面,在资源账号绑定界面,获取目标对象的第一资源账号的信息,基于目标对象的第一资源账号的信息,获取目标对象的第一资源账号的资源转移请求。Optionally, the obtaining module 801 is configured to display a resource account binding interface in response to the fact that the first resource account of the target object is not in the list of resource accounts of the target object, and obtain the first resource of the target object on the resource account binding interface The account information, based on the information of the first resource account of the target object, obtains the resource transfer request of the first resource account of the target object.

可选地,参见图10,该装置还包括:Optionally, referring to Figure 10, the device further includes:

第二显示模块809,用于基于目标对象的第一资源账号的资源转移请求,显示资源转移数量输入界面;The second display module 809 is configured to display the resource transfer quantity input interface based on the resource transfer request of the first resource account of the target object;

获取模块801,用于在资源转移数量输入界面,获取输入的资源转移数量。The obtaining module 801 is configured to obtain the input resource transfer quantity on the resource transfer quantity input interface.

在本申请实施例中,先将目标对象的第二资源账号中的第一资源锁定,在被锁定期间,第一资源能够继续产生额外的附加资源。当第三方的资源账号中的第二资源成功转移至目标对象的第一资源账号之后,再将目标对象的第二资源账号中的第一资源解锁并转移至第三方的资源账号。在整个资源转移的过程中,即使资源转移的周期较长,也不会造成附加资源的损失,保证目标对象的资源无损,提高资源转移的效果,提升用户体验。In the embodiment of the present application, the first resource in the second resource account of the target object is first locked, and during the locked period, the first resource can continue to generate additional additional resources. After the second resource in the resource account of the third party is successfully transferred to the first resource account of the target object, the first resource in the second resource account of the target object is unlocked and transferred to the resource account of the third party. During the entire resource transfer process, even if the resource transfer cycle is long, it will not cause the loss of additional resources, ensure that the resources of the target object are not damaged, improve the effect of resource transfer, and improve user experience.

需要说明的是,上述实施例提供的装置在实现其功能时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the device provided in the above embodiment realizes its functions, only the division of the above functional modules is used as an example for illustration. The internal structure is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.

图11是本申请实施例提供的一种资源转移的设备的结构示意图。该设备可以为终端,例如可以是:智能手机、平板电脑、MP3播放器(Moving Picture Experts Group AudioLayer III,动态影像专家压缩标准音频层面3)、MP4(Moving Picture Experts GroupAudio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。FIG. 11 is a schematic structural diagram of a resource transfer device provided by an embodiment of the present application. The device can be a terminal, for example, can be: a smartphone, a tablet computer, an MP3 player (Moving Picture Experts Group AudioLayer III, Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer IV) Standard Audio Layer 4) Player, Laptop or Desktop. A terminal may also be called user equipment, portable terminal, laptop terminal, desktop terminal, etc. by other names.

通常,终端包括有:处理器1101和存储器1102。Generally, the terminal includes: a processor 1101 and a memory 1102 .

处理器1101可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器1101可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器1101也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器1101可以集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器1101还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 1101 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1101 may adopt at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish. The processor 1101 may also include a main processor and a coprocessor. The main processor is a processor used to process data in a wake-up state, also called a CPU (Central Processing Unit, central processing unit); A low-power processor for processing data in a standby state. In some embodiments, the processor 1101 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 1101 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.

存储器1102可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器1102还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器1102中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器1101所执行以实现本申请中方法实施例提供的资源转移的方法。Memory 1102 may include one or more computer-readable storage media, which may be non-transitory. Memory 1102 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1102 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 1101 to implement the resource transfer provided by the method embodiments in this application. Methods.

在一些实施例中,终端还可选包括有:外围设备接口1103和至少一个外围设备。处理器1101、存储器1102和外围设备接口1103之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口1103相连。具体地,外围设备包括:射频电路1104、触摸显示屏1105、摄像头组件1106、音频电路1107、定位组件1108和电源1109中的至少一种。In some embodiments, the terminal may optionally further include: a peripheral device interface 1103 and at least one peripheral device. The processor 1101, the memory 1102 and the peripheral device interface 1103 may be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 1103 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1104 , a touch display screen 1105 , a camera assembly 1106 , an audio circuit 1107 , a positioning assembly 1108 and a power supply 1109 .

外围设备接口1103可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器1101和存储器1102。在一些实施例中,处理器1101、存储器1102和外围设备接口1103被集成在同一芯片或电路板上;在一些其他实施例中,处理器1101、存储器1102和外围设备接口1103中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 1103 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 1101 and the memory 1102 . In some embodiments, processor 1101, memory 1102, and peripherals interface 1103 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 1101, memory 1102, and peripherals interface 1103 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.

射频电路1104用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路1104通过电磁信号与通信网络以及其他通信设备进行通信。射频电路1104将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路1104包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路1104可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路1104还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The radio frequency circuit 1104 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 1104 communicates with communication networks and other communication devices via electromagnetic signals. The radio frequency circuit 1104 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 1104 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 1104 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to, metropolitan area networks, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area networks and/or WiFi (Wireless Fidelity, wireless fidelity) networks. In some embodiments, the radio frequency circuit 1104 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.

显示屏1105用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏1105是触摸显示屏时,显示屏1105还具有采集在显示屏1105的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器1101进行处理。此时,显示屏1105还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏1105可以为一个,设置在终端的前面板;在另一些实施例中,显示屏1105可以为至少两个,分别设置在终端的不同表面或呈折叠设计;在再一些实施例中,显示屏1105可以是柔性显示屏,设置在终端的弯曲表面上或折叠面上。甚至,显示屏1105还可以设置成非矩形的不规则图形,也即异形屏。显示屏1105可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。The display screen 1105 is used for displaying UI (User Interface, user interface). The UI can include graphics, text, icons, video, and any combination thereof. When the display screen 1105 is a touch display screen, the display screen 1105 also has the ability to acquire touch signals on or above the surface of the display screen 1105 . The touch signal can be input to the processor 1101 as a control signal for processing. At this time, the display screen 1105 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, there may be one display screen 1105, which is arranged on the front panel of the terminal; in other embodiments, there may be at least two display screens 1105, which are respectively arranged on different surfaces of the terminal or in a folded design; In some embodiments, the display screen 1105 may be a flexible display screen, disposed on a curved surface or a folding surface of the terminal. Even, the display screen 1105 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 1105 can be made of materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).

摄像头组件1106用于采集图像或视频。可选地,摄像头组件1106包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件1106还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。The camera assembly 1106 is used to capture images or video. Optionally, the camera assembly 1106 includes a front camera and a rear camera. Usually, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions. In some embodiments, the camera assembly 1106 may also include a flash. The flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.

音频电路1107可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器1101进行处理,或者输入至射频电路1104以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在终端的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器1101或射频电路1104的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路1107还可以包括耳机插孔。Audio circuitry 1107 may include a microphone and speakers. The microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals, and input them to the processor 1101 for processing, or input them to the radio frequency circuit 1104 to realize voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal. The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from the processor 1101 or the radio frequency circuit 1104 into sound waves. The loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for ranging and other purposes. In some embodiments, audio circuitry 1107 may also include a headphone jack.

定位组件1108用于定位终端的当前地理位置,以实现导航或LBS(Location BasedService,基于位置的服务)。定位组件1108可以是基于美国的GPS(Global PositioningSystem,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。The positioning component 1108 is used to locate the current geographic location of the terminal to implement navigation or LBS (Location Based Service, location-based service). The positioning component 1108 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China, the Grenas system of Russia, or the Galileo system of the European Union.

电源1109用于为终端中的各个组件进行供电。电源1109可以是交流电、直流电、一次性电池或可充电电池。当电源1109包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。The power supply 1109 is used to power various components in the terminal. The power source 1109 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 1109 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

在一些实施例中,终端还包括有一个或多个传感器1110。该一个或多个传感器1110包括但不限于:加速度传感器1111、陀螺仪传感器1112、压力传感器1113、指纹传感器1114、光学传感器1115以及接近传感器1116。In some embodiments, the terminal further includes one or more sensors 1110 . The one or more sensors 1110 include, but are not limited to, an acceleration sensor 1111 , a gyro sensor 1112 , a pressure sensor 1113 , a fingerprint sensor 1114 , an optical sensor 1115 , and a proximity sensor 1116 .

加速度传感器1111可以检测以终端建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器1111可以用于检测重力加速度在三个坐标轴上的分量。处理器1101可以根据加速度传感器1111采集的重力加速度信号,控制触摸显示屏1105以横向视图或纵向视图进行用户界面的显示。加速度传感器1111还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 1111 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal. For example, the acceleration sensor 1111 can be used to detect the components of the gravitational acceleration on the three coordinate axes. The processor 1101 can control the touch display screen 1105 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1111 . The acceleration sensor 1111 can also be used for game or user movement data collection.

陀螺仪传感器1112可以检测终端的机体方向及转动角度,陀螺仪传感器1112可以与加速度传感器1111协同采集用户对终端的3D动作。处理器1101根据陀螺仪传感器1112采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 1112 can detect the body direction and rotation angle of the terminal, and the gyroscope sensor 1112 can cooperate with the acceleration sensor 1111 to collect the 3D actions of the user on the terminal. The processor 1101 can implement the following functions according to the data collected by the gyro sensor 1112: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

压力传感器1113可以设置在终端的侧边框和/或触摸显示屏1105的下层。当压力传感器1113设置在终端的侧边框时,可以检测用户对终端的握持信号,由处理器1101根据压力传感器1113采集的握持信号进行左右手识别或快捷操作。当压力传感器1113设置在触摸显示屏1105的下层时,由处理器1101根据用户对触摸显示屏1105的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 1113 may be disposed on the side frame of the terminal and/or the lower layer of the touch display screen 1105 . When the pressure sensor 1113 is disposed on the side frame of the terminal, the user's holding signal of the terminal can be detected, and the processor 1101 performs left and right hand identification or shortcut operations according to the holding signal collected by the pressure sensor 1113 . When the pressure sensor 1113 is disposed on the lower layer of the touch display screen 1105 , the processor 1101 controls the operability controls on the UI interface according to the user's pressure operation on the touch display screen 1105 . The operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

指纹传感器1114用于采集用户的指纹,由处理器1101根据指纹传感器1114采集到的指纹识别用户的身份,或者,由指纹传感器1114根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器1101授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器1114可以被设置在终端的正面、背面或侧面。当终端上设置有物理按键或厂商Logo时,指纹传感器1114可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 1114 is used to collect the user's fingerprint, and the processor 1101 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 1114, or the fingerprint sensor 1114 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 1101 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 1114 may be disposed on the front, back or side of the terminal. When a physical button or a manufacturer's logo is provided on the terminal, the fingerprint sensor 1114 can be integrated with the physical button or the manufacturer's logo.

光学传感器1115用于采集环境光强度。在一个实施例中,处理器1101可以根据光学传感器1115采集的环境光强度,控制触摸显示屏1105的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏1105的显示亮度;当环境光强度较低时,调低触摸显示屏1105的显示亮度。在另一个实施例中,处理器1101还可以根据光学传感器1115采集的环境光强度,动态调整摄像头组件1106的拍摄参数。Optical sensor 1115 is used to collect ambient light intensity. In one embodiment, the processor 1101 can control the display brightness of the touch display screen 1105 according to the ambient light intensity collected by the optical sensor 1115 . Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1105 is increased; when the ambient light intensity is low, the display brightness of the touch display screen 1105 is decreased. In another embodiment, the processor 1101 may also dynamically adjust the shooting parameters of the camera assembly 1106 according to the ambient light intensity collected by the optical sensor 1115 .

接近传感器1116,也称距离传感器,通常设置在终端的前面板。接近传感器1116用于采集用户与终端的正面之间的距离。在一个实施例中,当接近传感器1116检测到用户与终端的正面之间的距离逐渐变小时,由处理器1101控制触摸显示屏1105从亮屏状态切换为息屏状态;当接近传感器1116检测到用户与终端的正面之间的距离逐渐变大时,由处理器1101控制触摸显示屏1105从息屏状态切换为亮屏状态。A proximity sensor 1116, also called a distance sensor, is usually provided on the front panel of the terminal. The proximity sensor 1116 is used to collect the distance between the user and the front of the terminal. In one embodiment, when the proximity sensor 1116 detects that the distance between the user and the front of the terminal gradually decreases, the processor 1101 controls the touch display screen 1105 to switch from the bright screen state to the off screen state; when the proximity sensor 1116 detects When the distance between the user and the front of the terminal gradually increases, the processor 1101 controls the touch display screen 1105 to switch from the screen-off state to the screen-on state.

本领域技术人员可以理解,图11中示出的结构并不构成对终端的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 11 does not constitute a limitation on the terminal, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.

在示例性实施例中,还提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集。所述至少一条指令、至少一段程序、代码集或指令集经配置以由一个或者一个以上处理器执行,以实现上述任一种资源转移的方法。In an exemplary embodiment, a computer device is also provided, the computer device including a processor and a memory having stored in the memory at least one instruction, at least a program, a code set or a set of instructions. The at least one instruction, at least a piece of program, code set or instruction set is configured to be executed by one or more processors to implement any of the above methods of resource transfer.

在示例性实施例中,还提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或所述指令集在被计算机设备的处理器执行时实现上述任一种资源转移的方法。In an exemplary embodiment, a computer-readable storage medium is also provided, wherein the storage medium stores at least one instruction, at least one piece of program, code set or instruction set, the at least one instruction, the at least one piece of program . The code set or the instruction set implements any one of the above resource transfer methods when executed by a processor of a computer device.

可选地,上述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Alternatively, the above-mentioned computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.

应当理解的是,在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。It should be understood that references herein to "a plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (11)

1. A method of resource transfer, the method comprising:
acquiring a resource transfer quantity based on a resource transfer request of a first resource account of a target object;
determining the number of first resources to be locked in a second resource account of the target object according to the resource transfer number;
locking the first resource to be locked in response to the number of the first resource to be locked not exceeding a reference number, the first resource to be locked being capable of generating additional resources but not being transferable;
responding to successful locking, and transferring a second resource in a resource account of a third party to a first resource account of the target object, wherein the quantity of the second resource corresponds to the quantity of the first resource;
and responding to the resource transfer result that the resource transfer is successful, unlocking the locked first resource, and transferring the unlocked first resource to the resource account of the third party.
2. The method of claim 1, wherein after transferring the second resource in the resource account of the third party to the first resource account of the target object, further comprising:
and responding to the resource transfer failure as a resource transfer result, and unlocking the locked first resource when the number of times of the resource transfer failure exceeds a threshold value.
3. The method of claim 1, wherein after transferring the second resource in the resource account of the third party to the first resource account of the target object, further comprising:
and in response to the resource transfer result being a resource transfer failure, when the number of times of the resource transfer failure does not exceed a threshold value, continuing to transfer the second resource in the resource account of the third party to the first resource account of the target object until the resource transfer result is a resource transfer success or the number of times of the resource transfer failure exceeds the threshold value.
4. The method of claim 1 or 2, wherein unlocking the locked first resource comprises:
the state of the locked first resource is restored to a state in which additional resources can be generated and can be transferred.
5. The method of claim 1, wherein transferring the second resource in the resource account of the third party to the first resource account of the target object comprises:
and transferring a second resource in the resource account of the third party to a transfer platform, wherein the transfer platform is used for transferring the second resource in the resource account of the third party to the first resource account of the target object.
6. The method according to any one of claims 1, 2, 3, and 5, wherein before acquiring the resource transfer amount, the method further includes:
performing identity verification based on a resource transfer request of a resource account of a target object, wherein the resource transfer request comprises identity verification information;
responding to the identity authentication passing, and displaying a list of the resource account of the target object;
and responding to the first resource account of the target object in the list of the resource accounts of the target object, and acquiring a resource transfer request of the first resource account of the target object based on a selected instruction of the first resource account of the target object.
7. The method according to any one of claims 1, 2, 3, and 5, wherein before acquiring the resource transfer amount, the method further includes:
performing identity verification based on a resource transfer request of a resource account of a target object, wherein the resource transfer request comprises identity verification information;
responding to the identity authentication passing, and displaying a list of the resource account of the target object;
and responding to the situation that the first resource account of the target object is not in the list of the resource accounts of the target object, displaying a resource account binding interface, acquiring the information of the first resource account of the target object in the resource account binding interface, and acquiring a resource transfer request of the first resource account of the target object based on the information of the first resource account of the target object.
8. The method according to claim 1, wherein the obtaining the resource transfer amount based on the resource transfer request of the first resource account of the target object comprises:
displaying a resource transfer quantity input interface based on a resource transfer request of a first resource account of a target object;
and acquiring the input resource transfer quantity on the resource transfer quantity input interface.
9. An apparatus for resource transfer, the apparatus comprising:
the acquisition module is used for acquiring the resource transfer quantity based on the resource transfer request of the first resource account of the target object;
the determining module is used for determining the number of the first resources to be locked in the second resource account of the target object according to the resource transfer number;
a locking module for locking the first resource to be locked in response to the number of the first resource to be locked not exceeding a reference number, the locked first resource being capable of generating additional resources but not being transferable;
the first transfer module is used for transferring a second resource in the resource account of a third party to the first resource account of the target object in response to successful locking, wherein the quantity of the second resource corresponds to the quantity of the first resource;
the unlocking module is used for responding to the resource transfer result that the resource transfer is successful and unlocking the locked first resource;
and the second transfer module is used for transferring the unlocked first resource to the resource account of the third party.
10. A computer device comprising a processor and a memory, the memory having stored therein at least one instruction which, when executed by the processor, carries out a method of resource transfer according to any one of claims 1 to 8.
11. A computer-readable storage medium having stored therein at least one instruction which, when executed, performs a method of resource transfer as claimed in any one of claims 1 to 8.
CN201910482986.3A 2019-06-04 2019-06-04 Method, device, device and storage medium for resource transfer Pending CN112036887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910482986.3A CN112036887A (en) 2019-06-04 2019-06-04 Method, device, device and storage medium for resource transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910482986.3A CN112036887A (en) 2019-06-04 2019-06-04 Method, device, device and storage medium for resource transfer

Publications (1)

Publication Number Publication Date
CN112036887A true CN112036887A (en) 2020-12-04

Family

ID=73576130

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910482986.3A Pending CN112036887A (en) 2019-06-04 2019-06-04 Method, device, device and storage medium for resource transfer

Country Status (1)

Country Link
CN (1) CN112036887A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581284A (en) * 2020-12-28 2021-03-30 深圳海付移通科技有限公司 Method, system, computer device and storage medium for processing resource transfer data
CN113269590A (en) * 2021-05-31 2021-08-17 五八到家有限公司 Data processing method, device and system for resource subsidy
CN114493855A (en) * 2022-04-06 2022-05-13 豆沙包科技(深圳)有限公司 Cross-border e-commerce financial risk control method and system based on account double-lock technology

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104616138A (en) * 2014-07-31 2015-05-13 腾讯科技(深圳)有限公司 Resource transferring method, system and device
CN104915835A (en) * 2014-03-13 2015-09-16 腾讯科技(深圳)有限公司 Credit account creating method, system and method
CN108734452A (en) * 2017-04-13 2018-11-02 阿里巴巴集团控股有限公司 Internet resources transfer method, transfer account method and device
CN109802916A (en) * 2017-11-16 2019-05-24 财付通支付科技有限公司 Resource transfers method, system, server and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104915835A (en) * 2014-03-13 2015-09-16 腾讯科技(深圳)有限公司 Credit account creating method, system and method
CN104616138A (en) * 2014-07-31 2015-05-13 腾讯科技(深圳)有限公司 Resource transferring method, system and device
CN108734452A (en) * 2017-04-13 2018-11-02 阿里巴巴集团控股有限公司 Internet resources transfer method, transfer account method and device
CN109802916A (en) * 2017-11-16 2019-05-24 财付通支付科技有限公司 Resource transfers method, system, server and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581284A (en) * 2020-12-28 2021-03-30 深圳海付移通科技有限公司 Method, system, computer device and storage medium for processing resource transfer data
CN112581284B (en) * 2020-12-28 2024-05-03 深圳海付移通科技有限公司 Method, system, computer equipment and storage medium for processing resource transfer data
CN113269590A (en) * 2021-05-31 2021-08-17 五八到家有限公司 Data processing method, device and system for resource subsidy
CN114493855A (en) * 2022-04-06 2022-05-13 豆沙包科技(深圳)有限公司 Cross-border e-commerce financial risk control method and system based on account double-lock technology

Similar Documents

Publication Publication Date Title
US20210201311A1 (en) Method for operating electronic device, apparatus and storage medium thereof
CN108830572B (en) Resource transfer method, device, storage medium and equipment
WO2020114279A1 (en) Debt certificate transferring method and apparatus, electronic device, and storage medium
CN110288332A (en) System, method, device, equipment and storage medium for bank card binding
CN110705983B (en) Method, device, equipment and storage medium for code scanning payment processing
WO2022193606A1 (en) Livestreaming data processing method and device
CA3052186A1 (en) Payment processing method and device, and computer-readable storage medium
CN111080443B (en) Block chain-based service processing method, device, equipment and storage medium
CN110322151A (en) Platform enters system, method, equipment and storage medium
CN111598709A (en) Medical insurance data processing system, method, device, equipment and storage medium
CN110189137A (en) Method, device, equipment and storage medium for facial recognition payment
CN112967043A (en) Resource transfer method, device, equipment and storage medium
CN110942308A (en) Resource transfer method, device, computer equipment and storage medium
CN112036887A (en) Method, device, device and storage medium for resource transfer
CN111831385B (en) Service trusted information processing method, device, equipment and storage medium
CN111047328B (en) Mobile payment method, device, system and storage medium
CN110290191B (en) Resource transfer result processing method, device, server, terminal and storage medium
CN110956469A (en) Payment method, device, equipment and storage medium
CN113344564A (en) Electronic account opening method, device, equipment and storage medium
CN111681098A (en) Resource transfer method, device, server and computer readable storage medium
CN110738491A (en) Numerical value transferring method, system, device, terminal and storage medium
CN111695981A (en) Resource transfer method, device and storage medium
CN111131619B (en) Account switching processing method, device and system
CN112764824B (en) Method, device, equipment and storage medium for triggering identity verification in application program
CN111191254B (en) Access verification method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination