CN105357060A - Method, device and system for obtaining network equipment performance data - Google Patents

Method, device and system for obtaining network equipment performance data Download PDF

Info

Publication number
CN105357060A
CN105357060A CN201510907133.1A CN201510907133A CN105357060A CN 105357060 A CN105357060 A CN 105357060A CN 201510907133 A CN201510907133 A CN 201510907133A CN 105357060 A CN105357060 A CN 105357060A
Authority
CN
China
Prior art keywords
network equipment
performance data
time
uploading instructions
judge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510907133.1A
Other languages
Chinese (zh)
Other versions
CN105357060B (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.)
Raisecom Technology Co Ltd
Original Assignee
Raisecom 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 Raisecom Technology Co Ltd filed Critical Raisecom Technology Co Ltd
Priority to CN201510907133.1A priority Critical patent/CN105357060B/en
Publication of CN105357060A publication Critical patent/CN105357060A/en
Application granted granted Critical
Publication of CN105357060B publication Critical patent/CN105357060B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method, device and system for obtaining network equipment performance data. The method includes the steps of: sending a first uploading instruction to network equipment in a current caching period, the first uploading instruction including a first time range of a previous caching period; and receiving performance data collected in the first time range in the first uploading instruction uploaded by the network equipment within a first preset time, and when the network equipment is judged to have successfully uploaded the performance data within the first preset time, continuing to execute the step of sending the first uploading instruction to the network equipment in the next caching period till that collection of the performance data by the network equipment needs to be stopped is judged. Through the scheme provided by the invention, after the network equipment is judged to have successfully uploaded the performance data within the first preset time, the first uploading instruction is sent to the network equipment in the next caching period, so that the first uploading instruction is not stacked in the network equipment, thereby lightening the load of the network equipment.

Description

A kind of methods, devices and systems obtaining network equipment performance data
Technical field
The present invention relates to data acquisition technology, espespecially a kind of methods, devices and systems obtaining network equipment performance data.
Background technology
Along with the continuous expansion with network size that develops rapidly of Communication in China networking, the complexity of the network equipment improves constantly, and a large amount of new business is constantly employed, and cause the workload that operator is administering and maintaining network increasing, cost is also more and more higher.In order to can monitor network machine operation better, improve the efficiency of network equipment maintenance, cut operating costs, analyze business variation tendency, improve service quality, people more and more pay close attention to and use Network Management Equipment periodically obtain the performance data of the network equipment and carry out statistical analysis.
The method of existing acquisition network equipment performance data roughly comprises:
Network Management Equipment receives the instruction gathered the performance data of the network equipment from user, the acquisition instructions that indication network equipment carries out data acquisition is sent directly to the network equipment, or the instruction network equipment being carried out to performance data collection is sent to performance data management server, start to indicate performance data management server to collect performance data to the network equipment; Wherein, acquisition instructions comprises caching period and gathers start time, and the instruction network equipment being carried out to performance data collection comprises caching period and gathers start time; The network equipment receives acquisition instructions, according to caching period periodically multi collect performance data buffer memory within each caching period from the collection start time in acquisition instructions; Performance data management server receives the instruction network equipment being carried out to performance data collection, periodically send uploading instructions to the network equipment according to caching period, uploading instructions comprises according to gathering that start time calculates with time range that is current time immediate caching period; The network equipment receives uploading instructions, and the performance data gathered in the time range in uploading instructions is uploaded to performance data management server.
In the method for existing acquisition network equipment performance data, because each caching period of performance data management server can send a uploading instructions to the network equipment, and will filling mining be carried out and repeatedly uploading instructions can be sent continuously to the network equipment, if the network equipment successfully cannot upload the performance data gathered in the time range in uploading instructions within caching period due to reasons such as networks, the uploading instructions that then performance data management server can be caused to send is piled up in the network device, thus has increased the weight of the burden of the network equipment.
Summary of the invention
In order to solve the problem, the present invention proposes a kind of methods, devices and systems obtaining network equipment performance data, the burden of the network equipment can be alleviated.
In order to achieve the above object, the present invention proposes a kind of method obtaining network equipment performance data, comprising:
The first uploading instructions is sent to the network equipment within the current cache cycle; Wherein, the first uploading instructions comprises the very first time scope of a caching period;
The performance data gathered within the scope of the very first time in the first uploading instructions that the reception network equipment is uploaded in the first Preset Time, and when judging that performance data is successfully uploaded by the network equipment in the first Preset Time, continue to perform the step sending the first uploading instructions within next caching period to the network equipment, until judge the collection needing to stop the network equipment being carried out to performance data.
Preferably, describedly also to comprise before the network equipment sends the first uploading instructions within the current cache cycle:
Receive the instruction that the performance data of the network equipment is gathered, generate acquisition tasks corresponding to the described network equipment according to caching period, and acquisition tasks corresponding for the described network equipment is put into acquisition tasks queue;
Describedly within the current cache cycle, send the first uploading instructions to the network equipment comprise:
Within the described current cache cycle, generate first of correspondence respectively by each acquisition tasks in the queue of execution cost acquisition tasks and upload task;
Search thread queue corresponding to the described network equipment in corresponding relation between the network equipment pre-set and thread queue, upload task by described first and put into the thread queue found;
Upload task by described first in the thread queue that finds described in performing generate described first uploading instructions and send to the described network equipment;
The step that described continuation execution sends the first uploading instructions to the network equipment within next caching period comprises:
Continue the step of the next task in the thread queue found described in performing.
Preferably, when searching the thread queue less than the described network equipment is corresponding in described corresponding relation, the method also comprises:
Create new thread queue, preserve the corresponding relation between the described network equipment and described new thread queue, and upload task by described first and put into described new thread queue; Upload task described first uploading instructions of generation by performing described first in described new thread queue and send to the described network equipment.
Preferably, when judging to need to stop carrying out the collection of performance data to the described network equipment, the method also comprises:
Delete the acquisition tasks that described in described acquisition tasks queue, the network equipment is corresponding, delete the corresponding relation between the described network equipment and thread queue, terminate the described network equipment corresponding first upload task.
Preferably, judge described in that the collection needing to stop carrying out the network equipment performance data comprises:
Receive the instruction stopping the collection described network equipment being carried out to performance data; Or receive the instruction of deleting the described network equipment.
Preferably, when judging that the performance data gathered within the scope of the very first time in described first uploading instructions is not successfully uploaded by the described network equipment in described first Preset Time, also comprised execution sends the step of the first uploading instructions within next caching period to the network equipment before described continuation:
Described first uploading instructions is sent to the described network equipment, judge that the performance data gathered within the scope of the very first time in described first uploading instructions is successfully uploaded by the described network equipment in the second Preset Time, or judge described second Preset Time time-out.
Preferably, at the nT in described current cache cycle 1moment sends described first uploading instructions to the described network equipment; Wherein, n for being more than or equal to 0, and is less than or equal to integer in any one, T 1be more than or equal to described first Preset Time, T is described caching period.
Preferably, when judge the described network equipment at described first Preset Time or performance data is successfully uploaded in described second time time, described continue to perform the step sending the first uploading instructions within next caching period to the network equipment before also comprise:
Difference between the initial time calculating the performance data that the initial time of the performance data gathered within the scope of very first time that the described network equipment uploads and described network equipment last time upload;
Judge that the difference calculated is greater than described caching period, send the second uploading instructions to the described network equipment; Wherein, the second uploading instructions comprise that initial time is the performance data that the described last time uploads between finish time and described caching period with second time range of the caching period of value;
Judge that the performance data gathered in described second time range is successfully uploaded by the described network equipment, the step of the difference between the initial time of the performance data that the initial time of the performance data gathered within the scope of the very first time that the described computing network equipment of continuation execution is uploaded and network equipment last time upload.
Preferably, describedly judge that the network equipment is at the first Preset Time or after performance data successfully being uploaded in the second time, also comprise before the difference between the initial time of the performance data that the initial time of the performance data gathered within the very first time that described computing network equipment is uploaded and the network equipment are once uploaded:
Judge to there is acquisition tasks corresponding to the described network equipment in described acquisition tasks queue.
Preferably, describedly send the second uploading instructions to the network equipment and comprise:
Thread queue corresponding to the described network equipment is searched in corresponding relation between the described network equipment and thread queue, the finish time of the performance data uploaded according to the described last time and described caching period generate second and upload task and put into the thread queue found, and upload task and generate described second uploading instructions by performing described second in the thread queue that finds and send to the described network equipment;
The step that described continuation execution sends the first uploading instructions to the network equipment within next caching period comprises:
Continue the step of the next task in the thread queue found described in performing.
Preferably, judge described in that the network equipment also comprises before the performance data gathered within the scope of the very first time in the first uploading instructions successfully having been uploaded in the first Preset Time or the second Preset Time:
Detect that the described network equipment terminates to upload the performance data gathered within the scope of the very first time in described first uploading instructions.
The invention allows for a kind of device obtaining network equipment performance data, at least comprise:
Sending module, for sending the first uploading instructions to the network equipment within the current cache cycle; Wherein, the first uploading instructions comprises the very first time scope of a caching period; Receive the first notification message, continue to perform the step sending the first uploading instructions within next caching period to the network equipment, until judge the collection needing to stop the network equipment being carried out to performance data;
Judge module, for receiving the performance data gathered within the scope of very first time in the first uploading instructions that the network equipment uploads in the first Preset Time, and when judging that performance data is successfully uploaded by the network equipment in the first Preset Time, send the first notification message to sending module.
Preferably, also comprise:
Receiver module, for receiving the instruction gathered the performance data of the described network equipment;
Generation module, for generating acquisition tasks corresponding to the described network equipment according to caching period, and puts into acquisition tasks queue by acquisition tasks corresponding for the described network equipment;
Described sending module specifically for:
Within the described current cache cycle, generate first of correspondence respectively by each acquisition tasks in the queue of execution cost acquisition tasks and upload task; Search thread queue corresponding to the described network equipment in corresponding relation between the network equipment pre-set and thread queue, upload task by described first and put into the thread queue found; Upload task by described first in the thread queue that finds described in performing generate described first uploading instructions and send to the described network equipment; Receive the first notification message, continue the step of the next task in the thread queue found described in performing, until judge the collection needing to stop the network equipment being carried out to performance data.
Preferably, described sending module also for:
Search in described corresponding relation less than thread queue corresponding to the described network equipment, create new thread queue, preserve the corresponding relation between the described network equipment and described new thread queue, and upload task by described first and put into described new thread queue; Upload task described first uploading instructions of generation by performing described first in described new thread queue and send to the described network equipment.
Preferably, described judge module also for:
When judging to need to stop carrying out the collection of performance data to the described network equipment, send the second notification message to removing module;
Also comprise:
Removing module, for receiving described second notification message, delete the acquisition tasks that described in described acquisition tasks queue, the network equipment is corresponding, delete the corresponding relation between the described network equipment and thread queue, terminate described some network equipments corresponding first upload task.
Preferably, judge described in that the collection needing to stop carrying out the network equipment performance data is:
Receive the instruction stopping the collection described network equipment being carried out to performance data; Or receive the instruction of deleting the described network equipment.
Preferably, described judge module also for:
When judging that the performance data gathered within the scope of the very first time in described first uploading instructions is not successfully uploaded by the described network equipment in described first Preset Time, send third notice message to described sending module; Judge that the performance data gathered within the scope of the very first time in described first uploading instructions is successfully uploaded by the described network equipment in the second Preset Time, or judge described second Preset Time time-out, send described first notification message to described sending module;
Described sending module also for:
Receive third notice message, send described first uploading instructions to the described network equipment.
Preferably, describedly within the current cache cycle, send the first uploading instructions to the network equipment be:
At the nT in described current cache cycle 1moment sends described first uploading instructions to the described network equipment; Wherein, n for being more than or equal to 0, and is less than or equal to integer in any one, T 1be more than or equal to described first Preset Time, T 2for described second Preset Time, T is described caching period.
Preferably, described judge module also for:
When judge the described network equipment at described first Preset Time or the performance data gathered within the scope of the very first time in described first uploading instructions is successfully uploaded in described second time time, to computing module send the 4th notification message; Judge that the difference calculated is greater than described caching period, send the 5th notification message to sending module; Judge that the performance data gathered in described second time range is successfully uploaded by the described network equipment, send described 4th notification message to computing module;
Also comprise:
Computing module, for receiving the 4th notification message, the difference between the initial time calculating the performance data that the initial time of the performance data gathered within the scope of very first time that the described network equipment uploads and described network equipment last time upload;
Described sending module also for: receive the 5th notification message, send the second uploading instructions to the described network equipment; Wherein, the second uploading instructions comprise that initial time is the performance data that the described last time uploads between finish time and described caching period with second time range of the caching period of value.
The invention allows for a kind of system obtaining network equipment performance data, at least comprise the device described in above-mentioned any one.
Preferably, also comprise:
Network Management Equipment, for sending the described instruction gathered the performance data of the network equipment to described device.
Compared with prior art, technical scheme of the present invention comprises: within the current cache cycle, send the first uploading instructions to the network equipment; Wherein, the first uploading instructions comprises the very first time scope of a caching period; The performance data gathered within the scope of the very first time in the first uploading instructions that the reception network equipment is uploaded in the first Preset Time, and when judging that the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded by the network equipment in the first Preset Time, continue to perform the step sending the first uploading instructions within next caching period to the network equipment, until judge the collection needing to stop the network equipment being carried out to performance data.Pass through the solution of the present invention, after judging that the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded by the network equipment in the first Preset Time, just within next caching period, send the first uploading instructions to the network equipment, first uploading instructions can not be piled up in the network device, thus alleviate the burden of the network equipment.
Further, when judging that the performance data gathered within the scope of the very first time in the first uploading instructions is not successfully uploaded by the network equipment in the first Preset Time, repeating to send the first uploading instructions to the network equipment, decreasing performance data and leaking the probability passed.
Further, judge the network equipment at the first Preset Time or the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded in the second time time, the difference between the initial time of the performance data that the initial time of performance data gathered within the scope of the very first time that computing network equipment is uploaded and network equipment last time upload; Judge that the difference calculated is greater than caching period, send the second uploading instructions to the network equipment; The performance data cannot uploaded due to reasons such as networks in the network equipment is re-started and uploads, further reduce performance data and leak the probability passed.
Further, at the nT in current cache cycle 1moment sends the first uploading instructions to the network equipment, improves the quantity uploading the network equipment of performance data within a caching period.
Accompanying drawing explanation
Be described the accompanying drawing in the embodiment of the present invention below, the accompanying drawing in embodiment is for a further understanding of the present invention, is used from explanation the present invention, does not form limiting the scope of the invention with specification one.
Fig. 1 is the flow chart that the present invention obtains the method for network equipment performance data;
Fig. 2 is the structure composition schematic diagram that the present invention obtains the device of network equipment performance data;
Fig. 3 is the structure composition schematic diagram that the present invention obtains the system of network equipment performance data.
Embodiment
For the ease of the understanding of those skilled in the art, below in conjunction with accompanying drawing, the invention will be further described, can not be used for limiting the scope of the invention.It should be noted that, when not conflicting, the various modes in the embodiment in the application and embodiment can combine mutually.
See Fig. 1, the present invention proposes a kind of method obtaining network equipment performance data, comprising:
Step 100, receive the instruction that the performance data of the network equipment is gathered, the acquisition tasks corresponding according to caching period generating network equipment, and acquisition tasks corresponding for the network equipment is put into acquisition tasks queue.
In this step, user or Network Management Equipment or the network equipment etc. can be come to the instruction that the performance data of the network equipment gathers.
In this step, the network equipment can when receiving acquisition instructions, start the performance data (as the time delay of service-level agreement (SLA, ServiceLevelAgreement), shake, packet loss and availability etc.) of Real-Time Monitoring self and buffer memory; Certainly, when other, the network equipment also just can start the performance data of Real-Time Monitoring self after normal startup that power on; Or monitor the performance data of self when starting under some predetermined case.
Acquisition instructions can come from Network Management Equipment or performance data management server.
In this step, acquisition tasks that can also be corresponding according to caching period generating network equipment, and acquisition tasks corresponding for the network equipment is put into acquisition tasks queue.
Wherein, caching period can pre-set, and also can be carried in the instruction gathered the performance data of the network equipment.
The method also comprises:
Step 101, within the current cache cycle, send the first uploading instructions to the network equipment.
In this step, the first uploading instructions comprises the very first time scope of a caching period.First uploading instructions can also comprise the filename of the path of uploading and/or the performance data uploaded.
In this step, at the nT in current cache cycle 1moment sends the first uploading instructions to the network equipment; Wherein, n for being more than or equal to 0, and is less than or equal to integer in any one, T 1be more than or equal to the first Preset Time, T is caching period; First Preset Time is more than or equal to the network equipment and normally successfully uploads time required for a performance data files.
In this step, within the current cache cycle, send the first uploading instructions to the network equipment comprise:
Within the current cache cycle, generate first of correspondence respectively by each acquisition tasks in the queue of scheduling acquisition tasks and upload task; Search thread queue corresponding to the described network equipment in corresponding relation between the network equipment pre-set and thread queue, upload task by first and put into the thread queue found; In the thread queue found by execution first uploads task generates the first uploading instructions and sends to the network equipment.
When searching the thread queue less than the network equipment is corresponding in corresponding relation, creating new thread queue, preserving the corresponding relation between the network equipment and new thread queue, and upload task by first and put into new thread queue; Upload task and generate the first uploading instructions by performing first in new thread queue and send to the network equipment.
After this step, locking object corresponding to the network equipment can also be created in the thread queue found or thread corresponding to new thread queue, preserve the corresponding relation between filename in the first uploading instructions and locking object, and control the thread that finds or new thread is waited on locking object.
Wherein, locking is a kind of mechanism of inter-thread communication, by creating a locking object in thread A, and thread A is waited on this locking object, thread B will be in waiting thread A by the ad hoc approach called in locking object and wake up subsequently, make thread A be continued to perform.
The performance data gathered within the scope of the very first time in the first uploading instructions that step 102, the reception network equipment are uploaded in the first Preset Time, and when judging that performance data is successfully uploaded by the network equipment in the first Preset Time, continue to perform the step sending the first uploading instructions within next caching period to the network equipment, until judge the collection needing to stop the network equipment being carried out to performance data.
In this step, the step that continuation execution sends the first uploading instructions to the network equipment within next caching period comprises:
Continuation performs the step of the next task in the thread queue found.
In this step, when judging that the performance data gathered within the scope of the very first time in the first uploading instructions is not successfully uploaded by the network equipment in the first Preset Time, also comprised before continuing execution to send the step of the first uploading instructions to the network equipment within next caching period:
Send the first uploading instructions to the network equipment, judge that the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded by the network equipment in the second Preset Time, or judge the second Preset Time time-out.
Wherein, the second Preset Time is more than or equal to the network equipment and normally successfully uploads time required for a performance data files, and the second Preset Time can be identical with the first Preset Time, also can be different from the first Preset Time.
In this case, T 1be more than or equal between the first Preset Time and the second Preset Time and value.
In this step, when judge the network equipment at the first Preset Time or the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded in the second time time, the difference between the initial time of the performance data that the initial time of performance data gathered within the scope of the very first time that computing network equipment is uploaded and network equipment last time upload; Judge that the difference calculated is greater than caching period, send the second uploading instructions to the network equipment; Wherein, the second uploading instructions comprise that initial time is the performance data that the last time uploads between finish time and caching period with second time range of the caching period of value; Judge that the performance data gathered in the second time range is successfully uploaded by the network equipment, the step of the difference between the initial time of the performance data that the initial time of the performance data gathered within the scope of the very first time that continuation execution computing network equipment is uploaded and network equipment last time upload.
Wherein, send the second uploading instructions to the network equipment to comprise: the thread queue that in the corresponding relation between the network equipment and thread queue, Network Search equipment is corresponding, the finish time of the performance data uploaded according to the last time and caching period generate second and upload task and put into the thread queue found, and upload task and generate described second uploading instructions by performing second in the thread queue that finds and send to the network equipment.
Wherein, the thread by finding sends the second uploading instructions to the network equipment and comprises:
Upload task with value generation second between the finish time of the performance data uploaded according to the last time and caching period, generated by the thread execution found second uploads task generates the second uploading instructions and sends to the network equipment.
Wherein, judge that the network equipment is at the first Preset Time or after the performance data gathered within the scope of the very first time in the first uploading instructions successfully being uploaded in the second time, also comprise before the difference between the initial time of the performance data that the initial time of the performance data gathered within the very first time that computing network equipment is uploaded and the network equipment are once uploaded:
Judge in acquisition tasks queue, to there is acquisition tasks corresponding to the network equipment.
Wherein, when judging not exist in acquisition tasks queue acquisition tasks corresponding to the network equipment, follow-up flow process is terminated.
In this step, judge that the network equipment also comprises before the performance data gathered within the scope of the very first time in the first uploading instructions successfully having been uploaded in the first Preset Time or the second Preset Time:
Detect that the network equipment terminates to upload the performance data gathered within the scope of the very first time in the first uploading instructions.
Wherein, specifically how whether Sampling network equipment terminates to upload the known technology that the performance data gathered within the scope of the very first time in the first uploading instructions belongs to those skilled in the art, and the protection range be not intended to limit the present invention, repeats no more here.
Wherein, whether can terminate to upload by detecting thread Sampling network equipment the performance data gathered within the scope of the very first time in the first uploading instructions, when detecting thread and detecting that the network equipment terminates to upload, or when the first Preset Time or the second Preset Time time-out, search the locking object that filename in the first uploading instructions is corresponding in corresponding relation between filename and locking object, the ad hoc approach called in the locking object found wakes the thread waited on this locking object up.
After the thread queue found or thread corresponding to new thread queue are waken up, judge whether the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded by the network equipment in the first Preset Time by the thread queue that finds or thread corresponding to new thread queue.
Due to the single-threaded characteristic of thread queue, synchronization, for the same network equipment, a files passe task can only be had to be performed, namely a performance data files is only had to upload, which ensure that the serial of network equipment working, the correctness then for uploading performance data files provides guarantee.
In this step, can by reading the management information bank (MIB of self, the state of the MIB node that this network equipment ManagementInformationBase) in interface is corresponding judges whether the performance data gathered within the scope of the network equipment very first time is successfully uploaded, the state of the MIB node that the network equipment is corresponding can preset, such as when the state of MIB node corresponding to this network equipment is 1, judge that the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded by the network equipment in the first Preset Time; When the state of MIB node corresponding to this network equipment is 2, judge that the performance data gathered within the scope of the very first time in the first uploading instructions is not successfully uploaded by the network equipment in the first Preset Time.
In this step, when judging to need to stop carrying out the collection of performance data to the network equipment, the method also comprises:
Delete the acquisition tasks that in acquisition tasks queue, the network equipment is corresponding, delete the corresponding relation between some network equipments and thread queue, terminate the network equipment corresponding first upload task.
Wherein, judge that the collection needing to stop carrying out the network equipment performance data comprises:
Receive the instruction stopping the collection network equipment being carried out to performance data;
Or receive the instruction of deleting the network equipment.
Wherein, stop can coming from user to the instruction of acquisition instructions or the deletion network equipment that the network equipment carries out performance data, also can come from Network Management Equipment.
Pass through the solution of the present invention, after judging that the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded by the network equipment in the first Preset Time, just within next caching period, send the first uploading instructions to the network equipment, first uploading instructions can not be piled up in the network device, thus alleviate the burden of the network equipment.
Further, when judging that the performance data gathered within the scope of the very first time in the first uploading instructions is not successfully uploaded by the network equipment in the first Preset Time, repeating to send the first uploading instructions to the network equipment, decreasing performance data and leaking the probability passed.
Further, judge the network equipment at the first Preset Time or the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded in the second time time, the difference between the initial time of the performance data that the initial time of performance data gathered within the scope of the very first time that computing network equipment is uploaded and network equipment last time upload; Judge that the difference calculated is greater than caching period, send the second uploading instructions to the network equipment; The performance data cannot uploaded due to reasons such as networks in the network equipment is re-started and uploads, further reduce performance data and leak the probability passed.
Further, at the nT in current cache cycle 1moment sends the first uploading instructions to the network equipment, improves the quantity uploading the network equipment of performance data within a caching period.
See Fig. 2, the invention allows for a kind of device obtaining network equipment performance data, at least comprise:
Sending module, for sending the first uploading instructions to the network equipment within the current cache cycle; Wherein, the first uploading instructions comprises the very first time scope of a caching period; Receive the first notification message, continue to perform the step sending the first uploading instructions within next caching period to the network equipment, until judge the collection needing to stop the network equipment being carried out to performance data;
Judge module, for receiving the performance data gathered within the scope of very first time in the first uploading instructions that the network equipment uploads in the first Preset Time, and when judging that performance data is successfully uploaded by the network equipment in the first Preset Time, send the first notification message to sending module.
In device of the present invention, also comprise:
Receiver module, for receiving the instruction gathered the performance data of the network equipment;
Generation module, for the acquisition tasks corresponding according to caching period generating network equipment, and puts into acquisition tasks queue by acquisition tasks corresponding for the network equipment;
Sending module specifically for:
Within the current cache cycle, generate first of correspondence respectively by each acquisition tasks in the queue of scheduling acquisition tasks and upload task; Search thread queue corresponding to the described network equipment in corresponding relation between the network equipment pre-set and thread queue, upload task by first and put into the thread queue found; In the thread queue found by execution first uploads task generates described first uploading instructions and sends to the network equipment; Receive the first notification message, continuation performs the step of the next task in the thread queue found, until judge the collection needing to stop the network equipment being carried out to performance data.
In device of the present invention, sending module also for:
Search in corresponding relation less than thread queue corresponding to the network equipment, create new thread queue, preserve the corresponding relation between the network equipment and described new thread queue, and task of uploading first puts into described new thread queue; Upload task and generate the first uploading instructions by performing first in new thread queue and send to the network equipment.
In device of the present invention, judge module also for:
When judging to need to stop carrying out the collection of performance data to the network equipment, send the second notification message to removing module;
Also comprise:
Removing module, for receiving the second notification message, deleting the acquisition tasks that in acquisition tasks queue, the network equipment is corresponding, deleting the corresponding relation between the network equipment and thread queue, terminate some network equipments corresponding first upload task.
In device of the present invention, judge that the collection needing to stop carrying out the network equipment performance data is:
Receive the instruction stopping the collection some network equipments being carried out to performance data; Or receive the instruction of deleting the network equipment.
In device of the present invention, judge module also for:
When judging that the performance data gathered within the scope of the very first time in the first uploading instructions is not successfully uploaded by the network equipment in the first Preset Time, send third notice message to sending module; Judge that the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded by the network equipment in the second Preset Time, or judge the second Preset Time time-out, send the first notification message to sending module;
Sending module also for:
Receive third notice message, send the first uploading instructions to the network equipment.
In device of the present invention, within the current cache cycle, send the first uploading instructions to the network equipment is:
At the nT in current cache cycle 1moment sends the first uploading instructions to the network equipment; Wherein, n for being more than or equal to 0, and is less than or equal to integer in any one, T 1be more than or equal to the first Preset Time, T 2be the second Preset Time, T is caching period.
In device of the present invention, judge module also for:
When judge the network equipment at the first Preset Time or the performance data gathered within the scope of the very first time in the first uploading instructions is successfully uploaded in the second time time, to computing module send the 4th notification message; Judge that the difference calculated is greater than caching period, send the 5th notification message to sending module; Judge that the performance data gathered in the second time range is successfully uploaded by the network equipment, send the 4th notification message to computing module;
Also comprise:
Computing module, for receiving the 4th notification message, the difference between the initial time of the performance data that the initial time of the performance data gathered within the scope of the very first time that computing network equipment is uploaded and network equipment last time upload;
Sending module also for: receive the 5th notification message, send the second uploading instructions to the network equipment; Wherein, the second uploading instructions comprise that initial time is the performance data that the last time uploads between finish time and caching period with second time range of the caching period of value.
See Fig. 3, the invention allows for a kind of system obtaining network equipment performance data, at least comprise the device described in above-mentioned any one; And,
Network Management Equipment, for sending the instruction gathered the performance data of the network equipment to the device described in above-mentioned any one.
It should be noted that; above-described embodiment is only understand for the ease of those skilled in the art; be not limited to protection scope of the present invention; under the prerequisite not departing from inventive concept of the present invention, any apparent replacement and improvement etc. that those skilled in the art make the present invention are all within protection scope of the present invention.

Claims (20)

1. obtain a method for network equipment performance data, it is characterized in that, comprising:
The first uploading instructions is sent to the network equipment within the current cache cycle; Wherein, the first uploading instructions comprises the very first time scope of a caching period;
The performance data gathered within the scope of the very first time in the first uploading instructions that the reception network equipment is uploaded in the first Preset Time, and when judging that performance data is successfully uploaded by the network equipment in the first Preset Time, continue to perform the step sending the first uploading instructions within next caching period to the network equipment, until judge the collection needing to stop the network equipment being carried out to performance data.
2. method according to claim 1, is characterized in that, describedly also comprises before the network equipment sends the first uploading instructions within the current cache cycle:
Receive the instruction that the performance data of the described network equipment is gathered, generate acquisition tasks corresponding to the described network equipment according to described caching period, and acquisition tasks corresponding for the described network equipment is put into acquisition tasks queue;
Describedly within the current cache cycle, send the first uploading instructions to the network equipment comprise:
Within the described current cache cycle, generate first of correspondence respectively by each acquisition tasks in the queue of execution cost acquisition tasks and upload task;
Search thread queue corresponding to the described network equipment in corresponding relation between the network equipment pre-set and thread queue, upload task by described first and put into the thread queue found;
Upload task by described first in the thread queue that finds described in performing generate described first uploading instructions and send to the described network equipment;
The step that described continuation execution sends the first uploading instructions to the network equipment within next caching period comprises:
Continue the step of the next task in the thread queue found described in performing.
3. method according to claim 2, is characterized in that, when searching the thread queue less than the described network equipment is corresponding in described corresponding relation, the method also comprises:
Create new thread queue, preserve the corresponding relation between the described network equipment and described new thread queue, and upload task by described first and put into described new thread queue; Upload task described first uploading instructions of generation by performing described first in described new thread queue and send to the described network equipment.
4. method according to claim 2, is characterized in that, when judging to need to stop carrying out the collection of performance data to the described network equipment, the method also comprises:
Delete the acquisition tasks that described in described acquisition tasks queue, the network equipment is corresponding, delete the corresponding relation between the described network equipment and thread queue, terminate the described network equipment corresponding first upload task.
5. method according to claim 4, is characterized in that, described in judge to need to stop the collection to the network equipment carries out performance data to comprise:
Receive the instruction stopping the collection described network equipment being carried out to performance data; Or receive the instruction of deleting the described network equipment.
6. method according to claim 1, it is characterized in that, when judging that the performance data gathered within the scope of the very first time in described first uploading instructions is not successfully uploaded by the described network equipment in described first Preset Time, also comprised execution sends the step of the first uploading instructions within next caching period to the network equipment before described continuation:
Described first uploading instructions is sent to the described network equipment, judge that the performance data gathered within the scope of the very first time in described first uploading instructions is successfully uploaded by the described network equipment in the second Preset Time, or judge described second Preset Time time-out.
7. the method according to claim 1 or 6, is characterized in that, at the nT in described current cache cycle 1moment sends described first uploading instructions to the described network equipment; Wherein, n for being more than or equal to 0, and is less than or equal to integer in any one, T 1be more than or equal to described first Preset Time, T is described caching period.
8. the method according to claim 1 ~ 7 any one, it is characterized in that, when judge the described network equipment at described first Preset Time or performance data is successfully uploaded in described second time time, described continue to perform the step sending the first uploading instructions within next caching period to the network equipment before also comprise:
Difference between the initial time calculating the performance data that the initial time of the performance data gathered within the scope of very first time that the described network equipment uploads and described network equipment last time upload;
Judge that the difference calculated is greater than described caching period, send the second uploading instructions to the described network equipment; Wherein, the second uploading instructions comprise that initial time is the performance data that the described last time uploads between finish time and described caching period with second time range of the caching period of value;
Judge that the performance data gathered in described second time range is successfully uploaded by the described network equipment, the step of the difference between the initial time of the performance data that the initial time of the performance data gathered within the scope of the very first time that the described computing network equipment of continuation execution is uploaded and network equipment last time upload.
9. method according to claim 8, it is characterized in that, describedly judge that the network equipment is at the first Preset Time or after performance data successfully being uploaded in the second time, also comprise before the difference between the initial time of the performance data that the initial time of the performance data gathered within the very first time that described computing network equipment is uploaded and the network equipment are once uploaded:
Judge to there is acquisition tasks corresponding to the described network equipment in described acquisition tasks queue.
10. method according to claim 8, is characterized in that, describedly sends the second uploading instructions to the network equipment and comprises:
Thread queue corresponding to the described network equipment is searched in corresponding relation between the described network equipment and thread queue, the finish time of the performance data uploaded according to the described last time and described caching period generate second and upload task and put into the thread queue found, and upload task and generate described second uploading instructions by performing described second in the thread queue that finds and send to the described network equipment;
The step that described continuation execution sends the first uploading instructions to the network equipment within next caching period comprises:
Continue the step of the next task in the thread queue found described in performing.
11. methods according to claim 1 ~ 7 any one, it is characterized in that, described in judge that the network equipment also comprises before the performance data gathered within the scope of the very first time in the first uploading instructions successfully having been uploaded in the first Preset Time or the second Preset Time:
Detect that the described network equipment terminates to upload the performance data gathered within the scope of the very first time in described first uploading instructions.
12. 1 kinds of devices obtaining network equipment performance data, is characterized in that, at least comprise:
Sending module, for sending the first uploading instructions to the network equipment within the current cache cycle; Wherein, the first uploading instructions comprises the very first time scope of a caching period; Receive the first notification message, continue to perform the step sending the first uploading instructions within next caching period to the network equipment, until judge the collection needing to stop the network equipment being carried out to performance data;
Judge module, for receiving the performance data gathered within the scope of very first time in the first uploading instructions that the network equipment uploads in the first Preset Time, and when judging that performance data is successfully uploaded by the network equipment in the first Preset Time, send the first notification message to sending module.
13. devices according to claim 12, is characterized in that, also comprise:
Receiver module, for receiving the instruction gathered the performance data of the described network equipment;
Generation module, for generating acquisition tasks corresponding to the described network equipment according to described caching period, and puts into acquisition tasks queue by acquisition tasks corresponding for the described network equipment;
Described sending module specifically for:
Within the described current cache cycle, generate first of correspondence respectively by each acquisition tasks in the queue of execution cost acquisition tasks and upload task; Search thread queue corresponding to the described network equipment in corresponding relation between the network equipment pre-set and thread queue, upload task by described first and put into the thread queue found; Upload task by described first in the thread queue that finds described in performing generate described first uploading instructions and send to the described network equipment; Receive the first notification message, continue the step of the next task in the thread queue found described in performing, until judge the collection needing to stop the network equipment being carried out to performance data.
14. methods according to claim 13, is characterized in that, described sending module also for:
Search in described corresponding relation less than thread queue corresponding to the described network equipment, create new thread queue, preserve the corresponding relation between the described network equipment and described new thread queue, and upload task by described first and put into described new thread queue; Upload task described first uploading instructions of generation by performing described first in described new thread queue and send to the described network equipment.
15. methods according to claim 13, is characterized in that, described judge module also for:
When judging to need to stop carrying out the collection of performance data to the described network equipment, send the second notification message to removing module;
Also comprise:
Removing module, for receiving described second notification message, delete the acquisition tasks that described in described acquisition tasks queue, the network equipment is corresponding, delete the corresponding relation between the described network equipment and thread queue, terminate described some network equipments corresponding first upload task.
16. devices according to claim 13, is characterized in that, described in judge to need to stop the collection to the network equipment carries out performance data be:
Receive the instruction stopping the collection described network equipment being carried out to performance data; Or receive the instruction of deleting the described network equipment.
17. devices according to claim 12, is characterized in that, described judge module also for:
When judging that the performance data gathered within the scope of the very first time in described first uploading instructions is not successfully uploaded by the described network equipment in described first Preset Time, send third notice message to described sending module; Judge that the performance data gathered within the scope of the very first time in described first uploading instructions is successfully uploaded by the described network equipment in the second Preset Time, or judge described second Preset Time time-out, send described first notification message to described sending module;
Described sending module also for:
Receive third notice message, send described first uploading instructions to the described network equipment.
18. devices according to claim 17, is characterized in that, describedly within the current cache cycle, send the first uploading instructions to the network equipment be:
At the nT in described current cache cycle 1moment sends described first uploading instructions to the described network equipment; Wherein, n for being more than or equal to 0, and is less than or equal to integer in any one, T 1be more than or equal to described first Preset Time, T 2for described second Preset Time, T is described caching period.
19. devices according to claim 13 ~ 18 any one, is characterized in that, described judge module also for:
When judge the described network equipment at described first Preset Time or the performance data gathered within the scope of the very first time in described first uploading instructions is successfully uploaded in described second time time, to computing module send the 4th notification message; Judge that the difference calculated is greater than described caching period, send the 5th notification message to sending module; Judge that the performance data gathered in described second time range is successfully uploaded by the described network equipment, send described 4th notification message to computing module;
Also comprise:
Computing module, for receiving the 4th notification message, the difference between the initial time calculating the performance data that the initial time of the performance data gathered within the scope of very first time that the described network equipment uploads and described network equipment last time upload;
Described sending module also for: receive the 5th notification message, send the second uploading instructions to the described network equipment; Wherein, the second uploading instructions comprise that initial time is the performance data that the described last time uploads between finish time and described caching period with second time range of the caching period of value.
20. 1 kinds of systems obtaining network equipment performance data, is characterized in that, at least comprise the device described in claim 12 ~ 19 any one; And
Network Management Equipment, for sending the described instruction gathered the performance data of the network equipment to described device.
CN201510907133.1A 2015-12-09 2015-12-09 A kind of methods, devices and systems obtaining network equipment performance data Active CN105357060B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510907133.1A CN105357060B (en) 2015-12-09 2015-12-09 A kind of methods, devices and systems obtaining network equipment performance data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510907133.1A CN105357060B (en) 2015-12-09 2015-12-09 A kind of methods, devices and systems obtaining network equipment performance data

Publications (2)

Publication Number Publication Date
CN105357060A true CN105357060A (en) 2016-02-24
CN105357060B CN105357060B (en) 2018-09-28

Family

ID=55332936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510907133.1A Active CN105357060B (en) 2015-12-09 2015-12-09 A kind of methods, devices and systems obtaining network equipment performance data

Country Status (1)

Country Link
CN (1) CN105357060B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506072A (en) * 2016-10-28 2017-03-15 瑞斯康达科技发展股份有限公司 A kind of collecting method and device
CN108667918A (en) * 2018-04-25 2018-10-16 青岛海信移动通信技术股份有限公司 A kind of device status monitoring method and device
CN116455984A (en) * 2023-06-19 2023-07-18 杭州华塑科技股份有限公司 Data transmission method, device, storage medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054680A1 (en) * 2002-06-13 2004-03-18 Netscout Systems, Inc. Real-time network performance monitoring system and related methods
CN101459544A (en) * 2009-01-05 2009-06-17 中兴智能交通系统(北京)有限公司 Method and system for collecting performance data
CN101808007A (en) * 2010-02-22 2010-08-18 烽火通信科技股份有限公司 Method for acquiring real-time performance data by network manager
CN103209093A (en) * 2013-03-05 2013-07-17 青岛海信传媒网络技术有限公司 Data collection method and system during abnormity of NE (Network Element)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040054680A1 (en) * 2002-06-13 2004-03-18 Netscout Systems, Inc. Real-time network performance monitoring system and related methods
CN101459544A (en) * 2009-01-05 2009-06-17 中兴智能交通系统(北京)有限公司 Method and system for collecting performance data
CN101808007A (en) * 2010-02-22 2010-08-18 烽火通信科技股份有限公司 Method for acquiring real-time performance data by network manager
CN103209093A (en) * 2013-03-05 2013-07-17 青岛海信传媒网络技术有限公司 Data collection method and system during abnormity of NE (Network Element)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506072A (en) * 2016-10-28 2017-03-15 瑞斯康达科技发展股份有限公司 A kind of collecting method and device
CN106506072B (en) * 2016-10-28 2019-06-07 瑞斯康达科技发展股份有限公司 A kind of collecting method and device
CN108667918A (en) * 2018-04-25 2018-10-16 青岛海信移动通信技术股份有限公司 A kind of device status monitoring method and device
CN108667918B (en) * 2018-04-25 2022-01-11 青岛海信移动通信技术股份有限公司 Equipment state monitoring method and device
CN116455984A (en) * 2023-06-19 2023-07-18 杭州华塑科技股份有限公司 Data transmission method, device, storage medium and electronic equipment
CN116455984B (en) * 2023-06-19 2023-08-29 杭州华塑科技股份有限公司 Data transmission method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN105357060B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN103152393B (en) A kind of charging method of cloud computing and charge system
US20160241486A1 (en) Service Processing Method and System and Device
TWI654563B (en) Computing resource expansion and release method and device thereof for real-time stream computing
CN112118174B (en) Software defined data gateway
CN103763396A (en) Energy consumption data acquisition unit and method based on multi-protocol parallel acquisition technology
CN111966289B (en) Partition optimization method and system based on Kafka cluster
CN110597890B (en) Data acquisition system, data acquisition method, node device, and storage medium
CN109428785A (en) A kind of fault detection method and device
CN103780675B (en) A kind of cloud disc file synchronous method and device
CN105338027A (en) Method, system and device for cloud storage of video data
CN112650575B (en) Resource scheduling method, device and cloud service system
CN105357060A (en) Method, device and system for obtaining network equipment performance data
CN101741635A (en) Method, system and device for synchronous altering message
CN106571973A (en) Heartbeat packet timeout management method and system
CN104320285A (en) Website running status monitoring method and device
CN104426942A (en) File uploading method and system
CN213876703U (en) Resource pool management system
CN103607731A (en) Method and device for processing measurement reports
CN112000422B (en) Method and device for preventing POD memory overflow in container arrangement frame
CN109672731A (en) A kind of distributed node information monitoring method, system and application
US20210096962A1 (en) Data backup method, device and system
CN106713512B (en) Efficient data transmission method and system for dynamically balancing network bandwidth of Internet of things
CN114490091B (en) Method and device for monitoring rule engine performance in industrial data acquisition management system
CN101917699B (en) Random reported signaling tracking method and device based on users
KR20180132292A (en) Method for automatic real-time analysis for bottleneck and apparatus for using the same

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