Message processing method, device, equipment and storage medium

By matching and executing target task instances in the bank's internal and external business systems, the problems of complex message processing system architecture and high error rate were solved, and the scalability and stability of the system were achieved.

CN115604370BActive Publication Date: 2025-09-16CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211193547.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-28
Publication Date
2025-09-16
Estimated Expiration
2042-09-28

AI Technical Summary

Technical Problem

The rapid update speed of the bank's internal and external business systems has led to a complex message processing system architecture, increased the difficulty of system maintenance and architecture adjustment, and a high probability of message processing errors.

Method used

By obtaining basic message information, matching it with the message processing tasks in the task list, generating target task instances, and executing the target task instances to generate business system data, calling the in-house business system for processing, supporting system updates and changes, improving scalability and reducing the probability of errors.

Benefits of technology

It supports updates and changes to the bank's internal and external business systems, improves the scalability of the message processing system, reduces the complexity of the system architecture and the difficulty of maintenance, and reduces the occurrence of message processing errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115604370B_ABST
    Figure CN115604370B_ABST
Patent Text Reader

Abstract

The present application relates to the field of data verification technology, and provides a message processing method, apparatus, device, and storage medium. The method comprises: when determining that the data state of original message data sent by an external business system is a pending matching state, matching the original message data with each message processing task in a task list based on a basic message message and the original message data, and generating a target task instance based on the successfully matched message processing task and the basic message message; when determining that the task state of the task instance is a pending execution state, generating corresponding business system data by executing the target task instance, and calling the corresponding processing module of the internal business system to process the business system data, and obtaining a receipt message returned by the internal business system, thereby supporting updates and changes to the internal and external business systems, reducing the difficulty of system maintenance, improving system scalability, and reducing the system error rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data verification technology and provides a message processing method, apparatus, device and storage medium. Background Art

[0002] Message processing systems were developed to connect internal and external banking systems and facilitate the processing of various off-site transactions. Each time a new combination of internal and external banking systems is added, a new message processing system must be established, a new message processing code must be added to the existing system, or the system architecture must be adjusted.

[0003] However, as the update speed of internal and external business systems of banks becomes faster and faster, the types of newly connected business messages increase, resulting in an increasingly complex system architecture for message processing systems. This increases the difficulty of system maintenance and architecture adjustment, and leads to poor scalability. In addition, the complex message processing system also increases the probability of message processing errors. Summary of the Invention

[0004] The embodiments of the present application provide a message processing method, apparatus, device and storage medium to solve the problems of difficult system maintenance, poor scalability and high system error rate.

[0005] In a first aspect, an embodiment of the present application provides a message processing method, including:

[0006] Obtaining a basic message, where the basic message is generated based on original message data sent by an external business system;

[0007] When it is determined that the data state of the original message data is a pending matching state, matching the basic message message and the original message data with each message processing task in the task list, and generating a target task instance based on the successfully matched message processing task and the basic message message;

[0008] When it is determined that the task status of the target task instance is in the pending state, the corresponding business system data is generated by executing the target task instance, and the corresponding processing module of the in-bank business system is called to process the business system data to obtain a receipt message returned by the in-bank business system.

[0009] The embodiment of the present application expands the message processing tasks in the task list based on a new set of combined services added to the internal and external business systems of the bank, and then generates a target task instance of the request message by matching tasks. By executing the target task instance, the corresponding business system data is generated, and the business system data is processed by the internal business system of the bank, thereby supporting updates and changes to the internal and external business systems of the bank, improving the scalability of the message processing system, and the end-to-end processing flow also reduces the probability of message processing errors.

[0010] Moreover, the method provided in the embodiment of the present application requires little modification to the message processing system, thereby reducing the complexity of the system architecture and thereby reducing the difficulty of system maintenance and architecture adjustment.

[0011] In a possible embodiment, the matching of the basic message information and the original message data with each message processing task in the task list includes:

[0012] Traverse the message processing tasks in the task list in sequence, wherein each time a message processing task is traversed, feature extraction is performed on the basic message and the corresponding original message data according to the feature extraction rules of the message processing task to obtain corresponding task feature data, and the task feature data is matched with the message processing task to obtain a corresponding matching result.

