CN114912914A - Resource processing method, apparatus, computer equipment and storage medium - Google Patents
Resource processing method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN114912914A CN114912914A CN202110172518.3A CN202110172518A CN114912914A CN 114912914 A CN114912914 A CN 114912914A CN 202110172518 A CN202110172518 A CN 202110172518A CN 114912914 A CN114912914 A CN 114912914A
- Authority
- CN
- China
- Prior art keywords
- resource
- request
- account
- information
- processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 20
- 238000012545 processing Methods 0.000 claims abstract description 132
- 238000012546 transfer Methods 0.000 claims abstract description 102
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000012795 verification Methods 0.000 claims description 94
- 238000012790 confirmation Methods 0.000 claims description 72
- 230000004044 response Effects 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 11
- 230000001960 triggered effect Effects 0.000 claims description 7
- 238000013459 approach Methods 0.000 claims 1
- 238000012954 risk control Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000026676 system process Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/102—Bill distribution or payments
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
- G06Q20/401—Transaction verification
- G06Q20/4014—Identity check for transactions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,尤其涉及一种资源的处理方法、装置、计算机设备和存储介质。The present application relates to the field of computer technology, and in particular, to a method, apparatus, computer device and storage medium for processing resources.
背景技术Background technique
相关技术中,银行可在互联网渠道销售理财、存款及其他金融产品。用户在购买理财或金融产品时,通常先使用银行一类账户开通二类账户,之后通过银联通道用一类账户对二类账户进行充值,再使用二类账户购买理财、金融产品等。In related technologies, banks can sell wealth management, deposits and other financial products through Internet channels. When purchasing wealth management or financial products, users usually first use a first-class bank account to open a second-class account, then use the first-class account to recharge the second-class account through the UnionPay channel, and then use the second-class account to purchase wealth management, financial products, etc.
上述二类账户充值方法,只能通过银联通道,若银联接口不可使用时,则无法进行充值。可见,这种二类账户充值方法,通道单一,通道接入成本高。The above two types of account recharge methods can only be done through the UnionPay channel. If the UnionPay interface is unavailable, the recharge cannot be performed. It can be seen that this type of account recharge method has a single channel and high channel access costs.
发明内容SUMMARY OF THE INVENTION
本申请提出一种资源的处理方法、装置、计算机设备和存储介质。The present application provides a resource processing method, apparatus, computer device and storage medium.
本申请一方面实施例提出了一种资源的处理方法,应用于第一系统,所述第一系统对应多个清算平台,该方法包括:In one aspect of the present application, an embodiment of the present application proposes a method for processing resources, which is applied to a first system, where the first system corresponds to multiple clearing platforms, and the method includes:
获取第二系统发送的资源处理请求,其中,所述处理请求中包括资源接收账户的信息、资源转出账户的信息、及待处理的资源量;Acquiring a resource processing request sent by the second system, wherein the processing request includes information on the resource receiving account, information on the resource transferring account, and the amount of resources to be processed;
通过任一清算平台,向所述资源转出账户所属的第三系统发送资源扣除请求,其中,所述扣除请求中包括所述资源转出账户的信息及所述待处理的资源量;Send a resource deduction request to the third system to which the resource transfer account belongs through any clearing platform, wherein the deduction request includes the information of the resource transfer account and the amount of resources to be processed;
响应于获取到所述第三系统反馈的资源扣除成功信息,通过所述任一清算平台,向所述资源接收账户所属的第四系统发送资源转入请求,其中,所述转入请求中包括所述资源接收账户的信息和所述待处理的资源量。In response to obtaining the resource deduction success information fed back by the third system, send a resource transfer request to the fourth system to which the resource receiving account belongs through any of the clearing platforms, wherein the transfer request includes The resource receiving account information and the amount of the resource to be processed.
本申请另一方面实施例提出了一种资源的处理装置,应用于第一系统,所述第一系统对应多个清算平台,该装置包括:Another embodiment of the present application proposes a resource processing device, which is applied to a first system, where the first system corresponds to multiple clearing platforms, and the device includes:
获取模块,用于获取第二系统发送的资源处理请求,其中,所述处理请求中包括资源接收账户的信息、资源转出账户的信息、及待处理的资源量;an acquisition module, configured to acquire a resource processing request sent by the second system, wherein the processing request includes information of the resource receiving account, information of the resource transfer account, and the amount of resources to be processed;
发送模块,用于通过任一清算平台,向所述资源转出账户所属的第三系统发送资源扣除请求,其中,所述扣除请求中包括所述资源转出账户的信息及所述待处理的资源量;A sending module, configured to send a resource deduction request to the third system to which the resource transfer-out account belongs through any clearing platform, wherein the deduction request includes the information of the resource transfer-out account and the pending Resources;
所述发送模块,还用于响应于获取到所述第三系统反馈的资源扣除成功信息,通过所述任一清算平台,向所述资源接收账户所属的第四系统发送资源转入请求,其中,所述转入请求中包括所述资源接收账户的信息和所述待处理的资源量。The sending module is further configured to, in response to obtaining the resource deduction success information fed back by the third system, send a resource transfer request to the fourth system to which the resource receiving account belongs through any one of the clearing platforms, wherein , the transfer request includes the information of the resource receiving account and the amount of the resource to be processed.
本申请另一方面实施例提出了一种计算机设备,包括处理器和存储器;Another embodiment of the present application provides a computer device, including a processor and a memory;
其中,所述处理器通过读取所述存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如上述一方面实施例所述的资源的处理方法。Wherein, the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the resource processing method according to the embodiment of the foregoing aspect.
本申请另一方面实施例提出了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述一方面实施例所述的资源的处理方法。Another embodiment of the present application provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the resource processing method according to the above-mentioned embodiment of the first aspect.
本申请另一方面实施例提出了一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现根据上述一方面实施例所述的资源的处理方法。Another embodiment of the present application provides a computer program product, which is characterized in that it includes a computer program, and when the computer program is executed by a processor, implements the resource processing method according to the above-mentioned embodiment of the first aspect.
本申请实施例的资源的处理方法、装置、计算机设备和存储介质,通过获取第二系统发送的资源处理请求,通过任一清算平台,向资源转出账户所属的第三系统发送资源扣除请求,响应于获取到第三系统反馈的资源扣除成功信息,通过任一清算平台,向资源接收账户所属的第四系统发送资源转入请求。由此,第一系统在获取资源处理请求后,可通过对应的多个清算平台中的任一清算平台,发送资源扣除请求和资源转入请求,实现了资源处理通道的多样化,降低了通道接入成本,适用范围广。The resource processing method, device, computer equipment and storage medium of the embodiments of the present application, by acquiring the resource processing request sent by the second system, and sending a resource deduction request to the third system to which the resource transfer account belongs through any clearing platform, In response to obtaining the resource deduction success information fed back by the third system, a resource transfer request is sent to the fourth system to which the resource receiving account belongs through any clearing platform. Therefore, after obtaining the resource processing request, the first system can send the resource deduction request and the resource transfer request through any one of the corresponding clearing platforms, which realizes the diversification of resource processing channels and reduces the number of channels. Access cost, applicable to a wide range.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be set forth, in part, in the following description, and in part will be apparent from the following description, or learned by practice of the present application.
附图说明Description of drawings
本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:
图1为本申请实施例提供的一种资源的处理方法的流程示意图;FIG. 1 is a schematic flowchart of a method for processing a resource according to an embodiment of the present application;
图2为本申请实施例提供的另一种资源的处理方法的流程示意图;FIG. 2 is a schematic flowchart of another resource processing method provided by an embodiment of the present application;
图3为本申请实施例提供的另一种资源的处理方法的流程示意图;FIG. 3 is a schematic flowchart of another resource processing method provided by an embodiment of the present application;
图4为本申请实施例提供的一种二类账户充值的流程示意图;FIG. 4 is a schematic flowchart of a type-2 account recharging provided by an embodiment of the present application;
图5为本申请实施例提供的一种资源的处理装置的结构示意图。FIG. 5 is a schematic structural diagram of a resource processing apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The following describes in detail the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to be used to explain the present application, but should not be construed as a limitation to the present application.
下面参考附图描述本申请实施例的资源的处理方法、装置、计算机设备和存储介质。The following describes the resource processing method, apparatus, computer device, and storage medium of the embodiments of the present application with reference to the accompanying drawings.
图1为本申请实施例提供的一种资源的处理方法的流程示意图。FIG. 1 is a schematic flowchart of a method for processing a resource provided by an embodiment of the present application.
本申请实施例的资源的处理方法,可应用于第一系统,其中,第一系统可对应多个清算平台,比如银联清算平台、网联清算平台等。The resource processing method in the embodiment of the present application can be applied to the first system, where the first system can correspond to multiple clearing platforms, such as a UnionPay clearing platform, a Netlink clearing platform, and the like.
如图1所示,该资源的处理方法包括:As shown in Figure 1, the processing method of the resource includes:
步骤101,获取第二系统发送的资源处理请求,其中,处理请求中包括资源接收账户的信息、资源转出账户的信息、及待处理的资源量。Step 101: Acquire a resource processing request sent by the second system, wherein the processing request includes information of the resource receiving account, information of the resource transferring account, and the amount of resources to be processed.
本申请中,用户可通过终端上相应的应用程序,将资源从一个账户转入另一个账户,这时与该应用程序对应的第二系统,可获取到资源处理请求,这里的资源可以是资金、积分、游戏币、电子代金券等。其中,资源处理请求中可包括资源接收账户的信息、资源转出账户的信息、待处理的资源量等。In this application, the user can transfer resources from one account to another account through the corresponding application program on the terminal. At this time, the second system corresponding to the application program can obtain the resource processing request, and the resource here can be funds , points, game currency, electronic vouchers, etc. The resource processing request may include information on the resource receiving account, information on the resource transferring account, the amount of resources to be processed, and the like.
第二系统可预先在企业站比如电商平台进行注册,并开通资源处理业务,第二系统可对接企业站的资源处理接口。第二系统在获取到资源处理请求后,可调用资源处理接口,将资源处理请求发送给第一系统,由此第一系统可获取第二系统发送的资源处理请求。The second system can be pre-registered on an enterprise station such as an e-commerce platform, and a resource processing service can be opened, and the second system can be connected to the resource processing interface of the enterprise station. After obtaining the resource processing request, the second system can call the resource processing interface to send the resource processing request to the first system, so that the first system can obtain the resource processing request sent by the second system.
其中,资源接收账户的信息可包括资源接收账户的账号、所属用户的姓名、身份信息、联系方式等;资源转出账户的信息也可包括资源转出账户的账号、所属用户的姓名、身份信息、联系方式等;待处理的资源量为资源转出账户转入到资源接收账户的资源量。The information of the resource receiving account may include the account number of the resource receiving account, the user's name, identity information, contact information, etc.; the information of the resource transfer account may also include the account number of the resource transfer account, the name and identity information of the user. , contact information, etc.; the amount of resources to be processed is the amount of resources transferred from the resource transfer account to the resource receiving account.
以银行的一类账户向二类账户充值为例,那么一类账户为资源转出账户,二类账户为资源接收账户,充值金额为待处理的资源量。其中,一类账户与二类账户的开户行可以相同,也可以不同。Taking the bank's first-class account to recharge the second-class account as an example, then the first-class account is the resource transfer account, the second-class account is the resource receiving account, and the recharge amount is the amount of resources to be processed. Among them, the opening bank of the first-class account and the second-class account may be the same or different.
二类账户所属的银行系统已在企业站完成注册且开通了二类账户充值业务,用户可在二类账户的开户行应用程序(Application,APP)上填入充值金额,那么开户行APP对应的系统(即第二系统)可获取到资源处理请求,第二系统可将资源处理请求发送给第一系统。这里资源处理请求中包括一类账户的信息、二类账户的信息、充值金额等。其中,一类账户的信息和二类账户的信息,可包括银行卡号、所属用户的姓名、身份信息、联系方式等。The banking system to which the second-class account belongs has been registered on the enterprise station and the second-class account recharge service has been opened. The user can fill in the recharge amount on the application (Application, APP) of the opening bank of the second-class account, then the corresponding account of the opening bank APP The system (ie, the second system) can obtain the resource processing request, and the second system can send the resource processing request to the first system. Here, the resource processing request includes the information of the first-class account, the information of the second-class account, the recharge amount, and the like. Among them, the information of the first-class account and the information of the second-class account may include the bank card number, the user's name, identity information, contact information, and the like.
步骤102,通过任一清算平台,向资源转出账户所属的第三系统发送资源扣除请求,其中,扣除请求中包括资源转出账户的信息及待处理的资源量。
本申请中,第一系统可对接多个清算平台,每个清算平台可连接多个资源系统,比如连接多个银行系统。第一系统在获取到第二系统发送的资源处理请求后,可通过多个清算平台中任一清算平台,向资源转出账户所属的第三系统发送资源扣除请求,以使第三系统从资源转出账户转出与待处理的资源量对应的资源。其中,扣除请求中包括资源转出账户的信息、待处理的资源量等。In this application, the first system can be connected to multiple clearing platforms, and each clearing platform can be connected to multiple resource systems, such as multiple banking systems. After the first system obtains the resource processing request sent by the second system, it can send a resource deduction request to the third system to which the resource transfer account belongs through any one of the multiple clearing platforms, so that the third system can remove the resource from the resource. The transfer account transfers resources corresponding to the amount of resources to be processed. The deduction request includes information about the resource transfer account, the amount of resources to be processed, and the like.
比如,用户由银行一类账户向二类账户充值时,第一系统可通过与其对应的任一清算平台,向一类账户所属的银行系统发送资源扣除请求,以使一类账户所属的银行系统根据资源扣除请求,从一类账户中扣除充值金额。比如,用户输入的充值金额为100元,那么一类账户所属的银行系统接收到资源扣除请求后,可从一类账户中扣除100元。For example, when a user recharges a first-class account to a second-class account from a bank account, the first system can send a resource deduction request to the banking system to which the first-class account belongs through any corresponding clearing platform, so that the banking system to which the first-class account belongs According to the resource deduction request, the top-up amount is deducted from the first-class account. For example, if the recharge amount input by the user is 100 yuan, then the banking system to which the first-class account belongs can deduct 100 yuan from the first-class account after receiving the resource deduction request.
步骤103,响应于获取到第三系统反馈的资源扣除成功信息,通过任一清算平台,向资源接收账户所属的第四系统发送资源转入请求。
本申请中,第三系统对资源扣除请求进行处理后,可向第一系统返回资源扣除结果信息,若资源扣除成功,则向第一系统反馈资源扣除成功信息,若资源扣除失败,则向第一系统反馈资源扣除失败信息。In this application, after the third system processes the resource deduction request, it can return the resource deduction result information to the first system. If the resource deduction is successful, it will feed back the resource deduction success information to the first system. A system feeds back resource deduction failure information.
第一系统在获取到第三系统反馈的资源扣除成功信息时,可通过任一清算平台,向资源接收账户所属的第四系统发送资源转入请求,以使第四系统向资源接收账户中转入与待处理的资源量对应的资源。其中,转入请求中可包括资源接收账户的信息、待处理的资源量等。When the first system obtains the resource deduction success information fed back by the third system, it can send a resource transfer request to the fourth system to which the resource receiving account belongs through any clearing platform, so that the fourth system transfers the resource to the resource receiving account. Enter the resource corresponding to the amount of resource to be processed. The transfer-in request may include information of the resource receiving account, the amount of resources to be processed, and the like.
比如,用户由银行一类账户向二类账户充值,第一系统通过清算平台获取到一类账户所属的银行系统反馈的资源扣除成功信息,这时第一系统可通过该清算平台向二类账户所属的银行系统发送资源转入请求,二类账户所属的银行系统接收到资源转入请求后,向二类账户转入相应的充值金额。比如,一类账户所属银行系统从一类账户中转出100元,二类账户所属的银行系统获取到资源转入请求后,可向二类账户转入100元。For example, a user recharges a first-class account to a second-class account from a bank, and the first system obtains the resource deduction success information from the banking system to which the first-class account belongs through the clearing platform. The affiliated banking system sends a resource transfer request, and after receiving the resource transfer request, the bank system to which the second-class account belongs will transfer the corresponding recharge amount to the second-class account. For example, the banking system to which the first-class account belongs transfers 100 yuan from the first-class account, and the banking system to which the second-class account belongs can transfer 100 yuan to the second-class account after obtaining the resource transfer request.
需要说明的是,本申请中的第二系统与第四系统虽然都与资源接收账户相关,但是两个系统的功能不同。比如,以A银行二类账户充值为例,第二系统和第四都为A银行系统,但第二系统是A银行APP对应的系统,该系统不具有划拨款项的功能,而与清算平台对接的第四系统,具有划拨款项的功能,可处理资源转入请求。It should be noted that although the second system and the fourth system in this application are both related to the resource receiving account, the functions of the two systems are different. For example, taking the recharge of the second-class account of Bank A as an example, the second system and the fourth system are both the system of Bank A, but the second system is the system corresponding to the APP of Bank A. This system does not have the function of transferring funds, but is connected to the clearing platform. The fourth system has the function of allocating funds and can process resource transfer requests.
相关技术中,用户在用一类账户向二类账户进行充值时,是通过银联通道进行充值,若银联接口不能使用,会导致充值失败。并且,接入银联的银行有限,当一类账户和/或二类账户所属的开户行未接入银联时,也不能进行充值。In the related art, when a user recharges money from a first-class account to a second-class account, he recharges through the UnionPay channel. If the UnionPay interface cannot be used, the recharge will fail. In addition, the banks that can access UnionPay are limited, and when the opening bank to which the first-class account and/or the second-class account belongs is not connected to UnionPay, recharge cannot be performed.
本申请中,第一系统可对应多个清算平台,那么当其中一个清算平台不能使用或者未接入一类账户和/或二类账户所属的银行系统时,可以使用其他清算平台进行处理。并且,第一系统对应多个清算平台,那么接入的银行系统相对较多,提高了适用范围。In this application, the first system can correspond to multiple clearing platforms, then when one of the clearing platforms cannot be used or is not connected to the banking system to which the first-class account and/or the second-class account belongs, other clearing platforms can be used for processing. Moreover, the first system corresponds to multiple clearing platforms, so there are relatively more banking systems connected, which increases the scope of application.
本申请实施例的资源的处理方法,应用于第一系统,第一系统对应多个清算平台,通过获取第二系统发送的资源处理请求,通过任一清算平台,向资源转出账户所属的第三系统发送资源扣除请求,响应于获取到第三系统反馈的资源扣除成功信息,通过任一清算平台,向资源接收账户所属的第四系统发送资源转入请求。由此,第一系统在获取资源处理请求后,可通过对应的多个清算平台中的任一清算平台,发送资源扣除请求和资源转入请求,实现了资源处理通道的多样化,降低了通道接入成本,适用范围广。The resource processing method according to the embodiment of the present application is applied to the first system. The first system corresponds to multiple clearing platforms. By acquiring the resource processing request sent by the second system, the resources are transferred to the first system to which the account belongs through any clearing platform. The third system sends a resource deduction request, and in response to obtaining the resource deduction success information fed back by the third system, sends a resource transfer request to the fourth system to which the resource receiving account belongs through any clearing platform. Therefore, after obtaining the resource processing request, the first system can send the resource deduction request and the resource transfer request through any one of the corresponding clearing platforms, which realizes the diversification of resource processing channels and reduces the number of channels. Access cost, applicable to a wide range.
为了提高资源处理的安全性,在本申请的一个实施例中,第一系统发送资源扣除请求时,可先经过一系列校验后发送资源扣除请求。下面结合图2进行说明,图2为本申请实施例提供的另一种资源的处理方法的流程示意图。In order to improve the security of resource processing, in an embodiment of the present application, when the first system sends a resource deduction request, the resource deduction request may be sent after a series of verifications. The following description will be made with reference to FIG. 2 , which is a schematic flowchart of another method for processing resources provided by an embodiment of the present application.
如图2所示,该资源的处理方法包括:As shown in Figure 2, the processing method of the resource includes:
步骤201,获取第二系统发送的资源处理请求,其中,处理请求中包括资源接收账户的信息、资源转出账户的信息、及待处理的资源量。Step 201: Acquire a resource processing request sent by the second system, where the processing request includes information of a resource receiving account, information of a resource transferring account, and an amount of resources to be processed.
本申请中,步骤201与上述步骤101类似,故在此不再赘述。In this application,
步骤202,对处理请求进行校验。
本申请中,第一系统在获取资源处理请求后,可对处理请求进行校验。第一系统在对处理请求进行校验时,可对处理请求中的参数,比如资源接收账户的信息、资源转出账户的信息、待处理的资源量等进行校验,可校验资源接收账户的用户身份信息与资源转出账户的用户身份信息是否匹配,以及待处理的资源量是否满足预设条件。In the present application, after acquiring the resource processing request, the first system can verify the processing request. When verifying the processing request, the first system can verify the parameters in the processing request, such as the information of the resource receiving account, the information of the resource transfer account, the amount of resources to be processed, etc., and can verify the resource receiving account. Whether the user identity information of the resource transfer account matches the user identity information of the resource transfer account, and whether the amount of resources to be processed meets the preset conditions.
其中,预设条件可以包括但不限于待处理的资源量为正数、待处理的资源量小于或等于预设的阈值等。The preset conditions may include, but are not limited to, the amount of resources to be processed is a positive number, the amount of resources to be processed is less than or equal to a preset threshold, and the like.
若资源接收账户的用户身份信息与资源转出账户的用户身份信息匹配,及待处理的资源量满足预设条件,可以认为资源处理请求校验通过。If the user identity information of the resource receiving account matches the user identity information of the resource transferring account, and the amount of resources to be processed satisfies the preset conditions, it can be considered that the verification of the resource processing request has passed.
以一类账户向二类账户充值为例,通常会设定向二类账户充值的限额,用户在用一类账户向二类账户充值时,第一系统可校验资源处理请求中,一类账户的用户姓名及身份证号与二类账户的用户姓名及身份证号是否一致,以及充值金额是否为小于或等于限额。在一类账户对应的用户身份信息和二类账户对应的用户身份信息一致,以及充值金额满足要求的情况下,可以认为资源处理请求校验成功。Taking the top-up of the first-class account to the second-class account as an example, the limit for recharging the second-class account is usually set. When the user uses the first-class account to recharge the second-class account, the first system can verify that in the resource processing request, the first-class account is Whether the user name and ID number of the account are consistent with the user name and ID number of the second-class account, and whether the recharge amount is less than or equal to the limit. If the user identity information corresponding to the first-class account is consistent with the user identity information corresponding to the second-class account, and the recharge amount meets the requirements, it can be considered that the verification of the resource processing request is successful.
为了提高安全性,第二系统在根据用户的操作生成资源处理请求时,可对资源处理请求的报文进行加密,那么第一系统在获取第二系统发送的资源处理请求后,可先对资源处理请求进行解密、验证签名信息,签名验证通过后,再对资源处理请求中的参数进行校验。In order to improve security, when the second system generates a resource processing request according to the user's operation, it can encrypt the message of the resource processing request. After obtaining the resource processing request sent by the second system, the first system can The processing request is decrypted and the signature information is verified. After the signature verification is passed, the parameters in the resource processing request are verified.
步骤203,响应于处理请求校验通过,通过任一清算平台向第三系统发送签约请求。
本申请中,第一系统对应多个清算平台,第一系统响应于处理请求校验通过,可通过任一清算平台向资源转出账户所属的第三系统发送签约请求。其中,签约请求中可包括资源转出账户的信息,比如资源转出账户的用户姓名、身份信息、联系方式等等。In this application, the first system corresponds to multiple clearing platforms, and in response to the verification of the processing request being passed, the first system can send a contract request to the third system to which the resource transfer account belongs through any clearing platform. The signing request may include information on the resource transfer account, such as the user name, identity information, contact information, and the like of the resource transfer account.
步骤204,获取第二系统发送的资源确认请求,其中,确认请求为第二系统在获取到第三系统基于签约请求生成的校验码后触发的。Step 204: Acquire a resource confirmation request sent by the second system, where the confirmation request is triggered by the second system after acquiring the check code generated by the third system based on the subscription request.
本申请中,第三系统在接收到签约请求后,可对签约请求进行校验,比如校验签约请求中资源转出账户的信息,是否与第三系统中存储的资源转出账户的信息一致。若一致,可认为签约请求校验成功,这时第三系统可通过清算平台向第一系统反馈签约请求的校验结果。In this application, after receiving the contract request, the third system can verify the contract request, such as verifying whether the information of the resource transfer account in the contract request is consistent with the information of the resource transfer account stored in the third system . If they are consistent, it can be considered that the verification of the signing request is successful, and then the third system can feed back the verification result of the signing request to the first system through the clearing platform.
若签约请求校验成功,第三系统也可通过签约请求中的联系方式向用户发送校验码,比如向用户的手机号码发送短信验证码。用户的终端设备接收到校验码后,用户可在终端设备上相应的应用程序的界面中输入校验码。相应地,与应用程序对应的第二系统基于校验码触发得到资源确认请求。If the verification of the signing request is successful, the third system may also send a verification code to the user through the contact information in the signing request, for example, sending a SMS verification code to the user's mobile phone number. After the user's terminal device receives the verification code, the user can input the verification code in the interface of the corresponding application program on the terminal device. Correspondingly, the second system corresponding to the application program triggers and obtains the resource confirmation request based on the check code.
比如,用户在A银行APP上,由B银行的一类账户向A银行的二类账户充值,输入充值金额。第一系统获取到A银行APP对应的系统发送的资源处理请求后,对资源处理请求进行校验,资源处理请求校验通过后,通过清算平台向B银行系统发送签约请求。B银行系统对签约请求进行校验,签约请求校验通过后,向用户在B银行预留的手机号码发送短信验证码,用户在A银行APP上输入短信验证码,那么A银行APP对应的系统在获取到用户输入的短信验证码后,可触发资源确认请求,A银行APP对应的系统向第一系统发送资源确认请求。For example, on the APP of Bank A, the user recharges the first-class account of Bank B to the second-class account of Bank A, and enters the recharge amount. After obtaining the resource processing request sent by the system corresponding to Bank A's APP, the first system verifies the resource processing request. After the verification of the resource processing request is passed, it sends a contract request to the Bank B system through the clearing platform. The system of Bank B verifies the contract request. After the verification of the contract request is passed, it sends the SMS verification code to the mobile phone number reserved by the user in Bank B. The user enters the SMS verification code on the Bank A APP, then the system corresponding to the Bank A APP After obtaining the SMS verification code input by the user, a resource confirmation request can be triggered, and the system corresponding to the Bank A APP sends a resource confirmation request to the first system.
步骤205,对确认请求进行校验。
本申请中,第一系统获取第二系统发送的确认请求后,对确认请求进行校验。在对确认请求进行校验时,可校验确认请求中是否携带有校验码。若确认请求中携带有校验码,可认为确认请求校验通过。In this application, after acquiring the confirmation request sent by the second system, the first system verifies the confirmation request. When verifying the confirmation request, it can be verified whether the confirmation request carries a verification code. If the confirmation request carries a verification code, it can be considered that the confirmation request has passed the verification.
或者,第二系统基于用户操作生成对应的资源处理标识,第二系统向第一系统发送的资源处理请求中还可包括资源处理标识,为了便于区分,称为第一资源处理标识。第一系统对资源处理请求校验通过后,可保存与资源处理请求对应的资源处理信息,比如资源处理标识、资源接收账户的信息、资源转出账户的信息、及待处理的资源量等信息。Alternatively, the second system generates a corresponding resource processing identifier based on a user operation, and the resource processing request sent by the second system to the first system may further include the resource processing identifier, which is referred to as the first resource processing identifier for ease of distinction. After the first system verifies the resource processing request, it can save the resource processing information corresponding to the resource processing request, such as the resource processing identifier, the information of the resource receiving account, the information of the resource transfer account, and the amount of resources to be processed, etc. .
第一系统在对确认请求进行校验时,可校验确认请求中是否携带有校验码和第二资源处理标识,以及第二资源处理标识与第一资源处理标识是否匹配。其中,第二资源处理标识与第一资源处理标识匹配,说明第一系统中保存有第二资源处理标识对应的资源处理信息。When verifying the confirmation request, the first system can verify whether the confirmation request carries the check code and the second resource processing identifier, and whether the second resource processing identifier matches the first resource processing identifier. The second resource processing identifier matches the first resource processing identifier, indicating that resource processing information corresponding to the second resource processing identifier is stored in the first system.
若确认请求中携带有校验码,且第二资源处理标识与第一资源处理标识匹配,可以认为确认请求校验通过。由此,通过校验确认请求中是否携带有验证码和第二资源处理标识,以及第二资源处理标识与第一资源处理标识是否匹配,从而提高了资源处理的安全性。If the confirmation request carries a check code and the second resource processing identifier matches the first resource processing identifier, it can be considered that the verification request is passed. Therefore, it is verified whether the request carries the verification code and the second resource processing identifier, and whether the second resource processing identifier matches the first resource processing identifier, thereby improving the security of resource processing.
以B银行的一类账户向A银行的二类账户充值为例,当用户在A银行APP上输入充值金额后,A银行APP对应的系统会生成资源处理标识,也即订单号,订单号可携带在资源处理请求中发送给第一系统。第一系统在对资源处理请求校验通过,可保存该订单,其中包括订单号、一类账户的信息、二类账户的信息、充值金额等。Take bank B's first-class account to recharge bank A's second-class account as an example, when the user enters the recharge amount on Bank A's APP, the system corresponding to Bank A's APP will generate a resource processing identifier, that is, the order number. It is carried in the resource processing request and sent to the first system. The first system can save the order after the verification of the resource processing request is passed, including the order number, the information of the first-class account, the information of the second-class account, the recharge amount, and the like.
第一系统向B银行系统发送签约请求,B银行系统对签约请求进行校验,签约请求校验通过后,向用户在B银行预留的手机号码发送短信验证码,用户在A银行应用程序上输入短信验证码,A银行APP对应的系统在获取到用户输入的短信验证码后,可触发资源确认请求,A银行APP对应的系统向第一系统发送资源确认请求。第一系统校验确认请求中是否携带有短信验证码,以及校验确认请求中携带的订单号和之前存储的订单号是否匹配,也就是校验确认请求对应的订单是否为已有订单。The first system sends a contract request to the system of Bank B, and the system of Bank B verifies the contract request. After the verification of the contract request is passed, it sends a SMS verification code to the mobile phone number reserved by the user in Bank B. Enter the SMS verification code. After obtaining the SMS verification code entered by the user, the system corresponding to the Bank A APP can trigger a resource confirmation request, and the system corresponding to the Bank A APP sends a resource confirmation request to the first system. The first system verifies whether the confirmation request carries the SMS verification code, and verifies whether the order number carried in the confirmation request matches the previously stored order number, that is, whether the order corresponding to the confirmation request is an existing order.
步骤206,响应于确认请求校验通过,向第三系统发送确认请求。
本申请中,第一系统响应于确认请求校验通过,向第三系统发送确认请求,以使第三系统对确认请求进行校验。In the present application, the first system sends a confirmation request to the third system in response to the verification of the confirmation request being passed, so that the third system can verify the confirmation request.
由于确认请求是第二系统在获取到第三系统生成的校验码后触发的,为了提高资源处理的安全性,第三系统在获取到确认请求后,可校验确认请求中的携带的校验码是否与第三系统之前生成的校验码一致。若一致,可以认为确认请求校验成功,第三系统可向第一系统反馈确认请求校验通过信息;若不一致,第三系统可向第一系统反馈确认请求校验未通过信息。Since the confirmation request is triggered by the second system after obtaining the check code generated by the third system, in order to improve the security of resource processing, after obtaining the confirmation request, the third system can verify the check code carried in the confirmation request. Check whether the verification code is consistent with the verification code previously generated by the third system. If they are consistent, it can be considered that the confirmation request verification is successful, and the third system can feed back the confirmation request verification pass information to the first system; if not, the third system can feed back confirmation request verification failure information to the first system.
以上述B银行的一类账户向A银行的二类账户充值为例,A银行APP对应的系统向第一系统发送资源确认请求,第一系统对资源确认请求校验通过后,将资源确认请求发送给B银行系统。B银行系统校验确认请求中携带的短信验证码是否,与之前向用户在B银行预留的手机号码发送的短信验证码一致,也即校验用户输入的短信验证码是否与之前下发给用户的短信验证码一致。若一致,可以认为对确认请求校验通过,B银行系统可向第一系统反馈确认请求校验通过的信息。Taking the above-mentioned first-class account of Bank B to recharge the second-class account of Bank A as an example, the system corresponding to Bank A's APP sends a resource confirmation request to the first system. After the first system verifies the resource confirmation request, the resource confirmation request Sent to B bank system. The system of Bank B verifies whether the SMS verification code carried in the confirmation request is consistent with the SMS verification code previously sent to the mobile phone number reserved by the user in Bank B, that is to say, it verifies whether the SMS verification code entered by the user is the same as that sent to the user before. The user's SMS verification code is the same. If they are consistent, it can be considered that the verification of the confirmation request is passed, and the system of Bank B can feed back the information that the verification of the confirmation request is passed to the first system.
步骤207,响应于获取到第三系统反馈的确认请求校验通过信息,通过任一清算平台,向第三系统发送资源扣除请求。
第一系统响应获取到第三系统反馈的确认请求校验通过信息,也即在身份验证通过后,可以进行开始资源处理过程。第一系统可通过任一清算平台,向第三系统发送资源扣除请求,以使第三系统从资源转出账户扣除待处理的资源量对应的资源。In response, the first system obtains the confirmation request verification passed information fed back by the third system, that is, after the identity verification is passed, the process of starting the resource processing can be performed. The first system may send a resource deduction request to the third system through any clearing platform, so that the third system deducts resources corresponding to the amount of resources to be processed from the resource transfer account.
步骤208,响应于获取到第三系统反馈的资源扣除成功信息,通过任一清算平台,向资源接收账户所属的第四系统发送资源转入请求。
本实施例中,步骤207-步骤208与上述步骤102-步骤103类似,故在此不再赘述。In this embodiment, steps 207 to 208 are similar to the above-mentioned
本申请实施例中,在通过任一清算平台,向资源转出账户所属的第三系统发送资源扣除请求时,第一系统可对处理请求进行校验,处理请求校验通过后,向第三系统发送签约请求,并获取第二系统发送的资源确认请求,其中,确认请求为第二系统在获取到第三系统基于签约请求生成的校验码后触发的,第一系统对确认请求进行校验,在确认请求校验通过后,向第三系统发送确认请求,响应于获取到第三系统反馈的确认请求校验通过信息,向第三系统发送资源扣除请求。由此,在一系列身份校验通过后,开始资源处理流程,提高了资源处理的安全性。In the embodiment of the present application, when a resource deduction request is sent to the third system to which the resource transfer account belongs through any clearing platform, the first system can verify the processing request, and after the verification of the processing request is passed, the third system can be sent to the third system. The system sends a contract request, and obtains a resource confirmation request sent by the second system, wherein the confirmation request is triggered by the second system after obtaining the check code generated by the third system based on the contract request, and the first system checks the confirmation request. After the verification of the verification request is passed, the verification request is sent to the third system, and the resource deduction request is sent to the third system in response to obtaining the verification request verification passed information fed back by the third system. Therefore, after a series of identity verifications are passed, the resource processing flow is started, which improves the security of resource processing.
为了便于知悉资源处理过程,在本申请的一个实施例中,第一系统向资源接收账户所属的第四系统发送资源转入请求,第四系统对资源转入请求进行处理,并向第一系统反馈资源转入结果反馈信息。In order to facilitate the understanding of the resource processing process, in an embodiment of the present application, the first system sends a resource transfer request to the fourth system to which the resource receiving account belongs, and the fourth system processes the resource transfer request and sends the resource transfer request to the first system. Feedback resources are transferred to result feedback information.
那么,在上述向资源接收账户所属的第四系统发送资源转入请求之后,第一系统可获取第四系统反馈的资源转入结果反馈信息。其中,资源转入结果反馈信息可能是资源转入失败信息,也可能是资源转入成功信息。如果资源转入结果信息为资源转入成功信息,第一系统还可向第二系统反馈资源处理成功信息。Then, after the resource transfer request is sent to the fourth system to which the resource receiving account belongs, the first system can obtain the resource transfer result feedback information fed back by the fourth system. The resource transfer result feedback information may be resource transfer failure information or resource transfer success information. If the resource transfer result information is resource transfer success information, the first system may also feed back resource processing success information to the second system.
在本申请的一个实施例中,第一系统在获取到资源转入失败信息后,还可发起资源退回请求,以将资源退回至资源转出账户。下面结合图3进行说明,图3为本申请实施例提供的另一种资源的处理方法的流程示意图。In an embodiment of the present application, after acquiring the resource transfer failure information, the first system may further initiate a resource return request to return the resource to the resource transfer out account. The following description will be made with reference to FIG. 3 , which is a schematic flowchart of another resource processing method provided by an embodiment of the present application.
如图3所示,在向资源接收账户所属的第四系统发送资源转入请求之后,该方法还包括:As shown in Figure 3, after sending a resource transfer request to the fourth system to which the resource receiving account belongs, the method further includes:
步骤301,获取第四系统反馈的资源转入结果反馈信息,其中,资源转入结果反馈信息为资源转入失败信息。Step 301: Obtain resource transfer result feedback information fed back by the fourth system, where the resource transfer result feedback information is resource transfer failure information.
本申请中,第一系统可获取第四系统反馈的资源转入结果反馈信息,其中,资源转入结果信息反馈信息为资源失败信息。In this application, the first system can obtain the resource transfer result feedback information fed back by the fourth system, where the resource transfer result information feedback information is resource failure information.
步骤302,通过任一清算平台,向第三系统发送资源退回请求,其中,资源退回请求中包括资源转出账户的信息和待处理的资源量。
第一系统在获取到第四系统反馈的资源转入失败信息后,可通过任一清算平台,向第三系统发送资源退回请求,其中,资源退回请求中可包括资源转出账户的信息和待处理的资源量。After obtaining the resource transfer failure information fed back by the fourth system, the first system can send a resource return request to the third system through any clearing platform, wherein the resource return request may include the information of the resource transfer account and the information of the pending resource transfer account. The amount of resources processed.
第三系统获取到资源退回请求后,可将待处理的资源量对应的资源退回至资源转出账户,并向第一系统反馈资源退回结果。After obtaining the resource return request, the third system can return the resource corresponding to the amount of the resource to be processed to the resource transfer account, and feed back the resource return result to the first system.
比如,由银行二类账户向银行一类账户充值,若第一系统获取到二类账户所属的银行系统反馈的资源转入失败信息,第一系统可通过清算平台向一类账户所属的银行系统发送退款请求,以使一类账户所属的银行系统对退款请求进行处理,将转出的充值金额退回至一类账户,并向第一系统反馈退款结果。第一系统获取退款结果后,可向银行APP对应的系统反馈充值失败结果。For example, when the second-class account of the bank is recharged to the first-class account of the bank, if the first system obtains the resource transfer failure information fed back by the banking system to which the second-class account belongs, the first system can recharge the bank system to which the first-class account belongs through the clearing platform. Send a refund request, so that the bank system to which the first-class account belongs to process the refund request, return the transferred recharge amount to the first-class account, and feed back the refund result to the first system. After the first system obtains the refund result, it can feed back the recharge failure result to the system corresponding to the bank APP.
本申请实施例中,第一系统在获取第四系统反馈的资源转入结果反馈信息之后,还可通过任一清算平台,向第三系统发送资源退回请求,以将待处理的资源量对应的资源退回至资源转出账户。In this embodiment of the present application, after obtaining the resource transfer result feedback information fed back by the fourth system, the first system may also send a resource return request to the third system through any clearing platform, so as to convert the amount of resources to be processed corresponding to the amount of resources to be processed. The resource is returned to the resource transfer account.
上述实施例中,第一系统对应多个清算平台,第一系通过清算平台向第三系统发送签约请求和资源扣除请求,以及向第二系统发送资源转入请求,为了实现系统解耦,也可引入第系统和代付系统,由第五系统对接多个清算平台,第一系统向第五系统发送签约请求和资源扣除请求,由第五系统通过任一清算平台向第三系统发送和资源扣除请求,及第一系统通过代付系统将资源转入请求发送给第五系统,由第五系统通过任一清算平台发送给对应的资源接收账户所属的第四系统。下面结合图4以银行二类账户充值为例进行说明,图4为本申请实施例提供的一种二类账户充值的流程示意图。In the above embodiment, the first system corresponds to multiple clearing platforms, and the first system sends a contract request and a resource deduction request to the third system through the clearing platform, and sends a resource transfer request to the second system. The first system and the payment system can be introduced, the fifth system is connected to multiple clearing platforms, the first system sends a contract request and a resource deduction request to the fifth system, and the fifth system sends and resources to the third system through any clearing platform. The deduction request and the resource transfer request sent by the first system to the fifth system through the payment system, and then sent by the fifth system to the fourth system to which the corresponding resource receiving account belongs through any clearing platform. The following description will be given with reference to FIG. 4 by taking the recharging of a second-class account of a bank as an example. FIG. 4 is a schematic flowchart of a recharging of a second-class account according to an embodiment of the present application.
图4中的银行系统预先在企业站进行注册,并开通二类账户充值业务。那么,银行系统可对接企业站的二类账户充值请求接口和对账文件下载接口。The banking system in Figure 4 is pre-registered at the enterprise station, and the second-class account recharge service is opened. Then, the banking system can connect to the second-class account recharge request interface and the reconciliation file download interface of the enterprise station.
图4中,用户在银行APP上输入金额,提交充值,与银行APP对应的银行系统(第二系统)调用企业站的二类账户充值请求接口,第一系统获取银行系统发送的充值请求。第一系统获取到充值请求后,校验充值请求参数中的一类账户、二类账户、充值金额等信息,同时校验银行系统的二类账户充值权限是否开通,校验通过后,第一系统可将该充值请求对应的订单收单入库。若充值请求未通过校验,则第一系统向银行返回交易失败结果,即银行系统获取到充值失败的信息。In Figure 4, the user enters the amount on the bank APP, submits the recharge, the bank system (second system) corresponding to the bank APP calls the recharge request interface of the second-class account of the enterprise station, and the first system obtains the recharge request sent by the bank system. After the first system obtains the recharge request, it verifies the information such as the first-class account, the second-class account, and the recharge amount in the recharge request parameters, and at the same time verifies whether the recharge authority of the second-class account in the banking system is enabled. The system can receive the order corresponding to the recharge request and store it in the warehouse. If the recharge request fails the verification, the first system returns a transaction failure result to the bank, that is, the bank system obtains the recharge failure information.
第一系统收单入库成功后,可报送风控系统进行签约风控校验,签约风控校验通过后,发起签约请求,并将签约请求发送至第五系统。第五系统通过与其对接的任一清算平台,将签约请求发送给一类账户所属的银行系统进行校验。一类账户所属的银行系统对签约请求进行校验,若校验成功,则向一类账户对应的手机号码下发短信,并将校验结果通过清算平台反馈给第五系统(图4中未示出)。第五系统将签约请求校验结果反馈给第一系统,第一系统判断签约请求校验是否成功,若失败,则向银行系统返回充值失败,若成功,则向银行系统返回交易处理中。After the first system receives the order and stores it successfully, it can be submitted to the risk control system for contract risk control verification. After the contract risk control verification is passed, a contract request is initiated, and the contract request is sent to the fifth system. The fifth system sends the signing request to the banking system to which the first-class account belongs to for verification through any clearing platform connected to it. The banking system to which the first-class account belongs verifies the contract request. If the verification is successful, it sends a short message to the mobile phone number corresponding to the first-class account, and feeds back the verification result to the fifth system through the clearing platform (not shown in Figure 4 ). Shows). The fifth system feeds back the verification result of the signing request to the first system, and the first system judges whether the verification of the signing request is successful.
用户根据一类账户所属银行系统下发的短信验证码,在银行APP上输入短信验证码,银行系统生成充值确认请求,并调用企业站的充值确认接口,将充值确认请求发送给第一系统。第一系统对充值确认请求报文解密、验证签名信息,验证成功后,校验充值确认请求中是否携带有短信验证码和订单号,以及本地是否已有该订单号。The user enters the SMS verification code on the bank APP according to the SMS verification code issued by the banking system to which the first-class account belongs, and the banking system generates a recharge confirmation request, and calls the recharge confirmation interface of the enterprise station to send the recharge confirmation request to the first system. The first system decrypts the recharge confirmation request message and verifies the signature information. After the verification is successful, it verifies whether the recharge confirmation request carries the SMS verification code and order number, and whether the order number already exists locally.
第一系统对充值确认请求校验通过后,将充值确认请求发送给第五系统,由第五系统通过清算平台发送给一类账户所属的银行系统进行校验。一类账户所属的银行系统校验充值确认请求中的短信验证码是否与之前下发的短信验证码一致,并将校验结果反馈给第五系统(图中未示出),第五系统将获取的确认结果返回给第一系统。After the first system verifies the recharge confirmation request, it sends the recharge confirmation request to the fifth system, and the fifth system sends the recharge confirmation request to the bank system to which the first-class account belongs for verification through the clearing platform. The banking system to which the first-class account belongs verifies whether the SMS verification code in the recharge confirmation request is consistent with the previously issued SMS verification code, and feeds back the verification result to the fifth system (not shown in the figure). The obtained confirmation result is returned to the first system.
第一系统判断短信验证是否成功,若短信验证未成功,向银行系统返回充值失败,若短信验证成功,则第一系统写支付请求,支付请求写成功,向风控系统报送支付风控校验,风控系统对支付风控校验通过后,第一系统发起扣款请求,并将扣款请求发送给第五系统。The first system determines whether the SMS verification is successful. If the SMS verification is unsuccessful, it will return the recharge failure to the bank system. If the SMS verification is successful, the first system will write a payment request, and the payment request will be successfully written, and will be submitted to the risk control system. After the risk control system passes the payment risk control verification, the first system initiates a deduction request, and sends the deduction request to the fifth system.
第五系统将扣款请求,通过清算平台发送给一类账户所属的银行系统进行扣款,一类账户所属的银行系统将扣款结果反馈给第五系统(图中未示出)。第五系统将扣款结果反馈给第一系统,第一系统判断扣款是否成功。若扣款失败,则向银行系统返回充值失败,若扣款成功,则发起代付请求,将代付请求发送给代付系统,代付系统将代付请求发送给第五系统。The fifth system sends the deduction request through the clearing platform to the banking system to which the first-class account belongs for deduction, and the banking system to which the first-class account belongs feeds back the deduction result to the fifth system (not shown in the figure). The fifth system feeds back the deduction result to the first system, and the first system determines whether the deduction is successful. If the deduction fails, the recharge failure is returned to the banking system. If the deduction is successful, an agency payment request is initiated, the agency payment request is sent to the agency payment system, and the agency payment system sends the agency payment request to the fifth system.
第五系统通过清算平台将代付请求发送给二类账户所属的银行系统进行充值,二类账户所属的银行系统将代付结果反馈给第五系统(图4未示出)。第五系统通过代付系统将代付结果返回给第一系统,第一系统判断代付是否成功。若代付成功,则第一系统向银行系统返回充值成功,若代付失败,则第一系统发起退款请求,并将退款请求发送给第五系统。第五系统通过清算平台,将退款请求发送给一类账户所属的银行系统。一类账户所属的银行系统对退款请求进行处理,并将退款结果反馈给第五系统,第五系统向第一系统返回退款结果,第一系统向银行系统返回充值失败结果。The fifth system sends an agency payment request to the banking system to which the second-class account belongs to recharge through the clearing platform, and the bank system to which the second-class account belongs feeds back the agency payment result to the fifth system (not shown in FIG. 4 ). The fifth system returns the payment result to the first system through the payment system, and the first system judges whether the payment is successful. If the agency payment is successful, the first system returns the recharge success to the banking system, and if the agency payment fails, the first system initiates a refund request and sends the refund request to the fifth system. The fifth system sends the refund request to the banking system to which the first-class account belongs through the clearing platform. The banking system to which the first-class account belongs processes the refund request and feeds back the refund result to the fifth system, the fifth system returns the refund result to the first system, and the first system returns the recharge failure result to the banking system.
银行系统可通过对账文件下载接口,下载前一日的二类账户充值对账文件,以与本地存储的二类账户充值对账文件进行对账。The banking system can download the recharge reconciliation file for the second-class account on the previous day through the reconciliation file download interface to perform reconciliation with the locally stored recharge and reconciliation file for the second-class account.
为了实现上述实施例,本申请实施例还提出资源的处理装置。图5为本申请实施例提供的一种资源的处理装置的结构示意图。In order to implement the above embodiments, the embodiments of the present application further propose a resource processing apparatus. FIG. 5 is a schematic structural diagram of a resource processing apparatus provided by an embodiment of the present application.
本申请实施例的资源的处理装置可应用于第一系统,其中,第一系统对应多个清算平台。The resource processing apparatus in this embodiment of the present application may be applied to a first system, where the first system corresponds to multiple clearing platforms.
如图5所示,该资源的处理装置可包括:获取模块510和发送模块520。As shown in FIG. 5 , the apparatus for processing the resource may include: an acquiring
获取模块510,用于获取第二系统发送的资源处理请求,其中,所述处理请求中包括资源接收账户的信息、资源转出账户的信息、及待处理的资源量;an obtaining
发送模块520,用于通过任一清算平台,向所述资源转出账户所属的第三系统发送资源扣除请求,其中,所述扣除请求中包括所述资源转出账户的信息及所述待处理的资源量;The sending
所述发送模块520,还用于响应于获取到所述第三系统反馈的资源扣除成功信息,通过所述任一清算平台,向所述资源接收账户所属的第四系统发送资源转入请求,其中,所述转入请求中包括所述资源接收账户的信息和所述待处理的资源量。The sending
在本申请实施例一种可能的实现方式中,所述发送模块520,包括:In a possible implementation manner of the embodiment of the present application, the sending
第一校验单元,用于对所述处理请求进行校验;a first verification unit, configured to verify the processing request;
发送单元,用于响应于所述处理请求校验通过,通过所述任一清算平台向所述第三系统发送签约请求;a sending unit, configured to send a contract request to the third system through any of the clearing platforms in response to the verification of the processing request being passed;
获取单元,用于获取所述第二系统发送的资源确认请求,其中,所述确认请求为所述第二系统在获取到所述第三系统基于所述签约请求生成的校验码后触发的;An acquiring unit, configured to acquire a resource confirmation request sent by the second system, where the confirmation request is triggered by the second system after acquiring the check code generated by the third system based on the subscription request ;
第二校验单元,用于对所述确认请求进行校验;a second verification unit, configured to verify the confirmation request;
所述发送单元,还用于响应于所述确认请求校验通过,向所述第三系统发送所述确认请求;The sending unit is further configured to send the confirmation request to the third system in response to the confirmation request passing the verification;
所述发送单元,还用于响应于获取到所述第三系统反馈的确认请求校验通过信息,通过所述任一清算平台,向所述第三系统发送所述资源扣除请求。The sending unit is further configured to send the resource deduction request to the third system through any of the clearing platforms in response to obtaining the verification request verification information fed back by the third system.
在本申请实施例一种可能的实现方式中,所述第一校验单元,用于:In a possible implementation manner of the embodiment of the present application, the first verification unit is configured to:
校验所述资源接收账户的用户身份信息与所述资源转出账户的用户身份信息是否匹配,及所述待处理的资源量是否满足预设条件。Check whether the user identity information of the resource receiving account matches the user identity information of the resource transfer account, and whether the amount of resources to be processed satisfies a preset condition.
在本申请实施例一种可能的实现方式中,所述处理请求中还包括第一资源处理标识,所述第二校验单元,用于:In a possible implementation manner of the embodiment of the present application, the processing request further includes a first resource processing identifier, and the second verification unit is configured to:
校验所述确认请求中是否携带有验证码和第二资源处理标识、且所述第二资源处理标识与所述第一资源处理标识是否匹配。Check whether the confirmation request carries a verification code and a second resource processing identifier, and whether the second resource processing identifier matches the first resource processing identifier.
在本申请实施例一种可能的实现方式中,获取模块510,还用于:In a possible implementation manner of the embodiment of the present application, the obtaining
获取所述第四系统反馈的资源转入结果反馈信息。Obtain the resource transfer result feedback information fed back by the fourth system.
在本申请实施例一种可能的实现方式中,所述资源转入结果反馈信息为资源转入失败信息,所述发送模块520,还用于:In a possible implementation manner of the embodiment of the present application, the resource transfer result feedback information is resource transfer failure information, and the sending
通过所述任一清算平台,向所述第三系统发送资源退回请求,其中,所述资源退回请求中包括所述资源转出账户的信息和所述待处理的资源量。A resource return request is sent to the third system through any of the clearing platforms, wherein the resource return request includes the information of the resource transfer account and the amount of resources to be processed.
需要说明的是,上述对资源的处理方法实施例的解释说明,也适用于该实施例的资源的处理装置,故在此不再赘述。It should be noted that, the above-mentioned explanations of the embodiments of the method for processing resources are also applicable to the apparatus for processing resources in this embodiment, and thus are not repeated here.
本申请实施例的资源的处理装置,应用于第一系统,第一系统对应多个清算平台,通过获取第二系统发送的资源处理请求,通过任一清算平台,向资源转出账户所属的第三系统发送资源扣除请求,响应于获取到第三系统反馈的资源扣除成功信息,通过任一清算平台,向资源接收账户所属的第四系统发送资源转入请求。由此,第一系统在获取资源处理请求后,可通过对应的多个清算平台中的任一清算平台,发送资源扣除请求和资源转入请求,实现了资源处理通道的多样化,降低了通道接入成本,适用范围广。The resource processing apparatus of the embodiment of the present application is applied to the first system, the first system corresponds to multiple clearing platforms, and by acquiring the resource processing request sent by the second system, through any clearing platform, the resources are transferred to the first system to which the account belongs. The third system sends a resource deduction request, and in response to obtaining the resource deduction success information fed back by the third system, sends a resource transfer request to the fourth system to which the resource receiving account belongs through any clearing platform. Therefore, after obtaining the resource processing request, the first system can send the resource deduction request and the resource transfer request through any one of the corresponding clearing platforms, which realizes the diversification of resource processing channels and reduces the number of channels. Access cost, applicable to a wide range.
为了实现上述实施例,本申请实施例还提出一种计算机设备,包括处理器和存储器;In order to implement the above embodiments, the embodiments of the present application further provide a computer device, including a processor and a memory;
其中,处理器通过读取存储器中存储的可执行程序代码来运行与所述可执行程序代码对应的程序,以用于实现如上述实施例所述的资源的处理方法。The processor executes the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the resource processing method according to the foregoing embodiment.
为了实现上述实施例,本申请实施例还提出一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述实施例所述的资源的处理方法。In order to implement the above embodiments, the embodiments of the present application further provide a non-transitory computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, implements the resource processing method described in the above embodiments.
为了实现上述实施例,本申请实施例还提出一种计算机程序产品,其特征在于,包括计算机程序,所述计算机程序在被处理器执行时实现根据上述实施例所述的资源的处理方法。In order to implement the above embodiments, the embodiments of the present application further provide a computer program product, which is characterized in that it includes a computer program, and when executed by a processor, the computer program implements the resource processing method according to the above embodiments.
在本说明书的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In the description of this specification, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations to the present application. Embodiments are subject to variations, modifications, substitutions and variations.
Claims (15)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110172518.3A CN114912914A (en) | 2021-02-08 | 2021-02-08 | Resource processing method, apparatus, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110172518.3A CN114912914A (en) | 2021-02-08 | 2021-02-08 | Resource processing method, apparatus, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114912914A true CN114912914A (en) | 2022-08-16 |
Family
ID=82760854
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110172518.3A Pending CN114912914A (en) | 2021-02-08 | 2021-02-08 | Resource processing method, apparatus, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114912914A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104166935A (en) * | 2014-05-08 | 2014-11-26 | 贵阳银行股份有限公司 | Fund transferring method, system and management platforms |
CN104424563A (en) * | 2013-08-30 | 2015-03-18 | 南京中兴群力信息科技有限公司 | Mobile banking business processing method, device and system |
CN105450590A (en) * | 2014-07-31 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Resource providing method and device |
CN106529918A (en) * | 2016-10-20 | 2017-03-22 | 北京众联享付科技股份有限公司 | Network payment technology channel management system for Unicom subscribers, merchants and third party payment channels |
CN107203875A (en) * | 2017-04-01 | 2017-09-26 | 北京波若科技有限公司 | Fund clearing method, device and server |
CN109801052A (en) * | 2017-11-16 | 2019-05-24 | 华为软件技术有限公司 | A kind of transfer account method and payment platform |
CN110135838A (en) * | 2019-04-15 | 2019-08-16 | 深圳壹账通智能科技有限公司 | Electronic payment method, device, computer equipment and storage medium |
CN110246015A (en) * | 2019-05-20 | 2019-09-17 | 平安银行股份有限公司 | Resource transfers method, apparatus, computer equipment and storage medium |
CN111105225A (en) * | 2019-11-29 | 2020-05-05 | 中移动金融科技有限公司 | A transfer method, device, equipment and storage medium |
CN111311360A (en) * | 2020-02-03 | 2020-06-19 | 网银在线(北京)科技有限公司 | Resource return method and device, storage medium and electronic device |
CN111709733A (en) * | 2020-06-03 | 2020-09-25 | 支付宝(杭州)信息技术有限公司 | Resource transfer method, device and equipment |
-
2021
- 2021-02-08 CN CN202110172518.3A patent/CN114912914A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104424563A (en) * | 2013-08-30 | 2015-03-18 | 南京中兴群力信息科技有限公司 | Mobile banking business processing method, device and system |
CN104166935A (en) * | 2014-05-08 | 2014-11-26 | 贵阳银行股份有限公司 | Fund transferring method, system and management platforms |
CN105450590A (en) * | 2014-07-31 | 2016-03-30 | 阿里巴巴集团控股有限公司 | Resource providing method and device |
CN106529918A (en) * | 2016-10-20 | 2017-03-22 | 北京众联享付科技股份有限公司 | Network payment technology channel management system for Unicom subscribers, merchants and third party payment channels |
CN107203875A (en) * | 2017-04-01 | 2017-09-26 | 北京波若科技有限公司 | Fund clearing method, device and server |
CN109801052A (en) * | 2017-11-16 | 2019-05-24 | 华为软件技术有限公司 | A kind of transfer account method and payment platform |
CN110135838A (en) * | 2019-04-15 | 2019-08-16 | 深圳壹账通智能科技有限公司 | Electronic payment method, device, computer equipment and storage medium |
CN110246015A (en) * | 2019-05-20 | 2019-09-17 | 平安银行股份有限公司 | Resource transfers method, apparatus, computer equipment and storage medium |
CN111105225A (en) * | 2019-11-29 | 2020-05-05 | 中移动金融科技有限公司 | A transfer method, device, equipment and storage medium |
CN111311360A (en) * | 2020-02-03 | 2020-06-19 | 网银在线(北京)科技有限公司 | Resource return method and device, storage medium and electronic device |
CN111709733A (en) * | 2020-06-03 | 2020-09-25 | 支付宝(杭州)信息技术有限公司 | Resource transfer method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108596619B (en) | Transaction method, device, central node and system for blockchain system | |
CN108764868B (en) | Block chain node proxy reconciliation method and block reconciliation proxy node | |
US9123044B2 (en) | Generation systems and methods for transaction identifiers having biometric keys associated therewith | |
US7280981B2 (en) | Method and system for facilitating payment transactions using access devices | |
CN110348853B (en) | Block chain off-line transaction method and system based on identification authentication | |
US20120078791A1 (en) | Method and system for facilitating payment transactions using access devices | |
CN105678546B (en) | Digital asset processing method based on distributed shared general ledger | |
US20140006247A1 (en) | System, device and method for the interaction of security information | |
US11469895B2 (en) | Cloud token provisioning of multiple tokens | |
EP2122552A2 (en) | Secure money transfer systems and methods using biometric keys associated therewith | |
US20090157549A1 (en) | Using a mobile phone as a remote pin entry terminal for cnp credit card transactions | |
CN111967967A (en) | Block chain-based cross-bank payment service processing method and device | |
KR102121938B1 (en) | Apparatus and method for providing a simple settlement service of a corporation account | |
WO2022206433A1 (en) | Method and apparatus for pre-executing chaincode in fabric blockchain | |
CN105046478A (en) | Method of processing article and system thereof | |
US10015324B2 (en) | Method and system for user signup by a network service provider | |
CN114912914A (en) | Resource processing method, apparatus, computer equipment and storage medium | |
CN111047323A (en) | Credit transaction method and device based on block chain and hardware equipment | |
KR101772358B1 (en) | Method for Automatic Identifying Other Companies Application for Registration of Payment Means | |
CN110852866A (en) | Method, apparatus, and storage medium for managing a plurality of resources | |
CN111523961B (en) | Resource information processing method, client and server | |
US20230107197A1 (en) | Blockchain based interaction processing | |
CN112311838B (en) | Business asynchronous interaction method and device | |
EP4468224A1 (en) | System and method for executing electronic payments | |
EP4468223A1 (en) | System and method for authorizing electronic payments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |