A storage method and device for json data
A data storage and data table technology, applied in structured data retrieval, semi-structured data retrieval, database design/maintenance, etc., can solve problems such as large memory consumption, memory waste, unfavorable cross-platform use, etc., to achieve increased system operation Load, reduce memory dependence, save memory idle effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0059] The preferred embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0060] In order to achieve smooth storage of Json data in an environment with insufficient memory, in the embodiment of the present application, the Json data table resident in the memory is stored in blocks by means of data segmentation, memory mapping, etc., to a designated storage device (eg, Hard disk, Flash, and then reduce the memory usage of Json during the operation of the device.)
[0061] Refer to figure 1 As shown, in this embodiment of the application, the schematic flow of Json data storage is as follows:
[0062] Step 100: Divide the Json data table into a number of Json data information (recorded in the JB block) according to the set path depth N. The path depth N represents the number of paths included from the selected root node to the outermost leaf node.
[0063] For example, see figure 2 As shown, assuming that N=3, then, sta...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


