Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for storing and querying data

A technology for storing data and data, which is applied in the field of query data and storage, and can solve the problems of low utilization rate of storage space and large storage space.

Active Publication Date: 2018-05-04
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method and device for storing and querying data, which is used to solve the defects in the prior art that the method of storing phone numbers occupies a large storage space and has a low utilization rate of the storage space

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
  • A method and device for storing and querying data
  • A method and device for storing and querying data
  • A method and device for storing and querying data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0088] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0089] The term "and / or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the letter " / " in this article generally indica...

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 and device and a data query method and device. According to the scheme, each decimal character in to-be-stored decimal data is substituted by using a corresponding hexadecimal character according to preset mapping relation of each decimal character and hexadecimal character to obtain to-be-stored hexadecimal data corresponding to to-be-stored decimal data; the binary data during storage which determine the to-be-stored hexadecimal data, and the binary data is stored; according to the scheme, the decimal data is firstly converted into the hexadecimal data, then the hexadecimal data is stored in integers, and the storage space occupied by storing in integers is smaller than the storage space occupied by storing in character strings; thus the problems of large occupied storage space and low utilization rate of the storage space existing in the prior art are solved.

Description

technical field [0001] The invention relates to the technical field of data storage, in particular to a method and device for storing and querying data. Background technique [0002] With the development of mobile technology, more and more people have terminals. This poses a huge challenge to how operators manage user information and customize various personalized services based on user records. Among all the user information, the most important thing is the phone number used by the user. At present, a user will have at least one phone number, plus various landlines that need to be processed, etc. Therefore, the database storage system actually handles The amount of data will be much higher than the actual number of people online, which also brings challenges to the storage capacity of the database. Therefore, the storage of phone numbers is very important. [0003] At present, not only the numbers appearing in 0-9 will be used when expressing the telephone number, but als...

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/30
CPCG06F16/22
Inventor 朱金伟文继军黄海燕
Owner HUAWEI TECH CO LTD