CN105978710A - Data storage method and system thereof - Google Patents

Data storage method and system thereof Download PDF

Info

Publication number
CN105978710A
CN105978710A CN201610272039.8A CN201610272039A CN105978710A CN 105978710 A CN105978710 A CN 105978710A CN 201610272039 A CN201610272039 A CN 201610272039A CN 105978710 A CN105978710 A CN 105978710A
Authority
CN
China
Prior art keywords
data
service end
network equipment
request
order
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610272039.8A
Other languages
Chinese (zh)
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.)
Shanghai Feixun Data Communication Technology 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 CN201610272039.8A priority Critical patent/CN105978710A/en
Publication of CN105978710A publication Critical patent/CN105978710A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols

Abstract

The invention provides a data storage method and a system thereof which are applied in a network management system. A management end is provided and is connected to at least one network device. A server end is provided and is connected to the management end. The method comprises the following steps that stepS1, the management end sends a data collection request to the corresponding network device according to a preset collection data task; stepS2, the network device collects corresponding request data according to the request; stepS3, the network device establishes connection with the server end and reports the collected data to the server end; and stepS4, the server end stores a received data parameter. The technical scheme of the invention has advantages that according to request of the management end, the network device can directly report the collected data to the server end and the received data is stored through the server end so that an operation load of the network management system is reduced and performance of the network management system is increased.

Description

A kind of data storage method and system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of data storage method and system.
Background technology
In NMS, it usually needs gather the service data of the network equipment, pass through service data The running status of equipment can be understood timely, wherein gather the service data of the network equipment especially by net Network management system sends performance acquisition tasks, and the network equipment, after receiving acquisition tasks, is appointed according to gathering Business, is back to NMS, NMS by the service data relevant to the network equipment gathered Unite and the service data received is preserved, and then the person of being easy to use checks, the operation of awareness network equipment Situation.And above-mentioned operation also exists following defect:
(1), in larger network, it is non-that the data volume of the service data of the network equipment will become The hugest, NMS task amount when gathering the service data of the network equipment therefore can be caused to increase the weight of, Reduce the performance of NMS;
(2), after NMS obtains a large amount of service datas of the network equipment, data are protected Deposit operation and need also exist for consuming substantial amounts of system resource, thus reduce the operational efficiency of NMS.
Summary of the invention
Above-mentioned the asking of the service data existence of the network equipment is gathered for NMS in prior art Topic, now provide a kind of be intended to minimizing system operating load improve system administration efficiency data storage method and System.
Concrete technical scheme is as follows:
A kind of data storage method, is applied to NMS, wherein, it is provided that a management end, described Management end connects at least one network equipment;
One service end is provided, is connected with described management end;Comprise the following steps:
Step S1, described management end are sent out to the corresponding described network equipment according to the data task that gathers preset Send the request of collection data;
Step S2, the described network equipment, according to described request, gather the data of corresponding described request;
Step S3, the described network equipment are set up with described service end and are connected, and in the described data that will gather Report is to described service end;
The described data parameters received is stored by step S4, described service end.
Preferably, described request includes: acquisition target, data acquisition parameters, data acquisition intervals, number According to gathering time started and data acquisition end time, the IP address of described service end and described service end Connectivity port.
Preferably, in described step S3, the described network equipment set up with described service end be connected include with Lower step:
Step S31, the described network equipment according to the described IP address in described request and described connectivity port, A connection request is sent to described service end;
Step S32, described service end, according to described connection request, are set up with the described network equipment and are connected;
Step S33, the described network equipment are set up with described service end after being connected, and described data are reported to Described service end.
Preferably, described connection request is connection request based on transmission control protocol.
Preferably, described service end provides a data base, in order to store described in the described network equipment reports Data.
Preferably, described data base is cassandra data base.
Preferably, described service end provides a data processing module, stores in order to the described data that will receive To described data base.
Also include a kind of data storage system, be applied to NMS, wherein, including:
Management end, described management end is connected with at least one network equipment;
Service end, is connected with described management end;
Described management includes a task scheduling modules, in order to according to preset collection data task to described net Network equipment sends the request of collection data;
The described network equipment includes:
One task receiver module, in order to receive described request;
One data acquisition module, is connected with described task receiver module, in order to according to described request, gathers The data of the described network equipment;
One first link block, is connected with described data acquisition module, in order to send even to described service end Connect request and send described data to described service end;
Described service end includes:
One second connection request module, in order to receive described connection request;
Described service end, will the institute of reception in order to after the described network equipment and described service end are set up and be connected State data to store.
Preferably, described service end includes a data base, in order to store described in the output of the described network equipment Data.
Preferably, described service end includes a data processing module, with described second link block and described Data base connects, and stores to described data base in order to the described data that will receive.
Technique scheme has the advantage that or beneficial effect: the request network equipment according to management end can Directly the data of collection are directly reported to service end, by service end, the data received are stored, thus drop The low operating load of NMS, improves the performance of NMS.
Accompanying drawing explanation
With reference to appended accompanying drawing, more fully to describe embodiments of the invention.But, appended accompanying drawing is only For illustrating and illustrating, it is not intended that limitation of the scope of the invention.
Fig. 1 is the flow chart of the present invention a kind of data storage method embodiment;
Fig. 2 is in one data storage method embodiment of the present invention, about network equipment reported data to clothes The flow chart of business end;
Fig. 3 is the structural representation of the present invention a kind of data storage system embodiment.
In above-mentioned each accompanying drawing, labelling represents:
(1), management end;(2), the network equipment;(3), service end;(11), task scheduling Module;(21), task receiver module;(22), data acquisition module;(23), data acquisition Module;(24), the first link block;(31), the second link block;(32), data process Module;(33), data base.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making The every other embodiment obtained on the premise of going out creative work, broadly falls into the scope of protection of the invention.
It should be noted that in the case of not conflicting, the embodiment in the present invention and the spy in embodiment Levy and can be mutually combined.
The invention will be further described with specific embodiment below in conjunction with the accompanying drawings, but not as the present invention's Limit.
The present invention includes a kind of data storage method.
The embodiment of a kind of data storage method, is applied to NMS, wherein, it is provided that a management End 1, management end 1 connects at least one network equipment 2;
One service end 3 is provided, is connected with management end 1;
As it is shown in figure 1, comprise the following steps:
Step S1, management end 1 send one according to the default data task that gathers to the corresponding network equipment 2 Gather the request of data;
Step S2, the network equipment 2, according to request, gather the data of corresponding requests;
Step S3, the network equipment 2, set up with service end 3 and be connected, and the data of collection report to clothes Business end 3;
The data parameters received is stored by step S4, service end 3.
In technique scheme, user management end 1 as required create collection data task after, Management end 1 sends the request of collection data to the corresponding network equipment according to the data task that gathers created 2, the network equipment 2, according to request, gathers the data to the network equipment 2 that should ask, and sets in network After standby 2 are connected with service end 3 foundation, data are reported to service end 3 and stores, set by network Data are directly reported to service end 3 by standby 2, are returned by the network equipment 2 from without NMS The data returned preserve, and improve the performance of NMS, gather when management end 1 needs to obtain During the data of the network equipment 2 arrived, can obtain from service end 3.Said method not only reduces network The operating load of management system, also improves the performance of NMS.
In one preferably embodiment, request includes:
Acquisition target, data acquisition parameters, data acquisition intervals, data acquisition starting time and data acquisition Collection end time, IP (Internet Protocol, the agreement of interconnection between the network) address of service end 3 And the connectivity port of service end 3.
Acquisition target, in order to represent the network equipment 2 of data to be acquired;
Data acquisition intervals, in order to represent that network equipment 2 reports to service end at interval of the scheduled time Data;
Data acquisition starting time and data acquisition end time, in order to represent that network equipment 2 reports once The persistent period of data
The IP address of service end 3 and connectivity port, can connect during in order to represent the network equipment 2 reported data The IP address of service end 3 and connectivity port.
In one preferably embodiment, the network equipment 2 is set up with service end 3 and is connected, such as Fig. 2 institute Show, comprise the following steps:
Step S31, the network equipment 2 are according to the IP address in request and connectivity port, to service end 3 Send a connection request;
Step S32, service end 3, according to connection request, are set up with the network equipment 2 and are connected;
Step S33, the network equipment 2 are set up with service end 3 after being connected, and data report to service end 3.
Further, connection request is based on transmission control protocol (TCP Transmission Control Protocol, transmission control protocol) connection request.
In above-mentioned technical side, the network equipment 2 receive management end 1 send collection data request after, IP address according to the service end 3 in this request and connectivity port, send TCP to service end 3 and connect Request, the network equipment 2 is set up with service end 3 after being connected, data is reported to service end 3.
In technique scheme, the network equipment 2 sets up, with service end 3, the method that TCP is connected, for ability Therefore technology known to field technique personnel repeats no more.
In one preferably embodiment, service end 3 provides a data base 33, sets in order to storage network The data of standby 2 outputs.
In one preferably embodiment, data base 33 is that (Facebook company develops cassandra Distributed NoSQL Database Systems of increasing income) data base.
In technique scheme, use cassandra data base, substantial amounts of data can not only be stored, and And efficiency of storage is higher.
In one preferably embodiment, service end 3 provides a data processing module 32, in order to connecing The data received store to data base 33.
In a particular embodiment, when needing to check the operation conditions of the network equipment 2 in NMS Time, data task can be gathered by creating at management end 1, after creating collection data task, management End 1 sends the request of collection data according to the data task that gathers created to the network equipment 2, and networking sets Standby 2 after receiving request, according to the data of this request collection network equipment 2 to asking, and According to the IP address about service end 3 in request and connectivity port, set up TCP even with service end 3 Connecing, after the network equipment 2 is connected with service end 3 foundation, data are reported to service end by network equipment 2 3, the data received are preserved to data base 33 by service end 3 by data processing module 32, work as pipe When reason end 1 needs the data obtaining the network equipment 2 in service end 3, can be by management end 1 to data Storehouse 33 sends inquiry request with acquisition about the data of the network equipment 2, understands the work shape of network equipment 2 State.
Technical scheme also includes a kind of data storage system.
As it is shown on figure 3, the embodiment of a kind of data storage system, it is applied to NMS, wherein, Including:
Management end 1, management end 1 is connected with at least one network equipment 2;
Service end 3, is connected with management end 1;
Management include a task scheduling modules 11, in order to according to preset collection data task to the network equipment 2 requests sending collection data;
The network equipment 2 includes:
One task receiver module 21, in order to receive request;
One data acquisition module 22, is connected with task receiver module 21, in order to according to request, gathers net The data of network equipment 2;
One first link block 24, is connected with data acquisition module 22, in order to send even to service end 3 Connect request and send data to service end 3;
Service end 3 includes:
One second connection request module, in order to receive connection request;
Service end 3 is in order to after the network equipment 2 is connected with service end 3 foundation, and the data that will receive store.
In one preferably embodiment, service end 3 includes a data base 33, sets in order to storage network Standby 2 data reported.
Preferably, data base 33 can be cassandra data base 33.
In one preferably embodiment, service end 3 includes a data processing module 32, with second even Connection module 31 and data base 33 connect, and store to data base 33 in order to the data that will receive.
In a particular embodiment, when managing end 1 it should be understood that during the duty of the network equipment 2, can lead to Cross the collection data task that user creates, task scheduling modules 11 send the request of collection data extremely The corresponding network equipment 2, after the network equipment 2 receives request by task receiver module 21, by data Acquisition module 22 gathers the data of the network equipment 2 of corresponding requests, in the data collecting network equipment 2 After, set up TCP by the first link block 24 with the second link block 31 of service end 3 and be connected, and Upon establishment of a connection, the data of collection are reported to service end 3, the number in service end 3 by network equipment 2 According to processing module 32, the data received are stored to data base 33.When management end 1 needs in service When end 3 obtains the data of the network equipment 2, inquiry request can be sent by management end 1 to data base 33 To obtain the duty of the data understanding network equipment 2 about the network equipment 2
The foregoing is only preferred embodiment of the present invention, not thereby limit embodiments of the present invention and Protection domain, to those skilled in the art, it should can appreciate that all utilization description of the invention And the equivalent done by diagramatic content and the scheme obtained by obvious change, all should comprise Within the scope of the present invention.

Claims (10)

1. a data storage method, is applied to NMS, it is characterised in that provide a management End, described management end connects at least one network equipment;
One service end is provided, is connected with described management end;Comprise the following steps:
Step S1, described management end are sent out to the corresponding described network equipment according to the data task that gathers preset Send the request of collection data;
Step S2, the described network equipment, according to described request, gather the data of corresponding described request;
Step S3, the described network equipment are set up with described service end and are connected, and in the described data that will gather Report is to described service end;
The described data parameters received is stored by step S4, described service end.
Data storage method the most according to claim 1, it is characterised in that described request includes: Acquisition target, data acquisition parameters, data acquisition intervals, data acquisition starting time and data acquisition are assembled Bundle time, the IP address of described service end and the connectivity port of described service end.
Data storage method the most according to claim 2, it is characterised in that in described step S3, The described network equipment is set up to be connected with described service end and is comprised the following steps:
Step S31, the described network equipment according to the described IP address in described request and described connectivity port, A connection request is sent to described service end;
Step S32, described service end, according to described connection request, are set up with the described network equipment and are connected;
Step S33, the described network equipment are set up with described service end after being connected, and described data are reported to Described service end.
Data storage method the most according to claim 3, it is characterised in that described connection request is Connection request based on transmission control protocol.
Data storage method the most according to claim 1, it is characterised in that described service end provides One data base, in order to store the described data that the described network equipment reports.
Data storage method the most according to claim 5, it is characterised in that described data base is Cassandra data base.
Data storage method the most according to claim 5, it is characterised in that described service end provides One data processing module, stores to described data base in order to the described data that will receive.
8. a data storage system, is applied to NMS, it is characterised in that including:
Management end, described management end is connected with at least one network equipment;
Service end, is connected with described management end;
Described management includes a task scheduling modules, in order to according to preset collection data task to described net Network equipment sends the request of collection data;
The described network equipment includes:
One task receiver module, in order to receive described request;
One data acquisition module, is connected with described task receiver module, in order to according to described request, gathers The data of the described network equipment;
One first link block, is connected with described data acquisition module, in order to send even to described service end Connect request and send described data to described service end;
Described service end includes:
One second connection request module, in order to receive described connection request;
Described service end, will the institute of reception in order to after the described network equipment and described service end are set up and be connected State data to store.
Data storage system the most according to claim 8, it is characterised in that described service end includes One data base, in order to store the described data of described network equipment output.
Data storage system the most according to claim 9, it is characterised in that described service end bag Include a data processing module, be connected with described second link block and described data base, in order to by reception Described data store to described data base.
CN201610272039.8A 2016-04-27 2016-04-27 Data storage method and system thereof Pending CN105978710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610272039.8A CN105978710A (en) 2016-04-27 2016-04-27 Data storage method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610272039.8A CN105978710A (en) 2016-04-27 2016-04-27 Data storage method and system thereof

Publications (1)

Publication Number Publication Date
CN105978710A true CN105978710A (en) 2016-09-28

Family

ID=56994022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610272039.8A Pending CN105978710A (en) 2016-04-27 2016-04-27 Data storage method and system thereof

Country Status (1)

Country Link
CN (1) CN105978710A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202385116U (en) * 2011-12-31 2012-08-15 成都勤智数码科技股份有限公司 Distributed operation and maintenance data acquisition device
CN103188101A (en) * 2011-12-31 2013-07-03 成都勤智数码科技股份有限公司 Distributed type collection scheduling method and device
CN103795647A (en) * 2012-11-01 2014-05-14 鼎点视讯科技有限公司 Data acquisition method, data collector and data acquisition system
CN104320495A (en) * 2014-11-13 2015-01-28 许继电气股份有限公司 Massive data storage method and system of power utilization information collecting system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202385116U (en) * 2011-12-31 2012-08-15 成都勤智数码科技股份有限公司 Distributed operation and maintenance data acquisition device
CN103188101A (en) * 2011-12-31 2013-07-03 成都勤智数码科技股份有限公司 Distributed type collection scheduling method and device
CN103795647A (en) * 2012-11-01 2014-05-14 鼎点视讯科技有限公司 Data acquisition method, data collector and data acquisition system
CN104320495A (en) * 2014-11-13 2015-01-28 许继电气股份有限公司 Massive data storage method and system of power utilization information collecting system

Similar Documents

Publication Publication Date Title
CN103236949B (en) Monitoring method, device and the system of a kind of server cluster
CN103501347B (en) Resource allocation methods and device
CN101741885A (en) Distributed system and method for processing task flow thereof
CN102347876B (en) Multilink aggregation control device for cloud computing network
CN104410662A (en) Parallel mass data transmitting middleware of Internet of things and working method thereof
CN103997539B (en) Radar running status collection dissemination system and its method based on web services
CN102158346A (en) Information acquisition system and method based on cloud computing
CN104023083A (en) Method and device for log collection cluster load balance
CN103095498B (en) Bill record collection method and system
CN105119787B (en) A kind of public internet access system and method based on software definition
CN106302230B (en) A kind of data transmission method and device
CN102130839B (en) Data transmission method and device
CN105608220A (en) Acquisition method and device based on distributed message system
CN104158675B (en) Calculate node dispositions method, processing node, controller and system
CN103701630A (en) Data processing method and device for data monitoring
CN107181616A (en) A kind of method and system for monitoring performance of storage system data
CN108282362A (en) A kind of network topology generation method, device and equipment
CN103997530A (en) Communication system of elevator internet of things and data sending method
CN108833490A (en) A kind of distributed data acquisition system and its method
CN107070744A (en) Server monitoring method
CN102142971A (en) Monitoring system and monitoring method for realizing subscription-collection mechanism
CN101883014A (en) Method and system for acquiring performance statistical data
CN114945032A (en) Electric power internet of things terminal data access system, method, device, equipment and medium
CN109714222A (en) The distributed computer monitoring system and its monitoring method of High Availabitity
CN105867314A (en) Remote monitoring system and communication method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160928

RJ01 Rejection of invention patent application after publication