Storage method and device of Json data
A data storage and data table technology, which is applied in electronic digital data processing, structured data retrieval, special data processing applications, etc., can solve the problems of large memory consumption, memory waste, unfavorable cross-platform use, etc., to increase the operating load of the system , reduce memory dependence, save the effect of memory idle
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0059] Preferred embodiments of the present application will be described in detail below in conjunction with the accompanying drawings.
[0060] In order to realize the 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 (such as, Hard disk, Flash, thereby reducing the memory usage of Json during device operation.)
[0061] refer to figure 1 As shown, in the embodiment of this application, the schematic flow of Json data storage is as follows:
[0062] Step 100: Divide the Json data table into several Json data information (recorded in the JB block) according to the set path depth N, which represents the number of paths from the selected root node to the outermost leaf node.
[0063] For example, see figure 2 As shown, assuming N=3, then, starting from the ROOT no...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 