CN105142045B - PON performance datas processing system and method - Google Patents

PON performance datas processing system and method Download PDF

Info

Publication number
CN105142045B
CN105142045B CN201510511253.XA CN201510511253A CN105142045B CN 105142045 B CN105142045 B CN 105142045B CN 201510511253 A CN201510511253 A CN 201510511253A CN 105142045 B CN105142045 B CN 105142045B
Authority
CN
China
Prior art keywords
file
filename
name
module
pon
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
CN201510511253.XA
Other languages
Chinese (zh)
Other versions
CN105142045A (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.)
Huzhou Yinglie Intellectual Property Operation Co ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510511253.XA priority Critical patent/CN105142045B/en
Publication of CN105142045A publication Critical patent/CN105142045A/en
Application granted granted Critical
Publication of CN105142045B publication Critical patent/CN105142045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses a kind of PON performance datas processing system, including:File generating module for obtaining PON performance datas, and selects the first filename to be named file;It renames module, for when the file size with the name of the first filename reaches threshold value, closing the current operation of file, and file name is changed to the second filename;File uploading module for searching whether there is the file named with second filename in particular point in time, and when the file named there are second filename, uploads the file to data server.The present invention also provides a kind of PON performance data processing methods.

Description

PON performance datas processing system and method
Technical field
The present invention relates to a kind of communication data treatment technologies, and in particular to a kind of PON performance datas processing system and method.
Background technology
Performance statistics are to carry out performance monitoring for network, network element or equipment, to acquire relevant performance statistics number According to, the validity of evaluation network and network element, the state of reporting device.The purpose of performance statistics is to support the network planning and net Network is analyzed, to improve the performance and efficiency of network.Periodically to performance statistic is reported from the background in equipment running process, from the background The fingers such as various indexs, such as the quality (percent of call completed, cutting off rate) of network, load (number of users, flow), availability are obtained after summarizing Mark.Daily maintenance, examination and the upgrade expanding decision that these indexs are carried out with user are closely bound up.Currently, most of performance Statistical project is all to be configured to each objects of statistics collection of statistical data according to performance statistics, then handle statistical data.
Passive optical-fiber network PON (Passive Optical Network) system includes optical line terminal OLT (Optical Line Terminal) equipment and optical network unit ONU (Optical Network Unit).Wherein OLT device is relatively common It is rack OLT device, including main control card and line card, there is efficient bandwidth availability ratio and Ethernet service tenability, side Auxiliary operation quotient provides reliable quality of service to the user and ensures.Wherein, main control card is the core control of whole equipment, major function It is system control and processing broadband services.Main control card is communicated with line card, completes configuration, management and control to equipment with this, together When the processing of system alarm, performance information is realized by inband NMS channel, main control card passes through TCP/IP (Transmission Control Protocol/Internet Protocol) management of the protocol realization to each line card in OLT device, therefore need It wants any function that each line card is realized to be both needed to main control card to be controlled by Element management system or order line.
In order to fully ensure that the service quality of network operation, convenient for user to the daily maintenance and fault diagnosis of equipment, PON System supports the line card of OLT to carry out the performance statistics of data packet to ONU units.Existing ONU unit performances statistics is to utilize line Card is interacted with ONU units:The data packet of performance statistics is reported to line card by ONU units;Line card is then responsible for safeguarding ONU units Configuration information, and according to the configuration information to ONU units, the data packet that it is reported is filtered.The performance statistics of upload Data can reach data server, for safeguarding and analyzing use.
Under normal conditions, performance statistic generates in real time, and data can preserve into the file of set form, etc. file sizes Data server can be uploaded to when reaching certain value.More specifically, general several seconds statistics of performance data are primary, statistical items one As have tens, data volume is huge.Usual way is to generate a file at regular intervals, then in the form of a file on Pass data server.
There are a defects for above procedure, i.e.,:Data file, cannot be to this text into data server transmission process Part is written, this file can not be uploaded during write-in.That is, the generation and upload of file must continuously be held Row, i.e., cannot generate file during upload.Which increase the coupling between modules, it is unfavorable for safeguarding, and is easy to draw Play performance bottleneck.
Invention content
In order to solve the above technical problems, a kind of PON performance datas processing system of present invention offer and method.
One embodiment of the invention provides a kind of PON performance datas processing system, including:File generating module, for obtaining PON performance datas, and the first filename is selected to be named file;It renames module, for being ordered with the first filename when described When the file size of name reaches threshold value, the current operation of file is closed, and file name is changed to the second filename;On file Transmission module, for searching whether there is file name with second filename in particular point in time, and ought there are described the When the file of two filenames name, the file is uploaded to data server.
A kind of PON performance data processing methods of another embodiment of the present invention, including step:PON performance datas are obtained, and The first filename is selected to be named file;When the file size with the name of the first filename reaches threshold value, close The current operation of file, and file name is changed to the second filename;And it searches whether to exist with institute in particular point in time The file of the second filename name is stated, and when the file named there are second filename, uploads the file to data Server.
The PON performance datas processing system and method for the present invention applies different files in the different stages, and to become It changes filename mechanism and is decoupled with achieving the purpose that generate file and upper transmitting file, to realize while be written file and upload text Part.Thereby, it is possible to reduce code complexity and the degree of coupling, be conducive to product maintenance, and eliminate performance bottleneck, data generate With upload can sequence and independently execute.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art With obtain other attached drawings according to these attached drawings.
Fig. 1 is the functional block diagram of the PON performance data processing systems of the present invention;
Fig. 2 is the flow chart of PON performance data processing methods provided by the invention.
Specific implementation mode
Further more detailed description is made to technical scheme of the present invention with reference to the accompanying drawings and detailed description.It is aobvious So, described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based in the present invention Embodiment, the every other embodiment that those of ordinary skill in the art are obtained under the premise of not making creative work, The scope of protection of the invention should all be belonged to.
Referring to Fig. 1, the present invention provides a kind of PON performance datas processing system 100, the ONU units for OLT device Performance data counts.In the present embodiment, the PON meets G (Gigabit-Capable) PON standards.The PON performance datas Processing system 100 includes file generating module 10, enquiry module 20, module of renaming 30 and file uploading module 40.
The file generating module 10 selects the first filename A to order file for obtaining PON performance datas Name.In the present embodiment, the file generating module 10 obtains the performance data of ONU units by the line card of OLT device, i.e., described PON performance datas.
The module 30 of renaming is for when the file size with the first filename A names reaches threshold value, closing text The current operation of part, and file name is changed to the second filename B, the second filename B and is different from first file Name A.
The enquiry module 20 is used for before file name to be changed to the second filename B, and the second filename B of inquiry is No presence, if it is present increasing suffix on the second filename B, i.e., the second filename B becomes B_x, then so that more famous model File name is changed to increase the second filename B_x of suffix by block 30.It, will inquiry if the second filename B is not present As a result it is transmitted to the module 30 of renaming so that file name is changed to the second filename B by module of renaming 30.
The file uploading module 40 is used to search whether to exist in particular point in time and be named with the second filename B File uploads the file to data server when the file named there are the second filename B.When there is no with institute When stating the file of the second filename B names, the file uploading module 40 is further searched for the presence or absence of to increase suffix The file of second filename B_x names, if it is present the file uploading module 40 uploads the file to data service Otherwise device continues to search for the file with the presence or absence of the second filename B names.In addition, the file uploading module 40 passes through The preset particular point in time of user uploads the operation of performance data to trigger, and the upload operation is independently of the more famous model The title change operation of block 30, can individually be turned on or off.In the present embodiment, the particular point in time is the more famous model Block 30 completes the time point of file name change operation.
Referring to Fig. 2, the present invention provides a kind of PON performance data processing methods, including step:
Step S201 obtains PON performance datas, and the first filename A is selected to be named file.
Step S202 closes the current behaviour of file when the file size with the first filename A names reaches threshold value Make.
Step S203 inquires the second filename B and whether there is, if it is present step S204 is executed, in the second text Increase suffix on part name B, and filename is changed to B_x.If it does not exist, then executing step S205, file name is changed For the second filename B.
Step S206 is searched whether there is the file named with the second filename B in particular point in time, and works as and exist When the file of the second filename B names, step S207 is executed:The file is uploaded to data server.More specifically, lead to The preset particular point in time of user is crossed to trigger upload operation, name of the upload operation independently of the module 30 of renaming Claim change operation.In the present embodiment, the particular point in time is the time point for completing file name change operation.It is appreciated that In other embodiments, the particular point in time can be any time point, for example, can be file size reach threshold value when Between point.
When there is no the file named with the second filename B, step S208 is executed:Search whether exist to increase The file of second filename B_x names of suffix, if it is present executing step S209:The file to data are uploaded to take Business device, otherwise return to step S206, continues to search for the file with the presence or absence of the second filename B names.
The PON performance datas processing system 100 and method of the present invention applies different files in the different stages, and It is decoupled with change file name mechanism with achieving the purpose that generate file and upper transmitting file, to realize while file and upload is written File.Thereby, it is possible to reduce code complexity and the degree of coupling, be conducive to product maintenance, and eliminate performance bottleneck, data life At with upload can sequence and independently execute.
Above disclosed is only the preferred embodiment in the embodiment of the present invention, cannot limit this hair with this certainly Bright interest field, therefore equivalent changes made in accordance with the claims of the present invention, are still within the scope of the present invention.

