CN101826106B - Telemetering data access method for ground station of unmanned airship system - Google Patents

Telemetering data access method for ground station of unmanned airship system Download PDF

Info

Publication number
CN101826106B
CN101826106B CN2010101421048A CN201010142104A CN101826106B CN 101826106 B CN101826106 B CN 101826106B CN 2010101421048 A CN2010101421048 A CN 2010101421048A CN 201010142104 A CN201010142104 A CN 201010142104A CN 101826106 B CN101826106 B CN 101826106B
Authority
CN
China
Prior art keywords
data
memory
database
mapped
unmanned airship
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
CN2010101421048A
Other languages
Chinese (zh)
Other versions
CN101826106A (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.)
Shanghai Jiaotong University
Original Assignee
Shanghai Jiaotong 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 Shanghai Jiaotong University filed Critical Shanghai Jiaotong University
Priority to CN2010101421048A priority Critical patent/CN101826106B/en
Publication of CN101826106A publication Critical patent/CN101826106A/en
Application granted granted Critical
Publication of CN101826106B publication Critical patent/CN101826106B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a telemetering data access method for a ground station of an unmanned airship system, which comprises the following steps: saving the telemetering data of the unmanned airship system as an internal memory mapping data base comprising a plurality of data files, simultaneously establishing a corresponding external memory data base, and establishing worksheets corresponding to the data files of the internal memory mapping data base one to one in the external memory data base; then setting a historical variable and a current variable for each data file in the internal memory mapping data base, wherein the historical variables are used for marking recording positions in the external memory data base, and the current variables are used for marking the current recording position in the internal memory mapping data base; and finally, saving updated data to the internal memory mapping data base and saving the data files from the historical variables to the current variables in the internal memory mapping data base to the external memory data base at regular time to replace the complex and expensive internal memory mapping data base, realize the real-time monitoring on the unmanned airship and meet the demands on telemetering data access in the aspects of real-time performance, reliability and usability.

Description

