Movatterモバイル変換


[0]ホーム

URL:


CN110570282A - Cross-region resource transfer method, device, equipment and storage medium - Google Patents

Cross-region resource transfer method, device, equipment and storage medium
Download PDF

Info

Publication number
CN110570282A
CN110570282ACN201910855038.XACN201910855038ACN110570282ACN 110570282 ACN110570282 ACN 110570282ACN 201910855038 ACN201910855038 ACN 201910855038ACN 110570282 ACN110570282 ACN 110570282A
Authority
CN
China
Prior art keywords
server
resource transfer
resource
order information
cross
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.)
Granted
Application number
CN201910855038.XA
Other languages
Chinese (zh)
Other versions
CN110570282B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co LtdfiledCriticalTencent Technology Shenzhen Co Ltd
Priority to CN201910855038.XApriorityCriticalpatent/CN110570282B/en
Priority to CN201911296656.1Aprioritypatent/CN111080275B/en
Publication of CN110570282ApublicationCriticalpatent/CN110570282A/en
Application grantedgrantedCritical
Publication of CN110570282BpublicationCriticalpatent/CN110570282B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

the embodiment of the invention discloses a cross-region resource transfer method, a device, equipment and a storage medium, belonging to the technical field of Internet. The method comprises the following steps: the method comprises the steps of calling a target application based on order information generated by a third-party application, sending a first resource transfer registration request to a first server associated with the target application through the target application, sending a second resource transfer registration request to a second server to which a resource account identified by a user belongs by the first server through the first server, receiving a resource transfer entry forwarded by the second server through the first server, sending a cross-region resource transfer request to the second server based on the resource transfer entry, transferring a second quantity of second-type resources in the resource account to the first target account through the second server, wherein the second quantity of second-type resources is equivalent to the first quantity of first-type resources. And each service provider is not required to deploy a corresponding application server to interact with the second server, so that the cost is saved.

Description

Translated fromChinese
跨区域资源转移方法、装置、设备及存储介质Cross-region resource transfer method, device, equipment and storage medium

技术领域technical field

本发明涉及互联网技术领域,特别涉及一种跨区域资源转移方法、装置、设备及存储介质。The present invention relates to the technical field of the Internet, in particular to a cross-regional resource transfer method, device, equipment and storage medium.

背景技术Background technique

随着人们生活水平的日益提升和经济的全球化发展,用户常在不同的地理区域进行活动。而随着电子支付的广泛普及,资源转移已经成为用户日常生活中常用的一种操作。由于不同区域支持的资源类型不同,因此如何实现跨区域的资源转移成为亟需解决的问题。With the improvement of people's living standards and the globalization of the economy, users often carry out activities in different geographical regions. With the widespread popularity of electronic payment, resource transfer has become a common operation in users' daily life. Since different regions support different types of resources, how to transfer resources across regions has become an urgent problem to be solved.

以第一地理区域和第二地理区域为例,如图1所示,隶属于第一地理区域的多个服务提供者分别部署各自的应用服务器,隶属于第二地理区域的资源转移机构部署资源转移服务器,则该多个服务提供者部署的应用服务器可以与该资源转移服务器建立关联关系。这样,当隶属于第二地理区域的用户去往第一地理区域,使用第一地理区域的某个服务提供者提供的服务时,通过该服务提供者配置的应用服务器与该资源转移服务器之间的交互,能够将用户的资源账户中的资源换算为第一地理区域支持的另一种类型的资源,转移给该服务提供者,实现跨区域的资源转移。Taking the first geographical area and the second geographical area as examples, as shown in Figure 1, multiple service providers belonging to the first geographical area deploy their respective application servers, and resource transfer agencies belonging to the second geographical area deploy resources transfer server, the application servers deployed by the multiple service providers can establish an association relationship with the resource transfer server. In this way, when a user belonging to the second geographical area goes to the first geographical area and uses a service provided by a certain service provider in the first geographical area, the resource transfer server and the application server configured by the service provider interaction, the resources in the user's resource account can be converted into another type of resource supported by the first geographic region, and transferred to the service provider to realize cross-regional resource transfer.

但是,每个服务提供者都需要配置应用服务器,耗费的成本较大,对服务提供者的要求过高。并且,未配置应用服务器的服务提供者将无法实现跨区域的资源转移,局限性强,应用范围狭窄。However, each service provider needs to configure an application server, which is costly and requires too much service provider. Moreover, a service provider without an application server will not be able to transfer resources across regions, which has strong limitations and a narrow application range.

发明内容Contents of the invention

本发明实施例提供了一种跨区域资源转移方法、装置、设备及存储介质,解决了相关技术存在的对服务提供者的要求过高且应用范围狭窄的问题。所述技术方案如下:Embodiments of the present invention provide a method, device, device, and storage medium for cross-regional resource transfer, which solve the problems of excessive requirements on service providers and narrow application ranges in related technologies. Described technical scheme is as follows:

一方面,提供了一种跨区域资源转移方法,应用于终端,所述方法包括:In one aspect, a cross-regional resource transfer method is provided, which is applied to a terminal, and the method includes:

基于第三方应用生成的订单信息调用目标应用,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;Invoking a target application based on order information generated by a third-party application, where the third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is a first type to be transferred the amount of resources;

通过所述目标应用,向所述目标应用关联的第一服务器发送第一资源转移注册请求,所述第一资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述订单信息,由所述第一服务器向所述用户标识的资源账户所属的第二服务器发送第二资源转移注册请求,所述第二资源转移注册请求携带所述用户标识和所述订单信息;Using the target application, sending a first resource transfer registration request to a first server associated with the target application, where the first resource transfer registration request carries the user ID of the terminal logging into the target application and the order information, The first server sends a second resource transfer registration request to a second server to which the resource account identified by the user belongs, and the second resource transfer registration request carries the user identifier and the order information;

接收所述第二服务器通过所述第一服务器转发的资源转移入口,所述资源转移入口由所述第二服务器根据所述订单信息生成;receiving a resource transfer entry forwarded by the second server through the first server, the resource transfer entry being generated by the second server according to the order information;

基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求,由所述第二服务器将所述资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。Based on the resource transfer entry, a cross-region resource transfer request is sent to the second server, and the second server transfers a second quantity of resources of the second type in the resource account to the first target account, and the second server Two quantities of resources of the second type are equivalent to the first quantity of resources of the first type.

可选地,所述基于第三方应用生成的订单信息调用目标应用,包括:Optionally, the invoking the target application based on the order information generated by the third-party application includes:

通过所述第三方应用,显示资源转移确认界面,所述资源转移确认界面用于发起对所述订单信息的资源转移;Displaying a resource transfer confirmation interface through the third-party application, where the resource transfer confirmation interface is used to initiate resource transfer of the order information;

当基于所述资源转移确认界面接收到确认指令时,通过所述第三方应用调用所述目标应用。When a confirmation instruction is received based on the resource transfer confirmation interface, the target application is invoked through the third-party application.

可选地,所述基于第三方应用生成的订单信息调用目标应用,包括:Optionally, the invoking the target application based on the order information generated by the third-party application includes:

通过所述第三方应用,向所述第三方应用关联的第三方应用服务器发送所述目标应用的目标应用标识和所述订单信息,由所述第三方应用服务器根据所述目标应用标识,向所述第一服务器发送第三资源转移注册请求,所述第三资源转移注册请求携带所述订单信息,由所述第一服务器通过所述第三方应用服务器返回用于调用所述目标应用的接口标识;Send the target application identifier of the target application and the order information to a third-party application server associated with the third-party application through the third-party application, and the third-party application server sends the order information to the third-party application server according to the target application identifier. The first server sends a third resource transfer registration request, the third resource transfer registration request carries the order information, and the first server returns an interface identifier for invoking the target application through the third-party application server ;

当接收到所述接口标识时,基于所述接口标识对应的接口调用所述目标应用。When the interface identifier is received, the target application is invoked based on the interface corresponding to the interface identifier.

可选地,所述基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求之后,所述方法还包括:Optionally, after sending the cross-region resource transfer request to the second server based on the resource transfer entry, the method further includes:

接收所述第二服务器基于所述用户标识发送的第一状态通知,所述第一状态通知用于指示所述第二服务器确认所述订单信息的状态为资源转移成功状态;receiving a first status notification sent by the second server based on the user identifier, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status;

向所述第一服务器发送状态查询请求,所述状态查询请求携带所述订单信息,由所述第一服务器根据所述订单信息返回第二状态通知,所述第二状态通知用于指示所述第一服务器确认所述订单信息的状态为资源转移成功状态;sending a status query request to the first server, where the status query request carries the order information, and the first server returns a second status notification according to the order information, and the second status notification is used to indicate the The first server confirms that the status of the order information is a resource transfer successful status;

当接收到所述第二状态通知时,显示资源转移成功界面。When the second status notification is received, a resource transfer success interface is displayed.

另一方面,提供了一种跨区域资源转移方法,应用于第一服务器,所述方法包括:In another aspect, a cross-regional resource transfer method is provided, which is applied to a first server, and the method includes:

接收终端通过目标应用发送的第一资源转移注册请求,所述第一资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述终端通过第三方应用生成的订单信息,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;receiving the first resource transfer registration request sent by the terminal through the target application, the first resource transfer registration request carrying the user ID of the terminal logging into the target application and the order information generated by the terminal through a third-party application, the first The third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is the quantity of the first type of resources to be transferred;

确定所述用户标识的资源账户所属的第二服务器;determining the second server to which the resource account identified by the user belongs;

向所述第二服务器发送第二资源转移注册请求,所述第二资源转移注册请求携带所述用户标识和所述订单信息,由所述第二服务器根据所述订单信息生成资源转移入口;Sending a second resource transfer registration request to the second server, where the second resource transfer registration request carries the user identifier and the order information, and the second server generates a resource transfer entry according to the order information;

当接收到所述第二服务器返回的所述资源转移入口时,向所述终端发送所述资源转移入口,由所述终端基于所述资源转移入口向所述第二服务器发送跨区域资源转移请求,由所述第二服务器将所述资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。When receiving the resource transfer entry returned by the second server, sending the resource transfer entry to the terminal, and the terminal sends a cross-region resource transfer request to the second server based on the resource transfer entry , the second server transfers a second amount of resources of the second type in the resource account to the first target account, the second amount of resources of the second type is the same as the first amount of resources of the first type, etc. value.

可选地,所述接收终端通过目标应用发送的第一资源转移注册请求之前,所述方法还包括:Optionally, before receiving the first resource transfer registration request sent by the terminal through the target application, the method further includes:

接收第三方应用服务器根据所述目标应用的目标应用标识发送的第三资源转移注册请求,所述第三资源转移注册请求携带所述订单信息,所述目标应用标识和所述订单信息由所述终端通过所述第三方应用发送给所述第三方应用服务器;receiving a third resource transfer registration request sent by a third-party application server according to the target application identifier of the target application, where the third resource transfer registration request carries the order information, and the target application identifier and the order information are determined by the The terminal sends to the third-party application server through the third-party application;

向所述第三方应用服务器发送用于调用所述目标应用的接口标识,由所述第三方应用服务器向所述终端转发所述接口标识,由所述终端基于所述接口标识对应的接口调用所述目标应用。sending the interface identifier for invoking the target application to the third-party application server, forwarding the interface identifier to the terminal by the third-party application server, and calling the interface based on the interface identifier corresponding to the terminal by the terminal target application.

可选地,所述当接收到所述第二服务器返回的所述资源转移入口时,向所述终端发送所述资源转移入口之后,所述方法还包括:Optionally, after receiving the resource transfer entry returned by the second server, after sending the resource transfer entry to the terminal, the method further includes:

接收所述第二服务器发送的第一状态通知,所述第一状态通知用于指示所述第二服务器确认所述订单信息的状态为资源转移成功状态;receiving a first status notification sent by the second server, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status;

基于所述第一状态通知,将本地存储的所述订单信息的状态更新为资源转移成功状态。Based on the first status notification, the status of the locally stored order information is updated to a status of successful resource transfer.

可选地,所述接收所述第二服务器发送的第一状态通知之前,所述方法还包括:Optionally, before receiving the first status notification sent by the second server, the method further includes:

向所述第二服务器发送状态查询请求,所述状态查询请求携带所述订单信息,由所述第二服务器返回所述第一状态通知。Sending a status query request to the second server, the status query request carrying the order information, and the second server returning the first status notification.

可选地,所述基于所述第一状态通知,将本地存储的所述订单信息的状态更新为资源转移成功状态之后,所述方法还包括:Optionally, after updating the status of the locally stored order information to a status of successful resource transfer based on the first status notification, the method further includes:

接收所述终端发送的状态查询请求,所述状态查询请求携带所述订单信息;receiving a status query request sent by the terminal, where the status query request carries the order information;

根据所述订单信息,向所述终端发送第二状态通知,所述第二状态通知用于指示所述第一服务器确认所述订单信息的状态为资源转移成功状态。Sending a second status notification to the terminal according to the order information, where the second status notification is used to instruct the first server to confirm that the status of the order information is a resource transfer successful status.

可选地,所述第一目标账户为所述第二服务器配置的资源中转账户;第二目标账户为所述第一服务器配置的资源中转账户;Optionally, the first target account is a resource transfer account configured by the second server; the second target account is a resource transfer account configured by the first server;

所述当接收到所述第二服务器返回的所述资源转移入口时,向所述终端发送所述资源转移入口之后,所述方法还包括:When receiving the resource transfer entry returned by the second server, after sending the resource transfer entry to the terminal, the method further includes:

通过所述第二目标账户,接收所述第二服务器从所述第一目标账户转出的所述第一数量的所述第一类型资源;receiving the first amount of resources of the first type transferred from the first target account by the second server through the second target account;

基于所述订单信息,将所述第二目标账户中所述第一数量的所述第一类型资源转移给所述订单信息中的接收方账户。Based on the order information, transferring the first quantity of the first type resource in the second target account to a recipient account in the order information.

再一方面,提供了一种跨区域资源转移方法,应用于第二服务器,所述方法包括:In yet another aspect, a cross-regional resource transfer method is provided, which is applied to a second server, and the method includes:

接收第一服务器在接收到终端发送的第一资源转移注册请求后发送的第二资源转移注册请求,所述第一资源转移注册请求由所述终端基于第三方应用生成的订单信息调用目标应用后发送,所述第二资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述订单信息,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;receiving the second resource transfer registration request sent by the first server after receiving the first resource transfer registration request sent by the terminal, after the first resource transfer registration request is invoked by the terminal based on the order information generated by the third-party application to the target application Sending, the second resource transfer registration request carries the user ID of the terminal logging into the target application and the order information, the third-party application is any application different from the target application, and the order information includes A first quantity, where the first quantity is the quantity of the first type of resources to be transferred;

根据所述订单信息生成资源转移入口;Generate a resource transfer entry according to the order information;

向所述第一服务器发送所述资源转移入口,由所述第一服务器向所述终端转发所述资源转移入口,由所述终端基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求;sending the resource transfer entry to the first server, forwarding the resource transfer entry to the terminal by the first server, and sending the cross-regional transfer entry to the second server by the terminal based on the resource transfer entry resource transfer request;

当接收到所述跨区域资源转移请求时,将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。When the cross-region resource transfer request is received, transfer a second quantity of resources of the second type in the resource account identified by the user to a first target account, the second quantity of resources of the second type are identical to the first target account A quantity equivalent to the resource of the first type.

可选地,所述根据所述订单信息生成资源转移入口,包括:Optionally, the generating a resource transfer entry according to the order information includes:

根据所述订单信息生成资源转移界面,所述资源转移界面包括所述第二数量;generating a resource transfer interface according to the order information, where the resource transfer interface includes the second quantity;

获取所述资源转移界面的界面链接,作为所述资源转移入口。Obtain the interface link of the resource transfer interface as the resource transfer entry.

可选地,所述将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户之后,所述方法还包括以下至少一项:Optionally, after transferring the second quantity of second-type resources in the resource account identified by the user to the first target account, the method further includes at least one of the following:

向所述第一服务器发送第一状态通知,所述第一状态通知用于指示所述第二服务器确认所述订单信息的状态为资源转移成功状态;Sending a first status notification to the first server, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status;

基于所述用户标识,向所述终端发送所述第一状态通知。Sending the first status notification to the terminal based on the user identifier.

可选地,所述向所述第一服务器发送第一状态通知之前,所述方法还包括:Optionally, before sending the first status notification to the first server, the method further includes:

接收所述第一服务器发送的状态查询请求,所述状态查询请求携带所述订单信息。Receive a status query request sent by the first server, where the status query request carries the order information.

可选地,所述第一目标账户为所述第二服务器配置的资源中转账户;第二目标账户为所述第一服务器配置的资源中转账户;Optionally, the first target account is a resource transfer account configured by the second server; the second target account is a resource transfer account configured by the first server;

所述将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户之后,所述方法还包括:After the transfer of the second quantity of resources of the second type in the resource account identified by the user to the first target account, the method further includes:

将所述第一目标账户中所述第一数量的所述第一类型资源转移给所述第二目标账户,由所述第一服务器基于所述订单信息,将所述第二目标账户中所述第一数量的所述第一类型资源转移给所述订单信息中的接收方账户。transferring the first amount of the first type of resources in the first target account to the second target account, and the first server transfers the resources in the second target account based on the order information The first quantity of the first type of resources is transferred to the receiver's account in the order information.

再一方面,提供了一种跨区域资源转移方法,应用于第一服务器,所述方法包括:In another aspect, a cross-regional resource transfer method is provided, which is applied to a first server, and the method includes:

接收终端发送的资源转移请求,所述资源转移请求携带用户标识和订单信息,所述用户标识由所述终端通过扫描包含所述用户标识的图形码得到,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;receiving a resource transfer request sent by a terminal, the resource transfer request carrying a user ID and order information, the user ID is obtained by the terminal by scanning a graphic code containing the user ID, the order information includes a first quantity, and the The first quantity is the quantity of the first type of resource to be transferred;

确定所述用户标识的资源账户所属的第二服务器;determining the second server to which the resource account identified by the user belongs;

向所述第二服务器发送跨区域资源转移请求,所述跨区域资源转移请求携带所述用户标识和所述订单信息,由所述第二服务器将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。sending a cross-region resource transfer request to the second server, where the cross-region resource transfer request carries the user identifier and the order information, and the second server assigns the second number of resources in the resource account identified by the user The second-type resources are transferred to the first target account, and the second amount of the second-type resources is equivalent to the first amount of the first-type resources.

再一方面,提供了一种跨区域资源转移方法,应用于第二服务器,所述方法包括:In yet another aspect, a cross-regional resource transfer method is provided, which is applied to a second server, and the method includes:

接收第一服务器在接收到终端发送的资源转移请求后发送的跨区域资源转移请求,所述资源转移请求携带用户标识和订单信息,所述用户标识由所述终端通过扫描包含所述用户标识的图形码得到,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;receiving the cross-region resource transfer request sent by the first server after receiving the resource transfer request sent by the terminal, the resource transfer request carrying the user ID and order information, the user ID is scanned by the terminal by scanning the The graphic code is obtained, the order information includes a first quantity, and the first quantity is the quantity of the first type of resource to be transferred;

将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。Transferring a second amount of resources of the second type in the resource account identified by the user to the first target account, where the second amount of resources of the second type is equivalent to the first amount of resources of the first type.

可选地,所述将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,包括:Optionally, the transferring the second quantity of resources of the second type in the resource account identified by the user to the first target account includes:

基于所述用户标识,向所述终端发送验证指令,由所述终端显示密码验证界面,获取在所述密码验证界面中输入的密码;Based on the user identification, sending a verification instruction to the terminal, the terminal displays a password verification interface, and acquires a password input in the password verification interface;

接收所述终端发送的所述密码;receiving the password sent by the terminal;

当确定所述密码为所述用户标识的正确密码时,将所述资源账户中所述第二数量的第二类型资源转移给所述第一目标账户。When it is determined that the password is the correct password of the user ID, transferring the second quantity of resources of the second type in the resource account to the first target account.

再一方面,提供了一种跨区域资源转移装置,应用于终端,所述装置包括:In another aspect, an apparatus for transferring resources across regions is provided, which is applied to a terminal, and the apparatus includes:

调用模块,用于基于第三方应用生成的订单信息调用目标应用,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;A calling module, configured to call a target application based on order information generated by a third-party application, where the third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is to be the amount of Type 1 resources transferred;

注册请求发送模块,用于通过所述目标应用,向所述目标应用关联的第一服务器发送第一资源转移注册请求,所述第一资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述订单信息,由所述第一服务器向所述用户标识的资源账户所属的第二服务器发送第二资源转移注册请求,所述第二资源转移注册请求携带所述用户标识和所述订单信息;A registration request sending module, configured to send, through the target application, a first resource transfer registration request to a first server associated with the target application, where the first resource transfer registration request carries the user of the terminal logging into the target application identifier and the order information, the first server sends a second resource transfer registration request to the second server to which the resource account of the user identifier belongs, and the second resource transfer registration request carries the user identifier and the order information;

第一接收模块,用于接收所述第二服务器通过所述第一服务器转发的资源转移入口,所述资源转移入口由所述第二服务器根据所述订单信息生成;A first receiving module, configured to receive a resource transfer entry forwarded by the second server through the first server, where the resource transfer entry is generated by the second server according to the order information;

转移请求发送模块,用于基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求,由所述第二服务器将所述资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。A transfer request sending module, configured to send a cross-region resource transfer request to the second server based on the resource transfer entry, and the second server transfers a second quantity of second-type resources in the resource account to the second server. A target account, the second quantity of resources of the second type is equivalent to the first quantity of resources of the first type.

可选地,所述调用模块,包括:Optionally, the calling module includes:

显示单元,用于通过所述第三方应用,显示资源转移确认界面,所述资源转移确认界面用于发起对所述订单信息的资源转移;A display unit, configured to display a resource transfer confirmation interface through the third-party application, and the resource transfer confirmation interface is used to initiate resource transfer of the order information;

调用单元,用于当基于所述资源转移确认界面接收到确认指令时,通过所述第三方应用调用所述目标应用。A calling unit, configured to call the target application through the third-party application when a confirmation instruction is received based on the resource transfer confirmation interface.

可选地,所述调用模块,包括:Optionally, the calling module includes:

发送单元,用于通过所述第三方应用,向所述第三方应用关联的第三方应用服务器发送所述目标应用的目标应用标识和所述订单信息,由所述第三方应用服务器根据所述目标应用标识,向所述第一服务器发送第三资源转移注册请求,所述第三资源转移注册请求携带所述订单信息,由所述第一服务器通过所述第三方应用服务器返回用于调用所述目标应用的接口标识;a sending unit, configured to send, through the third-party application, the target application identifier of the target application and the order information to a third-party application server associated with the third-party application, and the third-party application server Application identification, sending a third resource transfer registration request to the first server, the third resource transfer registration request carrying the order information, returned by the first server through the third-party application server to call the The interface identification of the target application;

调用单元,用于当接收到所述接口标识时,基于所述接口标识对应的接口调用所述目标应用。The invoking unit is configured to, when receiving the interface identifier, invoke the target application based on the interface corresponding to the interface identifier.

可选地,所述资源转移入口为资源转移界面的界面链接,所述转移请求发送模块,包括:Optionally, the resource transfer entry is an interface link of the resource transfer interface, and the transfer request sending module includes:

显示单元,用于显示所述界面链接对应的资源转移界面,所述资源转移界面由所述第二服务器根据所述订单信息生成,所述资源转移界面包括所述第二数量;A display unit, configured to display a resource transfer interface corresponding to the interface link, the resource transfer interface is generated by the second server according to the order information, and the resource transfer interface includes the second quantity;

转移请求发送单元,用于当基于所述资源转移界面接收到确认指令时,向所述第二服务器发送所述跨区域资源转移请求。A transfer request sending unit, configured to send the cross-region resource transfer request to the second server when a confirmation instruction is received based on the resource transfer interface.

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

第二接收模块,用于接收所述第二服务器基于所述用户标识发送的第一状态通知,所述第一状态通知用于指示所述第二服务器确认所述订单信息的状态为资源转移成功状态;A second receiving module, configured to receive a first status notification sent by the second server based on the user identifier, where the first status notification is used to instruct the second server to confirm that the status of the order information is resource transfer success state;

查询请求发送模块,用于向所述第一服务器发送状态查询请求,所述状态查询请求携带所述订单信息,由所述第一服务器根据所述订单信息返回第二状态通知,所述第二状态通知用于指示所述第一服务器确认所述订单信息的状态为资源转移成功状态;A query request sending module, configured to send a status query request to the first server, the status query request carries the order information, and the first server returns a second status notification according to the order information, and the second The status notification is used to instruct the first server to confirm that the status of the order information is a resource transfer successful status;

显示模块,当接收到所述第二状态通知时,显示资源转移成功界面。The display module, when receiving the second status notification, displays a resource transfer success interface.

再一方面,提供了一种跨区域资源转移装置,应用于第一服务器中,所述装置包括:In another aspect, an apparatus for transferring resources across regions is provided, which is applied to a first server, and the apparatus includes:

第一接收模块,用于接收终端通过目标应用发送的第一资源转移注册请求,所述第一资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述终端通过第三方应用生成的订单信息,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;The first receiving module is configured to receive a first resource transfer registration request sent by a terminal through a target application, where the first resource transfer registration request carries the user identifier of the terminal logging into the target application and the terminal generated by the third-party application The order information of the third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is the quantity of the first type of resources to be transferred;

确定模块,用于确定所述用户标识的资源账户所属的第二服务器;A determining module, configured to determine a second server to which the resource account identified by the user belongs;

注册请求发送模块,用于向所述第二服务器发送第二资源转移注册请求,所述第二资源转移注册请求携带所述用户标识和所述订单信息,由所述第二服务器根据所述订单信息生成资源转移入口;A registration request sending module, configured to send a second resource transfer registration request to the second server, where the second resource transfer registration request carries the user identifier and the order information, and the second server sends the registration request according to the order Information generation resource transfer entry;

入口发送模块,用于当接收到所述第二服务器返回的所述资源转移入口时,向所述终端发送所述资源转移入口,由所述终端基于所述资源转移入口向所述第二服务器发送跨区域资源转移请求,由所述第二服务器将所述资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。An entry sending module, configured to send the resource transfer entry to the terminal when receiving the resource transfer entry returned by the second server, and the terminal sends the resource transfer entry to the second server based on the resource transfer entry sending a cross-region resource transfer request, the second server transfers a second quantity of resources of the second type in the resource account to the first target account, and the second quantity of resources of the second type is the same as the first quantity The first-type resource equivalent of .

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

注册请求接收模块,用于接收第三方应用服务器根据所述目标应用的目标应用标识发送的第三资源转移注册请求,所述第三资源转移注册请求携带所述订单信息,所述目标应用标识和所述订单信息由所述终端通过所述第三方应用发送给所述第三方应用服务器;A registration request receiving module, configured to receive a third resource transfer registration request sent by a third-party application server according to the target application identifier of the target application, the third resource transfer registration request carrying the order information, the target application identifier and The order information is sent by the terminal to the third-party application server through the third-party application;

接口标识发送模块,用于向所述第三方应用服务器发送用于调用所述目标应用的接口标识,由所述第三方应用服务器向所述终端转发所述接口标识,由所述终端基于所述接口标识对应的接口调用所述目标应用。An interface identifier sending module, configured to send an interface identifier for invoking the target application to the third-party application server, the third-party application server forwards the interface identifier to the terminal, and the terminal based on the The interface corresponding to the interface identifier invokes the target application.

可选地,所述注册请求发送模块,用于向跨区域监管服务器发送所述第二资源转移注册请求,由所述跨区域监管服务器对所述订单信息验证通过后,将所述第二资源转移注册请求存储至区块链系统中,将所述第二资源转移注册请求转发给所述第二服务器,所述跨区域监管服务器为所述区块链系统中的节点设备,用于监管跨区域的资源转移。Optionally, the registration request sending module is configured to send the second resource transfer registration request to a cross-region supervision server, and after the cross-region supervision server passes the verification of the order information, transfer the second resource The transfer registration request is stored in the block chain system, and the second resource transfer registration request is forwarded to the second server, and the cross-region supervision server is a node device in the block chain system, which is used to supervise cross Regional resource transfer.

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

状态通知接收模块,用于接收所述第二服务器发送的第一状态通知,所述第一状态通知用于指示所述第二服务器确认所述订单信息的状态为资源转移成功状态;A status notification receiving module, configured to receive a first status notification sent by the second server, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status;

更新模块,用于基于所述第一状态通知,将本地存储的所述订单信息的状态更新为资源转移成功状态。An updating module, configured to update the status of the locally stored order information to a status of successful resource transfer based on the first status notification.

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

查询请求发送模块,用于向所述第二服务器发送状态查询请求,所述状态查询请求携带所述订单信息,由所述第二服务器返回所述第一状态通知。A query request sending module, configured to send a status query request to the second server, the status query request carries the order information, and the second server returns the first status notification.

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

查询请求接收模块,用于接收所述终端发送的状态查询请求,所述状态查询请求携带所述订单信息;A query request receiving module, configured to receive a status query request sent by the terminal, where the status query request carries the order information;

状态通知发送模块,用于根据所述订单信息,向所述终端发送第二状态通知,所述第二状态通知用于指示所述第一服务器确认所述订单信息的状态为资源转移成功状态。A status notification sending module, configured to send a second status notification to the terminal according to the order information, and the second status notification is used to instruct the first server to confirm that the status of the order information is a resource transfer successful status.

可选地,所述第一目标账户为所述第二服务器配置的资源中转账户;第二目标账户为所述第一服务器配置的资源中转账户;所述装置还包括:Optionally, the first target account is a resource transfer account configured by the second server; the second target account is a resource transfer account configured by the first server; the device further includes:

第二接收模块,用于通过所述第二目标账户,接收所述第二服务器从所述第一目标账户转出的所述第一数量的所述第一类型资源;A second receiving module, configured to receive, through the second target account, the first amount of the first type of resources that the second server transfers out from the first target account;

转移模块,用于基于所述订单信息,将所述第二目标账户中所述第一数量的所述第一类型资源转移给所述订单信息中的接收方账户。A transfer module, configured to transfer the first quantity of the first type of resources in the second target account to a recipient account in the order information based on the order information.

再一方面,提供了一种跨区域资源转移装置,应用于第二服务器,所述装置包括:In another aspect, an apparatus for transferring resources across regions is provided, which is applied to a second server, and the apparatus includes:

第一接收模块,用于接收第一服务器在接收到终端发送的第一资源转移注册请求后发送的第二资源转移注册请求,所述第一资源转移注册请求由所述终端基于第三方应用生成的订单信息调用目标应用后发送,所述第二资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述订单信息,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;The first receiving module is configured to receive the second resource transfer registration request sent by the first server after receiving the first resource transfer registration request sent by the terminal, the first resource transfer registration request is generated by the terminal based on a third-party application The order information of the target application is sent after calling the target application, the second resource transfer registration request carries the user ID of the terminal logging into the target application and the order information, and the third-party application is any In the application, the order information includes a first quantity, and the first quantity is the quantity of the first type of resources to be transferred;

入口生成模块,用于根据所述订单信息生成资源转移入口;An entry generating module, configured to generate a resource transfer entry according to the order information;

入口发送模块,用于向所述第一服务器发送所述资源转移入口,由所述第一服务器向所述终端转发所述资源转移入口,由所述终端基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求;An entry sending module, configured to send the resource transfer entry to the first server, forward the resource transfer entry to the terminal by the first server, and send the resource transfer entry to the terminal based on the resource transfer entry The second server sends a cross-regional resource transfer request;

转移模块,用于当接收到所述跨区域资源转移请求时,将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。A transfer module, configured to transfer a second quantity of resources of the second type in the resource account identified by the user to the first target account when the cross-regional resource transfer request is received, and the second quantity of resources of the second type The resources are equivalent to the first quantity of resources of the first type.

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

第一获取模块,用于获取所述第一类型资源与所述第二类型资源之间的换算比例;A first obtaining module, configured to obtain a conversion ratio between the first type of resource and the second type of resource;

第二获取模块,用于根据所述换算比例,获取与所述第一数量的第一类型资源等值的所述第二类型资源的数量,作为所述第二数量。The second obtaining module is configured to obtain, according to the conversion ratio, a quantity of the second type of resources that is equivalent to the first quantity of the first type of resources as the second quantity.

可选地,所述装置还包括以下至少一个模块;Optionally, the device further includes at least one of the following modules;

第一发送模块,用于向所述第一服务器发送第一状态通知,所述第一状态通知用于指示所述第二服务器确认所述订单信息的状态为资源转移成功状态;A first sending module, configured to send a first status notification to the first server, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status;

第二发送模块,用于基于所述用户标识,向所述终端发送所述第一状态通知。The second sending module is configured to send the first status notification to the terminal based on the user identifier.

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

第二接收模块,用于接收所述第一服务器发送的状态查询请求,所述状态查询请求携带所述订单信息。The second receiving module is configured to receive a status query request sent by the first server, where the status query request carries the order information.

可选地,所述第一目标账户为所述第二服务器配置的资源中转账户;第二目标账户为所述第一服务器配置的资源中转账户;Optionally, the first target account is a resource transfer account configured by the second server; the second target account is a resource transfer account configured by the first server;

所述转移模块,还用于将所述第一目标账户中所述第一数量的所述第一类型资源转移给所述第二目标账户,由所述第一服务器基于所述订单信息将所述第二目标账户中所述第一数量的所述第一类型资源转移给所述订单信息中的接收方账户。The transfer module is further configured to transfer the first quantity of the first-type resources in the first target account to the second target account, and the first server transfers the first-type resources based on the order information The first quantity of the first type of resource in the second target account is transferred to the recipient account in the order information.

再一方面,提供了一种跨区域资源转移装置,应用于第一服务器,所述装置包括:In another aspect, an apparatus for transferring resources across regions is provided, which is applied to a first server, and the apparatus includes:

转移请求接收模块,用于接收终端发送的资源转移请求,所述资源转移请求携带用户标识和订单信息,所述用户标识由所述终端通过扫描包含所述用户标识的图形码得到,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;A transfer request receiving module, configured to receive a resource transfer request sent by a terminal, the resource transfer request carries a user ID and order information, the user ID is obtained by the terminal by scanning a graphic code containing the user ID, and the order The information includes a first quantity, the first quantity being the quantity of the first type of resources to be transferred;

确定模块,用于确定所述用户标识的资源账户所属的第二服务器;A determining module, configured to determine a second server to which the resource account identified by the user belongs;

转移请求发送模块,用于向所述第二服务器发送跨区域资源转移请求,所述跨区域资源转移请求携带所述用户标识和所述订单信息,由所述第二服务器将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。A transfer request sending module, configured to send a cross-region resource transfer request to the second server, where the cross-region resource transfer request carries the user identifier and the order information, and the second server sends the user identifier A second amount of resources of the second type in the resource account is transferred to the first target account, and the second amount of resources of the second type is equivalent to the first amount of resources of the first type.

再一方面,提供了一种跨区域资源转移装置,应用于第二服务器,所述装置包括:In another aspect, an apparatus for transferring resources across regions is provided, which is applied to a second server, and the apparatus includes:

转移请求接收模块,用于接收第一服务器在接收到终端发送的资源转移请求后发送的跨区域资源转移请求,所述资源转移请求携带用户标识和订单信息,所述用户标识由所述终端通过扫描包含所述用户标识的图形码得到,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;The transfer request receiving module is configured to receive a cross-region resource transfer request sent by the first server after receiving the resource transfer request sent by the terminal, the resource transfer request carries user identification and order information, and the user identification is passed by the terminal Obtained by scanning the graphic code containing the user identification, the order information includes a first quantity, and the first quantity is the quantity of the first type of resource to be transferred;

资源转移模块,用于将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。A resource transfer module, configured to transfer a second quantity of resources of the second type in the resource account identified by the user to a first target account, the second quantity of resources of the second type is the same as the first quantity of resources of the first type resource equivalent.

可选地,所述资源转移模块包括:Optionally, the resource transfer module includes:

发送单元,用于基于所述用户标识,向所述终端发送验证指令,由所述终端显示密码验证界面,获取在所述密码验证界面中输入的密码;A sending unit, configured to send a verification instruction to the terminal based on the user ID, and the terminal displays a password verification interface to obtain a password input in the password verification interface;

接收单元,用于接收所述终端发送的所述密码;a receiving unit, configured to receive the password sent by the terminal;

资源转移单元,用于当确定所述密码为所述用户标识的正确密码时,将所述资源账户中所述第二数量的第二类型资源转移给所述第一目标账户。A resource transfer unit, configured to transfer the second quantity of resources of the second type in the resource account to the first target account when it is determined that the password is the correct password of the user ID.

再一方面,提供了一种计算机设备,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述指令、所述程序、所述代码集或所述指令集由所述处理器加载并执行以实现如上述方面所述的跨区域资源转移方法中所执行的操作。In yet another aspect, a computer device is provided, the computer device includes a processor and a memory, at least one instruction, at least one program, code set or instruction set are stored in the memory, the instruction, the program, the The code set or the instruction set is loaded and executed by the processor to implement the operations performed in the cross-region resource transfer method as described in the above aspects.

再一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述指令、所述程序、所述代码集或所述指令集由处理器加载并具有以实现如上述方面所述的跨区域资源转移方法中所执行的操作。In yet another aspect, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the computer-readable storage medium, and the instruction, the program, the code set Or the instruction set is loaded by the processor and has to implement the operations performed in the method for cross-regional resource transfer as described in the above aspect.

本发明实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the embodiments of the present invention at least include:

本发明实施例提供的跨区域资源转移方法、装置、设备及存储介质,第一服务器与第二服务器通过网络连接,第一服务器与第一地理区域的第三方应用服务器通过网络连接。第二服务器通过第一服务器接收第三方应用服务器的订单信息,实现了订单信息的注册,后续即可基于该订单信息生成资源转移入口,从而基于该资源转移入口进行跨区域资源转移。本发明实施例提供了一种适用于一个或多个第三方应用的跨区域资源转移方案,更具有普适性,无需每个服务提供者均部署相应的应用服务器来与第二服务器进行交互,无需对第三方应用服务器进行改进,节约了成本,降低了对服务提供者的要求。即使是未配置应用服务器的服务提供者也可以实现跨区域的资源转移,扩展了应用范围。In the cross-regional resource transfer method, device, device and storage medium provided by the embodiments of the present invention, the first server is connected to the second server through a network, and the first server is connected to a third-party application server in the first geographic region through a network. The second server receives the order information from the third-party application server through the first server, realizes the registration of the order information, and then generates a resource transfer entry based on the order information, so as to perform cross-regional resource transfer based on the resource transfer entry. The embodiment of the present invention provides a cross-regional resource transfer solution suitable for one or more third-party applications, which is more universal and does not require each service provider to deploy a corresponding application server to interact with the second server. There is no need to improve the third-party application server, which saves costs and reduces the requirements for service providers. Even a service provider without an application server can realize cross-regional resource transfer, expanding the scope of application.

并且,第一服务器和第二服务器之间还可以通过跨区域监管服务器连接,该跨区域监管服务器可以获取第一服务器和第二服务器之间的跨区域资源转移记录,进而确定第一服务器和第二服务器之间的跨区域资源转移是否合法,符合跨区域资源转移的监管要求。并且,跨区域监管服务器还可以对订单信息进行验证,当订单信息验证通过后,才由第二服务器进行跨区域资源转移,提高了安全性。In addition, the first server and the second server can also be connected through a cross-region supervisory server, and the cross-region supervisory server can obtain cross-region resource transfer records between the first server and the second server, and then determine the first server and the second server. Whether the cross-regional resource transfer between the two servers is legal and meets the regulatory requirements for cross-regional resource transfer. In addition, the cross-region supervisory server can also verify the order information, and only after the order information is verified, the second server can perform cross-region resource transfer, thereby improving security.

并且,每个服务器中都存储有订单信息,可以根据任一个服务器中的订单信息进行验证,确定该跨区域资源转移是否合法;或者,可以根据多个服务器中的订单信息进行验证,确定该资源转移是否合法,提高了安全性。In addition, order information is stored in each server, which can be verified according to the order information in any server to determine whether the cross-regional resource transfer is legal; or can be verified according to the order information in multiple servers to determine whether the resource transfer is legal. Whether the transfer is legal, improves security.

附图说明Description of drawings

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

图1是相关技术提供的一种跨区域资源转移系统的示意图;FIG. 1 is a schematic diagram of a cross-regional resource transfer system provided by related technologies;

图2是本发明实施例提供的一种实施环境的示意图;Fig. 2 is a schematic diagram of an implementation environment provided by an embodiment of the present invention;

图3是本发明实施例提供的一种实施环境的示意图;Fig. 3 is a schematic diagram of an implementation environment provided by an embodiment of the present invention;

图4是本发明实施例提供的一种实施环境的示意图;Fig. 4 is a schematic diagram of an implementation environment provided by an embodiment of the present invention;

图5是本发明实施例提供的一种实施环境的示意图;Fig. 5 is a schematic diagram of an implementation environment provided by an embodiment of the present invention;

图6是本发明实施例提供的一种区块链系统的结构示意图;FIG. 6 is a schematic structural diagram of a blockchain system provided by an embodiment of the present invention;

图7是本发明实施例提供的一种区块链的示意图;Fig. 7 is a schematic diagram of a block chain provided by an embodiment of the present invention;

图8是本发明实施例提供的一种注册方法的流程图;FIG. 8 is a flowchart of a registration method provided by an embodiment of the present invention;

图9是本发明实施例提供的一种资源转移确认界面的示意图;FIG. 9 is a schematic diagram of a resource transfer confirmation interface provided by an embodiment of the present invention;

图10是本发明实施例提供的一种跨区域资源转移方法的流程图;FIG. 10 is a flowchart of a cross-region resource transfer method provided by an embodiment of the present invention;

图11是本发明实施例提供的一种跨区域资源转移方法的流程图;Fig. 11 is a flow chart of a cross-regional resource transfer method provided by an embodiment of the present invention;

图12是本发明实施例提供的一种跨区域资源转移方法的流程图;Fig. 12 is a flowchart of a cross-regional resource transfer method provided by an embodiment of the present invention;

图13是本发明实施例提供的一种跨区域资源转移方法的流程图;Fig. 13 is a flowchart of a cross-regional resource transfer method provided by an embodiment of the present invention;

图14是本发明实施例提供的一种跨区域资源转移方法的流程图;Fig. 14 is a flow chart of a cross-regional resource transfer method provided by an embodiment of the present invention;

图15是本发明实施例提供的一种资源转移界面的示意图;Fig. 15 is a schematic diagram of a resource transfer interface provided by an embodiment of the present invention;

图16是本发明实施例提供的一种状态更新方法的流程图;Fig. 16 is a flow chart of a status update method provided by an embodiment of the present invention;

图17是本发明实施例提供的一种状态更新方法的流程图;Fig. 17 is a flow chart of a status update method provided by an embodiment of the present invention;

图18是本发明实施例提供的一种跨区域资源转移方法的流程图;Fig. 18 is a flowchart of a cross-region resource transfer method provided by an embodiment of the present invention;

图19是本发明实施例提供的一种资源转移成功界面的示意图;Fig. 19 is a schematic diagram of a resource transfer success interface provided by an embodiment of the present invention;

图20是本发明实施例提供的一种跨区域资源转移方法的流程图;Fig. 20 is a flowchart of a cross-region resource transfer method provided by an embodiment of the present invention;

图21是本发明实施例提供的一种图形码的示意图;Fig. 21 is a schematic diagram of a graphic code provided by an embodiment of the present invention;

图22是本发明实施例提供的一种扫描图形码的示意图;Fig. 22 is a schematic diagram of a scanning pattern code provided by an embodiment of the present invention;

图23是本发明实施例提供的一种跨区域资源转移方法的流程图;Fig. 23 is a flowchart of a cross-region resource transfer method provided by an embodiment of the present invention;

图24是本发明实施例提供的一种跨区域资源转移装置的结构示意图;Fig. 24 is a schematic structural diagram of a cross-regional resource transfer device provided by an embodiment of the present invention;

图25是本发明实施例提供的另一种跨区域资源转移装置的结构示意图;Fig. 25 is a schematic structural diagram of another cross-regional resource transfer device provided by an embodiment of the present invention;

图26是本发明实施例提供的一种跨区域资源转移装置的结构示意图;Fig. 26 is a schematic structural diagram of a cross-regional resource transfer device provided by an embodiment of the present invention;

图27是本发明实施例提供的另一种跨区域资源转移装置的结构示意图;Fig. 27 is a schematic structural diagram of another cross-regional resource transfer device provided by an embodiment of the present invention;

图28是本发明实施例提供的一种跨区域资源转移装置的结构示意图;Fig. 28 is a schematic structural diagram of a cross-region resource transfer device provided by an embodiment of the present invention;

图29是本发明实施例提供的另一种跨区域资源转移装置的结构示意图;Fig. 29 is a schematic structural diagram of another cross-regional resource transfer device provided by an embodiment of the present invention;

图30是本发明实施例提供的一种跨区域资源转移装置的结构示意图;FIG. 30 is a schematic structural diagram of a cross-region resource transfer device provided by an embodiment of the present invention;

图31是本发明实施例提供的一种跨区域资源转移装置的结构示意图;Fig. 31 is a schematic structural diagram of a cross-regional resource transfer device provided by an embodiment of the present invention;

图32是本发明实施例提供的另一种跨区域资源转移装置的结构示意图;Fig. 32 is a schematic structural diagram of another cross-regional resource transfer device provided by an embodiment of the present invention;

图33是本发明实施例提供的一种终端的结构框图;Fig. 33 is a structural block diagram of a terminal provided by an embodiment of the present invention;

图34是本发明实施例提供的一种服务器的结构示意图。Fig. 34 is a schematic structural diagram of a server provided by an embodiment of the present invention.

具体实施方式Detailed ways

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

在对本发明实施例进行详细说明之前,先对涉及到的概念进行如下解释说明:Before describing the embodiments of the present invention in detail, the concepts involved are explained as follows:

1、跨区域资源转移:是指自任一地理区域向另一个地理区域进行的,符合所在地理区域的资源监管规则的,面向个人或企业的资源转移业务,支持相同类型的资源之间的转移以及不同类型的资源之间的换算。1. Cross-regional resource transfer: refers to the resource transfer business for individuals or enterprises that is carried out from any geographical area to another geographical area and conforms to the resource supervision rules of the geographical area, and supports the transfer of resources of the same type and Conversions between different types of resources.

2、第三方应用和第三方应用服务器:2. Third-party applications and third-party application servers:

第三方应用是指终端上安装的任一应用,第三方应用是指为第三方应用提供服务的服务器。该第三方应用由服务提供者开发,该第三方应用服务器由服务提供者配置。例如,第三方应用为电子商务类应用,第三方应用服务器为电子商务类应用服务器,服务提供者为网络购物平台。A third-party application refers to any application installed on a terminal, and a third-party application refers to a server that provides services for the third-party application. The third-party application is developed by the service provider, and the third-party application server is configured by the service provider. For example, the third-party application is an e-commerce application, the third-party application server is an e-commerce application server, and the service provider is an online shopping platform.

第三方应用和第三方应用服务器隶属于某一地理区域,表示:该第三方应用和该第三方应用服务器具有在该地理区域内提供服务的权限,在提供服务时,如果需要进行资源转移,该第三方应用和该第三方应用服务器具有转移该地理区域所支持资源的功能。A third-party application and a third-party application server belong to a certain geographical area, which means: the third-party application and the third-party application server have the authority to provide services in the geographical area. When providing services, if resource transfer is required, the The third-party application and the third-party application server have the function of transferring resources supported by the geographical area.

例如,该第三方应用服务器可以为在该地理区域内注册的服务器,通过注册的方式获得在该地理区域内提供服务的权限,而该第三方应用服务器的实际位置位于该地理区域之内还是位于该地理区域之外均可。For example, the third-party application server may be a server registered in the geographical area, and obtain the authority to provide services in the geographical area through registration, and the actual location of the third-party application server is located in the geographical area or in Outside of this geographic area is fine.

3、目标应用和第一服务器:3. Target application and first server:

目标应用是指终端上安装的、具有资源转移功能的应用,第一服务器是指为目标应用提供服务的服务器。该目标应用由资源管理机构开发,该第一服务器由资源管理机构配置。上述资源管理机构可以为具有资源管理权限的公司、集团、银行、当铺、金融机构、电子钱包、电子账户、商铺等。The target application refers to an application installed on the terminal and has a resource transfer function, and the first server refers to a server that provides services for the target application. The target application is developed by the resource management organization, and the first server is configured by the resource management organization. The above-mentioned resource management institutions can be companies, groups, banks, pawnshops, financial institutions, electronic wallets, electronic accounts, shops, etc. that have resource management authority.

任一个或多个第三方应用均可以与目标应用进行交互,通过调用目标应用,实现资源转移。Any one or more third-party applications can interact with the target application, and realize resource transfer by invoking the target application.

例如,目标应用为电子支付应用,第一服务器为电子支付服务器,第三方应用为电子商务类应用,用户在电子商务类应用中购买商品后,电子商务类应用调用电子支付应用,通过电子支付应用来进行支付。For example, the target application is an electronic payment application, the first server is an electronic payment server, and the third-party application is an e-commerce application. After the user purchases goods in the e-commerce application, the e-commerce application calls the electronic payment application, and the electronic payment application to make the payment.

目标应用和第一服务器隶属于某一地理区域,表示:目标应用和第一服务器具有在该地理区域内管理资源的权限,具有转移该地理区域所支持资源的功能。并且,目标应用与第三方应用隶属于同一地理区域。The fact that the target application and the first server belong to a certain geographical area means that the target application and the first server have the authority to manage resources in the geographical area and have the function of transferring resources supported by the geographical area. Also, the target app belongs to the same geographic region as the third-party app.

例如,该第一服务器可以为在该地理区域内注册的服务器,通过注册的方式获得在该地理区域内管理资源的权限,而该第一服务器的实际位置位于该地理区域之内还是位于该地理区域之外均可。For example, the first server may be a server registered in the geographical area, and the right to manage resources in the geographical area is obtained through registration, and the actual location of the first server is located in the geographical area or is located in the geographical area. Available outside the area.

4、第二服务器:4. The second server:

第二服务器具有在某一地理区域内管理资源的权限,具有转移该地理区域所支持资源的功能。The second server has the authority to manage resources in a certain geographical area, and has the function of transferring resources supported by the geographical area.

第一服务器和第二服务器隶属于不同的地理区域,两者之间可以建立关联关系,实现跨区域的资源转移。The first server and the second server belong to different geographic regions, and an association relationship can be established between them to realize resource transfer across regions.

图2是本发明实施例提供的一种实施环境的示意图,参见图2,该实施环境包括:终端201、第一服务器202和第二服务器203,终端201与第一服务器202和第二服务器203之间通过网络连接,第一服务器202与第二服务器203之间通过网络连接。FIG. 2 is a schematic diagram of an implementation environment provided by an embodiment of the present invention. Referring to FIG. 2 , the implementation environment includes: a terminal 201, a first server 202 and a second server 203, and the terminal 201 and the first server 202 and the second server 203 are connected through a network, and the first server 202 and the second server 203 are connected through a network.

该终端201可以为手机、计算机、平板电脑等,该终端201上安装目标应用和至少一个第三方应用。该目标应用与该第一服务器202关联,由第一服务器202为该目标应用提供服务。The terminal 201 may be a mobile phone, a computer, a tablet computer, etc., and a target application and at least one third-party application are installed on the terminal 201 . The target application is associated with the first server 202, and the first server 202 provides services for the target application.

其中,该目标应用具有资源转移功能,能够将其他账户的资源账户中存储的资源转移给终端201的资源账户中,也能将终端201的资源账户中存储的资源转移给其他资源账户。Wherein, the target application has a resource transfer function, which can transfer the resources stored in the resource account of other accounts to the resource account of the terminal 201, and can also transfer the resources stored in the resource account of the terminal 201 to other resource accounts.

该第一服务器202和第二服务器203可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务器中心,本发明实施例对此不做限定。The first server 202 and the second server 203 may be one server, or a server cluster composed of several servers, or a cloud computing server center, which is not limited in this embodiment of the present invention.

其中,第一服务器202隶属于第一地理区域,第二服务器203隶属于第二地理区域,第一服务器202和第二服务器203可以进行交互,实现跨区域的资源转移。Wherein, the first server 202 belongs to the first geographical area, and the second server 203 belongs to the second geographical area, and the first server 202 and the second server 203 can interact to realize cross-area resource transfer.

在另一种可能实现方式中,图3是本发明实施例提供的一种实施环境的示意图,参见图3,该实施环境包括:终端301、第一服务器302和多个第二服务器303,终端301与第一服务器302和多个第二服务器303之间通过网络连接,第一服务器302和多个第二服务器303之间通过网络连接。In another possible implementation, FIG. 3 is a schematic diagram of an implementation environment provided by an embodiment of the present invention. Referring to FIG. 3 , the implementation environment includes: a terminal 301, a first server 302 and multiple second servers 303, the terminal 301 is connected to the first server 302 and multiple second servers 303 through a network, and the first server 302 and multiple second servers 303 are connected through a network.

其中,第一服务器302隶属于第一地理区域,多个第二服务器303隶属于除第一地理区域之外的其他地理区域,且每个第二服务器303隶属的地理区域不同。第一服务器302和多个第二服务器303均可进行交互,实现跨区域的资源转移。Wherein, the first server 302 belongs to the first geographical area, and the plurality of second servers 303 belong to other geographical areas except the first geographical area, and each second server 303 belongs to different geographical areas. The first server 302 and multiple second servers 303 can interact to realize cross-region resource transfer.

可选地,第一服务器302接收到终端301的资源转移请求时,根据终端301的用户标识,从多个第二服务器303中,确定该用户标识的资源账户隶属的第二服务器303,向该第二服务器303发送跨区域资源转移请求,为该用户标识进行跨区域的资源转移。Optionally, when the first server 302 receives the resource transfer request from the terminal 301, according to the user ID of the terminal 301, from multiple second servers 303, determine the second server 303 to which the resource account of the user ID belongs, and send the request to the The second server 303 sends a cross-region resource transfer request to perform cross-region resource transfer for the user identifier.

在另一种可能实现方式中,图4是本发明实施例提供的一种实施环境的示意图,参见图4,该实施环境包括终端401、第一服务器402、第二服务器403和第三方应用服务器404。In another possible implementation, FIG. 4 is a schematic diagram of an implementation environment provided by an embodiment of the present invention. Referring to FIG. 4, the implementation environment includes a terminal 401, a first server 402, a second server 403, and a third-party application server 404.

其中,第三方应用服务器404与第一服务器402通过网络连接,第三方应用服务器404可以是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心,本发明实施例对此不做限定。Wherein, the third-party application server 404 is connected to the first server 402 through a network, and the third-party application server 404 can be a server, or a server cluster composed of several servers, or a cloud computing service center. This is not limited.

终端401上安装有第三方应用,第三方应用服务器404为与第三方应用相关联的服务器,由第三方应用服务器404为第三方应用提供服务。A third-party application is installed on the terminal 401, the third-party application server 404 is a server associated with the third-party application, and the third-party application server 404 provides services for the third-party application.

终端401上的第三方应用可以通过第三方应用服务器404,与第一服务器402进行交互,从而从第一服务器402获取用于调用目标应用的接口标识,基于该接口标识对应的接口调用目标应用。The third-party application on the terminal 401 can interact with the first server 402 through the third-party application server 404, thereby obtaining an interface identifier for invoking the target application from the first server 402, and invoking the target application based on the interface corresponding to the interface identifier.

在另一种可能实现方式中,图5是本发明实施例提供的一种实施环境的示意图,参见图5,该实施环境包括终端501、第一服务器502、第二服务器503和跨区域监管服务器504。终端501与第一服务器502之间通过网络连接,第一服务器502与跨区域监管服务器504之间通过网络连接,跨区域监管服务器504与第二服务器503之间通过网络连接。In another possible implementation, FIG. 5 is a schematic diagram of an implementation environment provided by an embodiment of the present invention. Referring to FIG. 5, the implementation environment includes a terminal 501, a first server 502, a second server 503, and a cross-region supervision server 504. The terminal 501 is connected to the first server 502 through a network, the first server 502 is connected to the cross-region monitoring server 504 through a network, and the cross-region monitoring server 504 is connected to the second server 503 through a network.

其中,跨区域监管服务器504用于对跨区域资源转移进行监管。Wherein, the cross-region supervision server 504 is used for supervising cross-region resource transfer.

可选地,跨区域监管服务器504记录第一服务器502与第二服务器503之间的资源转移;另外跨区域监管服务器504还可以对第一服务器502与第二服务器503之间的资源转移进行验证。Optionally, the cross-region supervisory server 504 records the resource transfer between the first server 502 and the second server 503; in addition, the cross-region supervisory server 504 can also verify the resource transfer between the first server 502 and the second server 503 .

需要说明的是,上述提供的多种实施环境可以相互结合,如实施环境包括终端、第一服务器、多个第二服务器、第三方应用服务器和跨区域监管服务器,本发明实施例对具体的实施环境不做限定。It should be noted that the various implementation environments provided above can be combined with each other. For example, the implementation environment includes a terminal, a first server, multiple second servers, a third-party application server, and a cross-regional supervision server. The environment is not limited.

可选地,还提供了一种区块链系统,如图6所示。Optionally, a blockchain system is also provided, as shown in Figure 6.

该区块链系统可以由多个节点设备(接入网络中的任意形式的计算设备,如服务器、用户终端)和客户端形成。参见图6示出的区块链系统中各节点设备的功能,涉及的功能包括:The blockchain system can be formed by multiple node devices (any form of computing devices connected to the network, such as servers and user terminals) and clients. Referring to the functions of each node device in the block chain system shown in Figure 6, the functions involved include:

(1)路由,节点设备具有的基本功能,用于支持节点设备之间的通信。(1) Routing, which is a basic function of node devices and is used to support communication between node devices.

(2)应用,用于部署在区块链中,根据实际业务需求而实现特定业务,记录实现功能相关的数据形成记录数据,在记录数据中携带数字签名以表示任务数据的来源,将记录数据发送到区块链系统中的其他节点设备,供其他节点设备在验证记录数据来源以及完整性成功时,将记录数据添加到临时区块中。(2) Application, used to deploy in the blockchain, realize specific business according to actual business needs, record the data related to the realization function to form record data, carry digital signature in the record data to indicate the source of the task data, and record the data It is sent to other node devices in the blockchain system for other node devices to add the record data to the temporary block when they verify the source of the record data and the integrity is successful.

例如,应用实现的业务包括:For example, the services implemented by the application include:

2.1钱包,用于提供进行电子货币的交易的功能,包括发起交易(即,将当前交易的交易记录发送给区块链系统中的其他节点设备,其他节点设备验证成功后,作为承认交易有效的响应,将交易的记录数据存入区块链的临时区块中;当然,钱包还支持查询电子货币地址中剩余的电子货币。2.1 Wallet, which is used to provide the function of conducting electronic currency transactions, including initiating transactions (that is, sending the transaction records of the current transaction to other node devices in the blockchain system. After other node devices are successfully verified, they will be recognized as valid transactions In response, the transaction record data is stored in the temporary block of the blockchain; of course, the wallet also supports querying the remaining electronic currency in the electronic currency address.

2.2)共享账本,用于提供账目数据的存储、查询和修改等操作的功能,将对账目数据的操作的记录数据发送到区块链系统中的其他节点设备,其他节点设备验证有效后,作为承认账目数据有效的响应,将记录数据存入临时区块中,还可以向发起操作的节点设备发送确认。2.2) Shared account book, which is used to provide the functions of storage, query and modification of account data, and send the record data of the operation of account data to other node devices in the blockchain system. Acknowledge the effective response of the account data, store the record data in the temporary block, and send a confirmation to the node device that initiated the operation.

2.3)智能合约,计算机化的协议,可以执行某个合约的条款,通过部署在共享账本上的用于在满足一定条件时而执行的代码实现,根据实际的业务需求代码用于完成自动化的交易,例如查询买家所购买商品的物流状态,在买家签收货物后将买家的电子货币转移到商户的地址;当然,智能合约不仅限于执行用于交易的合约,还可以执行对接收的信息进行处理的合约。2.3) Smart contracts, computerized agreements, can execute the terms of a certain contract, implemented by code deployed on the shared ledger for execution when certain conditions are met, and codes are used to complete automated transactions according to actual business needs. For example, query the logistics status of the goods purchased by the buyer, and transfer the buyer's electronic money to the merchant's address after the buyer signs for the goods; of course, smart contracts are not limited to the execution of contracts for transactions, but can also execute the received information. Processed contracts.

3)区块链,包括一系列按照产生的先后时间顺序相互接续的区块(Block),新区块一旦加入到区块链中就不会再被移除,区块中记录了区块链系统中节点设备提交的记录数据。3) Blockchain, including a series of blocks (Block) that are successively connected to each other according to the time sequence of generation. Once a new block is added to the blockchain, it will not be removed again. The blockchain system is recorded in the block. Record data submitted by mid-node devices.

参见图7,每个区块中包括本区块存储交易记录的哈希值(本区块的哈希值)、以及前一区块的哈希值,各区块通过哈希值连接形成区块链。另外,区块中还可以包括有区块生成时的时间戳等信息。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了相关的信息,用于验证其信息的有效性(防伪)和生成下一个区块。Referring to Figure 7, each block includes the hash value of the transaction records stored in this block (the hash value of this block) and the hash value of the previous block, and each block is connected by the hash value to form a block chain. In addition, the block may also include information such as a time stamp when the block was generated. Blockchain (Blockchain), essentially a decentralized database, is a series of data blocks associated with each other using cryptographic methods. Each data block contains relevant information to verify the validity of its information. (anti-counterfeiting) and generate the next block.

本发明实施例中,第一服务器、第二服务器和跨区域监管服务器中的任一服务器均可以为区块链系统中的节点设备,能够将获取到的信息共享给区块链系统中的其他节点设备,实现多个节点设备之间的信息共享。In the embodiment of the present invention, any one of the first server, the second server, and the cross-regional supervision server can be a node device in the blockchain system, and can share the obtained information with other nodes in the blockchain system. The node device realizes information sharing between multiple node devices.

图8是本发明实施例提供的一种注册方法的流程图。本发明实施例的交互主体为图2至图5任一所示的终端、第一服务器、第二服务器和第三方应用服务器,本发明实施例对注册的过程进行说明,参见图8,该方法包括:Fig. 8 is a flowchart of a registration method provided by an embodiment of the present invention. The interaction subject of the embodiment of the present invention is the terminal, the first server, the second server and the third-party application server shown in any one of Fig. 2 to Fig. 5. The embodiment of the present invention describes the registration process, see Fig. 8, the method include:

801、终端通过第三方应用,显示资源转移确认界面。801. The terminal displays a resource transfer confirmation interface through a third-party application.

本发明实施例以第一地理区域和第二地理区域为例,对跨区域资源转移的过程进行说明。在任两个地理区域之间进行资源转移的过程与此类似,后续不再一一赘述。In the embodiment of the present invention, the process of resource transfer across regions is described by taking the first geographic region and the second geographic region as examples. The process of transferring resources between any two geographic regions is similar, and details will not be repeated hereafter.

将人们日常生活中所处的地理环境划分为多个地理区域,第一地理区域和第二地理区域可以为多个地理区域中的任两个不同的地理区域。例如,按照省份划分,第一地理区域和第二地理区域可以为不同的省份,或者按照国家划分,第一地理区域和第二地理区域可以为不同的国家。或者按照地区划分,第一地理区域和第二地理区域可以为不同的地区。The geographical environment in which people live in daily life is divided into multiple geographical areas, and the first geographical area and the second geographical area may be any two different geographical areas in the multiple geographical areas. For example, according to the division of provinces, the first geographic area and the second geographic area may be different provinces, or according to the division of countries, the first geographic area and the second geographic area may be different countries. Alternatively, according to regions, the first geographic region and the second geographic region may be different regions.

并且,地理环境中可以包括多种类型的资源,如货币、虚拟黄金、虚拟礼物、虚拟装备等。其中,第一地理区域支持第一类型资源,第二地理区域支持第二类型资源,从第二地理区域向第一地理区域进行资源转移时,需要将第二类型资源换算为相应的第一类型资源。从第一地理区域向第二地理区域进行资源转移时,需要将第一类型资源换算为相应的第二类型资源。例如,第一地理区域为国家A,所支持的第二类型资源为国家A发行的货币,第二地理区域为国家B,所支持的第一类型资源为国家B发行的货币。Moreover, the geographic environment may include various types of resources, such as currency, virtual gold, virtual gifts, virtual equipment, and the like. Among them, the first geographic area supports the first type of resources, and the second geographic area supports the second type of resources. When transferring resources from the second geographic area to the first geographic area, the second type of resources need to be converted into corresponding first type resources. resource. When transferring resources from a first geographic area to a second geographic area, it is necessary to convert the first-type resources into corresponding second-type resources. For example, if the first geographical area is country A, the supported second type resource is currency issued by country A; the second geographical area is country B, and the supported first type resource is currency issued by country B.

目标应用和第三方应用属于第一地理区域,如目标应用和第三方应用的开发者为属于第一地理区域的用户,或者目标应用和第三方应用在第一地理区域内注册等。The target application and the third-party application belong to the first geographic region, for example, the developers of the target application and the third-party application are users belonging to the first geographic region, or the target application and the third-party application are registered in the first geographic region.

其中,第三方应用为与目标应用不同的任一应用,该第三方应用可以向用户提供服务,第三方应用向用户提供的服务可以包括实体商品或者虚拟商品等。例如,该第三方应用可以是电子商务类应用,用户在第三方应用上可以购买电视、洗衣机等实体商品、充值会员、缴纳话费、预约家政服务等;该第三方应用还可以为游戏类应用,用户不仅可以在第三方应用上操作虚拟角色,还可以购买第三方应用提供的虚拟商品。本发明实施例对第三方应用不做限定。Wherein, the third-party application is any application different from the target application, and the third-party application may provide services to the user, and the services provided by the third-party application to the user may include physical commodities or virtual commodities. For example, the third-party application can be an e-commerce application, on which users can purchase physical goods such as TVs and washing machines, recharge members, pay phone bills, and make appointments for housekeeping services; the third-party application can also be a game application. Users can not only operate virtual characters on third-party applications, but also purchase virtual goods provided by third-party applications. The embodiments of the present invention do not limit third-party applications.

用户可以使用第三方应用中提供的服务,第三方应用会根据用户使用的服务生成订单信息。其中,该订单信息可由终端通过第三方应用生成,或者还可以由第三方应用服务器生成后下发给第三方应用,或者由第三方应用和第三方应用服务器通过交互生成。Users can use services provided in third-party applications, and third-party applications will generate order information based on the services used by users. Wherein, the order information may be generated by the terminal through a third-party application, or may be generated by a third-party application server and delivered to the third-party application, or may be generated through interaction between the third-party application and the third-party application server.

该订单信息中包括第一数量,第一数量为待转移的第一类型资源的数量,也即,第一数量是用户使用服务时需要支付的第一类型资源的数量。该订单信息中还包括订单标识,该订单标识为该订单信息的唯一标识,通过该订单标识能够将该订单信息与其他订单信息进行区分,该订单标识可以为订单编号等。该订单信息还可以包括接收方标识,该接收方标识用于指示为用户提供服务、需要接收用户所转出资源的用户标识,如向用户售卖衣物的商家标识等。The order information includes a first quantity, and the first quantity is the quantity of the first-type resource to be transferred, that is, the first quantity is the quantity of the first-type resource that the user needs to pay when using the service. The order information also includes an order identifier, which is a unique identifier of the order information. The order identifier can be used to distinguish the order information from other order information. The order identifier can be an order number or the like. The order information may also include a receiver ID, which is used to indicate a user ID that provides services for the user and needs to receive the resources transferred by the user, such as an ID of a merchant that sells clothes to the user.

该订单信息中还可以包括服务类型、终端登录该第三方应用的用户标识等,可选地,当该服务为实体商品时,该订单信息还可以包括实体商品的收货地址。本发明实施例对订单信息的具体内容不做限定。The order information may also include the service type, the user ID of the terminal logging into the third-party application, etc. Optionally, when the service is a physical commodity, the order information may also include the delivery address of the physical commodity. The embodiment of the present invention does not limit the specific content of the order information.

终端通过第三方应用生成订单信息后,显示资源转移确认界面,其中,资源转移确认界面用于发起对订单信息的资源转移。该资源转移确认界面中可以包括该第一数量,另外还可以包括该订单标识等订单信息。After the terminal generates the order information through the third-party application, it displays a resource transfer confirmation interface, wherein the resource transfer confirmation interface is used to initiate resource transfer of the order information. The resource transfer confirmation interface may include the first quantity, and may also include order information such as the order identifier.

如图9所示,资源转移确认界面中显示第一数量“92”,可以使用户再次确认是否进行资源转移、进行转移的资源数量是否正确。可选地,为了使用户关注第一数量,在资源转移确认界面中,第一数量的字体可以与其他信息的字体不同,如字号不同、或者颜色不同,还可以将第一数量显示在资源转移确认界面的中间区域。As shown in FIG. 9 , the first quantity "92" is displayed on the resource transfer confirmation interface, which can enable the user to reconfirm whether the resource transfer is performed and whether the resource quantity to be transferred is correct. Optionally, in order to make users pay attention to the first quantity, in the resource transfer confirmation interface, the font of the first quantity can be different from other information, such as font size or color, and the first quantity can also be displayed in the resource transfer confirmation interface. Confirm the middle area of the interface.

可选地,在本公开实施例可以提供多个具有资源转移功能的应用的情况下,每个应用具有对应的应用标识,应用标识为用于确定唯一应用的标识,如,应用名称、应用编号等,本发明实施例对应用标识不做限定。如图9所示,该资源转移确认界面中包括至少一个应用标识:“应用A”、“应用B”和“应用C”,用户可以在至少一个应用标识中选择一个应用标识作为目标应用标识,后续即可调用该目标应用标识对应的目标应用,完成资源转移。Optionally, in the case where multiple applications with the resource transfer function can be provided in the embodiment of the present disclosure, each application has a corresponding application identifier, and the application identifier is an identifier used to determine a unique application, such as an application name and an application number etc., the embodiment of the present invention does not limit the application identifier. As shown in Figure 9, the resource transfer confirmation interface includes at least one application identifier: "application A", "application B" and "application C", and the user can select an application identifier from at least one application identifier as the target application identifier, Subsequently, the target application corresponding to the target application identifier can be invoked to complete the resource transfer.

802、当基于资源转移确认界面接收到确认指令时,终端向第三方应用服务器发送目标应用的目标应用标识和订单信息。802. When receiving the confirmation instruction based on the resource transfer confirmation interface, the terminal sends the target application identifier and order information of the target application to the third-party application server.

其中,该确认指令用于表示用户确认通过目标应用对第一数量进行资源转移。当终端基于资源转移确认界面接收到确认指令时,即可发起资源转移流程。Wherein, the confirmation instruction is used to indicate that the user confirms that the resource transfer of the first amount is performed through the target application. When the terminal receives a confirmation instruction based on the resource transfer confirmation interface, it can initiate a resource transfer process.

该确认指令可以由预设操作触发,如在资源转移确认界面上的滑动操作、长按操作等,或者,该资源转移确认界面还可以包括确认按键,用户通过对该确认按键进行点击操作,来触发确认指令。The confirmation instruction can be triggered by a preset operation, such as a sliding operation or a long press operation on the resource transfer confirmation interface, or the resource transfer confirmation interface can also include a confirmation button, and the user clicks on the confirmation button to Trigger confirmation command.

终端基于资源转移确认界面接收到确认指令之后,将选择的目标应用标识和订单信息发送至第三方应用服务器,以便第三方应用服务器基于目标应用标识将订单信息发送至目标应用关联的第一服务器,由第一服务器基于订单信息进行资源转移。After receiving the confirmation instruction based on the resource transfer confirmation interface, the terminal sends the selected target application identifier and order information to the third-party application server, so that the third-party application server sends the order information to the first server associated with the target application based on the target application identifier, Resource transfer is performed by the first server based on the order information.

或者,在第三方应用服务器已经存储订单信息的情况下,所发送的订单信息为订单标识,也即是,为了使第三方应用服务器确定用户针对哪个订单信息进行资源转移,终端向第三方应用服务器发送目标应用标识和订单标识,而不再发送完整的订单信息,第三方应用服务器即可根据订单标识确定出对应的订单信息。Or, in the case that the third-party application server has stored the order information, the sent order information is an order identifier, that is, in order for the third-party application server to determine which order information the user performs resource transfer, the terminal sends the third-party application server The target application ID and the order ID are sent instead of complete order information, and the third-party application server can determine the corresponding order information according to the order ID.

803、第三方应用服务器根据目标应用标识,向第一服务器发送第三资源转移注册请求,该第三资源转移注册请求携带订单信息。803. The third-party application server sends a third resource transfer registration request to the first server according to the target application identifier, where the third resource transfer registration request carries order information.

其中,第三资源转移注册请求用于指示在第一服务器上注册该订单信息,由第一服务器存储该订单信息。第三资源转移请求中携带的订单信息可以包括订单标识、第一数量、服务类型、终端登录该第三方应用的用户标识等。Wherein, the third resource transfer registration request is used to instruct to register the order information on the first server, and the first server stores the order information. The order information carried in the third resource transfer request may include an order identifier, a first quantity, a service type, a terminal user identifier for logging into the third-party application, and the like.

第三方应用服务器与第一服务器建立有关联关系,第三方应用服务器可以与第一服务器进行交互。因此,第三方应用服务器可以直接向第一服务器发送第三资源注册请求。The third-party application server has an association relationship with the first server, and the third-party application server can interact with the first server. Therefore, the third-party application server can directly send the third resource registration request to the first server.

其中,第三方应用服务器与第一服务器建立有关联关系可以包括:第一服务器为第三方应用服务器提供一个接口,通过该接口接收第三方应用服务器发送的信息;类似地,第三方应用服务器为第一服务器提供一个接口,通过该接口接收第一服务器发送的信息。Wherein, establishing an association relationship between the third-party application server and the first server may include: the first server provides an interface for the third-party application server, through which the information sent by the third-party application server is received; A server provides an interface through which information sent by the first server is received.

可选地,第三资源转移注册请求中还包括第三方应用信息,该第三方应用信息用于表示第三方应用服务器的身份,第一服务器能够根据第三方应用信息,对第三方应用服务器的身份进行验证。该第三方应用信息可以为第三方应用的应用标识、或者授权码等,本发明实施例对第三方应用信息不做限定。Optionally, the third resource transfer registration request also includes third-party application information, the third-party application information is used to indicate the identity of the third-party application server, and the first server can determine the identity of the third-party application server according to the third-party application information authenticating. The third-party application information may be an application identifier or an authorization code of the third-party application, and the embodiment of the present invention does not limit the third-party application information.

804、第一服务器接收第三资源转移注册请求,存储该订单信息。804. The first server receives the third resource transfer registration request, and stores the order information.

其中,当第三资源转移注册请求中包括第三应用信息时,可以对第三应用信息进行验证,确定该第三应用服务器是否合法,当第三应用服务器合法时,第一服务器执行后续步骤。Wherein, when the third resource transfer registration request includes the third application information, the third application information may be verified to determine whether the third application server is legitimate, and if the third application server is legitimate, the first server performs subsequent steps.

其中,第一服务器存储订单信息时,还可以存储该订单信息的状态。在第一服务器接收到第三资源转移注册请求时,该订单信息的资源转移过程还未完成,因此,将该订单信息的状态设置为未完成状态。Wherein, when the first server stores the order information, it may also store the state of the order information. When the first server receives the third resource transfer registration request, the resource transfer process of the order information has not been completed, so the state of the order information is set as an incomplete state.

805、第一服务器向第三方应用服务器发送用于调用目标应用的接口标识,由第三方应用服务器将接口标识转发至终端。805. The first server sends the interface identifier for invoking the target application to the third-party application server, and the third-party application server forwards the interface identifier to the terminal.

其中,接口标识用于指示调用目标应用的接口,可以为接口的名称或者接口的地址等。第一服务器存储该接口标识,当成功存储该订单信息后,即可将该接口标识发送至第三方应用服务器。第三方应用服务器接收到该接口标识时,转发给终端。Wherein, the interface identifier is used to indicate the interface of the calling target application, which may be the name of the interface or the address of the interface. The first server stores the interface identifier, and after successfully storing the order information, the interface identifier can be sent to the third-party application server. When the third-party application server receives the interface identifier, it forwards it to the terminal.

可选地,该订单信息中包括终端登录第三方应用的用户标识,第一服务器将该接口标识和该用户标识发送至第三方应用服务器。第三方应用服务器接收到该接口标识和该用户标识时,将该接口标识转发给该用户标识对应的终端。Optionally, the order information includes the user ID of the terminal logging into the third-party application, and the first server sends the interface ID and the user ID to the third-party application server. When the third-party application server receives the interface identifier and the user identifier, it forwards the interface identifier to the terminal corresponding to the user identifier.

806、当终端接收到接口标识时,基于该接口标识对应的接口调用目标应用。806. When the terminal receives the interface identifier, invoke the target application based on the interface corresponding to the interface identifier.

终端上安装有多个应用,因此,终端上包括多个接口,不同接口调用的应用不同。由于接口标识用于指示调用目标应用的接口,因此,终端基于接口标识,确定该接口标识对应的接口,通过该接口即可调用目标应用。Multiple applications are installed on the terminal. Therefore, the terminal includes multiple interfaces, and different applications are invoked by different interfaces. Since the interface identifier is used to indicate the interface for invoking the target application, the terminal determines the interface corresponding to the interface identifier based on the interface identifier, through which the target application can be invoked.

需要说明的是,本发明实施例仅是以第一服务器通过第三方应用服务器向终端发送接口标识,基于接口标识调用目标应用为例进行说明。在另一些实施例中,还可以采用其他方式来调用目标应用,只需保证终端通过第三方应用调用目标应用即可,本发明实施例对具体的调用方式不做限定。It should be noted that this embodiment of the present invention is only described by taking the first server sending an interface identifier to the terminal through a third-party application server, and invoking a target application based on the interface identifier as an example. In some other embodiments, other methods may be used to call the target application. It is only necessary to ensure that the terminal calls the target application through a third-party application. The embodiment of the present invention does not limit the specific calling method.

807、终端通过目标应用,向目标应用关联的第一服务器发送第一资源转移注册请求,第一资源转移注册请求携带终端登录目标应用的用户标识和订单信息。807. The terminal sends a first resource transfer registration request to the first server associated with the target application through the target application, where the first resource transfer registration request carries the user ID and order information for the terminal to log in to the target application.

第一服务器在接收到第三方应用服务器发送的资源转移注册请求之后,已经获取到了订单信息,但是并未获取到终端登录目标应用的用户标识,因此,第一服务器无法确定是哪个用户需要基于该订单信息进行资源转移,还需要终端向第一服务器发送用户标识。After receiving the resource transfer registration request sent by the third-party application server, the first server has obtained the order information, but has not obtained the user ID of the terminal logging in to the target application. Therefore, the first server cannot determine which user needs to For resource transfer of order information, the terminal also needs to send the user identification to the first server.

而终端在调用到目标应用之后,可以通过该目标应用直接与第一服务器进行交互。终端通过目标应用向第一服务器发送第一资源转移注册请求,第一资源转移注册请求携带终端登录目标应用的用户标识和订单信息。After invoking the target application, the terminal can directly interact with the first server through the target application. The terminal sends a first resource transfer registration request to the first server through the target application, where the first resource transfer registration request carries the user identifier and order information for the terminal to log into the target application.

可选地,该订单信息为订单标识。即由于第一服务器中已经存储了订单信息,为了避免重复发送,终端只需向第一服务器发送订单标识,第一服务器基于订单标识即可确定相应的订单信息。Optionally, the order information is an order identifier. That is, since the order information has been stored in the first server, in order to avoid repeated sending, the terminal only needs to send the order identifier to the first server, and the first server can determine the corresponding order information based on the order identifier.

808、第一服务器接收第一资源转移注册请求,确定第一资源转移注册请求中用户标识的资源账户,向用户标识的资源账户所属的第二服务器发送第二资源转移注册请求,该第二资源转移注册请求携带用户标识和订单信息。808. The first server receives the first resource transfer registration request, determines the resource account identified by the user in the first resource transfer registration request, and sends a second resource transfer registration request to the second server to which the resource account identified by the user belongs. The transfer registration request carries the user ID and order information.

第一服务器中存储有用户标识与资源账户的对应关系,当第一服务器接收到用户标识之后,可以基于用户标识确定对应的资源账户。The first server stores the corresponding relationship between the user ID and the resource account. After receiving the user ID, the first server can determine the corresponding resource account based on the user ID.

当一个用户标识对应多个资源账户时,可以按照多个资源账户的优先级选择优先级最高的资源账户;或者,第一服务器维护该多个资源账户当前的状态,该状态包括使用状态和未使用状态,该多个资源账户中包括一个处于使用状态的资源账户,因此,可以将处于使用状态的资源账户作为用户标识的资源账户;或者,多个资源账户中存在默认使用的资源账户,可以将默认使用的资源账户作为用户标识的资源账户。本发明实施例对获取用户标识的资源账户的方式不做限定。When a user ID corresponds to multiple resource accounts, the resource account with the highest priority can be selected according to the priorities of the multiple resource accounts; or, the first server maintains the current status of the multiple resource accounts, which includes the used status and unused status. In use state, the multiple resource accounts include a resource account in use state, therefore, the resource account in use state can be used as the resource account identified by the user; or, there is a resource account used by default among the multiple resource accounts, which can be Use the resource account that is used by default as the resource account for the user ID. The embodiment of the present invention does not limit the manner of obtaining the resource account identified by the user.

或者,用户标识对应多个资源账户时,第一服务器可以为目标应用提供多个资源账户的标识,展示给用户,供用户选择,从而获取到用户选择的资源账户。例如,目标应用显示资源账户确认界面,该资源账户确认界面中包括多种资源转移方式:通过账户1支付、通过账户2支付等,用户可以从中选取希望使用的资源账户来进行资源转移。Alternatively, when the user identifier corresponds to multiple resource accounts, the first server may provide the target application with identifiers of multiple resource accounts, display them to the user, and allow the user to select, thereby obtaining the resource account selected by the user. For example, the target application displays a resource account confirmation interface. The resource account confirmation interface includes multiple resource transfer methods: payment through account 1, payment through account 2, etc., from which the user can select the desired resource account for resource transfer.

其中,用户标识的资源账户中储存资源,该资源账户可以为网上银行账户、电子支付应用创建的电子钱包账户等。资源账户具有所属的地理区域,对于同一个用户标识来说,该用户标识可以具有属于同一地理区域的多个资源账户,或者具有属于不同地理区域的多个资源账户。Wherein, resources are stored in the resource account identified by the user, and the resource account may be an online bank account, an electronic wallet account created by an electronic payment application, and the like. A resource account has a geographical area to which it belongs. For the same user ID, the user ID may have multiple resource accounts belonging to the same geographical area, or multiple resource accounts belonging to different geographical areas.

可选地,为每个地理区域分配不同的字段,资源账户的标识中包括用于表示资源账户所属地理区域的第一字段,第一服务器中存储有第一字段与第二服务器之间的对应关系,则第一服务器根据资源账户的标识中的第一字段来确定该资源账户所属的第二服务器。或者,第一服务器也可以采用其他方式确定该资源账户所属的第二服务器。Optionally, different fields are assigned to each geographical area, the identifier of the resource account includes a first field used to indicate the geographical area to which the resource account belongs, and the correspondence between the first field and the second server is stored in the first server relationship, the first server determines the second server to which the resource account belongs according to the first field in the identifier of the resource account. Alternatively, the first server may also use other methods to determine the second server to which the resource account belongs.

当第一服务器确定资源账户所属的第二服务器之后,会向第二服务器发送第二资源转移注册请求,该第二资源转移注册请求中携带用户标识和订单信息,该订单信息可以包括订单标识,还可以包括其他订单信息。After the first server determines the second server to which the resource account belongs, it will send a second resource transfer registration request to the second server. The second resource transfer registration request carries a user identifier and order information, and the order information may include an order identifier. Additional order information can also be included.

可选地,如图10所示,第一服务器和第二服务器通过跨区域监管服务器连接,跨区域监管服务器用于监管跨区域的资源转移。通过跨区域监管服务器能够获取到第一服务器和第二服务器之间的跨区域资源转移记录,进而确定第一服务器和第二服务器之间的跨区域资源转移是否合法,符合跨区域资源转移的监管要求。Optionally, as shown in FIG. 10 , the first server and the second server are connected through a cross-region supervisory server, and the cross-region supervisory server is used to supervise cross-region resource transfer. The cross-regional supervision server can obtain the cross-regional resource transfer records between the first server and the second server, and then determine whether the cross-regional resource transfer between the first server and the second server is legal, and conforms to the supervision of cross-regional resource transfer Require.

第一服务器向跨区域监管服务器发送第二资源转移注册请求,以注册订单信息,跨区域监管服务器存储第二资源转移注册请求中的订单信息,并且将该订单信息的状态设置为未完成状态。之后,将第二资源转移注册请求转发给第二服务器。The first server sends a second resource transfer registration request to the cross-region supervisory server to register order information, and the cross-region supervisory server stores the order information in the second resource transfer registration request and sets the status of the order information as incomplete. Afterwards, the second resource transfer registration request is forwarded to the second server.

另外,为了确保跨区域监管服务器会将第二资源转移请求发送给第二服务器,第二资源转移注册请求中还可以包括第二服务器的标识信息;或者,第一服务器向跨区域监管服务器发送第二服务器的标识信息和第二资源转移请求,该标识信息可以为第二服务器的地址或设备编号等。In addition, in order to ensure that the cross-region supervision server will send the second resource transfer request to the second server, the second resource transfer registration request may also include the identification information of the second server; or, the first server sends the second resource transfer request to the cross-region supervision server. The identification information of the second server and the second resource transfer request, where the identification information may be the address or device number of the second server.

可选地,跨区域监管服务器还可以具备验证功能。可选地,第一服务器向跨区域监管服务器发送第二资源转移注册请求后,由跨区域监管服务器对第二资源转移注册请求中的订单信息验证通过后,将第二资源转移注册请求转发给第二服务器。Optionally, the cross-region supervisory server may also have a verification function. Optionally, after the first server sends the second resource transfer registration request to the cross-region supervisory server, the cross-region supervisory server forwards the second resource transfer registration request to the Second server.

其中,跨区域监管服务器对订单信息进行验证的过程可以包括下述至少一种方式:Wherein, the process of verifying the order information by the cross-regional supervisory server may include at least one of the following methods:

(1)订单信息中的第一数量是否小于目标数量阈值。(1) Whether the first quantity in the order information is less than the target quantity threshold.

由于第一数量为待转移的第一类型资源的数量,当第一数量过大时,可能是生成的订单信息错误,也可能是在订单信息的传输过程中发生错误,还有可能是用户进行违规操作,如洗钱等。为了避免造成用户的损失,也为了保证跨区域资源转移的合法,跨区域监管服务器可以对第一数量的大小进行验证,当第一数量小于目标数量阈值时,确定该订单信息验证通过;当第一数量不小于目标数量阈值时,确定该订单验证未通过。Since the first quantity is the quantity of the first type of resources to be transferred, when the first quantity is too large, it may be that the generated order information is wrong, or an error occurs during the transmission of the order information, or the user may Illegal operations, such as money laundering, etc. In order to avoid losses to users and ensure the legality of cross-regional resource transfers, the cross-regional supervision server can verify the size of the first quantity. When the first quantity is less than the target quantity threshold, it is determined that the verification of the order information is passed; When the quantity is not less than the target quantity threshold, it is determined that the order verification fails.

(2)订单信息中用户使用的服务与第一数量是否匹配。(2) Whether the service used by the user in the order information matches the first quantity.

用户使用服务后,需要转出第一数量的第一类型资源。如果用户进行洗钱等操作,第一数量会远大于用户使用的服务的价值。因此,跨区域监管服务器在获取到订单信息后,可以基于订单信息中用户使用的服务类型,查询该服务类型对应的第一类型资源的数量区间,当第一数量属于该数量区间时,确定该订单信息验证通过;当第一数量大于数量区间中的最大值时,确定该订单信息验证未通过。After using the service, the user needs to transfer out the first quantity of the first type of resource. If the user performs operations such as money laundering, the first amount will be much greater than the value of the service used by the user. Therefore, after obtaining the order information, the cross-region monitoring server can query the quantity interval of the first type of resources corresponding to the service type based on the service type used by the user in the order information, and determine the quantity interval when the first quantity belongs to the quantity interval. The verification of the order information is passed; when the first quantity is greater than the maximum value in the quantity interval, it is determined that the verification of the order information fails.

例如,跨区域监管服务器根据订单信息,确定用户购买了A品牌X型号的手机。跨区域监管服务器可以在多个电子商务类应用上,查询该手机的价格区间,确定该手机的价格区间为3599-4299。当订单信息中需要支付的金额为3999时,跨区域监管服务器确定订单信息中需要支付的金额属于该价格区间,该订单信息验证通过;当订单信息中需要支付的金额为12999时,跨区域监管服务器确定订单信息中需要支付的金额大于价格区间的最大值,该订单信息验证未通过。For example, the cross-regional supervision server determines that the user has purchased a mobile phone of brand A and model X according to the order information. The cross-regional supervision server can query the price range of the mobile phone on multiple e-commerce applications, and determine that the price range of the mobile phone is 3599-4299. When the amount to be paid in the order information is 3999, the cross-region supervision server determines that the amount to be paid in the order information belongs to the price range, and the order information is verified; when the amount to be paid in the order information is 12999, the cross-region supervision The server determines that the amount to be paid in the order information is greater than the maximum value of the price range, and the verification of the order information fails.

(3)预设时长内用户使用服务的次数超过目标次数阈值。(3) The number of times the user uses the service within a preset period of time exceeds the target number of times threshold.

当某个用户在一段时间内,频繁使用某种服务时,该用户存在洗钱等违规操作的嫌疑。其中,资源转移注册请求中携带用户标识,跨区域监管服务器可以根据预设时长内,接收到用户标识对应的资源转移注册请求的次数,来确定预设时长内用户使用服务的次数。其中,预设时长可以是1小时、1天、2天等任一时长。When a user frequently uses a certain service within a period of time, the user is suspected of illegal operations such as money laundering. Wherein, the resource transfer registration request carries the user identifier, and the cross-region monitoring server can determine the number of times the user uses the service within the preset duration according to the number of times the resource transfer registration request corresponding to the user identifier is received within the preset duration. Wherein, the preset duration may be any duration such as 1 hour, 1 day, or 2 days.

当跨区域监管服务器确定预设时长内,某一用户使用服务的次数未超过目标次数阈值时,则该用户标识对应的订单信息验证通过;某一用户使用服务的次数超过目标次数阈值时,则该用户标识对应的订单信息验证未通过。When the cross-regional supervision server determines that within the preset time period, the number of times a user uses the service does not exceed the target number threshold, the order information corresponding to the user ID is verified; when the number of times a user uses the service exceeds the target number threshold, then The verification of the order information corresponding to the user ID failed.

(4)订单信息中用户使用的服务是否属于违规服务。(4) Whether the service used by the user in the order information is an illegal service.

当用户使用的服务为实体商品,且该实体商品需要从一个地理区域邮寄到另一个地理区域时,则跨区域监管服务器需要验证该实体商品是否满足跨区域邮寄要求。当该实体商品不满足跨区域邮寄要求时,则跨区域监管服务器确定用户使用的服务属于违规服务,该订单信息验证未通过;当该实体商品满足跨区域邮寄要求时,则跨区域监管服务器确定用户使用的服务不属于违规服务,该订单信息验证通过。When the service used by the user is a physical commodity, and the physical commodity needs to be mailed from one geographic region to another, the cross-region supervision server needs to verify whether the physical commodity meets the requirements for cross-regional mailing. When the physical product does not meet the cross-regional mailing requirements, the cross-regional supervision server determines that the service used by the user is an illegal service, and the order information verification fails; when the physical product meets the cross-regional mailing requirements, the cross-regional supervision server determines that The service used by the user does not belong to the illegal service, and the order information verification is passed.

另外,需要说明的是,本发明实施例仅是对跨区域监管服务器进行监管的过程进行示例性说明而已,可选地,跨区域监管服务器还可以基于预设时长内用户需转出的资源的总数量是否超过目标阈值等监管条件对跨区域资源转移过程进行监管,本发明实施例对监管条件不做限定。In addition, it should be noted that the embodiment of the present invention is only an exemplary description of the process of supervising the cross-regional supervision server. Supervision conditions such as whether the total quantity exceeds the target threshold are used to supervise the cross-region resource transfer process, and the embodiment of the present invention does not limit the supervision conditions.

另外,当跨区域监管服务器对订单信息验证未通过时,跨区域监管服务器不向第二服务器转发该第二资源转移注册请求,并且向第一服务器发送订单信息验证未通过的消息。In addition, when the cross-region management server fails to verify the order information, the cross-region management server does not forward the second resource transfer registration request to the second server, and sends a message that the order information verification fails to the first server.

为了更准确地对第一服务器和第二服务器之间的跨区域资源转移进行监管,当跨区域监管服务器在确定订单信息验证未通过后,可以将该订单信息发送给监管人员,由监管人员对该订单信息进行审核。In order to supervise the cross-region resource transfer between the first server and the second server more accurately, when the cross-region supervision server determines that the order information has not passed the verification, it can send the order information to the supervisor, and the supervisor will check the The order information is reviewed.

可选地,如图11所示,第一服务器包括前端服务器和资源管理服务器。其中,前端服务器与第三方应用服务器通过网络连接,前端服务器与资源管理服务器通过网络连接,资源管理服务器与第二服务器通过网络连接。前端服务器用于与第三方应用服务器进行交互,资源管理服务器用于进行本地所属区域的资源转移。前端服务器接收第一资源转移注册请求,确定第一资源转移注册请求中用户标识的资源账户,当该资源账户隶属于第二地理区域时,向第二服务器发送第二资源转移注册请求;当该资源账户隶属于第一地理区域时,向该资源管理服务器发送第二资源转移注册请求。Optionally, as shown in FIG. 11 , the first server includes a front-end server and a resource management server. Wherein, the front-end server is connected to the third-party application server through the network, the front-end server is connected to the resource management server through the network, and the resource management server is connected to the second server through the network. The front-end server is used to interact with the third-party application server, and the resource management server is used to transfer the resources of the local area. The front-end server receives the first resource transfer registration request, determines the resource account identified by the user in the first resource transfer registration request, and sends a second resource transfer registration request to the second server when the resource account belongs to the second geographical area; When the resource account belongs to the first geographic region, a second resource transfer registration request is sent to the resource management server.

可选地,如图12所示,第一服务器包括前端服务器和资源管理服务器,其中,资源管理服务器与跨区域监管服务器通过网络连接。前端服务器接收第一资源转移注册请求,确定第一资源转移注册请求中用户标识的资源账户,当该资源账户隶属于第二地理区域时,向资源管理服务器发送第二资源转移注册请求,该第二资源转移注册请求中携带第二服务器的标识信息;资源管理服务器接收第二资源转移注册请求,将该第二资源转移注册请求发送至跨区域监管服务器中,由跨区域监管服务器将第二资源转移注册请求发送至第二服务器。Optionally, as shown in FIG. 12 , the first server includes a front-end server and a resource management server, wherein the resource management server is connected to the cross-region supervision server through a network. The front-end server receives the first resource transfer registration request, determines the resource account identified by the user in the first resource transfer registration request, and sends a second resource transfer registration request to the resource management server when the resource account belongs to the second geographical area. Second, the resource transfer registration request carries the identification information of the second server; the resource management server receives the second resource transfer registration request, sends the second resource transfer registration request to the cross-regional supervision server, and the cross-regional supervision server transfers the second resource A transfer registration request is sent to the second server.

可选地,跨区域监管服务器为区块链系统中的节点设备,第一服务器向跨区域监管服务器发送第二资源转移注册请求,由跨区域监管服务器接收到第二资源转移注册请求时,对订单信息验证通过后,将第二资源转移注册请求存储至区块链系统中,再将第二资源转移注册请求转发给第二服务器。Optionally, the cross-region supervisory server is a node device in the blockchain system, the first server sends a second resource transfer registration request to the cross-region supervisory server, and when the cross-region supervisory server receives the second resource transfer registration request, it After the order information is verified, the second resource transfer registration request is stored in the blockchain system, and then the second resource transfer registration request is forwarded to the second server.

其中,跨区域监管服务器对订单信息进行验证的过程可以包括:跨区域监管服务器接收到该第二资源转移注册请求时,获取该订单信息,生成包含该订单信息的区块,此时将该区块广播至该区块链系统中的其他节点设备,由区块链系统中的每个节点设备对该区块进行共识,也即是由每个节点设备分别对该区块中的订单信息进行验证。当该区块通过共识后,即可将该区块存储至区块链系统中,也即是添加至该区块链系统的每个节点设备的区块链中。Wherein, the process of verifying the order information by the cross-region supervisory server may include: when the cross-region supervisory server receives the second resource transfer registration request, obtains the order information, generates a block containing the order information, and at this time The block is broadcast to other node devices in the blockchain system, and each node device in the blockchain system agrees on the block, that is, each node device separately conducts a consensus on the order information in the block. verify. After the block has passed the consensus, the block can be stored in the blockchain system, that is, added to the blockchain of each node device of the blockchain system.

其中,若第一服务器和第二服务器为区块链系统中的其他节点设备,则第一服务器和第二服务器也会参与到上述共识过程中,对订单信息进行验证。Wherein, if the first server and the second server are other node devices in the blockchain system, the first server and the second server will also participate in the above consensus process to verify the order information.

需要说明的是,第一服务器、第二服务器和跨区域监管服务器中的任一服务器均可以为区块链系统中的节点设备,当作为节点设备的任一服务器接收到资源转移注册请求时,均可以对订单信息进行验证,本发明实施例仅是以跨区域监管服务器的验证过程为例,其他服务器的验证过程与此类似。It should be noted that any one of the first server, the second server, and the cross-region supervisory server can be a node device in the blockchain system. When any server as a node device receives a resource transfer registration request, Both can verify the order information. The embodiment of the present invention only takes the verification process of the cross-region supervision server as an example, and the verification process of other servers is similar.

809、第二服务器接收第二资源转移注册请求,存储第二资源转移注册请求中的订单信息,根据该订单信息生成资源转移入口。809. The second server receives the second resource transfer registration request, stores the order information in the second resource transfer registration request, and generates a resource transfer entry according to the order information.

其中,第二资源转移注册请求中携带的订单信息包括第一数量以及接收方用户标识,还可以包括用户使用的服务类型、用户使用服务的时间等。第二服务器在接收到第二资源转移注册请求后,会存储该第二资源转移注册请求中的订单信息,并且将该订单信息的状态设置为未完成状态。Wherein, the order information carried in the second resource transfer registration request includes the first quantity and the recipient user ID, and may also include the type of service used by the user, the time when the user uses the service, and the like. After receiving the second resource transfer registration request, the second server stores the order information in the second resource transfer registration request, and sets the status of the order information as an incomplete status.

需要说明的是,当第一服务器包括前端服务器和资源管理服务器时,或者,第一服务器通过跨区域监管服务器与第二服务器连接时,接收到第二资源转移注册请求的服务器均可以存储第二资源转移注册请求中的订单信息,并且将该订单信息的状态设置为未完成状态。It should be noted that when the first server includes a front-end server and a resource management server, or when the first server is connected to the second server through a cross-region supervisory server, the server that receives the second resource transfer registration request can store the second The resource transfers the order information in the registration request, and sets the status of the order information to incomplete.

第二服务器在存储订单信息之后,还可以根据该订单信息生成资源转移入口,通过第二服务器,转发给终端。该资源转移入口用于连接终端与第二服务器,为终端与第二服务器提供交互渠道。其中,该资源转移入口可以是界面链接、资源转移按键等,本发明实施例对资源转移入口不做限定。After the second server stores the order information, it can also generate a resource transfer entry according to the order information, and forward it to the terminal through the second server. The resource transfer entry is used to connect the terminal and the second server, and provide an interaction channel for the terminal and the second server. Wherein, the resource transfer entry may be an interface link, a resource transfer button, etc., and the embodiment of the present invention does not limit the resource transfer entry.

可选地,第二服务器根据订单信息生成资源转移界面,该资源转移界面包括第二数量,获取该资源转移界面的界面链接,作为资源转移入口。以便终端基于该界面链接访问该资源转移界面,与第二服务器进行交互。Optionally, the second server generates a resource transfer interface according to the order information, the resource transfer interface includes the second quantity, and acquires an interface link of the resource transfer interface as a resource transfer entry. So that the terminal accesses the resource transfer interface based on the interface link, and interacts with the second server.

可选地,第二服务器根据订单信息生成资源转移界面的过程可以包括:获取第一类型资源与第二类型资源之间的换算比例;根据换算比例,获取与第一数量的第一类型资源等值的第二类型资源的数量,作为第二数量。Optionally, the process for the second server to generate the resource transfer interface according to the order information may include: obtaining a conversion ratio between the first type resource and the second type resource; according to the conversion ratio, obtaining the first amount of the first type resource, etc. The number of resources of the second type of value, as the second quantity.

其中,换算比例由该第二服务器发布,第二服务器可以发布第二类型资源与其他任一种类型资源当前的换算比例,该换算比例是指两种类型的单位资源的价值之间的比例,根据该换算比例可以将一定数量的其他类型资源等价值的换算为另一数量的另一类型资源。例如,按照汇率可以将国家A的货币兑换为等价值的国家B的货币。该换算比例随着实际生活中的多种因素而发生变化,如该换算比例短期固定,或者该换算比例实时浮动,具体的换算比例可以由该第二服务器综合多种因素后不定时发布。Wherein, the conversion ratio is published by the second server, and the second server may publish the current conversion ratio between the second type of resource and any other type of resource, and the conversion ratio refers to the ratio between the values of the two types of unit resources, According to the conversion ratio, a certain amount of other types of resources can be equivalently converted into another amount of another type of resources. For example, the currency of country A can be exchanged for an equivalent value of currency of country B according to the exchange rate. The conversion ratio changes with various factors in real life. For example, the conversion ratio is fixed for a short period of time, or the conversion ratio fluctuates in real time. The specific conversion ratio can be released from time to time by the second server after integrating various factors.

例如,根据换算比例,获取与第一数量的第一类型资源等值的第二类型资源的数量,作为第二数量,可以包括:获取第一数量与换算比例的商,将得到的数值作为第二数量。For example, according to the conversion ratio, obtaining the quantity of the second type resource equivalent to the first quantity of the first type resource as the second quantity may include: obtaining the quotient of the first quantity and the conversion ratio, and using the obtained value as the second quantity Two quantities.

可选地,该界面链接中包括第二服务器的标识信息,终端可以基于该标识信息访问该第二服务器。该界面链接中还可以包括订单标识,当终端基于界面链接访问第二服务器时,第二服务器可以根据界面链接中的订单标识,获取相应的订单信息,以生成该订单信息的资源转移界面。Optionally, the interface link includes identification information of the second server, and the terminal can access the second server based on the identification information. The interface link may also include an order identifier. When the terminal accesses the second server based on the interface link, the second server may obtain corresponding order information according to the order identifier in the interface link, so as to generate a resource transfer interface for the order information.

或者,该界面链接中包括第二服务器的标识信息和第二服务器已生成的资源转移界面的存储地址,终端可以基于该标识信息访问该资源转移界面。Alternatively, the interface link includes the identification information of the second server and the storage address of the resource transfer interface generated by the second server, and the terminal can access the resource transfer interface based on the identification information.

810、第二服务器向第一服务器发送该资源转移入口。810. The second server sends the resource transfer entry to the first server.

当第二服务器与第一服务器通过网络连接时,可以直接向第一服务器发送该资源转移入口。When the second server is connected to the first server through a network, the resource transfer entry may be directly sent to the first server.

