CN104732611A - Log recording and reading method and device based on flight controller - Google Patents

Log recording and reading method and device based on flight controller Download PDF

Info

Publication number
CN104732611A
CN104732611A CN201510035967.8A CN201510035967A CN104732611A CN 104732611 A CN104732611 A CN 104732611A CN 201510035967 A CN201510035967 A CN 201510035967A CN 104732611 A CN104732611 A CN 104732611A
Authority
CN
China
Prior art keywords
flight controller
computing machine
journal file
log
storer
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.)
Pending
Application number
CN201510035967.8A
Other languages
Chinese (zh)
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.)
GUANGZHOU KUAIFEI COMPUTER TECHNOLOGY Co Ltd
Original Assignee
GUANGZHOU KUAIFEI COMPUTER TECHNOLOGY Co Ltd
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 GUANGZHOU KUAIFEI COMPUTER TECHNOLOGY Co Ltd filed Critical GUANGZHOU KUAIFEI COMPUTER TECHNOLOGY Co Ltd
Priority to CN201510035967.8A priority Critical patent/CN104732611A/en
Publication of CN104732611A publication Critical patent/CN104732611A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a log recording and reading method and device based on a flight controller. The method comprises the following steps: encrypting flight data of an unmanned aerial vehicle by the flight controller, and then writing the data into a log file of a memory; mounting the memory in the flight controller into a computer through a USB connection wire; taking out the log file out of the memory into the computer; and loading the log file by using a corresponding decrypting program in the computer, and decrypting the log file by using the decrypting program to obtain decrypted log contents. The log recording and reading method and device have the beneficial effects that the flight data is encrypted and then is written into the log file of the memory, and then the memory in the flight controller is mounted to the computer in a similar USB flask disc manner, so that the safety of the log contents is guaranteed, and the log contents in the unmanned aerial vehicle can be conveniently and rapidly taken out.

Description

Based on the log recording of flight controller and read method and device
Technical field
The present invention relates to Data Access Technology field, be specifically related to based on the log recording of flight controller and read method and device.
Background technology
Unmanned vehicle is a kind of based on the not manned vehicle of wireless remote control or self programmed control.No matter be wireless remote control type or the unmanned vehicle by self type of programme control, all in aircraft, flight controller must be installed, the main work of flight controller is exactly read the flight of parameter to unmanned vehicle preset to control, and the data that each pen recorder in reception unmanned vehicle and sensing device are monitored, these data can be write in journal file after flight controller process, after unmanned vehicle is finished the work, the journal file that user can obtain wherein is analyzed.
In existing technology, usually need to connect flight controller by supporting software and could extract journal file wherein, this mode has certain limitation, acquisition data are inconvenient, need supporting software is installed, comparatively loaded down with trivial details, if do not install in the computing machine of software kit at one the journal file just do not obtained wherein temporarily.
Summary of the invention
In order to overcome the deficiencies in the prior art, the object of the present invention is to provide based on the log recording of flight controller and read method and device, by writing in the journal file of storer by after flying quality encryption, again by the storer in flight controller with the mode carry of similar USB flash disk to computing machine, namely ensure that security, also achieve convenient and take out daily record rapidly.
For solving the problem, the technical solution adopted in the present invention is as follows:
Scheme one:
Based on log recording and the read method of flight controller, comprise the following steps:
Steps A: by flight controller by the journal file in write storer after the encryption of the flying quality of unmanned vehicle;
Step B: by USB connecting line by the storer carry in flight controller in computing machine;
Step C: the journal file in storer is taken out in computing machine;
Step D: utilize corresponding decrypted program in computing machine to load journal file, by decrypted program, journal file is decrypted, obtains the log content after deciphering.
Further, flying quality comprises the image data of the sensor in the service data of flight controller and unmanned vehicle.
Further, be preset with encipheror in flight controller, the decrypted program in computing machine corresponds to this encipheror.
Scheme two:
Based on log recording and the reading device of flight controller, comprise with lower module:
Modules A: for passing through USB connecting line by the storer carry in flight controller in computing machine;
Module B: for passing through USB connecting line by the storer carry in flight controller in computing machine;
Module C: for the journal file in storer is taken out in computing machine;
Module D: for utilizing corresponding decrypted program in computing machine to load journal file, by decrypted program, journal file being decrypted, obtaining the log content after deciphering.
Further, flying quality comprises the image data of the sensor in the service data of flight controller and unmanned vehicle.
Further, be preset with encipheror in flight controller, the decrypted program in computing machine corresponds to this encipheror.
Compared to existing technology, beneficial effect of the present invention is: by above-mentioned log recording and read method, by in the journal file of write storer after flying quality encryption, again by the storer in flight controller with the mode carry of similar USB flash disk to computing machine, namely ensure that the security of log content, also achieve log content that is convenient and that take out rapidly in unmanned vehicle.
Accompanying drawing explanation
Fig. 1 the present invention is based on the log recording of flight controller and the process flow diagram of read method.
Embodiment
Below, by reference to the accompanying drawings and embodiment, the present invention is described further:
With reference to figure 1, the present invention is applied in unmanned vehicle, unmanned vehicle comprises flight controller, and multiple pen recorder and sensing device, such as gyroscope, barometer, temperature sensor and GPS device etc., storer in flight controller is generally FLASH memory, less but the data stable storage of capacity, the controling parameters called for flight controller is preserved in storer, and for the journal file etc. of record flight data, flight controller can control unmanned vehicle by calling controling parameters, the data of detection and service data can be recorded to the journal file in storer by each pen recorder simultaneously in unmanned vehicle and sensing device.Present embodiments provide a kind of safety and easily based on log recording and the read method of flight controller, comprise the following steps:
Steps A: by flight controller by the journal file in write storer after the encryption of the flying quality of unmanned vehicle.
Unmanned vehicle is in flight course, flight controller can produce control data, pen recorder in unmanned vehicle and sensing device also can Real-Time Monitorings generate image data and be sent in flight controller, the image data unified definition that the control data generated by flight controller and monitoring generate is flying quality, after flight controller obtains flying quality, by the encipheror be preset in wherein, flying quality is encrypted, then according in the journal file in the template style write storer preset.The file layout of journal file is * .log, and log recording is wherein preserved in table form, such as, can be following form:
poweron flightcount sequencenumber parameter
Record 1 Record 1 Record 1 Record 1
Step B: by USB connecting line by the storer carry in flight controller in computing machine.
USB is set in the storer in flight controller and drives file, flight controller also provides the USB interface be electrically connected with storer simultaneously, then storer just can by USB connecting line as USB flash disk carry in computing machine, there will be corresponding disk drive in computing machine, user just can directly be operated the file in storer by this disk.Further, except USB connected mode, can also be set to other exchanges data connected mode, such as storer can be connected with computing machine by SATA connected mode.Therefore, when unmanned vehicle completes flight, when user needs the journal file taken out wherein, only need just directly to obtain journal file by data line connected storage and computing machine, do not need software supporting specially to obtain journal file.Wherein, with USB interface, microcontroller is become USB flash disk type of service for prior art, be specifically record in the patent of CN200910045659.8 at application number, flight controller of the present invention is equivalent to microcontroller, does not repeat them here.
Step C: the journal file in storer is taken out in computing machine.Due to journal file can be taken out easily in this step, just need the security considering journal file, therefore just need in step to arrange encrypting step, make journal file possess good security.
Step D: utilize corresponding decrypted program in computing machine to load journal file, by decrypted program, journal file is decrypted, obtains the log content after deciphering.
Owing in step the flying quality in journal file having been carried out cryptographic operation, with regard to needing, the flying quality of encryption is decrypted in this step.Therefore, just need in a computer decrypted program is installed, and the encipheror in this decrypted program and flight controller is supporting encryption and decryption program, as what kind of encryption and decryption program of selection, be set according to the requirement of user or the production standard of manufacturer.
By above-mentioned log recording and read method, by in the journal file of write storer after flying quality encryption, again by the storer in flight controller with the mode carry of similar USB flash disk to computing machine, namely ensure that the security of log content, also achieve log content that is convenient and that take out rapidly in unmanned vehicle.
Corresponding to the above-mentioned log recording based on flight controller and read method, also include the log recording based on flight controller and reading device, comprise with lower module:
Modules A: for passing through USB connecting line by the storer carry in flight controller in computing machine;
Module B: for passing through USB connecting line by the storer carry in flight controller in computing machine;
Module C: for the journal file in storer is taken out in computing machine;
Module D: for utilizing corresponding decrypted program in computing machine to load journal file, by decrypted program, journal file being decrypted, obtaining the log content after deciphering.
Further, flying quality comprises the image data of the sensor in the service data of flight controller and unmanned vehicle.
Further, be preset with encipheror in flight controller, the decrypted program in computing machine corresponds to this encipheror.
To one skilled in the art, according to technical scheme described above and design, other various corresponding change and deformation can be made, and all these change and deformation all should belong within the protection domain of the claims in the present invention.

Claims (6)

1., based on log recording and the read method of flight controller, it is characterized in that, comprise the following steps:
Steps A: by flight controller by the journal file in write storer after the encryption of the flying quality of unmanned vehicle;
Step B: by USB connecting line by the storer carry in flight controller in computing machine;
Step C: the journal file in storer is taken out in computing machine;
Step D: utilize corresponding decrypted program in computing machine to load journal file, by decrypted program, journal file is decrypted, obtains the log content after deciphering.
2. the log recording based on flight controller according to claim 1 and read method, is characterized in that, flying quality comprises the image data of the sensor in the service data of flight controller and unmanned vehicle.
3. the log recording based on flight controller according to claim 1 and read method, is characterized in that, be preset with encipheror in flight controller, and the decrypted program in computing machine corresponds to this encipheror.
4. based on log recording and the reading device of flight controller, it is characterized in that, comprise with lower module:
Modules A: for passing through USB connecting line by the storer carry in flight controller in computing machine;
Module B: for passing through USB connecting line by the storer carry in flight controller in computing machine;
Module C: for the journal file in storer is taken out in computing machine;
Module D: for utilizing corresponding decrypted program in computing machine to load journal file, by decrypted program, journal file being decrypted, obtaining the log content after deciphering.
5. the log recording based on flight controller according to claim 4 and reading device, is characterized in that, flying quality comprises the image data of the sensor in the service data of flight controller and unmanned vehicle.
6. the log recording based on flight controller according to claim 4 and reading device, is characterized in that, be preset with encipheror in flight controller, and the decrypted program in computing machine corresponds to this encipheror.
CN201510035967.8A 2015-01-23 2015-01-23 Log recording and reading method and device based on flight controller Pending CN104732611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510035967.8A CN104732611A (en) 2015-01-23 2015-01-23 Log recording and reading method and device based on flight controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510035967.8A CN104732611A (en) 2015-01-23 2015-01-23 Log recording and reading method and device based on flight controller

Publications (1)

Publication Number Publication Date
CN104732611A true CN104732611A (en) 2015-06-24

Family

ID=53456479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510035967.8A Pending CN104732611A (en) 2015-01-23 2015-01-23 Log recording and reading method and device based on flight controller

Country Status (1)

Country Link
CN (1) CN104732611A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919495A (en) * 2015-12-25 2017-07-04 比亚迪股份有限公司 CAN journal file acquisition device, system and vehicle for vehicle
CN107562827A (en) * 2017-08-13 2018-01-09 浙江警察学院 A kind of unmanned plane during flying trajectory reconstruction method based on parsing Air Diary file
CN109118609A (en) * 2017-06-26 2019-01-01 深圳市道通智能航空技术有限公司 Unmanned plane during flying log recording method, device, storage medium and computer equipment
CN109727331A (en) * 2018-12-17 2019-05-07 深圳市道通智能航空技术有限公司 The read method of Air Diary and its unmanned thermomechanical components
CN109767516A (en) * 2018-12-14 2019-05-17 北京摩拜科技有限公司 Log setting and Method of printing, setting and printing device and log system
CN112655031A (en) * 2020-03-23 2021-04-13 深圳市大疆创新科技有限公司 Flight data processing method and device, recorder, unmanned aerial vehicle and storage medium
CN113381876A (en) * 2020-12-09 2021-09-10 广州浩翔信息技术有限公司 Bus log collection method based on intelligent gateway and intelligent gateway

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050267656A1 (en) * 2004-06-01 2005-12-01 Smiths Aerospace, Inc. Timeline random access for multi-format time-based file recording and playback
CN201017356Y (en) * 2007-02-08 2008-02-06 川铭精密科技股份有限公司 Vehicle travel recording apparatus
CN201903918U (en) * 2010-11-19 2011-07-20 陕西千山航空电子有限责任公司 USB (Universal Serial Bus) quick access recorder
CN102246210A (en) * 2008-12-15 2011-11-16 松下航空电子公司 System and method for performing real-time data analysis
CN102568053A (en) * 2010-12-31 2012-07-11 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted end of comprehensive vehicle fault detection system and data processing method of same
CN102737416A (en) * 2012-06-08 2012-10-17 清华大学 Data recorder of unmanned aircraft
CN103679847A (en) * 2013-12-05 2014-03-26 成都民航空管科技发展有限公司 Speech sound acquisition and storage system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050267656A1 (en) * 2004-06-01 2005-12-01 Smiths Aerospace, Inc. Timeline random access for multi-format time-based file recording and playback
CN201017356Y (en) * 2007-02-08 2008-02-06 川铭精密科技股份有限公司 Vehicle travel recording apparatus
CN102246210A (en) * 2008-12-15 2011-11-16 松下航空电子公司 System and method for performing real-time data analysis
CN201903918U (en) * 2010-11-19 2011-07-20 陕西千山航空电子有限责任公司 USB (Universal Serial Bus) quick access recorder
CN102568053A (en) * 2010-12-31 2012-07-11 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted end of comprehensive vehicle fault detection system and data processing method of same
CN102737416A (en) * 2012-06-08 2012-10-17 清华大学 Data recorder of unmanned aircraft
CN103679847A (en) * 2013-12-05 2014-03-26 成都民航空管科技发展有限公司 Speech sound acquisition and storage system and method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919495A (en) * 2015-12-25 2017-07-04 比亚迪股份有限公司 CAN journal file acquisition device, system and vehicle for vehicle
CN106919495B (en) * 2015-12-25 2020-11-20 比亚迪股份有限公司 CAN bus log file acquisition device and system for vehicle and vehicle
CN109118609A (en) * 2017-06-26 2019-01-01 深圳市道通智能航空技术有限公司 Unmanned plane during flying log recording method, device, storage medium and computer equipment
CN107562827A (en) * 2017-08-13 2018-01-09 浙江警察学院 A kind of unmanned plane during flying trajectory reconstruction method based on parsing Air Diary file
CN109767516A (en) * 2018-12-14 2019-05-17 北京摩拜科技有限公司 Log setting and Method of printing, setting and printing device and log system
CN109767516B (en) * 2018-12-14 2021-06-11 汉海信息技术(上海)有限公司 Log setting and printing method, setting and printing apparatus, and log system
CN109727331A (en) * 2018-12-17 2019-05-07 深圳市道通智能航空技术有限公司 The read method of Air Diary and its unmanned thermomechanical components
CN112655031A (en) * 2020-03-23 2021-04-13 深圳市大疆创新科技有限公司 Flight data processing method and device, recorder, unmanned aerial vehicle and storage medium
WO2021189201A1 (en) * 2020-03-23 2021-09-30 深圳市大疆创新科技有限公司 Flight data processing method and device, recorder, unmanned aerial vehicle, and storage medium
CN113381876A (en) * 2020-12-09 2021-09-10 广州浩翔信息技术有限公司 Bus log collection method based on intelligent gateway and intelligent gateway
CN113381876B (en) * 2020-12-09 2022-04-01 广州浩翔信息技术有限公司 Bus log collection method based on intelligent gateway and intelligent gateway

Similar Documents

Publication Publication Date Title
CN104732611A (en) Log recording and reading method and device based on flight controller
CN104699417B (en) Data storage device and data access method thereof
CN102231852B (en) Method and device for programming serial number of set-top box
EP1983519A3 (en) System and method for providing program information, and recording medium used therefor
TW200736869A (en) Program preparation supporting device, method for supporting program preparation, program for computer to execute the above method, and recording medium having the above program recorded therein
ATE458229T1 (en) ARRANGEMENT WITH A TACHOGRAPH
JP2010086410A5 (en)
CN103810440B (en) Access system and method
CN109408482A (en) A kind of date storage method, system, equipment and computer readable storage medium
CN105700830A (en) Solid-state disk master control supporting WORM storage, solid-state disk and WORM storage method
CN102968366B (en) The local storage means of a kind of Blu-ray player daily record and device
CN105139890B (en) A kind of information processing method and solid state hard disk
CN103458030B (en) welding machine control program upgrading system and upgrading method
CN106599236A (en) Metadata storage method and apparatus for file system
WO2007047347A3 (en) Techniques for time-dependent storage management with a portable application programming interface
US20140052902A1 (en) Electronic device and method of generating virtual universal serial bus flash device
CN104504779A (en) Travelling data recorder analysis method and device
CN104346844B (en) A kind of call method and device of Tachographs upgrade information
CN103064803B (en) A kind of data read-write method of NAND Flash storage device and device
CN102375943B (en) Identification code generation method, memory management method, controller and storage system
CN202383695U (en) USB/ATA read only lock
US20140115236A1 (en) Server and method for managing redundant array of independent disk cards
CN202796068U (en) Hard disk expansion interface device
CN104951407A (en) U disc capable of being encrypted and encryption method thereof
CN103365807A (en) Bus system of embedded password protection device and implementing method for bus system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150624