The telemetering data access method that is used for ground station of unmanned airship system
Technical field
What the present invention relates to is a kind of method of remotely monitored sensing technical field, specifically is a kind of telemetering data access method that is used for ground station of unmanned airship system based on memory-mapped.
Background technology
The land station of unmanned airship system separates the telemetry frame that receives through Radio Link and is counted as telemetry.The access method of telemetry is designed with two big demands: the one, conveniently realize EDR, analysis, and the flight course reproduction; The 2nd, satisfy the in-service monitoring system state, therefore real-time and reliability are had high requirements.
Retrieval through to prior art is found, has two kinds of technical schemes at present.A kind of is directly to realize with relevant database, though traditional relational database management data function is very powerful, and poor-performing aspect real-time and reliability, the common SUAV system that only is applicable to low side.Another kind is to adopt the real-time data base mode to realize, for example document " flight test telemetry ground station (FTTGS) scheme and QUAD 7 systems " (Yu Renyang, remote measuring and controlling, 1993) etc.The core of this implementation is a memory database, and promptly the working version of database resides in the internal memory, need not carry out the I/O operation.The development of memory database at present is ripe relatively, all have diversified mode at aspects such as architecture, data organization, access method, concurrent control, fault recoveries, but the ubiquity deployment operation is complicated, the high difficulty of cost.
Memory Mapping File and its is based on the virtual memory management mechanism of Win32, allows the user in virtual address space, to keep one section region of memory, is mapped to file destination in this section virtual memory, is mainly used in the data sharing on the single computing machine.Compare with memory database, Memory Mapping File and its need not carried out I/O operation to file yet, and aspect of performance also can satisfy the real-time requirement of data access operation, and it is low, easy and simple to handle to have a system overhead of taking, easily advantage such as enforcement.
The unmanned airship system has each relatively independent sub-systems, and the data structure of its telemetry is comparatively simple, affairs and query processing can be carried out and simplified and the data of each subsystem are directly distributed and can significantly reduce concurrent operations according to subsystem.
Summary of the invention
Deficiency to above-mentioned prior art; The present invention provides a kind of telemetering data access method that is used for ground station of unmanned airship system; Mode with memory-mapped deposits data file separately in according to affiliated subsystem; Can replace complicacy and expensive memory database and satisfy telemetry and be accessed in real-time, reliability, the requirement of ease for use aspect.
The present invention realizes through following technical scheme, the present invention includes following steps:
The first step, the telemetry of unmanned airship system is saved as the memory-mapped database that comprises the plurality of data file; Set up corresponding external memory database simultaneously, and set up in the deposit data storehouse outside and memory-mapped data of database file worksheet one to one;
Described data file comprises: the navigation map data file, fly to control mapping data files, energy mapping data files, advance mapping data files and ring control mapping data files;
The queue record that the data structure of described data file constitutes for several field series connection, its field length and record length can be set as required in advance.
Second step, for each data file in the memory-mapped database is provided with historical variable and current variable, wherein: historical variable is used for identifying the record position of external memory database, current variable is used for identifying the current record position of memory-mapped database;
The initial value of described historical variable and current variable all is set to each data file reference position;
The 3rd step, will Update Information deposits in the memory-mapped database, and with the control end of the data distribution in each data files in the memory-mapped database to unmanned airship system to carry out visual monitor;
The 4th step, timing are saved to the external memory database with historical variable in the memory-mapped database to the data file between the current variable; Restart land station's program when abnormal conditions occurring; Through the fault recovery module remaining data of memory-mapped data file is directed into historical telemetry storehouse, makes and do not lose telemetry when earth station system is unusual.
Technical scheme provided by the invention can satisfy the unmanned airship system land station's telemetry is accessed in real-time, reliability, and the requirement of aspect such as operational access is convenient, and has following beneficial effect:
(1) significantly reduces the I/O operation through memory-mapped data file mechanism, improved access speed, can satisfy the real-time requirement of the unmanned vehicle system being kept watch on through telemetry;
(2) the memory-mapped data file occurs can not losing when unusual in program, preserves the position of data recording through file mode, does not lose telemetry when having realized fault, has guaranteed reliability;
(3) compare with the mode of memory database, this programme take system overhead low, realize simple, cost is low.
Description of drawings
Fig. 1 is the embodiment synoptic diagram.
Fig. 2 is the data area structure of Memory Mapping File and its.
Embodiment
Elaborate in the face of embodiments of the invention down, present embodiment provided detailed embodiment and concrete operating process, but protection scope of the present invention is not limited to following embodiment being to implement under the prerequisite with technical scheme of the present invention.
The operation platform of the unmanned airship system control end that relates in the present embodiment is an industrial computer, and it mainly is configured to dominant frequency P4 3.0G, internal memory 1G, hard disk 160G.Software is the application program that under Windows XP operating system environment, adopts Visual C++ too development, and the external memory historical data base that is adopted is Access.
The telemetry that described control end receives totally 130 tunnel is divided into navigation, flies control, subsystems such as ring control, the energy, propelling.For example, navigation subsystem comprises 12 road inertial navigation telemetries and 14 road GPS telemetries; Fly control subsystem and comprise 34 tunnel telemetries such as offline mode, angle of rudder reflection; The ring control subsystem comprises 16 tunnel telemetries such as pressure reduction, temperature, humidity.
Land station builds together for each sub-systems and founds 12 of memory-mapped data files.Wherein, Under pass frequency the soonest for 2Hz; Suppose that certain data file need preserve 12 road this type telemetries, add that it is 30 bytes that one time 14 tunnel telemetries of information such as clock synchronization take up room; Then the data file per second data volume that need consume is 60 bytes, if the pre-determined flight time is no more than 8 hours, it is that 2M just can satisfy the storage space requirement that the maximum memory mapping data files then is set.
As shown in Figure 1, present embodiment may further comprise the steps:
The first step, the telemetry of unmanned airship system is saved as the memory-mapped database that comprises the plurality of data file; Set up corresponding external memory database simultaneously, and set up in the deposit data storehouse outside and memory-mapped data of database file worksheet one to one;
As shown in Figure 2, described data file comprises: the navigation map data file, fly to control mapping data files, energy mapping data files, advance mapping data files and ring control mapping data files;
The queue record that the data structure of described data file constitutes for several field series connection, its field length and record length can be set as required in advance.
Second step, for each data file in the memory-mapped database is provided with historical variable and current variable, wherein: historical variable is used for identifying the record position of external memory database, current variable is used for identifying the current record position of memory-mapped database;
The initial value of described historical variable and current variable all is set to each data file reference position;
The 3rd step, will Update Information deposits in the memory-mapped database, and with the control end of the data distribution in each data files in the memory-mapped database to unmanned airship system to carry out visual monitor;
The 4th step, timing are saved to the external memory database with historical variable in the memory-mapped database to the data file between the current variable; Restart land station's program when abnormal conditions occurring; Through the fault recovery module remaining data of memory-mapped data file is directed into historical telemetry storehouse, makes and do not lose telemetry when earth station system is unusual.
In the present embodiment, the timing cycle of memory-mapped data file update to external memory database is set to 5 seconds.Finish and confirm that all telemetries all have been saved under the situation of external memory database at flight experiment, land station's program normally withdraws from emptying the memory-mapped data file automatically, and the record position that variable identified is reset to initial value; If occur withdrawing from unusually, then memory-mapped data file and variable sign remains on the state before withdrawing from, and feasiblely can continue the memory-mapped data file is imported to the external memory database after restarting land station.

Claims (4)

1. a telemetering data access method that is used for ground station of unmanned airship system is characterized in that, may further comprise the steps:
The first step, the telemetry of unmanned airship system is saved as the memory-mapped database that comprises the plurality of data file; Set up corresponding external memory database simultaneously, and set up in the deposit data storehouse outside and memory-mapped data of database file worksheet one to one;
Second step, for each data file in the memory-mapped database is provided with historical variable and current variable, wherein: historical variable is used for identifying the record position of external memory database, current variable is used for identifying the current record position of memory-mapped database;
The 3rd step, will Update Information deposits in the memory-mapped database, and with the control end of the data distribution in each data files in the memory-mapped database to unmanned airship system to carry out visual monitor;
The 4th step, timing are saved to the external memory database with historical variable in the memory-mapped database to the data file between the current variable; Restart land station's program when abnormal conditions occurring; Through the fault recovery module remaining data of memory-mapped data file is directed into the external memory database, makes and do not lose telemetry when earth station system is unusual.
2. the telemetering data access method that is used for ground station of unmanned airship system according to claim 1; It is characterized in that described data file comprises: the navigation map data file, fly to control mapping data files, energy mapping data files, advance mapping data files and ring control mapping data files.
3. the telemetering data access method that is used for ground station of unmanned airship system according to claim 1 and 2; It is characterized in that; The queue record that the data structure of described data file constitutes for several field series connection, its field length and record length can be set as required in advance.
4. the telemetering data access method that is used for ground station of unmanned airship system according to claim 1 is characterized in that, the initial value of described historical variable and current variable all is set to each data file reference position.
CN2010101421048A 2010-04-09 2010-04-09 Telemetering data access method for ground station of unmanned airship system Expired - Fee Related CN101826106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101421048A CN101826106B (en) 2010-04-09 2010-04-09 Telemetering data access method for ground station of unmanned airship system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101421048A CN101826106B (en) 2010-04-09 2010-04-09 Telemetering data access method for ground station of unmanned airship system

Publications (2)

Publication Number Publication Date
CN101826106A CN101826106A (en) 2010-09-08
CN101826106B true CN101826106B (en) 2012-07-04

Family

ID=42690024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101421048A Expired - Fee Related CN101826106B (en) 2010-04-09 2010-04-09 Telemetering data access method for ground station of unmanned airship system

Country Status (1)

Country Link
CN (1) CN101826106B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105652171A (en) * 2016-04-11 2016-06-08 国网上海市电力公司 Data storage method for local discharging wireless monitoring system
CN110119132B (en) * 2019-04-09 2023-01-24 吴怡文 Method and system for realizing function setting diversification of controller

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315628A (en) * 2007-06-01 2008-12-03 华为技术有限公司 Internal memory database system and method and device for implementing internal memory data base

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101315628A (en) * 2007-06-01 2008-12-03 华为技术有限公司 Internal memory database system and method and device for implementing internal memory data base

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
张庆华等.基于Windows数据连续采集实时分析的实现及应用.《南京理工大学学报》.2004,第28卷(第3期),全文. *
张瑞菊等.快速处理大数据量三维激光扫描数据的技术研究.《测绘科学》.2006,第31卷(第5期),全文. *
王金华等.轻量级内存数据库的研究.《计算机工程》.2008,第34卷全文. *

Also Published As

Publication number Publication date
CN101826106A (en) 2010-09-08

Similar Documents

Publication Publication Date Title
CN102521269B (en) Index-based computer continuous data protection method
CN102158349B (en) A kind of log management apparatus and method
CN109213143A (en) Operate the centralized dispatching system using event loop of automatic driving vehicle
CN202939460U (en) Vehicle-mounted data acquisition terminal and vehicle information acquisition system
CN109690512A (en) GPU telecommunication with trigger action
CN106528649B (en) mass data storage and retrieval system and method for new energy automobile
CN109213609A (en) Operate the centralized dispatching system using global storage of automatic driving vehicle
CN104731794A (en) Cold-hot data fragmenting, mining and storing method
CN101799788A (en) Level-to-level administration method and system of storage resources
CN101826106B (en) Telemetering data access method for ground station of unmanned airship system
CN102404411A (en) Data synchronization method of cloud storage system
CN110632936A (en) Unmanned aerial vehicle flies to control computer system
CN103488564A (en) Multichannel test data compressing and merging method for distributed real-time test system
EP2704035A1 (en) Storage and retrieval of sensor data and computed parameters for use in condition based maintenance systems
EP3118579A1 (en) System and method for integrating temporary data into flight management systems
CN106951387A (en) Vehicle-mounted data storage device and storage method
CN110175206A (en) Intellectual analysis operational approach, system and medium for multiple database separation
US10133796B2 (en) Data management system
CN113093516A (en) Time calibration method, device, equipment and storage medium for unmanned aerial vehicle battery
US7913011B2 (en) Method and apparatus for employing a second bus controller on a data bus having a first bus controller
WO2015184772A1 (en) Alarm information storage method and device
CN112070580A (en) Flight-condition-based information display method, system, electronic device and medium
CN111240361A (en) Flight control method, device and equipment based on four-dimensional data and storage medium
CN106970580B (en) Method for monitoring state of launching vehicle
CN113760950B (en) Index data query method, device, electronic equipment and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120704

Termination date: 20150409

EXPY Termination of patent right or utility model