CN114549205A - Transaction flow processing method and device, processor and electronic equipment - Google Patents

Transaction flow processing method and device, processor and electronic equipment Download PDF

Info

Publication number
CN114549205A
CN114549205A CN202210169932.3A CN202210169932A CN114549205A CN 114549205 A CN114549205 A CN 114549205A CN 202210169932 A CN202210169932 A CN 202210169932A CN 114549205 A CN114549205 A CN 114549205A
Authority
CN
China
Prior art keywords
transaction
target
node
nodes
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210169932.3A
Other languages
Chinese (zh)
Inventor
刘玮琪
郭旭
刘永伟
卢晓露
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210169932.3A priority Critical patent/CN114549205A/en
Publication of CN114549205A publication Critical patent/CN114549205A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a transaction flow processing method. Relating to the field of financial science and technology, the method comprises the following steps: acquiring a plurality of transaction nodes in a transaction flow, wherein the transaction nodes in the transaction flow are executed according to a preset sequence; generating target identification information corresponding to a target transaction node under the condition that the working state of the target transaction node is a suspicious state in a plurality of transaction nodes, wherein the target transaction node is any one of the transaction nodes; and processing the suspicious state based on the target identification information, and executing other transaction nodes in the transaction flow after the suspicious state is released. Through the method and the device, the problems that manual checking errors are more, efficiency is low and labor cost is high when the transaction nodes in the transaction process are checked manually in the related technology are solved.

Description

交易流程的处理方法、装置、处理器及电子设备Transaction flow processing method, device, processor and electronic device

技术领域technical field

本申请涉及金融科技领域,具体而言,涉及一种交易流程的处理方法、装置、处理器及电子设备。The present application relates to the field of financial technology, and in particular, to a method, apparatus, processor and electronic device for processing a transaction process.

背景技术Background technique

商户之家是工行收单商户服务互联网渠道唯一触点,为了提升全行商户服务的竞争和服务能力,更好服务全行收单商户,商户之家除PC、APP外,还支持了由GTCG外联、工行API平台接入的合作方商户退款,在此过程中,订单支付类型也逐渐增多。面对多渠道、多订单类型的需求,商户之家提供的服务,组合了工银、银联、聚合、电子券、团购券等多种订单的退款,由于业务模式趋于复杂导致交易链路变长,且交易量逐步增加,在联机交易的过程中,难免出现某个节点异常导致的交易超时,此时会出现挂账情况,相关技术中,需要交易维护人员和分行柜员人工查询账务处理情况,并手工处理挂账,这种方式存在人工核对失误、效率低下、工作量大的缺点,会影响联机交易的时效性,进一步影响了收单商户的交易进展,更无法适应多渠道多订单类型的业务需求变化。Merchant Home is the only point of contact for ICBC's acquiring merchant service Internet channel. In order to enhance the competition and service capabilities of merchant services across the bank and better serve the acquiring merchants in the bank, Merchant Home, in addition to PC and APP, also supports services provided by GTCG. The partner merchants connected to the Wailian and ICBC API platforms will refund the money. During this process, the types of order payment will gradually increase. Facing the needs of multi-channel and multi-order types, the service provided by Merchant Home combines the refunds of various orders such as ICBC, UnionPay, aggregation, electronic coupons, and group purchase coupons. Due to the complexity of the business model, the transaction link is It becomes longer and the transaction volume increases gradually. In the process of online transaction, it is inevitable that a transaction timeout caused by a node abnormality will occur. At this time, there will be an overpayment situation. In related technologies, transaction maintenance personnel and branch tellers are required to manually query the accounting process. This method has the disadvantages of manual verification errors, low efficiency and large workload, which will affect the timeliness of online transactions, further affect the transaction progress of acquirers, and cannot adapt to multi-channel and multi-order types. changes in business needs.

针对相关技术中对交易流程中的交易节点采用人工方式的进行核对,存在人工核对失误多、效率低下以及人工成本高的问题,目前尚未提出有效的解决方案。Aiming at the problems of manual verification of transaction nodes in the transaction process in the related art, there are many problems in manual verification, low efficiency and high labor cost, and no effective solution has been proposed so far.

发明内容SUMMARY OF THE INVENTION

本申请的主要目的在于提供一种交易流程的处理方法、装置、处理器以及电子设备,以解决相关技术中对交易节点采用人工的方式的进行核对,存在失误多,效率低下以及人工成本高的问题。The main purpose of the present application is to provide a transaction process processing method, device, processor and electronic device, so as to solve the problem of manual checking of transaction nodes in the related art, which has many errors, low efficiency and high labor costs. question.

为了实现上述目的,根据本申请的一个方面,提供了一种交易流程的处理方法。该方法包括:获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点。In order to achieve the above object, according to an aspect of the present application, a method for processing a transaction flow is provided. The method includes: acquiring a plurality of transaction nodes in a transaction process, wherein the plurality of transaction nodes in the transaction process are executed in a predetermined order; in the case of determining that among the plurality of transaction nodes, the working state of the target transaction node is a suspicious state , generate target identification information corresponding to the target transaction node, where the target transaction node is any one of multiple transaction nodes; process the suspicious state based on the target identification information, and execute other transactions in the transaction process after the suspicious state is lifted node.

可选地,执行交易流程中其他交易节点,包括:按照预定顺序对交易流程中的其他交易节点的工作状态进行判断,得到判断结果;在判断结果指示其他交易节点的工作状态为可疑状态的情况下,生成其他交易节点的标识信息;基于标识信息对其他交易节点的可疑状态进行处理,在其他交易节点的可疑状态解除后,对其他交易节点的下一个交易节点进行处理。Optionally, executing other transaction nodes in the transaction process includes: judging the working states of other transaction nodes in the transaction process in a predetermined order to obtain a judgment result; in the case where the judgment result indicates that the working states of other transaction nodes are suspicious Next, the identification information of other transaction nodes is generated; based on the identification information, the suspicious status of other transaction nodes is processed, and after the suspicious status of other transaction nodes is resolved, the next transaction node of other transaction nodes is processed.

可选地,确定多个交易节点中,目标交易节点的工作状态为可疑状态,包括:接收第三方服务器返回的目标节点的当前状态码;在当前状态码与预设状态码一致的情况下,确定目标节点的工作状态为可疑状态。Optionally, determining that among the multiple transaction nodes, the working state of the target transaction node is a suspicious state, including: receiving the current state code of the target node returned by the third-party server; when the current state code is consistent with the preset state code, It is determined that the working status of the target node is suspicious.

可选地,确定多个交易节点中,目标交易节点的工作状态为可疑状态,还包括:确定在预定时长内是否接收到第三方服务器针对目标节点的响应信号;在预定时长内未接收到响应信号的情况下,确定目标交易节点的工作状态为可疑状态。Optionally, determining that among the multiple transaction nodes, the working state of the target transaction node is a suspicious state, further comprising: determining whether a response signal from a third-party server to the target node is received within a predetermined period of time; no response is received within the predetermined period of time. In the case of a signal, it is determined that the working state of the target transaction node is a suspicious state.

可选地,基于目标标识信息对可疑状态进行处理,包括:开启处理线程,查询目标标识信息对应的目标应用程序接口;调用目标应用程序接口对目标交易节点进行处理,在目标应用程序对目标交易节点处理成功后,解除可疑状态。Optionally, processing the suspicious state based on the target identification information includes: starting a processing thread, and querying the target application program interface corresponding to the target identification information; calling the target application program interface to process the target transaction node, and in the target application program, the target transaction is processed. After the node is processed successfully, the suspicious state is removed.

可选地,上述方法还包括:检测在预定时长内对目标节点发生可疑状态的次数是否大于预设阈值;在检测结果指示目标节点发生可疑状态的次数大于预设阈值的情况下,展示提示信息,其中,提示信息用于提示目标对象对目标节点的可疑状态进行处理。Optionally, the above method further includes: detecting whether the number of times the suspicious state occurs to the target node within a predetermined period of time is greater than a preset threshold; when the detection result indicates that the number of times the suspicious state occurs on the target node is greater than the preset threshold, displaying prompt information , wherein the prompt information is used to prompt the target object to deal with the suspicious state of the target node.

根据本申请实施例的另一方面,还提供了一种任务的处理方法,包括:获取任务流程中的多个处理节点,其中,任务流程中的多个处理节点按照预定顺序进行执行;在确定多个处理节点中目标处理节点的工作状态为目标类型的情况下,生成与目标处理节点对应的目标标识信息,其中,目标处理节点为多个处理节点中的任意一个节点;基于目标标识信息对目标类型的工作状态进行处理,在目标类型的工作状态解除后,执行任务流程中的其他节点。According to another aspect of the embodiments of the present application, a method for processing a task is also provided, including: acquiring multiple processing nodes in a task flow, wherein the multiple processing nodes in the task flow are executed in a predetermined order; In the case where the working state of the target processing node in the multiple processing nodes is the target type, target identification information corresponding to the target processing node is generated, wherein the target processing node is any one of the multiple processing nodes; The work state of the target type is processed, and after the work state of the target type is released, other nodes in the task flow are executed.

根据本申请实施例的另一方面,还提供了一种交易流程的处理装置,包括:获取模块,用于获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;确定模块,用于在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;处理模块,用于基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点。According to another aspect of the embodiments of the present application, a device for processing a transaction process is also provided, including: an acquisition module configured to acquire multiple transaction nodes in the transaction process, wherein the multiple transaction nodes in the transaction process are pre-determined The execution is performed in sequence; the determination module is used to generate target identification information corresponding to the target transaction node in the case of determining that the working state of the target transaction node is suspicious among the plurality of transaction nodes, wherein the target transaction node is a plurality of transactions. Any one of the nodes; the processing module is used to process the suspicious state based on the target identification information, and execute other transaction nodes in the transaction process after the suspicious state is removed.

根据本申请实施例的另一方面,还提供了一种处理器,处理器用于运行程序,其中,程序运行时执行任意一种交易流程的处理方法。According to another aspect of the embodiments of the present application, a processor is also provided, and the processor is used for running a program, wherein, when the program runs, any processing method of a transaction flow is executed.

根据本申请实施例的另一方面,还提供了一种电子设备,包括一个或多个处理器和存储器,存储器用于存储一个或多个程序,其中,当一个或多个程序被一个或多个处理器执行时,使得一个或多个处理器实现任意一种交易流程的处理方法。According to another aspect of the embodiments of the present application, there is also provided an electronic device, comprising one or more processors and a memory, the memory is used for storing one or more programs, wherein when the one or more programs are executed by one or more When executed by multiple processors, one or more processors are made to implement any processing method of the transaction flow.

通过本申请,采用以下步骤:获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点,解决了相关技术中对交易节点采用人工的方式进行核对,存在失误多,效率低下以及人工成本高的问题。进而达到了提高对可疑节点的处理效率,提高处理的准确度,以及降低核对的人工成本的效果。Through the present application, the following steps are adopted: acquiring multiple transaction nodes in the transaction process, wherein the multiple transaction nodes in the transaction process are executed in a predetermined order; in determining the multiple transaction nodes, the working status of the target transaction node is suspicious In the case of the state, generate target identification information corresponding to the target transaction node, where the target transaction node is any node among multiple transaction nodes; process the suspicious state based on the target identification information, and execute the transaction after the suspicious state is lifted. Other transaction nodes in the process solve the problems of manual verification of transaction nodes in related technologies, which have many errors, low efficiency and high labor costs. Further, the effects of improving the processing efficiency of suspicious nodes, improving the processing accuracy, and reducing the labor cost of checking are achieved.

