CN109981357A - The method and apparatus of payment system uplink message circulation path analysis - Google Patents
The method and apparatus of payment system uplink message circulation path analysis Download PDFInfo
- Publication number
- CN109981357A CN109981357A CN201910188616.9A CN201910188616A CN109981357A CN 109981357 A CN109981357 A CN 109981357A CN 201910188616 A CN201910188616 A CN 201910188616A CN 109981357 A CN109981357 A CN 109981357A
- Authority
- CN
- China
- Prior art keywords
- message
- time
- node
- processing
- log
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Abstract
The present invention provides a kind of method and apparatus of payment system uplink message circulation path analysis, this method comprises: receiving log message data;Log message data is parsed, determines uplink message information;According to uplink message information, the circulation path of message is determined;According to log message data, the processing time of each node is determined.The present invention by acquiring log message data in real time, every message is analyzed, the processing that circulation path and the message each node on circulation path of every uplink message is calculated is time-consuming, provides data supporting for tracking message circulation path and joint behavior assessment.
Description
Technical field
The present invention relates to data-message transmission field more particularly to a kind of circulation path analysis of payment system uplink message
Method and apparatus.
Background technique
Payment system message transmissions platform at present are as follows: payment mechanism incoming end-Urban Processing Center-country's processing center three
Layer architecture.The uplink message that payment mechanism issues can circulate by front end processor in payment mechanism row, be sent to Urban Processing Center.City
After message is carried out service observation by city's processing center, national processing center can be sent to and do final service processing.Payment system at present
The circulation path for participating in all kinds of messages that mechanism issues, and the processing on each node of link are monitored there are no effective means
Situation brings certain difficulty for message status tracking and link nodes malfunction elimination.Therefore, a kind of mode is nowadays needed,
The message for being flowed into national processing center can be calculated in real time, the processing time-consuming situation of each node in a transmission path.
Summary of the invention
The message circulation path trace for participating in mechanism and issuing can not be monitored in order to solve existing business, and can not be obtained each
The problem of a node is to Message processing performance, the present invention provides a kind of methods of payment system uplink message circulation path analysis
And device.
In a first aspect, the present invention provides a kind of method of payment system uplink message circulation path analysis, the method packet
It includes:
Receive log message data;
The log message data is parsed, determines uplink message information;
According to the uplink message information, the circulation path of message is determined;
According to the log message data, the processing time of each node is determined.
Second aspect, the present invention provide a kind of device of payment system uplink message circulation path analysis, described device packet
It includes:
Receiving module, for receiving the log message data of PMTS transmission platform;
Parsing module determines uplink message information for parsing the log message data;
Circulate path determination module, for determining the circulation path of message according to the uplink message information;
Node processing time determining module, for determining the processing time of each node according to the log message data.
The third aspect, the present invention provides a kind of electronic equipment, including memory, processor and storage are on a memory and can
The computer program run on a processor, the processor realize the payment system that first aspect provides when executing described program
The step of uplink message circulation path analysis method.
Fourth aspect, the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with computer program,
The payment system uplink message circulation path analysis method that first aspect provides is realized when the computer program is executed by processor
The step of.
The embodiment of the present invention analyzes every message, is calculated every by acquiring log message data in real time
The processing of circulation path and the message each node on circulation path of uplink message is time-consuming, for tracking message circulation road
Diameter and joint behavior assessment provide data supporting.
For above and other objects, features and advantages of the invention can be clearer and more comprehensible, preferred embodiment is cited below particularly,
And cooperate institute's accompanying drawings, it is described in detail below.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram of payment system uplink message provided in an embodiment of the present invention circulation path analysis method;
Fig. 2 is the general frame flow chart of payment system uplink message provided in an embodiment of the present invention circulation path analysis;
Fig. 3 is the block diagram of payment system uplink message provided in an embodiment of the present invention circulation path analysis device;
Fig. 4 is electronic device block diagram provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Payment system message transmissions platform is payment mechanism incoming end-Urban Processing Center-country's processing center three at present
Layer architecture.But there are no the circulation paths that effective means monitors all kinds of messages for payment system, and on each node of link
Disposition.To solve the above-mentioned problems, the present invention provides a kind of method of payment system uplink message circulation path analysis
And device.As shown in FIG. 1, FIG. 1 is the streams of payment system uplink message provided in an embodiment of the present invention circulation path analysis method
Journey schematic diagram, in figure this method comprises:
Step 101, log message data is received.
Specifically, receiving the log message data of payment on payment message transmissions platform PMTS.Wherein PMTS is responsible for branch
Message between the system of paying and participant, each node in payment system inside communicates, and provides safe and efficient message transmissions mechanism.It needs
It is noted that the embodiment of the present invention does not limit the mode for receiving log message data specifically, can be flat from transmission
Obtain on platform to obtain by other means.
Step 102, log message data is parsed, determines uplink message information.
Specifically, parsing the uplink report that participant is sent to national processing center according to the content of log message data
Text, i.e. transmission direction are message of the client transmissions to server.
Step 103, according to uplink message information, the circulation path of message is determined.
Specifically, being according to sender and recipient comprising the sender and recipient of message in uplink message information
The circulation path of outgoing packet can be obtained.
Step 104, according to log message data, the processing time of each node is determined.
Specifically, in embodiments of the present invention, the log message data received is included in payment mechanism incoming end, city
Processing center, national three nodes of processing center reception message time and E-Packet the time, according to receive message time and
It E-Packets the time determining processing time in each node.
The embodiment of the present invention analyzes every message, is calculated every by acquiring log message data in real time
The processing of circulation path and the message each node on circulation path of uplink message is time-consuming, for tracking message circulation road
Diameter and joint behavior assessment provide data supporting.
Content based on the above embodiment, as a kind of alternative embodiment: log message data includes: message promoter,
Message recipient, message initiate the date, and it is flat in transmission to initiate time, message reference number, message transmissions direction and each node
It the reception message time of platform and E-Packets the time.
Specifically, in the U head format of PMTS platform log message data, message promoter is contained, message recipient,
Message initiates the date, initiates the time, message reference number, message transmissions direction, and at payment mechanism bank pre-machine, city
The receiving time at reason center and forwarding time, received node, and in the message receiving time of national processing center, and extract
<msgId>...</MsgId>content in label, the unique identification as a message.
The embodiment of the present invention is according to the content in log message data, when determining the processing of message circulation path and each node
Between, quickly to track message status and investigation link nodes failure.
Content based on the above embodiment, as a kind of alternative embodiment: according to uplink message information, determining the stream of message
Turning path includes:
According to uplink message information, Message processing machine title and receiving queue name are obtained;
According to Message processing machine title and receiving queue name, the circulation path of message is determined.
Specifically, preserving the handling machine name of bank pre-machine node and Urban Processing Center node in uplink message
With receiving queue name, according to the handling machine title of the node and receiving queue name and message transmissions direction, it can be learnt that report
The circulation path of text.That is different disposal machine is mounted on different positions, and message transmissions direction can also represent message
The dynamic of transmission is the circulation path it can be concluded that message then according to machine name, receiving queue name and message transmissions direction
's.
For national processing center node, because there is no relevant nodes records in heading, protected in uplink message
There are national processing center node and local queue manager, using national processing center node as national processing center node
Handling machine title, local queue manager is as receiving queue name.
The embodiment of the present invention passes through the circulation path for determining message, brings certain good effect for node failure investigation
Fruit.
Content based on the above embodiment, as a kind of alternative embodiment: according to log message data, determining each node
The processing time include:
It according to the reception message time of bank pre-machine node and E-Packets the time, determines the place of bank pre-machine node
Manage the time;
It according to the reception message time of Urban Processing Center node and E-Packets the time, determines Urban Processing Center node
The processing time;
According to log routine call time and log print time, the processing time of country's processing center node is determined.
Specifically, for the processing time of bank pre-machine node and Urban Processing Center node being connect according to two nodes
The difference for receiving message time and the time that E-Packets determines the processing time of node, such as: bank pre-machine node message receives
Time is 13T09:06:28.908975, forwarding time 13T09:06:28.900822, and forwarding time subtracts receiving time,
The as processing time of bank pre-machine node.
For national processing center node, because there is no relevant nodes records in heading, used here as log
In field routine call time and log print time difference, as this message country processing node processing when
Between.
The processing time-consuming situation of each node on path is calculated in the embodiment of the present invention, provides for the assessment of each joint behavior
Data supporting.
Content based on the above embodiment, as a kind of alternative embodiment: as shown in Fig. 2, Fig. 2 mentions for the embodiment of the present invention
The general frame flow chart of the payment system uplink message circulation path analysis of confession.The detailed process of the embodiment of the present invention are as follows: make
Pmts log message is acquired in real time with log collection tool flume, is input in Kafka message queue and is cached.?
Daily record data is obtained from kafka according to the time interval of every 2s in Sparkstreaming program.Log to getting every time
Data judge its Log Types, if non-uplink message, then abandon the message;The data after discarding are sentenced again later
It is disconnected, until obtaining legal uplink message;Each Message processing block in daily record data is parsed, message circulation is split out
The machine name of each node crossed, channel queue's title and message time and forwarding time are received in each node, and
These fields are cached into map data acquisition system.The circulation path of every message is calculated by these data and in each section
The processing time on point, finally by calculated result storage into Hbase, for front end displaying and the inquiry of historical data.
According to another aspect of the present invention, the embodiment of the present invention also provides a kind of payment system uplink message circulation path
The device of analysis, referring to Fig. 3, Fig. 3 is the device of payment system uplink message provided in an embodiment of the present invention circulation path analysis
Block diagram.The device is used to carry out the circulation path analysis of payment system uplink message in foregoing embodiments.Therefore, aforementioned
The description and definition in payment system uplink message circulation path analysis method in each embodiment, can be used for implementation of the present invention
The understanding of each execution module in example.
As shown, the device includes:
Receiving module 301, for receiving the log message data of PMTS transmission platform;
Parsing module 302 determines uplink message information for parsing log message data;
Circulate path determination module 303, for determining the circulation path of message according to uplink message information;
Node processing time determining module 304, for determining the processing time of each node according to log message data.
The embodiment of the present invention analyzes every message, is calculated every by acquiring log message data in real time
The processing of circulation path and the message each node on circulation path of uplink message is time-consuming, for tracking message circulation road
Diameter and joint behavior assessment provide data supporting.
Content based on the above embodiment, as a kind of alternative embodiment: log message data includes: message promoter,
Message recipient, message initiate the date, and it is flat in transmission to initiate time, message reference number, message transmissions direction and each node
It the reception message time of platform and E-Packets the time.
The embodiment of the present invention is according to the content in log message data, when determining the processing of message circulation path and each node
Between, quickly to track message status and investigation link nodes failure.
Content based on the above embodiment, as a kind of alternative embodiment: circulation path determination module includes:
Message processing device title determination unit, for obtaining Message processing machine title and connecing according to uplink message information
Receive queue name;
Circulate path determining unit, for determining the circulation of message according to Message processing machine title and receiving queue name
Path.
The embodiment of the present invention passes through the circulation path for determining message, brings certain good effect for node failure investigation
Fruit.
Content based on the above embodiment, as a kind of alternative embodiment: node processing time determining module includes:
Bank pre-machine node processing time determination unit, for according to the reception message time of bank pre-machine node and
It E-Packets the time, determines the processing time of bank pre-machine node;
Urban Processing Center node processing time determination unit, when for according to the reception message of Urban Processing Center node
Between and E-Packet the time, determine the processing time of Urban Processing Center node;
National processing center node processing time determination unit, when for being printed according to log routine call time and log
Between, determine the processing time of country's processing center node.
The processing time-consuming situation of each node on path is calculated in the embodiment of the present invention, provides for the assessment of each joint behavior
Data supporting.
Fig. 4 is electronic device block diagram provided in an embodiment of the present invention, as shown in figure 4, the equipment includes: processor 401, deposits
Reservoir 402 and bus 403;
Wherein, processor 401 and storage 402 complete mutual communication by bus 403 respectively;Processor 401 is used for
The program instruction in memory 402 is called, to execute the circulation of payment system uplink message provided by above-described embodiment path point
The method of analysis, for example, receive log message data;Log message data is parsed, determines uplink message information;According to uplink
Message information determines the circulation path of message;According to log message data, the processing time of each node is determined.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, is stored thereon with computer program, should
The step of method of payment system uplink message circulation path analysis is realized when computer program is executed by processor.Such as it wraps
It includes: receiving log message data;Log message data is parsed, determines uplink message information;According to uplink message information, report is determined
The circulation path of text;According to log message data, the processing time of each node is determined.
The apparatus embodiments described above are merely exemplary, wherein unit can be as illustrated by the separation member
Or may not be and be physically separated, component shown as a unit may or may not be physical unit, i.e.,
It can be located in one place, or may be distributed over multiple network units.It can select according to the actual needs therein
Some or all of the modules achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creative labor
In the case where dynamic, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
The method of certain parts of example or embodiment.
Finally, applying specific embodiment in the present invention, principle and implementation of the present invention are described, above
The explanation of embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general skill of this field
Art personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this
Description should not be construed as limiting the invention.
Claims (10)
1. a kind of method of payment system uplink message circulation path analysis, which is characterized in that the described method includes:
Receive log message data;
The log message data is parsed, determines uplink message information;
According to the uplink message information, the circulation path of message is determined;
According to the log message data, the processing time of each node is determined.
2. the method according to claim 1, wherein the log message data includes: message promoter, message
Recipient, message initiate the date, initiate the time, message reference number, message transmissions direction and each node are in transmission platform
It receives message time and E-Packets the time.
3. determining message the method according to claim 1, wherein described according to the uplink message information
Circulation path includes:
According to the uplink message information, Message processing machine title and receiving queue name are obtained;
According to the Message processing machine title and receiving queue name, the circulation path of message is determined.
4. according to the method described in claim 2, determining each section it is characterized in that, described according to the log message data
Point the processing time include:
It according to the reception message time of bank pre-machine node and E-Packets the time, when determining the processing of bank pre-machine node
Between;
It according to the reception message time of Urban Processing Center node and E-Packets the time, determines the place of Urban Processing Center node
Manage the time;
According to log routine call time and log print time, the processing time of country's processing center node is determined.
5. a kind of device of payment system uplink message circulation path analysis, which is characterized in that described device includes:
Receiving module, for receiving the log message data of PMTS transmission platform;
Parsing module determines uplink message information for parsing the log message data;
Circulate path determination module, for determining the circulation path of message according to the uplink message information;
Node processing time determining module, for determining the processing time of each node according to the log message data.
6. device according to claim 5, which is characterized in that the log message data includes: message promoter, message
Recipient, message initiate the date, initiate the time, message reference number, message transmissions direction and each node are in transmission platform
It receives message time and E-Packets the time.
7. device according to claim 5, which is characterized in that the circulation path determination module includes:
Message processing device title determination unit, for obtaining Message processing machine title and connecing according to the uplink message information
Receive queue name;
Circulate path determining unit, for determining the circulation of message according to the Message processing machine title and receiving queue name
Path.
8. device according to claim 6, which is characterized in that the node processing time determining module includes:
Bank pre-machine node processing time determination unit, for according to the reception message time of bank pre-machine node and forwarding
Message time determines the processing time of bank pre-machine node;
Urban Processing Center node processing time determination unit, for according to the reception message time of Urban Processing Center node and
It E-Packets the time, determines the processing time of Urban Processing Center node;
National processing center node processing time determination unit was used for according to log routine call time and log print time,
Determine the processing time of country's processing center node.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor is realized when executing described program pays system as described in any one of Claims 1-4
The step of method of system uplink message circulation path analysis.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer
Realizing the payment system uplink message circulation path analysis as described in any one of Claims 1-4 when program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910188616.9A CN109981357A (en) | 2019-03-13 | 2019-03-13 | The method and apparatus of payment system uplink message circulation path analysis |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910188616.9A CN109981357A (en) | 2019-03-13 | 2019-03-13 | The method and apparatus of payment system uplink message circulation path analysis |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109981357A true CN109981357A (en) | 2019-07-05 |
Family
ID=67078697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910188616.9A Pending CN109981357A (en) | 2019-03-13 | 2019-03-13 | The method and apparatus of payment system uplink message circulation path analysis |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109981357A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140247723A1 (en) * | 2007-05-22 | 2014-09-04 | Actiontec Electronics, Inc. | Systems and methods for dynamic quality of service |
CN105095052A (en) * | 2014-05-22 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Fault detection method and fault detection device in SOA (Service-Oriented Architecture) environment |
CN105099745A (en) * | 2014-05-21 | 2015-11-25 | 中兴通讯股份有限公司 | Tracking method and device of business process |
CN106790718A (en) * | 2017-03-16 | 2017-05-31 | 北京搜狐新媒体信息技术有限公司 | Service call link analysis method and system |
CN107943649A (en) * | 2017-11-21 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of distributed type assemblies performance monitoring system and method |
-
2019
- 2019-03-13 CN CN201910188616.9A patent/CN109981357A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140247723A1 (en) * | 2007-05-22 | 2014-09-04 | Actiontec Electronics, Inc. | Systems and methods for dynamic quality of service |
CN105099745A (en) * | 2014-05-21 | 2015-11-25 | 中兴通讯股份有限公司 | Tracking method and device of business process |
CN105095052A (en) * | 2014-05-22 | 2015-11-25 | 阿里巴巴集团控股有限公司 | Fault detection method and fault detection device in SOA (Service-Oriented Architecture) environment |
CN106790718A (en) * | 2017-03-16 | 2017-05-31 | 北京搜狐新媒体信息技术有限公司 | Service call link analysis method and system |
CN107943649A (en) * | 2017-11-21 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of distributed type assemblies performance monitoring system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108063772B (en) | Data security access method and system based on service side | |
US20020143991A1 (en) | Geographic location determination including inspection of network address | |
US8577984B2 (en) | State management in a distributed computing system | |
CN105245588B (en) | A kind of method of web service port separating treatment | |
CN108134746B (en) | Method and device for processing rail transit data | |
CN109995558A (en) | Failure information processing method, device, equipment and storage medium | |
CN106454403B (en) | Data display method, equipment and system | |
CN105871976A (en) | Data cross-domain request method and system, and devices | |
CN109922081A (en) | A kind of long connection data analysing method of TCP flow | |
CN109981357A (en) | The method and apparatus of payment system uplink message circulation path analysis | |
CN103580951B (en) | Output comparative approach, test migration householder method and the system of multiple information systems | |
US20130145289A1 (en) | Real-time duplication of a chat transcript between a person of interest and a correspondent of the person of interest for use by a law enforcement agent | |
CN108985053A (en) | distributed data processing method and device | |
CN100433642C (en) | Fault positioning, debugging method and system thereof | |
EP2590366B1 (en) | Method, computer program and system for monitoring message objects sent from a client to invoke operations on a server in a distributed computing environment | |
CN115499947A (en) | Data processing method, system, device and medium | |
CN106230619A (en) | Data sending, receiving method and device, data transmission method and system | |
CN114172958A (en) | Private computing node, system, method, apparatus, and storage medium | |
CN107995037B (en) | Pre-judging method and device for wide area network optimization | |
CN113783746A (en) | Network service monitoring method and device, electronic equipment and readable storage medium | |
CN103650438A (en) | Method and device for flow control | |
CN110378404B (en) | Method, device and system for network tracking long chain attack | |
CN105227615B (en) | A kind of method and device of distributed system data transmitting | |
CN110365675B (en) | Method, device and system for network tracking long chain attack | |
CN114170741B (en) | Transaction efficiency monitoring method, ATM front-end system and self-service business control and management system |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100195 1st Floor 112-113, Building 3, South District, Beiwu Innovation Park, 23 Beiwucun Road, Haidian District, Beijing Applicant after: Yinqing Technology Co.,Ltd. Address before: 100195 1st Floor 112-113, Building 3, South District, Beiwu Innovation Park, 23 Beiwucun Road, Haidian District, Beijing Applicant before: YINQING TECHNOLOGY (BEIJING) Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |