CN109861846A - Using call relation acquisition methods, system and storage medium - Google Patents

Using call relation acquisition methods, system and storage medium Download PDF

Info

Publication number
CN109861846A
CN109861846A CN201811588451.6A CN201811588451A CN109861846A CN 109861846 A CN109861846 A CN 109861846A CN 201811588451 A CN201811588451 A CN 201811588451A CN 109861846 A CN109861846 A CN 109861846A
Authority
CN
China
Prior art keywords
call relation
application
data
corresponding relationship
acquisition methods
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811588451.6A
Other languages
Chinese (zh)
Inventor
倪沛榆
张浙栋
曾宪成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SF Technology Co Ltd
SF Tech Co Ltd
Original Assignee
SF Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SF Technology Co Ltd filed Critical SF Technology Co Ltd
Priority to CN201811588451.6A priority Critical patent/CN109861846A/en
Publication of CN109861846A publication Critical patent/CN109861846A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of application call relation acquisition methods, system and storage medium, method includes the following steps: obtaining the call relation data between the IP and IP in heterogeneous networks region;The call relation data of acquisition are handled, find the corresponding application of each IP, and export corresponding relationship;It is drawn based on corresponding relationship using network topological diagram is called, be applied call relation.Application call relation acquisition methods, system and storage medium through the invention, available application call situation in real time, make up manual entry not, and the new dilatation node of foot may insure that strategy is not omitted when opening firewall;It can be provided when application system traffic failure accurately using call relation, assist problem analysis.

Description