[0013] In a possible embodiment, the acquiring of the basic message includes:

[0014] By monitoring the first message queue, the basic message is obtained in real time; or,

[0015] By scanning the internal database table, the basic message information is obtained regularly.

[0016] In a possible embodiment, the basic message information is generated as follows:

[0017] By extracting data from the original message data sent by the off-line business system, a basic message message is generated, and the basic message message is added to the first message queue and the database table.

[0018] In a possible embodiment, after obtaining the receipt message returned by the in-bank business system, the method further includes:

[0019] When the receipt message is received and the data status of the original message data is in a matching completion state, calling a corresponding receipt processing task from the task list;

[0020] By executing the receipt processing task, the storage status of the database table is updated, and the database table is archived.

[0021] In a second aspect, an embodiment of the present application further provides a message processing device, including:

[0022] A message receiving unit, configured to obtain a basic message message, wherein the basic message message is generated based on original message data sent by an off-bank business system;

[0023] a task matching unit for, when determining that the data state of the original message data is a pending matching state, matching the message processing tasks in the task list based on the basic message message and the original message data, and generating a target task instance based on the successfully matched message processing tasks and the basic message message;

[0024] The message processing unit is used to generate corresponding business system data by executing the target task instance when it is determined that the task status of the target task instance is in the pending state, and call the corresponding processing module of the in-bank business system to process the business system data to obtain the receipt message returned by the in-bank business system.

[0025] In a possible embodiment, the task matching unit is configured to:

[0026] Traverse the message processing tasks in the task list in sequence, wherein each time a message processing task is traversed, feature extraction is performed on the basic message and the corresponding original message data according to the feature extraction rules of the message processing task to obtain corresponding task feature data, and the task feature data is matched with the message processing task to obtain a corresponding matching result.

[0027] In a possible embodiment, the message receiving unit is configured to:

[0028] By monitoring the first message queue, the basic message is obtained in real time; or,

[0029] By scanning the internal database table, the basic message information is obtained regularly.

[0030] In a possible embodiment, the message receiving unit generates the basic message information by performing the following operations:

[0031] By extracting data from the original message data sent by the off-line business system, a basic message message is generated, and the basic message message is added to the first message queue and the database table.

[0032] In a possible embodiment, after obtaining the receipt message returned by the in-bank business system, the message processing device further includes a receipt processing unit, wherein the receipt processing unit is configured to:

[0033] When the receipt message is received and the data status of the original message data is in a matching completion state, calling a corresponding receipt processing task from the task list;

[0034] By executing the receipt processing task, the storage status of the database table is updated, and the database table is archived.

[0035] In a third aspect, an embodiment of the present application further provides a computer device, including:

[0036] a memory for storing program instructions;

[0037] The processor is used to call the program instructions stored in the memory and execute the steps included in any one of the message processing methods in the first aspect according to the obtained program instructions.

[0038] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the message processing method described in any one of the first aspects.

[0039] In a fifth aspect, the present application provides a computer program product, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the message processing method described in any one of the first aspects.

[0040] The beneficial effects of this application are as follows:

[0041] An embodiment of the present application provides a message processing method, apparatus, device and storage medium, the method comprising: obtaining a basic message message, which is generated based on original message data sent by an off-bank business system; when it is determined that the data status of the original message data is a to-be-matched state, matching the basic message message and the original message data with each message processing task in the task list, and generating a target task instance based on the successfully matched message processing task and the basic message message; when it is determined that the task status of the task instance is a to-be-executed state, generating corresponding business system data by executing the target task instance, and calling the corresponding processing module of the in-bank business system to process the business system data, and obtaining a receipt message returned by the in-bank business system.

[0042] The embodiment of the present application expands the message processing tasks in the task list based on a new set of combined services added to the internal and external business systems of the bank, and then generates a target task instance of the request message by matching tasks. By executing the target task instance, the corresponding business system data is generated, and the business system data is processed by the internal business system of the bank, thereby supporting updates and changes to the internal and external business systems of the bank, improving the scalability of the message processing system, and the end-to-end processing flow also reduces the probability of message processing errors.