附图说明Description of drawings

构成本申请的一部分的附图用来提供对本申请的进一步理解,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The accompanying drawings constituting a part of the present application are used to provide further understanding of the present application, and the schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:

图1是根据本申请实施例提供的交易流程的处理方法的流程图;FIG. 1 is a flowchart of a processing method for a transaction process provided according to an embodiment of the present application;

图2是根据本申请实施例的一种可选的交易流程示意图;2 is a schematic diagram of an optional transaction flow according to an embodiment of the present application;

图3为当调用银联接口入个人账为可疑状态的流程处理图;Fig. 3 is the process flow chart of the suspicious state when the UnionPay interface is called to enter the personal account;

图4是根据本申请实施例的一种任务的处理方法的流程示意图;4 is a schematic flowchart of a method for processing a task according to an embodiment of the present application;

图5是根据本申请实施例的交易流程的处理装置的示意图;5 is a schematic diagram of a processing device for a transaction flow according to an embodiment of the present application;

图6是根据本申请实施例的一种电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式Detailed ways

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features of the embodiments may be combined with each other in the case of no conflict. The present application will be described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only The embodiments are part of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without creative work shall fall within the protection scope of the present application.

需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances for the embodiments of the application described herein. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed Rather, those steps or units may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

为了便于描述,以下对本申请实施例涉及的部分名词或术语进行说明:For the convenience of description, some nouns or terms involved in the embodiments of the present application are described below:

可疑状态:调用更新或提交类接口时由于超时异常,造成的一种结果未明的中间状态。Suspicious state: An intermediate state with unknown results caused by a timeout exception when calling the update or commit class interface.

可疑批复:针对结果未明的交易,发起主动查询,获取处理结果,并继续后续流程,形成业务闭环。Suspicious Approval: For transactions with unknown results, initiate active queries, obtain processing results, and continue the follow-up process to form a closed business loop.

指令表:记录一次交易详细信息的数据库表Order table: a database table that records the details of a transaction

商户之家:工行收单商户服务平台,为工行收单商户提供支付成功消息通知、明细查询、对账单查询、退款等服务。Merchant Home: ICBC Acquiring Merchant Service Platform, which provides ICBC Acquiring Merchants with payment success message notification, detailed inquiry, statement inquiry, refund and other services.

GTCG外联:负责工行总行应用与行外合作方的通讯。GTCG Outreach: Responsible for the communication between ICBC head office application and external partners.

API平台:工行向第三方提供的开放API接口的平台。API platform: a platform for open API interface provided by ICBC to third parties.

商户之家APP:工行开发的商户收单服务移动APP,商户通过各大应用市场下载安装,通过手机为商户提供支付成功消息通知、明细查询、对账单查询、退款等服务。Merchant Home APP: A mobile APP for merchant acquiring service developed by ICBC. Merchants can download and install them through major application markets, and provide merchants with payment success message notification, detailed inquiry, statement inquiry, refund and other services through their mobile phones.

银联:中国银行卡联合组织,各银行通过银联跨行教育清算系统,实现了系统间的互联互通。UnionPay: China's bank card association, each bank has realized the interconnection between systems through the UnionPay inter-bank education clearing system.

聚合:支持支付宝和微信相关订单的支付及退款。Aggregation: Support payment and refund of Alipay and WeChat related orders.

需要说明的是,本公开所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于展示的数据、分析的数据等),均为经用户授权或者经过各方充分授权的信息和数据。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to display data, analysis data, etc.) involved in this disclosure are all authorized by the user or information and data fully authorized by the parties.

下面结合优选的实施步骤对本发明进行说明,图1是根据本申请实施例提供的交易流程的处理方法的流程图,如图1所示,该方法包括如下步骤:The present invention will be described below with reference to the preferred implementation steps. FIG. 1 is a flowchart of a processing method for a transaction process provided according to an embodiment of the present application. As shown in FIG. 1 , the method includes the following steps:

S101,获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;S101, acquiring multiple transaction nodes in the transaction process, wherein the multiple transaction nodes in the transaction process are executed in a predetermined order;

S102,在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;S102, generating target identification information corresponding to the target transaction node when it is determined that the working state of the target transaction node is suspicious among the plurality of transaction nodes, wherein the target transaction node is any one of the plurality of transaction nodes;

S103,基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点。S103: Process the suspicious state based on the target identification information, and execute other transaction nodes in the transaction process after the suspicious state is removed.

在该交易流程的处理方法中,通过获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点,解决了相关技术中对交易节点采用人工的方式的进行核对,存在失误多,效率低下以及人工成本高的问题。进而达到了提高账务可疑时的处理效率,提高处理的准确度,提供系统可靠性以及降低核对的人工成本的效果。In the processing method of the transaction process, by acquiring multiple transaction nodes in the transaction process, the multiple transaction nodes in the transaction process are executed in a predetermined order; in determining the multiple transaction nodes, the working state of the target transaction node In the case of a suspicious state, target identification information corresponding to the target transaction node is generated, wherein the target transaction node is any one of the multiple transaction nodes; the suspicious state is processed based on the target identification information, and after the suspicious state is removed, Executing other transaction nodes in the transaction process solves the problems of many errors, low efficiency and high labor costs in the related technology of manually checking transaction nodes. Further, the effects of improving the processing efficiency when the accounts are suspicious, improving the processing accuracy, improving the system reliability and reducing the labor cost of checking are achieved.

需要说明的是,执行交易流程中其他交易节点,可通过如下步骤实现,具体地:按照预定顺序对交易流程中的其他交易节点的工作状态进行判断,得到判断结果;在判断结果指示其他交易节点的工作状态为可疑状态的情况下,生成其他交易节点的标识信息;基于标识信息对其他交易节点的可疑状态进行处理,在其他交易节点的可疑状态解除后,对其他交易节点的下一个交易节点进行处理。即对于交易流程的任意一个交易节点,当该交易节点出现可疑状态时,则先对该可疑状态进行处理,在可疑状态解除后,继续对该交易节点对应下一个交易节点。It should be noted that the execution of other transaction nodes in the transaction process can be achieved through the following steps, specifically: judging the working states of other transaction nodes in the transaction process in a predetermined order to obtain the judgment result; indicating other transaction nodes in the judgment result When the working status of the other transaction node is suspicious, the identification information of other transaction nodes is generated; based on the identification information, the suspicious status of other transaction nodes is processed. to be processed. That is, for any transaction node in the transaction process, when the transaction node has a suspicious state, the suspicious state is processed first, and after the suspicious state is removed, the transaction node continues to correspond to the next transaction node.

本申请一些实施例中,确定多个交易节点中,目标交易节点的工作状态为可疑状态的方法,包括:接收第三方服务器返回的目标节点的当前状态码;在当前状态码与预设状态码一致的情况下,确定目标节点的工作状态为可疑状态。In some embodiments of the present application, the method for determining that the working state of a target transaction node among multiple transaction nodes is a suspicious state includes: receiving a current state code of the target node returned by a third-party server; If they are consistent, determine that the working state of the target node is a suspicious state.

在本申请另一些可选的实施例中,确定多个交易节点中,目标交易节点的工作状态为可疑状态的方法,还包括:确定在预定时长内是否接收到第三方服务器针对目标节点的响应信号;在预定时长内未接收到响应信号的情况下,确定目标交易节点的工作状态为可疑状态。In some other optional embodiments of the present application, the method for determining that the working status of a target transaction node among multiple transaction nodes is suspicious, further comprising: determining whether a response from a third-party server to the target node is received within a predetermined period of time Signal; if no response signal is received within a predetermined period of time, it is determined that the working state of the target transaction node is a suspicious state.

本申请一些可选的实施例中,可基于目标标识信息对可疑状态进行处理,具体地,开启处理线程,查询目标标识信息对应的目标应用程序接口;调用目标应用程序接口对目标交易节点进行处理,在目标应用程序对目标交易节点处理成功后,解除可疑状态。In some optional embodiments of the present application, the suspicious state may be processed based on the target identification information. Specifically, a processing thread is started, and the target application program interface corresponding to the target identification information is queried; the target application program interface is called to process the target transaction node. , after the target application successfully processes the target transaction node, the suspicious state is lifted.

需要说明的是,在本申请相关实施例中,在检测在预定时长内对目标节点发生可疑状态的次数是否大于预设阈值;在检测结果指示目标节点发生可疑状态的次数大于预设阈值的情况下,展示提示信息,其中,提示信息用于提示目标对象对目标节点的可疑状态进行处理。例如,在1小时内,某一节点出现可疑状态的次数大于5次,则可生成并在显示设备上展示提示信息,以提示开发人员或者运维人员对该节点进行人工处理。It should be noted that, in the relevant embodiments of the present application, it is detected whether the number of times the suspicious state occurs to the target node within a predetermined period of time is greater than the preset threshold; the detection result indicates that the number of times the suspicious state occurs on the target node is greater than the preset threshold. Below, prompt information is displayed, wherein the prompt information is used to prompt the target object to deal with the suspicious state of the target node. For example, within one hour, if a node has suspicious status more than 5 times, prompt information can be generated and displayed on the display device to prompt developers or operation and maintenance personnel to manually process the node.

为了便于本领域技术人员更好的理解本申请相关实施例,现以银联电子支付券为例对本申请相关实施例进行说明,图2是本申请一种可选的交易流程示意图,如图2所示:In order to facilitate those skilled in the art to better understand the relevant embodiments of the present application, the relevant embodiments of the present application will now be described by taking UnionPay electronic payment vouchers as an example. FIG. 2 is a schematic diagram of an optional transaction flow of the present application, as shown in FIG. 2 . Show:

按照交易节点引入中间状态和终态的概念,以下3种状态流转是可到达终态的流转:According to the concept of intermediate state and final state introduced by transaction nodes, the following three state flows are flows that can reach the final state:

(1)退款成功:6→7→8→9→10→终态,其中,终态可以为失败状态或者成功状态,即终态为一个确定的失败或者成功状态。(1) The refund is successful: 6→7→8→9→10→final state, where the final state can be a failure state or a successful state, that is, the final state is a definite failure or success state.

(2)扣商户账失败造成的退款失败:6→11→终态。(2) Refund failure caused by failure to deduct merchant account: 6→11→final state.

(3)入个人账失败造成的退款失败:6→7→8→12→13→终态。(3) Refund failure caused by failure to enter personal account: 6→7→8→12→13→final state.

联机交易在每一个交易节点出现可疑后会在数据库中记录一个可疑状态,启用后台线程,该后台线程在数据库中扫描指令表的可疑记录,根据可疑状态做出下一步处理。图3为调用银联接口入个人账为可疑状态的流程处理图,如图3所示,在“调用银联接口入个人帐”时出现可疑,则联机交易可记录可疑状态为8。后台线程扫描到可疑指令后,首先调用银联提供的主动查询接口,确认动账结果,根据动账结果做下一步处理。若在可疑批复过程中再次出现可疑,支持再次记录某节点的可疑状态,并等待下次可疑批复;且该交易流程该可支持多渠道,即各渠道接入商户之家进行退款,皆可使用联机交易的组合服务,并支持多订单类型,即每种订单完成退款需要的交易节点均加入可疑状态,可疑批复线程根据状态判断下一步操作流程并执行。After each transaction node is suspicious, the online transaction will record a suspicious status in the database, and enable the background thread. The background thread scans the suspicious records of the instruction table in the database, and makes the next step according to the suspicious status. Figure 3 is a flowchart of the process of invoking the UnionPay interface to enter the personal account as a suspicious state. As shown in Figure 3, if there is doubt when "calling the UnionPay interface to enter the personal account", the online transaction can record the suspicious state as 8. After the background thread scans the suspicious instruction, it first calls the active query interface provided by UnionPay to confirm the account transfer result, and then proceed to the next step according to the account transfer result. If suspiciousness occurs again during the suspicious approval process, it is supported to record the suspicious status of a node again, and wait for the next suspicious reply; and the transaction process should support multiple channels, that is, each channel can access the merchant's home for refunds. It uses the combined service of online transactions and supports multiple order types, that is, the transaction nodes required for each order to complete the refund are added to the suspicious status, and the suspicious approval thread judges the next operation process according to the status and executes it.

容易注意到的,通过上述交易节点的处理方法,可降低人工处理可疑账务的成本及工作量,缩短可疑账务处理的时效,快速形成业务闭环,提升可疑账务处理的准确度,提升系统可靠性,且无需收单商户关心业务流程、行内组合多渠道多订单类型的处理。It is easy to notice that the above processing method of transaction nodes can reduce the cost and workload of manual handling of suspicious accounts, shorten the time limit for handling suspicious accounts, quickly form a closed business loop, improve the accuracy of handling suspicious accounts, and improve the system. Reliability, and no need for acquiring merchants to care about business processes, multi-channel and multi-order processing of intra-industry combinations.

图4根据本申请实施例的一种任务的处理方法,如图4所示,该处理方法包括:FIG. 4 is a method for processing a task according to an embodiment of the present application. As shown in FIG. 4 , the processing method includes:

S201,获取任务流程中的多个处理节点,其中,任务流程中的多个处理节点按照预定顺序进行执行;S201, acquiring multiple processing nodes in the task flow, wherein the multiple processing nodes in the task flow are executed in a predetermined order;

S202,在确定多个处理节点中目标处理节点的工作状态为目标类型的情况下,生成与目标处理节点对应的目标标识信息,其中,目标处理节点为多个处理节点中的任意一个节点;S202, in the case of determining that the working state of the target processing node in the plurality of processing nodes is the target type, generate target identification information corresponding to the target processing node, wherein the target processing node is any one of the plurality of processing nodes;

S203,基于目标标识信息对目标类型的工作状态进行处理,在目标类型的工作状态解除后,执行任务流程中的其他节点。S203: Process the working state of the target type based on the target identification information, and execute other nodes in the task flow after the working state of the target type is released.

该处理方法中,通过获取任务流程中的多个处理节点,其中,任务流程中的多个处理节点按照预定顺序进行执行,在确定多个处理节点中目标处理节点的工作状态为目标类型的情况下,生成与目标处理节点对应的目标标识信息,其中,目标处理节点为多个处理节点中的任意一个节点,基于目标标识信息对目标类型的工作状态进行处理,在目标类型的工作状态解除后,执行任务流程中的其他节点,解决了相关技术中对任务流程的各个节点采用人工的方式的进行核对,存在失误多,效率低下以及人工成本高的问题,进而达到了提高对可疑节点的处理效率,提高处理的准确度,降低核对的人工成本的效果。In the processing method, by acquiring multiple processing nodes in the task flow, wherein the multiple processing nodes in the task flow are executed in a predetermined order, when it is determined that the working state of the target processing node among the multiple processing nodes is the target type Next, the target identification information corresponding to the target processing node is generated, wherein the target processing node is any one of the multiple processing nodes, and the working status of the target type is processed based on the target identification information. After the working status of the target type is released , execute other nodes in the task process, solve the problems of many errors, low efficiency and high labor cost in the related art of manually checking each node of the task process, thereby improving the handling of suspicious nodes. efficiency, improve the accuracy of processing, and reduce the labor cost of checking.

需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。It should be noted that the steps shown in the flowcharts of the accompanying drawings may be executed in a computer system, such as a set of computer-executable instructions, and, although a logical sequence is shown in the flowcharts, in some cases, Steps shown or described may be performed in an order different from that herein.

本申请实施例还提供了一种交易流程的处理装置,需要说明的是,本申请实施例的交易流程的处理装置可以用于执行本申请实施例所提供的用于交易流程的处理方法。以下对本申请实施例提供的交易流程的处理装置进行介绍。The embodiment of the present application further provides a transaction flow processing apparatus. It should be noted that the transaction flow processing apparatus of the present application embodiment may be used to execute the transaction flow processing method provided by the present application embodiment. The following describes the processing device for the transaction flow provided by the embodiment of the present application.

图5是根据本申请实施例的交易流程的处理装置的示意图。如图5所示,该装置包括:FIG. 5 is a schematic diagram of an apparatus for processing a transaction flow according to an embodiment of the present application. As shown in Figure 5, the device includes:

获取模块50,用于获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;The acquiring module 50 is configured to acquire multiple transaction nodes in the transaction process, wherein the multiple transaction nodes in the transaction process are executed in a predetermined order;

确定模块52,用于在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;The determination module 52 is used to generate target identification information corresponding to the target transaction node in the case of determining that the working state of the target transaction node is a suspicious state among the plurality of transaction nodes, wherein the target transaction node is one of the plurality of transaction nodes. any node;

处理模块54,用于基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点。The processing module 54 is configured to process the suspicious state based on the target identification information, and execute other transaction nodes in the transaction process after the suspicious state is removed.

该交易流程的处理装置中,获取模块50,用于获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;确定模块52,用于在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;处理模块54,用于基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点,解决了相关技术中对交易节点采用人工的方式的进行核对,存在失误多,效率低下以及人工成本高的问题。进而达到了提高账务可疑时的处理效率,提高处理的准确度,以及降低核对的人工成本的效果。In the processing device of the transaction process, the acquisition module 50 is used to acquire multiple transaction nodes in the transaction process, wherein the multiple transaction nodes in the transaction process are executed in a predetermined order; the determination module 52 is used to determine the multiple transaction nodes in the transaction process. Among the transaction nodes, when the working state of the target transaction node is a suspicious state, target identification information corresponding to the target transaction node is generated, wherein the target transaction node is any one of the plurality of transaction nodes; the processing module 54 is used for The suspicious state is processed based on the target identification information, and after the suspicious state is removed, other transaction nodes in the transaction process are executed, which solves the problem of manual checking of transaction nodes in related technologies, which has many mistakes, low efficiency and high labor costs. The problem. Further, the effect of improving the processing efficiency when the accounts are suspicious, improving the processing accuracy, and reducing the labor cost of checking is achieved.

根据本申请实施例的另一方面,还提供了一种处理器,处理器用于运行程序,其中,程序运行时执行任意一种交易流程的处理方法。According to another aspect of the embodiments of the present application, a processor is also provided, and the processor is used for running a program, wherein, when the program runs, any processing method of a transaction flow is executed.

根据本申请实施例的另一方面,还提供了一种电子设备,包括一个或多个处理器和存储器,存储器用于存储一个或多个程序,其中,当一个或多个程序被一个或多个处理器执行时,使得一个或多个处理器实现任意一种交易流程的处理方法。According to another aspect of the embodiments of the present application, there is also provided an electronic device, comprising one or more processors and a memory, the memory is used for storing one or more programs, wherein when the one or more programs are executed by one or more When executed by multiple processors, one or more processors are made to implement any processing method of the transaction flow.

所述交易流程的处理装置包括处理器和存储器,上述获取模块,确定模块等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The processing device for the transaction flow includes a processor and a memory. The acquisition module and the determination module are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来解决了相关技术中对交易节点采用人工的方式的进行核对,存在失误多,效率低下以及人工成本高的问题。进而达到了提高账务可疑时的处理效率,提高处理的准确度,以及降低核对的人工成本的效果。The processor includes a kernel, and the kernel calls the corresponding program unit from the memory. One or more kernels can be set. By adjusting the kernel parameters, the manual checking of transaction nodes in the related art is solved, which has many errors, low efficiency and high labor costs. Further, the effect of improving the processing efficiency when the accounts are suspicious, improving the processing accuracy, and reducing the labor cost of checking is achieved.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least one memory chip.

本发明实施例提供了一种计算机可读存储介质,其上存储有程序,该程序被处理器执行时实现所述交易流程的处理方法。An embodiment of the present invention provides a computer-readable storage medium on which a program is stored, and when the program is executed by a processor, a processing method for implementing the transaction flow is realized.

本发明实施例提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行所述交易流程的处理方法。An embodiment of the present invention provides a processor for running a program, wherein the processing method for the transaction process is executed when the program runs.

如图6所示,本发明实施例提供了一种电子设备,设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序,处理器执行程序时实现以下步骤:获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点。本文中的设备可以是服务器、PC、PAD、手机等。As shown in FIG. 6 , an embodiment of the present invention provides an electronic device. The device includes a processor, a memory, and a program stored in the memory and running on the processor. When the processor executes the program, the following steps are implemented: obtaining a transaction flow multiple transaction nodes in the transaction process, wherein the multiple transaction nodes in the transaction process are executed in a predetermined order; in the case where it is determined that the working status of the target transaction node is suspicious among the multiple transaction nodes, generate a corresponding transaction node corresponding to the target transaction node. The target identification information, wherein the target transaction node is any one of the multiple transaction nodes; the suspicious state is processed based on the target identification information, and after the suspicious state is removed, other transaction nodes in the transaction process are executed. The devices in this article can be servers, PCs, PADs, mobile phones, and so on.

本申请还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:获取交易流程中的多个交易节点,其中,交易流程中的多个交易节点按照预定顺序进行执行;在确定多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与目标交易节点对应的目标标识信息,其中,目标交易节点为多个交易节点中的任意一个节点;基于目标标识信息对可疑状态进行处理,在可疑状态解除后,执行交易流程中其他交易节点。The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program initialized with the following method steps: acquiring a plurality of transaction nodes in a transaction process, wherein a plurality of transactions in the transaction process The nodes are executed in a predetermined order; in the case of determining that the working status of the target transaction node is suspicious among the plurality of transaction nodes, target identification information corresponding to the target transaction node is generated, wherein the target transaction node is one of the plurality of transaction nodes. Any node of ; process the suspicious state based on the target identification information, and execute other transaction nodes in the transaction process after the suspicious state is lifted.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.

在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。存储器是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. Information may be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture or apparatus that includes the element.

