Data storage method, data searching method, related device and system

A data storage and data technology, applied in the field of data storage and query systems, can solve problems such as high risk of single point failure, performance bottlenecks, and inability of query clients to perform remote queries

Active Publication Date: 2015-03-18
浙江海宁经编产业园区开发有限公司
View PDF8 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the existing technology, the query client must first send the query request to the distribution server, but when the distribution server fails, all query

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 storage method, data searching method, related device and system
  • Data storage method, data searching method, related device and system
  • Data storage method, data searching method, related device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0159] Next, according to the above-mentioned data storage and query system, an embodiment of the present invention provides a specific example to describe the above-mentioned data storage and query method in detail.

[0160] In the embodiment of the present invention, the data block strategy and data block storage allocation strategy can be used as a pre-agreement, and a fixed logic algorithm program can be preset in the management center server, query server and query client devices, and the data block storage The allocation strategy is obtained by the management center server according to the data block strategy. In the embodiment of the present invention, the management center server can update the data block policy and data block storage allocation policy, and send the updated data block policy and data block storage allocation policy to the query server, and the query client can pass The management center server or the query server acquires the updated data block policy ...

Embodiment 2

[0220] Next, according to the above data storage and query system, the embodiment of the present invention also provides another specific implementation solution, and describes the data storage and query method in detail.

[0221] In this embodiment, for the data storage and query methods, you can refer to the steps in Embodiment 1, the only difference is that in this embodiment, the data block strategy can be described in a file, so that the data can be divided into The block strategy is updated and upgraded.

[0222] Specifically, the administrator can upload the new data block strategy to the management center server, and the management center server re-blocks massive data according to the new data block strategy, constructs a new data block storage allocation strategy, and then uploads the new The data block policy and the corresponding data block storage allocation policy are sent to all query servers.

[0223] The query server receives the new data block policy and the ...

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 storage method, a data searching method, a related device and a system, relates to the technical field of communication and aims to reduce the problems of single-point failure and performance bottleneck. The data storage method comprises the steps of reading data by a query server; determining a mark of a data block belonging to the data by the query server according to a data partitioning strategy, wherein the data partitioning strategy is used for determining the mark of the data block belonging to the data; determining a query server mark set corresponding to the mark of the data block by the query server according to a data block storage allocation strategy, wherein the query server which is represented by a query server mark in the query server mark set is used for storing the data block which is represented by the mark of the data block, and the data block storage allocation strategy comprises a corresponding relation between the mark of the data block and the query server mark set; storing the data by the query server if the query server mark set comprises the mark of the query server; enabling the data not to be stored by the query server if the query server mark set does not comprise the mark of the query server.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a data storage method and a data query method, a query server, a query client and a data storage and query system. Background technique [0002] In the current network equipment, functions such as Uniform Resource Locator (URL) filtering and Internet Protocol (Internet Protocol, IP) reputation are becoming more and more popular. These functions need to realize real-time and fast query in massive data Processing, such as querying the category information corresponding to the URL (such as humanities, forums, military, etc.), or querying the reputation rating score corresponding to the IP address, etc. [0003] In the prior art, a small part of the hotspot data is stored in the local cache of the network device, and all the data is stored in the remote query server. Therefore, after the network device obtains the data information, it first performs data processing in the loca...

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
IPC IPC(8): G06F17/30
CPCG06F16/219G06F16/2255
Inventor 李有永
Owner 浙江海宁经编产业园区开发有限公司
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