可选地,如图10所示,第二服务器向跨区域监管服务器发送该资源转移入口,由跨区域监管服务器向第一服务器发送该资源转移入口。Optionally, as shown in FIG. 10 , the second server sends the resource transfer entry to the cross-region management server, and the cross-region management server sends the resource transfer entry to the first server.

可选地,如图11所示,当第一服务器包括前端服务器时,第二服务器可以向前端服务器发送该资源转移入口。Optionally, as shown in FIG. 11 , when the first server includes a front-end server, the second server may send the resource transfer entry to the front-end server.

可选地,如图12所示,第二服务器向跨区域监管服务器发送资源转移入口,由跨区域监管服务器向资源管理服务器发送该资源转移入口,资源管理服务器接收到该资源转移入口后,向前端服务器发送该资源转移入口。Optionally, as shown in Figure 12, the second server sends the resource transfer entry to the cross-region supervision server, and the cross-region supervision server sends the resource transfer entry to the resource management server, and the resource management server sends the resource transfer entry to the resource management server after receiving the resource transfer entry. The front-end server sends the resource transfer entry.

另外,第二服务器向第一服务器发送资源转移入口时,还可以将注册完成通知发送给第一服务器。且参与发送资源转移入口的每个服务器在发送该资源转移入口时,均可以携带注册完成通知,以指示该服务器确认存储订单信息成功。In addition, when the second server sends the resource transfer entry to the first server, it may also send a registration completion notification to the first server. And each server participating in sending the resource transfer entry may carry a registration completion notification when sending the resource transfer entry, to instruct the server to confirm the success of storing the order information.

811、第一服务器接收到该资源转移入口时,将该资源转移入口转发至终端。811. When receiving the resource transfer entry, the first server forwards the resource transfer entry to the terminal.

可选地,第二服务器通过跨区域监管服务器将资源转移入口转发至第一服务器,由第一服务器将该资源转移入口转发至终端。Optionally, the second server forwards the resource transfer entry to the first server through the cross-region supervisory server, and the first server forwards the resource transfer entry to the terminal.

可选地,当第一服务器包括前端服务器和资源管理服务器时,第二服务器将资源转移入口转发至资源管理服务器,由资源管理服务器通过前端服务器将资源转移入口转发至终端。Optionally, when the first server includes a front-end server and a resource management server, the second server forwards the resource transfer entry to the resource management server, and the resource management server forwards the resource transfer entry to the terminal through the front-end server.

可选地,第二服务器将资源转移入口发送至跨区域监管服务器,由跨区域监管服务器将资源转移入口转发至资源管理服务器,由资源管理服务器通过前端服务器将资源转移入口转发至终端。Optionally, the second server sends the resource transfer entry to the cross-region supervision server, and the cross-region supervision server forwards the resource transfer entry to the resource management server, and the resource management server forwards the resource transfer entry to the terminal through the front-end server.

可选地,如图13所示,第二服务器包括支付模块和订单模块,支付模块接收第二资源转移注册请求,并将第二资源转移注册请求转发至订单模块,由订单模块存储第二资源转移注册请求中的订单信息,并且,将该订单信息的状态配置为未完成状态。订单模块在存储订单信息之后,可以向支付模块发动下单完成通知,当支付模块接收到下单完成通知时,基于订单信息生成资源转移入口,将该资源转移入口发送至第一服务器。Optionally, as shown in Figure 13, the second server includes a payment module and an order module, the payment module receives the second resource transfer registration request, and forwards the second resource transfer registration request to the order module, and the order module stores the second resource Transfer the order information in the registration request, and configure the status of the order information as incomplete. After the order module stores the order information, it can send an order completion notification to the payment module. When the payment module receives the order completion notification, it generates a resource transfer entry based on the order information, and sends the resource transfer entry to the first server.

本发明实施例提供的注册方法中,第一服务器与第二服务器通过网络连接,第一服务器与第一地理区域的第三方应用服务器通过网络连接。第二服务器通过第一服务器接收第三方应用服务器的订单信息,实现了订单信息的注册,后续即可基于该订单信息生成资源转移入口,从而基于该资源转移入口进行跨区域资源转移。本发明实施例提供了一种适用于一个或多个第三方应用的跨区域资源转移方案,更具有普适性,无需每个服务提供者均部署相应的应用服务器来与第二服务器进行交互,无需对第三方应用服务器进行改进,节约了成本,降低了对服务提供者的要求。即使是未配置应用服务器的服务提供者也可以实现跨区域的资源转移,扩展了应用范围。In the registration method provided by the embodiment of the present invention, the first server is connected to the second server through the network, and the first server is connected to the third-party application server in the first geographical area through the network. The second server receives the order information from the third-party application server through the first server, realizes the registration of the order information, and then generates a resource transfer entry based on the order information, so as to perform cross-regional resource transfer based on the resource transfer entry. The embodiment of the present invention provides a cross-regional resource transfer solution suitable for one or more third-party applications, which is more universal and does not require each service provider to deploy a corresponding application server to interact with the second server. There is no need to improve the third-party application server, which saves costs and reduces the requirements for service providers. Even a service provider without an application server can realize cross-regional resource transfer, expanding the scope of application.

并且,第一服务器和第二服务器之间还可以通过跨区域监管服务器连接,该跨区域监管服务器可以获取第一服务器和第二服务器之间的跨区域资源转移记录,进而确定第一服务器和第二服务器之间的跨区域资源转移是否合法,符合跨区域资源转移的监管要求。并且,跨区域监管服务器还可以对订单信息进行验证,当订单信息验证通过后,才由第二服务器进行跨区域资源转移,提高了安全性。In addition, the first server and the second server can also be connected through a cross-region supervisory server, and the cross-region supervisory server can obtain cross-region resource transfer records between the first server and the second server, and then determine the first server and the second server. Whether the cross-regional resource transfer between the two servers is legal and meets the regulatory requirements for cross-regional resource transfer. In addition, the cross-region supervisory server can also verify the order information, and only after the order information is verified, the second server can perform cross-region resource transfer, thereby improving security.

并且,每个服务器中都存储有订单信息,可以根据任一个服务器中的订单信息进行验证,确定该跨区域资源转移是否合法;或者,可以根据多个服务器中的订单信息进行验证,确定该资源转移是否合法,提高了安全性。In addition, order information is stored in each server, which can be verified according to the order information in any server to determine whether the cross-regional resource transfer is legal; or can be verified according to the order information in multiple servers to determine whether the resource transfer is legal. Whether the transfer is legal, improves security.

图14是本发明实施例提供的一种跨区域资源转移方法的流程图。本发明实施例的交互主体为图2至图5任一所示的终端和第二服务器,对跨区域资源转移的过程进行说明,参见图14,该方法包括:Fig. 14 is a flowchart of a cross-region resource transfer method provided by an embodiment of the present invention. The interaction subject of the embodiment of the present invention is the terminal and the second server shown in any one of Fig. 2 to Fig. 5, and the process of cross-regional resource transfer is described, referring to Fig. 14, the method includes:

1401、终端接收第二服务器通过第一服务器转发的资源转移界面的界面链接。1401. The terminal receives the interface link of the resource transfer interface forwarded by the second server through the first server.

1402、终端基于资源转移界面的界面链接,向第二服务器发送访问请求。1402. The terminal sends an access request to the second server based on the interface link of the resource transfer interface.

本发明实施例以第二服务器生成的资源转移入口为资源转移界面的界面链接为例,终端接收到该界面链接后,能够基于该界面链接触发访问请求,该访问请求携带该界面链接,用于访问第二服务器生成的资源转移界面,实现了目标应用从第一服务器到第二服务器的跳转,由第二服务器来完成资源转移。In the embodiment of the present invention, the resource transfer entry generated by the second server is taken as an example of an interface link of the resource transfer interface. After receiving the interface link, the terminal can trigger an access request based on the interface link. The access request carries the interface link for Accessing the resource transfer interface generated by the second server realizes the jump of the target application from the first server to the second server, and the resource transfer is completed by the second server.

1403、当第二服务器接收到访问请求时,获取第一类型资源与第二类型资源之间的换算比例,根据换算比例,获取与第一数量的第一类型资源等值的第二类型资源的数量,作为第二数量。1403. When the second server receives the access request, obtain the conversion ratio between the first type resource and the second type resource, and obtain the second type resource equivalent to the first amount of the first type resource according to the conversion ratio Quantity, as the second quantity.

由于不同地理区域之间的资源换算比例是随着时间变化的,因此第一类型资源与第二类型资源之间的换算比例会随时间变化,在第二服务器接收到终端发送的访问请求时,可以查询当前的换算比例,并基于当前的换算比例更新第二数量,可以保证第二数量的准确性和时效性。Since the resource conversion ratio between different geographic regions changes with time, the conversion ratio between the first type of resource and the second type of resource will change with time. When the second server receives the access request sent by the terminal, The current conversion ratio can be queried, and the second quantity can be updated based on the current conversion ratio, which can ensure the accuracy and timeliness of the second quantity.

可选地,如图13所示,第二服务器还包括支付模块、换汇模块和订单模块,该换汇模块用于查询换算比例。支付模块接收第一服务器发送的访问请求,该支付模块向换汇模块发送汇率查询请求,该汇率查询请求用于获取当前第一类型资源与第二类型资源之间的换算比例,并将当前换算比例发送至支付模块。支付模块接收该当前换算比例,并向订单模块发送订单信息更新请求,该订单信息更新请求中携带当前换算比例,由订单信息接收订单信息更新请求,基于当前换算比例重新获取更新后的第二数量,并将更新后的第二数量发送至支付模块。Optionally, as shown in FIG. 13 , the second server further includes a payment module, a currency exchange module, and an order module, and the currency exchange module is used to query the conversion ratio. The payment module receives the access request sent by the first server, and the payment module sends an exchange rate query request to the exchange module, and the exchange rate query request is used to obtain the current conversion ratio between the first type resource and the second type resource, and convert the current conversion rate The ratio is sent to the payment module. The payment module receives the current conversion ratio, and sends an order information update request to the order module, the order information update request carries the current conversion ratio, the order information receives the order information update request, and reacquires the updated second quantity based on the current conversion ratio , and send the updated second quantity to the payment module.

1404、第二服务器基于第二数量生成资源转移界面,将该资源转移界面发送至终端。1404. The second server generates a resource transfer interface based on the second quantity, and sends the resource transfer interface to the terminal.

第二服务器基于更新后的第二数量生成资源转移界面可以包括:第二服务器将第二数量添加到资源转移界面中。Generating the resource transfer interface by the second server based on the updated second quantity may include: adding the second quantity to the resource transfer interface by the second server.

可选地,第二服务器可以基于更新后的第二数量和订单信息生成资源转移界面。例如,第二服务器在资源转移界面中还添加订单标识、第一数量、接收方标识中的至少一项。第二服务器通过在资源转移界面添加至少一项订单信息,使得用户更加了解本次的资源转移信息,有利于用户做出判断。Optionally, the second server may generate a resource transfer interface based on the updated second quantity and order information. For example, the second server further adds at least one item of the order identifier, the first quantity, and the recipient identifier in the resource transfer interface. By adding at least one item of order information on the resource transfer interface, the second server enables the user to better understand the current resource transfer information, which is beneficial for the user to make a judgment.

需要说明的是,本发明实施例仅是以资源转移入口为界面链接为例进行说明,在另一些实施例中,资源转移入口还可以为其他形式。可选地,资源转移入口还可以是资源转移按键,终端在接收到资源转移按键之后,提供给用户,用户触发该资源转移按键时,第一服务器向第二服务器发送跨区域资源转移请求,第二服务器根据终端发送的跨区域资源转移请求进行资源转移。It should be noted that the embodiment of the present invention is only described by taking the resource transfer entry as an interface link as an example. In other embodiments, the resource transfer entry may also be in other forms. Optionally, the resource transfer entry may also be a resource transfer button, which is provided to the user by the terminal after receiving the resource transfer button. When the user triggers the resource transfer button, the first server sends a cross-region resource transfer request to the second server. The second server performs resource transfer according to the cross-region resource transfer request sent by the terminal.

1405、终端显示资源转移界面,当基于资源转移界面接收到确认指令时,向第二服务器发送跨区域资源转移请求。1405. The terminal displays a resource transfer interface, and sends a cross-region resource transfer request to the second server when a confirmation instruction is received based on the resource transfer interface.

其中,资源转移界面用于接收用户触发的资源转移指令,确定用户是否需要进行资源转移。Wherein, the resource transfer interface is used to receive a resource transfer instruction triggered by a user, and determine whether the user needs to perform resource transfer.

可选地,如图15所示,资源转移界面中包括第二数量,用户可以根据第二数量确定是否进行资源转移。当用户使用第二类型资源进行资源转移时,则说明用户对第二类型资源比较了解,而用户使用第一类型资源使用服务时,可能对第一类型资源存在不了解的情况,因此,资源转移界面向用户显示第二数量,由用户基于第二数量确定是否进行资源转移,有效避免了用户盲目消费。Optionally, as shown in FIG. 15 , the resource transfer interface includes a second quantity, and the user can determine whether to perform resource transfer according to the second quantity. When the user uses the second type of resources to transfer resources, it means that the user has a better understanding of the second type of resources, but when the user uses the first type of resources to use the service, he may not know the first type of resources. Therefore, the resource transfer The interface displays the second amount to the user, and the user determines whether to transfer resources based on the second amount, effectively avoiding blind consumption by the user.

可选地,如图15所示,资源转移界面中还包括第一类型资源和第二类型资源的换算比例,用户可以根据第二服务器提供的换算比例,获知第一类型资源和第二类型资源的换算关系,后续用户再使用服务时,可以根据该服务对应的第一数量,自行确定第二数量,根据第二数量确定是否购买该服务,避免了用户不了解第一类型资源和第二类型资源的换算比例,导致用户下单之后取消订单造成的资源浪费问题。Optionally, as shown in Figure 15, the resource transfer interface also includes the conversion ratio of the first type of resource and the second type of resource, and the user can learn about the conversion ratio of the first type of resource and the second type of resource according to the conversion ratio provided by the second server conversion relationship, when subsequent users use the service again, they can determine the second quantity by themselves according to the first quantity corresponding to the service, and determine whether to purchase the service according to the second quantity, so as to prevent users from not understanding the first type of resources and the second type The conversion ratio of resources leads to the waste of resources caused by canceling the order after the user places an order.

可选地,如图15所示,资源转移界面中还包括确认按键,用户通过对该确认按键进行触摸操作,来触发确认指令,该触摸操作可以为点击操作、双击操作、滑动操作等,本发明实施例对触摸操作的具体方式不做限定。Optionally, as shown in Figure 15, the resource transfer interface also includes a confirmation button, and the user triggers a confirmation instruction by touching the confirmation button. The touch operation can be a click operation, a double-click operation, or a slide operation. The embodiment of the invention does not limit the specific manner of the touch operation.

在另一种可能实现方式中,当终端基于资源转移界面接收到确认指令时,显示验证信息输入界面,当基于验证信息输入界面接收到验证信息时,向第二服务器发送跨区域资源转移请求。其中,验证信息输入界面中可以包括验证信息输入框,该验证信息输入框用于获取用户输入的验证信息。例如,该验证信息输入框可以是密码输入框。或者,验证信息输入界面中包括验证信息提示消息,该验证信息提示消息用于提示用户输入验证信息。例如,验证信息输入界面中显示有“请输入指纹”。In another possible implementation, when the terminal receives the confirmation instruction based on the resource transfer interface, it displays the verification information input interface, and when it receives the verification information based on the verification information input interface, it sends a cross-region resource transfer request to the second server. Wherein, the verification information input interface may include a verification information input box, and the verification information input box is used to obtain the verification information input by the user. For example, the verification information input box may be a password input box. Alternatively, the verification information input interface includes a verification information prompt message, and the verification information prompt message is used to prompt the user to input the verification information. For example, "Please enter your fingerprint" is displayed on the verification information input interface.

1406、当第二服务器接收到跨区域资源转移请求时,将用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户。1406. When the second server receives the cross-region resource transfer request, transfer the second quantity of second-type resources in the resource account identified by the user to the first target account.

可选地,第二服务器接收到跨区域资源转移请求时,基于该跨区域资源转移请求生成资源转移订单,将该资源转移订单的状态设置为未完成状态,该资源转移订单包括该订单信息。第二服务器根据该资源转移订单,将用户标识的资源账户中的第二数量的第二类型资源转移给第一目标账户,将该资源转移订单的状态更新为资源转移成功状态。Optionally, when the second server receives the cross-regional resource transfer request, it generates a resource transfer order based on the cross-regional resource transfer request, sets the status of the resource transfer order as unfinished, and the resource transfer order includes the order information. According to the resource transfer order, the second server transfers the second quantity of the second type of resources in the resource account identified by the user to the first target account, and updates the status of the resource transfer order to the resource transfer successful status.

可选地,第二服务器包括支付模块和订单模块,支付模块接收跨区域资源转移请求,向订单模块发送携带订单信息的订单生成请求。订单模块接收该订单生成请求,生成资源转移订单,将该资源转移订单的状态设置为未完成状态,该资源转移订单包括该订单信息,并将订单信息发送至支付模块。支付模块根据该订单信息进行资源转移,即将第二数量的第二类型资源转移至第一目标账户。支付模块在完成资源转移之后,可以向订单模块发送资源转移成功消息。订单模块在接收到资源转移成功消息之后,将资源转移订单的状态更新为资源转移成功状态。Optionally, the second server includes a payment module and an order module, the payment module receives the cross-region resource transfer request, and sends an order generation request carrying order information to the order module. The order module receives the order generation request, generates a resource transfer order, sets the status of the resource transfer order as incomplete, the resource transfer order includes the order information, and sends the order information to the payment module. The payment module performs resource transfer according to the order information, that is, transfers the second quantity of the second type of resources to the first target account. After the payment module completes the resource transfer, it can send a resource transfer success message to the order module. After receiving the resource transfer success message, the order module updates the status of the resource transfer order to the resource transfer success status.

其中,将用户标识的资源转移中的第二数量的第二类型资源转移给第一目标账户可以包括:当用户选择使用资源账户的余额进行资源转移时,第二服务器直接将用户标识的资源账户中的第二数量的第二类型资源转移给第一目标账户;当用户选择使用第一资源卡片进行资源转移时,第二服务器向第一资源卡片对应的资源卡片服务器发送跨区域资源转移请求,该跨区域资源转移请求中携带第二数量和第一目标账户的标识,以使该资源卡片服务器基于跨区域资源转移请求,将第一资源卡片中的第二数量的第二类型资源转移给第一目标账户。Wherein, transferring the second quantity of the second type of resources in the resource transfer identified by the user to the first target account may include: when the user chooses to use the balance of the resource account for resource transfer, the second server directly transfers the resource account identified by the user The second amount of resources of the second type in the transfer to the first target account; when the user chooses to use the first resource card for resource transfer, the second server sends a cross-regional resource transfer request to the resource card server corresponding to the first resource card, The cross-region resource transfer request carries the second quantity and the identifier of the first target account, so that the resource card server transfers the second quantity of second-type resources in the first resource card to the second resource card based on the cross-region resource transfer request. a target account.

其中,第一目标账户为第二服务器配置的资源中转账户,第二服务器先将用户需要转出的第二类型资源转移给第一目标账户中,后续再将第一目标账户中的第一类型资源转移给接收方标识对应的资源账户,即接收方账户。Wherein, the first target account is a resource transfer account configured by the second server, and the second server first transfers the second type of resources that the user needs to transfer out to the first target account, and then transfers the resources of the first type in the first target account to the first target account. The resource is transferred to the resource account corresponding to the recipient ID, that is, the recipient account.

由于第二服务器完成的是跨区域资源转移,且第二服务器每天需要完成多个订单的跨区域资源转移,如果每次跨区域资源转移都需要将第二类型资源转移给订单的接收方,会占用第二服务器较多的资源。因此,第二服务器可以将第二数量的第二类型资源转移给第一目标账户,暂时不将相应的第一类型资源转移给第一服务器,而是在经过预设时长后再与第一服务器进行结算,将预设时长内需要转给第一服务器的第一类型资源一并进行资源转移。Since the second server completes the cross-regional resource transfer, and the second server needs to complete the cross-regional resource transfer of multiple orders every day, if each cross-regional resource transfer needs to transfer the second type of resources to the recipient of the order, it will Occupies more resources of the second server. Therefore, the second server may transfer the second amount of second-type resources to the first target account, temporarily not transfer the corresponding first-type resources to the first server, but contact the first server after a preset period of time Settlement is performed, and resources of the first type that need to be transferred to the first server within the preset time period are transferred together.

在上述实施例中,第二服务器仅是将第二数量的第二类型资源转移至第一目标账户中。因此,在上述实施例中执行完毕之后,还可以包括第二服务器与第一服务器进行结算的步骤,如下所示:In the above embodiment, the second server only transfers the second quantity of the second type of resources to the first target account. Therefore, after the execution in the above embodiment is completed, a step of settlement between the second server and the first server may also be included, as follows:

第一目标账户为第二服务器配置的资源中转账户;第二目标账户为第一服务器配置的资源中转账户;第二服务器在第一目标账户中删除第二数量的第二类型资源,在第二目标账户中添加第一数量的第一类型资源。第一服务器基于第二目标账户,接收第二服务器从第一目标账户转出的第一数量的第一类型资源,并基于订单信息,将该第一数量的第一类型资源转移给订单信息中的接收方账户。The first target account is the resource transfer account configured by the second server; the second target account is the resource transfer account configured by the first server; the second server deletes the second quantity of second type resources in the first target account, and the second A first quantity of resources of the first type is added to the target account. Based on the second target account, the first server receives the first quantity of resources of the first type transferred from the first target account by the second server, and transfers the first quantity of resources of the first type to the order information based on the order information recipient account.

可选地,第二服务器每隔预设时长,执行一次将第一目标账户中的资源转移至第二目标账户中的步骤,该方法可以包括:第二服务器获取预设时长内的多个订单信息对应的第一数量的总和,在第一目标账户中删除相应数量的第二类型资源,在第二目标账户中添加等值的第一类型资源。第一服务器基于多个订单信息,将每个订单信息对应的第一数量的第一类型资源分别转移给每个订单信息中的接收方账户。Optionally, the second server executes the step of transferring resources in the first target account to the second target account every preset time period, and the method may include: the second server obtains multiple orders within the preset time period The sum of the first quantity corresponding to the information, the corresponding quantity of the second type resource is deleted in the first target account, and the equivalent value of the first type resource is added in the second target account. Based on the plurality of order information, the first server transfers the first quantity of first-type resources corresponding to each order information to the recipient account in each order information.

例如,第二服务器在预设时长内完成了3个订单的资源转移,该3个订单分别为:(1)用户1在应用A上购买洗衣机,需要支付3599的第一类型资源(359.9的第二类型资源)。(2)用户2在应用B上购买手机,需要支付3999的第一类型资源(399.9的第二类型资源)。(3)用户3在应用A上购买话费,需要支付100的第一类型资源(10的第二类型资源)。此时,第二服务器根据这3个订单,在第一目标账户中删除769.8的第二类型资源,在第二目标账户中添加7698的第一类型资源。第二服务器中也存储有这3个订单,因此,第二服务器基于这3个订单,将3699的第一类型资源转移给应用A的账户,将3999的第一类型资源转移给应用B的账户。For example, the second server completes the resource transfer of 3 orders within the preset time period. The 3 orders are: (1) User 1 purchases a washing machine on App A, and needs to pay 3599 for the first type of resource (359.9 for the first type of resource). Type II resources). (2) User 2 needs to pay 3999 for the first type of resource (399.9 for the second type of resource) to purchase a mobile phone on App B. (3) User 3 needs to pay 100 for the first type of resource (10 for the second type of resource) to purchase the call credit on application A. At this time, the second server deletes 769.8 resources of the second type in the first target account according to the three orders, and adds 7698 resources of the first type in the second target account. These 3 orders are also stored in the second server, therefore, based on these 3 orders, the second server transfers 3699 first-type resources to the account of application A, and transfers 3999 first-type resources to the account of application B .

图16是本发明实施例提供的一种状态更新方法的流程图。参见图16,本发明实施例的交互主体为图2至图5任一所示的终端、第一服务器、第二服务器和第三方应用服务器。在上述步骤1406之后,该方法包括:Fig. 16 is a flow chart of a state updating method provided by an embodiment of the present invention. Referring to FIG. 16 , the interaction subject of the embodiment of the present invention is the terminal, the first server, the second server, and the third-party application server shown in any one of FIGS. 2 to 5 . After the above step 1406, the method includes:

1601、第二服务器基于用户标识,向终端发送第一状态通知,第一状态通知用于指示第二服务器确认订单信息的状态为资源转移成功状态。1601. The second server sends a first status notification to the terminal based on the user identifier, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status.

第二服务器进行资源转移成功后,将订单信息的状态更新为资源转移成功状态,并向终端发送第一状态通知。After the resource transfer is successfully performed by the second server, the status of the order information is updated to the status of resource transfer success, and a first status notification is sent to the terminal.

1602、第二服务器向第一服务器发送第一状态通知。1602. The second server sends a first status notification to the first server.

可选地,如图10所示,第二服务器向跨区域监管服务器发送第一状态通知,该第一状态通知用于指示第二服务器确认订单信息的状态为资源转移成功状态。跨区域监管服务器接收该第一状态通知,将本地存储的订单信息的状态更新为资源转移成功状态,向第一服务器发送第一状态通知,该第一状态通知还用于指示跨区域监管服务器确认订单信息的状态为资源转移成功状态。Optionally, as shown in FIG. 10 , the second server sends a first status notification to the cross-region supervisory server, where the first status notification is used to instruct the second server to confirm that the status of the order information is the resource transfer success status. The cross-region supervisory server receives the first status notification, updates the status of the locally stored order information to the status of resource transfer success, and sends the first status notification to the first server, and the first status notification is also used to instruct the cross-region supervisory server to confirm The status of the order information is the status of resource transfer success.

当第一服务器包括前端服务器和资源管理服务器时,可选地,如图11所示,第二服务器向前端服务器发送第一状态通知。在另一种可能实现方式中,第二服务器向资源管理服务器发送第一状态通知,资源管理服务器接收第一状态通知,将本地存储的订单信息的状态更新为资源转移成功状态。资源管理服务器向前端服务器发送第一状态通知,该第一状态通知还用于指示资源管理服务器确认订单信息的状态为资源转移成功状态。When the first server includes a front-end server and a resource management server, optionally, as shown in FIG. 11 , the second server sends the first status notification to the front-end server. In another possible implementation manner, the second server sends the first status notification to the resource management server, and the resource management server receives the first status notification, and updates the status of the locally stored order information to the resource transfer successful status. The resource management server sends a first status notification to the front-end server, and the first status notification is also used to instruct the resource management server to confirm that the status of the order information is the resource transfer success status.

可选地,如图12和图17所示,第二服务器向跨区域监管服务器发送第一状态通知,该第一状态通知用于指示第二服务器确认订单信息的状态为资源转移成功状态。跨区域监管服务器接收该第一状态通知,将本地存储的订单信息的状态更新为资源转移成功状态,向资源管理服务器发送第一状态通知,该第一状态通知还可以用于指示跨区域监管服务器确认订单信息的状态为资源转移成功状态。资源管理服务器接收第一状态通知,将本地存储的订单信息的状态更新为资源转移成功状态。资源管理服务器向前端服务器发送第一状态通知,该第一状态通知还用于指示资源管理服务器确认订单信息的状态为资源转移成功状态。Optionally, as shown in FIG. 12 and FIG. 17 , the second server sends a first status notification to the cross-region supervisory server, where the first status notification is used to instruct the second server to confirm that the status of the order information is the resource transfer success status. The cross-region supervision server receives the first status notification, updates the status of the locally stored order information to the status of resource transfer success, and sends the first status notification to the resource management server, and the first status notification can also be used to instruct the cross-region supervision server Confirm that the status of the order information is the status of resource transfer success. The resource management server receives the first status notification, and updates the status of the locally stored order information to the status of successful resource transfer. The resource management server sends a first status notification to the front-end server, and the first status notification is also used to instruct the resource management server to confirm that the status of the order information is the resource transfer success status.

1603、第一服务器接收第二服务器发送的第一状态通知,基于第一状态通知,将本地存储的订单信息的状态更新为资源转移成功状态。1603. The first server receives the first status notification sent by the second server, and based on the first status notification, updates the status of the locally stored order information to a resource transfer successful status.

可选地,第一服务器将本地存储的订单信息的状态更新为资源转移成功状态后,向第二服务器发送状态更新成功通知,以使第二服务器确定第一服务器的订单信息的状态更新成功。Optionally, after the first server updates the status of the locally stored order information to the status of successful resource transfer, it sends a status update notification to the second server, so that the second server determines that the status of the order information of the first server is successfully updated.

可选地,第二服务器每隔预设时长向第一服务器发送第一状态通知,直至第二服务器接收到第一服务器发送的状态更新成功通知。通过重复发送,确认第一服务器状态更新成功,避免了状态同步流程的中断。Optionally, the second server sends the first status notification to the first server every preset period of time until the second server receives the status update success notification sent by the first server. Through repeated sending, it is confirmed that the status update of the first server is successful, and the interruption of the status synchronization process is avoided.

1604、终端向第一服务器发送状态查询请求,状态查询请求携带订单信息。1604. The terminal sends a status query request to the first server, where the status query request carries order information.

1605、第一服务器根据订单信息,向终端发送第二状态通知,第二状态通知用于指示第一服务器确认订单信息的状态为资源转移成功状态。1605. The first server sends a second status notification to the terminal according to the order information, where the second status notification is used to instruct the first server to confirm that the status of the order information is a resource transfer successful status.

1606、当终端接收到第二状态通知时,显示资源转移成功界面。1606. When the terminal receives the second status notification, display a resource transfer success interface.

如图18所示,当第二服务器完成跨区域资源转移之后,会向终端发送第一状态通知,在终端接收到第一状态通知时,第一服务器可能还未接收到第一状态通知,第一服务器本地存储的订单信息的状态还是未完成状态。如果终端在接收到第一状态通知时,即显示在资源转移成功界面,则终端上订单信息的状态与第一服务器中订单信息的状态会不同步。As shown in Figure 18, after the second server completes the cross-regional resource transfer, it will send the first status notification to the terminal. When the terminal receives the first status notification, the first server may not have received the first status notification. The status of the order information stored locally by the server is still pending. If the terminal displays the resource transfer success interface when receiving the first status notification, the status of the order information on the terminal will not be synchronized with the status of the order information in the first server.

为了保证终端与第一服务器的一致性,终端接收到第一状态通知时,向第一服务器发送状态查询请求,来获取第一服务器中本地存储的订单信息的状态,当第一服务器中订单信息的状态为资源转移成功状态时,才会显示资源转移成功界面。可选地,资源转移成功界面可以如图19所示。In order to ensure the consistency between the terminal and the first server, when the terminal receives the first status notification, it sends a status query request to the first server to obtain the status of the order information locally stored in the first server. When the order information in the first server The resource transfer success interface will be displayed only when the status of the resource transfer is successful. Optionally, the resource transfer success interface may be as shown in FIG. 19 .

另外,第一服务器在将本地存储的订单信息的状态更新为资源转移成功状态之后,第一服务器还会向第三方应用服务器发送第二状态通知,以便第三方应用服务器在接收到第二状态通知之后,更新本地存储的订单信息的订单状态。第三方应用服务器将订单信息的订单状态更新为资源转移成功状态之后,第三方应用服务器可以为用户提供后续服务。In addition, after the first server updates the status of the locally stored order information to the status of resource transfer success, the first server will also send a second status notification to the third-party application server, so that the third-party application server will receive the second status notification After that, update the order status of the locally stored order information. After the third-party application server updates the order status of the order information to the resource transfer success status, the third-party application server can provide follow-up services for the user.

可选地,第一服务器可以通过跨区域监管服务器与第二服务器进行交互,订单状态需要从第二服务器中经跨区域监管服务器才能到达第一服务器,若订单状态同步流程中断,则终端能接收到第一状态通知,第三方应用服务器未接收到第一服务器的第二状态通知。如终端显示资源转移成功,而订单状态同步流程中断,则第三方应用服务器中订单状态为未完成状态,第三方应用不向用户提供服务,从而造成用户与第三方应用之间的误解和纠纷。因此,终端在接收到第二状态通知时,才会显示资源转移成功界面,还可以避免用户确定资源转移成功,第三方应用确定资源转移未成功带来的误解和纠纷。Optionally, the first server can interact with the second server through the cross-region supervisory server. The order status needs to pass through the cross-region supervisory server from the second server to reach the first server. If the order status synchronization process is interrupted, the terminal can receive When the first status notification is received, the third-party application server does not receive the second status notification from the first server. If the terminal shows that the resource transfer is successful, but the order status synchronization process is interrupted, the order status in the third-party application server is in an incomplete state, and the third-party application does not provide services to the user, resulting in misunderstandings and disputes between the user and the third-party application. Therefore, the terminal will only display the resource transfer success interface when receiving the second status notification, and it can also avoid misunderstandings and disputes caused by the user confirming that the resource transfer is successful and the third-party application confirming that the resource transfer is unsuccessful.

当终端确定第一服务器中订单信息对应的状态为资源转移成功状态时,保证了第三方应用服务器也会收到资源转移成功的通知,从而终端显示资源转移成功界面,保证了用户与第三方应用服务器接收到的资源转移结果的一致性。When the terminal determines that the state corresponding to the order information in the first server is the resource transfer successful state, it is ensured that the third-party application server will also receive the notification that the resource transfer is successful, so that the terminal displays the resource transfer success interface, ensuring that the user and the third-party application Consistency of resource transfer results received by the server.

另外,为了保证跨区域资源转移渠道中多个服务器中订单信息的状态的一致性,本发明实施例还可以包括以下步骤:In addition, in order to ensure the consistency of the state of the order information in multiple servers in the cross-regional resource transfer channel, the embodiment of the present invention may further include the following steps:

1607、第一服务器向第二服务器发送状态查询请求,状态查询请求携带订单信息。1607. The first server sends a status query request to the second server, where the status query request carries order information.

可选地,第一服务器向第二服务器发送状态查询请求可以包括:当第一服务器中订单信息的状态为未完成状态时,第一服务器向第二服务器发送状态查询请求。Optionally, sending the status query request from the first server to the second server may include: when the status of the order information in the first server is unfinished, the first server sends a status query request to the second server.

可选地,第一服务器向第二服务器发送状态查询请求可以包括:当第一服务器中订单信息的状态为未完成状态时,每隔预设时长向第二服务器发送状态查询请求,直至第二服务器确认订单信息的状态为资源转移成功状态。Optionally, sending the status query request from the first server to the second server may include: when the status of the order information in the first server is unfinished, sending a status query request to the second server every preset period of time until the second server The server confirms that the status of the order information is the resource transfer success status.

可选地,如图11所示,当第一服务器包括前端服务器和资源管理服务器时,可选地,前端服务器向资源管理服务器发送状态查询请求,资源管理服务器接收状态查询请求,确定该订单信息的状态,当该订单信息的状态为资源转移成功状态时,向前端服务器发送第一状态通知;当该订单信息的状态为未完成状态时,向第二服务器发送状态查询请求。在另一种可能实现方式中,前端服务器向第二服务器发送状态查询请求。Optionally, as shown in Figure 11, when the first server includes a front-end server and a resource management server, optionally, the front-end server sends a status query request to the resource management server, and the resource management server receives the status query request and determines the order information When the status of the order information is resource transfer successful, send the first status notification to the front-end server; when the status of the order information is incomplete, send a status query request to the second server. In another possible implementation manner, the front-end server sends a status query request to the second server.

可选地,如图10所示,第一服务器向跨区域监管服务器发送状态查询请求,跨区域监管服务器接收状态查询请求,确定订单信息的状态,当订单信息的状态为资源转移成功状态时,跨区域监管服务器可以向第一服务器发送第一状态通知,该第一状态通知指示还用于指示跨区域监管服务器确认订单信息的状态为资源转移成功状态。当订单信息的状态为未完成状态时,跨区域监管服务器向第二服务器发送状态查询请求。Optionally, as shown in FIG. 10 , the first server sends a status query request to the cross-region supervisory server, and the cross-region supervisory server receives the status query request to determine the status of the order information. When the status of the order information is the resource transfer successful status, The cross-region supervisory server may send a first status notification to the first server, and the first status notification indication is also used to instruct the cross-region supervisory server to confirm that the status of the order information is a status of successful resource transfer. When the status of the order information is unfinished, the cross-region supervisory server sends a status query request to the second server.

可选地,如图12和图17所示,前端服务器向资源管理服务器发送状态查询请求,资源管理服务器接收状态查询请求,确定订单信息的状态,当该订单信息的状态为资源转移成功状态时,向前端服务器发送第一状态通知;当该订单信息的状态为未完成状态时,资源管理服务器向跨区域监管服务器发送状态查询请求,跨区域监管服务器接收状态查询请求,确定订单信息的状态,当该订单信息的状态为资源转移成功状态时,向资源管理服务器发送第一状态通知;当该订单信息的状态为未完成状态时,跨区域监管服务器向第二服务器发送状态查询请求。Optionally, as shown in Figure 12 and Figure 17, the front-end server sends a status query request to the resource management server, and the resource management server receives the status query request to determine the status of the order information, when the status of the order information is the resource transfer success status , to send the first status notification to the front-end server; when the status of the order information is unfinished, the resource management server sends a status query request to the cross-region supervisory server, and the cross-region supervisory server receives the status query request to determine the status of the order information, When the status of the order information is resource transfer successful, send a first status notification to the resource management server; when the status of the order information is incomplete, the cross-region supervisory server sends a status query request to the second server.

1608、第二服务器接收第一服务器发送的状态查询请求,向第一服务器发送第一状态通知,第一状态通知用于指示第二服务器确认订单信息的状态为资源转移成功状态。1608. The second server receives the status query request sent by the first server, and sends a first status notification to the first server, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status.

1609、第一服务器接收第二服务器发送的第一状态通知,基于第一状态通知,将本地存储的订单信息的状态更新为资源转移成功状态。1609. The first server receives the first status notification sent by the second server, and based on the first status notification, updates the status of the locally stored order information to a resource transfer successful status.

需要说明的是,在本发明实施例中,上述步骤1607-1610执行的时机可以为:在第一服务器接收到与其连接的其他服务器发送的注册完成通知后,第一服务器即可发起状态查询请求。It should be noted that, in this embodiment of the present invention, the timing for performing the above steps 1607-1610 may be: after the first server receives the registration completion notification sent by other servers connected to it, the first server can initiate a status query request .

本发明实施例提供的状态更新方法,通过正向通知以及反向查询,双重保证了订单信息的状态的一致性,确保了终端与第三方应用服务器能及时接收到资源转移成功通知。The status update method provided by the embodiment of the present invention double-guarantees the consistency of the status of the order information through forward notification and reverse query, and ensures that the terminal and the third-party application server can receive the notification of successful resource transfer in time.

目前,用户不仅可以通过第三方应用在线上使用服务,也可以在线下实体商店中使用服务。上述实施例提供了一种在线上进行跨区域资源转移的方法,在一些实施例中,还可以在线下触发跨区域资源转移流程。At present, users can not only use services online through third-party applications, but also use services in offline physical stores. The above embodiments provide a method for online cross-regional resource transfer, and in some embodiments, an offline cross-regional resource transfer process can also be triggered.

图20是本发明实施例提供的一种跨区域资源转移方法的流程图。本发明实施例的交互主体为终端、第一服务器、第二服务器和第三方应用服务器,对线下触发跨区域资源转移的过程进行说明。参见图20,该方法包括:Fig. 20 is a flowchart of a cross-region resource transfer method provided by an embodiment of the present invention. The interaction subject in the embodiment of the present invention is the terminal, the first server, the second server and the third-party application server, and the process of triggering the cross-regional resource transfer offline is described. Referring to Figure 20, the method includes:

2001、第一终端生成订单信息,扫描第二终端展示的图形码,得到用户标识。2001. The first terminal generates order information, scans the graphic code displayed by the second terminal, and obtains the user identification.

其中,第一终端可以为服务提供者的终端,第二终端为服务使用者的终端,服务提供者可以基于服务使用者选择的服务,在第一终端上生成订单信息。Wherein, the first terminal may be a terminal of a service provider, and the second terminal may be a terminal of a service user, and the service provider may generate order information on the first terminal based on the service selected by the service user.

第二终端上安装有目标应用,目标应用为具有资源转移功能的应用,该目标应用可以生成图形码,如图21所示。该图形码可以用于完成线下的资源转移。该图形码可以为二维码、条形码等,本发明实施例对图形码的具体形式不做限定。A target application is installed on the second terminal, and the target application is an application with a resource transfer function. The target application can generate a graphic code, as shown in FIG. 21 . The graphic code can be used to complete offline resource transfer. The graphic code may be a two-dimensional code, a barcode, etc., and the specific form of the graphic code is not limited in the embodiment of the present invention.

可选地,第一终端上有多个服务标识,服务使用者在选择服务提供者提供的服务后,由服务提供者选择第一终端上相应的服务标识,由第一终端生成订单信息。该订单信息中包括第一数量,第一数量为待转移的第一类型资源的数量。Optionally, there are multiple service identifiers on the first terminal, and after the service user selects a service provided by the service provider, the service provider selects the corresponding service identifier on the first terminal, and the first terminal generates order information. The order information includes a first quantity, and the first quantity is the quantity of the first type of resource to be transferred.

服务使用者可以通过第二终端的目标应用展示图形码,该图形码中包括第二终端登录目标应用的用户标识。第二终端扫描第二终端展示的图形码,对该图形码进行解析,得到该图形码对应的用户标识。可选地,如图22所示,第二终端上配置有扫描仪,第二终端通过扫描仪扫描第二终端展示的图形码,对该图形码进行解析,得到该图形码对应的用户标识。The service user can display the graphic code through the target application of the second terminal, and the graphic code includes the user identification of the second terminal logging into the target application. The second terminal scans the graphic code displayed by the second terminal, analyzes the graphic code, and obtains the user identification corresponding to the graphic code. Optionally, as shown in FIG. 22 , a scanner is configured on the second terminal, and the second terminal scans the graphic code displayed by the second terminal through the scanner, parses the graphic code, and obtains the user ID corresponding to the graphic code.

2002、第一终端通过第三方应用服务器向第一服务器发送资源转移请求,该资源转移请求中携带用户标识和订单信息,该订单信息包括第一数量,第一数量为待转移的第一类型资源的数量。2002. The first terminal sends a resource transfer request to the first server through a third-party application server, the resource transfer request carries user identification and order information, and the order information includes a first quantity, which is the first type of resource to be transferred quantity.

2003、第一服务器接收第一终端发送的资源转移请求,存储该订单信息,并将该订单信息的状态配置为未完成状态,确定用户标识的资源账户所属的第二服务器。2003. The first server receives the resource transfer request sent by the first terminal, stores the order information, configures the status of the order information as incomplete, and determines the second server to which the resource account identified by the user belongs.

其中,第一服务器可以根据用户标识的字段来确定用户标识的资源账户,可选地,扫描仪对图形码解析之后可以得到一串字符,该字符即为用户标识。该用户标识的前端字符可以表示用户标识的资源账户,根据前端字符,确定该资源账户所属的第二服务器。例如,用户标识为HK108875612,第一服务器根据HK可以确定用户标识的资源账户属于第二服务器。Wherein, the first server can determine the resource account of the user ID according to the field of the user ID. Optionally, the scanner can obtain a string of characters after parsing the graphic code, and the characters are the user ID. The front character of the user ID may indicate the resource account of the user ID, and the second server to which the resource account belongs is determined according to the front character. For example, if the user ID is HK108875612, the first server can determine that the resource account of the user ID belongs to the second server according to HK.

2004、第一服务器向第二服务器发送跨区域资源转移请求,跨区域资源转移请求携带用户标识和订单信息。2004. The first server sends a cross-region resource transfer request to the second server, and the cross-region resource transfer request carries the user identifier and order information.

2005、第二服务器接收第一服务器发送的跨区域资源转移请求,存储该订单信息,将该订单信息的状态配置为未完成状态。2005. The second server receives the cross-region resource transfer request sent by the first server, stores the order information, and configures the state of the order information as an incomplete state.

2006、第二服务器获取第一类型资源与第二类型资源之间的换算比例;根据换算比例,获取与第一数量的第一类型资源等值的第二类型资源的数量,作为第二数量。2006. The second server obtains the conversion ratio between the first type resource and the second type resource; according to the conversion ratio, obtains the quantity of the second type resource equivalent to the first quantity of the first type resource as the second quantity.

2007、第二服务器将用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户。2007. The second server transfers the second quantity of resources of the second type in the resource account identified by the user to the first target account.

采用线下支付时,第一服务器在将用户标识和订单信息发送给第二服务器,第二服务器存储订单信息之后,可以直接基于订单信息进行跨区域资源转移,如图23所示。When using offline payment, the first server sends the user ID and order information to the second server, and after the second server stores the order information, it can directly transfer resources across regions based on the order information, as shown in Figure 23.

可选地,第二服务器将用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户可以包括:基于用户标识,向第二终端发送验证指令,由第二终端显示密码验证界面,获取在密码验证界面中输入的密码;接收第二终端发送的密码;当确定密码为用户标识的正确密码时,将资源账户中第二数量的第二类型资源转移给第一目标账户。确保了用户支付的安全性,避免了恶意人员盗用用户终端的图形码,对用户的财产造成损失。Optionally, the second server transferring the second quantity of second-type resources in the resource account identified by the user to the first target account may include: sending a verification instruction to the second terminal based on the user identification, and the second terminal displays a password verification The interface is used to obtain the password input in the password verification interface; receive the password sent by the second terminal; when the password is determined to be the correct password of the user identification, transfer the second quantity of the second type of resources in the resource account to the first target account. The security of user payment is ensured, and malicious persons are prevented from misappropriating the graphic code of the user terminal and causing losses to the user's property.

2008、第二服务器基于用户标识,向第二终端发送第一状态通知,第一状态通知用于指示第二服务器确认订单信息的状态为资源转移成功状态。2008. The second server sends a first status notification to the second terminal based on the user identifier, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status.

2009、第二服务器向第一服务器发送第一状态通知。2009. The second server sends a first status notification to the first server.

2010、第一服务器接收第二服务器发送的第一状态通知,基于第一状态通知,将本地存储的订单信息的状态更新为资源转移成功状态。2010. The first server receives the first status notification sent by the second server, and based on the first status notification, updates the status of the locally stored order information to the resource transfer success status.

2011、第二终端向第一服务器发送状态查询请求,状态查询请求携带订单信息。2011. The second terminal sends a status query request to the first server, where the status query request carries order information.

2012、第一服务器根据订单信息,向第二终端发送第二状态通知,第二状态通知用于指示第一服务器确认订单信息的状态为资源转移成功状态。2012. The first server sends a second status notification to the second terminal according to the order information, and the second status notification is used to instruct the first server to confirm that the status of the order information is a resource transfer successful status.

2013、当第二终端接收到第二状态通知时,显示资源转移成功界面。2013. When the second terminal receives the second status notification, display a resource transfer success interface.

2014、第一服务器向第二服务器发送状态查询请求,状态查询请求携带订单信息。2014. The first server sends a status query request to the second server, and the status query request carries order information.

2015、第二服务器接收第一服务器发送的状态查询请求,向第一服务器发送第一状态通知,第一状态通知用于指示第二服务器确认订单信息的状态为资源转移成功状态。2015. The second server receives the status query request sent by the first server, and sends a first status notification to the first server, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status.

2016、第一服务器接收第二服务器发送的第一状态通知,基于第一状态通知,将本地存储的订单信息的状态更新为资源转移成功状态。2016. The first server receives the first status notification sent by the second server, and based on the first status notification, updates the status of the locally stored order information to the resource transfer successful status.

2017、第一服务器通过第三方应用服务器向第一终端发送第二状态通知,第二状态通知用于指示第一服务器确认订单信息的状态为资源转移成功状态。2017. The first server sends a second status notification to the first terminal through the third-party application server, and the second status notification is used to instruct the first server to confirm that the status of the order information is a resource transfer successful status.

上述步骤2003至步骤2017与上述步骤803至步骤809、步骤1401至步骤1406、步骤1601至步骤1609类似,在此不再一一赘述。The above steps 2003 to 2017 are similar to the above steps 803 to 809, steps 1401 to 1406, and steps 1601 to 1609, and will not be repeated here.

图24是本发明实施例提供的一种跨区域资源转移装置的结构示意图,参见图24,该装置包括:调用模块2401、注册请求发送模块2402、第一接收模块2403、转移请求发送模块2404。FIG. 24 is a schematic structural diagram of a cross-region resource transfer device provided by an embodiment of the present invention. Referring to FIG. 24 , the device includes: a calling module 2401 , a registration request sending module 2402 , a first receiving module 2403 , and a transfer request sending module 2404 .

调用模块2401,用于基于第三方应用生成的订单信息调用目标应用,该第三方应用为与该目标应用不同的任一应用,该订单信息包括第一数量,该第一数量为待转移的第一类型资源的数量;The calling module 2401 is configured to call the target application based on the order information generated by the third-party application, the third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is the first quantity to be transferred. the number of resources of a type;

注册请求发送模块2402,用于通过该目标应用,向该目标应用关联的第一服务器发送第一资源转移注册请求,该第一资源转移注册请求携带该终端登录该目标应用的用户标识和该订单信息,由该第一服务器向该用户标识的资源账户所属的第二服务器发送第二资源转移注册请求,该第二资源转移注册请求携带该用户标识和该订单信息;A registration request sending module 2402, configured to send a first resource transfer registration request to a first server associated with the target application through the target application, where the first resource transfer registration request carries the user ID of the terminal logging into the target application and the order information, the first server sends a second resource transfer registration request to the second server to which the resource account identified by the user belongs, and the second resource transfer registration request carries the user identification and the order information;

第一接收模块2403,用于接收该第二服务器通过该第一服务器转发的资源转移入口,该资源转移入口由该第二服务器根据该订单信息生成;The first receiving module 2403 is configured to receive the resource transfer entry forwarded by the second server through the first server, where the resource transfer entry is generated by the second server according to the order information;

转移请求发送模块2404,用于基于该资源转移入口,向该第二服务器发送跨区域资源转移请求,由该第二服务器将该资源账户中第二数量的第二类型资源转移给第一目标账户,该第二数量的第二类型资源与该第一数量的第一类型资源等值。A transfer request sending module 2404, configured to send a cross-region resource transfer request to the second server based on the resource transfer entry, and the second server transfers a second quantity of second-type resources in the resource account to the first target account , the second quantity of resources of the second type is equivalent to the first quantity of resources of the first type.

可选地,如图25所示,该调用模块2401,包括:Optionally, as shown in Figure 25, the calling module 2401 includes:

显示单元24011,用于通过该第三方应用,显示资源转移确认界面,该资源转移确认界面用于发起对该订单信息的资源转移;The display unit 24011 is configured to display a resource transfer confirmation interface through the third-party application, and the resource transfer confirmation interface is used to initiate resource transfer of the order information;

第一调用单元24012,用于当基于该资源转移确认界面接收到确认指令时,通过该第三方应用调用该目标应用。The first calling unit 24012 is configured to call the target application through the third-party application when a confirmation instruction is received based on the resource transfer confirmation interface.

可选地,如图25所示,该调用模块2401,包括:Optionally, as shown in Figure 25, the calling module 2401 includes:

发送单元24013,用于通过该第三方应用,向该第三方应用关联的第三方应用服务器发送该目标应用的目标应用标识和该订单信息,由该第三方应用服务器根据该目标应用标识,向该第一服务器发送第三资源转移注册请求,该第三资源转移注册请求携带该订单信息,由该第一服务器通过该第三方应用服务器返回用于调用该目标应用的接口标识;Sending unit 24013, configured to send the target application identifier of the target application and the order information to a third-party application server associated with the third-party application through the third-party application, and the third-party application server sends the order information to the third-party application server according to the target application identifier. The first server sends a third resource transfer registration request, the third resource transfer registration request carries the order information, and the first server returns an interface identifier for invoking the target application through the third-party application server;

第二调用单元24014,用于当接收到该接口标识时,基于该接口标识对应的接口调用该目标应用。The second calling unit 24014 is configured to call the target application based on the interface corresponding to the interface identifier when receiving the interface identifier.

可选地,如图25所示,该资源转移入口为资源转移界面的界面链接,该转移请求发送模块2404,包括:Optionally, as shown in FIG. 25, the resource transfer entry is an interface link of the resource transfer interface, and the transfer request sending module 2404 includes:

显示单元24041,用于显示该界面链接对应的资源转移界面,该资源转移界面由该第二服务器根据该订单信息生成,该资源转移界面包括该第二数量;The display unit 24041 is configured to display the resource transfer interface corresponding to the interface link, the resource transfer interface is generated by the second server according to the order information, and the resource transfer interface includes the second quantity;

转移请求发送单元24042,用于当基于该资源转移界面接收到确认指令时,向该第二服务器发送该跨区域资源转移请求。The transfer request sending unit 24042 is configured to send the cross-region resource transfer request to the second server when a confirmation instruction is received based on the resource transfer interface.

可选地,如图25所示,该装置还包括:Optionally, as shown in Figure 25, the device also includes:

第二接收模块2405,用于接收该第二服务器基于该用户标识发送的第一状态通知,该第一状态通知用于指示该第二服务器确认该订单信息的状态为资源转移成功状态;The second receiving module 2405 is configured to receive a first status notification sent by the second server based on the user identifier, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status;

查询请求发送模块2406,用于向该第一服务器发送状态查询请求,该状态查询请求携带该订单信息,由该第一服务器根据该订单信息返回第二状态通知,该第二状态通知用于指示该第一服务器确认该订单信息的状态为资源转移成功状态;The query request sending module 2406 is configured to send a status query request to the first server, the status query request carries the order information, and the first server returns a second status notification according to the order information, and the second status notification is used to indicate The first server confirms that the status of the order information is a resource transfer successful status;

显示模块2407,当接收到该第二状态通知时,显示资源转移成功界面。The display module 2407, when receiving the second status notification, displays a resource transfer success interface.

图26是本发明实施例提供的一种跨区域资源转移装置的结构示意图,参见图26,该装置包括:第一接收模块2601、确定模块2602、注册请求发送模块2603、入口发送模块2604。FIG. 26 is a schematic structural diagram of a cross-region resource transfer device provided by an embodiment of the present invention. Referring to FIG. 26 , the device includes: a first receiving module 2601 , a determining module 2602 , a registration request sending module 2603 , and an entry sending module 2604 .

第一接收模块2601,用于接收终端通过目标应用发送的第一资源转移注册请求,该第一资源转移注册请求携带该终端登录该目标应用的用户标识和该终端通过第三方应用生成的订单信息,该第三方应用为与该目标应用不同的任一应用,该订单信息包括第一数量,该第一数量为待转移的第一类型资源的数量;The first receiving module 2601 is configured to receive a first resource transfer registration request sent by a terminal through a target application, where the first resource transfer registration request carries a user ID of the terminal logging into the target application and order information generated by the terminal through a third-party application , the third-party application is any application different from the target application, and the order information includes a first quantity, where the first quantity is the quantity of the first type of resources to be transferred;

确定模块2602,用于确定该用户标识的资源账户所属的第二服务器;A determining module 2602, configured to determine the second server to which the resource account identified by the user belongs;

注册请求发送模块2603,用于向该第二服务器发送第二资源转移注册请求,该第二资源转移注册请求携带该用户标识和该订单信息,由该第二服务器根据该订单信息生成资源转移入口;A registration request sending module 2603, configured to send a second resource transfer registration request to the second server, the second resource transfer registration request carries the user ID and the order information, and the second server generates a resource transfer entry according to the order information ;

入口发送模块2604,用于当接收到该第二服务器返回的该资源转移入口时,向该终端发送该资源转移入口,由该终端基于该资源转移入口向该第二服务器发送跨区域资源转移请求,由该第二服务器将该资源账户中第二数量的第二类型资源转移给第一目标账户,该第二数量的第二类型资源与该第一数量的第一类型资源等值。An entry sending module 2604, configured to send the resource transfer entry to the terminal when receiving the resource transfer entry returned by the second server, and the terminal sends a cross-region resource transfer request to the second server based on the resource transfer entry , the second server transfers a second quantity of second-type resources in the resource account to the first target account, where the second quantity of second-type resources is equivalent to the first quantity of first-type resources.

可选地,如图27所示,该装置还包括:Optionally, as shown in Figure 27, the device also includes:

注册请求接收模块2605,用于接收第三方应用服务器根据该目标应用的目标应用标识发送的第三资源转移注册请求,该第三资源转移注册请求携带该订单信息,该目标应用标识和该订单信息由该终端通过该第三方应用发送给该第三方应用服务器;A registration request receiving module 2605, configured to receive a third resource transfer registration request sent by a third-party application server according to the target application identifier of the target application, the third resource transfer registration request carrying the order information, the target application identifier and the order information sent by the terminal to the third-party application server through the third-party application;

接口标识发送模块2606,用于向该第三方应用服务器发送用于调用该目标应用的接口标识,由该第三方应用服务器向该终端转发该接口标识,由该终端基于该接口标识对应的接口调用该目标应用。The interface identifier sending module 2606 is configured to send the interface identifier used to call the target application to the third-party application server, and the third-party application server forwards the interface identifier to the terminal, and the terminal calls the corresponding interface based on the interface identifier The target application.

可选地,如图27所示,该注册请求发送模块2603,用于向跨区域监管服务器发送该第二资源转移注册请求,由该跨区域监管服务器对该订单信息验证通过后,将该第二资源转移注册请求转发给该第二服务器,该跨区域监管服务器用于监管跨区域的资源转移。Optionally, as shown in FIG. 27 , the registration request sending module 2603 is configured to send the second resource transfer registration request to the cross-regional supervision server, and after the cross-regional supervision server passes the verification of the order information, the second The resource transfer registration request is forwarded to the second server, and the cross-region supervision server is used to supervise cross-region resource transfer.

可选地,如图27所示,该装置还包括:Optionally, as shown in Figure 27, the device also includes:

状态通知接收模块2607,用于接收该第二服务器发送的第一状态通知,该第一状态通知用于指示该第二服务器确认该订单信息的状态为资源转移成功状态;A status notification receiving module 2607, configured to receive a first status notification sent by the second server, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status;

更新模块2608,用于基于该第一状态通知,将本地存储的该订单信息的状态更新为资源转移成功状态。An updating module 2608, configured to update the status of the locally stored order information to a status of successful resource transfer based on the first status notification.

可选地,如图27所示,该装置还包括:Optionally, as shown in Figure 27, the device also includes:

查询请求发送模块2609,用于向该第二服务器发送状态查询请求,该状态查询请求携带该订单信息,由该第二服务器返回该第一状态通知。The query request sending module 2609 is configured to send a status query request to the second server, the status query request carries the order information, and the second server returns the first status notification.

可选地,如图27所示,该装置还包括:Optionally, as shown in Figure 27, the device also includes:

查询请求接收模块2610,用于接收该终端发送的状态查询请求,该状态查询请求携带该订单信息;A query request receiving module 2610, configured to receive a status query request sent by the terminal, where the status query request carries the order information;

状态通知发送模块2611,用于根据该订单信息,向该终端发送第二状态通知,该第二状态通知用于指示该第一服务器确认该订单信息的状态为资源转移成功状态。The status notification sending module 2611 is configured to send a second status notification to the terminal according to the order information, and the second status notification is used to instruct the first server to confirm that the status of the order information is a resource transfer successful status.

可选地,如图27所示,该第一目标账户为该第二服务器配置的资源中转账户;第二目标账户为该第一服务器配置的资源中转账户;该装置还包括:Optionally, as shown in FIG. 27 , the first target account is a resource transfer account configured on the second server; the second target account is a resource transfer account configured on the first server; the device further includes:

第二接收模块2612,用于通过第二目标账户,接收该第二服务器从该第一目标账户转出的该第一数量的该第一类型资源;The second receiving module 2612 is configured to receive, through the second target account, the first amount of the first type of resources that the second server transfers out from the first target account;

转移模块2613,用于基于该订单信息,将该第二目标账户中该第一数量的该第一类型资源转移给该订单信息中的接收方账户。The transfer module 2613 is configured to transfer the first quantity of the first type resource in the second target account to the recipient account in the order information based on the order information.

图28是本发明实施例提供的一种跨区域资源转移装置的结构示意图,参见图28,该装置包括:第一接收模块2801、入口生成模块2802、入口发送模块2803、转移模块2804。FIG. 28 is a schematic structural diagram of a cross-region resource transfer device provided by an embodiment of the present invention. Referring to FIG. 28 , the device includes: a first receiving module 2801 , an entry generation module 2802 , an entry sending module 2803 , and a transfer module 2804 .

第一接收模块2801,用于接收第一服务器在接收到终端发送的第一资源转移注册请求后发送的第二资源转移注册请求,该第一资源转移注册请求由该终端基于第三方应用生成的订单信息调用目标应用后发送,该第二资源转移注册请求携带该终端登录该目标应用的用户标识和该订单信息,该第三方应用为与该目标应用不同的任一应用,该订单信息包括第一数量,该第一数量为待转移的第一类型资源的数量;The first receiving module 2801 is configured to receive the second resource transfer registration request sent by the first server after receiving the first resource transfer registration request sent by the terminal, where the first resource transfer registration request is generated by the terminal based on a third-party application The order information is sent after calling the target application. The second resource transfer registration request carries the user ID of the terminal logging into the target application and the order information. The third-party application is any application different from the target application, and the order information includes the first A quantity, the first quantity is the quantity of the first type of resource to be transferred;

入口生成模块2802,用于根据该订单信息生成资源转移入口;An entry generation module 2802, configured to generate a resource transfer entry according to the order information;

入口发送模块2803,用于向该第一服务器发送该资源转移入口,由该第一服务器向该终端转发该资源转移入口,由该终端基于该资源转移入口,向该第二服务器发送跨区域资源转移请求;An entry sending module 2803, configured to send the resource transfer entry to the first server, the first server forwards the resource transfer entry to the terminal, and the terminal sends the cross-region resource to the second server based on the resource transfer entry transfer request;

转移模块2804,用于当接收到该跨区域资源转移请求时,将该用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,该第二数量的第二类型资源与该第一数量的第一类型资源等值。The transfer module 2804 is configured to, when receiving the cross-regional resource transfer request, transfer a second quantity of second-type resources in the resource account identified by the user to the first target account, and the second quantity of second-type resources is the same as The first quantity of resources of the first type is equivalent.

可选地,如图29所示,该装置还包括:Optionally, as shown in Figure 29, the device also includes:

第一获取模块2805,用于获取该第一类型资源与该第二类型资源之间的换算比例;The first acquiring module 2805 is configured to acquire the conversion ratio between the first type resource and the second type resource;

第二获取模块2806,用于根据该换算比例,获取与该第一数量的第一类型资源等值的该第二类型资源的数量,作为该第二数量。The second obtaining module 2806 is configured to obtain, according to the conversion ratio, the quantity of the second type of resources that is equivalent to the first quantity of the first type of resources as the second quantity.

可选地,如图29所示,该装置还包括以下至少一个模块;Optionally, as shown in Figure 29, the device further includes at least one of the following modules;

第一发送模块2807,用于向该第一服务器发送第一状态通知,该第一状态通知用于指示该第二服务器确认该订单信息的状态为资源转移成功状态;The first sending module 2807 is configured to send a first status notification to the first server, where the first status notification is used to instruct the second server to confirm that the status of the order information is a resource transfer successful status;

第二发送模块2808,用于基于该用户标识,向该终端发送该第一状态通知。The second sending module 2808 is configured to send the first status notification to the terminal based on the user identifier.

可选地,如图29所示,该装置还包括:Optionally, as shown in Figure 29, the device also includes:

第二接收模块2809,用于接收该第一服务器发送的状态查询请求,该状态查询请求携带该订单信息。The second receiving module 2809 is configured to receive the status query request sent by the first server, where the status query request carries the order information.

可选地,该第一目标账户为该第二服务器配置的资源中转账户;第二目标账户为该第一服务器配置的资源中转账户;Optionally, the first target account is a resource transfer account configured by the second server; the second target account is a resource transfer account configured by the first server;

该转移模块2804,还用于将该第一目标账户中该第一数量的该第一类型资源转移给该第二目标账户,由该第一服务器基于该订单信息将该第二目标账户中该第一数量的该第一类型资源转移给该订单信息中的接收方账户。The transfer module 2804 is further configured to transfer the first quantity of the first type resource in the first target account to the second target account, and the first server based on the order information The first quantity of the first type of resource is transferred to the receiver's account in the order information.

图30是本发明实施例提供的一种跨区域资源转移装置的结构示意图,参见图30,该装置包括:转移请求接收模块3001、确定模块3002、转移请求发送模块3003。FIG. 30 is a schematic structural diagram of a cross-region resource transfer device provided by an embodiment of the present invention. Referring to FIG. 30 , the device includes: a transfer request receiving module 3001 , a determining module 3002 , and a transfer request sending module 3003 .

转移请求接收模块3001,用于接收终端发送的资源转移请求,该资源转移请求携带用户标识和订单信息,该用户标识由该终端通过扫描包含该用户标识的图形码得到,该订单信息包括第一数量,该第一数量为待转移的第一类型资源的数量;The transfer request receiving module 3001 is configured to receive a resource transfer request sent by a terminal, the resource transfer request carries a user ID and order information, the user ID is obtained by the terminal by scanning a graphic code containing the user ID, and the order information includes the first Quantity, the first quantity is the quantity of the first type resource to be transferred;

确定模块3002,用于确定该用户标识的资源账户所属的第二服务器;A determining module 3002, configured to determine the second server to which the resource account identified by the user belongs;

转移请求发送模块3003,用于向该第二服务器发送跨区域资源转移请求,该跨区域资源转移请求携带该用户标识和该订单信息,由该第二服务器将该用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,该第二数量的第二类型资源与该第一数量的第一类型资源等值。A transfer request sending module 3003, configured to send a cross-region resource transfer request to the second server, the cross-region resource transfer request carries the user identifier and the order information, and the second server in the resource account identified by the user A quantity of resources of the second type is transferred to the first target account, and the second quantity of resources of the second type is equivalent to the first quantity of resources of the first type.

图31是本发明实施例提供的一种跨区域资源转移装置的结构示意图,参见图31,该装置包括:转移请求接收模块3101、资源转移模块3102。FIG. 31 is a schematic structural diagram of a cross-region resource transfer device provided by an embodiment of the present invention. Referring to FIG. 31 , the device includes: a transfer request receiving module 3101 and a resource transfer module 3102 .

转移请求接收模块3101,用于接收第一服务器在接收到终端发送的资源转移请求后发送的跨区域资源转移请求,该资源转移请求携带用户标识和订单信息,该用户标识由该终端通过扫描包含该用户标识的图形码得到,该订单信息包括第一数量,该第一数量为待转移的第一类型资源的数量;The transfer request receiving module 3101 is configured to receive the cross-region resource transfer request sent by the first server after receiving the resource transfer request sent by the terminal, the resource transfer request carries user identification and order information, and the user identification is included by the terminal through scanning The graphic code of the user identification is obtained, the order information includes a first quantity, and the first quantity is the quantity of the first type of resources to be transferred;

资源转移模块3102,用于将该用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,该第二数量的第二类型资源与该第一数量的第一类型资源等值。A resource transfer module 3102, configured to transfer a second quantity of resources of the second type in the resource account identified by the user to the first target account, the second quantity of resources of the second type is the same as the first quantity of resources of the first type, etc. value.

可选地,如图32所示,该资源转移模块3102包括:Optionally, as shown in Figure 32, the resource transfer module 3102 includes:

发送单元31021,用于基于该用户标识,向该终端发送验证指令,由该终端显示密码验证界面,获取在该密码验证界面中输入的密码;The sending unit 31021 is configured to send a verification instruction to the terminal based on the user ID, and the terminal displays a password verification interface to acquire the password entered in the password verification interface;

接收单元31022,用于接收该终端发送的该密码;a receiving unit 31022, configured to receive the password sent by the terminal;

资源转移单元31023,用于当确定该密码为该用户标识的正确密码时,将该资源账户中该第二数量的第二类型资源转移给该第一目标账户。The resource transfer unit 31023 is configured to transfer the second quantity of resources of the second type in the resource account to the first target account when it is determined that the password is the correct password of the user ID.

本发明实施例提供的计算机设备的一种具体表现形式可以是终端,图33是本发明实施例提供的一种终端的结构框图。该终端3300用于执行上述实施例中终端或智能设备执行的步骤,可以是便携式移动终端,比如:智能手机、平板电脑、MP3播放器(Moving PictureExperts Group Audio Layer III,动态影像专家压缩标准音频层面3)、MP4(MovingPicture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、笔记本电脑或台式电脑。终端3300还可能被称为用户设备、便携式终端、膝上型终端、台式终端等其他名称。A specific form of computer equipment provided by an embodiment of the present invention may be a terminal, and FIG. 33 is a structural block diagram of a terminal provided by an embodiment of the present invention. The terminal 3300 is used to execute the steps performed by the terminal or smart device in the above-mentioned embodiments, and may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, moving picture expert compression standard audio layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compressed standard audio layer 4) player, laptop or desktop computer. The terminal 3300 may also be called user equipment, portable terminal, laptop terminal, desktop terminal and other names.

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

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

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

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

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

射频电路3304用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路3304通过电磁信号与通信网络以及其他通信设备进行通信。射频电路3304将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路3304包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路3304可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:万维网、城域网、内联网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路3304还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The radio frequency circuit 3304 is used to receive and transmit RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 3304 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 3304 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 3304 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 3304 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: World Wide Web, Metropolitan Area Network, Intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, Wireless Fidelity) network. In some embodiments, the radio frequency circuit 3304 may also include circuits related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.

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

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

在一些实施例中,终端3300还包括有一个或多个传感器3310。该一个或多个传感器3310包括但不限于:加速度传感器3311、陀螺仪传感器3312、压力传感器3313、指纹传感器3314、光学传感器3315以及接近传感器3316。In some embodiments, the terminal 3300 also includes one or more sensors 3310 . The one or more sensors 3310 include, but are not limited to: an acceleration sensor 3311 , a gyroscope sensor 3312 , a pressure sensor 3313 , a fingerprint sensor 3314 , an optical sensor 3315 and a proximity sensor 3316 .

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

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

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

本发明实施例提供的计算机设备的一种具体表现形式可以是服务器,图34是本发明实施例提供的一种服务器的结构示意图,该服务器3400可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(central processing units,CPU)3401和一个或一个以上的存储器3402,其中,存储器3402中存储有至少一条指令,至少一条指令由处理器3401加载并执行以实现上述各个方法实施例提供的方法。当然,该服务器还可以具有有线或无线网络接口、键盘以及输入输出接口等部件,以便进行输入输出,该服务器还可以包括其他用于实现设备功能的部件,在此不做赘述。A specific manifestation of the computer equipment provided by the embodiment of the present invention may be a server. FIG. 34 is a schematic structural diagram of a server provided by the embodiment of the present invention. The server 3400 may have relatively large differences due to different configurations or performances. It may include one or more processors (central processing units, CPU) 3401 and one or more memory 3402, wherein at least one instruction is stored in the memory 3402, and at least one instruction is loaded and executed by the processor 3401 to implement the above-mentioned various The method provided by the method embodiment. Certainly, the server may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server may also include other components for realizing device functions, which will not be repeated here.

服务器3400可以用于执行上述跨区域资源转移方法中即时通信服务器所执行的步骤。The server 3400 may be configured to perform the steps performed by the instant messaging server in the above cross-regional resource transfer method.

本发明实施例还提供了一种计算机设备,该计算机设备包括处理器和存储器,该存储器中存储有至少一条指令,该指令由处理器加载并执行以实现上述实施例的跨区域资源转移方法中所执行的操作。An embodiment of the present invention also provides a computer device, the computer device includes a processor and a memory, at least one instruction is stored in the memory, and the instruction is loaded and executed by the processor to implement the cross-region resource transfer method of the above embodiment The action performed.

本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有至少一条指令,该指令由处理器加载并执行以实现上述实施例的跨区域资源转移方法中所执行的操作。An embodiment of the present invention also provides a computer-readable storage medium, at least one instruction is stored in the computer-readable storage medium, and the instruction is loaded and executed by a processor to implement the method executed in the cross-region resource transfer method of the above-mentioned embodiment. operation.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.

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

Claims (15)