[0043] Moreover, the method provided in the embodiment of the present application requires little modification to the message processing system, thereby reducing the complexity of the system architecture and thereby reducing the difficulty of system maintenance and architecture adjustment.

[0044] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purposes and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0046] Figure 1 This is a schematic diagram of a possible embodiment of an application scenario in the embodiments of the present application;

[0047] Figure 2 A flowchart of a message processing method provided in an embodiment of the present application;

[0048] Figure 3A A schematic diagram of the process of processing cash payment messages provided in an embodiment of the present application;

[0049] Figure 3B A schematic diagram of a cash payment task example provided in an embodiment of the present application;

[0050] Figure 3C A schematic diagram of the process of processing a receipt message provided in an embodiment of the present application;

[0051] Figure 3D An example diagram of a receipt processing task provided in an embodiment of the present application;

[0052] Figure 4 A schematic diagram of the structure of a message processing device provided in an embodiment of the present application;

[0053] Figure 5 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. Unless there is a conflict, the embodiments in the present application and the features in the embodiments can be combined with each other in any way. In addition, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in an order different from that here.

[0055] The terms "first" and "second" in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of its variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in this application can mean at least two, for example, two, three or more, and the embodiments of this application are not limited thereto.

[0056] In the technical solution of this application, the collection, dissemination, and use of data comply with the requirements of relevant national laws and regulations.

[0057] Before introducing the message processing method provided in the embodiment of the present application, in order to facilitate understanding, the technical background of the embodiment of the present application is first introduced in detail below.

[0058] Message processing systems were developed to connect internal and external banking systems and facilitate the processing of various off-site transactions. Each time a new combination of internal and external banking systems is added, a new message processing system must be established, a new message processing code must be added to the existing system, or the system architecture must be adjusted.

[0059] However, as the update speed of internal and external business systems of banks becomes faster and faster, the types of newly connected business messages increase, resulting in an increasingly complex system architecture for message processing systems. This increases the difficulty of system maintenance and architecture adjustment, and leads to poor scalability. In addition, the complex message processing system also increases the probability of message processing errors.

[0060] In view of this, an embodiment of the present application proposes a message processing method. The method includes:

[0061] Obtain a basic message message, which is generated based on the original message data sent by the off-bank business system; when it is determined that the data status of the original message data is in a to-be-matched state, match the basic message message and the original message data with each message processing task in the task list, and generate a target task instance based on the successfully matched message processing task and the basic message message; when it is determined that the task status of the task instance is in a to-be-executed state, generate the corresponding business system data by executing the target task instance, and call the corresponding processing module of the in-bank business system to process the business system data, and obtain a receipt message returned by the in-bank business system.

[0062] The embodiment of the present application expands the message processing tasks in the task list based on a new set of combined services added to the internal and external business systems of the bank, and then generates a target task instance of the request message by matching tasks. By executing the target task instance, the corresponding business system data is generated, and the business system data is processed by the internal business system of the bank, thereby supporting updates and changes to the internal and external business systems of the bank, improving the scalability of the message processing system, and the end-to-end processing flow also reduces the probability of message processing errors.

[0063] Moreover, the method provided in the embodiment of the present application requires little modification to the message processing system, thereby reducing the complexity of the system architecture and thereby reducing the difficulty of system maintenance and architecture adjustment.

[0064] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application can be combined with each other if there is no conflict.

[0065] Figure 1 An application scenario is shown, which includes two physical terminal devices 110 and a server 130. Each physical terminal device 110 communicates with the server 130 via a wired or wireless network. An external business system is deployed on the physical terminal device 110, and a message processing system and an internal business system are deployed on the server 130.

[0066] Among them, the physical terminal device 110 in the embodiment of the present application is an electronic device used by the user, and the electronic device can be a personal computer, mobile phone, tablet computer, notebook, e-book reader, smart home and other computer devices with certain computing capabilities.

[0067] The server 130 in the embodiment of the present application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. This application does not impose any restrictions on this.

[0068] The off-line business system sends original message data to the message processing system on the server 130 through the access interface 120 of the physical terminal device 110.

[0069] The message processing system generates corresponding basic message messages by processing original message data, and when determining that the data state of the original message data is to be matched, matches the message processing tasks in the task list based on the basic message messages and the original message data.

[0070] The message processing system generates a target task instance based on the successfully matched message processing task and the basic message message. When it determines that the task status of the task instance is to be executed, it generates the corresponding business system data by executing the target task instance, and calls the corresponding processing module of the in-bank business system to process the business system data, and obtains the receipt message returned by the in-bank business system.

[0071] Next, see Figure 2 The flowchart shown in the figure continues to understand the specific implementation process of message processing.

[0072] S201: The message processing system obtains a basic message message, which is generated based on original message data sent by an external business system.

[0073] The message processing system parses the request message sent by the external business system to obtain the original message data carried therein, then extracts data from the original message data sent by the external business system to generate a basic message, and adds the basic message message to the first message queue and the database table. The basic message message at least reflects the source path, storage path, and current data status of the original message data.

[0074] The message processing system can then obtain basic message information in real time by monitoring the first message queue, or periodically by scanning an internal database table. Scanning the database table as a scheduled task is a fallback solution designed to prevent the message processing system from being unable to obtain new basic message information if a queue monitoring failure occurs.

[0075] In addition, if it is detected that the request message sent by the off-line business system also carries an attachment, the message processing system will also store the attachment in a storage space such as a shared Network Attached Storage (NAS) disk.

[0076] S202: When the message processing system determines that the data state of the original message data is a pending matching state, it matches the message processing tasks in the task list based on the basic message message and the original message data, and generates a target task instance based on the successfully matched message processing tasks and the basic message message.

[0077] First, the message processing system determines whether the data state of the original message data is a pending matching state. If so, task matching is performed; otherwise, task matching is terminated.

[0078] Then, when performing task matching, each message processing task in the task list is traversed in turn. Each time a message processing task is traversed, the basic message message and the corresponding original message data are extracted according to the feature extraction rules of the message processing task to obtain the corresponding task feature data, and the task feature data is matched with the message processing task to obtain the corresponding matching result.

[0079] For example, feature extraction is performed on cash payment messages and corresponding basic message information, and the obtained task feature data includes: sending bank, receiving bank, message type, currency, and amount; the extracted sending bank, receiving bank, message type, and currency are matched with the four elements of a message processing task currently traversed, and the extracted amount is matched with the transaction amount range of the message processing task. If all matches are successful, the message processing task is hit and the corresponding cash payment message task instance is generated; if at least one match fails, the traversal continues to the next message processing task.

[0080] The task lists in the embodiments of the present application are specifically divided into: an exclusive task list and a checklist task list. An exclusive task list means that the message processing tasks in the task list are mutually exclusive. Therefore, the task feature data can only be successfully matched with one message processing task in the exclusive task list, or fail to match with all message processing tasks in the exclusive task list.

[0081] The opposite is true for the check-select task list. The message processing tasks in the task list are in a coexistence multi-select relationship. Therefore, the task feature data can successfully match at least one message processing task in the check-select task list, or fail to match all message processing tasks in the exclusive task list.

[0082] Given the mutual exclusivity of the exclusive task list, the exclusive task list is prioritized, followed by the checklist. Based on the successfully matched message processing tasks and the basic message, the target task instance is generated, and the data status of the original message data is updated to "match completed." Finally, while adding the target task instance to the task instance table, the target task instance is converted and processed to obtain a task message, which is then added to the second message queue.

[0083] S203: When the message processing system determines that the task status of the target task instance is in the pending state, it generates corresponding business system data by executing the target task instance, and calls the corresponding processing module of the in-bank business system to process the business system data, and obtains the receipt message returned by the in-bank business system.

[0084] The message processing system can obtain target task instances in real time by monitoring the second message queue, or it can periodically obtain target task instances by scanning the internal task instance table. Similarly, scanning the task instance table as a scheduled task is a fallback solution designed to prevent the message processing system from being unable to obtain new target task instances if the queue monitoring fails.

[0085] The message processing system determines whether the task status of the target task instance is in the pending state. If so, the task status is updated to executing. By executing the target task instance, the corresponding business system data is generated, and the corresponding processing module of the in-house business system is called to process the business system data; otherwise, the task processing is terminated.

