CN107300909A - A kind of unmanned aerial vehicle maintenance system and method based on MVC frameworks - Google Patents

A kind of unmanned aerial vehicle maintenance system and method based on MVC frameworks Download PDF

Info

Publication number
CN107300909A
CN107300909A CN201710520149.6A CN201710520149A CN107300909A CN 107300909 A CN107300909 A CN 107300909A CN 201710520149 A CN201710520149 A CN 201710520149A CN 107300909 A CN107300909 A CN 107300909A
Authority
CN
China
Prior art keywords
instruction
module
subsystem
user input
query statement
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
CN201710520149.6A
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.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
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 University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201710520149.6A priority Critical patent/CN107300909A/en
Publication of CN107300909A publication Critical patent/CN107300909A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention belongs to Unmanned Aerial Vehicle Data process field, the unmanned aerial vehicle maintenance system and method for more particularly to a kind of MVC frameworks.System uses MVC frame models, system module is layered, subsystem state interface is separate, effectively overcomes conventional service logic and data manipulation mixes the drawbacks of caused system is difficult to safeguard and expanded.Using Multithread Synchronization Program, sent while realizing user input instruction and periodic status query statement, solve the collision problem concurrently accessed, it is ensured that the integrality of instruction transmission or implementing result;Periodic status query statement is divided into multiple small status inquiry instructions to send by communication interface modules using instruction segmentation and finite state machine method, is shortened holding time of the query statement to the communication resource, is improved the real-time of user input instruction.

Description

A kind of unmanned aerial vehicle maintenance system and method based on MVC frameworks
Technical field
The invention belongs to Unmanned Aerial Vehicle Data process field, more particularly to a kind of unmanned aerial vehicle maintenance system of MVC frameworks And method.
Technical background
With aviation and the development of electronic technology, new unmanned plane during flying performance is more and more stronger, and task device is also increasingly It is superior.In order to ensure that unmanned plane safely and reliably completes aerial mission, the integration test before daily dimension inspection is carried out to it and is let fly away It is more and more important.The major function of unmanned aerial vehicle maintenance system is detection and daily dimension before being taken off to UAS Shield detection, particularly carries out on-line checking and analog manipulation to the critical component on machine and visual plant before take-off, to confirm Whole UAS working condition, the information that decision-making provides abundance is let fly away to be final.
Current unmanned aerial vehicle maintenance system does not have a unified standard, is typically the test proposed according to user The testing requirement that is constantly found in demand and Aircraft Management System design process is designed.Therefore the demand of system may Change at any time, this is accomplished by ground-based maintenance systems energy fast reaction, adapt to Aircraft Management System Airborne Software or other things The change of equipment is managed, and unmanned aerial vehicle maintenance system does not use a suitable frame model mostly at present, it is impossible to effective place The drawbacks of reason system is difficult to safeguard and expanded, when changes in demand, it is difficult to quickly react.
Aircraft Management System realizes that the data between redundance subsystem are handed over using cross channel data link road (CCDL) method Change, reduce the complexity and cost of Aircraft Management System so that be supplied to the communication resource of ground-based maintenance systems to be reduced to one It is individual, under single communication resources supplIes, if synchronization sends maintenance instruction and periodic status query statement and will cause communication Resource access conflict, destroys the instruction execution result of the instruction sent and reception, and the realization of most of maintenance systems at present is not Allow to send maintenance instruction and periodic status query statement simultaneously;Because periodic status query statement can occupy logical for a long time Believe resource, cause maintenance instruction can not send for a long time, reduce maintenance efficiency.
So in the prior art, unmanned aerial vehicle maintenance system, which exists, safeguards and expands difficult, the low shortcoming of maintenance efficiency.
The content of the invention
It is an object of the present invention to provide one kind is easy to safeguard and expanded, a kind of high MVC frameworks of maintenance efficiency nobody Machine ground-based maintenance systems and method.
In order to solve the above technical problems, the technical solution adopted by the present invention is, a kind of unmanned aerial vehicle based on MVC frameworks Maintenance system, system can be divided into three layers, first layer view layer, including subsystem monitors data disaply moudle, instruction input module And interaction echo module, second layer key-course, including timer module, multithreading module and command mappings module, third layer mould Type layer, includes the communication interface and logger module of multiple corresponding instruction types, wherein:
Subsystem monitors data disaply moudle, the subsystem state interface checked for showing active user to need, subsystem System state interface display cycle property status inquiry instruction implementing result, subsystem state interface original state is default conditions;
Instruction input module, maintenance instruction and status inquiry instruction are inputted for user;
Interaction echo module, for showing user input instruction and its implementing result;
Timer module, the subsystem state interface for being shown according to subsystem monitors data disaply moudle sends subsystem System periodic status query statement;
Multithreading module, sends thread, for synchronization comprising periodic status query statement thread and user input instruction The transmission of periodic status query statement and user input instruction;
Command mappings module, for the command mappings for sending multithreading module, the instruction sent according to multithreading module Type determines communication interface;
Communication interface, for user input instruction to be sent to Aircraft Management Computer, receives user input instruction and performs As a result cached to buffer area;Periodic status query statement is divided into multiple small status inquiry instructions, limited shape is used State machine method is sent small status inquiry instruction by the cycle to Aircraft Management Computer and receives small status command implementing result successively, Subsystem state query statement implementing result is obtained after being parsed and is cached to buffer area;
Logger module, instruction and instruction execution result for recording communication interface transmission.
The above-mentioned unmanned aerial vehicle maintenance system based on MVC frameworks comprises the following steps to the maintaining method of unmanned plane:
Step 1, instruction input module receive user input instruction and send it to multithreading module and interaction echo mould Block, interaction echo module shows user input instruction;
Step 2, user's selection need the subsystem state interface display checked in subsystem monitors data disaply moudle, fixed When the subsystem state interface that is shown according to subsystem monitors data disaply moudle of device module send subsystem periodic status and look into Ask instruction at most threading models;
Step 3, multithreading module send thread comprising periodic status query statement thread and user input instruction, multi-thread Journey module ensures that the synchronization only one of which thread accesses communication resource carries out instruction transmission using Multithread Synchronization Program;
Step 4, command mappings module are by the command mappings of multithreading module transfer, the instruction sent according to multithreading module Type determines communication interface;
Step 5, communication interface receive the instruction that multithreading module is sent, and user input instruction is sent to aircraft to manage and counted Calculation machine, receives user input instruction implementing result and is cached to buffer area;Periodic status query statement is divided into multiple Small status inquiry instruction, small status inquiry instruction is sent by the cycle to Aircraft Management Computer and receives small status command and holds successively Row result, the subsystem state inquired about after being parsed is cached to buffer area;
Instruction and instruction execution result that step 6, logger module record communication interface are sent;
User input instruction implementing result in step 7, interaction echo module display caching area;
Subsystem state query statement implementing result in step 8, subsystem monitors data disaply moudle display caching area.
In steps of 5, periodic status query statement is divided into multiple small status inquiry instructions by communication interface, using having Limit state machine approach, which sends small status command to Aircraft Management Computer, can ensure that small status command all sends successfully and held OK.
The beneficial outcomes of the present invention are:System uses MVC frame models, system module is layered, subsystem state circle Face is separate, effectively overcomes conventional service logic and data manipulation mixes the disadvantage that caused system is difficult to safeguard and expanded End.Using Multithread Synchronization Program, synchronization can only have a communication interface modules to access the single communication resource, can be achieved Sent while user input instruction and periodic status query statement, efficiently solve the collision problem concurrently accessed, it is ensured that Instruction send or implementing result integrality;Communication interface modules will periodically using instruction segmentation and finite state machine method Status inquiry instruction is divided into multiple small status inquiry instructions to send, and shortens query statement to the holding time of the communication resource, carries The real-time of high user input instruction.
Brief description of the drawings
Fig. 1 is the MVC frame models of unmanned aerial vehicle maintenance system;
Fig. 2 is the state transition diagram in communication interface modules;
Fig. 3 is unmanned aerial vehicle maintaining method flow chart.
Embodiment
Embodiment 1
The unmanned aerial vehicle maintenance system based on MVC frameworks that the present embodiment is provided is as shown in figure 1, system can be divided into three Layer, first layer view layer, including subsystem monitors data disaply moudle, instruction input module and interaction echo module, the second layer Key-course, including timer module, multithreading module and command mappings module, third layer model layer, including multiple corresponding instructions The communication interface and logger module of type, wherein:
Subsystem monitors data disaply moudle, the subsystem state interface checked for showing active user to need, subsystem The subsystem state Query Result that state interface display cycle property status inquiry instruction of uniting is performed, subsystem state interface initial shape State is default conditions;
Instruction input module, maintenance instruction and status inquiry instruction are inputted for user;
Interaction echo module, for showing user input instruction and its implementing result;
Timer module, the subsystem state interface for being shown according to subsystem monitors data disaply moudle sends subsystem System periodic status query statement;
Multithreading module, sends thread, for synchronization comprising periodic status query statement thread and user input instruction The transmission of periodic status query statement and user input instruction;
Command mappings module, for by the command mappings of multithreading module transfer, being confirmed to receive instruction according to instruction type Communication interface;
Communication interface, for user input instruction to be sent to Aircraft Management Computer, receives user input instruction and performs As a result cached to buffer area;Periodic status query statement is divided into multiple small status inquiry instructions, limited shape is used State machine method is sent small status inquiry instruction by the cycle to Aircraft Management Computer and receives small status command implementing result successively, Subsystem state query statement implementing result is obtained after being parsed and is cached to buffer area;
Logger module, the Aircraft Management Computer of instruction and reception for recording communication interface transmission, which is instructed, to be performed As a result;
When system needs expansion to safeguard, the monitoring and control if desired for increase/deletion to unmanned plane brake system can be with Safeguarded and expanded on the basis of original system by following three steps, system requirements change is made a response in time:
The first step, one braking subsystem of addition/deletion in each subsystem monitors data module of first layer view layer Interface.
Second step, in the command mappings module of the second layer key-course addition/deletion braking subsystem dependent instruction with it is right Answer the mapping relations of communication interface modules.
3rd step, addition/deletion communication interface mould corresponding with braking subsystem dependent instruction in third layer model layer Block.
If system requirements change, the display data or control control in the existing subsystem interfaces of increase/deletion are simply needed When, it need only also be changed in the subsystem interfaces, command mappings module and corresponding communication interface modules, due to each module phase It is mutually independent, other modules are not influenceed, effectively increase the maintainability and expansibility of system.
Below in conjunction with accompanying drawing 3, unmanned aerial vehicle maintaining method proposed by the present invention is discussed in detail, comprises the following steps:
The present embodiment is set Aircraft Management Computer with installing the portable maintenance of the ground-based maintenance systems using 422 serial ports Standby to be connected, it is ensured that unmanned aerial vehicle maintenance system and Aircraft Management Computer successful connection, 422 serial ports are the present embodiment choosing The communication resource, this ground-based maintenance systems support 422 serial communication modes, but are not restricted to 422 serial communication modes, start Aircraft Management Computer.
Unmanned aerial vehicle maintenance system is initialized to the module of each layer, is created user input instruction and is sent thread and week Phase property status inquiry instruction thread, subsystem monitors data disaply moudle, which is initialized, shows that user's selection is looked into after each subsystem interfaces The subsystem interfaces of inquiry, the interface of the present embodiment selection inquiry is dynamical system interface;Timer module starts;
Timing cycle is arrived, and timer module sends dynamical system periodic status query statement at most threading models, multi-thread Journey module ensures that the synchronization only one of which thread accesses communication resource carries out instruction transmission using Multithread Synchronization Program;Instruction Mapping block obtains the communication interface modules corresponding to dynamical system periodic status query statement, and multithreading module sends power System periodic status query statement to correspondence dynamical system communication interface;
Communication interface receives the instruction that multithreading module is sent, and the inquiry of dynamical system periodic status is divided into multiple small Status inquiry instruction, small status inquiry instruction is sent by the cycle to Aircraft Management Computer and instruction execution result solution is received successively The subsystem state query statement implementing result inquired about after analysis is simultaneously cached to buffer area;Subsystem monitors data disaply moudle Dynamical system status inquiry result in display caching area.
Wherein communication interface sends the state transition diagram in small status inquiry instruction, the module using finite state machine method As shown in Fig. 2 the communication interface modules has four states:S1, S2, S3 and S4, S1 represent the initial shape of communication interface modules State, instruction is transferred to state S2 after running succeeded from state S1, if instruction performs failure, maintain the original state S1, circulates successively; The state transition diagram is a representative of all communication interface modules state transition diagrams, other communication interface state transition diagrams State number is determined depending on concrete condition and instruction segmentation granularity.
It is described in detail above in association with the specific embodiment of the present invention, but is not limitation of the present invention, for example originally The communication resource that embodiment is used is 422 serial ports.Using the basic framework and method of the present invention, can have a variety of in actually implementing Equivalent change, as long as being the technical scheme according to invention and its inventive concept, is subject to equivalent substitution and change, is all considered to category In the scope of the claims of the present invention.

Claims (3)

1. a kind of unmanned aerial vehicle maintenance system based on MVC frameworks, it is characterised in that system can be divided into three layers, and first layer is regarded Figure layer, including subsystem monitors data disaply moudle, instruction input module and interaction echo module, second layer key-course, including Timer module, multithreading module and command mappings module, third layer model layer, including the communication of multiple corresponding instruction types connect Mouth and logger module, wherein:
Subsystem monitors data disaply moudle, the subsystem state interface checked for showing active user to need, subsystem shape State interface display periodic status query statement implementing result, subsystem state interface original state is default conditions;
Instruction input module, maintenance instruction and status inquiry instruction are inputted for user;
Interaction echo module, for showing user input instruction and its implementing result;
Timer module, the subsystem state interface for being shown according to subsystem monitors data disaply moudle sends subsystem week Phase property status inquiry instruction;
Multithreading module, sends thread, for synchronizing cycle comprising periodic status query statement thread and user input instruction The transmission of property status inquiry instruction and user input instruction;
Command mappings module, for the command mappings for sending multithreading module, the instruction type sent according to multithreading module Determine communication interface;
Communication interface, for user input instruction to be sent to Aircraft Management Computer, receives user input instruction implementing result Cached to buffer area;Periodic status query statement is divided into multiple small status inquiry instructions, finite state machine is used Method is sent small status inquiry instruction by the cycle to Aircraft Management Computer and receives small status command implementing result successively, by it Subsystem state query statement implementing result is obtained after parsing and is cached to buffer area;
Logger module, instruction and instruction execution result for recording communication interface transmission.
2. a kind of unmanned aerial vehicle maintaining method based on MVC frameworks, it is characterised in that comprise the following steps:
Step 1, instruction input module receive user input instruction and send it to multithreading module and interaction echo module, hand over Mutually echo module shows user input instruction;
Step 2, user's selection need the subsystem state interface display checked in subsystem monitors data disaply moudle, timer The subsystem state interface that module is shown according to subsystem monitors data disaply moudle sends the inquiry of subsystem periodic status and referred to Order at most threading models;
Step 3, multithreading module send thread, multithreading mould comprising periodic status query statement thread and user input instruction Block ensures that the synchronization only one of which thread accesses communication resource carries out instruction transmission using Multithread Synchronization Program;
Step 4, command mappings module are by the command mappings of multithreading module transfer, the instruction type sent according to multithreading module Determine communication interface;
Step 5, communication interface receive the instruction that multithreading module is sent, and user input instruction is sent to aircraft and manages calculating Machine, receives user input instruction implementing result and is cached to buffer area;Periodic status query statement is divided into multiple small Status inquiry instruction, small status inquiry instruction is sent by the cycle to Aircraft Management Computer and small status command execution is received successively As a result, the subsystem state inquired about after being parsed is cached to buffer area;
Instruction and instruction execution result that step 6, logger module record communication interface are sent;
User input instruction implementing result in step 7, interaction echo module display caching area;
Subsystem state query statement implementing result in step 8, subsystem monitors data disaply moudle display caching area.
3. the unmanned aerial vehicle maintaining method as claimed in claim 2 based on MVC frameworks, it is characterised in that in steps of 5, Communication interface sends small status command to Aircraft Management Computer using finite state machine method.
CN201710520149.6A 2017-06-30 2017-06-30 A kind of unmanned aerial vehicle maintenance system and method based on MVC frameworks Pending CN107300909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710520149.6A CN107300909A (en) 2017-06-30 2017-06-30 A kind of unmanned aerial vehicle maintenance system and method based on MVC frameworks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710520149.6A CN107300909A (en) 2017-06-30 2017-06-30 A kind of unmanned aerial vehicle maintenance system and method based on MVC frameworks

Publications (1)

Publication Number Publication Date
CN107300909A true CN107300909A (en) 2017-10-27

Family

ID=60135450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710520149.6A Pending CN107300909A (en) 2017-06-30 2017-06-30 A kind of unmanned aerial vehicle maintenance system and method based on MVC frameworks

Country Status (1)

Country Link
CN (1) CN107300909A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255149A (en) * 2017-12-08 2018-07-06 中国航空工业集团公司成都飞机设计研究所 It is a kind of to be remotely controlled the method that unmanned plane flies guard system failure of removing
CN109639977A (en) * 2018-12-25 2019-04-16 上海普适导航科技股份有限公司 A kind of hybrid video acquisition control system
CN110362102A (en) * 2019-07-25 2019-10-22 深圳市道通智能航空技术有限公司 A kind of methods, devices and systems of unmanned plane airline generation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205830A (en) * 2012-04-11 2014-12-10 高通股份有限公司 Bypass bins for reference index coding in video coding
US20160274874A1 (en) * 2014-01-08 2016-09-22 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing request
CN106774386A (en) * 2016-12-06 2017-05-31 杭州灵目科技有限公司 Unmanned plane vision guided navigation landing system based on multiple dimensioned marker

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104205830A (en) * 2012-04-11 2014-12-10 高通股份有限公司 Bypass bins for reference index coding in video coding
US20160274874A1 (en) * 2014-01-08 2016-09-22 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing request
CN106774386A (en) * 2016-12-06 2017-05-31 杭州灵目科技有限公司 Unmanned plane vision guided navigation landing system based on multiple dimensioned marker

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
余元辉: "《Web编程技术》", 31 May 2014, 北京:清华大学出版社 *
李诚: "无人机飞控系统接口信息形式化处理系统的设计与实现", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108255149A (en) * 2017-12-08 2018-07-06 中国航空工业集团公司成都飞机设计研究所 It is a kind of to be remotely controlled the method that unmanned plane flies guard system failure of removing
CN108255149B (en) * 2017-12-08 2020-12-29 中国航空工业集团公司成都飞机设计研究所 Method for remotely clearing faults of unmanned aerial vehicle flight management system
CN109639977A (en) * 2018-12-25 2019-04-16 上海普适导航科技股份有限公司 A kind of hybrid video acquisition control system
CN110362102A (en) * 2019-07-25 2019-10-22 深圳市道通智能航空技术有限公司 A kind of methods, devices and systems of unmanned plane airline generation

Similar Documents

Publication Publication Date Title
US9876598B2 (en) Switch for transmission of data between heterogeneous networks for aircraft
EP2926505B1 (en) Interface device and method for exchanging useful data
CN112000421A (en) Management scheduling technology based on super-fusion architecture
CN104363168A (en) Locomotive mounted general data communication gateway
CN108199939B (en) Reconfigurable satellite integrated electronic system
CN102819478B (en) A kind of data handling system monitoring and management method without agency
CN107300909A (en) A kind of unmanned aerial vehicle maintenance system and method based on MVC frameworks
CN110138876B (en) Task deployment method, device, equipment and platform
CN110716793B (en) Method, device, equipment and storage medium for executing distributed transaction
CN111327692A (en) Model training method and device and cluster system
CN104077199A (en) Shared disk based high availability cluster isolation method and system
GB2541529A (en) Apparatus and method of operating a system
CN111625496A (en) Method, device and equipment for deploying distributed file system in virtual machine environment
CN111625497A (en) Deployment method, device, equipment and storage medium of distributed file system
CN102929769A (en) Virtual machine internal-data acquisition method based on agency service
GB2504772A (en) Coprocessor providing service address space for diagnostics collection
CN111478839B (en) Physical bus and operating system decoupled distributed aviation communication system
CN104573428A (en) Method and system for improving resource effectiveness of server cluster
US9153138B1 (en) Agent-based airfield conflict resolution
CN116340024A (en) Data sharing method, computer equipment and medium between simulation model component processes
KR101666398B1 (en) Method and apparatus for monitoring in operating system based on arinc 653
CN105824297A (en) Multi-set rocket body container environment monitoring method and system based on CAN bus
Zhao et al. Reliability Analysis of the Reconfigurable Integrated Modular Avionics Using the Continuous‐Time Markov Chains
CN112039985A (en) Heterogeneous cloud management method and system
EP1864225B1 (en) Method and software product for managing data exchange in a high-dynamics safety-critical system

Legal Events

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

Application publication date: 20171027

RJ01 Rejection of invention patent application after publication