Data acquisition method and equipment

A data acquisition and data technology, applied in the field of network management, can solve the problems of high resource overhead and inflexible implementation, and achieve the effect of reducing network overhead, reducing resource overhead, and improving convenience and flexibility

Inactive Publication Date: 2012-02-15
NEW H3C TECH CO LTD
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The present invention provides a data acquisition method and device based on the NETCONF protocol, which are used to solve the problems of high resource overhead and inflexible implementation caused by obtaining a large amount of data based on the NETCONF protocol

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data acquisition method and equipment
  • Data acquisition method and equipment
  • Data acquisition method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] This embodiment describes the process that the client uses the get-bulk operation to obtain 100 interface statistics data records. Such as figure 2 As indicated, the process may include:

[0041] In step 201, the client sends a get-bulk command to the server, in which the data object type is InterfaceStatistics, and the count value is 100, indicating that 100 interface statistics records are to be obtained. Its code can be:

[0042]

[0043] Among them, InterfaceStatistics count="100", which means that the data object to be obtained is interface statistical information, and the data item to be obtained is 100.

[0044] Step 202, the server returns a response according to the get-bulk command. Specifically, the server queries the data of the interface statistical information according to the get-bulk command, and if the number of data entries of the queried interface statistical information exceeds 100, only the first 100 data records are returned for ...

Embodiment 2

[0046] This embodiment describes the process that the client uses the get-bulk operation to obtain 100 interface statistics data records from a specified location. Such as image 3 As indicated, the process may include:

[0047] Step 301, the client sends a get-bulk command to the server, wherein the data object type is InterfaceStatistics, the count value is 100, and uses Interface name (interface name) as the data object index, indicating that Ethernet0 / 0 is used as the starting point of data acquisition The starting position means to obtain the 100 interface statistics records after Ethernet0 / 0. Its code can be:

[0048]

[0049] Among them, InterfaceStatistics count = "100", indicating that the data object to be obtained is interface statistical information, and the data entry to be obtained is 100; Ethernet0 / 0 , indicating that the interface name is used as the data object index, and the starting position is the interface statistics record correspondin...

Embodiment 3

[0052] This embodiment describes the process that the client uses the get-bulk operation to obtain all data records of the interface statistics information, and acquires 100 records at a time, wherein the number of data entries of the interface statistics information saved on the server side is greater than 100. Such as Figure 4 As indicated, the process may include:

[0053] In step 401, the client sends a get-bulk command to the server, in which the data object type is InterfaceStatistics, and the count value is 100, indicating that 100 interface statistics records are to be obtained. Its code can be:

[0054]

[0055] Among them, InterfaceStatistics count = "100", indicating that the data object to be obtained is interface statistical information, and the data entry to be obtained is 100; If it is empty, it means that the starting record index (interface name) of data acquisition is not specified, so as to instruct the server to return data to the clien...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data acquisition method and equipment which are applied to a network system containing a server and client, wherein the server and the client communicate with each other through an NETCONF (network configuration) protocol. The method provided by the invention comprises: the client sends a request for acquiring data in batches to the server, wherein the request carries data item quantity information; and the client receives a response of acquiring data in batches returned by the server, wherein the response carries corresponding item quantity of data inquired by the server. According to the invention, the problems of large resource expenses and non-flexible implementation caused by acquiring a large quantity of data based on the NETCONF protocol can be solved.

Description

technical field [0001] The invention relates to network management technology in the field of communication technology, in particular to a data acquisition method and equipment based on NETCONF protocol. Background technique [0002] NETCONF is a protocol that provides configuration management of network data devices, and uses Extensible Markup Language (XML) to transfer data and protocol information. The NETCONF protocol is divided into four layers, such as figure 1 As shown, it includes: a content layer (Content), an operation (Operations) layer, an RPC (Remote Process Call, remote procedure call) layer, and a communication protocol (Transport Protocol) layer. [0003] The content layer represents a collection of managed objects, and each vendor can implement the content layer model by itself. [0004] The operation layer defines a series of basic primitive operation sets applied in RPC, and these operations will constitute the basic capabilities of NETCONF. NETCONF def...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L29/06
Inventor 冉斌
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products