Nothing Special   »   [go: up one dir, main page]

CN1294516C - Modeling memory and access method of real time database - Google Patents

Modeling memory and access method of real time database Download PDF

Info

Publication number
CN1294516C
CN1294516C CNB2004100146245A CN200410014624A CN1294516C CN 1294516 C CN1294516 C CN 1294516C CN B2004100146245 A CNB2004100146245 A CN B2004100146245A CN 200410014624 A CN200410014624 A CN 200410014624A CN 1294516 C CN1294516 C CN 1294516C
Authority
CN
China
Prior art keywords
data
real
time
disk
clock face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2004100146245A
Other languages
Chinese (zh)
Other versions
CN1564158A (en
Inventor
刘奇志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University
Original Assignee
Nanjing University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing University filed Critical Nanjing University
Priority to CNB2004100146245A priority Critical patent/CN1294516C/en
Publication of CN1564158A publication Critical patent/CN1564158A/en
Application granted granted Critical
Publication of CN1294516C publication Critical patent/CN1294516C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

实时数据库的数据建模方法以及基于此种建模方法的数据库存储和访问方法。数据建模方法是:将所有实时测控数据项中所包含的信息分成静态信息和动态信息,静态信息用传统的E-R模型表示,动态信息用钟面模型表示。数据库存储方法是:将表示静态信息的E-R模型转化成关系模型和二维表结构存入磁盘记录式文件,将表示动态信息的钟面模型存入磁盘流式文件,磁盘流式文件名与实时测控数据项名一致。访问方法是:根据访问数据的时间参数计算与0点的时间偏移量,进而算出物理地址偏移量,然后直接定位于磁盘物理地址来进行读或写的操作。本发明以钟面刻划一定采样周期内实时测控数据流中的时态信息,无需建立索引,减少管理数据所需开销的时空资源。

The data modeling method of real-time database and the database storage and access method based on this modeling method. The data modeling method is: Divide the information contained in all real-time measurement and control data items into static information and dynamic information. The static information is represented by the traditional ER model, and the dynamic information is represented by the clock face model. The database storage method is: convert the ER model representing static information into a relational model and a two-dimensional table structure and store it in a disk record file, and store the clock face model representing dynamic information in a disk stream file, and the name of the disk stream file is the same as the real-time The names of the measurement and control data items are consistent. The access method is: calculate the time offset from 0 o'clock according to the time parameter of the access data, and then calculate the physical address offset, and then directly locate the physical address of the disk to perform the read or write operation. The invention uses the clock face to describe the temporal information in the real-time measurement and control data flow within a certain sampling period, without establishing an index, and reduces the time and space resources required for data management.

Description

实时数据库建模、存储和访问方法Real-time database modeling, storage and access methods

技术领域technical field

本发明涉及实时数据库领域,尤其是一种实时数据库建模方法及基于该建模方法的数据存储和数据库访问方法。The invention relates to the field of real-time databases, in particular to a real-time database modeling method and a data storage and database access method based on the modeling method.

背景技术Background technique

传统数据库系统一般采用实体-联系模型(E-R模型)或扩充实体-联系模型(EE-R模型)来对实际应用数据进行建模(概念模型),目前使用最为广泛的关系型数据库将这种概念模型转换成关系模型进而转换成二维表结构形式来存储数据。这种模式易于理解,但不能满足实时系统数据处理应用的需求。其局限性主要体现在以下两个方面:首先是数据模型上的限制,关系数据库所采用的二维表格数据模型不能有效地处理带有时态信息的三维或多维数据,结果往往是建立了大量的表,用了复杂的方式来处理,却仍然很难模仿出数据的现实关系,更糟的是,这些表之间的连接经常隐藏在应用程序里,而不是存在于更易于管理的数据库中;第二是性能上的限制,为静态应用例如报表生成而设计的关系数据库管理系统并不是为高效数据处理而优化的,其结果是某些关系数据库管理系统虽然能在为该产业特别开发的考机测试程序上取得满意的性能,但是在实时数据处理的真实世界中其性能却并不令人满意。Traditional database systems generally use the entity-relationship model (E-R model) or the extended entity-relationship model (EE-R model) to model the actual application data (conceptual model), and the most widely used relational database currently uses this concept The model is converted into a relational model and then converted into a two-dimensional table structure to store data. This mode is easy to understand, but it cannot meet the needs of real-time system data processing applications. Its limitations are mainly reflected in the following two aspects: the first is the limitation of the data model, the two-dimensional tabular data model adopted by the relational database cannot effectively deal with the three-dimensional or multi-dimensional data with temporal information, and the result is often to establish a large number of Tables, handled in a complex way, still have difficulty imitating the real-world relationships of the data, and worse, the connections between these tables are often hidden in the application, rather than in a more manageable database; The second is performance limitations. Relational database management systems designed for static applications such as report generation are not optimized for efficient data processing. However, its performance in the real world of real-time data processing is not satisfactory.

也就是说,由于在实时系统中,实时测控信息包含重要的时态信息,传统数据库系统把时态信息当作普通的参数(属性)来对待,导致这些应用系统的数据库中记录数目呈急剧膨胀趋势,比如一个数据项的采样周期为1s,则1小时就会产生3600条记录,在有多个数据项且它们的采样周期又不同的连续测控系统中,记录数增长的速度可想而知;而实时系统的时间和空间资源一般都不太充足,所以将传统数据库技术应用在实时系统中效率一直不理想。That is to say, because in real-time systems, real-time measurement and control information contains important temporal information, traditional database systems treat temporal information as ordinary parameters (attributes), resulting in a rapid expansion of the number of records in the databases of these application systems For example, if the sampling period of a data item is 1s, 3600 records will be generated in 1 hour. In a continuous measurement and control system with multiple data items and their sampling periods are different, the growth rate of the number of records can be imagined ; However, the time and space resources of real-time systems are generally not sufficient, so the efficiency of applying traditional database technology to real-time systems has not been ideal.

简言之,传统数据库技术应用在实时系统中,模型表现力不够,而且存储和访问效率低,在记录数目众多的情况下更是如此,实际应用中往往需要通过索引技术来提高效率,然而建立索引需要花费时间和存储空间的代价。In short, when traditional database technology is applied in a real-time system, the expressiveness of the model is not enough, and the storage and access efficiency is low, especially in the case of a large number of records. In practical applications, indexing technology is often needed to improve efficiency. However, the establishment of Indexing costs time and storage space.

数据库新技术中的对象关系数据库等技术试图改变这种现状,但其实质是在关系数据库的基础上融合面向对象技术和传统数据库的一些特点,以及新的编程工具环境,以适应新的以Internet Web为基础的应用,并未对实时数据库设计的方法提出根本的建议。Object-relational database and other technologies in the new database technology try to change this situation, but its essence is to integrate some characteristics of object-oriented technology and traditional database on the basis of relational database, as well as a new programming tool environment to adapt to the new Internet-based environment. Web-based applications do not make fundamental recommendations for real-time database design methods.

中国专利00811092号申请文件公开了“实时数据库对象的统计数字的采集”(国际申请号:PCT/US00/17491),它是借助数据库管理系统来采集数据库对象的实时统计数字的方法,其思想是基于现有关系模型的数据处理,不是根本解决实时数据库存储和访问效率的方法。Chinese patent No. 00811092 application document discloses "collection of statistics of real-time database objects" (International Application No.: PCT/US00/17491), which is a method for collecting real-time statistics of database objects by means of a database management system. The idea is Data processing based on the existing relational model is not a fundamental solution to the efficiency of real-time database storage and access.

中国专利00818943号申请文件公开了“信息建模方法和利用建模方法的数据库搜索方法”(国际申请号:PCT/KR00/00505),它是一种将数据解析成语义元素,接收各种数据的信息建模方法,包括时间信息数据和指示位置的空间信息数据以及其它类型的数据,不是针对实时数据库系统的方法,不能解决效率问题。Chinese Patent No. 00818943 application document discloses "Information Modeling Method and Database Search Method Using Modeling Method" (International Application No.: PCT/KR00/00505), which is a method of parsing data into semantic elements and receiving various data The information modeling method, including time information data and spatial information data indicating location and other types of data, is not a method for real-time database system and cannot solve the efficiency problem.

美国专利US 6644549号申请文件公开了“Portable terminal with real-timedatabase access,printing and display”,它是一种带有实时数据库的终端设备,其所使用的实时数据库技术仍是传统数据库技术,并未涉及改进或改造实时数据库管理系统本身的技术。The application document of U.S. Patent No. US 6644549 discloses "Portable terminal with real-time database access, printing and display", which is a terminal device with real-time database. The real-time database technology it uses is still traditional database technology and has not Techniques that involve improving or transforming the real-time database management system itself.

美国专利US6556882号申请文件公开了“Method and apparatus for generatingreal-time data from static files”,它包括一种将实时数据存储在静态文件数据库中的方法,该方法目的是用静态文件数据库中的数据模仿实时数据流来运行制造系统,以便分析制造系统网络的性能,不是解决实时数据库本身效率问题的方法。U.S. Patent No. US6556882 application document discloses "Method and apparatus for generating real-time data from static files", which includes a method of storing real-time data in a static file database. Streaming real-time data to run manufacturing systems in order to analyze the performance of a network of manufacturing systems is not the solution to the efficiency problem of real-time databases themselves.

发明内容Contents of the invention

本发明的目的是:为了克服目前实时数据库存储和访问效率低的技术问题。The purpose of the present invention is to overcome the technical problem of low storage and access efficiency of the current real-time database.

进一步地,本发明所要解决的技术问题是为了克服目前数据库建模方法忽视时态信息和磁盘存储结构的技术问题。Furthermore, the technical problem to be solved by the present invention is to overcome the technical problem that the current database modeling method ignores temporal information and disk storage structure.

相应地,本发明的目的还包括:提供一种基于上述建模方法的数据存储方法和数据库访问方法。Correspondingly, the object of the present invention also includes: providing a data storage method and a database access method based on the above modeling method.

实现本发明目的而采取的技术方案概括如下:The technical scheme that realizes the object of the present invention and takes is summarized as follows:

提供一种实时数据库实际应用数据的建模方法,包括采用下列步骤:首先,将所有实时测控数据项中的静态信息(如数据项名称、采样周期)分离出来,用E-R模型表示;然后将各实时测控数据中的动态信息(如测量值)用钟面模型表示出来。在钟面模型中,一个钟面表示一个数据项,钟面内标出数据项的名称和采样周期,钟面的0点表示采样起始时刻。如果有相同采样周期的数据项,则可以合并在同一钟面上。A modeling method for practical application data of a real-time database is provided, including the following steps: first, separate static information (such as data item names, sampling periods) in all real-time measurement and control data items, and express them with an E-R model; The dynamic information (such as measured value) in the real-time measurement and control data is represented by the clock face model. In the clock face model, a clock face represents a data item, the name of the data item and the sampling period are marked on the clock face, and 0 o'clock on the clock face represents the sampling start time. If there are data items with the same sampling period, they can be combined on the same clock face.

基于上述建模方法,提供一种实时数据的存储方法,包括采用下列步骤:将表示静态信息的E-R模型转化成关系模型和二维表结构存入磁盘记录式文件;将表示动态信息的钟面模型存入磁盘流式文件,磁盘流式文件名与实时测控数据项名一致,钟面的0点表示采样起始时刻的同时,对应磁盘的起始存储地址。Based on the above modeling method, a real-time data storage method is provided, which includes the following steps: converting the E-R model representing static information into a relational model and a two-dimensional table structure and storing it in a disk record file; converting the clock face representing dynamic information The model is stored in the disk stream file, and the name of the disk stream file is consistent with the name of the real-time measurement and control data item. The 0 o'clock on the clock face represents the sampling start time and corresponds to the initial storage address of the disk.

基于上述数据建模方法和存储方法,提供一种实时数据库的访问方法,包括采用下列步骤:根据访问数据项名查找磁盘流式文件名,根据访问数据的时间参数计算与0点的时间偏移量,进而算出物理地址偏移量,然后直接定位于磁盘物理地址,从而进行读或写的操作,无需建立索引。这里,由于实时测控数据的固有特性,规定写操作只能进行修改,不能删除或插入。如果访问数据要求涉及到静态信息则打开磁盘记录式文件,由于此时磁盘记录式文件仅存储静态信息,数据量小,记录数少,所以按传统访问方式访问。Based on the above-mentioned data modeling method and storage method, a real-time database access method is provided, including the following steps: searching for the name of the disk stream file according to the name of the access data item, and calculating the time offset from 0 o'clock according to the time parameter of the access data The amount, and then calculate the physical address offset, and then directly locate the physical address of the disk, so as to perform read or write operations without indexing. Here, due to the inherent characteristics of real-time measurement and control data, it is stipulated that the write operation can only be modified, and cannot be deleted or inserted. If the access data requires static information, open the disk record file. Since the disk record file only stores static information at this time, the amount of data is small, and the number of records is small, it is accessed according to the traditional access method.

本发明的特点是:将数据库数据项中的静态信息和各实时测控数据中的动态信息的建模结合起来,尤其重视动态信息并用最合理的磁盘存储方法,能解决现有数据库存储和访问效率低的问题。The characteristics of the present invention are: combining the static information in the database data items with the modeling of the dynamic information in each real-time measurement and control data, paying special attention to the dynamic information and using the most reasonable disk storage method, which can solve the existing database storage and access efficiency low problem.

本发明以钟面刻划一定采样周期内实时测控数据流中的时态信息,将实时测控信息中的静态信息和动态信息分别用记录式文件和流式文件分开存储,对流式文件的访问可根据时间偏移量计算物理地址偏移量进行数据定位,无需建立索引,减少管理数据所需开销的时空资源,对提高实时系统的效率和性能具有重要意义。采用本发明的技术方案,提供一种实时数据库的数据建模方法和基于此种建模方法的数据存储和数据库访问方法,工程人员采用这种建模方法可以比较容易地建立概念模型,数据库系统软件采用这种存储方法和访问方法可以加快数据存储和数据库访问效率,极大地改善实时系统的性能。The present invention uses the clock face to describe the temporal information in the real-time measurement and control data flow within a certain sampling period, and stores the static information and dynamic information in the real-time measurement and control information separately in recording files and streaming files, and the access to the streaming files can be Calculate the physical address offset according to the time offset to locate the data, no need to build an index, and reduce the time and space resources required to manage the data, which is of great significance to improve the efficiency and performance of the real-time system. By adopting the technical solution of the present invention, a data modeling method of a real-time database and a data storage and database access method based on this modeling method are provided. Engineers can easily establish a conceptual model and a database system by using this modeling method. The software adopts this storage method and access method to speed up the efficiency of data storage and database access, and greatly improve the performance of the real-time system.

附图说明Description of drawings

图1钟面模型结构示意图Figure 1 Schematic diagram of the structure of the clock face model

图2逻辑地址空间图Figure 2 Logical Address Space Diagram

具体实施方式Detailed ways

下面将结合附图,说明本发明一个实施的方式:Below in conjunction with accompanying drawing, illustrate the mode of an implementation of the present invention:

首先,对实时系统进行需求分析,确定有哪些测控数据,将所有实时测控数据项中的静态信息(包括数据项ID、数据项名称、测量单位、模拟量还是数字量、采样周期、报警上限、报警下限等等)分离出来,用传统的E-R模型表示,以数据项ID或数据项名作为主关键字,因为数据项名是工程人员命名的,所以可以确保不重名;然后将各实时测控数据中的动态信息(包括时间和测量值)用钟面模型表示出来。在钟面模型中,一个钟面代表一个数据项,钟面用圆形直观表示,圆心下方以文字标明数据项的名称,圆心上方画一个锐角,锐角内标明采样周期,钟面的0点表示采样起始时刻。如果有相同采样周期的数据项,则可以合并在同一钟面上,即将相同采样周期的数据项名称写在同一钟面内,用逗号分割,如附图1所示。First, analyze the requirements of the real-time system, determine what measurement and control data are available, and compile the static information in all real-time measurement and control data items (including data item ID, data item name, measurement unit, analog or digital, sampling period, alarm upper limit, Alarm lower limit, etc.) are separated and expressed by the traditional E-R model, with the data item ID or data item name as the primary key, because the data item name is named by the engineer, so it can be ensured that there is no duplicate name; and then each real-time measurement and control The dynamic information in the data (including time and measurement value) is represented by the clock face model. In the clock face model, a clock face represents a data item. The clock face is visually represented by a circle. The name of the data item is marked with text below the center of the circle. An acute angle is drawn above the center of the circle. The sampling period is marked inside the acute angle. The 0 point on the clock face represents Sampling start time. If there are data items with the same sampling period, they can be combined on the same clock face, that is, the names of the data items with the same sampling period are written on the same clock face and separated by commas, as shown in Figure 1.

基于上述建模方法,提供一种实时数据的存储方法,包括采用下列步骤:将表示静态信息的E-R模型转化成关系模型和二维表结构存入磁盘记录式文件;将表示动态信息的钟面模型存入磁盘流式文件。流式文件指文件内的数据不组成记录形式,只是依次的一串信息集合。磁盘流式文件名与实时测控数据项名一致,钟面的0点表示采样起始时刻的同时,对应磁盘的起始存储地址。流式文件的逻辑地址空间分布如图2所示,一个数据的存储地址号码由三部分组成:圆柱体号、读/写头号和扇区号。存储动态数据时,可以将不同数据项所对应的流式文件存储在不同的圆柱体上,也即同一数据项的实时测控数据均位于同一圆柱体上。同一圆柱体上能存储的数据量由硬件决定,比如一个单驱动器的盘片组,有6个盘片,10个磁头,柱面数为1200,所选圆柱体的磁道有32个扇区,每个扇区可以存放512B,则该圆柱体可以存放10×32×512=163840B数据。假设存储一个测控数据项需要4个字节空间,则该圆柱体上可存储4万多次采样的数据。则该磁盘可存储1200个数据项的4万多次采样结果。Based on the above modeling method, a real-time data storage method is provided, which includes the following steps: converting the E-R model representing static information into a relational model and a two-dimensional table structure and storing it in a disk record file; converting the clock face representing dynamic information Models are streamed to disk as files. A streaming file means that the data in the file does not constitute a record form, but only a series of information collections in sequence. The name of the disk streaming file is consistent with the name of the real-time measurement and control data item. The 0 o’clock on the clock face represents the sampling start time and corresponds to the initial storage address of the disk. The logical address space distribution of the stream file is shown in Figure 2. The storage address number of a data consists of three parts: cylinder number, read/write head number and sector number. When storing dynamic data, the streaming files corresponding to different data items can be stored on different cylinders, that is, the real-time measurement and control data of the same data item are all located on the same cylinder. The amount of data that can be stored on the same cylinder is determined by the hardware. For example, a disk set with a single drive has 6 disks, 10 heads, and the number of cylinders is 1200. The track of the selected cylinder has 32 sectors. Each sector can store 512B, so the cylinder can store 10×32×512=163840B data. Assuming that storing a measurement and control data item requires 4 bytes of space, the cylinder can store more than 40,000 sampled data. Then the disk can store more than 40,000 sampling results of 1,200 data items.

基于上述数据建模方法和存储方法,提供一种实时数据库的访问方法,包括采用下列步骤:如果访问数据要求涉及到静态信息则打开磁盘记录式文件,由于此时磁盘记录式文件仅存储静态信息,数据量小,记录数少,所以按传统访问方式访问。对于实时测控数据的访问,先根据访问数据项名查找磁盘流式文件名,然后根据访问数据的时间参数和采样周期计算距离采样起始时刻的时间偏移量,进而推算数据所在的物理地址偏移量,然后直接定位于磁盘物理地址,从而进行读或写的操作。比如,设采样周期为1S,采样起始时刻为8:10:10,一次温度采样值占4个字节,文件起始扇区号为xxxx10,若要查询9:00:00的温度采样值,则时间偏移量为(9-8)×3600+(0-10)×60+(0-10)=2990,地址偏移量为2990×4/512=23,则直接定位于xxxx33扇区进行读操作。这里,由于实时测控数据的固有特性,规定写操作只能进行修改,不能删除或插入。Based on the above data modeling method and storage method, a real-time database access method is provided, including the following steps: if the access data requires static information, then open the disk record file, because the disk record file only stores static information at this time , the amount of data is small, and the number of records is small, so it is accessed according to the traditional access method. For the access of real-time measurement and control data, first search the disk stream file name according to the access data item name, and then calculate the time offset from the sampling start time according to the time parameter of the access data and the sampling period, and then calculate the physical address offset of the data. Shift, and then directly locate the physical address of the disk, so as to perform read or write operations. For example, if the sampling period is 1S, the sampling start time is 8:10:10, a temperature sampling value occupies 4 bytes, and the starting sector number of the file is xxxx10, if you want to query the temperature sampling value at 9:00:00, Then the time offset is (9-8)×3600+(0-10)×60+(0-10)=2990, the address offset is 2990×4/512=23, then it is directly located in the xxxx33 sector to perform a read operation. Here, due to the inherent characteristics of real-time measurement and control data, it is stipulated that the write operation can only be modified, and cannot be deleted or inserted.

进一步地,采样数据在扇区的存储方式可以根据采样周期和每个采样数据所占空间来决定,比如对于512字节的扇区,一个扇区可存放128次采样数据,若每个采样数据要占4个字节,为了和时间对应,可以让每个扇区存放120次采样数据,以便于数据的精确定位。还可以在数据流中设置标志位,即将采样时刻与采样值成对存放,以便在取得扇区数据后进一步确定数据值。Furthermore, the storage method of sampling data in a sector can be determined according to the sampling period and the space occupied by each sampling data. For example, for a sector of 512 bytes, one sector can store 128 sampling data. If each sampling data It takes up 4 bytes. In order to correspond to the time, each sector can store 120 sampling data, so as to facilitate the precise positioning of the data. Flag bits can also be set in the data stream, that is, the sampling time and the sampling value are stored in pairs, so as to further determine the data value after obtaining the sector data.

值得说明的是磁盘的操作单位是扇区,用磁盘存储器,具体操作时,根据给出的磁盘地址,活动臂组合件作机械运动定位于指定圆柱体,同时系统选择指定的读写头以确定磁道,最终读写头跟踪旋转的磁道,读出旋转时每个扇区的地址,该地址与所给磁盘地址一致时,系统将该地址中的数据读入内存中的磁盘缓冲区,或从磁盘缓冲区将数据写入指定磁盘地址,完成一次磁盘读写操作。It is worth noting that the operating unit of the disk is a sector. When using disk storage, during specific operations, according to the given disk address, the movable arm assembly performs mechanical movement to locate on the specified cylinder, and the system selects the specified read-write head to determine Finally, the read-write head tracks the rotating track and reads the address of each sector during rotation. When the address is consistent with the given disk address, the system reads the data in the address into the disk buffer in the memory, or reads the data from the The disk buffer writes data to the specified disk address to complete a disk read and write operation.

以上对所公开的涉及实时数据库建模、存储和访问方法进行了具体描述,本领域技术人员将能理解和实施,在不偏离本发明范围情况下,可以对建模、存储和访问方法进行形式和细节的种种修改,因此以上所建议的但不限定的修改都在本发明的范围之内。The disclosed real-time database modeling, storage and access methods have been specifically described above, those skilled in the art will be able to understand and implement, without departing from the scope of the present invention, the modeling, storage and access methods can be formally Various modifications of details and details, so the above suggested but not limited modifications are within the scope of the present invention.

Claims (3)

1, a kind of storage means of real-time data base is characterized in that adopting the following step: at first, the static information in all real-time measuring and control data items is separated, with entity one contact E-R model representation; Then the multidate information in each real-time measuring and control data is come out with the clock face model representation; Become relational model and bivariate table structure to deposit magnetic disc storage formula file in the E-R model conversation of expression static information; Deposit the clock face model of expression multidate information in the disk stream-oriented file; In the clock face model, a clock face is represented a data item, and clock face is represented with circle, indicate the title of data item below the center of circle with literal, an acute angle is drawn in top, the center of circle, indicates the sampling period in the acute angle, in the time of initial moment of 0 of clock face expression sampling, the initial memory address of corresponding disk; The memory address number of data is made up of three parts: right cylinder number, read/write is No.1 and sector number; Disk stream-oriented file name is with the measuring and control data key name is consistent in real time; During the storage dynamic data, the pairing stream-oriented file of different pieces of information item is stored on the different right cylinders, promptly the real-time measuring and control data of same data item all is positioned on the same right cylinder.
2, the storage means of real-time data base according to claim 1 is characterized in that having the data item in identical sampling period, then is incorporated on the same clock face.
3, the storage means of real-time data base according to claim 1, its feature are that also data store at disk sector, and the operating unit of disk is the sector; According to the disk address that provides, the lever arm subassembly is positioned specified cylinder do mechanical motion, the read/write head of selecting appointment simultaneously is to determine magnetic track, final read/write head is followed the tracks of the magnetic track of rotation, read the address of each sector of when rotation, when this address is consistent with giving disk address, the data in this address are read in disk buffer in the internal memory, or data are write the designated disk address from disk buffer, finish a disk read-write operation.
CNB2004100146245A 2004-04-12 2004-04-12 Modeling memory and access method of real time database Expired - Fee Related CN1294516C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100146245A CN1294516C (en) 2004-04-12 2004-04-12 Modeling memory and access method of real time database

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100146245A CN1294516C (en) 2004-04-12 2004-04-12 Modeling memory and access method of real time database

Publications (2)

Publication Number Publication Date
CN1564158A CN1564158A (en) 2005-01-12
CN1294516C true CN1294516C (en) 2007-01-10

Family

ID=34478488

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100146245A Expired - Fee Related CN1294516C (en) 2004-04-12 2004-04-12 Modeling memory and access method of real time database

Country Status (1)

Country Link
CN (1) CN1294516C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100507869C (en) * 2006-10-10 2009-07-01 国际商业机器公司 Method for analyzing system performance sampled data based on relational model, equipment and system
US9626421B2 (en) * 2007-09-21 2017-04-18 Hasso-Plattner-Institut Fur Softwaresystemtechnik Gmbh ETL-less zero-redundancy system and method for reporting OLTP data
CN101520787B (en) * 2008-03-19 2011-04-06 中国科学院自动化研究所 Method for storing real-time data
CN101354270B (en) * 2008-05-05 2010-06-02 国网南京自动化研究院 A storage method for massive data of electric power dispatching
CN102446183A (en) * 2010-10-12 2012-05-09 上海可鲁系统软件有限公司 Industrial data storage method
CN102541925A (en) * 2010-12-21 2012-07-04 中国移动通信集团山西有限公司 Method and device for rapidly storing and retrieving detailed tickets
CN102542029A (en) * 2011-12-22 2012-07-04 沈阳中科博微自动化技术有限公司 Block compressed storage method of industrial data
CN103353891B (en) * 2013-07-05 2017-03-29 北京人大金仓信息技术股份有限公司 Data base management system and its data processing method
CN104408097B (en) * 2014-11-17 2018-07-20 深圳市比一比网络科技有限公司 One kind is based on the newer hybrid index method and system of character field heat
DE102015108859B4 (en) * 2015-06-03 2018-12-27 Cortec Gmbh Method and system for processing data streams
CN107967360A (en) * 2017-12-22 2018-04-27 广东雅达电子股份有限公司 A kind of real-time data base file memory method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4868866A (en) * 1984-12-28 1989-09-19 Mcgraw-Hill Inc. Broadcast data distribution system
CN1190477A (en) * 1995-07-07 1998-08-12 瓦尔数据公司 Method and apparatus for modifying existing relational database schemas to reflect changes made in corresponding object model
US6063128A (en) * 1996-03-06 2000-05-16 Bentley Systems, Incorporated Object-oriented computerized modeling system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4868866A (en) * 1984-12-28 1989-09-19 Mcgraw-Hill Inc. Broadcast data distribution system
CN1190477A (en) * 1995-07-07 1998-08-12 瓦尔数据公司 Method and apparatus for modifying existing relational database schemas to reflect changes made in corresponding object model
US6063128A (en) * 1996-03-06 2000-05-16 Bentley Systems, Incorporated Object-oriented computerized modeling system

Also Published As

Publication number Publication date
CN1564158A (en) 2005-01-12

Similar Documents

Publication Publication Date Title
CN101667205B (en) A real-time measurement point data storage method for fast playback
CN1294516C (en) Modeling memory and access method of real time database
Stolte et al. Multiscale visualization using data cubes
US9996557B2 (en) Database storage system based on optical disk and method using the system
US10255235B2 (en) Database storage system based on jukebox and method using the system
CN107451233B (en) Storage method of time-attribute-priority spatiotemporal trajectory data file in auxiliary storage device
CN105843879B (en) Heterogeneous types database storage system based on CD and the method using the system
CN103577440A (en) Data processing method and device in non-relational database
CN103440245A (en) Line and column hybrid storage method of database system
CN101038590A (en) Space data clustered storage system and data searching method
US6944614B1 (en) Query monitor playback mechanism for post-mortem performance analysis
CN114443615A (en) Database management system, related apparatus, method and medium
CN107506466A (en) A kind of small documents storage method and system
Gong et al. Multi-level layout optimization for efficient spatio-temporal queries on isabela-compressed data
CN1797397A (en) Real time database management system for automatic system of electric power, and implementation method
CN108959497A (en) distributed file system log processing method, device, equipment and storage medium
Frentzos Trajectory data management in moving object databases
CN110263005B (en) Storage system management system for realizing data content locality read-write optimization
CN114647633A (en) Creating a database state tree
CN113722280B (en) A storage and analysis method for massive power network big data
Christodoulakis et al. File organizations and access methods for CLV disks
CN114528252A (en) Statistical data recording and query method, system, equipment and medium for DCS historical data
CN111913987B (en) A distributed query system and method based on dimension group-time-space-probability filtering
CN107729364A (en) A kind of spatial database search method based on geographical entity coding
Grossman et al. Analyzing high energy physics data using databases: a case study

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee