CN112737869A - Link tracking method and system of ESB (Enterprise service bus) system - Google Patents
Link tracking method and system of ESB (Enterprise service bus) system Download PDFInfo
- Publication number
- CN112737869A CN112737869A CN202110359119.8A CN202110359119A CN112737869A CN 112737869 A CN112737869 A CN 112737869A CN 202110359119 A CN202110359119 A CN 202110359119A CN 112737869 A CN112737869 A CN 112737869A
- Authority
- CN
- China
- Prior art keywords
- message
- level
- esb
- source transaction
- number field
- 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
Images
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/0677—Localisation of faults
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/40—Bus networks
-
- 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 invention provides a link tracking method and a link tracking system of an ESB (enterprise service bus) system, wherein the ESB system comprises an ESB and a plurality of peripheral systems connected with the ESB, and the link tracking method of the ESB system comprises the following steps: obtaining messages of a plurality of ESB systems, wherein the messages comprise source transaction initiation application number fields for identifying a source transaction initiation system and source transaction initiation serial number fields for identifying source transaction initiation serial; the source transaction initiating system is one of a plurality of peripheral systems; associating a plurality of messages with the same source transaction initiation application number and the same source transaction initiation serial number; and determining a link of the ESB system according to the associated messages. The invention dynamically analyzes the call link relation between peripheral systems based on the message operated by the ESB system, and further supplements and perfects the static combing information, thereby more accurately reflecting the incidence relation between the peripheral systems, simultaneously more abundantly inquiring the log flow information related to transaction and facilitating the problem investigation and positioning.
Description
Technical Field
The present invention relates to the field of information technologies, and in particular, to a link tracking method and system for an ESB system.
Background
An enterprise Service bus (esb) refers to a product of combining a conventional middleware technology with XML, Web services, and other technologies. The ESB provides the most basic connection center in the network and is an essential element for constructing the nervous system of an enterprise. At present, an enterprise service bus system can display relevant information such as static service call links according to combed static information, and link display cannot be performed according to actual operation conditions.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a link tracking method and system for an ESB system, where a message running on the basis of an enterprise service bus system dynamically analyzes a call link relationship between systems, and further supplements and perfects static combing information, so as to more accurately reflect an association relationship between services, and meanwhile, can query transaction-related log flow information more abundantly, and facilitate problem troubleshooting and positioning.
In a first aspect, an embodiment of the present invention provides a link tracking method for an ESB system, where the ESB system includes an ESB and a plurality of peripheral systems connected to the ESB, and the link tracking method for the ESB system includes: obtaining messages of a plurality of ESB systems, wherein the messages comprise source transaction initiation application number fields for identifying source transaction initiation systems and source transaction initiation serial number fields for identifying source transaction initiation serial; the source transaction initiating system is one of a plurality of peripheral systems; associating a plurality of messages with the same source transaction initiation application number and the same source transaction initiation serial number; and determining a link of the ESB system according to the associated messages.
Further, the message further includes: a message originating application number field for identifying a message originating system and a message receiving application number field for identifying a message receiving system; the step of determining the link of the ESB system according to the associated messages comprises the following steps: confirming a source transaction initiating system according to the source transaction initiating application numbers of the associated messages;
taking a message initiating application number field in messages of a plurality of ESB systems as a message of the source transaction initiating system as a 1 st message, and confirming a level 1 peripheral system linked with the source transaction initiating system according to a message receiving application number field of the 1 st message; and determining a link of an ESB system according to the level 1 peripheral system.
Further, the message also comprises a message serial number field; the step of determining a link of an ESB system according to the level 1 peripheral system includes: taking messages with the number field of the message initiation application number in the messages of the multiple ESB systems as the messages of the level 1 peripheral system as the 2 nd messages; confirming a level 2 peripheral system linked with the source transaction initiating system according to the message receiving application number field of the level 2 message; until the Nth level peripheral system linked with the source transaction initiating system is confirmed according to the message receiving application number field of the Nth message; wherein, the system for initiating the application number field identification by the message in the Nth message is a system for receiving the application number field identification by the message in the N-1 th message or a system for initiating the application number field identification by the message in the N-1 th message; the 1 st message, the 2 nd message and the nth message are messages representing request information; sequentially increasing the serial number of the message serial number fields of the 1 st message, the 2 nd message and the Nth message in sequence; and determining the request information transmission relation among a source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the level 1 message, the level 2 message and the level N message.
Further, the step of determining a link of an ESB system according to the level 1 peripheral system further includes: determining a feedback information transmission relation among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the messages representing the feedback information among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system; the message representing the feedback information also comprises a reference message initiating application number field and a reference message initiating serial number field; the reference message initiation application number field in each message representing the feedback information is the number of a message receiving system in the corresponding message; the value of the reference message initiation serial number field in each message representing the feedback information is the message serial number of the corresponding message when the message receiving system in the corresponding message is used as a message sending system.
In a second aspect, an embodiment of the present invention provides a link tracking system of an ESB system, where the ESB system includes an ESB and a plurality of peripheral systems connected to the ESB, and the link tracking system of the ESB system includes: the message acquisition module is used for acquiring messages of a plurality of ESB systems, wherein the messages comprise a source transaction initiation application number field for identifying a source transaction initiation system and a source transaction initiation serial number field for identifying source transaction initiation serial; the source transaction initiating system is one of a plurality of peripheral systems; the message correlation module is used for correlating a plurality of messages with the same source transaction initiation application number and the same source transaction initiation serial number; and the link determining module is used for determining the link of the ESB system according to the associated messages.
Further, the message further includes: a message originating application number field for identifying a message originating system and a message receiving application number field for identifying a message receiving system; the message correlation module is specifically used for confirming a source transaction initiating system according to the source transaction initiating application numbers of the correlated messages; taking a message initiating application number field in messages of a plurality of ESB systems as a message of the source transaction initiating system as a 1 st message, and confirming a level 1 peripheral system linked with the source transaction initiating system according to a message receiving application number field of the 1 st message; the link determining module is specifically configured to determine a link of the ESB system according to the level 1 peripheral system.
Further, the message also comprises a message serial number field; the link determining module is specifically configured to use, as a 2 nd packet, a packet in which a packet initiation application number field in packets of multiple ESB systems is the level 1 peripheral system; confirming a level 2 peripheral system linked with the source transaction initiating system according to the message receiving application number field of the level 2 message; until the Nth level peripheral system linked with the source transaction initiating system is confirmed according to the message receiving application number field of the Nth message; determining the request information transmission relation among a source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the level 1 message, the level 2 message and the level N message; wherein, the system for initiating the application number field identification by the message in the Nth message is a system for receiving the application number field identification by the message in the N-1 th message or a system for initiating the application number field identification by the message in the N-1 th message; the 1 st message, the 2 nd message and the nth message are messages representing request information; and sequentially increasing the serial numbers of the message serial number fields of the 1 st message, the 2 nd message and the Nth message.
Further, the link determining module is specifically further configured to: determining a feedback information transmission relation among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the messages representing the feedback information among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system; the message representing the feedback information further comprises a reference message initiation application number field and a reference message initiation serial number field; the reference message initiation application number field in each message representing the feedback information is the number of a message receiving system in the corresponding message; the value of the reference message initiation serial number field in each message representing the feedback information is the message serial number of the corresponding message when the message receiving system in the corresponding message is used as a message sending system.
In still another aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the link tracking method of the ESB system described above.
In yet another aspect, the present invention also provides a computer apparatus comprising: one or more processors; storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the link tracking method of the ESB system described above.
The technical scheme has the following beneficial effects: because the link relation is dynamically analyzed by adopting the message (message carrying operation information) according to the ESB system, the message comprises a source transaction initiation application number field for identifying a source transaction initiation system and a source transaction initiation serial number field for identifying source transaction initiation serial, and a plurality of messages with the same source transaction initiation application number and the same source transaction initiation serial number are associated to further determine the link of the ESB system, the existing carding link information can be further supplemented and perfected, so that a service link, associated information and the like can be more accurately output, and meanwhile, the technical effect of transaction associated information can be inquired in problem troubleshooting.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of a link tracking method of an ESB system according to an exemplary first embodiment of the present invention;
FIG. 2 is a schematic diagram of an ESB system according to an exemplary second embodiment of the present invention;
FIG. 3 is a diagram illustrating the access relationship between peripheral systems in an ESB system according to an exemplary second embodiment of the present invention;
fig. 4A and 4B are a request message structure and a response message structure of an ESB system according to an exemplary second embodiment of the present invention;
fig. 5 is an information rule representation intention of an ESB system according to an exemplary second embodiment of the present invention;
fig. 6 is a block diagram of a link tracking system of an ESB system according to an exemplary third embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
Example one
Fig. 1 is a flowchart of a link tracking method of an ESB system according to an exemplary first embodiment of the present invention, where the ESB system includes an ESB and a plurality of peripheral systems connected to the ESB, and as shown in fig. 1, a link tracking method of an ESB system according to an embodiment of the present invention includes:
s101: obtaining messages of a plurality of ESB systems, wherein the messages comprise source transaction initiation application number fields for identifying source transaction initiation systems and source transaction initiation serial number fields for identifying source transaction initiation serial; the source transaction initiating system is one of a plurality of peripheral systems;
s102: associating a plurality of messages with the same source transaction initiation application number and the same source transaction initiation serial number;
s103: and determining a link of the ESB system according to the associated messages.
In this embodiment, a link relationship is dynamically analyzed according to a message (message carrying operation information) of the ESB system, where the message includes a source transaction initiation application number field for identifying a source transaction initiation system and a source transaction initiation serial number field for identifying a source transaction initiation serial number, and multiple messages having the same source transaction initiation application number and the same source transaction initiation serial number are associated to determine a link of the ESB system, so that the existing carding link information can be further supplemented and completed, a service link, associated information, and the like can be more accurately output, and transaction associated information can be queried in problem troubleshooting.
In particular operation, the link tracking method of the ESB system further includes any one of the following various preferred embodiments:
first preferred embodiment: the message further includes: a message originating application number field for identifying a message originating system and a message receiving application number field for identifying a message receiving system.
Accordingly, S102 may include:
confirming a source transaction initiating system according to the source transaction initiating application numbers of the associated messages;
taking a message with a message initiation application number field in messages of a plurality of ESB systems as a message of a source transaction initiation system as a 1 st message, and confirming a level 1 peripheral system linked with the source transaction initiation system according to a message receiving application number field of the 1 st message;
the link of the ESB system is determined according to the level 1 peripheral system.
Second preferred embodiment: the message also includes a message serial number field. Accordingly, the step of determining the link of the ESB system according to the level 1 peripheral system includes:
taking messages with the number field of the message initiation application number of the multiple ESB systems as the level 1 peripheral system as the level 2 messages;
confirming a level 2 peripheral system linked with a source transaction initiating system according to a message receiving application number field of the level 2 message;
until confirming the Nth level peripheral system linked with the source transaction initiating system according to the message receiving application number field of the Nth message; wherein, the system for initiating the application number field identification by the message in the Nth message is a system for receiving the application number field identification by the message in the N-1 th message or a system for initiating the application number field identification by the message in the N-1 th message; wherein, the 1 st message, the 2 nd message and the N < th > message are messages representing request information; the message serial number fields of the 1 st message, the 2 nd message and the Nth message are sequentially numbered in an increasing mode;
and determining the request information transmission relation among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the 1 st message, the 2 nd message and the messages from the Nth message.
In a third preferred embodiment, the step of determining the link of the ESB system according to the level 1 peripheral system further includes:
determining the feedback information transmission relation among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the message representing the feedback information among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system;
the message representing the feedback information also comprises a reference message initiation application number field and a reference message initiation serial number field;
the reference message initiation application number field in each message representing the feedback information is the number of a message receiving system in the corresponding message;
the value of the reference message initiation serial number field in each message representing the feedback information is the message serial number of the corresponding message when the message receiving system in the corresponding message is used as a message sending system.
Example two
The above-described preferred embodiments are explained below in detail by way of specific examples based on fig. 2 to 5. Specifically, as shown in fig. 2, the system a, the system B, the system C, and the system D are all peripheral systems accessing the ESB for example analysis. The access relationship between the peripheral systems is schematically shown in fig. 3. The system a, as a source transaction initiator (source transaction initiating system), sends a message 1-REQ (which may be understood as a 1 st message) for characterizing request information to the system B, as a level 1 peripheral system, sends a message 2-REQ (which may be understood as a 2 nd message) for characterizing request information to the system C (which may be understood as a 2 nd peripheral system), and sends a message 3-REQ (which may be understood as a 3 rd message) for characterizing request information to the system D (which may be understood as a 3 rd peripheral system). And the system D sends a message 3-REP for representing the feedback information to the system B based on the third message, the system C sends a message 2-REP for representing the feedback information to the system B based on the second message, and the system B sends a message 1-REP for representing the feedback information to the system A based on the first message. The message specification of the transaction process of each peripheral system of the ESB is detailed in the request message structure and the response message structure of fig. 4A and 4B. Such as:
transaction/header/msg/srcPpTCd// Source transaction initiation application number;
transaction/header/msg/srcNB// source transaction initiation serial number.
Specifically, through each field of the message in the information rule table in fig. 5, the method shown in fig. 1 is combined to track the access link shown in fig. 3. Briefly described as follows:
1. associating a plurality of messages 1-REQ, 2-REQ, 3-REQ, 1-REP, 2-REP and 3-REP with the same source transaction initiation application number srcPdCd and the same source transaction initiation serial number srcNB;
2. confirming that the source transaction initiating system is a peripheral system A according to the source transaction initiating application serial numbers of the messages 1-REQ, 2-REQ, 3-REQ, 1-REP, 2-REP and 3-REP;
3. using the message 1-REQ as a 1 st message, and confirming that a level 1 peripheral system linked with a peripheral system A is a peripheral system B according to a message receiving application number field of the message 1-REQ;
4. taking a message with a message initiation application number field of a peripheral system B in a plurality of messages 1-REQ, 2-REQ, 3-REQ, 1-REP, 2-REP and 3-REP as a 2 nd message, namely the message 2-REQ;
5. confirming a 2 nd level peripheral system linked with the peripheral system A, namely a peripheral system C according to the message receiving application number field of the message 2-REQ;
6. until confirming the level 3 peripheral system linked with the source transaction initiating system, namely a peripheral system D, according to the message receiving application number field of the 3 rd message; certainly, in other embodiments, there may be more messages and more levels of peripheral systems, N may be any integer, and the system in which the message in the nth message initiates the application number field identifier is a system in which the message in the nth message receives the application number field identifier or a system in which the message in the nth message initiates the application number field identifier;
7. determining the request information transmission relationship between the peripheral systems A, B, C and D according to the 1 st message 1-REQ, the 2 nd message 2-REQ and the 3 rd message 3-REQ, wherein the request information transmission relationship is that the peripheral system A transmits the 1 st message 1-REQ, the 2 nd message 2-REQ and the 3 rd message 3-REQ to the peripheral system B, the peripheral system B transmits the peripheral system C and the peripheral system B to the peripheral system D respectively;
8. and determining the feedback information transmission relationship between the peripheral system A, B, C and the peripheral system D according to the messages 1-REP, 2-REP and 3-REP representing the feedback information.
The embodiment can further complement and perfect the existing carding link information by dynamically analyzing the link relation according to the operation information, thereby outputting service links, associated information and the like more accurately, simultaneously inquiring transaction associated information in problem troubleshooting instead of single-step calling information of single atomic transaction, simultaneously introducing no third-party link tracking component, designing and developing by combining the self characteristics of an enterprise service bus system, having no invasion, and smoothly upgrading products.
EXAMPLE III
Fig. 6 is a block diagram of a link tracking system of an ESB system according to an exemplary third embodiment of the present invention. The embodiments shown in fig. 1 to 5 can be applied to this embodiment, and specifically, as shown in fig. 6, the link tracking system includes:
a message obtaining module 601, configured to obtain messages of multiple ESB systems, where the messages include a source transaction initiation application number field for identifying a source transaction initiation system and a source transaction initiation serial number field for identifying a source transaction initiation serial; the source transaction initiating system is one of a plurality of peripheral systems;
a message association module 602, configured to associate multiple messages with the same source transaction initiation application number and the same source transaction initiation serial number;
the link determining module 603 is configured to determine a link of the ESB system according to the associated multiple messages.
Preferably, the message further includes: a message originating application number field for identifying a message originating system and a message receiving application number field for identifying a message receiving system;
the message association module 602 is specifically configured to confirm the source transaction initiation system according to the source transaction initiation application numbers of the associated multiple messages; taking a message with a message initiation application number field in messages of a plurality of ESB systems as a message of a source transaction initiation system as a 1 st message, and confirming a level 1 peripheral system linked with the source transaction initiation system according to a message receiving application number field of the 1 st message;
the link determining module 603 is specifically configured to determine a link of the ESB system according to the level 1 peripheral system.
Further preferably, the message further includes a message serial number field; the link determining module 603 is specifically configured to use, as the 2 nd message, a message in which a message initiation application number field in messages of multiple ESB systems is a level 1 peripheral system; confirming a level 2 peripheral system linked with a source transaction initiating system according to a message receiving application number field of the level 2 message; until confirming the Nth level peripheral system linked with the source transaction initiating system according to the message receiving application number field of the Nth message; determining the request information transmission relation among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the level 1 message, the level 2 message and the message N;
wherein, the system for initiating the application number field identification by the message in the Nth message is a system for receiving the application number field identification by the message in the N-1 th message or a system for initiating the application number field identification by the message in the N-1 th message; wherein, the 1 st message, the 2 nd message and the N < th > message are messages representing request information; the message serial number fields of the 1 st message, the 2 nd message and the N (th) message are sequentially and progressively numbered.
Further preferably, the link determining module 603 is further specifically configured to: determining the feedback information transmission relation among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the message representing the feedback information among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system;
the message representing the feedback information also comprises a reference message initiation application number field and a reference message initiation serial number field;
the reference message initiation application number field in each message representing the feedback information is the number of a message receiving system in the corresponding message;
the value of the reference message initiation serial number field in each message representing the feedback information is the message serial number of the corresponding message when the message receiving system in the corresponding message is used as a message sending system.
In this embodiment, a link relationship is dynamically analyzed according to a message (message carrying operation information) of the ESB system, where the message includes a source transaction initiation application number field for identifying a source transaction initiation system and a source transaction initiation serial number field for identifying a source transaction initiation serial number, and multiple messages having the same source transaction initiation application number and the same source transaction initiation serial number are associated, so as to determine a link of the ESB system, and further complement and perfect static combing information, so that an association relationship between services is more accurately reflected, meanwhile, log serial information related to transactions can be more abundantly queried, and problem troubleshooting and positioning are facilitated, and service bus system construction of enterprises in the financial and universal financial fields can be served.
In addition, another embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the link tracking method of the ESB system described above.
Another embodiment of the present invention also provides a computer apparatus, including: one or more processors; storage means for storing one or more programs; the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the link tracking method of the ESB system described above.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. Of course, there are other ways of storing media that can be read, such as quantum memory, graphene memory, and so forth. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a vehicle-mounted human-computer interaction device, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Although the present application provides method steps as described in an embodiment or flowchart, more or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or end product executes, it may execute sequentially or in parallel (e.g., parallel processors or multi-threaded environments, or even distributed data processing environments) according to the method shown in the embodiment or the figures.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 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 is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device, the electronic device and the readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (10)
1. A link tracking method of an ESB system, wherein the ESB system comprises an ESB and a plurality of peripheral systems connected with the ESB, and the link tracking method of the ESB system comprises the following steps:
obtaining messages of a plurality of ESB systems, wherein the messages comprise source transaction initiation application number fields for identifying source transaction initiation systems and source transaction initiation serial number fields for identifying source transaction initiation serial; the source transaction initiating system is one of a plurality of peripheral systems;
associating a plurality of messages with the same source transaction initiation application number and the same source transaction initiation serial number;
and determining a link of the ESB system according to the associated messages.
2. The method of claim 1, wherein the message further comprises: a message originating application number field for identifying a message originating system and a message receiving application number field for identifying a message receiving system;
the step of determining the link of the ESB system according to the associated messages comprises the following steps:
confirming a source transaction initiating system according to the source transaction initiating application numbers of the associated messages;
taking a message initiating application number field in messages of a plurality of ESB systems as a message of the source transaction initiating system as a 1 st message, and confirming a level 1 peripheral system linked with the source transaction initiating system according to a message receiving application number field of the 1 st message;
and determining a link of an ESB system according to the level 1 peripheral system.
3. The method of claim 2, wherein the message further comprises a message serial number field;
the step of determining a link of an ESB system according to the level 1 peripheral system includes:
taking messages with the number field of the message initiation application number in the messages of the multiple ESB systems as the messages of the level 1 peripheral system as the 2 nd messages;
confirming a level 2 peripheral system linked with the source transaction initiating system according to the message receiving application number field of the level 2 message;
until the Nth level peripheral system linked with the source transaction initiating system is confirmed according to the message receiving application number field of the Nth message; wherein, the system for initiating the application number field identification by the message in the Nth message is a system for receiving the application number field identification by the message in the N-1 th message or a system for initiating the application number field identification by the message in the N-1 th message; the 1 st message, the 2 nd message and the nth message are messages representing request information; sequentially increasing the serial number of the message serial number fields of the 1 st message, the 2 nd message and the Nth message in sequence;
and determining the request information transmission relation among a source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the level 1 message, the level 2 message and the level N message.
4. The method of claim 3, wherein the step of determining the link of the ESB system according to the level 1 peripheral system further comprises:
determining a feedback information transmission relation among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the messages representing the feedback information among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system;
the message representing the feedback information also comprises a reference message initiating application number field and a reference message initiating serial number field;
the reference message initiation application number field in each message representing the feedback information is the number of a message receiving system in the corresponding message;
the value of the reference message initiation serial number field in each message representing the feedback information is the message serial number of the corresponding message when the message receiving system in the corresponding message is used as a message sending system.
5. A link tracking system of an ESB system, the ESB system including an ESB and a plurality of peripheral systems connected to the ESB, the link tracking system of the ESB system comprising:
the message acquisition module is used for acquiring messages of a plurality of ESB systems, wherein the messages comprise a source transaction initiation application number field for identifying a source transaction initiation system and a source transaction initiation serial number field for identifying source transaction initiation serial; the source transaction initiating system is one of a plurality of peripheral systems;
the message correlation module is used for correlating a plurality of messages with the same source transaction initiation application number and the same source transaction initiation serial number;
and the link determining module is used for determining the link of the ESB system according to the associated messages.
6. The system of claim 5, wherein the message further comprises:
a message originating application number field for identifying a message originating system and a message receiving application number field for identifying a message receiving system;
the message correlation module is specifically used for confirming a source transaction initiating system according to the source transaction initiating application numbers of the correlated messages; taking a message initiating application number field in messages of a plurality of ESB systems as a message of the source transaction initiating system as a 1 st message, and confirming a level 1 peripheral system linked with the source transaction initiating system according to a message receiving application number field of the 1 st message;
the link determining module is specifically configured to determine a link of the ESB system according to the level 1 peripheral system.
7. The system of claim 6, wherein the message further comprises a message serial number field;
the link determining module is specifically configured to use, as a 2 nd packet, a packet in which a packet initiation application number field in packets of multiple ESB systems is the level 1 peripheral system; confirming a level 2 peripheral system linked with the source transaction initiating system according to the message receiving application number field of the level 2 message; until the Nth level peripheral system linked with the source transaction initiating system is confirmed according to the message receiving application number field of the Nth message; determining the request information transmission relation among a source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the level 1 message, the level 2 message and the level N message;
wherein, the system for initiating the application number field identification by the message in the Nth message is a system for receiving the application number field identification by the message in the N-1 th message or a system for initiating the application number field identification by the message in the N-1 th message; the 1 st message, the 2 nd message and the nth message are messages representing request information; and sequentially increasing the serial numbers of the message serial number fields of the 1 st message, the 2 nd message and the Nth message.
8. The link tracking system of the ESB system of claim 7, wherein the link determination module is further specifically configured to: determining a feedback information transmission relation among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system according to the messages representing the feedback information among the source transaction initiating system, the level 1 peripheral system, the level 2 peripheral system and the level N peripheral system;
the message representing the feedback information further comprises a reference message initiation application number field and a reference message initiation serial number field;
the reference message initiation application number field in each message representing the feedback information is the number of a message receiving system in the corresponding message;
the value of the reference message initiation serial number field in each message representing the feedback information is the message serial number of the corresponding message when the message receiving system in the corresponding message is used as a message sending system.
9. A computer-readable storage medium on which a computer program is stored, the program being characterized in that it implements the link tracking method of the ESB system of any one of claims 1-4 when executed by a processor.
10. A computer device, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the link tracking method of the ESB system of any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110359119.8A CN112737869A (en) | 2021-04-02 | 2021-04-02 | Link tracking method and system of ESB (Enterprise service bus) system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110359119.8A CN112737869A (en) | 2021-04-02 | 2021-04-02 | Link tracking method and system of ESB (Enterprise service bus) system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112737869A true CN112737869A (en) | 2021-04-30 |
Family
ID=75596326
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110359119.8A Pending CN112737869A (en) | 2021-04-02 | 2021-04-02 | Link tracking method and system of ESB (Enterprise service bus) system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112737869A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113542374A (en) * | 2021-06-30 | 2021-10-22 | 北京宇信科技集团股份有限公司 | Message processing method and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008030292A2 (en) * | 2006-06-30 | 2008-03-13 | Embarq Holdings Company Llc | System and method for adjusting codec speed in a transmission path during call set-up |
CN106357463A (en) * | 2016-11-07 | 2017-01-25 | 深圳盛灿科技股份有限公司 | Non-intrusive access link tracking implementation method and system thereof |
CN110730246A (en) * | 2019-10-23 | 2020-01-24 | 家乡互动(厦门)网络科技有限公司 | Distributed link tracking method under micro-service architecture |
CN111339051A (en) * | 2020-02-25 | 2020-06-26 | 江苏满运软件科技有限公司 | Log processing method, system, device and storage medium |
CN111784516A (en) * | 2020-06-15 | 2020-10-16 | 华青融天(北京)软件股份有限公司 | Method and device for determining service path and electronic equipment |
-
2021
- 2021-04-02 CN CN202110359119.8A patent/CN112737869A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008030292A2 (en) * | 2006-06-30 | 2008-03-13 | Embarq Holdings Company Llc | System and method for adjusting codec speed in a transmission path during call set-up |
CN106357463A (en) * | 2016-11-07 | 2017-01-25 | 深圳盛灿科技股份有限公司 | Non-intrusive access link tracking implementation method and system thereof |
CN110730246A (en) * | 2019-10-23 | 2020-01-24 | 家乡互动(厦门)网络科技有限公司 | Distributed link tracking method under micro-service architecture |
CN111339051A (en) * | 2020-02-25 | 2020-06-26 | 江苏满运软件科技有限公司 | Log processing method, system, device and storage medium |
CN111784516A (en) * | 2020-06-15 | 2020-10-16 | 华青融天(北京)软件股份有限公司 | Method and device for determining service path and electronic equipment |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113542374A (en) * | 2021-06-30 | 2021-10-22 | 北京宇信科技集团股份有限公司 | Message processing method and system |
CN113542374B (en) * | 2021-06-30 | 2022-04-12 | 北京宇信科技集团股份有限公司 | Message processing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110033244B (en) | Intelligent contract execution method and device based on block chain and electronic equipment | |
CN112801666B (en) | Monitoring management method, system, medium and equipment based on enterprise service bus | |
CN111723313A (en) | Page jump processing method, device, equipment and storage medium | |
US8606905B1 (en) | Automated determination of system scalability and scalability constraint factors | |
CN109327353B (en) | Service flow determination method and device and electronic equipment | |
CN110780870B (en) | Service execution method, device, equipment and storage medium | |
CN110060139B (en) | Accounting processing method and device | |
CN108322350B (en) | Service monitoring method and device and electronic equipment | |
CN112714198B (en) | File transmission method and system of ESB system | |
CN112737869A (en) | Link tracking method and system of ESB (Enterprise service bus) system | |
CN108647102B (en) | Service request processing method and device of heterogeneous system and electronic equipment | |
CN111552981B (en) | Insurance business attribution method and system based on block chain technology | |
CN111652580B (en) | Method and device for processing data of nodes | |
WO2019062087A1 (en) | Attendance check data testing method, terminal and device, and computer readable storage medium | |
CN110750271B (en) | Service aggregation, method and device for executing aggregated service and electronic equipment | |
CN110971664B (en) | Interface service management system | |
CN114218173A (en) | Batch processing system, processing method, medium and equipment for account-transfer transaction files | |
CN113612832A (en) | Streaming data distribution method and system | |
CN113986955B (en) | Service chain determining method and device, electronic equipment and medium | |
CN113114612B (en) | Determination method and device for distributed system call chain | |
CN111639936B (en) | Transaction information acquisition method and device, electronic equipment and readable storage medium | |
CN113760651B (en) | Main sub-chain running state collection method, system and storage medium of block chain | |
CN110661792B (en) | Service ordered calling method and device, electronic equipment and storage medium | |
CN112785302B (en) | Message statistics method and device, electronic equipment and readable storage medium | |
CN113132143B (en) | Service call tracing method and related product |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210430 |