CN116896592A - Service message processing method, device, equipment and medium - Google Patents

Service message processing method, device, equipment and medium Download PDF

Info

Publication number
CN116896592A
CN116896592A CN202310877664.5A CN202310877664A CN116896592A CN 116896592 A CN116896592 A CN 116896592A CN 202310877664 A CN202310877664 A CN 202310877664A CN 116896592 A CN116896592 A CN 116896592A
Authority
CN
China
Prior art keywords
message
processing
service
equipment
routing
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
CN202310877664.5A
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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310877664.5A priority Critical patent/CN116896592A/en
Publication of CN116896592A publication Critical patent/CN116896592A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Abstract

The application relates to the technical field of network communication, in particular to a service message processing method, a device, equipment and a medium, which are used for solving the problem that messages are easy to lose when messages are transmitted between a front-end processor and routing equipment and between the routing equipment and processing equipment. The method comprises the following steps: after the front-end processor acquires the service message, the processing equipment for notifying the processing service of the new service transmits a notification message to the processing equipment through the routing equipment, after receiving the notification message, the processing equipment sends a response message containing a storage address to the routing equipment, the routing equipment sends the response message to the front-end processor, the front-end processor stores the service message under the storage address in the response message, and the processing equipment acquires the service message from the storage address and processes the service message.

Description

Service message processing method, device, equipment and medium
Technical Field
The present application relates to the field of network communications technologies, and in particular, to a method, an apparatus, a device, and a medium for processing a service packet.
Background
When the service is processed, a user sends a service message to the front-end processor through the front-end processor, the front-end processor receives the service message and then sends the service message to the routing equipment, the routing equipment sends the service message to the processing equipment for processing the service message, and the processing equipment processes the service message after receiving the service message.
However, in the above processing procedure, when the device for transmitting the message itself is damaged, or the network between the front end processor and the routing device, the network between the routing device and the processing device is interrupted, the service message is lost in the device transmitting procedure, so that the processing is failed.
Disclosure of Invention
The embodiment of the application provides a service message processing method, a device, equipment and a medium, which are used for solving the problem that messages are easy to lose when messages are transmitted between a front-end processor and routing equipment and between the routing equipment and processing equipment.
In a first aspect, the present application provides a service message processing method, applied to a front-end processor, including:
after acquiring a service message, sending a notification message for notifying a processing device for processing a service that a new service exists to a routing device, so that the routing device sends the notification message to the processing device;
receiving a response message sent by the routing equipment; wherein the response message is sent to the routing device by the processing device after receiving the notification message; the response message includes a memory address;
and storing the service message under a storage address in the response message so that the processing equipment can acquire the service message from the storage address in the response message.
According to the method, after the front-end processor acquires the service message, the notification message is forwarded to the processing equipment through the routing equipment, the processing equipment receives the notification message and then sends the response message containing the storage address to the front-end processor, the front-end processor stores the service message under the storage address, the processing equipment acquires the service message from the storage address and processes the service message.
In a possible embodiment, after the service packet is acquired, after sending a notification message for notifying the processing device that processes the service that there is a new service to the routing device, the method further includes:
monitoring a message fed back by the routing equipment;
and if the message fed back by the routing equipment and received the notification message is not monitored, retransmitting the notification message to the routing equipment.
In a second aspect, the present application provides a service message processing method, applied to a routing device, including:
receiving a notification message sent by a front-end processor and used for notifying processing equipment of a service that new service exists, and sending the notification message to the processing equipment; the notification message is sent by the front-end processor after the service message is acquired;
receiving a response message sent by the processing equipment, and sending the response message to the front-end processor, so that the front-end processor stores the service message under a storage address in the response message, and the processing equipment can acquire the service message from the storage address in the response message;
wherein the response message is sent after the processing device receives the notification message; the response message includes a memory address.
In one possible embodiment, after receiving the notification message sent by the front end processor and used for notifying that the processing device that processes the service has a new service, the method further includes:
and feeding back the message of which the notification message is received to the front-end processor.
In one possible embodiment, after sending the notification message to the processing device, the method further comprises:
Monitoring a message fed back by the processing equipment;
and if the message fed back by the processing equipment and received by the notification message is not monitored, retransmitting the notification message to the processing equipment.
In a third aspect, the present application provides a service message processing method, applied to a processing device for processing a service, including:
receiving a notification message sent by a routing device and used for notifying a processing device of new service; the notification message is sent to the routing equipment by the front-end processor after the service message is acquired;
generating a response message containing a storage address, and sending the response message to the routing equipment, so that the routing equipment sends the response message to the front-end processor, and the front-end processor stores the service message under the storage address;
and acquiring the service message from the storage address and processing the service message.
In a possible embodiment, after receiving a notification message sent by the routing device and used for notifying the processing device that there is a new service, the method further includes:
and feeding back the message of which the notification message is received to the routing equipment.
In a possible embodiment, after the service packet is obtained from the storage address and the service packet is processed, the method further includes:
If the service message is failed to be acquired, notifying a user that the service message processing is failed;
receiving a command received again by a user;
and re-acquiring the service message from the storage address, and processing the service message.
In a fourth aspect, the present application provides a service message processing method, including:
after a service message is acquired, storing the service message under a storage address;
and acquiring the service message from the storage address and processing the service message.
In a fifth aspect, the present application provides a service message processing apparatus, applied to a front-end processor, including:
the sending module is used for sending a notification message for notifying the processing equipment for processing the service that the new service exists to the routing equipment after the service message is acquired, so that the routing equipment sends the notification message to the processing equipment;
the receiving module is used for receiving the response message sent by the routing equipment; wherein the response message is sent to the routing device by the processing device after receiving the notification message; the response message includes a memory address;
and the storage module is used for storing the service message under a storage address in the response message so that the processing equipment can acquire the service message from the storage address in the response message.
In one possible embodiment, the apparatus further comprises: a monitoring module;
the monitoring module is used for monitoring the message fed back by the routing equipment;
and if the message fed back by the routing equipment and received the notification message is not monitored, retransmitting the notification message to the routing equipment.
In a sixth aspect, the present application provides a service packet processing device, applied to a routing device, including:
the system comprises a notification message forwarding module, a processing device and a processing device, wherein the notification message forwarding module is used for receiving a notification message which is sent by a front-end processor and used for notifying that processing equipment of a service has a new service, and sending the notification message to the processing device; the notification message is sent by the front-end processor after the service message is acquired;
the response message forwarding module is used for receiving the response message sent by the processing equipment and sending the response message to the front-end processor so that the front-end processor stores the service message under a storage address in the response message, and the processing equipment can acquire the service message from the storage address in the response message;
wherein the response message is sent after the processing device receives the notification message; the response message includes a memory address.
In one possible embodiment, the apparatus further comprises: a feedback module;
the feedback module is used for feeding back the message of the received notification message to the front-end processor.
In one possible embodiment, the apparatus further comprises: a feedback module;
the feedback module is used for monitoring the information fed back by the processing equipment;
and if the message fed back by the processing equipment and received by the notification message is not monitored, retransmitting the notification message to the processing equipment.
In a seventh aspect, the present application provides a service message processing apparatus, applied to a processing device for processing a service, including:
the receiving module is used for receiving a notification message sent by the routing equipment and used for notifying the processing equipment that new services exist; the notification message is sent to the routing equipment by the front-end processor after the service message is acquired;
the sending module is used for generating a response message containing a storage address and sending the response message to the routing equipment so that the routing equipment sends the response message to the front-end processor, and the front-end processor stores the service message under the storage address;
and the processing module is used for acquiring the service message from the storage address and processing the service message.
In one possible embodiment, the apparatus further comprises: a feedback module;
and the feedback module is used for feeding back the message of the received notification message to the routing equipment.
In one possible embodiment, the apparatus further comprises: a manual processing module;
the manual processing module is used for notifying a user that the service message processing fails if the service message acquisition fails;
receiving a command received again by a user;
and re-acquiring the service message from the storage address, and processing the service message.
In an eighth aspect, the present application provides a service packet processing device, including:
the storage module is used for storing the service message under a storage address after the service message is acquired;
and the processing module is used for acquiring the service message from the storage address and processing the service message.
In a ninth aspect, the present application provides a front-end processor, including:
a memory for storing program instructions;
a processor for invoking program instructions stored in the memory and executing the steps comprised by the method according to any of the first aspects in accordance with the obtained program instructions.
In a tenth aspect, the present application provides a routing device, including:
a memory for storing program instructions;
a processor for invoking program instructions stored in said memory and executing the steps comprised in the method according to any of the second aspects in accordance with the obtained program instructions.
In an eleventh aspect, the present application provides a processing apparatus comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in said memory and executing the steps comprised in the method according to any of the third aspects in accordance with the obtained program instructions.
In a twelfth aspect, the present application provides a computer readable storage medium storing a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any one of the first aspects, or cause the computer to perform the method of any one of the second aspects, or cause the computer to perform the method of any one of the third aspects.
In a thirteenth aspect, the present application provides a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method of any one of the first aspect, or causes the computer to perform the method of any one of the second aspect, or causes the computer to perform the method of any one of the third aspect.
Drawings
FIG. 1 is a block diagram of a service message processing system according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a service message processing system according to an embodiment of the present application;
fig. 3 is a flowchart of a first service message processing method provided in an embodiment of the present application;
fig. 4 is a flowchart of a second service message processing method according to an embodiment of the present application;
fig. 5 is a flowchart of a third service message processing method according to an embodiment of the present application;
fig. 6 is a flowchart of a fourth service message processing method according to an embodiment of the present application;
fig. 7 is a block diagram of a first service message processing apparatus according to an embodiment of the present application;
fig. 8 is a block diagram of a second service message processing apparatus according to an embodiment of the present application;
fig. 9 is a block diagram of a third service message processing apparatus according to an embodiment of the present application;
fig. 10 is a block diagram of a fourth service message processing apparatus according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, 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, and it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application. Embodiments of the application and features of the embodiments may be combined with one another arbitrarily without conflict. Also, while a logical order of illustration is depicted in the flowchart, in some cases the steps shown or described may be performed in a different order than presented.
The terms first and second in the description and claims of the application and in the above-mentioned figures are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus. The term "plurality" in the present application may mean at least two, for example, two, three or more, and embodiments of the present application are not limited.
In the technical scheme of the application, the data is collected, transmitted, used and the like, and all meet the requirements of national relevant laws and regulations.
Before describing the service message processing method provided by the embodiment of the present application, for convenience of understanding, the following detailed description is first provided for the technical background of the embodiment of the present application.
Term interpretation:
message forwarding: the upstream system forwards the message information to the downstream system through the non-persistent notification message, and the message may be lost due to network interruption and the like in the transmission process.
Scanning: a single machine in the cluster system acquires data by continuously inquiring database data records, and performs concurrent control through an optimistic lock to perform data processing.
And (3) compensation treatment: and monitoring the background automatic task, and when the automatic task processing fails, processing the failed data again through a pre-established spam compensation mechanism.
The task is high available: the application program for executing the task can be deployed on a plurality of server resources, and the smooth execution of the task can be ensured as long as one service provides normal service within the specified time period of the task. The service message processing method applied to the processing equipment can be deployed on a plurality of server resources, and the task is high in availability.
Currently, when a user initiates a financial service, in conjunction with fig. 1, a system for processing the financial service includes: a front-end client 100, a front-end processor 101, a routing device 102, and a plurality of processing devices 103 for processing financial services; the processing device runs a payment system, the front-end processor runs a bank front-end system, and the front-end client 100 is a device for receiving a service initiated by a user; the front-end processor 101 is an intermediate device for use in the field, and connects the front end and the back end.
The user issues a financial service through the front end client 100, the front end client 100 generates a financial service message and sends the financial service message to the front end processor 101, the front end processor 101 sends the financial service message to the routing device 102 after receiving the financial service message, the routing device 102 sends the financial service message to the processing device 103 for processing the financial service message, the processing device 103 processes the financial service message after receiving the financial service message, if the processing device 103 inquires the residual amount of the financial account of the user, the processing device 103 feeds the residual amount of the financial account of the user back to the front end processor 101 through the routing device 102, and the front end processor 101 sends the residual amount of the financial account of the user to the front end client 100, so that the user can know the residual amount.
The foreground client 100 operates an external connection system, and in the banking field, the foreground client 100 may be mobile banking software or the like.
However, in the above-mentioned process, if the routing device 102 itself fails, or if a network between the front end processor 101 and the routing device 102 is defective, the network between the routing device 102 and the processing device 103 may cause a loss of the financial service packet during transmission, so that the financial service cannot be processed normally.
Aiming at the technical problems, the application provides the following technical conception: after the front-end processor receives the service message, the front-end processor sends a notification message for notifying the processing device of a new service to the processing device through the routing device, the processing device generates a response message after receiving the notification message, sends the response message to the front-end processor through the routing device, the front-end processor stores the service message to a storage address in the response message, and the processing device acquires the service message from the storage address and processes the service message, so that the service message is not transmitted to the processing device through the transmission of the device but is stored to the storage address, and the processing device acquires the service message from the storage address to process, thereby avoiding the problem that the service message is lost in the transmission process and improving the success rate of processing the message.
The following describes the technical scheme of the present application and how the technical scheme of the present application solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Referring to fig. 2, an embodiment of the present application provides a service message processing flow, including:
after acquiring the service message, the front end processor 101 sends a notification message for notifying the processing device for processing the service that a new service exists to the routing device 102; the service message is a service issued by the user through the foreground client 100, and is generated by the foreground client 100;
the routing device 102 receives the notification message sent by the front end processor 101 and sends the notification message to the processing device 103;
the processing device 103 receives the notification message sent by the routing device 102; generating a response message containing the memory address and transmitting the response message to the routing device 102;
the routing device 102 receives the response message sent by the processing device 103 and sends the response message to the front end processor 101;
the front end processor 101 receives a response message sent by the routing equipment 102; storing the service message under a storage address in the response message;
the processing device 103 obtains the service message from the storage address and processes the service message.
Specifically, the front end processor 101 stores notification messages, and when a service message is acquired, the front end processor retrieves the stored notification messages and sends the retrieved notification messages to the routing device 102, and the routing device 102 receives the notification messages and sends the notification messages to the processing device 103.
The processing device 103 will store a storage address that is the address of the NAS (Network Attached Storage ). Simply understood as a network memory, to which the processing device 103 is connected, from which data stored in the network memory can be retrieved.
The front end processor 101 stores the service message in the network memory, and after detecting that the front end processor 101 stores the service message, the network memory sends a notification message to the processing device 103, and after the processing device 103 receives the notification message, it knows that the service message corresponding to the notification message is already stored in the network memory. Alternatively, after the front end processor 101 stores the service message in the network memory, the processing device 103 actively sends a message to the network memory to query whether the service message stored in the front end processor 101 exists in the network memory.
After receiving the notification message, the processing device 103 generates a message receiving flow list, where the message receiving flow list includes the time of receiving the notification message and the information of the routing device that receives the notification message;
the processing device 103 adds the flow ticket to the message receiving flow meter as shown in table 1:
TABLE 1
Wherein the number of the notification message is the unique code of the notification message.
The time represents the time when the processing device generated the flow ticket; the device represents a routing device that processes the receipt of notification messages by the device.
Completion conditions may be incomplete, successful, failed; the incomplete service message corresponding to the running list is not processed, the successful service message corresponding to the running list is successfully obtained, and the failure is failure of obtaining the service message corresponding to the running list.
The state of the flow sheet comprises unprocessed and processed, wherein the unprocessed indicates that the processing equipment does not acquire the service message corresponding to the flow sheet from the storage address; the processed representation processing equipment acquires the service message corresponding to the flow list from the storage address.
The service message state comprises stored and not stored; the stored information indicates that the front end processor stores the service message to a storage address; the non-storage indicates that the front-end processor does not store the service message to the storage address.
The processing device 103 scans the message receiving flow meter, and searches the flow meter with the flow meter state being unprocessed and the service message state being stored, or the flow meter with the flow meter state being failure in the completion condition and the service message state being stored; as shown in table 1, the condition is satisfied when the flow sheet state of the flow sheet 1 is untreated, and the condition is satisfied when the completion of the flow sheet 2 is failed. Both the running water sheet 1 and the running water sheet 2 satisfy the above conditions. After the flowing water bill is found out, the flowing water bill is processed according to the sequence from the early to the late, and the generating time of the flowing water bill 1 is 2023.5.1 10:00:00; and if the generation time of the flow ticket 2 is 2023.5.110:10:00, the generation time of the flow ticket 1 is earlier than that of the flow ticket 2, and the flow ticket 1 is processed firstly, namely the service message is acquired from the storage address and is processed.
In order to avoid that a notification message cannot be normally transmitted to the routing device 102 by the front end processor 101 due to network interruption between the front end processor 101 and the routing device 102, the embodiment of the invention provides a service message processing method, which includes:
after receiving the notification message sent by the front end processor, the routing device 102 feeds back the message of the received notification message to the front end processor 101;
the front-end processor 101 monitors information fed back by the routing equipment 102; if the message fed back by the routing device and received by the notification message is not monitored, retransmitting the notification message to the routing device 102; and if the message fed back by the routing equipment and received with the notification message is monitored, ending.
In the actual operation process, the front end processor 101 may store a state table; the front end processor 101 immediately sends a notification message after receiving a new service message, and the notification message of the service message is continuously sent to the routing device after a preset time period, wherein the notification message corresponds to the service message which is not fed back by the routing device and has received the notification message.
Similarly, in order to avoid that a notification message cannot be normally transmitted to the processing device 103 by the routing device 102 due to a network outage between the routing device 102 and the processing device 103, an embodiment of the present invention provides a service message processing method, which includes:
After receiving the notification message sent by the routing device, the processing device 103 feeds back the message of the received notification message to the routing device;
the routing device 102 monitors information fed back by the processing device; if the message of the received notification message fed back by the processing equipment is not monitored, retransmitting the notification message to the processing equipment; and if the message fed back by the processing equipment and having received the notification message is monitored, ending.
In the actual operation process, the routing device 102 may store a routing anomaly reception flow meter;
TABLE 2
The receiving time is the time when the routing device 102 receives the notification message, the state is whether the routing device 102 sends the notification message to the processing device, the state indicates whether the routing device 102 receives the message fed back by the processing device, the message indicating that the routing device 102 does not receive the feedback of the processing device is not received, and the received message indicates that the routing device 102 has received the feedback of the processing device.
After receiving the notification message, the routing device 102 sends the notification message to the processing device 103, when receiving the message fed back by the processing device and having received the notification message, the routing device 102 does not perform subsequent processing, when not receiving the message fed back by the processing device and having received the notification message, adds the message to the table, records the time when receiving the notification message, and the state, the routing device 102 scans the abnormal routing receiving flow meter, processes the abnormal receiving flow meter based on the sequence of the receiving time, the receiving time of the message 1 is 2023.5.1 10:00:12, the receiving time of the message 2 is 2023.5.1:00:00, the feedback of the processing device is not received by the message 1, and the feedback of the processing device is not received by the message 2, then based on the receiving time, the routing device 102 sends the notification message to the processing device for the message 2, and then sends the notification message to the processing device for the message 1.
When acquiring a message, processing equipment has a problem or any link has an error, so that the service message can not be acquired, and the invention provides the following remedial measures, including:
if the processing device 103 fails to acquire the service message, notifying the user that the service message processing fails and receiving a command received again by the user; and re-acquiring the service message from the storage address and processing the service message.
In detail, the processing device includes a manual processing page, a message record of processing failure of the processing device is displayed to a user, the user can click a re-receiving button of the record of failure state, the post-processing device 103 is clicked to set the record state of processing failure in the message receiving stream water meter to be in a re-receiving state, and the scanning service of the processing device 103 scans the message record and re-stores the address downloading analysis message.
There is also feedback information for the response message sent by the processing device 103, for example:
the processing device 103 sends a response message, and listens for the received response message sent by the routing device 102; if the message is monitored, the response message does not need to be sent later, and if the message is not monitored, the response message is resent to the routing device 102;
After receiving the response message, the routing device 102 sends the message of the received response message to the processing device 103, and sends the response message to the front end processor 101;
after receiving the response message, the front end processor 101 sends the message of the received response message to the routing device 102;
the routing device 102 listens for the message sent by the front end processor 101 and having received the response message; if a message is monitored, no subsequent retransmission of the response message is required, and if no message is monitored, the response message is retransmitted to the front end processor 101.
The routing device 102 also forms the information of the response message into a flow meter, and records the response message corresponding to the message that the front end processor 101 does not receive the response message and feeds back the response message to the received message. The routing device 102 resends the response message by scanning the flow table.
Illustratively, since the notification message received in the routing device 102 is not sent by only the front end processor 101, nor is the notification message sent by the front end processor 101 to the routing device 102, the routing device 102 sets a unique code for the received front end processor to send the notification message, the unique code and the code consisting of english letters and numbers representing the notification message, such as a0332F265, and similarly, since the notification message sent by the routing device 102 to the processing device 103 is not one, the processing device 103 sets a unique code for the received routing device 102 to send the notification message, the unique code and the code consisting of english letters and numbers representing the notification message, such as CXFDSF265.
The front-end processor provided by the invention sends the notification message to the routing equipment after receiving the service message, the routing equipment forwards the message and forwards the notification message to the processing equipment, and the processing equipment registers the notification message to the message receiving flow record after receiving the notification message (the message receiving system generates a unique number as a unique index of the message receiving flow water meter to prevent duplication).
The processing equipment scans the flow record to be downloaded of the SWIFT-ISO message receiving flow meter, after locking is successful, the routing equipment sends a response message to the routing equipment according to the message type outbound of the flow record of the message receiving flow meter, the routing equipment sends the response message to the front end processor according to the message analysis (downloading) service of the front end processor corresponding to the message type outbound, the front end processor acquires the response message and writes the downloaded original message attachment into the NAS path of the current receiving file of the processing equipment, the response message analyzed by the front end processor is returned to the processing equipment, the processing equipment registers the corresponding message register after receiving the response message, and after registering is successful, the flow record state of the flow record of the message receiving flow meter is modified to be successfully downloaded and unlocked.
The compensation process for the messaging process includes: the front-end processor monitors the abnormality and periodically resends the notification message when the notification message of the front-end processor is not received by the routing device (the processing result of the routing device is not received by the front-end processor);
The routing device calls the processing device exception (the processing device does not return to a successful state), the routing device stores the notification message into the routing exception receiving flow water meter, and the routing device newly adds the scanning service to scan the failure flow and then re-requests the processing device. And returning to the successful state of the routing device if the processing device receives repeated message notifications (the front end processor generates a unique number which is already present in the message receiving flow water meter of the processing device).
The processing equipment adds a manual processing page, displays the message record of the processing equipment processing failure to a user, and the user can click a re-receiving button of the failure state record, after clicking, the recording state of the processing failure in the message receiving flow water meter of the processing equipment is set to be a re-receiving state, and the scanning service of the processing equipment scans the message record and re-sends the message record to the front-end processor to download and analyze the message.
Referring to fig. 3, an embodiment of the present invention provides a service message processing method, which is applied to a front-end processor, and includes:
s300: after the service message is acquired, sending a notification message for notifying the processing device for processing the service that the new service exists to the routing device, so that the routing device sends the notification message to the processing device;
S301: receiving a response message sent by the routing equipment; wherein, the response message is sent to the routing device by the processing device after receiving the notification message; the response message includes a memory address;
s302: and storing the service message under a storage address in the response message so that the processing equipment can acquire the service message from the storage address in the response message.
Optionally, after the service message is acquired, after sending a notification message for notifying the processing device for processing the service that there is a new service to the routing device, the method further includes:
monitoring a message fed back by the routing equipment;
and if the message fed back by the routing equipment and received the notification message is not monitored, retransmitting the notification message to the routing equipment.
Referring to fig. 4, an embodiment of the present invention provides a service message processing method, which is applied to a routing device, and includes:
s400: receiving a notification message which is sent by the front-end processor and used for notifying the processing equipment of the processing service that the processing equipment has a new service, and sending the notification message to the processing equipment; the front end processor sends the notification message after acquiring the service message;
s401: receiving a response message sent by the processing equipment, and sending the response message to the front-end processor, so that the front-end processor stores the service message under a storage address in the response message, and the processing equipment can acquire the service message from the storage address in the response message;
The response message is sent after the processing equipment receives the notification message; the response message includes a memory address.
Optionally, after receiving the notification message sent by the front end processor and used for notifying the processing device that processes the service has the new service, the method further includes:
and feeding back the message of which the notification message is received to the front-end processor.
Optionally, after sending the notification message to the processing device, the method further includes:
monitoring a message fed back by the processing equipment;
and if the message fed back by the processing equipment and received by the notification message is not monitored, retransmitting the notification message to the processing equipment.
Referring to fig. 5, an embodiment of the present invention provides a service message processing method, which is applied to a processing device for processing a service, and includes:
s500: receiving a notification message sent by a routing device and used for notifying a processing device of new service; the notification message is sent to the routing equipment by the front-end processor after the service message is acquired;
s501: generating a response message containing a storage address, and sending the response message to the routing equipment, so that the routing equipment sends the response message to the front-end processor, and the front-end processor stores the service message under the storage address;
S502: and acquiring the service message from the storage address and processing the service message.
Optionally, after receiving the notification message sent by the routing device and used for notifying the processing device that there is a new service, the method further includes:
and feeding back the message of which the notification message is received to the routing equipment.
Optionally, after the service packet is obtained from the storage address, the method further includes:
if the service message is failed to be acquired, notifying a user that the service message processing is failed;
receiving a command received again by a user;
and re-acquiring the service message from the storage address, and processing the service message.
Referring to fig. 6, an embodiment of the present application provides a service message processing method, including:
s600: after the service message is acquired, storing the service message under a storage address;
s601: and acquiring the service message from the storage address and processing the service message.
Based on the same inventive concept, an embodiment of the present application provides a service message processing apparatus, applied to a front-end processor, please refer to fig. 7, the apparatus includes:
a sending module 700, configured to send, after obtaining a service packet, a notification message for notifying a processing device that processes a service that there is a new service to a routing device, so that the routing device sends the notification message to the processing device;
A receiving module 701, configured to receive a response message sent by the routing device; wherein the response message is sent to the routing device by the processing device after receiving the notification message; the response message includes a memory address;
the storage module 702 is configured to store the service packet under a storage address in the response message, so that the processing device can obtain the service packet from the storage address in the response message.
Optionally, the apparatus further includes: a monitoring module;
the monitoring module is used for monitoring the message fed back by the routing equipment;
and if the message fed back by the routing equipment and received the notification message is not monitored, retransmitting the notification message to the routing equipment.
Referring to fig. 8, an embodiment of the present invention provides a service packet processing apparatus, which is applied to a routing device, and includes:
a notification message forwarding module 800, configured to receive a notification message sent by a front end processor and used for notifying a processing device that a processing service has a new service, and send the notification message to the processing device; the notification message is sent by the front-end processor after the service message is acquired;
A response message forwarding module 801, configured to receive a response message sent by the processing device, and send the response message to the front-end processor, so that the front-end processor stores the service message under a storage address in the response message, so that the processing device can obtain the service message from the storage address in the response message;
wherein the response message is sent after the processing device receives the notification message; the response message includes a memory address.
Optionally, the apparatus further includes: a feedback module;
the feedback module is used for feeding back the message of the received notification message to the front-end processor.
Optionally, the apparatus further includes: a feedback module;
the feedback module is used for monitoring the information fed back by the processing equipment;
and if the message fed back by the processing equipment and received by the notification message is not monitored, retransmitting the notification message to the processing equipment.
Referring to fig. 9, an embodiment of the present invention provides a service message processing apparatus, which is applied to a processing device for processing a service, including:
a receiving module 900, configured to receive a notification message sent by a routing device, where the notification message is used to notify a processing device that a new service exists; the notification message is sent to the routing equipment by the front-end processor after the service message is acquired;
A sending module 901, configured to generate a response message including a storage address, and send the response message to the routing device, so that the routing device sends the response message to the front end processor, where the front end processor stores the service packet under the storage address;
and the processing module 902 is configured to obtain the service packet from the storage address, and process the service packet.
Optionally, the apparatus further includes: a feedback module;
and the feedback module is used for feeding back the message of the received notification message to the routing equipment.
Optionally, the apparatus further includes: a manual processing module;
the manual processing module is used for notifying a user that the service message processing fails if the service message acquisition fails;
receiving a command received again by a user;
and re-acquiring the service message from the storage address, and processing the service message.
Referring to fig. 10, an embodiment of the present invention provides a service message processing apparatus, including:
the storage module 1000 is configured to store a service packet under a storage address after the service packet is acquired;
and the processing module 1010 is configured to obtain the service packet from the storage address, and process the service packet.
It should be noted that, it should be understood that the division of the modules of the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated. And these modules may all be implemented in software in the form of calls by the processing element; or can be realized in hardware; the method can also be realized in a form of calling software by a processing element, and the method can be realized in a form of hardware by a part of modules. The processing element here may be an integrated circuit with signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in a software form.
Based on the same inventive concept, the embodiment of the application provides a front-end processor, which can realize the functions of the service message processing device applied to the front-end processor, which are discussed above;
the embodiment of the application provides a routing device which can realize the functions of the service message processing device applied to the routing device, which are discussed above;
the embodiment of the application provides processing equipment, which can realize the functions of the business message processing device applied to the processing equipment, which are discussed above;
The specific structure of each of the three devices may include a processor and a memory.
The processor executes the computer-executable instructions stored in the memory, causing the processor to perform the aspects of the embodiments described above. The processor 1100 may be a general-purpose processor including a central processing unit CPU, a network processor (network processor, NP), etc.; but may also be a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
The memory is coupled to the processor via the system bus and communicates with each other, and the memory is configured to store computer program instructions.
The system bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The system bus may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus. The transceiver is used to enable communication between the database access device and other computers (e.g., clients, read-write libraries, and read-only libraries). The memory may include random access memory (random access memory, RAM) and may also include non-volatile memory (non-volatile memory).
Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, the computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the service message processing method as any of the preceding discussion. Since the principle of the above-mentioned computer readable storage medium for solving the problem is similar to that of the service message processing method, the implementation of the above-mentioned computer readable storage medium can refer to the implementation of the method, and the repetition is not repeated.
Based on the same inventive concept, embodiments of the present application also provide a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the service message processing method as any of the preceding discussion. Since the principle of the solution of the problem of the computer program product is similar to that of the service message processing method, the implementation of the computer program product can refer to the implementation of the method, and the repetition is omitted.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or 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, and the like) 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 the application. It will be understood that each flow and/or block of 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 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, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of user operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present application without departing from the spirit or scope of the application. Thus, it is intended that the present application also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (23)

1. The service message processing method is characterized by being applied to a front-end processor and comprising the following steps:
after acquiring a service message, sending a notification message for notifying a processing device for processing a service that a new service exists to a routing device, so that the routing device sends the notification message to the processing device;
receiving a response message sent by the routing equipment; wherein the response message is sent to the routing device by the processing device after receiving the notification message; the response message includes a memory address;
And storing the service message under a storage address in the response message so that the processing equipment can acquire the service message from the storage address in the response message.
2. The service message processing method according to claim 1, wherein after the service message is acquired, after sending a notification message for notifying the processing device that processes the service that there is a new service to the routing device, the method further comprises:
monitoring a message fed back by the routing equipment;
and if the message fed back by the routing equipment and received the notification message is not monitored, retransmitting the notification message to the routing equipment.
3. The service message processing method is characterized by being applied to the routing equipment and comprising the following steps:
receiving a notification message sent by a front-end processor and used for notifying processing equipment of a service that new service exists, and sending the notification message to the processing equipment; the notification message is sent by the front-end processor after the service message is acquired;
receiving a response message sent by the processing equipment, and sending the response message to the front-end processor, so that the front-end processor stores the service message under a storage address in the response message, and the processing equipment can acquire the service message from the storage address in the response message;
Wherein the response message is sent after the processing device receives the notification message; the response message includes a memory address.
4. The service message processing method according to claim 3, wherein after receiving a notification message sent by the front end processor for notifying that the processing device for processing the service has a new service, the method further comprises:
and feeding back the message of which the notification message is received to the front-end processor.
5. The service message processing method according to claim 3, wherein after the notification message is sent to the processing device, the method further comprises:
monitoring a message fed back by the processing equipment;
and if the message fed back by the processing equipment and received by the notification message is not monitored, retransmitting the notification message to the processing equipment.
6. The service message processing method is characterized by being applied to processing equipment for processing services and comprising the following steps:
receiving a notification message sent by a routing device and used for notifying a processing device of new service; the notification message is sent to the routing equipment by the front-end processor after the service message is acquired;
generating a response message containing a storage address, and sending the response message to the routing equipment, so that the routing equipment sends the response message to the front-end processor, and the front-end processor stores the service message under the storage address;
And acquiring the service message from the storage address and processing the service message.
7. The service message processing method according to claim 6, wherein after receiving a notification message sent by the routing device for notifying the processing device that there is a new service, the method further comprises:
and feeding back the message of which the notification message is received to the routing equipment.
8. The service message processing method according to claim 6, wherein after the service message is acquired from the storage address, the method further comprises:
if the service message is failed to be acquired, notifying a user that the service message processing is failed;
receiving a command received again by a user;
and re-acquiring the service message from the storage address, and processing the service message.
9. The service message processing method is characterized by comprising the following steps:
after a service message is acquired, storing the service message under a storage address;
and acquiring the service message from the storage address and processing the service message.
10. The utility model provides a business message processing device which is characterized in that, is applied to the front-end processor, includes:
The sending module is used for sending a notification message for notifying the processing equipment for processing the service that the new service exists to the routing equipment after the service message is acquired, so that the routing equipment sends the notification message to the processing equipment;
the receiving module is used for receiving the response message sent by the routing equipment; wherein the response message is sent to the routing device by the processing device after receiving the notification message; the response message includes a memory address;
and the storage module is used for storing the service message under a storage address in the response message so that the processing equipment can acquire the service message from the storage address in the response message.
11. The service message processing apparatus according to claim 10, wherein the apparatus further comprises: a monitoring module;
the monitoring module is used for monitoring the message fed back by the routing equipment;
and if the message fed back by the routing equipment and received the notification message is not monitored, retransmitting the notification message to the routing equipment.
12. A service message processing apparatus, which is applied to a routing device, comprising:
The system comprises a notification message forwarding module, a processing device and a processing device, wherein the notification message forwarding module is used for receiving a notification message which is sent by a front-end processor and used for notifying that processing equipment of a service has a new service, and sending the notification message to the processing device; the notification message is sent by the front-end processor after the service message is acquired;
the response message forwarding module is used for receiving the response message sent by the processing equipment and sending the response message to the front-end processor so that the front-end processor stores the service message under a storage address in the response message, and the processing equipment can acquire the service message from the storage address in the response message;
wherein the response message is sent after the processing device receives the notification message; the response message includes a memory address.
13. The traffic message processing apparatus according to claim 12, wherein the apparatus further comprises: a feedback module;
the feedback module is used for feeding back the message of the received notification message to the front-end processor.
14. The traffic message processing apparatus according to claim 12, wherein the apparatus further comprises: a feedback module;
The feedback module is used for monitoring the information fed back by the processing equipment;
and if the message fed back by the processing equipment and received by the notification message is not monitored, retransmitting the notification message to the processing equipment.
15. A service message processing apparatus, characterized by being applied to a processing device for processing a service, comprising:
the receiving module is used for receiving a notification message sent by the routing equipment and used for notifying the processing equipment that new services exist; the notification message is sent to the routing equipment by the front-end processor after the service message is acquired;
the sending module is used for generating a response message containing a storage address and sending the response message to the routing equipment so that the routing equipment sends the response message to the front-end processor, and the front-end processor stores the service message under the storage address;
and the processing module is used for acquiring the service message from the storage address and processing the service message.
16. The traffic message processing apparatus according to claim 15, wherein the apparatus further comprises: a feedback module;
and the feedback module is used for feeding back the message of the received notification message to the routing equipment.
17. The traffic message processing apparatus according to claim 15, wherein the apparatus further comprises: a manual processing module;
the manual processing module is used for notifying a user that the service message processing fails if the service message acquisition fails;
receiving a command received again by a user;
and re-acquiring the service message from the storage address, and processing the service message.
18. A service message processing apparatus, comprising:
the storage module is used for storing the service message under a storage address after the service message is acquired;
and the processing module is used for acquiring the service message from the storage address and processing the service message.
19. A front-end processor, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in the memory and for performing the steps comprised in the method according to any of claims 1-2 in accordance with the obtained program instructions.
20. A routing device, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in the memory and for performing the steps comprised in the method according to any of claims 3-5 in accordance with the obtained program instructions.
21. A processing apparatus, comprising:
a memory for storing program instructions;
a processor for invoking program instructions stored in the memory and for performing the steps comprised in the method according to any of claims 6-8 in accordance with the obtained program instructions.
22. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any one of claims 1-2 or to perform the method of any one of claims 3-5, causing the computer to perform the method of any one of claims 6-8.
23. A computer program product, the computer program product comprising: computer program code for causing a computer to perform the method as claimed in any one of the preceding claims 1-2 or causing a computer to perform the method as claimed in any one of the preceding claims 3-5 or causing a computer to perform the method as claimed in any one of the preceding claims 6-8 when said computer program code is run on a computer.
CN202310877664.5A 2023-07-18 2023-07-18 Service message processing method, device, equipment and medium Pending CN116896592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310877664.5A CN116896592A (en) 2023-07-18 2023-07-18 Service message processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310877664.5A CN116896592A (en) 2023-07-18 2023-07-18 Service message processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN116896592A true CN116896592A (en) 2023-10-17

Family

ID=88311838

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310877664.5A Pending CN116896592A (en) 2023-07-18 2023-07-18 Service message processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116896592A (en)

Similar Documents

Publication Publication Date Title
CN111371892A (en) High-concurrency distributed message pushing system and method
CN111277639B (en) Method and device for maintaining data consistency
US9929930B2 (en) Reducing an amount of captured network traffic data to analyze
CN112118315A (en) Data processing system, method, device, electronic equipment and storage medium
CN109600375A (en) Message tracing method, device, electronic equipment and storage medium
CN113938522B (en) Event message transmission method, system, device and computer storage medium
CN112446786A (en) Abnormal transaction processing method and device, electronic equipment and readable storage medium
CN112417042A (en) Method and device for processing service request
WO2017007981A1 (en) Action correlation framework
CA2736700C (en) Monitoring a mobile data service associated with a mailbox
CN111200653B (en) Multi-platform communication method, multi-platform communication device and intermediate server
CN116896592A (en) Service message processing method, device, equipment and medium
CN115037653B (en) Service flow monitoring method, device, electronic equipment and storage medium
CN110650204A (en) Data access method, device, equipment and storage medium of NAS cluster
CN112751743A (en) Message sending exception processing method, message sending device and electronic equipment
US11016807B2 (en) Intermediary system for data streams
CN113992352A (en) Message pushing method and device, electronic equipment and storage medium
CN108880994B (en) Method and device for retransmitting mails
CN113242292A (en) Message transmission method, device, equipment, medium and product
CN113141236A (en) Message processing method and device
CN110716841A (en) Monitoring data collection method, device and equipment
CN116302619B (en) Cross-site multi-activity processing method, device, apparatus and storage medium
CN114363846B (en) Method, system, device and medium for testing and checking 5G-SA charging and dialing of Internet of things
CN117201292B (en) Method capable of accurately positioning request call exception among micro services
US11765278B2 (en) Replay agent for delivering charging event messages from a message broker in a mobile telecommunications network

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