A message storage method, device, equipment and storage medium

CN115905144BActive Publication Date: 2026-09-18CHINA CONSTRUCTION BANK +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211559566.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-06
Publication Date
2026-09-18
Estimated Expiration
2042-12-06

AI Technical Summary

Technical Problem

[0003]然而,如何快速有效地存储业务报文,有待解决

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115905144B_ABST
    Figure CN115905144B_ABST
Patent Text Reader

Abstract

The application provides a message storage method and device, equipment and a storage medium, and relates to the technical field of data processing. The method comprises the following steps: a first device receives a first message; the first device stores the first message in a first storage unit corresponding to the first message in the first device, and the first storage unit is pre-established and has pre-opened write permission. The first storage unit is pre-established and the write permission of the first storage unit is pre-opened, so that the first message can be quickly stored in the first storage unit when the first message is received subsequently, and the success rate of storing the first message into the first storage unit by the first device can be improved because the write permission of the first storage unit has been opened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to a message storage method, apparatus, device and storage medium. Background Technology

[0002] With the development of communication technology, banking systems face an increasing number of business needs to be processed. Most of these business processes involve the processing of business messages. Generally, the business messages are first stored in the banking system and then analyzed and processed.

[0003] However, how to store business messages quickly and efficiently remains to be solved. Summary of the Invention

[0004] This application provides a message storage method, apparatus, device, and storage medium that can achieve fast and efficient storage of service messages.

[0005] In a first aspect, embodiments of this application provide a message storage method. This method can be executed by a first device in a banking system or a module within that first device. The first device can be a terminal device or a server. This application does not limit the executing entity of the method. Taking the execution of the method by the first device as an example, the method includes: the first device receiving a first message; the first device storing the first message in a first storage unit corresponding to the first message in the first device, wherein the first storage unit is pre-established and pre-enabled with write permissions.

[0006] The above solution pre-establishes a first storage unit and pre-enables write permissions to the first storage unit. When the first message is received subsequently, the first message can be quickly stored in the first storage unit. Since the first storage unit has already been enabled for write permissions, the success rate of the first device storing the first message in the first storage unit can be improved.

[0007] In one possible implementation, before receiving the first message, the first device establishes multiple storage units and grants write permissions to the multiple storage units, including the first storage unit; wherein the multiple storage units correspond to different dates.

[0008] In one possible implementation, the first device stores the first message in a first storage unit corresponding to the first message, including: the first device determining the first storage unit corresponding to the first date from a plurality of storage units based on the first date of receiving the first message; and the first device storing the first message in the first storage unit.

[0009] The above scheme pre-establishes multiple storage units and enables write permissions for these multiple storage units. When a message (such as the first message) is received, the storage unit corresponding to the message can be determined, and the message can be written to the storage unit, thus enabling fast and efficient storage of the message.

[0010] In one possible implementation, the first device records the storage result of the first message to a log file. The log file is used to record the storage results of multiple messages, including the first message. The storage result is either successful or failed.

[0011] The above scheme can reflect the storage status of the first message in real time, which facilitates the processing of the first message.

[0012] In one possible implementation, the first device inputs log analysis rules and log files into the robotic process automation software to obtain analysis results. The log analysis rules are used to indicate the method of analyzing the log files.

[0013] The above solution enables the robotic process automation (RPA) software to automatically process a large number of repetitive, rule-based workflow tasks. The RPA software analyzes log files in real time according to log analysis rules, enabling faster, more accurate, and more effective log file analysis.

[0014] In one possible implementation, the first device sends an analysis report, which includes the analysis results, to the analyst's terminal device.

[0015] The above scheme allows analysts to quickly view the analysis results and promptly understand the storage status of the first message.

[0016] Secondly, embodiments of this application provide a communication device, including a transceiver unit and a processing unit. The transceiver unit is used to receive a first message; the processing unit is used to store the first message in a first storage unit corresponding to the first message in a first device, wherein the first storage unit is pre-established and pre-enabled with write permissions.

[0017] In one possible implementation, the processing unit is further configured to establish multiple storage units and enable write permissions for the multiple storage units before the transceiver unit receives the first message, wherein the multiple storage units include a first storage unit; and the multiple storage units correspond to different dates respectively.

[0018] In one possible implementation, the processing unit is configured to store the first message in a first storage unit corresponding to the first message in the first device, specifically including: determining the first storage unit corresponding to the first date from a plurality of storage units based on the first date of receiving the first message; and the first device storing the first message in the first storage unit.