[0086] When the message processing system receives the receipt message returned by the in-bank business system, it determines that the in-bank business system has received and processed the business system data, and therefore updates the task status of the target task instance to execution completed.

[0087] When the message processing system receives a receipt message and the data status of the original message data is in the matching completed state, it calls the corresponding receipt processing task from the task list. Then, by executing the receipt processing task, it updates the storage status of the database table and archives the database table.

[0088] For ease of understanding, take cash payment processing as an example, see Figure 3A The process of processing the request message is as follows:

[0089] S301: The message processing system receives a cash payment message sent by an off-bank business system, and obtains the original message data carried by the cash payment message by parsing the cash payment message.

[0090] S302: The message processing system generates a first basic message by extracting data from the original message data, and adds the first basic message to the first message queue and the database table.

[0091] S303: The message processing system obtains the first basic message by monitoring the first message queue or scanning the internal database table.

[0092] S304: The message processing system determines whether the data status of the original message data is in a pending matching state. If so, step 305 is executed; otherwise, the task matching is terminated.

[0093] S305: The message processing system updates the data status to matching, first matches each task in the exclusive task list, and performs task matching on one task at a time. When the match is successful, the following is generated: Figure 3B The cash payment message task instance shown is added to the second message queue and task instance table, and the data status of the original message data is updated to matching completed; when the match fails, task matching is continued for the next task in the list.

[0094] Then match each task in the check task list, and match each task one at a time. When the match is successful, the following is generated: Figure 3B The cash payment message task instance shown is added to the second message queue and task instance table, and the data status of the original message data is updated to matching completed; when the match fails, task matching is continued for the next task in the list.

[0095] S306: The message processing system obtains the target task instance by monitoring the second message queue or by scanning the internal task instance table.

[0096] S307: The message processing system determines whether the task status of the cash payment message task instance is in a pending state. If so, step 308 is executed; otherwise, task processing is terminated.

[0097] S308: Update the task status to being executed, generate corresponding cash payment data by executing the cash payment message task instance, and call the corresponding processing module of the bank's business system to process the cash payment data.

[0098] Specifically, if Figure 3B As shown in the figure, the cash payment message task example includes the following steps: Pain001 message decryption, Pain001 message parsing, generating cash payment data, and calling the cash payment system.

[0099] The cash payment message is decrypted using Pain001 message decryption, then parsed using Pain001 message parsing. Based on the parsed original message data, the cash payment data, including currency, amount, transferor, and recipient, is generated. Finally, the outbound cash payment system is called to send the generated cash payment data to the corresponding processing module in the bank's business system for processing.

[0100] See also Figure 3C The process of processing the receipt message is as follows:

[0101] S309: The message processing system receives the receipt message returned by the in-bank business system, parses the receipt message, obtains the original message data carried by the message, extracts data from the original message data, generates a second basic message, and adds the second basic message to the first message queue and database table.

[0102] The message processing system obtains the second basic message by monitoring the first message queue or by scanning an internal database table.

[0103] S310: The message processing system determines whether the data status of the original message data is a matching completion status. If so, step 311 is executed; otherwise, the task matching is terminated.

[0104] S311: The message processing system calls the task list such as Figure 3D The receipt processing task shown.

[0105] S312: If Figure 3D As shown, the message processing system updates the status of files such as database tables and task instance tables to the execution completion status by executing the receipt processing task, archives files such as database tables, task feature data, task instance tables, and archives files such as NAS disk files, SA FileAct files, and AMH FileAct files.

[0106] The embodiment of the present application expands the message processing tasks in the task list based on a new set of combined services added to the internal and external business systems of the bank, and then generates a target task instance of the request message by matching tasks. By executing the target task instance, the corresponding business system data is generated, and the business system data is processed by the internal business system of the bank, thereby supporting updates and changes to the internal and external business systems of the bank, improving the scalability of the message processing system, and the end-to-end processing flow also reduces the probability of message processing errors.

[0107] Moreover, the method provided in the embodiment of the present application requires little modification to the message processing system, thereby reducing the complexity of the system architecture and thereby reducing the difficulty of system maintenance and architecture adjustment.

