CN109451047A - Data transferring method, device, equipment and the storage medium of monitoring warning system - Google Patents

Data transferring method, device, equipment and the storage medium of monitoring warning system Download PDF

Info

Publication number
CN109451047A
CN109451047A CN201811525446.0A CN201811525446A CN109451047A CN 109451047 A CN109451047 A CN 109451047A CN 201811525446 A CN201811525446 A CN 201811525446A CN 109451047 A CN109451047 A CN 109451047A
Authority
CN
China
Prior art keywords
data
agent components
address
distribution node
warning system
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.)
Granted
Application number
CN201811525446.0A
Other languages
Chinese (zh)
Other versions
CN109451047B (en
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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN201811525446.0A priority Critical patent/CN109451047B/en
Publication of CN109451047A publication Critical patent/CN109451047A/en
Application granted granted Critical
Publication of CN109451047B publication Critical patent/CN109451047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of data transferring method of monitoring warning system, described method includes following steps: give the correct time in data in the Agent components of Internet data center IDC, the IP address of the distribution node of configuration corresponding with the Internet data center IDC is obtained by the Agent components;According to the IP address of the distribution node, the Agent components are controlled to the distribution node reported data.The present invention also provides a kind of data link of monitoring warning system, equipment and storage mediums.The present invention solve existing monitoring warning system by single IDC control based on data transfer mode be difficult to ensure the high availability and working efficiency of component the technical issues of.

Description

Data transferring method, device, equipment and the storage medium of monitoring warning system
Technical field
The present invention relates to communications processing field more particularly to a kind of data transferring methods of monitoring warning system, dress It sets, equipment and storage medium.
Background technique
Monitoring solution be mainly used for server, operating system, middleware, using comprehensively being monitored and reported It is alert, very important effect is played to the normal operation of business system.At present the open source monitoring warning system of mainstream have Zabbix, Open-falcon etc..
By taking Open-falcon as an example, Open-falcon is because of its excellent performance, increasingly by the attention of industry. Open-falcon is a enterprise-level, High Availabitity, expansible open source monitoring solution.Its developing way mainly towards Internet has become the monitoring solution of widely used distributed system.Open-falcon supports HA (High Available, Dual Computers Cluster System), component is expansible.
But the exploitation of Open-falcon design itself does not consider that (Internet Data Center, that is, interconnect more IDC Network data center) in the case of assembly layout.When practical application framework is more IDC frameworks, above-mentioned control mode is difficult to ensure The high availability and working efficiency of component.Therefore, on the basis of using Open-falcon, how while reaching more work, Also the efficiency for taking into account data transmission, reducing connection and flow across IDC to the greatest extent becomes the improved target of needs and direction.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of data transferring method of monitoring warning system, device, equipment and deposit Storage media, it is intended to solve existing monitoring warning system by single IDC controlled based on data transfer mode be difficult to ensure The technical issues of high availability and working efficiency of component.
To achieve the above object, the present invention provides a kind of data transferring method of monitoring warning system, the method includes Following steps:
Give the correct time in data in the Agent components of Internet data center IDC, be obtained by the Agent components and institute State the IP address of the distribution node of the corresponding configuration of Internet data center IDC;
According to the IP address of the distribution node, the Agent components are controlled to the distribution node reported data.
Preferably, the Agent components in Internet data center IDC give the correct time in data, act on behalf of group by described Part obtained before the step of IP address of the distribution node of configuration corresponding with the Internet data center IDC, further includes:
Independent distribution node is configured for Internet data center IDC;
The access domain name of Agent components is configured to unified access domain name, and sets same for the domain name of each distribution node One default domain name;
Alternatively, setting the IP address of the distribution node of Agent components access to and corresponding Internet data center IDC Matched IP address.
Preferably, described to pass through the agency if the access domain name of Agent components to be configured to unified access domain name Component obtains the step of IP address of the distribution node of configuration corresponding with the Internet data center IDC, specifically includes:
Access domain name configuration based on the Agent components, controls the Agent components and accesses the same default domain name;
Based on name server, the source IP address for carrying out the Agent components of domain name access is obtained;
Based on domain name server, Internet data center corresponding with the source IP address of the Agent components is identified The network segment of IDC, and the network segment of the Internet data center IDC is parsed, to obtain and the Internet data center The IP address of the distribution node of the corresponding configuration of IDC;
Control domain name server sends the IP address of the distribution node to the Agent components.
Preferably, the IP address according to the distribution node controls the Agent components on the distribution node Count off according to the step of, specifically include:
The IP address that the Agent components access the distribution node is controlled, so that the Agent components and the distribution save Point establishes long connection, and controls the Agent components to the distribution node reported data.
Preferably, it is described for Internet data center IDC configure the step of independent distribution node while, further includes:
For Internet data center's IDC separate configurations, at least one triggering alarm judges node and at least one map data Memory node.
Preferably, the IP address according to the distribution node controls the Agent components on the distribution node Count off according to the step of after, further includes:
Control the distribution node according to Hash fragment by the data distribution to the triggering alarm judge node or The map data memory node.
In addition, to achieve the above object, the present invention also provides a kind of data link of monitoring warning system, the number Include: according to transmission device
IP address obtain module, for the Agent components of Internet data center IDC carry out data on give the correct time, obtain with The IP address of the distribution node of the corresponding configuration of the Internet data center IDC;
Data reporting module controls the Agent components to the distribution for the IP address according to the distribution node Node reported data.
Preferably, the data link further include:
Configuration module, for configuring independent distribution node for Internet data center IDC;By the access domain of Agent components Name is configured to unified access domain name, and sets same default domain name for the domain name of each distribution node;Or by Agent components The IP address of the distribution node of access is set as and the corresponding matched IP address of Internet data center IDC.
Preferably, the IP address obtains module and specifically includes;
Domain name access unit controls the Agent components access for the access domain name configuration based on the Agent components The same default domain name;
Source IP address acquiring unit obtains the Agent components for carrying out domain name access for being based on name server Source IP address;
IP address acquiring unit, for being based on domain name server, the source IP address pair of identification and the Agent components The network segment of the Internet data center IDC answered, and the network segment of the Internet data center IDC is parsed, with obtain with The IP address of the distribution node of the corresponding configuration of the Internet data center IDC;
IP address transmission unit sends the distribution node to the Agent components for controlling domain name server IP address.
Preferably, the data reporting module accesses the IP of the distribution node specifically for controlling the Agent components Address so that the Agent components and the distribution node establish long connection, and controls the Agent components and saves to the distribution Point reported data.
Preferably, the configuration module, is also used to: for Internet data center's IDC separate configurations, at least one triggering is accused Police judges node and at least one map data memory node.
Preferably, the data link further include:
Data distribution module, for controlling the distribution node according to Hash fragment for the data distribution to the triggering Alarm judges node or the map data memory node.
In addition, to achieve the above object, the present invention also provides a kind of data transfer equipment of monitoring warning system, the prison The data transfer equipment of control warning system includes: memory, processor and is stored on the memory and can be in the processing The data transmission program of the monitoring warning system run on device, the data transmission program of the monitoring warning system is by the processing The step of device realizes the data transferring method of monitoring warning system as described above when executing.
In addition, to achieve the above object, the present invention also provides a kind of storage medium, monitoring is stored on the storage medium The data transmission program of the data transmission program of warning system, the monitoring warning system realizes institute as above when being executed by processor The step of data transferring method for the monitoring warning system stated.
The embodiment of the present invention proposes data transferring method, device, equipment and the storage medium of a kind of monitoring warning system, leads to The Agent components crossed in Internet data center IDC give the correct time in data, and the Agent components obtain and the interconnection netting index According to the IP address of the independent distribution node of the corresponding configuration of center IDC;According to the IP address of the distribution node, the Agent components To the distribution node reported data.In this way, the Agent components of a certain Internet data center IDC pass through acquired distribution section The IP address of point determines the distribution node of corresponding with Internet data center IDC configuration, so Agent components with it is identified Distribution node establishes connection and reported data.To get rid of based on existing monitoring warning system controlled by single IDC Data transfer mode, different IDC points clearly to the distribution node of corresponding separate configurations, and the Agent components of a certain IDC only will Data are reported to the distribution node of the corresponding configuration of this IDC, realize the nearest access of Agent components, and then restrained the company across IDC Flow is connect and occupied, the high availability and working efficiency of the monitoring warning system component under more IDC frameworks are improved.
Detailed description of the invention
Fig. 1 is the flow diagram of the data transferring method first embodiment of monitoring warning system of the present invention;
Fig. 2 is the Open-falcon assembly layout of the data transferring method first embodiment of monitoring warning system of the present invention Schematic diagram;
Fig. 3 is the flow diagram of the data transferring method second embodiment of monitoring warning system of the present invention;
Fig. 4 is the flow diagram of the data transferring method 3rd embodiment of monitoring warning system of the present invention;
Fig. 5 is the flow diagram of the data transferring method fourth embodiment of monitoring warning system of the present invention
Fig. 6 is the composition schematic diagram of the first preferred embodiment of data link of monitoring warning system of the present invention
Fig. 7 is the composition schematic diagram of the second preferred embodiment of data link of monitoring warning system of the present invention;
Fig. 8 is that the refinement composition of the IP address acquisition module 10 in the data link of monitoring warning system of the present invention shows It is intended to;
Fig. 9 is the device structure signal for the hardware running environment that the data transfer equipment of monitoring warning system of the present invention is related to Figure.
The object of the invention is realized, the embodiments will be further described with reference to the accompanying drawings for functional characteristics and advantage.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Part term of the present invention and its explanation are listed below:
Agent: i.e. Agent components are the components of open-falcon monitoring warning system, are deployed in each supervised On host (server) node of control..
Transfer: i.e. distribution node is the component of open-falcon monitoring warning system, also is understood as a process Node, the message/data reported for collecting agent, and it is distributed to the graph or judge of rear end.
Judge: i.e. triggering alarm judges node, is the component of open-falcon monitoring system, also is understood as a process Node, data for being reported based on transfer judge whether triggering alarm according to preset strategy.
Graph: i.e. map data memory node is the component of open-falcon monitoring system, also is understood as a process Node, for receiving the achievement data come from transfer push, and storage of drawing.Graph is also API (application programming Interface) process offer query interface, it is inquired for drawing.
A kind of Open-falcon: open source monitoring warning system.Common Open-falcon include transfer, agent, The several processes of judge, graph, API.In Open-falcon, primary traffic is to successively are as follows: agent, transfer, judge/graph。
DNS:Domain Name System, i.e. domain name system.
IP:Internet Protocol, i.e. Internet protocol.
The present invention provides a kind of data transferring method of monitoring warning system.
As shown in FIG. 1, FIG. 1 is the flow chart of the first embodiment of the data transferring method of monitoring warning system of the present invention, Described method includes following steps:
Step S10 give the correct time in data in the Agent components of Internet data center IDC, passes through the Agent components Obtain the IP address of the distribution node of configuration corresponding with the Internet data center IDC;
The data transferring method of monitoring warning system of the present invention is particularly suitable for comprising multiple Internet data center IDC Application architecture;Preferably, the data transferring method of monitoring warning system of the present invention is applied to Open-falcon monitoring alarm system System.
In the present embodiment, for different Internet data center IDC, independent distribution node is respectively configured.For example, It is as shown in Figure 2 based on Open-falcon assembly layout schematic diagram, include 3 Internet data center IDC in Fig. 2: IDC1,IDC2,IDC3.For example, configuring independent distribution node T-A1 and T-A2 for IDC1, independent distribution section is configured for IDC2 Point T-B1 and T-B2;Distribution node T-A1 and T-A2 and distribution node T-B1 and T-B2 are independent mutually, are independent of each other.
It preferably, is at least two distribution node of Internet data center IDC separate configurations.
For a certain Internet data center IDC, two or more distribution nodes are generally configured.It is being distributed It gives the correct time in the IP address of node and subsequent data, randomly chooses one of distribution node, to guarantee monitoring warning system More viabilities.
Step S20 controls Agent components count off on the distribution node according to the IP address of the distribution node According to.
A kind of specific implementation of step S20 includes: the IP address that the control Agent components connect the distribution node, with So that the Agent components and the distribution node is established long connection, and controls Agent components count off on the distribution node According to.
Agent components are deployed on the server for needing to monitor.After completing deployment, control agent component obtains system Basic monitor control index data.At this time, it may be necessary to which these data are reported to distribution node.
For example, the Agent components 101 for controlling the IDC1 in upper example connect the IP address of distribution node T-A1.In Agent components After 101 are successfully connected to the IP address of distribution node T-A1, control agent component 101 reports relevant number to distribution node T-A1 According to.At this point, first by Agent components 101 and distribution node T-A1 establish TCP (Transmission Control Protocol, That is transmission control protocol) length connection.After being successfully established long connection, every 60 seconds data of transmission to distribution node T-A1, To realize that data are reported to the independent distribution node of configuration corresponding with the IDC by the Agent components of a certain IDC.
The present embodiment is by give the correct time in data in the Agent components of Internet data center IDC, the Agent components Obtain the IP address of the independent distribution node of configuration corresponding with the Internet data center IDC;According to the distribution node IP address, the Agent components are to the distribution node reported data.In this way, a certain Internet data center IDC's acts on behalf of group Part determines the distribution node of configuration corresponding with Internet data center IDC by the IP address of acquired distribution node, into And Agent components and identified distribution node establish connection and reported data.To, get rid of existing monitoring warning system with Single IDC controlled based on data transfer mode, different IDC points clearly to the distribution node of corresponding separate configurations, Data are only reported to the distribution node of the corresponding configuration of this IDC by the Agent components of a certain IDC, realize the nearest visit of Agent components It asks, and then has restrained the connection across IDC and occupied flow, the height for improving the monitoring warning system component under more IDC frameworks can With property and working efficiency.
Further, it on the basis of the first embodiment of the data transferring method of monitoring warning system of the present invention, proposes Second embodiment.As shown in figure 3, in the present embodiment, being pre-configured with, being specifically included before implementation steps S10:
Step S30 configures independent distribution node for Internet data center IDC;
Different Internet data center IDC, is respectively configured independent distribution node.
The access domain name of Agent components, is configured to unified access domain name by step S31, and by the domain name of each distribution node It is set as same default domain name;
The access domain name of Agent components is configured to unified access domain name, thus to different Internet data center IDC Each Agent components carry out identical configuration, to keep the consistency of configuration, and be conveniently distributed the dilatation of node.
The domain name of each distribution node is set as same default domain name, which, which can according to need, is configured, example Such as: transfer.com.
In a specific implementation, the alternative solution of step S31 may include executing: step S32, by Agent components access The IP address of distribution node is set as and the corresponding matched IP address of Internet data center IDC.
Differentiation configuration is carried out to the Agent components of different IDC: the distribution section that each Agent components of same IDC are accessed The IP address of point is set as same IP address, and for different IDC, the IP address of the distribution node of setting is different;Meanwhile institute The IP address that distribution node is arranged includes the identification informations such as IDC title, to distinguish.
For example, the example of Fig. 2 is quoted, the IP for the distribution node that the Agent components 101/102/103 in IDC1 are accessed Location is configured to transfer_ip_foridc1;The IP for the distribution node that Agent components 201/202/203 in IDC2 are accessed Location is configured to as tranfer_ip_foridc2, remaining and so on.
Be pre-configured with by above-mentioned, ensure that after execution continue step when, the Agent components of each IDC only identify with it is corresponding The distribution node of the corresponding configuration of IDC, helps to realize the nearest access of Agent components.
Further, it on the basis of the first embodiment of the data transferring method of monitoring warning system of the present invention, proposes 3rd embodiment.As shown in figure 4, step S10 is specifically included on the basis of step S30, step S31 are pre-configured with:
It is described same pre- to control the Agent components access for step S11, the access domain name configuration based on the Agent components If domain name;
It need to carry out the Agent components that data report and not access the IP address of distribution node directly, but obtain and access distribution The configured same default domain name of node, such as transfer.com.
Step S12 is based on name server, obtains the source IP address for carrying out the Agent components of domain name access;
The source IP address of Agent components is uniquely corresponding with Agent components.In the domain name access request for detecting Agent components When, name server uses view function, and identification carries out the Agent components of domain name access, and feeds back the corresponding source of the Agent components IP address.Specifically, name server obtains the configuration file (or configuration item) of the Agent components, and (or matches to configuration file Set item) it is parsed, to obtain the source IP address of the Agent components.
Step S13 is based on domain name server, identifies interconnection netting index corresponding with the source IP address of the Agent components It is parsed according to the network segment of center IDC, and to the network segment of the Internet data center IDC, to obtain and the interconnection netting index According to the IP address of the distribution node of the corresponding configuration of center IDC;
Step S14, control domain name server send the IP address of the distribution node to the Agent components.
For example, the following is the configuration code of the name server using open source bind software (a kind of DNS open source server) (note: configuration is pseudo- script, and does not meet the grammer of practical bind, is only illustrated):
It is illustrated with Fig. 2, the Agent components 101 of the IDC1 in Fig. 2 access distribution node domain name transfer.com, domain The source IP address that name server recognizes Agent components 101 is the network segment (network segment) from IDC1, then basis The network segment parses the IP address of the distribution node T-A1 of the corresponding configuration of IDC1, to realize the specific direction to distribution node. Other Internet data center IDC are also and so on.
In a particular application, for using the computer room of different IDC, if the Agent components of IDC1 computer room parse distribution node Parsing result is directed toward the IP address of the distribution node in IDC1 by domain name transfer.com, dns server.If IDC2 computer room Parsing result is directed toward the IP of the distribution node in IDC2 by proxy resolution distribution node domain name transfer.com, dns server Address.Agent components get the IP address of the distribution node of name server transmission as a result,.
In addition, needing to carry out the generation for a certain IDC that data report on the basis of step S30, step S32 are pre-configured with Reason component directly accesses the IP address of preconfigured distribution node, and the IP address of the distribution node based on differentiation configuration is real Now to the specific direction of distribution node, and then execute step S20.
Further, it on the basis of the second embodiment of the data transferring method of monitoring warning system of the present invention, proposes Fourth embodiment.As shown in figure 5, in the present embodiment, while implementation steps S30, further includes:
Step S40, for Internet data center IDC separate configurations at least one triggering alarm judge node and at least one Map data memory node.
For example, as shown in Fig. 2, for Internet data center IDC1 dispose respectively triggering alert judge node J-A1 and At least one map data memory node G-A1 disposes a triggering alarm for Internet data center IDC2 respectively and judges node J-B1 and at least one map data memory node G-B1.
For any Internet data center IDC, a triggering alarm judgement is at least disposed in the rear end of each distribution node Node and at least one map data memory node to set up the rear end cluster across IDC, and then receive the distribution node of front end Request report.In this way, connection and flow across IDC only can be in a limited number of several distribution nodes, triggering alarm judgement section It is transmitted in point and map data memory node.The ability mostly living across IDC is also maintained simultaneously.
Further, after step S20, further includes:
Step S50 controls the distribution node according to Hash fragment and the data distribution to the triggering is alerted judgement Node or the map data memory node.
By configuring multiple backend nodes, control distribution node calculates data according to Hash regular (hash algorithm) With processing fragment;And the cryptographic Hash according to backend nodes, by after Hash fragment, the data with identical cryptographic Hash be sent to phase The triggering alarm answered judges that node, triggering alarm judge node or other nodes.In this way, triggering alarm can be judged node Or triggering alarm judges that node upsets multiple IDC, thus the ability for keeping more IDC mostly living.
In addition, the present invention also provides a kind of data links of monitoring warning system.
As shown in fig. 6, Fig. 6 is the composition signal of the first preferred embodiment of data link of monitoring warning system of the present invention Figure.Wherein, the data link includes:
IP address obtains module 10, for give the correct time in data in the Agent components of Internet data center IDC, obtains The IP address of the distribution node of configuration corresponding with the Internet data center IDC;
The data link of monitoring warning system of the present invention is particularly suitable for comprising multiple Internet data center IDC Application architecture;Preferably, the data link of monitoring warning system of the present invention is applied to Open-falcon monitoring alarm system System.
In the present embodiment, for different Internet data center IDC, independent distribution node is respectively configured.For example, It is as shown in Figure 2 based on Open-falcon assembly layout schematic diagram, Fig. 2 include 3 Internet data center IDC:IDC1, IDC2,IDC3.For example, configuring independent distribution node T-A1 and T-A2 for IDC1, independent distribution node T- is configured for IDC2 B1 and T-B2;Distribution node T-A1 and T-A2 and distribution node T-B1 and T-B2 are independent mutually, are independent of each other.
It preferably, is at least two distribution node of Internet data center IDC separate configurations.
For a certain Internet data center IDC, two or more distribution nodes are generally configured.It is being distributed It gives the correct time in the IP address of node and subsequent data, randomly chooses one of distribution node, to guarantee monitoring warning system More viabilities.
Data reporting module 20 controls the Agent components to described point for the IP address according to the distribution node Send out node reported data.
The data reporting module 20 accesses the IP address of the distribution node specifically for controlling the Agent components, So that the Agent components and the distribution node establish long connection, and controls the Agent components and reported to the distribution node Data.
Agent components are deployed on the server for needing to monitor.After completing deployment, control agent component obtains system Basic monitor control index data.At this time, it may be necessary to which these data are reported to distribution node.
For example, the Agent components 101 for controlling the IDC1 in upper example connect the IP address of distribution node T-A1.In Agent components After 101 are successfully connected to the IP address of distribution node T-A1, control agent component 101 reports relevant number to distribution node T-A1 According to.At this point, first by Agent components 101 and distribution node T-A1 establish TCP (Transmission Control Protocol, That is transmission control protocol) length connection.After being successfully established long connection, every 60 seconds data of transmission to distribution node T-A1, To realize that data are reported to the independent distribution node of configuration corresponding with the IDC by the Agent components of a certain IDC.
The present apparatus obtains Agent components progress data of the module 10 in Internet data center IDC by IP address and reports When, the Agent components obtain the IP address of the independent distribution node of configuration corresponding with the Internet data center IDC;Pass through Data reporting module 20 is according to the IP address of the distribution node, and the Agent components are to the distribution node reported data.This Sample, IP address determination and the internet of the Agent components of a certain Internet data center IDC by acquired distribution node The distribution node of the corresponding configuration of data center IDC, and then Agent components and identified distribution node establish connection and upper count off According to.To, get rid of existing monitoring warning system by single IDC controlled based on data transfer mode, different IDC The distribution node of corresponding separate configurations is pointed clearly to, data are only reported to the corresponding configuration of this IDC by the Agent components of a certain IDC Distribution node, realizes the nearest access of Agent components, and then has restrained the connection across IDC and occupied flow, improves more IDC framves The high availability and working efficiency of monitoring warning system component under structure.
Further, it on the basis of the first embodiment of the data link of monitoring warning system of the present invention, proposes Second embodiment.As shown in fig. 7, the data link further include:
Configuration module 30, for configuring independent distribution node for Internet data center IDC;
Different Internet data center IDC, is respectively configured independent distribution node.
Configuration module 30, is also used to for the access domain name of Agent components being configured to unified access domain name, and by each distribution The domain name of node is set as same default domain name;
The access domain name of Agent components is configured to unified access domain name, thus to different Internet data center IDC Each Agent components carry out identical configuration, to keep the consistency of configuration, and be conveniently distributed the dilatation of node.
The domain name of each distribution node is set as same default domain name, which, which can according to need, is configured, example Such as: transfer.com.
In an alternative em bodiment, in addition to the access domain name configuration of above-mentioned Agent components and the domain name setting of each distribution node Except, configuration module 30 is also used to set the IP address for the distribution node that Agent components access to and corresponding internet data The matched IP address of center IDC.
Differentiation configuration is carried out to the Agent components of different IDC: the distribution section that each Agent components of same IDC are accessed The IP address of point is set as same IP address, and for different IDC, the IP address of the distribution node of setting is different;Meanwhile institute The IP address that distribution node is arranged includes the identification informations such as IDC title, to distinguish.
For example, the example of Fig. 2 is quoted, the IP for the distribution node that the Agent components 101/102/103 in IDC1 are accessed Location is configured to transfer_ip_foridc1;The IP for the distribution node that Agent components 201/202/203 in IDC2 are accessed Location is configured to as tranfer_ip_foridc2, remaining and so on.
Be pre-configured with by above-mentioned, ensure that after execution continue step when, the Agent components of each IDC only identify with it is corresponding The distribution node of the corresponding configuration of IDC, helps to realize the nearest access of Agent components.
Further, as shown in figure 8, above-mentioned IP address acquisition module 10 specifically includes;
Domain name access unit 110 controls the Agent components and visits for the access domain name configuration based on the Agent components Ask the same default domain name;
It need to carry out the Agent components that data report and not access the IP address of distribution node directly, but obtain and access distribution The configured same default domain name of node, such as transfer.com.
Source IP address acquiring unit 120 obtains the Agent components for carrying out domain name access for being based on name server Source IP address;
The source IP address of Agent components is uniquely corresponding with Agent components.In the domain name access request for detecting Agent components When, name server uses view function, and identification carries out the Agent components of domain name access, and feeds back the corresponding source of the Agent components IP address.Specifically, name server obtains the configuration file (or configuration item) of the Agent components, and (or matches to configuration file Set item) it is parsed, to obtain the source IP address of the Agent components.
IP address acquiring unit 130, for being based on domain name server, the source IP address of identification and the Agent components The network segment of corresponding Internet data center IDC, and the network segment of the Internet data center IDC is parsed, to obtain The IP address of the distribution node of configuration corresponding with the Internet data center IDC;
IP address transmission unit 140 sends the distribution section to the Agent components for controlling domain name server The IP address of point.
For example, the following is the configuration code of the name server using open source bind software (a kind of DNS open source server) (note: configuration is pseudo- script, and does not meet the grammer of practical bind, is only illustrated):
It is illustrated with Fig. 2, the Agent components 101 of the IDC1 in Fig. 2 access distribution node domain name transfer.com, domain The source IP address that name server recognizes Agent components 101 is the network segment (network segment) from IDC1, then basis The network segment parses the IP address of the distribution node T-A1 of the corresponding configuration of IDC1, to realize the specific direction to distribution node. Other Internet data center IDC are also and so on.
In a particular application, for using the computer room of different IDC, if the Agent components of IDC1 computer room parse distribution node Parsing result is directed toward the IP address of the distribution node in IDC1 by domain name transfer.com, dns server.If IDC2 computer room Parsing result is directed toward the IP of the distribution node in IDC2 by proxy resolution distribution node domain name transfer.com, dns server Address.Agent components get the IP address of the distribution node of name server transmission as a result,.
In addition, the IP address, which obtains module 10, to be had on the basis of the alternate embodiment of configuration module 30 described above Body, which is used to control, to need to carry out the Agent components of a certain IDC that data report and directly accesses the IP of preconfigured distribution node Location, and the IP address of the distribution node based on differentiation configuration realizes the specific direction to distribution node.
Further, the configuration module 30, is also used to: at least one touching of Internet data center's IDC separate configurations Hair alarm judges node and at least one map data memory node.
For example, as shown in Fig. 2, for Internet data center IDC1 dispose respectively triggering alert judge node J-A1 and At least one map data memory node G-A1 disposes a triggering alarm for Internet data center IDC2 respectively and judges node J-B1 and at least one map data memory node G-B1.
For any Internet data center IDC, a triggering alarm judgement is at least disposed in the rear end of each distribution node Node and at least one map data memory node to set up the rear end cluster across IDC, and then receive the distribution node of front end Request report.In this way, connection and flow across IDC only can be in a limited number of several distribution nodes, triggering alarm judgement section It is transmitted in point and map data memory node.The ability mostly living across IDC is also maintained simultaneously.
Further, as shown in fig. 7, the data link further include:
Data distribution module 40, for controlling the distribution node according to Hash fragment for the data distribution to the touching Hair alarm judges node or the map data memory node.
By configuring multiple backend nodes, control distribution node calculates data according to Hash regular (hash algorithm) With processing fragment;And the cryptographic Hash according to backend nodes, by after Hash fragment, the data with identical cryptographic Hash be sent to phase The triggering alarm answered judges that node, triggering alarm judge node or other nodes.In this way, triggering alarm can be judged node Or triggering alarm judges that node upsets multiple IDC, thus the ability for keeping more IDC mostly living.
In addition, the present invention also provides a kind of data transfer equipment of monitoring warning system, the number of the monitoring warning system Include: memory, processor according to transmission equipment and is stored in the monitoring that can be run on the memory and on the processor The data transmission program of warning system is realized such as when the data transmission program of the monitoring warning system is executed by the processor The step of data transferring method of upper described in any item monitoring warning systems.
As shown in figure 9, Fig. 9 is the device structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
The data transfer equipment of monitoring warning system of the embodiment of the present invention can be PC machine or server.
As shown in figure 9, the equipment may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 9, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in figure 9, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe the data transmission program of module, Subscriber Interface Module SIM and monitoring warning system.
In equipment shown in Fig. 9, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the data transmission program of the monitoring warning system stored in memory 1005, and execute following monitoring and accuse Operation in the data transferring method embodiment of alert system.
Based on above-mentioned hardware configuration, the data transferring method embodiment of monitoring warning system of the present invention is proposed.
In addition, the present invention also provides a kind of read/write memory mediums.
The workflow control program based on note, the workflow based on note are stored on the storage medium Control program realizes the step of as above data transferring method of described in any item monitoring warning systems when being executed by processor.
The data transfer equipment of monitoring warning system of the present invention and the specific embodiment of storage medium and above-mentioned monitoring alarm Each embodiment of the data transferring method of system is essentially identical, and therefore not to repeat here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (14)

1. a kind of data transferring method of monitoring warning system, which is characterized in that described method includes following steps:
Give the correct time in data in the Agent components of Internet data center IDC, be obtained by the Agent components and described mutual The IP address of the distribution node of the corresponding configuration of networking data center IDC;
According to the IP address of the distribution node, the Agent components are controlled to the distribution node reported data.
2. the data transferring method of monitoring warning system as described in claim 1, which is characterized in that described in internet data The Agent components of center IDC give the correct time in data, are obtained and IDC pairs of the Internet data center by the Agent components Before the step of IP address for the distribution node that should be configured, further includes:
Independent distribution node is configured for Internet data center IDC;
The access domain name of Agent components is configured to unified access domain name, and sets same pre- for the domain name of each distribution node If domain name;
Alternatively, the IP address of the distribution node of Agent components access is set as matching with corresponding Internet data center IDC IP address.
3. the data transferring method of monitoring warning system as claimed in claim 2, which is characterized in that if by the visit of Agent components Ask that domain name is configured to unified access domain name, then it is described to be obtained and the Internet data center IDC by the Agent components It the step of IP address of the distribution node of corresponding configuration, specifically includes:
Access domain name configuration based on the Agent components, controls the Agent components and accesses the same default domain name;
Based on name server, the source IP address for carrying out the Agent components of domain name access is obtained;
Based on domain name server, identify Internet data center IDC's corresponding with the source IP address of the Agent components Network segment, and the network segment of the Internet data center IDC is parsed, to obtain and IDC pairs of the Internet data center The IP address for the distribution node that should be configured;
Control domain name server sends the IP address of the distribution node to the Agent components.
4. the data transferring method of monitoring warning system as claimed in any one of claims 1-3, which is characterized in that described According to the IP address of the distribution node, the step of controlling the Agent components to the distribution node reported data, specifically include:
The IP address that the Agent components access the distribution node is controlled, so that the Agent components are built with the distribution node Vertical long connection, and the Agent components are controlled to the distribution node reported data.
5. the data transferring method of monitoring warning system as claimed in claim 2, which is characterized in that described is internet data While center IDC configures the step of independent distribution node, further includes:
For Internet data center's IDC separate configurations, at least one triggering alarm judges node and the storage of at least one map data Node.
6. the data transferring method of monitoring warning system as claimed in claim 5, which is characterized in that described according to the distribution The IP address of node, after the step of controlling the Agent components to the distribution node reported data, further includes:
It controls the distribution node and is alerted the data distribution to the triggering according to Hash fragment and judge node or described Map data memory node.
7. a kind of data link of monitoring warning system, which is characterized in that the data link includes:
IP address obtain module, for the Agent components of Internet data center IDC carry out data on give the correct time, obtain with it is described The IP address of the distribution node of the corresponding configuration of Internet data center IDC;
Data reporting module controls the Agent components to the distribution node for the IP address according to the distribution node Reported data.
8. the data link of monitoring warning system as claimed in claim 7, which is characterized in that the data link Further include:
Configuration module, for configuring independent distribution node for Internet data center IDC;The access domain name of Agent components is matched It is set to unified access domain name, and sets same default domain name for the domain name of each distribution node;Or Agent components are accessed The IP address of distribution node be set as and the corresponding matched IP address of Internet data center IDC.
9. the data link of monitoring warning system as claimed in claim 8, which is characterized in that the IP address obtains mould Block specifically includes;
Domain name access unit controls described in the Agent components access for the access domain name configuration based on the Agent components Same default domain name;
Source IP address acquiring unit obtains the source IP for carrying out the Agent components of domain name access for being based on name server Address;
IP address acquiring unit identifies corresponding with the source IP address of the Agent components for being based on domain name server The network segment of Internet data center IDC, and the network segment of the Internet data center IDC is parsed, with obtain with it is described The IP address of the distribution node of the corresponding configuration of Internet data center IDC;
IP address transmission unit sends the IP of the distribution node for controlling domain name server to the Agent components Location.
10. the data link of the monitoring warning system as described in claim 7-9, which is characterized in that the data report Module accesses the IP address of the distribution node specifically for controlling the Agent components so that the Agent components with it is described Distribution node establishes long connection, and controls the Agent components to the distribution node reported data.
11. the data link of monitoring warning system as claimed in claim 8, which is characterized in that the configuration module, also For: for Internet data center's IDC separate configurations, at least one triggering alarm judges that node and at least one map data are deposited Store up node.
12. the data link of monitoring warning system as claimed in claim 11, which is characterized in that the data transmission dress It sets further include:
Data distribution module alerts the data distribution to the triggering according to Hash fragment for controlling the distribution node Judge node or the map data memory node.
13. a kind of data transfer equipment of monitoring warning system, which is characterized in that the data transmission of the monitoring warning system is set It is standby to include: memory, processor and be stored in the monitoring warning system that run on the memory and on the processor Data transmission program, realize when the data transmission program of the monitoring warning system is executed by the processor such as claim The step of data transferring method of monitoring warning system described in any one of 1 to 6.
14. a kind of storage medium, which is characterized in that be stored with the data transmission journey of monitoring warning system on the storage medium It is realized as described in any one of claims 1 to 6 when the data transmission program of sequence, the monitoring warning system is executed by processor Monitoring warning system data transferring method the step of.
CN201811525446.0A 2018-12-13 2018-12-13 Data transmission method, device, equipment and storage medium of monitoring alarm system Active CN109451047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811525446.0A CN109451047B (en) 2018-12-13 2018-12-13 Data transmission method, device, equipment and storage medium of monitoring alarm system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811525446.0A CN109451047B (en) 2018-12-13 2018-12-13 Data transmission method, device, equipment and storage medium of monitoring alarm system

Publications (2)

Publication Number Publication Date
CN109451047A true CN109451047A (en) 2019-03-08
CN109451047B CN109451047B (en) 2021-05-18

Family

ID=65558231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811525446.0A Active CN109451047B (en) 2018-12-13 2018-12-13 Data transmission method, device, equipment and storage medium of monitoring alarm system

Country Status (1)

Country Link
CN (1) CN109451047B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290215A (en) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 A kind of method for transmitting signals and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1455483A2 (en) * 2003-03-06 2004-09-08 Microsoft Corporation Virtual network topology generation
CN102035660A (en) * 2009-09-24 2011-04-27 中国移动通信集团公司 Internet data center (IDC) network-based service processing method, equipment and system
CN102404378A (en) * 2010-09-07 2012-04-04 成都索贝数码科技股份有限公司 Streaming media distribution and transmission network system
CN104270439A (en) * 2014-09-26 2015-01-07 深圳高新区信息网有限公司 IDC resource scheduling management system and method
CN104702439A (en) * 2015-03-16 2015-06-10 北京百度网讯科技有限公司 Network node monitoring method and device
CN105100174A (en) * 2014-05-22 2015-11-25 中国移动通信集团公司 Method, device and system for scheduling Internet resource
CN106301972A (en) * 2016-11-16 2017-01-04 北京集奥聚合科技有限公司 A kind of monitoring data push away method and system in real time
CN107332716A (en) * 2017-08-15 2017-11-07 北京云端智度科技有限公司 A kind of method for improving large-scale distributed system configuration efficiency
CN107896162A (en) * 2017-11-08 2018-04-10 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system
CN108337315A (en) * 2018-02-07 2018-07-27 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system
CN108363653A (en) * 2018-02-07 2018-08-03 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1455483A2 (en) * 2003-03-06 2004-09-08 Microsoft Corporation Virtual network topology generation
CN102035660A (en) * 2009-09-24 2011-04-27 中国移动通信集团公司 Internet data center (IDC) network-based service processing method, equipment and system
CN102404378A (en) * 2010-09-07 2012-04-04 成都索贝数码科技股份有限公司 Streaming media distribution and transmission network system
CN105100174A (en) * 2014-05-22 2015-11-25 中国移动通信集团公司 Method, device and system for scheduling Internet resource
CN104270439A (en) * 2014-09-26 2015-01-07 深圳高新区信息网有限公司 IDC resource scheduling management system and method
CN104702439A (en) * 2015-03-16 2015-06-10 北京百度网讯科技有限公司 Network node monitoring method and device
CN106301972A (en) * 2016-11-16 2017-01-04 北京集奥聚合科技有限公司 A kind of monitoring data push away method and system in real time
CN107332716A (en) * 2017-08-15 2017-11-07 北京云端智度科技有限公司 A kind of method for improving large-scale distributed system configuration efficiency
CN107896162A (en) * 2017-11-08 2018-04-10 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system
CN108337315A (en) * 2018-02-07 2018-07-27 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system
CN108363653A (en) * 2018-02-07 2018-08-03 平安科技(深圳)有限公司 Dispositions method, device, computer equipment and the storage medium of monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290215A (en) * 2019-06-28 2019-09-27 深圳前海微众银行股份有限公司 A kind of method for transmitting signals and device
CN110290215B (en) * 2019-06-28 2021-09-28 深圳前海微众银行股份有限公司 Signal transmission method and device

Also Published As

Publication number Publication date
CN109451047B (en) 2021-05-18

Similar Documents

Publication Publication Date Title
EP1482712B1 (en) Virtual network addresses
CN103329113B (en) Configuration is accelerated and custom object and relevant method for proxy server and the Dynamic Website of hierarchical cache
CN103607428B (en) A kind of method and apparatus for accessing shared drive
CN107544837B (en) Cloud service equipment performance data acquisition system, method and device
CN109586969A (en) Content distributing network disaster recovery method, device, computer equipment and storage medium
CN111258627A (en) Interface document generation method and device
CN104639596A (en) System and method for multiple sender support in low latency fifo messaging using rdma
CN113268308B (en) Information processing method, device and storage medium
US9894181B2 (en) Internet-wide scheduling of transactions
CN110661673B (en) Heartbeat detection method and device
KR20200034022A (en) Monitoring system and method of cloud environment
CN107517121B (en) Equipment configuration method and device
WO2002025870A1 (en) Method, system, and computer program product for managing storage resources
CN111600755B (en) Internet access behavior management system and method
CN109451047A (en) Data transferring method, device, equipment and the storage medium of monitoring warning system
CN104717258B (en) A kind of data transmission method for uplink and system
CN112087327B (en) Information state acquisition method and apparatus, storage medium, and electronic apparatus
CN104980329B (en) Book management method and device, Mobile Agent Server
CN112910910A (en) Method, device, equipment and storage medium for processing OPCDA protocol message
KR101130747B1 (en) Network interface switching system and method for switching network interface using the system
CN116708532B (en) Local area network connection method, device, computer equipment and readable storage medium
CN110098982B (en) Link state providing method, device, router and computer readable storage medium
US7334033B2 (en) Fabric membership monitoring
CN106936900A (en) Clustered node statistical method and device
KR100474358B1 (en) Method and apparatus for implementation function of remote network monitoring in high speed router, and storage medium for recording program thereof

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
GR01 Patent grant
GR01 Patent grant