[0019] In one possible implementation, the processing unit is further configured to record the storage result of the first message to a log file. The log file is used to record the storage results of multiple messages, including the first message, wherein the storage result is either storage success or storage failure.

[0020] In one possible implementation, the processing unit is also used to input log analysis rules and log files into the robotic process automation software to obtain analysis results, wherein the log analysis rules are used to indicate the analysis method for the log files.

[0021] In one possible implementation, the transceiver unit is also used to send an analysis report, which includes the analysis results, to the analyst's terminal device.

[0022] Thirdly, embodiments of this application also provide a computing device, including:

[0023] Memory, used to store program instructions;

[0024] The processor is configured to invoke program instructions stored in the memory and execute any method for implementing the first aspect described above, according to the obtained program instructions.

[0025] Fourthly, embodiments of this application also provide a computer-readable storage medium storing computer-readable instructions, which, when read and executed by a computer, implement any of the methods described in the first aspect.

[0026] Fifthly, embodiments of this application provide a computer program product, including a computer program executable by a computer device, which, when run on the computer device, causes the computer device to perform any of the methods described in the first aspect. Attached Figure Description

[0027] Figure 1 A flowchart illustrating a message storage method provided in an embodiment of this application;

[0028] Figure 2 A flowchart illustrating a message storage method provided in an embodiment of this application;

[0029] Figure 3 A flowchart illustrating a message processing method provided in an embodiment of this application;

[0030] Figure 4 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;

[0031] Figure 5 This is a schematic diagram of the structure of a message storage device provided in an embodiment of this application. Detailed Implementation

[0032] Figure 1 This is a flowchart illustrating a message storage method provided in an embodiment of this application. The method can be executed by a first device or a module within the banking system. The first device can be a terminal device or a server running the banking system. This application does not limit the entity executing this method.

[0033] In one possible implementation, the first device includes a message service platform and a payment platform. The message service platform receives business messages from outside the banking system, processes these messages, and sends the processed messages to the payment platform. The payment platform receives the business message (the first message) sent from the message service platform, stores it, and performs various business processing on it. This processing may include security verification of the first message or analysis of the information contained in the first message; this application does not limit the scope of this processing. This method can be executed by the payment platform module within the first device.

[0034] This application embodiment takes the execution of the method by a first device as an example. The method includes the following steps:

[0035] Step 101: The first device receives the first message.

[0036] In one possible implementation, the first message refers to a business message received by the first device from outside the banking system.

[0037] In another possible implementation, after receiving a business message from outside the banking system, the first device processes the business message and generates a first message.

[0038] In one possible implementation, the first message contains one or more of the following: user account information, billing details, payment time, interest settlement details, or payment amount.

[0039] Step 102: The first device stores the first message in the first storage unit corresponding to the first message in the first device.

[0040] The first storage unit was pre-built and had write permissions pre-enabled.

[0041] In one possible implementation, the first storage unit refers to the memory or hard disk in the first device, or a folder in the memory or hard disk of the first device, which is not limited in this application.

[0042] In one possible implementation, before the first device receives the first message, the first device establishes multiple storage units and grants write permissions to these multiple storage units, including the first storage unit; wherein each of the multiple storage units corresponds to a different date. For example, before the first device receives the first message, multiple folders are created in the first device, and write permissions are granted to these folders, such as assigning 777 permissions, which indicates that the first device has read, write, and execute permissions for the corresponding folders; the names of these multiple folders correspond to different dates, for example, the folders are named "Year X Month X Day".

[0043] The above solution pre-establishes a first storage unit and pre-enables write permissions to the first storage unit. When the first message is received subsequently, the first message can be quickly stored in the first storage unit. Since the first storage unit has already been enabled for write permissions, the success rate of the first device storing the first message in the first storage unit can be improved.

[0044] In one possible implementation, in step 102 above, the first device stores the first message in a first storage unit corresponding to the first message within the first device, such as... Figure 2 As shown, the method includes the following steps:

[0045] Step 201: Determine the first storage unit.

[0046] In one possible implementation, the first device determines the first storage unit corresponding to the first date from a plurality of storage units based on the first date on which the first message was received. For example, if the first date on which the first device receives the first message is X year X month X day, then it checks whether a folder named X year X month X day exists in the first device. If it exists, the first message is stored in that folder; if it does not exist, a new folder named X year X month X day is created, and the first message is stored in that folder.

[0047] In another possible implementation, after receiving the first message, the first device parses the first message to determine the second date. The second date may be the message sending date carried in the first message, the transaction date in the transaction information carried in the first message, or the payment date in the payment information carried in the first message. This application does not limit this. The second storage unit corresponding to the second date is determined from multiple storage units.

[0048] Step 202: Store the first message in the first storage unit.

[0049] The above scheme pre-establishes multiple storage units and enables write permissions for these multiple storage units. When a message (such as the first message) is received, the storage unit corresponding to the message can be determined, and the message can be written to the storage unit, thus enabling fast and efficient storage of the message.

[0050] In one possible implementation, in step 202 above, after the first device stores the first message in the first storage unit, the first device records the storage result of the first message in a log file. The log file is used to record the storage results of multiple messages, including the first message, wherein the storage result is either successful storage or storage failure.

[0051] In one possible implementation, the first device stores the first message in the first storage unit. After successful storage, the result is recorded in a log file. For example, the record might read: "Message X was stored on [Date] in the [Date] folder; storage successful." Another example is: "Message X was successfully written on [Date]." This application does not limit the specific form and content of the recorded results.

[0052] In another possible implementation, the first device stores the first message in the first storage unit. If storage fails, the result is recorded in a log file. For example, the record might read: "Message X was stored on [Date] in the [Date] folder, storage failed, the reason is that the first device does not have permission to operate on the [Date] folder." Another example is: "Write to [Date] failed, the reason is that the [Date] folder does not exist." This application does not limit the specific form and content of the recorded results.

[0053] The above scheme can reflect the storage status of the first message in real time, which facilitates the processing of the first message.

[0054] In one possible implementation, the first device inputs log analysis rules and log files into the robotic process automation (RPA) software to obtain analysis results. The log analysis rules are used to instruct the analysis method for the log files. Robotic Process Automation (RPA) refers to the use of software automation across various industries to automate tasks that were originally performed by humans but were now done by computers. It allows software robots to automatically handle large numbers of repetitive, rule-based workflow tasks. For example, log analysis rules capture information about storage failures in log files. By inputting the log analysis rules and log files into the RPA, the RPA monitors the log file in real time. Once a storage failure record is detected, it takes appropriate action, such as sending the storage failure record to a designated person.

[0055] The above solution enables the robotic process automation (RPA) software to automatically process a large number of repetitive, rule-based workflow tasks. The RPA software analyzes log files in real time according to log analysis rules, enabling faster, more accurate, and more effective log file analysis.

[0056] In one possible implementation, the first device sends an analysis report, including analysis results, to the analyst's terminal device. For example, the analysis report can be sent to the analyst's email address or via SMS to the analyst's mobile phone; this application is not limited to this. After receiving the analysis report, the analyst processes the first message indicating storage failure, for example, by manually storing the first message in the first storage unit of the first device.

[0057] The above scheme allows analysts to quickly view the analysis results and promptly understand the storage status of the first message.

[0058] In one possible implementation, after the first device stores the first message in the first storage unit, it performs business processing on the first message, such as... Figure 3 As shown, the method includes the following steps:

[0059] Step 301: Perform settlement verification on the first message.

[0060] Settlement verification refers to comparing the information contained in the first message with the information recorded in the bank system to verify whether the information contained in the first message is consistent with the information recorded in the bank system.

[0061] In one possible implementation, the first message contains account information, such as the user's name, ID number, and bank account number, which is then compared with the user's account information recorded in the bank system to verify whether the account information in the first message matches the account information recorded in the bank system. If they match, the verification is successful; if they do not match, the verification fails.

[0062] In one possible implementation, after the first device performs settlement verification on the first message, the first device records the settlement verification result of the first message in a settlement verification file.

[0063] In one possible implementation, the first device inputs the settlement verification rules and settlement verification file into the robotic process automation software to obtain the settlement verification result.

[0064] In one possible implementation, the first device sends a settlement verification report to the verification personnel's terminal device. The settlement verification report includes the settlement verification result. For example, the settlement verification rule is to capture information indicating settlement verification failure in the settlement verification file. The settlement verification rule and the settlement verification file are input into the RPA. The RPA will monitor the settlement verification file in real time. Once a settlement verification failure record is found in the settlement verification file, it will send a settlement verification report to the verification personnel's terminal device.

[0065] Step 302: Perform security verification on the first message.

[0066] Security verification refers to verifying the security of the first message, such as one or more of anti-money laundering security verification, fraud security verification, or malicious message security verification. Anti-money laundering security verification verifies whether the account information contained in the first message is potentially related to money laundering; fraud security verification verifies whether the information contained in the first message is false; and malicious message security verification verifies whether the first message is malicious. This application does not limit the methods used for performing anti-money laundering security verification, fraud security verification, or malicious message security verification.

[0067] In one possible implementation, after the first device performs security verification on the first message, the first device records the security verification result of the first message in a security verification file.

[0068] In one possible implementation, the first device inputs the safety verification rules and safety verification file into the robotic process automation software to obtain the safety verification result.

[0069] In one possible implementation, the first device sends a security verification report to the verification personnel's terminal device. The security verification report includes the security verification results. For example, the security verification rule captures information about security verification failures in the security verification file. The security verification rule and the security verification file are input into the RPA. The RPA monitors the security verification file in real time. Once a security verification failure record is found in the security verification file, it sends a security verification report to the verification personnel's terminal device.

[0070] Step 303: Determine the detailed list.

[0071] The detailed statement is determined based on the first message and records the user's transaction details over a period of time.

[0072] In one possible implementation, if steps 301 and / or 302 are satisfied, the first device analyzes the first message and generates a detail table based on the information contained in the first message.

[0073] In one possible implementation, the first message contains one or more of the following: user account information, billing details, payment time, interest settlement details, or payment amount. Based on the information contained in the first message, a detailed table is determined. For example, the detailed table is shown in Table 1.

[0074] Table 1

[0075] A 1000 January 1st XXXXXXXXX B 2000 January 2nd XXXXXXXXX C 3000 January 2nd XXXXXXXXX lump sum 6000

[0076] In one possible implementation, the banking system remits funds to the user's account based on the total amount in the details table and the user's account information.

[0077] Based on the same technological concept Figure 4 An exemplary embodiment of a communication device 400 provided in this application is shown. It includes a transceiver unit 401 and a processing unit 402. The transceiver unit 401 is used to receive a first message; the processing unit 402 is used to store the first message in a first storage unit corresponding to the first message in a first device, wherein the first storage unit is pre-established and pre-enabled with write permissions.

[0078] In one possible implementation, the processing unit 402 is further configured to establish multiple storage units and enable write permissions for the multiple storage units before the first device receives the first message, wherein the multiple storage units include the first storage unit; and the multiple storage units correspond to different dates respectively.

[0079] In one possible implementation, the processing unit 402 is configured to store the first message in a first storage unit corresponding to the first message in the first device, specifically including: determining the first storage unit corresponding to the first date from a plurality of storage units based on the first date of receiving the first message; and storing the first message in the first storage unit.

[0080] In one possible implementation, the processing unit 402 is further configured to record the storage result of the first message to a log file. The log file is used to record the storage results of multiple messages, including the first message, wherein the storage result is either successful or failed.

[0081] In one possible implementation, the processing unit 402 is further configured to input log analysis rules and log files into the robotic process automation software to obtain analysis results, wherein the log analysis rules are used to indicate the method of analyzing the log files.

[0082] In one possible implementation, the transceiver unit 401 is also used to send an analysis report to the analyst's terminal device, the analysis report including the analysis results.

[0083] Based on the same technical concept, embodiments of this application provide a message storage device 500, which may be, for example, a computing device. Figure 5 As shown, the message storage device 500 includes at least one processor 501 and a memory 502 connected to the at least one processor. In this embodiment, the specific connection medium between the processor 501 and the memory 502 is not limited. Figure 5 Taking the connection between processor 501 and memory 502 via a bus as an example, the bus can be divided into address bus, data bus, control bus, etc.

[0084] In this embodiment of the application, the memory 502 stores instructions that can be executed by at least one processor 501. By executing the instructions stored in the memory 502, at least one processor 501 can perform the above-described message storage method.

[0085] The processor 501 serves as the control center of the message storage device 500. It can connect to various parts of the computer device via various interfaces and lines, and performs resource settings by running or executing instructions stored in the memory 502 and accessing data stored in the memory 502. Optionally, the processor 501 may include one or more determining units. The processor 501 may integrate an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and applications, while the modem processor primarily handles wireless communication. It is understood that the modem processor may not be integrated into the processor 501. In some embodiments, the processor 501 and the memory 502 may be implemented on the same chip; in other embodiments, they may be implemented on separate chips.

[0086] Processor 501 can be a general-purpose processor, such as a central processing unit (CPU), digital signal processor, application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.

[0087] Memory 502, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. Memory 502 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. Memory 502 can be any other medium capable of carrying or storing desired program code in the form of instructions or data structures that can be accessed by a computer, but is not limited thereto. In the embodiments of this application, memory 502 can also be a circuit or any other device capable of implementing storage functions for storing program instructions and / or data.

[0088] This application also provides a computer-readable storage medium storing a computer-executable program, which is used to cause a computer to perform the message storage method listed in any of the above methods.

[0089] This application provides a computer program product, including a computer program executable by a computer device, which, when run on the computer device, causes the computer device to perform the message storage method listed in any of the above methods.

[0090] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can 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.) containing computer-usable program code.

[0091] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0092] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0093] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0094] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A message storage method, applied to a first device in a banking system, the first device including a message service platform and a payment platform, characterized in that, include: The payment platform establishes multiple storage units and enables write permissions for the multiple storage units, wherein the multiple storage units include a first storage unit; wherein the multiple storage units correspond to different dates; The message service platform receives business messages from outside the banking system and processes the business messages to generate a first message. The message service platform sends the first message to the payment platform; The payment platform receives the first message; The payment platform determines the first storage unit corresponding to the first date from the plurality of storage units based on the first date of receiving the first message; the first storage unit is pre-established and has pre-enabled write permissions. The payment platform stores the first message in the first storage unit; The payment platform performs settlement verification on the first message; wherein, the settlement verification refers to comparing the information contained in the first message with the information recorded in the bank system to verify whether the information contained in the first message is consistent with the information recorded in the bank system.

2. The method as described in claim 1, characterized in that, The method further includes: The payment platform records the storage result of the first message in a log file. The log file is used to record the storage results of multiple messages, including the first message. The storage result is either successful or failed.

3. The method as described in claim 2, characterized in that, The method further includes: The payment platform inputs the log analysis rules and the log file into the robotic process automation software to obtain the analysis results. The log analysis rules are used to indicate the analysis method for the log file.

4. The method as described in claim 3, characterized in that, The method further includes: The payment platform sends an analysis report to the analyst's terminal device, and the analysis report includes the analysis results.

5. A communication device, characterized in that, Includes a transceiver unit and a processing unit; The transceiver unit is used to receive business messages from outside the banking system and process the business messages to generate a first message. The transceiver unit is also used to send and receive the first message; The processing unit is configured to determine, based on the first date of receiving the first message, a first storage unit corresponding to the first date from a plurality of storage units; and store the first message in the first storage unit. The processing unit is further configured to establish multiple storage units and enable write permissions for the multiple storage units before the transceiver unit receives the first message, wherein the multiple storage units include the first storage unit; wherein the multiple storage units correspond to different dates respectively; The processing unit is further configured to perform settlement verification on the first message; wherein, the settlement verification refers to comparing the information contained in the first message with the information recorded in the bank system to verify whether the information contained in the first message is consistent with the information recorded in the bank system.

6. The apparatus as claimed in claim 5, characterized in that, The processing unit is further configured to record the storage result of the first message in a log file, the log file being used to record the storage results of multiple messages, including the first message, wherein the storage result is either successful storage or storage failure.

7. The apparatus as claimed in claim 6, characterized in that, The processing unit is also used to input the log analysis rules and the log file into the robotic process automation software to obtain analysis results. The log analysis rules are used to indicate the analysis method for the log file.

8. The apparatus as claimed in claim 7, characterized in that, The transceiver unit is also used to send an analysis report to the analyst's terminal device, the analysis report including the analysis results.

9. A computing device, characterized in that, include: Memory, used to store program instructions; A processor is configured to invoke program instructions stored in the memory and execute the method as described in any one of claims 1 to 4 according to the obtained program instructions.

10. A computer-readable storage medium, characterized in that, Includes computer-readable instructions that, when read and executed by a computer, implement the method as described in any one of claims 1 to 4.

11. A computer program product, characterized in that, It includes a computer program executable by a computer device, which, when run on the computer device, causes the computer device to perform the method of any one of claims 1 to 4.

Citation Information

Patent Citations

  • Method and device for storing log files

    CN106844185A

  • Simulation data processing method and device, simulation device and storage medium

    CN109951494A

  • Test link message data processing method and device

    CN111930624A

  • Data protection method, electronic equipment and storage medium

    CN114595169A