Using call relation acquisition methods, system and storage medium
Technical field
The present invention relates to field of computer technology, more particularly to apply call relation field.
Background technique
With the continuous development that informatization requires, information-based application system has been applied in each business scope, Application system wide for Service coverage, user's usage amount is big, it is complicated using call relation, therefore, to server, in Between part, database operation conditions, the monitoring of each interface call relation be guarantee business application system safe and stable operation, The basis of data safety.
Currently, generally checking that using call relation be framework drawing system by the labor management of architect group and maintenance (iams), which is mainly responsible for the call graph of all operation system intermodules of typing, i.e. logical architecture figure.The system mould Call relation between block is the case where there are information delays by architect manual entry;If operation system restocking The case where some function services or undercarriage some function services do not notify architect, there is loss of learning, is difficult to accomplish Real-time update leads to the data inaccuracy that positioning system network problem relies on when failure.
Summary of the invention
In order to solve the problems, such as manual entry application call relation there are information delay and loss of learning, the present invention provides one Kind apply call relation acquisition methods, system and storage medium, dynamic update apply call relation, it is ensured that the reliability of data and Real-time.
The present invention provides a kind of application call relation acquisition methods, comprising the following steps: obtains the IP in heterogeneous networks region Call relation data between IP;The call relation data of acquisition are handled, find the corresponding application of each IP, and lead Corresponding relationship out;Application is generated based on corresponding relationship and calls network topological diagram, and be applied call relation.
Preferably, the call relation data of acquisition are handled, finds the corresponding application of each IP, and export corresponding pass System, the json character string including will acquire split one by one, and finds by configuration management system that each IP is corresponding to be answered With exporting and store corresponding relationship.
Preferably, maintenance application and the corresponding relationship of IP, and maintenance IP and network area are stored in configuration management system The corresponding relationship in domain.
It is preferably based on the calling network topological diagram that corresponding relationship draws application, is applied after call relation, further includes It checks the IP for calling both sides, and by the configuration management system query calls both sides IP belonging network region, judges to call double Whether side passes through firewall.
Preferably, it calls both sides IP not in the same network area when inquiring, and judges to call both sides without anti- When wall with flues, firewall is opened between both sides calling.
Preferably, application call relation acquisition methods of the invention, further include according to the calling network topological diagram to rear Continue newly-increased dilatation node and carries out firewall setting.
Corresponding relationship is preferably based on to draw using network topological diagram is called, including using jtopo to draw the calling of application Network topological diagram.
Preferably, call relation data between the IP and IP in heterogeneous networks region are obtained, including build data collector, it will Call relation data are uploaded in data collector by way of http between IP and IP.
Preferably, data collector is divided into enterprise storage networks and two groups of data communication network, receives heterogeneous networks respectively The data in region.
Preferably, the data in the heterogeneous networks region received are transmitted to the clothes of data communication network by way of current limliting It is engaged in device, and stores into database.
The present invention also provides a kind of application call relations to obtain system, including data capture unit, is configured to obtain not With call relation data between the IP and IP of network area;Data processing unit is configured to the call relation data to acquisition It is handled, finds the corresponding application of each IP, and export corresponding relationship;Call relation generation unit is configured to lead Corresponding relationship out draws the calling network topological diagram of application, and be applied call relation.
Preferably, application call relation of the invention obtains system, further includes firewall setting unit, is configured to check The IP of both sides, and query calls both sides' IP belonging network region are called, judges to call whether both sides pass through firewall.
Preferably, data acquisition unit includes data collector, and call relation data between IP and IP are passed through http's Mode uploads in the data collector.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, which is characterized in that should The step of method as described above is realized when program is executed by processor.
Application call relation acquisition methods, system and storage medium provided by the invention, available application are adjusted in real time With situation, manual entry is made up not, the new dilatation node of foot may insure that strategy is not omitted when opening firewall;Using It can be provided when system business failure accurately using call relation, assist problem analysis.
Detailed description of the invention
Below with reference to the accompanying drawings the preferred embodiment of the present invention described, attached drawing in order to illustrate the preferred embodiment of the present invention without It is to limit the purpose of the present invention.In attached drawing,
Fig. 1 is the flow diagram using call relation acquisition methods of the embodiment of the present invention;
Fig. 2 is the application calling network topological diagram example that the embodiment of the present invention is drawn using jTopo.
Specific embodiment
A specific embodiment of the invention is used to illustrate the present invention, but is not limited to the specific embodiment.
Fig. 1 is the flow diagram using call relation acquisition methods of the embodiment of the present invention.
As shown in Figure 1, a kind of application call relation acquisition methods of the invention, comprising the following steps:
Step S1 obtains the call relation data between the IP and IP in heterogeneous networks region.
Call relation data between the IP and IP in heterogeneous networks region are obtained, including build data collector, by IP and IP Between call relation data uploaded in data collector by way of http.
Call relation data issue data by monitor supervision platform batch and acquire script between IP and IP, and data acquire script can To be obtained by netstat-an order, acquired once at interval of certain time, interval time can be set according to the actual situation It is fixed, such as execute within every 5 minutes primary.After data acquisition script gets the call relation data between IP and IP, pass through http Mode upload the data on the data collector built.
Data collector be divided into enterprise storage networks (Enterprise Storage Network, hereinafter referred to as ESN) and Two groups of data communication network (Data Communication Network, hereinafter referred to as DCN) receives heterogeneous networks region respectively Data, predominantly call relation data between the IP and IP in heterogeneous networks region.
After the data in the heterogeneous networks region that data collector receives, DCN is transferred data to by way of current limliting Server in, and store into database.
The database of storage can use MySQL database, and MySQL database is a kind of relational database management system, Relational database saves the data in different tables, rather than all data are placed in one big warehouse, is increased by this way Speed simultaneously improves flexibility.
Step S2 handles the call relation data of acquisition, finds the corresponding application of each IP, and export corresponding pass System.
After data storage to MySQL database, call relation data are stored in the form of json character string, the service of DCN Device handles the call relation data of acquisition, and the json character string that will acquire is split one by one, obtain IP and IP it Between call relation tables of data, and by configuration management system (Configuration Management Database, below Abbreviation CMDB) the corresponding application of each IP is found, corresponding relationship is exported and stored.Be stored in CMDB maintenance application and The corresponding relationship of IP, and the corresponding relationship of maintenance IP and network area.
Derived corresponding relationship includes call relation between IP and IP and the corresponding application of each IP.Corresponding relationship export It is written in corresponding relation database and is stored afterwards.The corresponding relationship stored in corresponding relation database can at any time as needed into Row calls.The format that the corresponding relationship in database is written is as shown in table 1.
1 corresponding relationship format table of table
Calling module Call IP Called module Called IP Connection number
CNSZ17_TOMCAT_CAS 10.116.53.38 CNSZ17_REDIS_CLUSTER 10.116.72.84 1
CNSZ17_TOMCAT_CAS 10.116.53.38 CNSZ17_REDIS_CLUSTER 10.116.72.78 4
CNSZ17_TOMCAT_CAS 10.116.53.38 CNSZ17_REDIS_CLUSTER 10.116.72.80 4
CNSZ17_TOMCAT_CAS 10.116.53.38 CNSZ17_REDIS_CLUSTER 10.116.72.82 1
CNSZ17_TOMCAT_CAS 10.116.53.38 CNSZ17_REDIS_CLUSTER 10.116.72.83 1
CNSZ20_TOMCAT_CAS 10.110.53.37 CNSZ17_REDIS_CLUSTER 10.116.72.84 1
CNSZ20_TOMCAT_CAS 10.110.53.37 CNSZ17_REDIS_CLUSTER 10.116.72.82 1
The data corresponding relationship that table 1 is shown is the citing of call relation between sub-fraction IP in operation system, such as 1 institute of table Showing, first row shows that calling module, secondary series are to call IP, and third column are called modules, and the 4th column are called IP, the 5th Column are the network connection numbers between called side and called side IP.It can clearly be searched from the above corresponding relationship format table To the call relation between IP and IP, and the application module called, and the connection number called.
Step S3 is drawn based on corresponding relationship using network topological diagram is called, and be applied call relation.
The calling network topological diagram of application is drawn using jTopo.
JTopo (Javascript Topology library) is a relationship based entirely on HTML5 Canvas, opens up Flutter graphic interface development kit.
The figure that jTopo focuses on data is shown, can quickly create the exhibition of the relational graphs such as some relational graphs, topology Show.As long as hommization, patterned displaying can be carried out using jTopo there are relevant between data.
Fig. 2 is the calling network topological diagram example for the application that jTopo is drawn according to call relation.
As shown in Fig. 2, the tune it can be seen that between each application module is called in network topological diagram in the application that jTopo is drawn With relationship and connection number.
In the calling network topological diagram for drawing application by derived corresponding relationship, it is applied after call relation, also wraps Step S4 is included, checks the IP for calling both sides, and by CMDB query calls both sides IP belonging network region, judges that calling both sides are It is no to pass through firewall.
When calling both sides IP not in the same network area when inquiring, and judging to call both sides without firewall, With regard to needing to open firewall between calling both sides.
Of the invention applies call relation acquisition methods, further includes according to the calling network topological diagram to subsequent newly-increased Dilatation node carries out firewall setting, and avoidance strategy is omitted.
The present invention also provides a kind of application call relations to obtain system, including data capture unit, is configured to obtain not With call relation data between the IP and IP of network area;Data processing unit is configured to the call relation data to acquisition It is handled, finds the corresponding application of each IP, and export corresponding relationship;Call relation generation unit is configured to lead Corresponding relationship out draws the calling network topological diagram of application, and be applied call relation.
Application call relation of the invention obtains system, further includes firewall setting unit, is configured to check that calling is double The IP of side, and query calls both sides' IP belonging network region judge to call whether both sides pass through firewall.
Data acquisition unit includes data collector, and call relation data between IP and IP are uploaded by way of http Into the data collector.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, which is characterized in that should The step of method as described above is realized when program is executed by processor.
Above embodiments are the preferred embodiment of the present invention, all of the invention not to limit the purpose of the present invention The modification and replacement carried out within spirit and principle, within protection of the invention.

Claims (12)

1. a kind of application call relation acquisition methods, which comprises the following steps:
Obtain the call relation data between the IP and IP in heterogeneous networks region;
The call relation data of acquisition are handled, find the corresponding application of each IP, and export corresponding relationship;
Application is generated based on corresponding relationship and calls network topological diagram, and be applied call relation.
2. application call relation acquisition methods according to claim 1, which is characterized in that
The call relation data of described pair of acquisition are handled, and find the corresponding application of each IP, and export corresponding relationship, including
The json character string that will acquire is split one by one, and finds the corresponding application of each IP by configuration management system, Corresponding relationship is exported and stored.
3. application call relation acquisition methods according to claim 2, which is characterized in that deposited in the configuration management system It contains
The corresponding relationship of maintenance application and IP, and
Safeguard the corresponding relationship of IP and network area.
4. application call relation acquisition methods according to claim 3, which is characterized in that generate application based on corresponding relationship Calling network topological diagram, be applied after call relation, further include
It checks the IP for calling both sides, and by the configuration management system query calls both sides IP belonging network region, judges to adjust Whether pass through firewall with both sides.
5. application call relation acquisition methods according to claim 4, which is characterized in that
When calling both sides IP not in the same network area when inquiring, and judging to call both sides without firewall, adjusting With opening firewall between both sides.
6. application call relation acquisition methods according to claim 4, which is characterized in that further include
Firewall setting is carried out to subsequent newly-increased dilatation node according to the calling network topological diagram.
7. application call relation acquisition methods according to claim 1, which is characterized in that described to be drawn based on corresponding relationship Using network topological diagram is called, including using jtopo to draw the calling network topological diagram of application.
8. application call relation acquisition methods according to claim 1, which is characterized in that
Call relation data between the IP and IP for obtaining heterogeneous networks region, including
Data collector is built, call relation data between IP and IP are uploaded in data collector by way of http.
9. application call relation acquisition methods according to claim 8, which is characterized in that
The data collector is divided into enterprise storage networks and two groups of data communication network, receives the number in heterogeneous networks region respectively According to.
10. a kind of application call relation obtains system, which is characterized in that including
Data capture unit is configured to call relation data between the IP and IP that obtain heterogeneous networks region;
Data processing unit is configured to handle the call relation data of acquisition, finds the corresponding application of each IP, and Export corresponding relationship;
Call relation generation unit is configured to the calling network topological diagram that derived corresponding relationship generates application, obtains Using call relation.
11. application call relation according to claim 10 obtains system, which is characterized in that the data acquisition unit packet Data collector is included, call relation data between IP and IP are uploaded to by way of http in the data collector.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It is realized when execution such as the step of any one of claim 1 to 9 the method.
CN201811588451.6A 2018-12-25 2018-12-25 Using call relation acquisition methods, system and storage medium Pending CN109861846A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811588451.6A CN109861846A (en) 2018-12-25 2018-12-25 Using call relation acquisition methods, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811588451.6A CN109861846A (en) 2018-12-25 2018-12-25 Using call relation acquisition methods, system and storage medium

Publications (1)

Publication Number Publication Date
CN109861846A true CN109861846A (en) 2019-06-07

Family

ID=66892198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811588451.6A Pending CN109861846A (en) 2018-12-25 2018-12-25 Using call relation acquisition methods, system and storage medium

Country Status (1)

Country Link
CN (1) CN109861846A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110796A (en) * 2020-01-13 2021-07-13 顺丰科技有限公司 Data management method, device, server and storage medium
CN113673966A (en) * 2021-09-03 2021-11-19 海尔数字科技(青岛)有限公司 Information security construction scheme generation method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100811308B1 (en) * 2006-12-29 2008-03-10 엠피에스리서치(주) Methods and system for end-to-end fast mobility management for multi-party real-time multimedia service in wireless networks
CN107861821A (en) * 2017-10-26 2018-03-30 北京百度网讯科技有限公司 Method for digging, device and the computer-readable medium of module call relation
CN108429637A (en) * 2018-02-05 2018-08-21 国电南瑞科技股份有限公司 A kind of transformer station process layer network topology Dynamic detecting system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100811308B1 (en) * 2006-12-29 2008-03-10 엠피에스리서치(주) Methods and system for end-to-end fast mobility management for multi-party real-time multimedia service in wireless networks
CN107861821A (en) * 2017-10-26 2018-03-30 北京百度网讯科技有限公司 Method for digging, device and the computer-readable medium of module call relation
CN108429637A (en) * 2018-02-05 2018-08-21 国电南瑞科技股份有限公司 A kind of transformer station process layer network topology Dynamic detecting system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113110796A (en) * 2020-01-13 2021-07-13 顺丰科技有限公司 Data management method, device, server and storage medium
CN113673966A (en) * 2021-09-03 2021-11-19 海尔数字科技(青岛)有限公司 Information security construction scheme generation method and device, electronic equipment and storage medium
CN113673966B (en) * 2021-09-03 2024-03-08 卡奥斯数字科技(青岛)有限公司 Information security construction scheme generation method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109150640A (en) A kind of method for discovering network topology and system based on double layer network agreement
KR20210019564A (en) Operation maintenance system and method
AU2019201687B2 (en) Network device vulnerability prediction
CN103546343B (en) The network traffics methods of exhibiting of network traffic analysis system and system
CN110247792A (en) One kind being based on the associated fault handling method of network alarm and device
CN106844220A (en) A kind of method of testing and system of simulation computer web application real running environment
CN103761309A (en) Operation data processing method and system
CN103457761B (en) Cross-platform command line configuration interface implementation method
CN113904921B (en) Dynamic network topology graph generation method, system, processing equipment and storage medium based on log and graph
CN103248512A (en) Method and system for generating topological structure of application layer in communication network
CN101651561B (en) Network topology analytical method and system based on rule engine
WO2021057198A1 (en) Big data-based cross-domain service whole-process routing and penetration method and apparatus
CN110659109A (en) Openstack cluster virtual machine monitoring system and method
CN106789195A (en) A kind of event-handling method and Network Management Equipment, server
CN109861846A (en) Using call relation acquisition methods, system and storage medium
CN107704369A (en) A kind of recording method of Operation Log, electronic equipment, storage medium, system
CN110661660B (en) Alarm information root analysis method and device
CN110784358A (en) Method and device for constructing network call relation topological graph
CN104598250B (en) A kind of system management architecture and its method for realizing management
JP2006025434A (en) System and method for high capacity fault correlation
CN103281202B (en) The system and its front end rendering method of a kind of browser/server framework
CN101917282A (en) Method, device and system for processing alarm shielding rules
CN111158979A (en) Service dial testing method, system, device and storage medium
CN106612207B (en) The management-control method and device of ethernet device RSTP information
CN104391782A (en) Network-equipment managing-software client-end simulating method on basis of XML (X Extensive Markup Language) script

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

Application publication date: 20190607

RJ01 Rejection of invention patent application after publication