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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


