CN107045539A - A kind of ticket analysis method and device based on BS structures - Google Patents
A kind of ticket analysis method and device based on BS structures Download PDFInfo
- Publication number
- CN107045539A CN107045539A CN201710072565.4A CN201710072565A CN107045539A CN 107045539 A CN107045539 A CN 107045539A CN 201710072565 A CN201710072565 A CN 201710072565A CN 107045539 A CN107045539 A CN 107045539A
- Authority
- CN
- China
- Prior art keywords
- ticket
- analysis
- analyzing
- cdr file
- verification
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/35—Clustering; Classification
Abstract
The invention discloses a kind of ticket analysis method and device based on BS structures, solve current analysis ticket, requirement first to ticket analyst is too high, need to be familiar with format of billing, it should be understood that instrument is used, it is necessary to result verification etc., secondly non-visual interpretation of result and presentation, analyst can not be got information about the existing critical data of Data Concurrent, the technical problem of caused analysis ticket inefficiency.The ticket analysis method based on BS structures of the present invention includes:Ticket to be analyzed is got, and according to the integrality of preset inspection rule verification CDR file;The analysis and identification of CDR file type are carried out by preset ticket type and ticket feature to CDR file of the verification after complete;Corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and the result after analyzing and processing is shown.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of ticket analysis method and device based on BS structures.
Background technology
B/S structures are browser and server structure.It is with the rise of Internet technologies, to the one of C/S structures
Plant change or improved structure.Under this configuration, user job interface is realized by WWW browsers, few part
The affair logic is realized at front end (Browser), but major affairs logic is realized in server end (Server), forms so-called three
Layer 3-tier structures.B/S structures are a kind of network structure patterns after WEB rises, and web browser, which is that client is topmost, answers
Use software.This pattern has unified client, and the core that systemic-function is realized is focused on server, system is simplified
Exploitation, safeguard and use.As long as in client computer install a browser (Browser), such as Netscape Navigator or
Internet Explorer, server installs the databases such as Oracle, Sybase, Informix or SQL Server.Browser
Data interaction is carried out with database by Web Server.Client computer load is thus enormously simplify, system is alleviated
The cost and workload with upgrading are safeguarded, the overall cost (TCO) of user is reduced.
At present, prior art needs to be solved in Linux server, and to the technical requirements of analyst compared with
It is high:Ticket species and form are various, and analyst needs possess certain understanding to various format of billing and its implication;Ticket is analyzed
Tool kind is a lot, and analyst needs to be fully understood by the use of various instruments;Ticket, which usually requires analysis, repeatedly can just obtain most
Whole result, and every time analysis result will impact analysis person judgement, cause final result with it is expected complete inconsistent, it is existing
Technical Solving is, by being networked on server, installs various analysis tools, manual many times was carried out to ticket
Filter, analysis and is handled, for example, 1GB CDR file is analyzed on, it is necessary to which file is uploaded onto the server, while according to dividing
Analysis demand selects specific instrument, and finally manually more than one hundred million analysis results is verified, analysis result data is ultimately formed.
Present analysis ticket, the first requirement to ticket analyst are too high, it is necessary to be familiar with format of billing, it is to be understood that instrument
Using, it is necessary to which to result verification etc., secondly non-visual interpretation of result and presentation makes analyst can not get information about data
And critical data is found, cause the technical problem for analyzing ticket inefficiency.
The content of the invention
The embodiments of the invention provide a kind of ticket analysis method and device based on BS structures, current analysis is solved
Ticket, the first requirement to ticket analyst are too high, it is necessary to be familiar with format of billing, it is to be understood that instrument is using, it is necessary to result
Verification etc., secondly non-visual interpretation of result and presentation makes analyst can not get information about the existing critical data of Data Concurrent,
The technical problem of caused analysis ticket inefficiency.
A kind of ticket analysis method based on BS structures provided in an embodiment of the present invention, including:
Ticket to be analyzed is got, and according to the integrality of preset inspection rule verification CDR file;
CDR file type is carried out by preset ticket type and ticket feature to CDR file of the verification after complete
Analysis and identification;
Corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and the result after analyzing and processing is shown
Show.
Preferably, ticket to be analyzed is got, and the integrality for verifying CDR file according to preset inspection rule is specifically wrapped
Include:
Ticket to be analyzed is got, and according to the field integrality and content intact of preset inspection rule verification CDR file
Property;
Preset inspection rule is based on field completeness check, supplemented by content integrity verification.
Preferably, preset ticket type and ticket feature progress CDR file are passed through to CDR file of the verification after complete
The analysis and identification of type are specifically included:
CDR file type is carried out by preset ticket type and ticket feature to CDR file of the verification after complete
Analysis and identification;
Ticket type includes business ticket, flux and flow direction ticket, web analytics ticket;
Ticket feature includes 12 row fields, and first two columns is the time, and the 3rd and the 5th are classified as character string, and other are numeral, its
In pass through symbol | as the separation of interfield.
Preferably, corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and by the result after analyzing and processing
Display is carried out to specifically include:
Corresponding initial time, user account, Business Name and up-downgoing stream are carried out according to the ticket analysis instruction of acquisition
Measure the analyzing and processing of size;
According to form it is initial time, user account, Business Name, uplink traffic and descending by the result after analyzing and processing
Flow, while will as a result be shown with prompting the problem of being run into when analyzing.
Preferably, corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and by the result after analyzing and processing
Also include after being shown:
If there is ticket historical analysis, the analysis of CDR file is carried out according to the last ticket historical analysis.
A kind of ticket analytical equipment based on BS structures provided in an embodiment of the present invention, including:
Verification unit, for getting ticket to be analyzed, and according to the integrality of preset inspection rule verification CDR file;
CDR file type analysis unit, for passing through preset ticket type and words to CDR file of the verification after complete
Single feature carries out the analysis and identification of CDR file type;
Ticket analytic unit, for carrying out corresponding analyzing and processing according to the ticket analysis instruction of acquisition, and by analysis
Result after reason is shown.
Preferably, verification unit, ticket text is verified specifically for getting ticket to be analyzed, and according to preset inspection rule
The field integrality and content integrity of part;
Preset inspection rule is based on field completeness check, supplemented by content integrity verification.
Preferably, ticket type includes business ticket, flux and flow direction ticket, web analytics ticket;
Ticket feature includes 12 row fields, and first two columns is the time, and the 3rd and the 5th are classified as character string, and other are numeral, its
In pass through symbol | as the separation of interfield.
Preferably, ticket analytic unit includes:
Ticket analyzes subelement, for carrying out corresponding initial time according to the ticket analysis instruction of acquisition, user account,
The analyzing and processing of Business Name and up-downgoing uninterrupted;
As a result subelement is presented, for by the result after analyzing and processing according to form be initial time, user account, business
Title, uplink traffic and downlink traffic, while will as a result be shown with prompting the problem of being run into when analyzing.
Being preferably based on the ticket analytical equipment of BS structures also includes:
History ticket analytic unit, if for there is ticket historical analysis, being carried out according to the last ticket historical analysis
The analysis of CDR file.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
A kind of ticket analysis method and device based on BS structures provided in an embodiment of the present invention, wherein, based on BS structures
Ticket analysis method include:Ticket to be analyzed is got, and according to the integrality of preset inspection rule verification CDR file;It is right
CDR file after verification is complete carries out the analysis and identification of CDR file type by preset ticket type and ticket feature;
Corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and the result after analyzing and processing is shown.This implementation
In example, by getting ticket to be analyzed, and according to the integrality of preset inspection rule verification CDR file;After complete to verification
CDR file pass through analysis and identification that preset ticket type and ticket feature carry out CDR file type;According to acquisition
Ticket analysis instruction carries out corresponding analyzing and processing, and the result after analyzing and processing is shown, solves current analysis
Ticket, the first requirement to ticket analyst are too high, it is necessary to be familiar with format of billing, it is to be understood that instrument is using, it is necessary to result
Verification etc., secondly non-visual interpretation of result and presentation makes analyst can not get information about the existing critical data of Data Concurrent,
The technical problem of caused analysis ticket inefficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of flow of one embodiment of the ticket analysis method based on BS structures provided in an embodiment of the present invention
Schematic diagram;
Fig. 2 is a kind of stream of another embodiment of the ticket analysis method based on BS structures provided in an embodiment of the present invention
Journey schematic diagram;
Fig. 3 is a kind of structure of one embodiment of the ticket analytical equipment based on BS structures provided in an embodiment of the present invention
Schematic diagram;
Fig. 4 is a kind of knot of another embodiment of the ticket analytical equipment based on BS structures provided in an embodiment of the present invention
Structure schematic diagram.
Embodiment
The embodiments of the invention provide a kind of ticket analysis method and device based on BS structures, current analysis is solved
Ticket, the first requirement to ticket analyst are too high, it is necessary to be familiar with format of billing, it is to be understood that instrument is using, it is necessary to result
Verification etc., secondly non-visual interpretation of result and presentation makes analyst can not get information about the existing critical data of Data Concurrent,
The technical problem of caused analysis ticket inefficiency.
To enable goal of the invention, feature, the advantage of the present invention more obvious and understandable, below in conjunction with the present invention
Accompanying drawing in embodiment, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of embodiment of the invention, and not all embodiment.Based on the embodiment in the present invention, this area
All other embodiment that those of ordinary skill is obtained under the premise of creative work is not made, belongs to protection of the present invention
Scope.
Referring to Fig. 1, a kind of one embodiment of ticket analysis method based on BS structures provided in an embodiment of the present invention
Including:
101st, ticket to be analyzed is got, and according to the integrality of preset inspection rule verification CDR file;
In the present embodiment, when needing to analyze the ticket based on BS structures, it is necessary first to get words to be analyzed
It is single, and according to the integrality of preset inspection rule verification CDR file.
102nd, preset ticket type and ticket feature progress CDR file class are passed through to CDR file of the verification after complete
The analysis and identification of type;
When getting ticket to be analyzed, and verify according to preset inspection rule after the integrality of CDR file, it is necessary to right
CDR file after verification is complete carries out the analysis and identification of CDR file type by preset ticket type and ticket feature.
103rd, corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and the result after analyzing and processing is carried out
Display.
CDR file after to verification completely passes through preset ticket type and ticket feature carries out CDR file type
Analysis and identification after, it is necessary to carry out corresponding analyzing and processing according to the ticket analysis instruction of acquisition, and after analyzing and processing
Result shown.
In the present embodiment, the complete of CDR file is verified by getting ticket to be analyzed, and according to preset inspection rule
Property;CDR file after complete to verification by preset ticket type and ticket feature carry out CDR file type analysis and
Identification;Corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and the result after analyzing and processing is shown, is solved
The analysis ticket for having determined current, the first requirement to ticket analyst are too high, it is necessary to be familiar with format of billing, it is to be understood that instrument makes
With, it is necessary to which to result verification etc., secondly non-visual interpretation of result and presentation makes analyst can not get information about data simultaneously
It was found that critical data, the technical problem of caused analysis ticket inefficiency.
The above is the description of the process progress to the ticket analysis method based on BS structures, and detailed process will be carried out below
Detailed description, referring to Fig. 2, a kind of another reality of ticket analysis method based on BS structures provided in an embodiment of the present invention
Applying example includes:
201st, ticket to be analyzed is got, and according to the field integrality and content of preset inspection rule verification CDR file
Integrality;
In the present embodiment, when needing to analyze the ticket based on BS structures, it is necessary first to get words to be analyzed
It is single, and according to the field integrality and content integrity of preset inspection rule verification CDR file.
Preset inspection rule is based on field completeness check, supplemented by content integrity verification.
202nd, preset ticket type and ticket feature progress CDR file class are passed through to CDR file of the verification after complete
The analysis and identification of type;
When getting ticket to be analyzed, and the field integrality and content that verify CDR file according to preset inspection rule are complete
, it is necessary to carry out CDR file class by preset ticket type and ticket feature to CDR file of the verification after complete after whole property
The analysis and identification of type.
Ticket type includes business ticket, flux and flow direction ticket, web analytics ticket;
Ticket feature includes 12 row fields, and first two columns is the time, and the 3rd and the 5th are classified as character string, and other are numeral, its
In pass through symbol | as the separation of interfield.
203rd, corresponding initial time is carried out according to the ticket analysis instruction of acquisition, user account, Business Name and up and down
The analyzing and processing of row uninterrupted;
CDR file after to verification completely passes through preset ticket type and ticket feature carries out CDR file type
Analysis and identification after, it is necessary to carry out corresponding initial time, user account, business name according to the ticket analysis instruction of acquisition
Claim the analyzing and processing with up-downgoing uninterrupted.
204th, by the result after analyzing and processing according to form be initial time, user account, Business Name, uplink traffic and
Downlink traffic, while will as a result be shown with prompting the problem of being run into when analyzing;
When according to the corresponding initial time of the ticket analysis instruction of acquisition progress, user account, Business Name and up-downgoing
After the analyzing and processing of uninterrupted, it is necessary to by the result after analyzing and processing according to form be initial time, user account, business
Title, uplink traffic and downlink traffic, while will as a result be shown with prompting the problem of being run into when analyzing.
If the 205, there is ticket historical analysis, the analysis of CDR file is carried out according to the last ticket historical analysis.
Result after by analyzing and processing is initial time according to form, user account, Business Name, uplink traffic and under
Row flow, while after as a result being shown with prompting the problem of being run into when analyzing, if there is ticket historical analysis, root
The analysis of CDR file is carried out according to the last ticket historical analysis.
It is described below with a concrete application scene, application examples includes:
The first step:Ticket is uploaded:
Single upload is into system if analysis being needed, by the integrality of system check CDR file;
The integrality of CDR file mainly include field integrality, content integrity, wherein:
Whether field completeness check, every a line mainly verified in ticket has same column;
Content integrity is verified, and mainly whether the content of check column is same type.
The inspection rule of integrality is as follows:
Based on field completeness check, exception is then pointed out when field columns is inconsistent;
Supplemented by content integrity verification, when the content of row does not proceed subsequent analysis then for same type, do not point out different
Often, only as sign prompting, so that subsequent user carries out retrospective analysis to some anomalous contents.
Second step:Initial analysis and identification ticket type
System is by built-in, study or the type and feature of customization ticket, and there is provided phase for the type of active simple analysis ticket
The historical analysis process of pass, analyzes main points, provides the help of correlation for analyst in advance.
The type of ticket is a lot, including business ticket, flux and flow direction ticket, web analytics ticket etc., using business ticket as
Example, specific form such as table 1 below:
Table 1
The feature of ticket includes it can be seen from above-mentioned field, 12 row fields, and first two columns is time, the 3rd and the 5th row
For character string, other are numeral, while basis《China Mobile unifies DPI specifications》It is required that, interfield is divided into " | ", thus
May determine that for《China Mobile unifies DPI specifications》Business ticket type, if there is multiple history tickets for meeting feature
Type, is prompted to user, and user independently determines ticket type.
3rd step:Custom analysis demand
Analyst's defined analysis process according to demand, for example, filter the call bill data of several row, analyzes the tool of the content of ticket
Body size, concrete numerical value etc.
, it is necessary to analyze the initial time in ticket by taking business ticket as an example, user account, Business Name and up-downgoing flow
Size, wherein Original CDR content is as follows:
1480389600 | 1480389900 | 13720218988 | 1 | QQ videos | 100 | 201 | 40980 | 90922 | 102 |
5020|40092
1480389600 | 1480389900 | 13720218988 | 1 | QQ videos | 145 | 408 | 45980 | 200922 | 502 |
7020|80092
As desired, it is necessary to be analyzed as follows
Need individually filtering the 1st, 3,5,6,7 to arrange, export following data content:
1480389600 | 13720218988 | QQ videos | 100 | 201
1480389600 | 13720218988 | QQ videos | 145 | 408
The user for collecting identical services and account, exports following content results:
1480389600 | 13720218988 | QQ videos | 245 | 609
4th step:As a result present and be worth and find
Network analysis complete, will according to user need analysis form presentation result, such as interpretation of result, case study,
Detail data analysis etc., while the value point learnt according to historical analysis is presented
, it is necessary to analyze the initial time in ticket by taking business ticket as an example, user account, Business Name and up-downgoing flow
Size, then the form that result is presented is exactly initial time, user account, Business Name, uplink traffic and downlink traffic, simultaneously
The problem of being run into during by analysis and prompting are presented as a result.
If there is historical analysis, system can carry out the analysis of data, such as Business Stream according to the last historical analysis
Measure size ranking, user's ranking etc., the flow for analyzing which user is larger and which business of the user is more frequent, then
To user progress follow-up business set meal recommendation, the valuable decision-making such as advertisement recommendation.
5th step:Record and study analysis process
If analysis result reaches requirement, system can form fixed point by learning and recording this analysis result
Analysis process is preserved, so that analysis next time is used.
In the present embodiment, key point is confluence analysis instrument and study analysis process.Confluence analysis instrument, is easy to reduction pair
The technical requirements of analyst, make analyst focus more on the analysis and arrangement of data value.Study analysis process, is recorded and perfect
The process of history ticket analysis, being integrated into ticket analysis and the resources bank of ticket type, there is provided the efficiency that ticket is analyzed.
In the present embodiment, the complete of CDR file is verified by getting ticket to be analyzed, and according to preset inspection rule
Property;CDR file after complete to verification by preset ticket type and ticket feature carry out CDR file type analysis and
Identification;Corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and the result after analyzing and processing is shown, is solved
The analysis ticket for having determined current, the first requirement to ticket analyst are too high, it is necessary to be familiar with format of billing, it is to be understood that instrument makes
With, it is necessary to which to result verification etc., secondly non-visual interpretation of result and presentation makes analyst can not get information about data simultaneously
It was found that critical data, the technical problem of caused analysis ticket inefficiency, the present invention can be analyzed by analysis of history ticket
Process, summarizes and is formed ticket analysis resources bank, facilitate analyst to be analyzed ticket and be worth excavation from many aspects, with
And the correctness of checking ticket, while by optimizing analysis tool, more friendly and efficient help analyst, and Article 3 can not
Realize study, the function of integrating and optimize.
Referring to Fig. 3, a kind of one embodiment of ticket analytical equipment based on BS structures provided in an embodiment of the present invention
Including:
Verification unit 301, the complete of CDR file is verified for getting ticket to be analyzed, and according to preset inspection rule
Property;
CDR file type analysis unit 302, for passing through preset ticket type to CDR file of the verification after complete
The analysis and identification of CDR file type are carried out with ticket feature;
Ticket analytic unit 303, for carrying out corresponding analyzing and processing according to the ticket analysis instruction of acquisition, and will analysis
Result after processing is shown.
In the present embodiment, ticket to be analyzed is got by verification unit 301, and ticket is verified according to preset inspection rule
The integrality of file;CDR file after the 302 pairs of verifications of CDR file type analysis unit are complete passes through preset ticket type
The analysis and identification of CDR file type are carried out with ticket feature;Ticket analytic unit 303 is according to the ticket analysis instruction of acquisition
Corresponding analyzing and processing is carried out, and the result after analyzing and processing is shown, current analysis ticket is solved, talks with first
The requirement of single analyst is too high, it is necessary to be familiar with format of billing, it is to be understood that instrument is used, it is necessary to which to result verification etc., next is non-
Visual interpretation of result and presentation, make analyst can not get information about the existing critical data of Data Concurrent, caused analysis words
The technical problem of single inefficiency.
The above is that each unit of the ticket analytical equipment based on BS structures is described in detail, below by sub-unit
It is described, referring to Fig. 4, a kind of another implementation of ticket analytical equipment based on BS structures provided in an embodiment of the present invention
Example includes:
Verification unit 401, the complete of CDR file is verified for getting ticket to be analyzed, and according to preset inspection rule
Property, verification unit 401, specifically for getting ticket to be analyzed, and according to the field of preset inspection rule verification CDR file
Integrality and content integrity;
Preset inspection rule is based on field completeness check, supplemented by content integrity verification.;
CDR file type analysis unit 402, for passing through preset ticket type to CDR file of the verification after complete
The analysis and identification of CDR file type are carried out with ticket feature, ticket type includes business ticket, flux and flow direction ticket, website
Analyze ticket;
Ticket feature includes 12 row fields, and first two columns is the time, and the 3rd and the 5th are classified as character string, and other are numeral, its
In pass through symbol | as the separation of interfield;
Ticket analytic unit 403, for carrying out corresponding analyzing and processing according to the ticket analysis instruction of acquisition, and will analysis
Result after processing is shown.
Ticket analytic unit 403 includes:
Ticket analyzes subelement 4031, for carrying out corresponding initial time, user according to the ticket analysis instruction of acquisition
The analyzing and processing of account, Business Name and up-downgoing uninterrupted;
As a result present subelement 4032, for by the result after analyzing and processing according to form be initial time, user account,
Business Name, uplink traffic and downlink traffic, while will as a result be shown with prompting the problem of being run into when analyzing.
History ticket analytic unit 404, if for there is ticket historical analysis, being entered according to the last ticket historical analysis
The analysis of jargon monofile.
In the present embodiment, ticket to be analyzed is got by verification unit 401, and ticket is verified according to preset inspection rule
The integrality of file;CDR file after the 402 pairs of verifications of CDR file type analysis unit are complete passes through preset ticket type
The analysis and identification of CDR file type are carried out with ticket feature;Ticket analytic unit 403 is according to the ticket analysis instruction of acquisition
Corresponding analyzing and processing is carried out, and the result after analyzing and processing is shown, current analysis ticket is solved, talks with first
The requirement of single analyst is too high, it is necessary to be familiar with format of billing, it is to be understood that instrument is used, it is necessary to which to result verification etc., next is non-
Visual interpretation of result and presentation, make analyst can not get information about the existing critical data of Data Concurrent, caused analysis words
The technical problem of single inefficiency, the present invention can analyze process by analysis of history ticket, summarize and formed ticket analysis money
Source storehouse, facilitates analyst to be analyzed ticket and be worth excavation from many aspects, and verifies the correctness of ticket, leads to simultaneously
Optimization analysis tool, more friendly and efficient help analyst are crossed, and Article 3 can not realize study, the work(integrated and optimized
Energy.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematical, for example, the unit
Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component
Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or
The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces
Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used
When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially
The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer
Equipment (can be personal computer, the ticket Analysis server based on BS structures, or the network equipment etc.) perform the present invention respectively
The all or part of step of individual embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. it is various can be with the medium of store program codes.
Described above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Embodiment is stated the present invention is described in detail, it will be understood by those within the art that:It still can be to preceding
State the technical scheme described in each embodiment to modify, or equivalent substitution is carried out to which part technical characteristic;And these
Modification is replaced, and the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a kind of ticket analysis method based on BS structures, it is characterised in that including:
Ticket to be analyzed is got, and according to the integrality of preset inspection rule verification CDR file;
The analysis of CDR file type is carried out by preset ticket type and ticket feature to CDR file of the verification after complete
And identification;
Corresponding analyzing and processing is carried out according to the ticket analysis instruction of acquisition, and the result after analyzing and processing is shown.
2. the ticket analysis method according to claim 1 based on BS structures, it is characterised in that get words to be analyzed
It is single, and specifically included according to the integrality of preset inspection rule verification CDR file:
Ticket to be analyzed is got, and according to the field integrality and content integrity of preset inspection rule verification CDR file;
Preset inspection rule is based on field completeness check, supplemented by content integrity verification.
3. the ticket analysis method according to claim 2 based on BS structures, it is characterised in that after complete to verification
The analysis and identification that monofile carries out CDR file type by preset ticket type and ticket feature are specifically included:
The analysis of CDR file type is carried out by preset ticket type and ticket feature to CDR file of the verification after complete
And identification;
Ticket type includes business ticket, flux and flow direction ticket, web analytics ticket;
Ticket feature includes 12 row fields, and first two columns is the time, and the 3rd and the 5th are classified as character string, and other are numeral, wherein logical
Cross symbol | as the separation of interfield.
4. the ticket analysis method according to claim 1 based on BS structures, it is characterised in that according to the ticket of acquisition point
Analysis instruction carries out corresponding analyzing and processing, and the result progress display after analyzing and processing is specifically included:
Corresponding initial time is carried out according to the ticket analysis instruction of acquisition, user account, Business Name and up-downgoing flow are big
Small analyzing and processing;
By the result after analyzing and processing according to form be initial time, user account, Business Name, uplink traffic and downstream
Amount, while will as a result be shown with prompting the problem of being run into when analyzing.
5. the ticket analysis method according to claim 3 based on BS structures, it is characterised in that according to the ticket of acquisition point
Analysis instruction carries out corresponding analyzing and processing, and also includes after the result after analyzing and processing is shown:
If there is ticket historical analysis, the analysis of CDR file is carried out according to the last ticket historical analysis.
6. a kind of ticket analytical equipment based on BS structures, it is characterised in that including:
Verification unit, for getting ticket to be analyzed, and according to the integrality of preset inspection rule verification CDR file;
CDR file type analysis unit, it is special by preset ticket type and ticket for the CDR file to verification after complete
Levy the analysis and identification for carrying out CDR file type;
Ticket analytic unit, for carrying out corresponding analyzing and processing according to the ticket analysis instruction of acquisition, and by after analyzing and processing
Result shown.
7. the ticket analytical equipment according to claim 6 based on BS structures, it is characterised in that verification unit, specific to use
In getting ticket to be analyzed, and verify according to preset inspection rule the field integrality and content integrity of CDR file;
Preset inspection rule is based on field completeness check, supplemented by content integrity verification.
8. the ticket analytical equipment according to claim 6 based on BS structures, it is characterised in that ticket type includes business
Ticket, flux and flow direction ticket, web analytics ticket;
Ticket feature includes 12 row fields, and first two columns is the time, and the 3rd and the 5th are classified as character string, and other are numeral, wherein logical
Cross symbol | as the separation of interfield.
9. the ticket analytical equipment according to claim 6 based on BS structures, it is characterised in that ticket analytic unit bag
Include:
Ticket analyzes subelement, for carrying out corresponding initial time, user account, business according to the ticket analysis instruction of acquisition
The analyzing and processing of title and up-downgoing uninterrupted;
As a result subelement is presented, for by the result after analyzing and processing according to form be initial time, user account, business name
Claim, uplink traffic and downlink traffic, while will as a result be shown with prompting the problem of being run into when analyzing.
10. the ticket analytical equipment according to claim 8 based on BS structures, it is characterised in that if BS structures
Single analytical equipment also includes:
History ticket analytic unit, if for there is ticket historical analysis, ticket is carried out according to the last ticket historical analysis
The analysis of file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710072565.4A CN107045539A (en) | 2017-02-10 | 2017-02-10 | A kind of ticket analysis method and device based on BS structures |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710072565.4A CN107045539A (en) | 2017-02-10 | 2017-02-10 | A kind of ticket analysis method and device based on BS structures |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107045539A true CN107045539A (en) | 2017-08-15 |
Family
ID=59544586
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710072565.4A Pending CN107045539A (en) | 2017-02-10 | 2017-02-10 | A kind of ticket analysis method and device based on BS structures |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107045539A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111432077A (en) * | 2020-03-27 | 2020-07-17 | 广西东信易联科技有限公司 | CDR-based normalized flow statistical device and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933512A (en) * | 2006-09-30 | 2007-03-21 | 华为技术有限公司 | Tollticket processing equipment and method |
CN101014061A (en) * | 2007-01-26 | 2007-08-08 | 华为技术有限公司 | Method and apparatus for generating testing script and testing method and apparatus and system |
CN103200338A (en) * | 2013-03-25 | 2013-07-10 | 苏州洲际传书信息科技有限公司 | Telephone traffic statistic method |
CN105827432A (en) * | 2015-12-29 | 2016-08-03 | 广东亿迅科技有限公司 | SHELL script-based traffic log statistical method and statistical system |
-
2017
- 2017-02-10 CN CN201710072565.4A patent/CN107045539A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1933512A (en) * | 2006-09-30 | 2007-03-21 | 华为技术有限公司 | Tollticket processing equipment and method |
CN101014061A (en) * | 2007-01-26 | 2007-08-08 | 华为技术有限公司 | Method and apparatus for generating testing script and testing method and apparatus and system |
CN103200338A (en) * | 2013-03-25 | 2013-07-10 | 苏州洲际传书信息科技有限公司 | Telephone traffic statistic method |
CN105827432A (en) * | 2015-12-29 | 2016-08-03 | 广东亿迅科技有限公司 | SHELL script-based traffic log statistical method and statistical system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111432077A (en) * | 2020-03-27 | 2020-07-17 | 广西东信易联科技有限公司 | CDR-based normalized flow statistical device and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104424595A (en) | Tax administration monitoring method and tax administration monitoring system thereof | |
CN106408410A (en) | Automatic account checking method and device | |
CN110162566A (en) | Association analysis method, device, computer equipment and the storage medium of business datum | |
CN111639480A (en) | Text labeling method based on artificial intelligence, electronic device and storage medium | |
CN107657516A (en) | Generate the method and financial server of voucher | |
CN107145482A (en) | Article generation method and device, equipment and computer-readable recording medium based on artificial intelligence | |
CN107767005A (en) | Profit flow table injustice checking method and system based on bookkeeping voucher | |
CN106203808A (en) | Enterprise Credit Risk Evaluation method and apparatus | |
CN104731977A (en) | Phone number data search and classification method | |
CN104077530A (en) | Method and device used for evaluating safety of data access sentence | |
CN102567413A (en) | System and method for data filtering | |
CN103077192B (en) | A kind of data processing method and system thereof | |
CN104182900A (en) | Business data processing method, device and system | |
CN106815725A (en) | A kind of transaction verification method and device | |
CN109992588A (en) | It is a kind of to divide folk prescription method and relevant device based on data processing | |
CN106959990A (en) | Information visual analysis method, device and terminal based on analysis model | |
CN105912311A (en) | Method and device for intuitively prompting payment amount | |
CN106777398A (en) | The generation method and device of a kind of csv file | |
CN101388036A (en) | Data table summarizing method and device | |
CN106022736A (en) | Card issuer and acquirer settlement method in traffic field multi-city intercommunication | |
CN110097443A (en) | A kind of accounting processing method and its system based on economic affairs classification | |
CN107463669A (en) | The method and device for the web data that parsing reptile crawls | |
CN107045539A (en) | A kind of ticket analysis method and device based on BS structures | |
CN102201082A (en) | Device and method for realizing correspondence between type of business object and subject | |
CN111598674B (en) | Accounting report generation method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170815 |