CN106844169B - A kind of information processing method and system - Google Patents

A kind of information processing method and system Download PDF

Info

Publication number
CN106844169B
CN106844169B CN201510884433.2A CN201510884433A CN106844169B CN 106844169 B CN106844169 B CN 106844169B CN 201510884433 A CN201510884433 A CN 201510884433A CN 106844169 B CN106844169 B CN 106844169B
Authority
CN
China
Prior art keywords
tracking information
pile
match
pipeline
output
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.)
Active
Application number
CN201510884433.2A
Other languages
Chinese (zh)
Other versions
CN106844169A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201510884433.2A priority Critical patent/CN106844169B/en
Publication of CN106844169A publication Critical patent/CN106844169A/en
Application granted granted Critical
Publication of CN106844169B publication Critical patent/CN106844169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment

Abstract

The present invention provides a kind of information processing method and systems, wherein the described method includes: determining business to be tracked;The pile function to match to the business to be tracked with the determination is marked;Wherein, a determining pile function to match corresponds to only one pile beacon note;Obtain the tracking information for carrying the pile function output of the pile beacon note;The tracking information is exported by the output channel to match into corresponding file and is saved.It solves framework existing for the evaluation scheme to the system performance of business realized currently based on log system through the invention to fix, be difficult to be adjusted according to service dynamic, and, the problem of apparatus of load height, specific aim difference.

Description

A kind of information processing method and system
Technical field
The present invention relates to the field of test technology, more particularly to a kind of information processing method and system.
Background technique
Currently, when the split part that feels like jelly is tested, it usually needs assess the system performance of business.In order to assess The system performance of business, general way be realized based on log system, for example, common log system include: Log4j and LogBack log system etc..
Currently, the detailed process of the evaluation scheme of the system performance to business based on log system realization can be such that All information for being used to indicate system running state can be exported and be saved into journal file by log system, then, from The information of needs is filtered out in journal file, to assess according to the information filtered out the system performance of business.
However, there are problems for the evaluation scheme of the system performance to business realized based on log system: day aspiration The framework of system is fixed, once it is determined that after be difficult to be adjusted;Secondly, all letters for being used to indicate system running state will be exported Breath, contains much information, and apparatus of load is high, and, it needs to screen the journal file of output, extracts the information needed, no With specific aim, screens extraction process difficulty or even partial information is difficult to separation and Extraction.
Summary of the invention
The present invention provides a kind of information processing method and system, to solve to realize currently based on log system to business Framework existing for the evaluation scheme of system performance is fixed, is difficult to be adjusted according to service dynamic, and, apparatus of load height, specific aim The problem of difference.
To solve the above-mentioned problems, the invention discloses a kind of information processing methods, comprising:
Determine business to be tracked;
The pile function to match to the business to be tracked with the determination is marked;Wherein, one determining matches Pile function correspond to only one pile beacon note;
Obtain the tracking information for carrying the pile function output of the pile beacon note;
The tracking information is exported by the output channel to match into corresponding file and is saved.
Preferably, the tracking information is exported by the output channel to match into corresponding file and is saved, comprising:
Determine the corresponding pile beacon note of the tracking information;
The determining pipeline to match with pile beacon note marks;
By the tracking information output indicated by the pipeline label of the determination to match with pile beacon note Pipeline is exported into corresponding file and is saved.
Preferably, indicated by the pipeline label to match with pile beacon note by the tracking information by the determination Output channel export into corresponding file and save, comprising:
Determine file mark;Wherein, the pipeline mark of the file mark and the determination to match with pile beacon note Remember corresponding;
By the tracking information output indicated by the pipeline label of the determination to match with pile beacon note Pipeline output;
The output channel indicated by the pipeline label of the determination to match with pile beacon note is exported Tracking information be stored in file indicated by the file mark of the determination and save.
Preferably, the method also includes:
Corresponding relationship between the note of pile beacon described in dynamic configuration and pipeline label, and, the pipeline label and institute State the corresponding relationship between file mark.
Preferably, the tracking information is exported by the output channel to match into corresponding file and is saved, comprising:
The tracking information is cached by the pipeline caching in the output channel to match;
The tracking information cached in pipeline caching is exported into corresponding file and is saved.
Preferably, the method also includes:
According to setting period and/or buffer memory capacity threshold value, to slow in the pipeline caching in the output channel to match The tracking information deposited is cleared up.
The invention also discloses a kind of information processing systems, comprising:
Determining module, for determining business to be tracked;
Mark module, the pile function for matching to the business to be tracked with the determination are marked;Wherein, one The determining pile function to match corresponds to only one pile beacon note;
Module is obtained, for obtaining the tracking information for carrying the pile function output of the pile beacon note;
Output module is protected for being exported the tracking information by the output channel to match into corresponding file It deposits.
Preferably, output module, comprising:
Pile beacon, which is remembered, determines submodule, for determining the corresponding pile beacon note of the tracking information;
Pipeline, which marks, determines submodule, marks for the determining pipeline to match with pile beacon note;
Output sub-module, for the tracking information to be remembered the pipeline mark to match with the pile beacon by the determination The indicated output channel of note, which is exported into corresponding file, to be saved.
Preferably, output sub-module, for determining file mark;Wherein, the file mark and the determination with institute It is corresponding to state the pipeline label that pile beacon note matches;And the remembering with the pile beacon by the determination by the tracking information The indicated output channel output of the pipeline label to match;And phase is remembered with the pile beacon by the determination by described The tracking information of the indicated output channel output of matched pipeline label is stored in indicated by the file mark of the determination It is saved in file.
Preferably, the system also includes:
Configuration module, for the corresponding relationship between the note of pile beacon described in dynamic configuration and pipeline label, and, it is described Corresponding relationship between pipeline label and the file mark.
Preferably, output module, for being believed by the pipeline caching in the output channel to match the tracking Breath is cached;And the tracking information cached in pipeline caching is exported into corresponding file and is saved.
Preferably, the system also includes:
Cleaning modul is used for according to setting period and/or buffer memory capacity threshold value, in the output channel to match The tracking information cached in pipeline caching is cleared up.
Compared with prior art, the present invention includes the following advantages:
Information processing scheme disclosed by the invention can dynamically determine business to be tracked, to be tracked with the determination The pile function that business matches is marked;Then, the tracking information for carrying the pile function output of the pile beacon note is obtained;And The tracking information is exported by the output channel to match into corresponding file and is saved.As it can be seen that in the present invention, output Tracking information can match with business to be tracked, that is, need to test what business can obtain it is corresponding Tracking information, so that the tracking information of output is more targeted.Secondly, in the present invention, acquisition is to carry the stake The tracking information of the pile function output of label can be marked pile function according to different service dynamics in other words, with Output and the matched tracking information of business, flexibility is high, is adapted to a variety of different scenes.Further, since can only export The tracking information to match with business to be tracked, therefore, reduce amount of storage, reduce facility load, improves treatment effeciency.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of information processing method in the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of information processing method in the embodiment of the present invention two;
Fig. 3 is a kind of structural schematic diagram of information processing system in the embodiment of the present invention three;
Fig. 4 is a kind of step flow chart of information processing method in the embodiment of the present invention three;
Fig. 5 is a kind of structural block diagram of information processing system in the embodiment of the present invention four;
Fig. 6 is a kind of structural block diagram of preferably information processing system in the embodiment of the present invention four.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
Embodiment one
Referring to Fig.1, a kind of step flow chart of information processing method in the embodiment of the present invention one is shown.In the present embodiment In, the information processing method includes:
Step 102, business to be tracked is determined.
In the present embodiment, the object that can be tested according to actual needs is configured with determination business to be tracked.Wherein, institute Stating business to be tracked can be any at least one in following situation: a certain process in single business, single business and more Combinations of services etc..
Step 104, the pile function to match to the business to be tracked with the determination is marked.
In the present embodiment, can be matched by the way of pile beacon note to described and determination business to be tracked The label of pile function, to realize targetedly tracking and test to specified business to be tracked.Wherein, a determining phase The pile function matched corresponds to only one pile beacon note.
It should be noted that the tracking to system may be implemented in pile function (namely stake code), and obtain corresponding tracking Information.
Step 106, the tracking information for carrying the pile function output of the pile beacon note is obtained.
In the present embodiment, pile function default can be not output tracking information, only after pile function is labeled (that is, the pile function for carrying pile beacon note) ability output tracking information.In the present embodiment, available to carry the pile beacon The tracking information of the pile function output of note, the pile function due to carrying the pile beacon note is matched with business to be tracked, Therefore, the tracking information got is also to match with business to be tracked, and then the tracking information by obtaining may be implemented Test and assessment to the business to be tracked of the determination.
Step 108, the tracking information is exported by the output channel to match into corresponding file and is saved.
In the present embodiment, different tracking informations can correspond to different output channels, pass through different output channels The tracking information of output can be stored in corresponding file.It should be noted that different tracking informations specifically can be Refer to different types of tracking information, the multiple tracking informations being under the jurisdiction of under same type (for the test of same business to be tracked) It can be exported by same output channel.Further it should also be noted that, output channel can correspond to one or more File, the present embodiment to this with no restriction.Wherein, the output channel can be the transmission channel of entity, be also possible to be based on The virtualization transmission channel of software realization.
In the present embodiment, since tracking information is stored in corresponding file, when being tested and being assessed, Corresponding tracking information can be directly obtained from correspondingly file, it can according to the tracking information for preservation of classifying in different files To realize the careful analysis to system performance, quick positioning question does not need to carry out additional screening extraction operation, simplifies behaviour Make process, improves efficiency.
In conclusion information processing method described in the present embodiment can dynamically determine business to be tracked, to it is described The pile function that determining business to be tracked matches is marked;Then, the pile function output for carrying the pile beacon note is obtained Tracking information;And the tracking information is exported by the output channel to match into corresponding file and is saved.As it can be seen that In In the present embodiment, the tracking information of output can match with business to be tracked, that is, needing to test i.e. what business Corresponding tracking information can be obtained, so that the tracking information of output is more targeted.
Secondly, in the present embodiment, acquisition is the tracking information for carrying the pile function output of the pile beacon note, change and Yan Zhi can be marked pile function according to different service dynamics, with output and the matched tracking information of business, flexibility Height is adapted to a variety of different scenes.Further, since the tracking information to match with business to be tracked can be only exported, therefore, Reduce amount of storage, reduce facility load, improves treatment effeciency.
Embodiment two
Referring to Fig. 2, a kind of step flow chart of information processing method in the embodiment of the present invention two is shown.In the present embodiment In, the information processing method includes:
Step 202, business to be tracked is determined.
In the present embodiment, business to be tracked can operate according to the configuring request of technical staff and be dynamically determined and update.
Step 204, the pile function to match to the business to be tracked with the determination is marked.
In the present embodiment, pointedly pile function can be marked, so that labeled pile function is and institute The matched pile function of business to be tracked is stated, so that tracking is more targeted;And realize customization to business to be tracked.Its In, a determining pile function to match corresponds to only one pile beacon note, so as to coding-control and subsequent to tracking information Analysis.Pile beacon note can use any one mode appropriate, for example, can be, but not limited to using digital encoding scheme or JAVA class name+digital encoding scheme.
Step 206, the tracking information for carrying the pile function output of the pile beacon note is obtained.
In the present embodiment, all pile functions can not distinguish output level in system, that is, the output stage of all pile functions Can not be consistent, and default and do not export.Avoid because output information classification (such as debug, infor, warn, Error) the control complexity of the encoder complexity of bring pile function and tracking information output, piling one is encoded not to be had to Code is modified again.
Step 208, the tracking information is exported by the output channel to match into corresponding file and is saved.
In the present embodiment, described to export the tracking information into corresponding file by the output channel to match Preservation can specifically include: determine the corresponding pile beacon note of the tracking information;It is determining to remember the pipeline mark to match with the pile beacon Note;The tracking information is defeated by the indicated output channel of the pipeline label of the determination to match with pile beacon note It is saved out into corresponding file.
Preferably, described that the tracking information is marked into institute by the pipeline of the determination to match with pile beacon note The output channel of instruction is exported into corresponding file and is saved, and can specifically include: determining file mark;Wherein, the file It marks corresponding with the pipeline label of the determination to match with pile beacon note;The tracking information is passed through into the determination The indicated output channel of the pipeline label to match with pile beacon note export;By it is described by the determination with it is described The tracking information of the indicated output channel output of the pipeline label that pile beacon note matches is stored in the file mark of the determination It is saved in indicated file.
As it can be seen that in the present embodiment, pile function can be dynamically labeled, and, labeled pile function can be based on pipeline mark Note is associated with (binding) with file mark, ties up that is, realizing the labeled tracking information of pile function output and the dynamic of file It is fixed.The tracking information of specified pile function (that is, labeled pile function) output can be stored in corresponding association (binding) In file, unspecified pile function is not exported.It should be noted that the corresponding relationship between labeled pile function and file can To be multi-to-multi.Such as, a labeled pile function can individually specify a corresponding file;It multiple can also will be labeled Pile function bundle, specify a corresponding file;In addition, a labeled pile function also may be at it is different In binding combination, and corresponding different multiple files, the present embodiment to this with no restriction.Using tying up for this dynamic multi-to-multi Determine mode, it can the flexibly tracking of a certain process point of finishing service, the tracking and more industry of business whole process and each subservice A variety of situations such as the combined tracking of business, and it is not necessary to modify the codes of pile function when completing the tracking of above-mentioned a variety of situations.
In the present embodiment, the method can also include:
Step 210, the corresponding relationship between the note of pile beacon described in dynamic configuration and pipeline label, and, the pipeline Corresponding relationship between label and the file mark.
In the present embodiment, it is one-to-many or multipair to can be multi-to-multi for the corresponding relationship between pipeline label and pile beacon note First-class a variety of situations, similarly, the corresponding relationship between pipeline label and file mark be also possible to multi-to-multi or it is one-to-many or A variety of situations such as many-one, the present embodiment to this with no restriction.
Preferably, the configuration information that the dynamic configuration obtains can pass through XML (Extensible Markup Language, extensible markup language) file preservation.Wherein, the configuration information includes the pile beacon note and the pipeline mark Corresponding relationship between note, and, the corresponding relationship between the pipeline label and the file mark, and dynamically specify Pile beacon note.System starting when, the available XML file, according to the configuration information in the XML file of acquisition to system into Row initialization, to complete to the label of determining pile function, the binding of labeled pile function and matched output channel, with And the binding between output channel and file.
In conclusion information processing method described in the present embodiment can dynamically determine business to be tracked, to it is described The pile function that determining business to be tracked matches is marked;Then, the pile function output for carrying the pile beacon note is obtained Tracking information;And the tracking information is exported by the output channel to match into corresponding file and is saved.As it can be seen that In In the present embodiment, the tracking information of output can match with business to be tracked, that is, needing to test i.e. what business Corresponding tracking information can be obtained, so that the tracking information of output is more targeted.
Secondly, in the present embodiment, acquisition is the tracking information for carrying the pile function output of the pile beacon note, change and Yan Zhi can be marked pile function according to different service dynamics, with output and the matched tracking information of business, flexibility Height is adapted to a variety of different scenes.Further, since the tracking information to match with business to be tracked can be only exported, therefore, Reduce amount of storage, reduce facility load, improves treatment effeciency.
Further, since targetedly tracking information careful analysis and assessment can be carried out to system performance, lead to Crossing method described in the present embodiment can be with quick positioning question, and can optimize the difference of the performance of the system of front and back with accurate evaluation It is different, the cost of exploitation, optimization, test is reduced, the period evaluated and optimized is substantially reduced.
Embodiment three
In conjunction with above-described embodiment, the present embodiment is with specific example information processing method described in the embodiment of the present invention It is described in detail.Referring to Fig. 3, a kind of structural schematic diagram of information processing system in the embodiment of the present invention three is shown.At this In embodiment, the information processing method can be, but not limited to realize by the information processing system.
As shown in figure 3, the information processing system may include: system under test (SUT) 310, file system 320, information collector 330, Tubing organizer 340, control manager 350 and JVM (Java Virtual Machine, Java Virtual Machine) management terminal Tool 360.It wherein, may include: business 1, business 2 and business 3 in system under test (SUT) 310;The phase of business 1, business 2 and business 3 It answers and is correspondingly arranged on pile function at position respectively.It should be noted that in the present embodiment, it can be to single business (such as business 1) it is tracked, multi-service portfolio (e.g., the combination of business 1, business 2 and business 3) can also be tracked, it can also be mostly single A certain process in one business is tracked.
Referring to Fig. 4, a kind of step flow chart of information processing method in the embodiment of the present invention three is shown.In the present embodiment In, the information processing method may include:
Step 402, business to be tracked is determined.
In the present embodiment, it can determine that business to be tracked is business 1.
Step 404, the pile function to match for business 1 is marked.
As shown in figure 3, corresponding pile function carries pile beacon note 1 at business 1.
Step 406, the tracking information 1 for carrying the pile function output of pile beacon note 1 is obtained.
In the present embodiment, the tracking for carrying the pile function output of pile beacon note 1 can be obtained by information collector 330 Information 1.Wherein, 330 application program-oriented method of information collector exposure piling (pile function) interface, it is internal then can complete tracking believe The filtering of breath, packaging, in short-term caching, distribution function.Wherein, the acquisition of tracking information can pass through the calling to pile function interface It realizes, the acquisition of tracking information is not take up or seldom occupies the service operation time, realize to business processing minimum of interference Purpose.
Preferably, as shown in figure 3, the information collector 330 may include: tracking information filtration converter 3301, delay Deposit pond 3302 and distributor 3303.Wherein, tracking information filtration converter 3301 can only acquire specified pile function output Tracking information.Cache pool 3302 can cache the tracking information of the specified pile function output of acquisition.Distributor 3303 can be used It is distributed in the tracking information cached to cache pool 3302.For example, the tracking of the pile function output of pile beacon note 1 can will be carried Information 1 is distributed to corresponding output channel.It should be noted that pile beacon note and the mapping relations of pipeline label can be stored in institute It states in distributor 3303, for example, if pile beacon remembers that 1 corresponding pipeline is labeled as 1, the distributor 3303 can will be from caching The tracking information 1 extracted in pond 3302 is distributed to pipeline labeled as in 1 corresponding output channel 1 at least.
Step 408, tracking information 1 is passed through to the output of output channel 1 to match to save into corresponding file.
In the present embodiment, Tubing organizer 340 can be used for controlling tracking information and export into corresponding file, output Foundation, destruction and the label of pipeline can be realized by the Tubing organizer 340.
As shown in figure 3, the Tubing organizer 340, which is dynamically established, output channel 1 and output channel 2.Wherein, efferent duct The corresponding file in road 1 is file 1, that is, in the present embodiment, can be exported by output channel 1 to respective file according to information 1 It is saved in 1.
It preferably, may include capacity period controller, pipeline caching and file recorder in each output channel.Such as figure It may include: capacity period controller 3401, pipeline caching 3402 and file recorder 3403 in output channel 1 shown in 3.It needs It is noted that capacity period controller 3401 can be realized based on capacity control and period controller.When pipeline caches Buffer memory capacity in 3402 reaches threshold value or when the cycle timer time reaches, real based on capacity control and period controller Existing capacity period controller 3401 can control pipeline caching 3402 and the tracking information of caching be all sent to file record In device 3403, and empty the caching in pipeline caching 3402.
Referring to Fig. 3, it should be noted that in the present embodiment, whole system can also be controlled by control manager 350 The operation such as configuration, starting, pause, closing, wherein the control manager 350 is externally provided with dynamic configuration interface, described Dynamic configuration interface can be realized using MBean.The path that can specify configuration file by the dynamic configuration interface, logical Cross configuration file path get configuration file after, can according to the configuration file realize the initialization of system is matched It sets, e.g., the specified pile function for needing to be marked, the corresponding relationship of pile beacon note and pipeline label, pipeline marks and file mark Corresponding relationship and the creation initialization operations such as output channel.
Preferably, as shown in figure 3, configuration file can be stored in file system 320 in the form of XML file.Wherein, match Setting file can define and save according to the type of the business in system under test (SUT) 310.After determining business to be tracked, it can pass through Dynamic configuration interface obtains correspondingly configuration file, and is initialized according to configuration file to system.Wherein, configuration text The change of part includes but are not limited to: increasing change, deletes change and modification change, correspondingly, configuration file definition can be used Following kinds of schemes: scheme one defines three configuration files, and each configuration file defines an output channel, each efferent duct Road is only associated with the pile beacon note of a kind of change, is respectively used to tracking increase, deletes, modification, system information is respectively outputted to three texts Part respectively corresponds increase change, deletes change, modification change.Scheme two defines a configuration file, in one configuration Three output channels are defined in file, while being tracked three classes and being changed and export three system informations.Scheme three defines a configuration File defines an output channel in one configuration file, and is associated with the pile beacon note of three classes change, tracking result one A output file includes the system information of three classes change.
In addition, in the present embodiment, JVM management terminal tool 360 can also may be implemented by JMX agreement and control is managed The long-range connection of device 350 is managed, and then realizes the long-range control to system.
In conclusion information processing method described in the present embodiment can dynamically determine business to be tracked, to it is described The pile function that determining business to be tracked matches is marked;Then, the pile function output for carrying the pile beacon note is obtained Tracking information;And the tracking information is exported by the output channel to match into corresponding file and is saved.As it can be seen that In In the present embodiment, the tracking information of output can match with business to be tracked, that is, needing to test i.e. what business Corresponding tracking information can be obtained, so that the tracking information of output is more targeted.
Secondly, in the present embodiment, acquisition is the tracking information for carrying the pile function output of the pile beacon note, change and Yan Zhi can be marked pile function according to different service dynamics, with output and the matched tracking information of business, flexibility Height is adapted to a variety of different scenes.Further, since the tracking information to match with business to be tracked can be only exported, therefore, Reduce amount of storage, reduce facility load, improves treatment effeciency.
Further, since targetedly tracking information careful analysis and assessment can be carried out to system performance, lead to Crossing method described in the present embodiment can be with quick positioning question, and can optimize the difference of the performance of the system of front and back with accurate evaluation It is different, the cost of exploitation, optimization, test is reduced, the period evaluated and optimized is substantially reduced.
It should be noted that for the aforementioned method embodiment, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described, because according to According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, The embodiments described in the specification are all preferred embodiments, and related movement is not necessarily essential to the invention.
Example IV
Based on showing a kind of letter in the embodiment of the present invention four referring to Fig. 5 with the same inventive concept of above method embodiment Cease the structural block diagram of processing system.In the present embodiment, the information processing system includes:
Determining module 502, for determining business to be tracked.
Mark module 504, the pile function for matching to the business to be tracked with the determination are marked.Wherein, One determining pile function to match corresponds to only one pile beacon note.
Module 506 is obtained, for obtaining the tracking information for carrying the pile function output of the pile beacon note.
Output module 508 is exported for the tracking information to be passed through the output channel to match into corresponding file It saves.
Preferably, referring to Fig. 6, a kind of structural frames of preferably information processing system in the embodiment of the present invention four are shown Figure.
In the present embodiment, the output module 508 may include: that pile beacon remembers determining submodule 5082, for determining State the corresponding pile beacon note of tracking information;Pipeline, which marks, determines submodule 5084, remembers the pipe to match with the pile beacon for determining Road label;Output sub-module 5086, for the tracking information to be remembered the pipe to match with the pile beacon by the determination Label indicated output channel in road, which is exported into corresponding file, to be saved.It is further preferred that the output sub-module 508, Specifically it is determined for file mark;Wherein, the pipe of the file mark and the determination to match with pile beacon note Road label is corresponding;And the tracking information is marked into institute by the pipeline of the determination to match with pile beacon note The output channel of instruction exports;And the pipeline to match with pile beacon note by the determination is marked signified The tracking information for the output channel output shown, which is stored in file indicated by the file mark of the determination, to be saved.
Preferably, the system can also include: configuration module 510, for the note of pile beacon described in dynamic configuration and the pipe Corresponding relationship between road label, and, the corresponding relationship between the pipeline label and the file mark.
Preferably, output module 508 specifically can be used for through the pipeline caching pair in the output channel to match The tracking information is cached;And the tracking information cached in pipeline caching is exported into corresponding file and is protected It deposits.It is further preferred that the system can also include: cleaning modul 512, for according to setting period and/or buffer memory capacity Threshold value clears up the tracking information cached in the pipeline caching in the output channel to match.
In conclusion information processing system described in the present embodiment can dynamically determine business to be tracked, to it is described The pile function that determining business to be tracked matches is marked;Then, the pile function output for carrying the pile beacon note is obtained Tracking information;And the tracking information is exported by the output channel to match into corresponding file and is saved.As it can be seen that In In the present embodiment, the tracking information of output can match with business to be tracked, that is, needing to test i.e. what business Corresponding tracking information can be obtained, so that the tracking information of output is more targeted.
Secondly, in the present embodiment, acquisition is the tracking information for carrying the pile function output of the pile beacon note, change and Yan Zhi can be marked pile function according to different service dynamics, with output and the matched tracking information of business, flexibility Height is adapted to a variety of different scenes.Further, since the tracking information to match with business to be tracked can be only exported, therefore, Reduce amount of storage, reduce facility load, improves treatment effeciency.
Further, since targetedly tracking information careful analysis and assessment can be carried out to system performance, lead to Crossing method described in the present embodiment can be with quick positioning question, and can optimize the difference of the performance of the system of front and back with accurate evaluation It is different, the cost of exploitation, optimization, test is reduced, the period evaluated and optimized is substantially reduced.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
Above to a kind of information processing method provided by the present invention and system, it is described in detail, it is used herein A specific example illustrates the principle and implementation of the invention, and the above embodiments are only used to help understand Method and its core concept of the invention;At the same time, for those skilled in the art is having according to the thought of the present invention There will be changes in body embodiment and application range, in conclusion the content of the present specification should not be construed as to the present invention Limitation.

Claims (12)

1. a kind of information processing method characterized by comprising
Determine business to be tracked;
The pile function to match to the business to be tracked with the determination is marked;Wherein, a determining stake to match Function corresponds to only one pile beacon note;Pile function default is not output tracking information, only just defeated after pile function is labeled Tracking information out;
Obtain the tracking information for carrying the pile function output of the pile beacon note;
The tracking information is exported by the output channel to match into corresponding file and is saved.
2. the method according to claim 1, wherein it is defeated that the tracking information is passed through to the output channel to match It is saved out into corresponding file, comprising:
Determine the corresponding pile beacon note of the tracking information;
The determining pipeline to match with pile beacon note marks;
By the tracking information output channel indicated by the pipeline label of the determination to match with pile beacon note Output is saved into corresponding file.
3. according to the method described in claim 2, it is characterized in that, the tracking information is passed through the determination and the stake The output channel for marking the pipeline to match label indicated, which is exported into corresponding file, to be saved, comprising:
Determine file mark;Wherein, the file mark and the pipeline of the determination to match with pile beacon note mark phase It is corresponding;
By the tracking information output channel indicated by the pipeline label of the determination to match with pile beacon note Output;
By the pipeline label to be matched by the determination and pile beacon note indicated output channel output with Track information preservation saves in the file indicated by the file mark of the determination.
4. according to the method described in claim 3, it is characterized by further comprising:
Corresponding relationship between the note of pile beacon described in dynamic configuration and pipeline label, and, the pipeline label and the text Corresponding relationship between part label.
5. the method according to claim 1, wherein it is defeated that the tracking information is passed through to the output channel to match It is saved out into corresponding file, comprising:
The tracking information is cached by the pipeline caching in the output channel to match;
The tracking information cached in pipeline caching is exported into corresponding file and is saved.
6. according to the method described in claim 5, it is characterized by further comprising:
According to setting period and/or buffer memory capacity threshold value, to what is cached in the pipeline caching in the output channel to match Tracking information is cleared up.
7. a kind of information processing system characterized by comprising
Determining module, for determining business to be tracked;
Mark module, the pile function for matching to the business to be tracked with the determination are marked;Wherein, a determination The pile function to match correspond to only one pile beacon note;Pile function default is not output tracking information, only works as pile function Just output tracking information after labeled;
Module is obtained, for obtaining the tracking information for carrying the pile function output of the pile beacon note;
Output module is saved for being exported the tracking information by the output channel to match into corresponding file.
8. system according to claim 7, which is characterized in that output module, comprising:
Pile beacon, which is remembered, determines submodule, for determining the corresponding pile beacon note of the tracking information;
Pipeline, which marks, determines submodule, marks for the determining pipeline to match with pile beacon note;
Output sub-module, for the tracking information to be marked institute by the pipeline of the determination to match with pile beacon note The output channel of instruction is exported into corresponding file and is saved.
9. system according to claim 8, which is characterized in that output sub-module, for determining file mark;Wherein, institute It is corresponding with the pipeline label of the determination to match with pile beacon note to state file mark;And by the tracking information It is exported by the indicated output channel of the pipeline label of the determination to match with pile beacon note;And it will be described logical The tracking information for crossing output channel output indicated by the pipeline label of the determination to match with pile beacon note is stored in It is saved in file indicated by the file mark of the determination.
10. system according to claim 9, which is characterized in that further include:
Configuration module, for the corresponding relationship between the note of pile beacon described in dynamic configuration and pipeline label, and, the pipeline Corresponding relationship between label and the file mark.
11. system according to claim 7, which is characterized in that output module, for passing through the efferent duct to match Pipeline caching in road caches the tracking information;And the tracking information cached in pipeline caching is exported Extremely saved in corresponding file.
12. system according to claim 11, which is characterized in that further include:
Cleaning modul is used for according to setting period and/or buffer memory capacity threshold value, to the pipeline in the output channel to match The tracking information cached in caching is cleared up.
CN201510884433.2A 2015-12-04 2015-12-04 A kind of information processing method and system Active CN106844169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510884433.2A CN106844169B (en) 2015-12-04 2015-12-04 A kind of information processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510884433.2A CN106844169B (en) 2015-12-04 2015-12-04 A kind of information processing method and system

Publications (2)

Publication Number Publication Date
CN106844169A CN106844169A (en) 2017-06-13
CN106844169B true CN106844169B (en) 2019-11-29

Family

ID=59150469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510884433.2A Active CN106844169B (en) 2015-12-04 2015-12-04 A kind of information processing method and system

Country Status (1)

Country Link
CN (1) CN106844169B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731366A (en) * 2004-08-06 2006-02-08 华为技术有限公司 Method of software trace and system therefor
CN101916226A (en) * 2010-08-31 2010-12-15 山东中创软件商用中间件股份有限公司 Thread information based multi-thread parallelly-executing tracking method
CN102460408A (en) * 2009-06-01 2012-05-16 惠普开发有限公司 System and method for collecting application performance data
CN103365716A (en) * 2013-06-25 2013-10-23 华为技术有限公司 Data tracking method and device in business operation task and host machine

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090288072A1 (en) * 2008-05-15 2009-11-19 International Business Machines Corporation Automatic Tests of Product Documentation
US8560610B2 (en) * 2010-06-16 2013-10-15 Brighttag Inc. Unified collection and distribution of data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1731366A (en) * 2004-08-06 2006-02-08 华为技术有限公司 Method of software trace and system therefor
CN102460408A (en) * 2009-06-01 2012-05-16 惠普开发有限公司 System and method for collecting application performance data
CN101916226A (en) * 2010-08-31 2010-12-15 山东中创软件商用中间件股份有限公司 Thread information based multi-thread parallelly-executing tracking method
CN103365716A (en) * 2013-06-25 2013-10-23 华为技术有限公司 Data tracking method and device in business operation task and host machine

Also Published As

Publication number Publication date
CN106844169A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
US11068382B2 (en) Software testing and verification
CN109614262B (en) Service checking method, device and computer readable storage medium
AU2017269595A1 (en) Extending object-schema-based application programming interfaces (Apis)
CN106790001A (en) Multisystem role-security management method and system based on unified interface
CN109639809A (en) A kind of method and device of service data request link monitoring
CN108200111A (en) Resource allocation information update method, device and resource interface equipment
CN108268592B (en) Screening method and device based on JSON data, server and storage medium
CN104462943A (en) Non-intrusive performance monitoring device and method for service system
US10884895B2 (en) Capture of software element state changes during software application runtime and application modification based on state changes
CN103714290A (en) Software behavior obtaining, monitoring and verifying method
CN111932226A (en) Data stream monitoring method based on block chain and big data and cloud computing service platform
CN103971211A (en) Information processing method and device
CN105119899A (en) Non-intrusive client operation data acquisition method and non-intrusive client operation data acquisition system
CN113535399A (en) NFV resource scheduling method, device and system
CN111414369B (en) Data processing method, device and equipment
CN112541018A (en) Bank pipelining processing method and device combining RPA and AI and electronic equipment
CN106547683A (en) A kind of redundant code detection method and device
CN104598348B (en) A kind of method and system of the long-range external system interface performance of analysis in real time
CN115756642A (en) Business process configuration method, device, equipment and storage medium
CN106844169B (en) A kind of information processing method and system
US9170905B2 (en) Base protocol layer testing device
CN106844096A (en) The treating method and apparatus of program code
CN103368970A (en) Automation security detection method for network target
CN113806594A (en) Business data processing method, device, equipment and storage medium based on decision tree
CN106293862B (en) A kind of analysis method and device of expandable mark language XML data

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