[0108] Secondly, both task matching and task instance execution use triggering technology, which not only ensures that the message processing system obtains new basic message information and target task instances in a timely manner, but also avoids the database tables and task instance tables from occupying too many computing resources due to high-frequency reading.

[0109] Moreover, the message processing system can determine through the receipt message returned by the in-house business system that the in-house business system has received and processed the business system data, update the storage status of the database table in the system, and archive the database table to ensure the timeliness of the message processing system's online query or online update of data, and maintain the sustainable operation of the system.

[0110] Finally, whenever a new combination of services is added to the internal and external business systems of the bank, if the transaction volume of the combination of services is not large, a new message receiving service and message processing task will be added to the message processing system to support the combination of services; if the transaction volume of the combination of services is large, a new message processing system will be deployed on other servers or extended deployment units, and the above processing will be performed on all message processing systems so that these systems can support the newly added combination of services.

[0111] Based on the same inventive concept, the embodiment of the present application also provides a message processing device. Figure 4 , the message processing device 400 may include:

[0112] The message receiving unit 401 is used to obtain a basic message message, which is generated based on the original message data sent by the external business system;

[0113] The task matching unit 402 is configured to match the original message data with the message processing tasks in the task list based on the basic message information and the original message data when the data state of the original message data is determined to be in a pending matching state, and generate a target task instance based on the successfully matched message processing tasks and the basic message information;

[0114] The message processing unit 403 is used to generate corresponding business system data by executing the target task instance when it is determined that the task status of the target task instance is in the pending state, and call the corresponding processing module of the in-bank business system to process the business system data to obtain the receipt message returned by the in-bank business system.

[0115] In a possible embodiment, the task matching unit 402 is configured to:

[0116] Traverse each message processing task in the task list in turn. Each time a message processing task is traversed, feature extraction is performed on the basic message information and the corresponding original message data according to the feature extraction rules of a message processing task to obtain the corresponding task feature data, and the task feature data is matched with a message processing task to obtain the corresponding matching result.

[0117] In a possible embodiment, the message receiving unit 401 is configured to:

[0118] By monitoring the first message queue, basic message messages are obtained in real time; or,

[0119] By scanning the internal database table, basic message information is obtained regularly.

[0120] In a possible embodiment, the message receiving unit 401 generates basic message information by performing the following operations:

[0121] By extracting data from the original message data sent by the off-line business system, a basic message message is generated, and the basic message message is added to the first message queue and the database table.

[0122] In a possible embodiment, after receiving the receipt message returned by the in-bank business system, the message processing apparatus 400 further includes a receipt processing unit 404, which is configured to:

[0123] When a receipt message is received and the data status of the original message data is in the matching completion state, the corresponding receipt processing task is called from the task list;

[0124] By executing the receipt processing task, the storage status of the database table is updated, and the database table is archived.

[0125] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.

[0126] After introducing the message processing method and apparatus according to an exemplary embodiment of the present application, a computer device according to another exemplary embodiment of the present application is introduced next.

[0127] Those skilled in the art will appreciate that various aspects of the present application can be implemented as systems, methods, or program products. Therefore, various aspects of the present application can be specifically implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation that combines hardware and software aspects, which may be collectively referred to herein as a "circuit," "module," or "system."

[0128] Based on the same inventive concept, the embodiment of the present application also provides a computer device that can process the request message sent by the non-bank business system. Figure 5 The computer device 500 includes a processor 501 and a memory 502. The memory 502 stores program codes, and the processor 501 calls program instructions stored in the memory and executes the steps of any one of the above-mentioned message processing methods according to the obtained program instructions.

[0129] Based on the same inventive concept, embodiments of the present application provide a computer-readable storage medium, a computer program product comprising: computer program code, which, when executed on a computer, causes the computer to execute any of the message processing methods discussed above. Because the principles underlying the problems solved by the computer-readable storage medium are similar to those of the message processing methods, the implementation of the computer-readable storage medium can be referred to as the implementation of the methods, and any repetitions will not be repeated.

[0130] Based on the same inventive concept, embodiments of the present application further provide a computer program product, comprising: computer program code, which, when executed on a computer, causes the computer to execute any of the message processing methods discussed above. Because the principles underlying the problems solved by the computer program products are similar to those of the message processing methods, the implementation of the computer program products can be referenced to the implementation of the methods, and any repetitions will not be repeated.

[0131] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0132] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0133] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0134] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of user-operated steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0135] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include these modifications and variations.

Claims

1. A message processing method, characterized in that: include: Obtaining a basic message message, where the basic message message is generated by processing original message data sent by an off-line business system, and the basic message message at least reflects the source path, storage path, and current data status of the original message data; When it is determined that the data state of the original message data is a pending matching state, each message processing task in the task list is traversed in sequence, wherein each time a message processing task is traversed, feature extraction is performed on the basic message message and the corresponding original message data according to the feature extraction rule of the message processing task to obtain corresponding task feature data, and the task feature data is matched with the message processing task to obtain a corresponding matching result; Based on the successfully matched message processing task and the basic message information, a target task instance is generated, wherein the target task instance includes: a processing step of processing the original message data by at least one in-bank business system; When it is determined that the task status of the target task instance is in the pending state, the corresponding business system data is generated by executing the target task instance, and the corresponding processing module of the in-bank business system is called to process the business system data to obtain a receipt message returned by the in-bank business system.

2. The method according to claim 1, wherein The obtaining of basic message includes: By monitoring the first message queue, the basic message is obtained in real time; or, By scanning the internal database table, the basic message information is obtained regularly.

3. The method according to claim 1 or 2, wherein: The basic message generation process is as follows: The basic message is generated by extracting the original message data sent by the off-line business system, and the basic message is added to the first message queue and the database table.

4. The method according to claim 1 or 2, wherein: After receiving the receipt message returned by the in-bank business system, the method further includes: When the receipt message is received and the data status of the original message data is in a matching completion state, calling a corresponding receipt processing task from the task list; By executing the receipt processing task, the storage status of the database table is updated, and the database table is archived.

5. A message processing device, characterized in that: include: A message receiving unit, configured to obtain a basic message message, wherein the basic message message is generated based on the original message data sent by the off-line business system, and the basic message message at least reflects the source path, storage path, and current data status of the original message data; a task matching unit, configured to, when determining that the data state of the original message data is a to-be-matched state, sequentially traverse each message processing task in the task list, wherein, each time a message processing task is traversed, feature extraction is performed on the basic message message and the corresponding original message data according to a feature extraction rule of the message processing task to obtain corresponding task feature data, and the task feature data is matched with the message processing task to obtain a corresponding matching result; Based on the successfully matched message processing task and the basic message information, a target task instance is generated, wherein the target task instance includes: a processing step of processing the original message data by at least one in-bank business system; The message processing unit is used to generate corresponding business system data by executing the target task instance when it is determined that the task status of the target task instance is in the pending state, and call the corresponding processing module of the in-bank business system to process the business system data to obtain a receipt message returned by the in-bank business system.

6. The device according to claim 5, characterized in that The message receiving unit is used for: By monitoring the first message queue, the basic message is obtained in real time; or, By scanning the internal database table, the basic message information is obtained regularly.

7. The device according to claim 5 or 6, characterized in that The message receiving unit generates the basic message by performing the following operations: The basic message is generated by extracting data from the original message data sent by the off-line business system, and the basic message is added to the first message queue and the database table.

8. The device according to claim 5 or 6, characterized in that After receiving the receipt message returned by the in-bank business system, the message processing device further includes a receipt processing unit, which is configured to: When the receipt message is received and the data status of the original message data is in a matching completion state, calling a corresponding receipt processing task from the task list; By executing the receipt processing task, the storage status of the database table is updated, and the database table is archived.

9. A computer device, characterized in that: include: a memory for storing program instructions; A processor is configured to call the program instructions stored in the memory and execute the steps of the method according to any one of claims 1 to 4 according to the obtained program instructions.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to perform the method according to any one of claims 1 to 4.

11. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Service configuration method and system

    CN114153449A

  • Message distribution method and device, electronic equipment and storage medium

    CN114327939A