Claims (10)

1. a kind of PON performance datas processing system, which is characterized in that the system comprises:
File generating module for obtaining PON performance datas, and selects the first filename to be named file;
It renames module, for when file size arrival threshold value name with first filename, closing the current behaviour of file Make, and file name is changed to the second filename;And
File uploading module for searching whether there is the file named with second filename in particular point in time, and is worked as There are when the file of second filename name, the file is uploaded to data server.
2. PON performance datas processing system as described in claim 1, which is characterized in that the system further comprises inquiring Module whether there is for before file name is changed to the second filename, inquiring second filename, if deposited Then increasing suffix on the second filename, and so that file name is changed to increase the second text of suffix by module of renaming Part name;If the second filename is not present, file name is changed to second filename by the module that makes to rename.
3. PON performance datas processing system as claimed in claim 2, which is characterized in that when there is no with second file When the file of name name, the file uploading module further searches for naming with the presence or absence of with the second filename for increasing suffix File otherwise continue to search for whether depositing if it is present the file uploading module uploads the file to data server In the file of second filename name.
4. PON performance datas processing system as described in claim 1, which is characterized in that the file uploading module passes through use The preset particular point in time in family triggers upload operation, and the upload operation changes independently of the title of the module of renaming Operation.
5. PON performance datas processing system as claimed in claim 4, which is characterized in that the particular point in time be it is described more Name module completes the time point of file name change operation.
6. a kind of PON performance data processing methods, which is characterized in that described method includes following steps:
PON performance datas are obtained, and the first filename is selected to be named file;
When the file size named with first filename reaches threshold value, the current operation of file is closed, and by filename Title is changed to the second filename;And
Search whether there is the file named with second filename in particular point in time, and when there are second filenames When the file of name, the file is uploaded to data server.
7. performance data processing method as claimed in claim 6, which is characterized in that file name is changed to second described Before filename, further comprise step:
It inquires second filename whether there is, if it is present increasing suffix on the second filename, otherwise by the first text Part name is changed to the second filename.
8. performance data processing method as claimed in claim 7, which is characterized in that when there is no ordered with second filename When the file of name, further comprise step:
The file for searching whether the second filename name for having to increase suffix, if it is present uploading the file extremely Otherwise data server continues to search for the file with the presence or absence of second filename name.
9. performance data processing method as claimed in claim 6, which is characterized in that pass through the preset specific time of user It puts to trigger upload operation, title change operation of the upload operation independently of module of renaming.
10. performance data processing method as claimed in claim 6, which is characterized in that the particular point in time is to complete file The time point of title change operation.
CN201510511253.XA 2015-08-19 2015-08-19 PON performance datas processing system and method Active CN105142045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510511253.XA CN105142045B (en) 2015-08-19 2015-08-19 PON performance datas processing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510511253.XA CN105142045B (en) 2015-08-19 2015-08-19 PON performance datas processing system and method

Publications (2)

Publication Number Publication Date
CN105142045A CN105142045A (en) 2015-12-09
CN105142045B true CN105142045B (en) 2018-07-31

Family

ID=54727229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510511253.XA Active CN105142045B (en) 2015-08-19 2015-08-19 PON performance datas processing system and method

Country Status (1)

Country Link
CN (1) CN105142045B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101321089A (en) * 2008-07-07 2008-12-10 中兴通讯股份有限公司 Warehouse entry method of performance data in telecommunication network management system
CN101546322A (en) * 2008-03-28 2009-09-30 北京爱国者存储科技有限责任公司 Breakpoint continuous transmission method of mobile storage equipment
CN101645031A (en) * 2009-06-30 2010-02-10 卡斯柯信号有限公司 Method for dynamically outputting log file according to time
CN102904744A (en) * 2012-03-06 2013-01-30 中兴通讯股份有限公司 Method and system for acquiring performance data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101546322A (en) * 2008-03-28 2009-09-30 北京爱国者存储科技有限责任公司 Breakpoint continuous transmission method of mobile storage equipment
CN101321089A (en) * 2008-07-07 2008-12-10 中兴通讯股份有限公司 Warehouse entry method of performance data in telecommunication network management system
CN101645031A (en) * 2009-06-30 2010-02-10 卡斯柯信号有限公司 Method for dynamically outputting log file according to time
CN102904744A (en) * 2012-03-06 2013-01-30 中兴通讯股份有限公司 Method and system for acquiring performance data

Also Published As

Publication number Publication date
CN105142045A (en) 2015-12-09

Similar Documents

Publication Publication Date Title
US9565120B2 (en) Method and system for performing distributed deep-packet inspection
CN102780726B (en) A kind of log analysis method based on WEB platform and system
CN103546343B (en) The network traffics methods of exhibiting of network traffic analysis system and system
CN107124630A (en) The method and device of node data management
US9614766B2 (en) System and method to analyze congestion in low latency network
CN106250424A (en) The searching method of a kind of daily record context, Apparatus and system
CN102946320B (en) Distributed supervision method and system for user behavior log forecasting network
CN107994942B (en) Method for discovering topology of service resource tree of optical broadband access network
CN104065521A (en) System and method for acquiring, analyzing and releasing power network equipment logs and configuration files
US20150188879A1 (en) Apparatus for grouping servers, a method for grouping servers and a recording medium
CN110048912B (en) Photoelectric cross-layer network monitoring system, data processing method and device
CN107622064A (en) A kind of method for reading data and system
US11650994B2 (en) Monitoring network traffic to determine similar content
CN107210923B (en) Method and apparatus for predicting successful DSL line optimization
CN103532796B (en) Large ISP interconnection port statistical system and method
CN108733698A (en) A kind of processing method and background service system of log information
CN101127630A (en) Method, device and system for managing object instant
CN106559498A (en) Air control data collection platform and its collection method
KR102423039B1 (en) Real-time packet data storing method and apparatus for mass network monitoring
CN105142045B (en) PON performance datas processing system and method
KR20140040120A (en) Method and device for extracting data from a data stream travelling around an ip network
CN103957119A (en) Method for managing network devices through MIB file and browser
CN114007150B (en) PON port cracking method and device based on port flow monitoring
KR102423038B1 (en) Real-time packet data collection method and apparatus for mass network monitoring
CN108040124A (en) The method and device of control mobile terminal application based on DNS-Over-HTTP agreements

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201123

Address after: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201216

Address after: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee after: Bengbu Lichao Information Technology Co.,Ltd.

Address before: Room 10242, No. 260, Jiangshu Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou Jiji Intellectual Property Operation Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210315

Address after: 313000 room 1019, Xintiandi commercial office, Yishan street, Wuxing District, Huzhou, Zhejiang, China

Patentee after: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Address before: 8319 Yanshan Road, Bengbu City, Anhui Province

Patentee before: Bengbu Lichao Information Technology Co.,Ltd.

TR01 Transfer of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: PON performance data processing system and method

Effective date of registration: 20230111

Granted publication date: 20180731

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2023330000072

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231205

Granted publication date: 20180731

Pledgee: Huzhou Wuxing Rural Commercial Bank Co.,Ltd. high tech Zone Green sub branch

Pledgor: Huzhou YingLie Intellectual Property Operation Co.,Ltd.

Registration number: Y2023330000072

PC01 Cancellation of the registration of the contract for pledge of patent right