本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。It will be appreciated by those skilled in the art that the embodiments of the present application may be provided as a method, a system or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

以上仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.

Claims (10)

1.一种交易流程的处理方法,其特征在于,包括:1. A processing method for a transaction process, comprising: 获取交易流程中的多个交易节点,其中,所述交易流程中的所述多个交易节点按照预定顺序进行执行;acquiring multiple transaction nodes in the transaction process, wherein the multiple transaction nodes in the transaction process are executed in a predetermined order; 在确定所述多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与所述目标交易节点对应的目标标识信息,其中,所述目标交易节点为所述多个交易节点中的任意一个节点;In the case where it is determined that the working state of the target transaction node is suspicious among the plurality of transaction nodes, target identification information corresponding to the target transaction node is generated, wherein the target transaction node is the plurality of transaction nodes any node in ; 基于所述目标标识信息对所述可疑状态进行处理,在所述可疑状态解除后,执行所述交易流程中其他交易节点。The suspicious state is processed based on the target identification information, and after the suspicious state is removed, other transaction nodes in the transaction process are executed. 2.根据权利要求1所述的方法,其特征在于,执行所述交易流程中其他交易节点,包括:2. The method according to claim 1, wherein executing other transaction nodes in the transaction process comprises: 按照所述预定顺序对所述交易流程中的所述其他交易节点的工作状态进行判断,得到判断结果;Judging the working states of the other transaction nodes in the transaction process according to the predetermined order to obtain a judgment result; 在判断结果指示所述其他交易节点的工作状态为可疑状态的情况下,生成所述其他交易节点的标识信息;In the case that the judgment result indicates that the working state of the other transaction node is a suspicious state, generating identification information of the other transaction node; 基于所述标识信息对所述其他交易节点的可疑状态进行处理,在所述其他交易节点的可疑状态解除后,对所述其他交易节点的下一个交易节点进行处理。The suspicious state of the other transaction node is processed based on the identification information, and after the suspicious state of the other transaction node is resolved, the next transaction node of the other transaction node is processed. 3.根据权利要求1所述的方法,其特征在于,确定所述多个交易节点中,目标交易节点的工作状态为可疑状态,包括:3. The method according to claim 1, wherein determining that among the plurality of transaction nodes, the working state of the target transaction node is a suspicious state, comprising: 接收第三方服务器返回的所述目标节点的当前状态码;receiving the current status code of the target node returned by the third-party server; 在所述当前状态码与预设状态码一致的情况下,确定所述目标节点的工作状态为可疑状态。In the case that the current state code is consistent with the preset state code, it is determined that the working state of the target node is a suspicious state. 4.根据权利要求1所述的方法,其特征在于,确定所述多个交易节点中,目标交易节点的工作状态为可疑状态,还包括:4. The method according to claim 1, wherein determining that among the plurality of transaction nodes, the working state of the target transaction node is a suspicious state, further comprising: 确定在预定时长内是否接收到第三方服务器针对所述目标节点的响应信号;determining whether a response signal from the third-party server to the target node is received within a predetermined period of time; 在所述预定时长内未接收到所述响应信号的情况下,确定所述目标交易节点的工作状态为所述可疑状态。In the case that the response signal is not received within the predetermined period of time, it is determined that the working state of the target transaction node is the suspicious state. 5.根据权利要求1所述的方法,其特征在于,基于所述目标标识信息对所述可疑状态进行处理,包括:5. The method according to claim 1, wherein processing the suspicious state based on the target identification information comprises: 开启处理线程,查询所述目标标识信息对应的目标应用程序接口;Start a processing thread, and query the target application program interface corresponding to the target identification information; 调用所述目标应用程序接口对所述目标交易节点进行处理,在所述目标应用程序对所述目标交易节点处理成功后,解除所述可疑状态。The target application program interface is called to process the target transaction node, and after the target application program successfully processes the target transaction node, the suspicious state is released. 6.根据权利要求1所述的方法,其特征在于,所述方法还包括:6. The method of claim 1, wherein the method further comprises: 检测在预定时长内对所述目标节点发生可疑状态的次数是否大于预设阈值;Detecting whether the number of times the suspicious state occurs to the target node within a predetermined period of time is greater than a preset threshold; 在检测结果指示所述目标节点发生可疑状态的次数大于所述预设阈值的情况下,展示提示信息,其中,所述提示信息用于提示目标对象对所述目标节点的可疑状态进行处理。When the detection result indicates that the number of times that the target node has a suspicious state is greater than the preset threshold, prompt information is displayed, wherein the prompt information is used to prompt the target object to process the suspicious state of the target node. 7.一种任务的处理方法,其特征在于,包括:7. The processing method of a task, is characterized in that, comprises: 获取任务流程中的多个处理节点,其中,所述任务流程中的所述多个处理节点按照预定顺序进行执行;acquiring multiple processing nodes in the task flow, wherein the multiple processing nodes in the task flow are executed in a predetermined order; 在确定所述多个处理节点中目标处理节点的工作状态为目标类型的情况下,生成与所述目标处理节点对应的目标标识信息,其中,所述目标处理节点为所述多个处理节点中的任意一个节点;In the case where it is determined that the working state of the target processing node in the plurality of processing nodes is the target type, target identification information corresponding to the target processing node is generated, wherein the target processing node is one of the plurality of processing nodes any node of ; 基于所述目标标识信息对所述目标类型的工作状态进行处理,在所述目标类型的工作状态解除后,执行所述任务流程中的其他节点。The working state of the target type is processed based on the target identification information, and after the working state of the target type is released, other nodes in the task flow are executed. 8.一种交易流程的处理装置,其特征在于,包括:8. A processing device for a transaction process, comprising: 获取模块,用于获取交易流程中的多个交易节点,其中,所述交易流程中的所述多个交易节点按照预定顺序进行执行;an acquisition module, configured to acquire multiple transaction nodes in the transaction process, wherein the multiple transaction nodes in the transaction process are executed in a predetermined order; 确定模块,用于在确定所述多个交易节点中,目标交易节点的工作状态为可疑状态的情况下,生成与所述目标交易节点对应的目标标识信息,其中,所述目标交易节点为所述多个交易节点中的任意一个节点;The determining module is configured to generate target identification information corresponding to the target transaction node in the case of determining that the working state of the target transaction node is suspicious among the plurality of transaction nodes, wherein the target transaction node is the target transaction node. any one of the multiple transaction nodes; 处理模块,用于基于所述目标标识信息对所述可疑状态进行处理,在所述可疑状态解除后,执行所述交易流程中其他交易节点。The processing module is configured to process the suspicious state based on the target identification information, and execute other transaction nodes in the transaction process after the suspicious state is removed. 9.一种处理器,其特征在于,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至6中任意一项所述的交易流程的处理方法。9 . A processor, wherein the processor is used to run a program, wherein when the program is run, the processing method of the transaction flow of any one of claims 1 to 6 is executed. 10.一种电子设备,其特征在于,包括一个或多个处理器和存储器,所述存储器用于存储一个或多个程序,其中,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现权利要求1至6中任意一项所述的交易流程的处理方法。10. An electronic device, comprising one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more programs When executed by the processor, the one or more processors are made to implement the processing method of the transaction flow described in any one of claims 1 to 6.
CN202210169932.3A 2022-02-23 2022-02-23 Transaction flow processing method and device, processor and electronic equipment Pending CN114549205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210169932.3A CN114549205A (en) 2022-02-23 2022-02-23 Transaction flow processing method and device, processor and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210169932.3A CN114549205A (en) 2022-02-23 2022-02-23 Transaction flow processing method and device, processor and electronic equipment

Publications (1)

Publication Number Publication Date
CN114549205A true CN114549205A (en) 2022-05-27

Family

ID=81678111

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210169932.3A Pending CN114549205A (en) 2022-02-23 2022-02-23 Transaction flow processing method and device, processor and electronic equipment

Country Status (1)

Country Link
CN (1) CN114549205A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115049488A (en) * 2022-06-10 2022-09-13 中国工商银行股份有限公司 Processing method and device for online transaction, processor and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090780A (en) * 2019-12-09 2020-05-01 中国建设银行股份有限公司 Method and device for determining suspicious transaction information, storage medium and electronic equipment
CN111951102A (en) * 2020-08-17 2020-11-17 中国银行股份有限公司 Physical account checking method and device
CN112446786A (en) * 2020-11-13 2021-03-05 中信银行股份有限公司 Abnormal transaction processing method and device, electronic equipment and readable storage medium
CN113344547A (en) * 2021-06-29 2021-09-03 深圳前海微众银行股份有限公司 Information processing method and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111090780A (en) * 2019-12-09 2020-05-01 中国建设银行股份有限公司 Method and device for determining suspicious transaction information, storage medium and electronic equipment
CN111951102A (en) * 2020-08-17 2020-11-17 中国银行股份有限公司 Physical account checking method and device
CN112446786A (en) * 2020-11-13 2021-03-05 中信银行股份有限公司 Abnormal transaction processing method and device, electronic equipment and readable storage medium
CN113344547A (en) * 2021-06-29 2021-09-03 深圳前海微众银行股份有限公司 Information processing method and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115049488A (en) * 2022-06-10 2022-09-13 中国工商银行股份有限公司 Processing method and device for online transaction, processor and electronic equipment
CN115049488B (en) * 2022-06-10 2025-06-27 中国工商银行股份有限公司 Online transaction processing method and device, processor and electronic device

Similar Documents

Publication Publication Date Title
TWI756498B (en) Fallback processing method and device for asset transfer, and electronic equipment
WO2019157983A1 (en) Transaction processing method and platform
TW202008196A (en) Transaction method and system based on centralized settlement and block chain deposit certification
TW202008252A (en) Transaction method and system based on centralized settlement and blockchain deposit certificates
US20070038560A1 (en) Transaction payment system and processing
TW202008235A (en) Transaction method and system based on centralized settlement and block chain storage
US11188910B2 (en) Blockchain-based reconciliation system, method, and apparatus and electronic device
JP2018500681A (en) Transaction information processing method and apparatus
WO2020119293A1 (en) Content pushing method and apparatus, and electronic device
CN110020936A (en) Assets management method and device, electronic equipment based on block chain
WO2020243904A1 (en) Refund method, transaction system, account system, and storage medium
CN109285069B (en) Resource transfer method, device and server
CN113298512A (en) Capital data information processing method and device and electronic equipment
CN114549205A (en) Transaction flow processing method and device, processor and electronic equipment
CN113094414A (en) Circulation map generation method and device
CN113095814A (en) Multi-channel combined payment method and device
TWM598995U (en) Cash flow account analysis and warning system
CN111949337A (en) Accounting processing method, device, terminal and storage medium
US20230394467A1 (en) System and method for providing restricted token usage during an onboarding phase
US20230087584A1 (en) Reconciliating payment transactions performed by a payment service provider
CN115470139A (en) Interface testing method and related equipment
CN114519645A (en) Method for obtaining suspicious transaction analysis report and related equipment
CN113656415A (en) Payment method, payment device, payment device and storage medium
CN114066613A (en) Configuration method, device, medium and electronic equipment of financial business product
CN109636543A (en) A blockchain testing method and device

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