Any version compatible data structure access method and device based on metadata
A technology of data structure and access method, applied in file access structure, electronic digital data processing, special data processing applications, etc., can solve problems such as abnormal complexity, large data file information, increased program execution burden, etc., to ensure efficiency, Reduce workload and achieve compatibility between new and old versions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 A flow chart of a method for accessing any version-compatible data structure based on metadata provided by the first embodiment of the present invention is shown. Such as figure 1 As shown, a metadata-based access method for any version-compatible data structure according to the first embodiment of the present invention includes:
[0029] S1. Receive the changed data structure information, compare the changed data structure information with the pre-stored data structure information, and obtain the changed data structure information;
[0030] S2, according to the changed data structure information, calculate the version number corresponding to the changed data structure information, and store the version number in the data structure information file;
[0031] S3, in the data structure information file, search for the corresponding data structure information according to the version number, if the data structure information corresponding to the version number i...
Embodiment 2
[0047] see figure 2 , the embodiment of the present invention also provides an arbitrary version compatible data structure access device 100 based on metadata, including:
[0048] The preprocessing module 1 is used to receive the changed data structure information, compare the changed data structure information with the pre-stored data structure information, and obtain the changed data structure information;
[0049] The version number acquisition module 2 is used to calculate the version number corresponding to the changed data structure information according to the changed data structure information, and store the version number in the data structure information file;
[0050] The read-write module 3 is used to search the corresponding data structure information according to the version number in the data structure information file. If the data structure information corresponding to the version number is found, the data is read and written according to the data structure in...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 