Rule data storage method, device and storage medium

A technology of data storage and digital storage, applied in the direction of electrical digital data processing, data processing input/output process, instruments, etc., can solve data retrieval, processing performance degradation, limited available space in local memory, and small amount of local memory cache and other problems, to achieve the effect of fast query, realization of query, and easy analysis

Active Publication Date: 2021-04-30
HANGZHOU FRAUDMETRIX TECH CO LTD +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the local caching process of the prior art, in order to avoid waste of resources, application services are usually deployed in virtual machines or containers, but the available space of the local memory is limited, usually only a few gigabytes of available memory, making the local memory cache less
[0004] Moreover, the current schemes adopted by the local cache need to be implemented based on the data structure provided by the programming language or third-party tools. Since different data may have different language methods, the memory usage will be greatly enlarged when the data is saved, making the local The effective storage efficiency of the cache is reduced
[0005] In the case of a small amount of storage in the local memory and low storage efficiency, the subsequent data retrieval and processing performance of the local cache will be reduced

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
  • Rule data storage method, device and storage medium
  • Rule data storage method, device and storage medium
  • Rule data storage method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0083] Embodiment 1 of the present invention discloses a rule data storage method, such as figure 1 shown, including:

[0084] Step S110, acquiring the encoded number corresponding to the received source data. The source data can be some regular number data, such as the department number of a university, the area code of a region, and so on. For example, the physics department number of Southeast University is 12070341, of which 1207 corresponds to Southeast University, and 0341 corresponds to the physics department. Wherein, the source data and the encoding number may be correspondingly set in advance. The coded numbers can be several numbers, and each group of numbers has a corresponding meaning.

[0085] In step S110, the source data is mainly processed to obtain the corresponding coded numbers. For example, if there are 500 universities in the country, then all universities in the country can be numbered respectively by three digits. For example, the coded number 101 co...

Embodiment 2

[0113] The embodiment of the present invention also discloses a rule data storage method, such as Figure 5 shown, including:

[0114] S210. Receive source data, where the source data includes characteristic data and non-characteristic numbers, and acquire coded numbers corresponding to the characteristic data.

[0115] In a possible implementation manner, the source data may be some irregular number data and the like. For example, the source data is a specific ID number, student number, mobile phone number, certificate number, card number, global serial number, etc. For example, A’s ID number is 110101199003078515, in which the number 110101 is the household registration area, such as Haidian District, and A’s number 199003 is the date of birth. The above information is regular and has certain characteristics, so 110101 and 199003 are feature data. The 8515 in 078515 is randomly generated, so 078515 is a non-characteristic number.

[0116] In step S210, the feature data i...

Embodiment 3

[0141] The invention also discloses a rule data storage device, which is used to implement the above Figure 1 to Figure 4 Apparatus for the method, such as Figure 10 shown, including:

[0142] The first obtaining module is used to obtain the encoded number corresponding to the received source data;

[0143] A second obtaining module, configured to obtain a first coded number that satisfies a preset discrete condition based on the coded number;

[0144] A modulo module, configured to perform a modulo operation on the first encoded number to obtain a modulus value and a quotient value, and the modulo value and the quotient value are respectively one or more;

[0145] A generating module, configured to use the quotient value and the first non-characteristic number among the coded numbers that do not satisfy the preset discrete condition to generate a saved number based on a preset arrangement order;

[0146] The third acquiring module is configured to acquire a storage unit ...

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 rule data storage method, a device and a storage medium. The method comprises the steps: a first obtaining module which is used for receiving source data which comprises feature data and non-feature numbers, and obtaining coding numbers corresponding to the feature data; a second collection module is used for collecting a first coded number and a first non-characteristic number which meet a preset discrete condition based on the coded number and the non-characteristic number; a modulo module is used for carrying out modulo value operation on the first coded number and the first non-characteristic number to respectively obtain a modulo value and a quotient value; a generation module is used for generating a storage number from a third coded number which does not meet a preset discrete condition in the quotient values and the coded numbers and a fourth coded number which does not meet the preset discrete condition in the non-characteristic numbers based on a preset arrangement sequence; a third collection module is used for collecting a storage unit corresponding to the modulus value and storing the stored number in the storage unit, and the modulus value and the storage unit are correspondingly arranged in advance.

Description

technical field [0001] The present invention relates to data storage technology, in particular to a regular data storage method, device and storage medium. Background technique [0002] Memory has very high read and write performance. In business scenarios with high concurrency and high performance requirements, memory is usually used as a hotspot data cache for application services, which can not only reduce the processing pressure of downstream applications or databases, but also improve application services. throughput and responsiveness. [0003] In the local caching process of the prior art, in order to avoid waste of resources, application services are usually deployed in virtual machines or containers, but the available space of the local memory is limited, usually only a few gigabytes of available memory, making the local memory cache less . [0004] Moreover, the current schemes adopted by the local cache need to be implemented based on the data structure provided...

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 & AuthorityApplications(China)
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/0638G06F3/0683
Inventor曲远汶
OwnerHANGZHOU FRAUDMETRIX TECH CO LTD