Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method of data query and method of inter-board data synchronization in distributed system

A distributed system and data synchronization technology, applied in the field of distributed systems, can solve the problems of increasing the task scheduling workload and risks of the operating system, increasing the complexity of the operating system, and consuming more software resources, reducing search time and occupying the system. The effect of fewer resources and reduced search time

Inactive Publication Date: 2008-12-10
NEW H3C TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It consumes more software resources of the operating system, increases the complexity of the operating system, and increases the workload and risks of operating system task scheduling

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
  • Method of data query and method of inter-board data synchronization in distributed system
  • Method of data query and method of inter-board data synchronization in distributed system
  • Method of data query and method of inter-board data synchronization in distributed system

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment

[0040]In this embodiment, an index field is added to the data table item of the main control board, which is used to create a data table item of data corresponding to the main control board of the service board. In the table item operation of the service board, use the index to directly operate the corresponding data table item, so that only one search is performed on the main control board. When the main control board finds the corresponding data table item, the service board can directly find it according to the index. Related data table items on the service board. In addition to using pointers, the index can also use numerical indexes such as array subscripts.

[0041] The flowchart of the realization process of the present invention is as Figure 1 to Figure 4 , including the synchronization process of data table items and the query process of data table items.

[0042] The following only uses the data entry of the routing table as an example for illustration.

[0043] ...

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 provides a method for data query in a distributed system. Firstly, the index of the data entry of the main control board and the corresponding data entry of each service board is established; the data entry of the main control board is searched, and the searched data on the main control board The index of the data table item is sent to the corresponding service board through the inter-board communication between the main control board and the service board, so that the service board that receives the index locates the corresponding data table item in the service board according to the index. In addition, the present invention also provides a method for synchronizing data between boards in a distributed system. First, an index is added to a certain data entry of the main control board, and the index is sent to each service board with a corresponding data entry; When the data entry of the main control board is updated, the main control board sends the index of the updated data entry to the corresponding service board, and the service board that receives the index searches the corresponding data entry in the service board according to the index, and sends the Update the corresponding data table item in . The invention is easy to implement and occupies less system resources.

Description

technical field [0001] The invention relates to a distributed system, in particular to a data query method and a data synchronization method in the distributed system. Background technique [0002] Current network communication devices such as routers and Ethernet switches are generally multi-CPU distributed systems. A distributed system usually consists of a main control board and multiple service boards. Among them, the main control board is responsible for the centralized control and management functions of the equipment, and centrally processes the common features of each service board that realizes different services, and then distributes them to each service board. Each business board is more concerned with the processing and realization of its own business. For public features, a distributed system generally adopts a synchronization mechanism, and the main control board realizes the management of public features, such as configuration, modification, and operation. ...

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 Patents(China)
IPC IPC(8): G06F17/30H04L29/00
Inventor 王俊
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products