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

Multi-value data storage and reading method and apparatus and multi-value data access system

A data storage and data reading technology, applied in the computer field, can solve problems such as inconvenient use, unsatisfactory security, and low reusability

Active Publication Date: 2015-12-09
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But the method of prior art just restructures the object of temporarily storing multi-valued data by existing collection class (as List, ArrayList, Map, HashMap and Hashtable etc.), because the packing class of basic data type is all read-only class, these Once the object of the class is created, it cannot be modified, so the existing method can only recreate a new collection object each time when dealing with multi-valued data (especially when modifying data); plus the collection class built in the existing method also needs Reconsider the issues of generics and security, which makes the multi-valued data processing method of the existing technology extremely poor in scalability, low in reusability, inconvenient to use and low in efficiency, and the security is not ideal

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
  • Multi-value data storage and reading method and apparatus and multi-value data access system
  • Multi-value data storage and reading method and apparatus and multi-value data access system
  • Multi-value data storage and reading method and apparatus and multi-value data access system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only the technical solutions of the present invention. Some, but not all, embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0046] In the prior art, taking Java's Map collection as an example, the data processing of one key corresponding to one value is generally realized by means of key-value pairs, where the value (value) represents the actual data to be processed; the key (key) represents the current A tag for the value to process. A value is associated with a key through...

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 relates to the technical field of computer data processing and discloses a multi-value data storage and reading method and apparatus and a multi-value data access system. According to the technical scheme provided by the invention, two-stage indexes and a corresponding relation thereof are initialized; and a key value is determined through a first-stage index, at least one data value is determined through a second-stage index represented by the key value, and storage, reading or deletion operation is performed on the at least one data value by utilizing a key. According to the technical scheme provided by the invention, a mode for storing and extracting data in the form of a key value pair in the prior art is improved, the adopted data structure is clear in layer, an object set does not need to be newly created, and the efficiency for processing multi-value data is greatly improved through data storage and extraction by the technical scheme provided by the invention.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for storing and reading multi-valued data and a system for accessing it. Background technique [0002] In the existing technology, one key (key) corresponds to one value (value) data operation. For example, a function method generally only has one return value. When multiple values ​​need to be returned, it is difficult to realize that one key corresponds to multiple values. Data processing efficiency is low. [0003] For example, as a cross-platform development method, Java technology is widely used in PC platforms, embedded platforms, mobile terminals and the Internet. With its excellent versatility, efficiency, platform portability and security, Java technology has significant advantages and broad prospects in the global cloud computing and mobile Internet industry environment. As an open technology, Java is compatible with various platform systems and ...

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
Inventor 杨涛
Owner TENCENT TECH (SHENZHEN) 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