Translated fromChinese
1.一种跨区域资源转移方法,其特征在于,应用于终端,所述方法包括:1. A cross-regional resource transfer method, characterized in that it is applied to a terminal, and the method comprises:基于第三方应用生成的订单信息调用目标应用,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;Invoking a target application based on order information generated by a third-party application, where the third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is a first type to be transferred the amount of resources;通过所述目标应用,向所述目标应用关联的第一服务器发送第一资源转移注册请求,所述第一资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述订单信息,由所述第一服务器向所述用户标识的资源账户所属的第二服务器发送第二资源转移注册请求,所述第二资源转移注册请求携带所述用户标识和所述订单信息;Using the target application, sending a first resource transfer registration request to a first server associated with the target application, where the first resource transfer registration request carries the user ID of the terminal logging into the target application and the order information, The first server sends a second resource transfer registration request to a second server to which the resource account identified by the user belongs, and the second resource transfer registration request carries the user identifier and the order information;接收所述第二服务器通过所述第一服务器转发的资源转移入口,所述资源转移入口由所述第二服务器根据所述订单信息生成;receiving a resource transfer entry forwarded by the second server through the first server, the resource transfer entry being generated by the second server according to the order information;基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求,由所述第二服务器将所述资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。Based on the resource transfer entry, a cross-region resource transfer request is sent to the second server, and the second server transfers a second quantity of resources of the second type in the resource account to the first target account, and the second server Two quantities of resources of the second type are equivalent to the first quantity of resources of the first type.2.根据权利要求1所述的方法,其特征在于,所述资源转移入口为资源转移界面的界面链接,所述基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求,包括:2. The method according to claim 1, wherein the resource transfer entry is an interface link of a resource transfer interface, and based on the resource transfer entry, a cross-region resource transfer request is sent to the second server, include:显示所述界面链接对应的资源转移界面,所述资源转移界面由所述第二服务器根据所述订单信息生成,所述资源转移界面包括所述第二数量;Displaying a resource transfer interface corresponding to the interface link, the resource transfer interface is generated by the second server according to the order information, and the resource transfer interface includes the second quantity;当基于所述资源转移界面接收到确认指令时,向所述第二服务器发送所述跨区域资源转移请求。When receiving a confirmation instruction based on the resource transfer interface, sending the cross-region resource transfer request to the second server.3.一种跨区域资源转移方法,其特征在于,应用于第一服务器,所述方法包括:3. A cross-regional resource transfer method, characterized in that it is applied to the first server, the method comprising:接收终端通过目标应用发送的第一资源转移注册请求,所述第一资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述终端通过第三方应用生成的订单信息,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;receiving the first resource transfer registration request sent by the terminal through the target application, the first resource transfer registration request carrying the user ID of the terminal logging into the target application and the order information generated by the terminal through a third-party application, the first The third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is the quantity of the first type of resources to be transferred;确定所述用户标识的资源账户所属的第二服务器;determining the second server to which the resource account identified by the user belongs;向所述第二服务器发送第二资源转移注册请求,所述第二资源转移注册请求携带所述用户标识和所述订单信息,由所述第二服务器根据所述订单信息生成资源转移入口;Sending a second resource transfer registration request to the second server, where the second resource transfer registration request carries the user identifier and the order information, and the second server generates a resource transfer entry according to the order information;当接收到所述第二服务器返回的所述资源转移入口时,向所述终端发送所述资源转移入口,由所述终端基于所述资源转移入口向所述第二服务器发送跨区域资源转移请求,由所述第二服务器将所述资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。When receiving the resource transfer entry returned by the second server, sending the resource transfer entry to the terminal, and the terminal sends a cross-region resource transfer request to the second server based on the resource transfer entry , the second server transfers a second amount of resources of the second type in the resource account to the first target account, the second amount of resources of the second type is the same as the first amount of resources of the first type, etc. value.4.根据权利要求3所述的方法,其特征在于,所述向所述第二服务器发送第二资源转移注册请求,包括:4. The method according to claim 3, wherein the sending a second resource transfer registration request to the second server comprises:向跨区域监管服务器发送所述第二资源转移注册请求,由所述跨区域监管服务器对所述订单信息验证通过后,将所述第二资源转移注册请求存储至区块链系统中,将所述第二资源转移注册请求转发给所述第二服务器,所述跨区域监管服务器为所述区块链系统中的节点设备,用于监管跨区域的资源转移。Send the second resource transfer registration request to the cross-regional supervision server, and after the cross-regional supervision server verifies the order information, store the second resource transfer registration request in the block chain system, and store the The second resource transfer registration request is forwarded to the second server, and the cross-region supervision server is a node device in the blockchain system, and is used to supervise cross-region resource transfer.5.一种跨区域资源转移方法,其特征在于,应用于第二服务器,所述方法包括:5. A cross-regional resource transfer method, characterized in that it is applied to the second server, the method comprising:接收第一服务器在接收到终端发送的第一资源转移注册请求后发送的第二资源转移注册请求,所述第一资源转移注册请求由所述终端基于第三方应用生成的订单信息调用目标应用后发送,所述第二资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述订单信息,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;receiving the second resource transfer registration request sent by the first server after receiving the first resource transfer registration request sent by the terminal, after the first resource transfer registration request is invoked by the terminal based on the order information generated by the third-party application to the target application Sending, the second resource transfer registration request carries the user ID of the terminal logging into the target application and the order information, the third-party application is any application different from the target application, and the order information includes A first quantity, where the first quantity is the quantity of the first type of resources to be transferred;根据所述订单信息生成资源转移入口;Generate a resource transfer entry according to the order information;向所述第一服务器发送所述资源转移入口,由所述第一服务器向所述终端转发所述资源转移入口,由所述终端基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求;sending the resource transfer entry to the first server, forwarding the resource transfer entry to the terminal by the first server, and sending the cross-regional transfer entry to the second server by the terminal based on the resource transfer entry resource transfer request;当接收到所述跨区域资源转移请求时,将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。When the cross-region resource transfer request is received, transfer a second quantity of resources of the second type in the resource account identified by the user to a first target account, the second quantity of resources of the second type are identical to the first target account A quantity equivalent to the resource of the first type.6.根据权利要求5所述的方法,其特征在于,所述接收第一服务器接收到终端发送的第一资源转移注册请求后发送的第二资源转移注册请求之后,所述方法还包括:6. The method according to claim 5, wherein after receiving the second resource transfer registration request sent by the first server after receiving the first resource transfer registration request sent by the terminal, the method further comprises:获取所述第一类型资源与所述第二类型资源之间的换算比例;Obtain a conversion ratio between the first type of resource and the second type of resource;根据所述换算比例,获取与所述第一数量的第一类型资源等值的所述第二类型资源的数量,作为所述第二数量。According to the conversion ratio, the quantity of the second type resource equivalent to the first quantity of the first type resource is acquired as the second quantity.7.一种跨区域资源转移方法,其特征在于,应用于第一服务器,所述方法包括:7. A cross-regional resource transfer method, characterized in that it is applied to the first server, the method comprising:接收终端发送的资源转移请求,所述资源转移请求携带用户标识和订单信息,所述用户标识由所述终端通过扫描包含所述用户标识的图形码得到,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;receiving a resource transfer request sent by a terminal, the resource transfer request carrying a user ID and order information, the user ID is obtained by the terminal by scanning a graphic code containing the user ID, the order information includes a first quantity, and the The first quantity is the quantity of the first type of resources to be transferred;确定所述用户标识的资源账户所属的第二服务器;determining the second server to which the resource account identified by the user belongs;向所述第二服务器发送跨区域资源转移请求,所述跨区域资源转移请求携带所述用户标识和所述订单信息,由所述第二服务器将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。sending a cross-region resource transfer request to the second server, where the cross-region resource transfer request carries the user identifier and the order information, and the second server assigns the second number of resources in the resource account identified by the user The second-type resources are transferred to the first target account, and the second amount of the second-type resources is equivalent to the first amount of the first-type resources.8.一种跨区域资源转移方法,其特征在于,应用于第二服务器,所述方法包括:8. A cross-regional resource transfer method, characterized in that it is applied to the second server, and the method comprises:接收第一服务器在接收到终端发送的资源转移请求后发送的跨区域资源转移请求,所述资源转移请求携带用户标识和订单信息,所述用户标识由所述终端通过扫描包含所述用户标识的图形码得到,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;receiving the cross-region resource transfer request sent by the first server after receiving the resource transfer request sent by the terminal, the resource transfer request carrying the user ID and order information, the user ID is scanned by the terminal by scanning the The graphic code is obtained, the order information includes a first quantity, and the first quantity is the quantity of the first type of resource to be transferred;将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。Transferring a second amount of resources of the second type in the resource account identified by the user to the first target account, where the second amount of resources of the second type is equivalent to the first amount of resources of the first type.9.一种跨区域资源转移装置,其特征在于,应用于终端,所述装置包括:9. A cross-regional resource transfer device, characterized in that it is applied to a terminal, and the device includes:调用模块,用于基于第三方应用生成的订单信息调用目标应用,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;A calling module, configured to call a target application based on order information generated by a third-party application, where the third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is to be the amount of Type 1 resources transferred;注册请求发送模块,用于通过所述目标应用,向所述目标应用关联的第一服务器发送第一资源转移注册请求,所述第一资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述订单信息,由所述第一服务器向所述用户标识的资源账户所属的第二服务器发送第二资源转移注册请求,所述第二资源转移注册请求携带所述用户标识和所述订单信息;A registration request sending module, configured to send, through the target application, a first resource transfer registration request to a first server associated with the target application, where the first resource transfer registration request carries the user of the terminal logging into the target application identifier and the order information, the first server sends a second resource transfer registration request to the second server to which the resource account of the user identifier belongs, and the second resource transfer registration request carries the user identifier and the order information;第一接收模块,用于接收所述第二服务器通过所述第一服务器转发的资源转移入口,所述资源转移入口由所述第二服务器根据所述订单信息生成;A first receiving module, configured to receive a resource transfer entry forwarded by the second server through the first server, where the resource transfer entry is generated by the second server according to the order information;转移请求发送模块,用于基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求,由所述第二服务器将所述资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。A transfer request sending module, configured to send a cross-region resource transfer request to the second server based on the resource transfer entry, and the second server transfers a second quantity of second-type resources in the resource account to the second server. A target account, the second quantity of resources of the second type is equivalent to the first quantity of resources of the first type.10.一种跨区域资源转移装置,其特征在于,应用于第一服务器中,所述装置包括:10. A cross-regional resource transfer device, characterized in that it is applied to the first server, and the device comprises:第一接收模块,用于接收终端通过目标应用发送的第一资源转移注册请求,所述第一资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述终端通过第三方应用生成的订单信息,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;The first receiving module is configured to receive a first resource transfer registration request sent by a terminal through a target application, where the first resource transfer registration request carries the user identifier of the terminal logging into the target application and the terminal generated by the third-party application The order information of the third-party application is any application different from the target application, the order information includes a first quantity, and the first quantity is the quantity of the first type of resources to be transferred;确定模块,用于确定所述用户标识的资源账户所属的第二服务器;A determining module, configured to determine a second server to which the resource account identified by the user belongs;注册请求发送模块,用于向所述第二服务器发送第二资源转移注册请求,所述第二资源转移注册请求携带所述用户标识和所述订单信息,由所述第二服务器根据所述订单信息生成资源转移入口;A registration request sending module, configured to send a second resource transfer registration request to the second server, where the second resource transfer registration request carries the user identifier and the order information, and the second server sends the registration request according to the order Information generation resource transfer entry;入口发送模块,用于当接收到所述第二服务器返回的所述资源转移入口时,向所述终端发送所述资源转移入口,由所述终端基于所述资源转移入口向所述第二服务器发送跨区域资源转移请求,由所述第二服务器将所述资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。An entry sending module, configured to send the resource transfer entry to the terminal when receiving the resource transfer entry returned by the second server, and the terminal sends the resource transfer entry to the second server based on the resource transfer entry sending a cross-region resource transfer request, the second server transfers a second quantity of resources of the second type in the resource account to the first target account, and the second quantity of resources of the second type is the same as the first quantity The first-type resource equivalent of .11.一种跨区域资源转移装置,其特征在于,应用于第二服务器,所述装置包括:11. A cross-regional resource transfer device, characterized in that it is applied to a second server, and the device comprises:第一接收模块,用于接收第一服务器在接收到终端发送的第一资源转移注册请求后发送的第二资源转移注册请求,所述第一资源转移注册请求由所述终端基于第三方应用生成的订单信息调用目标应用后发送,所述第二资源转移注册请求携带所述终端登录所述目标应用的用户标识和所述订单信息,所述第三方应用为与所述目标应用不同的任一应用,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;The first receiving module is configured to receive the second resource transfer registration request sent by the first server after receiving the first resource transfer registration request sent by the terminal, the first resource transfer registration request is generated by the terminal based on a third-party application The order information of the target application is sent after calling the target application, the second resource transfer registration request carries the user ID of the terminal logging into the target application and the order information, and the third-party application is any In the application, the order information includes a first quantity, and the first quantity is the quantity of the first type of resources to be transferred;入口生成模块,用于根据所述订单信息生成资源转移入口;An entry generating module, configured to generate a resource transfer entry according to the order information;入口发送模块,用于向所述第一服务器发送所述资源转移入口,由所述第一服务器向所述终端转发所述资源转移入口,由所述终端基于所述资源转移入口,向所述第二服务器发送跨区域资源转移请求;An entry sending module, configured to send the resource transfer entry to the first server, forward the resource transfer entry to the terminal by the first server, and send the resource transfer entry to the terminal based on the resource transfer entry The second server sends a cross-regional resource transfer request;转移模块,用于当接收到所述跨区域资源转移请求时,将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。A transfer module, configured to transfer a second quantity of resources of the second type in the resource account identified by the user to the first target account when the cross-regional resource transfer request is received, and the second quantity of resources of the second type The resources are equivalent to the first quantity of resources of the first type.12.一种跨区域资源转移装置,其特征在于,应用于第一服务器,所述装置包括:12. A cross-regional resource transfer device, characterized in that it is applied to the first server, and the device comprises:转移请求接收模块,用于接收终端发送的资源转移请求,所述资源转移请求携带用户标识和订单信息,所述用户标识由所述终端通过扫描包含所述用户标识的图形码得到,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;A transfer request receiving module, configured to receive a resource transfer request sent by a terminal, the resource transfer request carries a user ID and order information, the user ID is obtained by the terminal by scanning a graphic code containing the user ID, and the order The information includes a first quantity, the first quantity being the quantity of the first type of resources to be transferred;确定模块,用于确定所述用户标识的资源账户所属的第二服务器;A determining module, configured to determine a second server to which the resource account identified by the user belongs;转移请求发送模块,用于向所述第二服务器发送跨区域资源转移请求,所述跨区域资源转移请求携带所述用户标识和所述订单信息,由所述第二服务器将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。A transfer request sending module, configured to send a cross-region resource transfer request to the second server, where the cross-region resource transfer request carries the user identifier and the order information, and the second server sends the user identifier A second amount of resources of the second type in the resource account is transferred to the first target account, and the second amount of resources of the second type is equivalent to the first amount of resources of the first type.13.一种跨区域资源转移装置,其特征在于,应用于第二服务器,所述装置包括:13. A cross-regional resource transfer device, characterized in that it is applied to a second server, and the device comprises:转移请求接收模块,用于接收第一服务器在接收到终端发送的资源转移请求后发送的跨区域资源转移请求,所述资源转移请求携带用户标识和订单信息,所述用户标识由所述终端通过扫描包含所述用户标识的图形码得到,所述订单信息包括第一数量,所述第一数量为待转移的第一类型资源的数量;The transfer request receiving module is configured to receive a cross-region resource transfer request sent by the first server after receiving the resource transfer request sent by the terminal, the resource transfer request carries user identification and order information, and the user identification is passed by the terminal Obtained by scanning the graphic code containing the user identification, the order information includes a first quantity, and the first quantity is the quantity of the first type of resource to be transferred;资源转移模块,用于将所述用户标识的资源账户中第二数量的第二类型资源转移给第一目标账户,所述第二数量的第二类型资源与所述第一数量的第一类型资源等值。A resource transfer module, configured to transfer a second quantity of resources of the second type in the resource account identified by the user to a first target account, the second quantity of resources of the second type is the same as the first quantity of resources of the first type resource equivalent.14.一种计算机设备,其特征在于,所述计算机设备包括处理器和存储器,所述存储器中存储有至少一条指令、至少一段程序、代码集或指令集,所述指令、所述程序、所述代码集或所述指令集由所述处理器加载并执行以实现如权利要求1-2任一项所述的跨区域资源转移方法中所执行的操作;或者,14. A computer device, characterized in that the computer device includes a processor and a memory, at least one instruction, at least one section of program, code set or instruction set are stored in the memory, the instruction, the program, the The code set or the instruction set is loaded and executed by the processor to implement the operations performed in the cross-region resource transfer method according to any one of claims 1-2; or,实现如权利要求3-4任一项所述的跨区域资源转移方法中所执行的操作;或者,Realize the operations performed in the cross-regional resource transfer method according to any one of claims 3-4; or,实现如权利要求5-6任一项所述的跨区域资源转移方法中所执行的操作;或者,Realize the operations performed in the cross-regional resource transfer method according to any one of claims 5-6; or,实现如权利要求7所述的跨区域资源转移方法中所执行的操作;或者,Realize the operations performed in the cross-regional resource transfer method as claimed in claim 7; or,实现如权利要求8所述的跨区域资源转移方法中所执行的操作。The operations performed in the cross-regional resource transfer method as claimed in claim 8 are realized.15.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述指令、所述程序、所述代码集或所述指令集由处理器加载并具有以实现如权利要求1-2任一项所述的跨区域资源转移方法中所执行的操作;或者,15. A computer-readable storage medium, characterized in that at least one instruction, at least one section of program, code set or instruction set is stored in the computer-readable storage medium, and the instruction, the program, the code set Or the instruction set is loaded by the processor and has the operation performed in the cross-regional resource transfer method as described in any one of claims 1-2; or,实现如权利要求3-4任一项所述的跨区域资源转移方法中所执行的操作;或者,Realize the operations performed in the cross-regional resource transfer method according to any one of claims 3-4; or,实现如权利要求5-6任一项所述的跨区域资源转移方法中所执行的操作;或者,Realize the operations performed in the cross-regional resource transfer method according to any one of claims 5-6; or,实现如权利要求7所述的跨区域资源转移方法中所执行的操作;或者,Realize the operations performed in the cross-regional resource transfer method as claimed in claim 7; or,实现如权利要求8所述的跨区域资源转移方法中所执行的操作。The operations performed in the cross-regional resource transfer method as claimed in claim 8 are realized.
CN201910855038.XA2019-09-102019-09-10Cross-region resource transfer method, device, equipment and storage mediumActiveCN110570282B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN201910855038.XACN110570282B (en)2019-09-102019-09-10Cross-region resource transfer method, device, equipment and storage medium
CN201911296656.1ACN111080275B (en)2019-09-102019-09-10Cross-region resource transfer method, device, equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910855038.XACN110570282B (en)2019-09-102019-09-10Cross-region resource transfer method, device, equipment and storage medium

Related Child Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911296656.1ADivisionCN111080275B (en)2019-09-102019-09-10Cross-region resource transfer method, device, equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN110570282Atrue CN110570282A (en)2019-12-13
CN110570282B CN110570282B (en)2023-08-18

Family

ID=68779164

Family Applications (2)

Application NumberTitlePriority DateFiling Date
CN201910855038.XAActiveCN110570282B (en)2019-09-102019-09-10Cross-region resource transfer method, device, equipment and storage medium
CN201911296656.1AActiveCN111080275B (en)2019-09-102019-09-10Cross-region resource transfer method, device, equipment and storage medium

Family Applications After (1)

Application NumberTitlePriority DateFiling Date
CN201911296656.1AActiveCN111080275B (en)2019-09-102019-09-10Cross-region resource transfer method, device, equipment and storage medium

Country Status (1)

CountryLink
CN (2)CN110570282B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111061567A (en)*2019-12-172020-04-24腾讯科技(深圳)有限公司Resource data processing method and device, computer readable storage medium and computer equipment
CN111080371A (en)*2019-12-232020-04-28北京每日优鲜电子商务有限公司Method, device and storage medium for issuing resources to user account
CN111131440A (en)*2019-12-202020-05-08腾讯科技(深圳)有限公司Resource scheduling method and device and server
CN111131490A (en)*2019-12-302020-05-08北京三快在线科技有限公司State updating method and device, computer equipment and storage medium
CN111179061A (en)*2019-12-302020-05-19支付宝实验室(新加坡)有限公司Resource transfer processing method, device and equipment
CN111192041A (en)*2020-02-202020-05-22腾讯科技(深圳)有限公司Resource transfer method and resource transfer device
CN111402035A (en)*2020-03-202020-07-10支付宝实验室(新加坡)有限公司Resource transfer method, device, equipment and system
CN111861252A (en)*2020-07-292020-10-30北京达佳互联信息技术有限公司Electronic resource transmission method and device and server
CN112581141A (en)*2021-02-222021-03-30支付宝(杭州)信息技术有限公司Transaction processing method, device and system based on block chain
CN112801658A (en)*2020-07-312021-05-14支付宝(杭州)信息技术有限公司Cross-border resource transfer authenticity auditing method and device and electronic equipment
WO2021147589A1 (en)*2020-01-212021-07-29支付宝(杭州)信息技术有限公司Subscription method, apparatus and device
CN114331394A (en)*2020-09-302022-04-12腾讯科技(深圳)有限公司Resource processing method, resource processing device, computer equipment and storage medium
CN114493578A (en)*2022-01-192022-05-13深圳Tcl新技术有限公司 A user registration method, device, storage medium and server
WO2025002329A1 (en)*2023-06-302025-01-02北京有竹居网络技术有限公司Traffic scheduling method and apparatus for application, and device and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111552945B (en)*2020-05-272021-12-07支付宝(杭州)信息技术有限公司Resource processing method, device and equipment
CN111738732B (en)*2020-06-162024-12-20中国建设银行股份有限公司 Order processing method, device and equipment
CN111773666B (en)*2020-08-132024-07-19网易(杭州)网络有限公司Order data processing method and device, storage medium and electronic device
CN114387051A (en)*2020-10-222022-04-22腾讯科技(深圳)有限公司Order processing method and device, computer equipment and storage medium
CN112581284B (en)*2020-12-282024-05-03深圳海付移通科技有限公司Method, system, computer equipment and storage medium for processing resource transfer data
CN112737796B (en)*2020-12-312023-07-18中国联合网络通信集团有限公司 Cross-regional user communication fee transfer method, device, equipment, medium and product
CN115119018B (en)*2021-03-172023-12-01腾讯科技(深圳)有限公司Video processing method, device, computer equipment and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020104878A1 (en)*1999-10-262002-08-08First Data CorporationSystems and methods of introducing and receiving information across a computer network
US20060015452A1 (en)*2004-07-142006-01-19Mani KulasooriyaSystems and methods for implementing account-to-account international money exchanges
CN102630321A (en)*2009-09-172012-08-08加拿大皇家铸币厂Asset storage and transfer system for electronic purses
US20130179681A1 (en)*2012-01-102013-07-11Jpmorgan Chase Bank, N.A.System And Method For Device Registration And Authentication
WO2014081282A1 (en)*2012-11-012014-05-30Jan MeursSystem and method for controlling an amount of money corresponding to a bank account
US20150142650A1 (en)*2013-11-152015-05-21The Fusion Network LLCCentralized financial account migration system
WO2015096800A1 (en)*2013-12-272015-07-02腾讯科技(深圳)有限公司Data processing method, intermediate server and system
WO2015187099A1 (en)*2014-06-042015-12-10Numoni Pte LtdA system for money remittance and method thereof
CN105701651A (en)*2016-01-112016-06-22何伯祥Cross-regional settlement transaction system and method
CN106940857A (en)*2016-01-042017-07-11阿里巴巴集团控股有限公司Business backing method and device
US20180150900A1 (en)*2016-11-302018-05-31Bank Of America CorporationResource delivery via automated channel and virtual record
CN108667841A (en)*2018-05-112018-10-16深圳市网心科技有限公司 Network service realization method, server and storage medium
CN108830572A (en)*2018-06-152018-11-16腾讯科技(深圳)有限公司Resource transfers method, apparatus, storage medium and equipment
CN109801051A (en)*2017-11-162019-05-24财付通支付科技有限公司Resource transfers method, system, server and computer readable storage medium
CN109802916A (en)*2017-11-162019-05-24财付通支付科技有限公司Resource transfers method, system, server and computer readable storage medium
CN110210842A (en)*2018-05-082019-09-06腾讯科技(深圳)有限公司Resource transfers method, system, device, storage medium and computer equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104392350B (en)*2014-11-032019-06-14腾讯科技(深圳)有限公司A kind of processing method, the device and system of virtual resource data
CN106372876A (en)*2016-08-312017-02-01重庆网贸通企业服务有限公司Cross-border payment method and system
CN109409885A (en)*2018-10-292019-03-01深圳声笑科技有限公司Across chain method of commerce, device and storage medium on block chain
CN109784897A (en)*2018-12-282019-05-21易票联支付有限公司A kind of cross-border settlement system and method

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20020104878A1 (en)*1999-10-262002-08-08First Data CorporationSystems and methods of introducing and receiving information across a computer network
US20060015452A1 (en)*2004-07-142006-01-19Mani KulasooriyaSystems and methods for implementing account-to-account international money exchanges
CN102630321A (en)*2009-09-172012-08-08加拿大皇家铸币厂Asset storage and transfer system for electronic purses
US20130179681A1 (en)*2012-01-102013-07-11Jpmorgan Chase Bank, N.A.System And Method For Device Registration And Authentication
WO2014081282A1 (en)*2012-11-012014-05-30Jan MeursSystem and method for controlling an amount of money corresponding to a bank account
US20150142650A1 (en)*2013-11-152015-05-21The Fusion Network LLCCentralized financial account migration system
WO2015096800A1 (en)*2013-12-272015-07-02腾讯科技(深圳)有限公司Data processing method, intermediate server and system
WO2015187099A1 (en)*2014-06-042015-12-10Numoni Pte LtdA system for money remittance and method thereof
CN106940857A (en)*2016-01-042017-07-11阿里巴巴集团控股有限公司Business backing method and device
CN105701651A (en)*2016-01-112016-06-22何伯祥Cross-regional settlement transaction system and method
US20180150900A1 (en)*2016-11-302018-05-31Bank Of America CorporationResource delivery via automated channel and virtual record
CN109801051A (en)*2017-11-162019-05-24财付通支付科技有限公司Resource transfers method, system, server and computer readable storage medium
CN109802916A (en)*2017-11-162019-05-24财付通支付科技有限公司Resource transfers method, system, server and computer readable storage medium
CN110210842A (en)*2018-05-082019-09-06腾讯科技(深圳)有限公司Resource transfers method, system, device, storage medium and computer equipment
CN108667841A (en)*2018-05-112018-10-16深圳市网心科技有限公司 Network service realization method, server and storage medium
CN108830572A (en)*2018-06-152018-11-16腾讯科技(深圳)有限公司Resource transfers method, apparatus, storage medium and equipment

Cited By (19)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111061567A (en)*2019-12-172020-04-24腾讯科技(深圳)有限公司Resource data processing method and device, computer readable storage medium and computer equipment
CN111131440A (en)*2019-12-202020-05-08腾讯科技(深圳)有限公司Resource scheduling method and device and server
CN111131440B (en)*2019-12-202021-09-28腾讯科技(深圳)有限公司Resource scheduling method and device and server
CN111080371A (en)*2019-12-232020-04-28北京每日优鲜电子商务有限公司Method, device and storage medium for issuing resources to user account
CN111131490A (en)*2019-12-302020-05-08北京三快在线科技有限公司State updating method and device, computer equipment and storage medium
CN111179061A (en)*2019-12-302020-05-19支付宝实验室(新加坡)有限公司Resource transfer processing method, device and equipment
CN111179061B (en)*2019-12-302023-07-25支付宝实验室(新加坡)有限公司Resource transfer processing method, device and equipment
WO2021147589A1 (en)*2020-01-212021-07-29支付宝(杭州)信息技术有限公司Subscription method, apparatus and device
CN111192041A (en)*2020-02-202020-05-22腾讯科技(深圳)有限公司Resource transfer method and resource transfer device
CN111402035A (en)*2020-03-202020-07-10支付宝实验室(新加坡)有限公司Resource transfer method, device, equipment and system
CN111402035B (en)*2020-03-202023-12-01支付宝实验室(新加坡)有限公司Resource transfer method, device, equipment and system
CN111861252A (en)*2020-07-292020-10-30北京达佳互联信息技术有限公司Electronic resource transmission method and device and server
CN112801658A (en)*2020-07-312021-05-14支付宝(杭州)信息技术有限公司Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN112801658B (en)*2020-07-312022-04-22支付宝(杭州)信息技术有限公司Cross-border resource transfer authenticity auditing method and device and electronic equipment
US11443307B2 (en)2020-07-312022-09-13Alipay (Hangzhou) Information Technology Co., Ltd.Cross-border resource transfer authenticity verification method, device and electronic equipment
CN114331394A (en)*2020-09-302022-04-12腾讯科技(深圳)有限公司Resource processing method, resource processing device, computer equipment and storage medium
CN112581141A (en)*2021-02-222021-03-30支付宝(杭州)信息技术有限公司Transaction processing method, device and system based on block chain
CN114493578A (en)*2022-01-192022-05-13深圳Tcl新技术有限公司 A user registration method, device, storage medium and server
WO2025002329A1 (en)*2023-06-302025-01-02北京有竹居网络技术有限公司Traffic scheduling method and apparatus for application, and device and storage medium

Also Published As

Publication numberPublication date
CN110570282B (en)2023-08-18
CN111080275B (en)2021-12-28
CN111080275A (en)2020-04-28

Similar Documents

PublicationPublication DateTitle
CN110570282B (en)Cross-region resource transfer method, device, equipment and storage medium
CN108696514B (en)Resource collection task management method, device, storage medium and system
US11182844B2 (en)Virtual resource transfer method, client device, application server, and system
CN108846657B (en)Electronic transfer method and related device
CN109102269B (en)Transfer method and device based on block chain, block chain node and storage medium
EP3232391A1 (en)Electronic device and payment method using the same
CN111401867A (en)Resource transfer method and device based on block chain, node equipment and storage medium
CN110097349B (en)Resource processing method, device and storage medium
WO2019051822A1 (en)Resource transaction method, node, apparatus, and storage medium
US11494825B2 (en)System and method for attributing a purchase to a user by user device location
CN104901994B (en)Attribute value transfer method, the apparatus and system of user in network system
CN111260347A (en)Resource processing method, device and equipment based on block chain and storage medium
TW202008220A (en)Method and apparatus for generating payment two-dimensional code
US20210182899A1 (en)Credit data management method and apparatus, node device, user equipment, storage medium, and system
CN108985930A (en)Information processing method and device, block chain node and storage medium
CN111476562B (en) A virtual resource transfer method, device, electronic device and storage medium
US20140358713A1 (en)Method and system for bulk purchase negotiating using an ad hoc online group
CN112150156B (en) Commodity object processing method, device, client and medium
CN115204870A (en)Block chain application management method and device, computer equipment and storage medium
CN102831515A (en)Method and system for carrying out electronic fund transfer by mobile equipment
CN109635571A (en)Method for secret protection, device, electronic equipment and the computer readable storage medium of website
CN111967867B (en)Account information processing method and device and electronic equipment
JP2015219888A (en) Electronic value management system and program
HK40021027A (en)Cross-regional resource transfer method, apparatus, device and storage medium
HK40021027B (en)Cross-regional resource transfer method, apparatus, device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp