CN108881401A - Joint behavior document handling method, intermediate server, node, system and medium - Google Patents
Joint behavior document handling method, intermediate server, node, system and medium Download PDFInfo
- Publication number
- CN108881401A CN108881401A CN201810530915.1A CN201810530915A CN108881401A CN 108881401 A CN108881401 A CN 108881401A CN 201810530915 A CN201810530915 A CN 201810530915A CN 108881401 A CN108881401 A CN 108881401A
- Authority
- CN
- China
- Prior art keywords
- node
- file
- performance file
- performance
- intermediate server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Abstract
This application discloses a kind of joint behavior document handling methods, by the performance file active push of node generation to intermediate server, the performance file received is parsed using independently of the intermediate server except node, these performance files, and the joint behavior data returned according to preset path can be left out after parsing and in the case where without exception.The processing method is assumed responsibility for using newly-increased intermediate server originally will be by downloading and parsing task that tension management node is completed, the occupied network bandwidth of tension management node and own load can be significantly reduced, a possibility that causing Caton or even delay machine phenomenon to occur because load capacity is excessively high is also reduced simultaneously, improves the usage experience of client.The application further simultaneously discloses a kind of intermediate server, node and the joint behavior document handling system including node and intermediate server, has above-mentioned beneficial effect.
Description
Technical field
This application involves performance file processing technology field, in particular to a kind of joint behavior document handling method, centre
Server, node, joint behavior document handling system and computer readable storage medium including intermediate server and node.
Background technique
It is for statistical analysis to the performance and payload of node each in storage cluster, it generally requires to obtain each node and transport
The performance file generated during row, traditional approach are downloaded by way of out-of-band communication from each node, that is, pass through Http
(HyperText Transfer Protocol, hypertext transfer protocol are a kind of networks being most widely used on internet
Agreement) (Hyper Text Transfer Protocol over Secure Socket Layer, safe version are super literary by/Https
This transport protocol) from each node download its performance file for generating and being stored in itself.
Using the out-of-band communication downloading mode based on Http/Https, on the one hand high-frequency download performance file can be aggravated
The load of management software GUI (Graphical User Interface, graphic user interface) causes Caton occur or even delay
Machine reduces the usage experience of user;On the other hand, the mode based on out-of-band communication downloading can occupy biggish network for a long time
Bandwidth, so that bandwidth can be used to reduce, when the number of nodes of acquisition is more, problem is particularly evident.Especially obtaining these performances
It also needs to parse it after file, and the performance file volume before parsing is larger, can also occupy part memory space, it is practical
Using effect is bad.
Therefore, how to overcome items technological deficiency existing for existing joint behavior file process mechanism, one kind is provided and is not necessarily to
Occupy network bandwidth, smaller, the user experience more preferably joint behavior file process mechanism of management software GUI load is this field skill
Art personnel's urgent problem to be solved.
Summary of the invention
The purpose of the application is to provide a kind of joint behavior document handling method, and the performance file that node generates actively is pushed away
It send to intermediate server, using being parsed to the performance file received independently of the intermediate server except node,
These performance files, and the joint behavior number returned according to preset path can be left out after parsing and in the case where without exception
According to.The processing method assumes responsibility for originally being conciliate by the downloading that tension management node is completed using newly-increased intermediate server
Analysis task can significantly reduce the occupied network bandwidth of tension management node and own load, while also reduce because of load capacity
Excessively high a possibility that causing Caton or even delay machine phenomenon to occur, improve the usage experience of client.
The another object of the application is the provision of a kind of intermediate server, node, including intermediate server and node
Joint behavior document handling system and computer readable storage medium.
To achieve the above object, the application provides a kind of joint behavior document handling method applied to intermediate server,
Including:
Receiving node is by the performance file increased newly in each cycle of period push;
The performance file is parsed, joint behavior data are obtained;
Leave out the performance file being parsed, and returns to the joint behavior data by preset path.
Optionally, before parsing the performance file, further include:
Push response signal is returned to the node for pushing the performance file, so as to receive the push response signal
Node leaves out the performance file of this period push.
Optionally, the performance file is parsed, including:
Differentiate file type belonging to the performance file;Wherein, the file type specifically include single-unit dot file and
Binodal dot file;
If the performance file belongs to the binodal dot file, directly the performance file is parsed;
If the performance file belongs to the single-unit dot file, judge that it is according to the generation time of the performance file
No is most newly generated performance file;If it is not, then directly being parsed to the performance file;If so, stopping described in parsing
Performance file is until the performance file is the performance file of non-current generation.
Optionally, before leaving out the performance file being parsed, further include:
Judge analysis of anomaly report whether is generated in resolving;
If generating the analysis of anomaly report, retains the analysis of anomaly and report corresponding performance file.
To achieve the above object, present invention also provides a kind of intermediate server, which includes:
Performance file receiving unit, for receiving node by the performance file increased newly in each cycle of period push;
Performance file resolution unit obtains joint behavior data for parsing the performance file;
Performance data return unit returns to the node for leaving out the performance file being parsed, and by preset path
Performance data.
Optionally, the performance file resolution unit includes:
File type differentiates subelement, for differentiating file type belonging to the performance file;Wherein, the files classes
Type specifically includes single-unit dot file and binodal dot file;
The direct parsing subunit of binodal dot file, for when the performance file belongs to the binodal dot file, directly
The performance file is parsed;
Single node document analysis handles subelement, for when the performance file belongs to the single-unit dot file, according to
The generation time of the performance file judges whether it is most newly generated performance file;If not most newly generated performance text
Part then directly parses the performance file;If most newly generated performance file then stops parsing the performance file
Until the performance file is the performance file of non-current generation.
Optionally, which further includes:
Response signal return unit is pushed, for returning to push response signal to the node for pushing the performance file, with
The node for receiving the push response signal is set to leave out the performance file of this period push;
There are judging units for analysis of anomaly report, for judging whether generate analysis of anomaly report in resolving;
Analysis of anomaly file stick unit, for retaining the analysis of anomaly when generating analysis of anomaly report
Report corresponding performance file.
To achieve the above object, present invention also provides a kind of joint behavior document handling method applied to node, packets
It includes:
The performance file increased newly in each cycle is pushed into intermediate server by the period.
Optionally, the performance file increased newly in each cycle is pushed into intermediate server by the period, including:
When the node is specially the binode cluster being made of configuration node and non-configuration node, the configuration node
The performance file generated with non-another node of the equal real-time synchronization of configuration node;
When the configuration node and the non-configuration node are in online state, the configuration node is new by each cycle
The performance file for being stored in itself pushes to the intermediate server;
When only the configuration node or the non-configuration node are in online state, the node in online state will be every
The performance file that period is newly stored in itself pushes to the intermediate server.
To achieve the above object, present invention also provides a kind of node, which includes:
Performance file push unit, for the performance file increased newly in each cycle to be pushed to intermediate server by the period.
Optionally, which includes:
Binode clustering performance file synchronization subelement, for being specially by configuration node and non-configuration section when the node
When the binode cluster of point composition, the performance of the configuration node and another node generation of the equal real-time synchronization of non-configuration node
File;
Complete online performance file pushes subelement, for when the configuration node and the non-configuration node be in it is online
When state, the performance file that each cycle is newly stored in itself by the configuration node pushes to the intermediate server;
The online performance file of single node pushes subelement, for ought be only at the configuration node or the non-configuration node
When online state, the performance file that each cycle is newly stored in itself by the node in online state pushes to the intermediate clothes
Business device.
To achieve the above object, present invention also provides a kind of joint behavior document handling systems, including:
The performance file increased newly in each cycle is pushed to intermediate server for pushing the period by node;
The intermediate server, for receiving node by the performance file increased newly in each cycle of period push;Parsing institute
Performance file is stated, joint behavior data are obtained;Leave out the performance file being parsed, and returns to the node by preset path
It can data.
To achieve the above object, present invention also provides a kind of computer readable storage mediums, which is characterized in that the meter
It is stored with computer program on calculation machine readable storage medium storing program for executing, such as above content is realized when the computer program is executed by processor
The step of described joint behavior document handling method.
Obviously, a kind of joint behavior document handling method provided herein, the performance file that node is generated push
To intermediate server, performance file active push that node is generated to intermediate server, using independently of in except node
Between server the performance file received is parsed, after parsing and in the case where without exception can leave out these performances
File, and the joint behavior data returned according to preset path.The processing method utilizes newly-increased intermediate server
It assumes responsibility for that originally it is occupied tension management node can be significantly reduced by the downloading and parsing task that tension management node is completed
Network bandwidth and own load, while a possibility that causing Caton or even delay machine phenomenon to occur because load capacity is excessively high is also reduced,
Improve the usage experience of client.The application additionally provides a kind of intermediate server, node including intermediate server and section simultaneously
The joint behavior document handling system and computer readable storage medium of point, have above-mentioned beneficial effect, details are not described herein.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of application for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of stream of the joint behavior document handling method applied to intermediate server provided by the embodiments of the present application
Cheng Tu;
Fig. 2 is another joint behavior document handling method for being applied to intermediate server provided by the embodiments of the present application
Flow chart;
Fig. 3 is a kind of flow chart of the joint behavior document handling method applied to node provided by the embodiments of the present application;
Fig. 4 is a kind of flow chart of joint behavior document handling method provided by the embodiments of the present application;
Fig. 5 is a kind of structural block diagram of intermediate server provided by the embodiments of the present application;
Fig. 6 is a kind of structural block diagram of node provided by the embodiments of the present application;
Fig. 7 is a kind of structural block diagram of joint behavior document handling system provided by the embodiments of the present application;
Fig. 8 is the structural block diagram of another joint behavior document handling system provided by the embodiments of the present application;
Fig. 9 is the structural block diagram of another joint behavior document handling system provided by the embodiments of the present application.
Specific embodiment
The core of the application is to provide a kind of joint behavior document handling method, intermediate server, node including intermediate clothes
The joint behavior document handling system and computer readable storage medium of business device and node, the performance file master that node is generated
It is dynamic push to intermediate server, the performance file received is solved using independently of the intermediate server except node
Analysis, can leave out these performance files, and the node returned according to preset path after parsing and in the case where without exception
Performance data.The processing method assumes responsibility for originally being completed down by tension management node using newly-increased intermediate server
Carry and parsing task, the occupied network bandwidth of tension management node and own load can be significantly reduced, at the same also reduce because
A possibility that load capacity is excessively high to be led to Caton even delay machine phenomenon occurs, improve the usage experience of client.
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
All other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Embodiment one
Below in conjunction with Fig. 1, Fig. 1 is a kind of joint behavior file applied to intermediate server provided by the embodiments of the present application
The flow chart of processing method specifically includes following steps using intermediate server as executing subject:
S101:Receiving node is by the performance file increased newly in each cycle of period push;
S102:Analysis feature file obtains joint behavior data;
S103:Leave out the performance file being parsed, and presses preset path return node performance data.
The present embodiment, which provides one kind as executing subject using newly-increased intermediate server, can be effectively reduced tension management section
Point loads in process performance file, prevents the method for causing Caton even delay machine phenomenon to occur because of load too high.
Prior art multi-pass crosses the mode of the out-of-band communication download performance file from lower level node, so that tension management node
A big chunk network bandwidth can be occupied to download these performance files, management section but will be significantly aggravated when number of nodes is more
The load of point, and tension management node is actively to go to download these performance files, and each lower layer of frequent whereabouts is needed to send under file
Carry request.
The application is replaced originally by upper layer for every defect of the existing technology using newly-increased intermediate server
Performance file that management node mainly executes parses operation, and is changed to that it is increased newly in each cycle by each lower level node active push
Performance file, the task of sending performance file is handed into each lower layer's pole, intermediate server is only passive to be received, and is born
Carrying capacity is smaller.And intermediate server receive push come performance file after, according to default analysis mode to these performance files
It is parsed, if smoothly completing all parsing tasks, obtained joint behavior data need to only be returned by preset path,
Leave out the performance file being parsed simultaneously.
Since performance file has recorded all operations and other data that a node executes whithin a period of time, usual property
The generation period of energy file is set to 1 minute or other shorter times, i.e. a hour just have 60 performance files, and
Increase double increase with number of nodes.The performance file of such quantity compared with the joint behavior data parsed, after
The order of magnitude of person can be parsed much smaller than the former if describing performance file with one page 800 of dictionary with a value to describe
The joint behavior data arrived, therefore leave out useless performance file in time after determining that parsing smoothly completes and memory capacity can be used
Lower intermediate server reduces the cost of storage equipment with this.
Certainly, if parsing does not smoothly complete, certain performance files have gone out mistake in resolving leads to partial properties file
Joint behavior data can not when obtaining, these can also be retained and the abnormal performance file of parsing occur to make to subsequent examination
With.
Further, it is contemplated that each lower level node generates the speed of performance file, can also receive really in intermediate server
To lower level node push performance file when, to lower level node returning response signal, so that lower level node is according to the sound received
Induction signal leaves out the performance file for being stored in itself in time.
In resolving, it usually can be combined with file type belonging to the performance file received and be finely divided again.
For example, would generally be finely divided according to the online situation of lower level node, such as formed by configuration node and non-configuration node
Binode cluster in, the performance that a complete performance data needs that configuration node and non-configuration node is combined to generate simultaneously is literary
Part just can be carried out parsing after summarizing and obtain correct performance data, and the corresponding performance file of such situation belongs to binode text
Part;If some node in binode cluster goes offline because of failure, itself will can only be stored in by the online node only deposited
Performance file is pushed to intermediate server, and the corresponding performance file of such situation belongs to single-unit dot file.
Although single node missing documents another part file data, since most important performance data can be recorded in
In online node (default record is in configuration node if online), thus determine belong to single-unit dot file and for it is non-most
When new performance file can also component part according to the result parsed to it as finish node performance data, if newest
Performance file because do not know next period push come performance file in whether comprising shortcoming partial properties data,
The application will stop parsing it until it is non-current performance file.
It should be noted that in the case where binode cluster, configuration node and non-configuration node can real-time synchronization it is another
The performance file that one node generates, to when a node goes offline wherein, by the binode text comprising complete performance data
Part is as much as possible to be pushed to intermediate server.
Based on the above-mentioned technical proposal, a kind of joint behavior document handling method provided by the embodiments of the present application, node is produced
Raw performance file active push to intermediate server, using independently of the intermediate server except node come to the property received
Energy file is parsed, and can leave out these performance files after parsing and in the case where without exception, and return according to preset path
Return obtained joint behavior data.The processing method is assumed responsibility for using newly-increased intermediate server originally will be by tension management
The downloading and parsing task that node is completed, can significantly reduce the occupied network bandwidth of tension management node and own load, together
When also reduce and lead to Caton even delay machine phenomenon a possibility that occurring because load capacity is excessively high, improve the usage experience of client.
Embodiment two
Below in conjunction with Fig. 2, Fig. 2 is another joint behavior text for being applied to intermediate server provided by the embodiments of the present application
The flow chart of part processing method, executing subject are intermediate server, specifically include following steps:
S201:Receiving node is by the performance file increased newly in each cycle of period push;
S202:Push response signal is returned to the node of push performance file, so as to receive the section of push response signal
Point leaves out the performance file of this period push;
S203:Differentiate file type belonging to performance file;
S204:Judge whether it is most newly generated performance file according to the generation time of performance file;
This step is established on the basis of the judging result of S203 is to belong to single-unit dot file, therefore according in embodiment one
The principle parsed to single-unit dot file judges whether it is most newly generated performance further according to the generation time of performance file
File.
S205:Stop analysis feature file until the performance file is the performance file of non-current generation;
This step is established on the basis of the judging result of S204 is most newly generated performance file for it, therefore in the greatest extent
Possible use is parsed to obtain the principle of joint behavior data comprising the binodal dot file of complete performance data, stops parsing
Performance file is until the performance file is the performance file of non-current generation.
Under normal conditions, one or two push period can appropriate be waited.
S206:Directly performance file is parsed, obtains joint behavior data;
This step establish S203 judging result be belong to binodal dot file and S204 judging result its be it is non-most
On the basis of newly generated performance file, therefore directly performance file can be parsed, obtain joint behavior data.
S207:Judge analysis of anomaly report whether is generated in resolving;
S208:Delete all performance files being parsed;
This step is established on the basis of the judging result of S207 is not generate analysis of anomaly report, illustrates that parsing operation is suitable
Benefit is completed, and can delete all performance files being parsed to save memory space.
S209:Retain analysis of anomaly and report corresponding performance file, and deletes other performance file;
This step is established on the basis of the judging result of S207 is to generate analysis of anomaly report, illustrates parsing operation not
It smoothly completes, needs to retain analysis of anomaly and report that corresponding performance file with to subsequent analysis problem, and deletes other performance text
Part.
S210:By preset path return node performance data.
Difference according to the actual situation, the preset path there is also it is different a possibility that, one of which is:Directly by basis
The joint behavior data that the self performance document analysis that a certain node push comes obtains return to origin node, so that origin node is direct
Default judgment rule is combined to be adjusted subsequent operation according to the data of return.
Wherein another kind is:It is carried out when the joint behavior data that parsing obtains are sent to tension management node as needed
When uniformly showing and show, these joint behavior data are sent by the connection with tension management node.
Embodiment three
Below in conjunction with Fig. 3, Fig. 3 is another joint behavior file process for being applied to node provided by the embodiments of the present application
The flow chart of method specifically includes following steps using node as executing subject:
S301:When node be specially be made of configuration node and non-configuration node binode cluster when, configuration node and
The performance file that non-another node of the equal real-time synchronization of configuration node generates;
S302:When configuration node and non-configuration node are in online state, each cycle is newly stored in by configuration node
The performance file of itself pushes to intermediate server;
Default is pushed using the performance file for being stored in configuration node, naturally it is also possible to all may be deposited according to other
Particular/special requirement appropriate be adjusted.
S303:When only configuration node or non-configuration node are in online state, the node in online state will weekly
The performance file that phase is newly stored in itself pushes to intermediate server.
For the present embodiment directly by taking binode cluster as an example, the implementation for belonging to the cluster of non-binode cluster can be according to upper
State that implementation is simplified to be obtained, details are not described herein again.
Example IV
Below in conjunction with Fig. 4, Fig. 4 is a kind of flow chart of joint behavior document handling method provided by the embodiments of the present application,
The elaboration specific implementation process completed in a manner of embodying all executing subjects (node and intermediate server):
S401:The performance file that configuration node and another node of the equal real-time synchronization of non-configuration node generate;
S402:When configuration node and non-configuration node are in online state, each cycle is newly stored in by configuration node
The performance file of itself pushes to intermediate server;
S403:When only configuration node or non-configuration node are in online state, the node in online state will weekly
The performance file that phase is newly stored in itself pushes to intermediate server;
S404:Intermediate server returns to push response signal to the node of push performance file, rings so as to receive push
The node of induction signal leaves out the performance file of this period push;
S405:Intermediate server differentiates file type belonging to performance file;
S406:Judge whether it is most newly generated performance file according to the generation time of performance file;
S407:Stop analysis feature file until the performance file is the performance file of non-current generation;
S408:Directly performance file is parsed, obtains joint behavior data;
S409:Intermediate server judges analysis of anomaly report whether is generated in resolving;
S410:Delete all performance files being parsed;
S411:Retain analysis of anomaly and report corresponding performance file, and deletes other performance file;
S412:By preset path return node performance data, and persistence saves joint behavior data.
There is same section with each embodiment before in the content of each step of the present embodiment, detailed description can be found in it
The description section of preceding each embodiment, details are not described herein.
The present embodiment is established on the basis of the various embodiments described above, and has the beneficial effect of the various embodiments described above, herein
It repeats no more.
Because situation is complicated, it can not enumerate and be illustrated, those skilled in the art should be able to recognize according to the application
The basic skills principle combination actual conditions of offer may exist many examples, in the case where not paying enough creative works,
It should within the scope of protection of this application.
Refer to Fig. 5 below, Fig. 5 is a kind of structural block diagram of intermediate server provided by the embodiments of the present application, among this
Server 100 may include:
Performance file receiving unit 110, for receiving node by the performance file increased newly in each cycle of period push;
Performance file resolution unit 120 is used for analysis feature file, obtains joint behavior data;
Performance data return unit 130 for leaving out the performance file being parsed, and presses preset path return node
It can data.
Wherein, performance file resolution unit 120 may include:
File type differentiates subelement, for differentiating file type belonging to performance file;Wherein, file type is specifically wrapped
Include single-unit dot file and binodal dot file;
The direct parsing subunit of binodal dot file, for when performance file belongs to binodal dot file, directly to performance text
Part is parsed;
Single node document analysis handles subelement, for when performance file belongs to single-unit dot file, according to performance file
Generation time judge whether it is most newly generated performance file;If not most newly generated performance file, then directly to property
Energy file is parsed;If most newly generated performance file, then stop analysis feature file until performance file is non-current
The performance file of generation.
Further, which can also include:
Response signal return unit is pushed, for returning to push response signal to the node of push performance file, so as to connect
The node for receiving push response signal leaves out the performance file of this period push;
There are judging units for analysis of anomaly report, for judging whether generate analysis of anomaly report in resolving;
Analysis of anomaly file stick unit is corresponded to for when generating analysis of anomaly report, retaining analysis of anomaly report
Performance file.
Refer to Fig. 6 below, Fig. 6 is a kind of structural block diagram of node provided by the embodiments of the present application, which can be with
Including:
Performance file push unit 210, for the performance file increased newly in each cycle to be pushed to intermediary service by the period
Device.
Wherein, performance file push unit 210 may include:
Binode clustering performance file synchronization subelement, for being specially by configuration node and non-configuration node group when node
At binode cluster when, performance file that configuration node and another node of the equal real-time synchronization of non-configuration node generate;
Complete online performance file pushes subelement, for when configuration node and non-configuration node are in online state,
The performance file that each cycle is newly stored in itself by configuration node pushes to intermediate server;
The online performance file of single node pushes subelement, for that only configuration node or non-configuration node ought be in upper threadiness
When state, the performance file that each cycle is newly stored in itself by the node in online state pushes to intermediate server.
Fig. 7 is referred to below, and Fig. 7 is a kind of structural frames of joint behavior document handling system provided by the embodiments of the present application
Figure, the joint behavior document handling system may include:
The performance file increased newly in each cycle is pushed to intermediate server for pushing the period by node;
Intermediate server, for receiving node by the performance file increased newly in each cycle of period push;Analysis feature text
Part obtains joint behavior data;Leave out the performance file being parsed, and presses preset path return node performance data.
Further, which can also include:
Persistent storage device for receiving node performance data and carries out persistence preservation.
At the same time it can also which referring to Fig. 8 and Fig. 9, respectively working as node is to form comprising configuration node and non-configuration node
Binode cluster when two kinds of schematic diagrames being provided according to the difference of joint behavior data transmitting path.
Specifically, there are multiple choices for intermediate server, such as the FTP (File for possessing quick transmission speed may be selected
Transfer Protocol, File Transfer Protocol) server, since it is erected at local, without occupying network bandwidth, push
Process to ftp server just looks like that some files are replicated from one disk of a computer to another disk, fast speed,
Report tool can also be installed directly on ftp server simultaneously for parsing and showing joint behavior data;Certainly, for it
The mode of such as cloud computing and Cloud Server can be used also to form the intermediate server in the requirement of its usage scenario, because
The core purpose of the application is the load of reduction tension management node to eliminate Caton and delay machine phenomenon.
Further, when assuming joint behavior document handling system provided by the present application for the first time, by node generation property
Can file speed be set as 1 minute one, and all properties file that generates pushes together in starting 6 hours by node
To ftp server, the performance file increased newly in each cycle then was pushed for a cycle with 3 minutes later, and is mounted on FTP
Report tool on server then parsed the performance file newly received every 10 minutes.The time of above-mentioned setting can basis
Actual demand is adjusted flexibly.
Present invention also provides a kind of node and intermediate server, the node and intermediate server may include memory and
Processor, wherein there is computer program in the memory, it, can when which calls the computer program in the memory
Provided step when joint behavior file is handled in above-described embodiment to realize.Certainly, the node and intermediate server may be used also
To include various necessary network interfaces, power supply and other components etc..
Present invention also provides a kind of computer readable storage mediums, have computer program thereon, the computer program
Handle provided step when joint behavior file when being performed terminal or processor execution in above-described embodiment to realize.This is deposited
Storage media may include:USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory
The various media that can store program code such as (Random Access Memory, RAM), magnetic or disk.
Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure
And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and
The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These
Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession
Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered
Think beyond scope of the present application.
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and above embodiments are said
It is bright to be merely used to help understand the present processes and its core concept.For those skilled in the art,
Under the premise of not departing from the application principle, can also to the application, some improvement and modification can also be carried out, these improvement and modification
It falls into the protection scope of the claim of this application.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that
A little elements, but also other elements including being not explicitly listed, or further include for this process, method, article or
The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged
Except there is also other identical elements in the process, method, article or equipment for including element.
Claims (10)
1. a kind of joint behavior document handling method, which is characterized in that it is applied to intermediate server, including:
Receiving node is by the performance file increased newly in each cycle of period push;
The performance file is parsed, joint behavior data are obtained;
Leave out the performance file being parsed, and returns to the joint behavior data by preset path.
2. method according to claim 1, which is characterized in that before parsing the performance file, further include:
Push response signal is returned to the node for pushing the performance file, so as to receive the node of the push response signal
Leave out the performance file of this period push.
3. method according to claim 1, which is characterized in that the performance file is parsed, including:
Differentiate file type belonging to the performance file;Wherein, the file type specifically includes single-unit dot file and binodal
Dot file;
If the performance file belongs to the binodal dot file, directly the performance file is parsed;
If the performance file belongs to the single-unit dot file, according to the generation time of the performance file judge its whether be
Most newly generated performance file;If it is not, then directly being parsed to the performance file;If so, stopping parsing the performance
File is until the performance file is the performance file of non-current generation.
4. method according to claim 1, which is characterized in that before leaving out the performance file being parsed, further include:
Judge analysis of anomaly report whether is generated in resolving;
If generating the analysis of anomaly report, retains the analysis of anomaly and report corresponding performance file.
5. a kind of intermediate server, which is characterized in that including:
Performance file receiving unit, for receiving node by the performance file increased newly in each cycle of period push;
Performance file resolution unit obtains joint behavior data for parsing the performance file;
Performance data return unit returns to the joint behavior for leaving out the performance file being parsed, and by preset path
Data.
6. a kind of joint behavior document handling method, which is characterized in that it is applied to node, including:
The performance file increased newly in each cycle is pushed into intermediate server by the period.
7. method according to claim 6, which is characterized in that in pushing to the performance file increased newly in each cycle by the period
Between server, including:
When the node is specially the binode cluster being made of configuration node and non-configuration node, the configuration node and institute
State the performance file that another node of the equal real-time synchronization of non-configuration node generates;
When the configuration node and the non-configuration node are in online state, the configuration node newly stores each cycle
Performance file in itself pushes to the intermediate server;
When only the configuration node or the non-configuration node are in online state, the node in online state is by each cycle
The performance file for being newly stored in itself pushes to the intermediate server.
8. a kind of node, which is characterized in that including:
Performance file push unit, for the performance file increased newly in each cycle to be pushed to intermediate server by the period.
9. a kind of joint behavior document handling system, which is characterized in that including:
The performance file increased newly in each cycle is pushed to intermediate server for pushing the period by node;
The intermediate server, for receiving node by the performance file increased newly in each cycle of period push;Parse the property
Energy file, obtains joint behavior data;Leave out the performance file being parsed, and returns to the joint behavior number by preset path
According to.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium
Program is realized when the computer program is executed by processor and is applied to intermediary service as Claims 1-4 is described in any item
The energy-efficient performance document handling method of device and/or the joint behavior file process applied to node as claimed in claims 6 or 7
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810530915.1A CN108881401A (en) | 2018-05-29 | 2018-05-29 | Joint behavior document handling method, intermediate server, node, system and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810530915.1A CN108881401A (en) | 2018-05-29 | 2018-05-29 | Joint behavior document handling method, intermediate server, node, system and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108881401A true CN108881401A (en) | 2018-11-23 |
Family
ID=64335636
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810530915.1A Pending CN108881401A (en) | 2018-05-29 | 2018-05-29 | Joint behavior document handling method, intermediate server, node, system and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108881401A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495587A (en) * | 2018-12-25 | 2019-03-19 | 苏州思必驰信息科技有限公司 | Language model synchronous method and system for voice dialogue platform |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090150895A1 (en) * | 2007-12-10 | 2009-06-11 | International Business Machines Corporation | Systems, methods and computer program products for supporting transformation to a shared on-demand infrastructure |
CN101784060A (en) * | 2009-01-19 | 2010-07-21 | 华为技术有限公司 | Parameter processing method, network diagnosis method, terminal, server and system |
CN102394771A (en) * | 2011-10-26 | 2012-03-28 | 广州杰赛科技股份有限公司 | Socket type embedded log acquisition system and method |
CN102981945A (en) * | 2012-12-31 | 2013-03-20 | 北京京东世纪贸易有限公司 | System and method for monitoring reliability performance |
CN106802904A (en) * | 2015-11-26 | 2017-06-06 | 北京国双科技有限公司 | Log processing method, apparatus and system |
-
2018
- 2018-05-29 CN CN201810530915.1A patent/CN108881401A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090150895A1 (en) * | 2007-12-10 | 2009-06-11 | International Business Machines Corporation | Systems, methods and computer program products for supporting transformation to a shared on-demand infrastructure |
CN101784060A (en) * | 2009-01-19 | 2010-07-21 | 华为技术有限公司 | Parameter processing method, network diagnosis method, terminal, server and system |
CN102394771A (en) * | 2011-10-26 | 2012-03-28 | 广州杰赛科技股份有限公司 | Socket type embedded log acquisition system and method |
CN102981945A (en) * | 2012-12-31 | 2013-03-20 | 北京京东世纪贸易有限公司 | System and method for monitoring reliability performance |
CN106802904A (en) * | 2015-11-26 | 2017-06-06 | 北京国双科技有限公司 | Log processing method, apparatus and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109495587A (en) * | 2018-12-25 | 2019-03-19 | 苏州思必驰信息科技有限公司 | Language model synchronous method and system for voice dialogue platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105068864B (en) | Method and system for processing asynchronous message queue | |
EP2563062B1 (en) | Long connection management apparatus and link resource management method for long connection communication | |
US20130343213A1 (en) | Methods and Computer Program Products for Correlation Analysis of Network Traffic in a Network Device | |
CN102882974B (en) | Method for saving website access resource by website identification version number | |
US20090006529A1 (en) | Client side based data synchronization and storage | |
CN103095819A (en) | Data information pushing method and data information pushing system | |
CN103645904A (en) | Cache realization method of interface calling | |
CN101771723A (en) | Data synchronization method | |
CN107181821A (en) | A kind of information push method and device based on SSE specifications | |
CN109039817B (en) | Information processing method, device, equipment and medium for flow monitoring | |
CN103607476A (en) | System and method for distributed multi-stage persistence of huge number of messages | |
CN105681426B (en) | Heterogeneous system | |
CN107870982A (en) | Data processing method, system and computer-readable recording medium | |
CN106055271B (en) | A kind of repeated data based on cloud computing removes reselection method and device | |
CN101778131A (en) | Data synchronization system | |
CN113965587B (en) | Data acquisition method, device, equipment and medium of artificial intelligence platform | |
CN110519354A (en) | A kind of distributed objects storage system and its method for processing business and storage medium | |
CN101789963A (en) | Data synchronization system | |
CN108881401A (en) | Joint behavior document handling method, intermediate server, node, system and medium | |
CN112069152B (en) | Database cluster upgrading method, device, equipment and storage medium | |
CN112417050A (en) | Data synchronization method and device, system, storage medium and electronic device | |
CN116016117A (en) | Network equipment operation and maintenance data acquisition method and system, electronic equipment and storage medium | |
CN109684279B (en) | Data processing method and system | |
CN108121730B (en) | Device and method for quickly synchronizing data update to service system | |
CN106557530B (en) | Operation system, data recovery method and device |
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: 20181123 |
|
RJ01 | Rejection of invention patent application after publication |