Method for constructing real-time database and data searching method
A data retrieval and construction method technology, applied in the field of reading and real-time database retrieval, can solve problems such as real-time performance can not meet the requirements, and achieve the effect of small data volume, small network bandwidth and fast access
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] At first, the present invention provides a kind of construction method of real-time database, comprises the steps:
[0030] (1) Divide the real-time database into several data tables. The number and capacity of the tables are determined according to the needs, and a unique number starting from 0 is assigned to each data table, and at the same time, a two-dimensional search for each real-time database data table is established. array, with figure 1 Shown, including the number of each table and the corresponding memory start address;
[0031] (2) Each data table defines a number of fields, each field is a record, and each record is given a record number starting from 0; the storage content of each field can also be predefined, defined as real-time changing data or not Changed parameters;
[0032] (3) Establish a composite data structure of the record ID, including the serial number of the data table, the record number, and the number of uses. Among them, each time the s...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 