CN104486149A - Finite-state machine method for ground tests - Google Patents
Finite-state machine method for ground tests Download PDFInfo
- Publication number
- CN104486149A CN104486149A CN201410741795.1A CN201410741795A CN104486149A CN 104486149 A CN104486149 A CN 104486149A CN 201410741795 A CN201410741795 A CN 201410741795A CN 104486149 A CN104486149 A CN 104486149A
- Authority
- CN
- China
- Prior art keywords
- state machine
- user
- member systems
- self
- checking
- 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.)
- Granted
Links
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The invention provides a finite-state machine method for ground tests. On the basis of the ARINC624 protocol, a finite-state machine is created to synchronize the maintenance self-test process of a member system and coordinate the interaction between the member system and a WEB human-machine interface. The method includes initialization, protocol state machine thread starting, maintenance self-test operation condition detection, state machine state transition, interaction coordination and timeout and exception handling. The finite-state machine as an interface which is used by a user to interactively test the member system effectively provides a unified control and handling mechanism.
Description
Technical field:
The present invention, for supporting the ground interactive text of each Member Systems of integrated maintenance information system, relates to a kind of finite state machine method for ground test.
Background technology:
Interactive text is an interactive process between integrated maintenance system user and Member Systems.The self-checking of Member Systems can be subject to the suppression of various condition usually, and in this case, the execution certain operations just needing user artificial is to ensure the unimpeded of test process; In addition, Member Systems is in self-checking process, and be in what stage or which kind of state, user cannot know.
When integrated maintenance system each Member Systems support maintenance self-inspection, if user carries out self-checking by operation interface to the Member Systems of support maintenance self-inspection, integrated maintenance management service (IMMS) can send to this Member Systems and safeguard self-inspection order, and corresponding detected state and testing result can be sent to IMMS by Member Systems after receiving this order.
User is started by WEB man-machine interface safeguard the operation of self-inspection, Member Systems safeguarding response that self-inspection each stage feed back, again or Member Systems needs to carry out with user alternately and the information like this such as the instruction given, all need to carry out preliminary treatment, be converted to Member Systems or the discernible message of WEB terminal; And the transmission opportunity of these message is controlled, the number of transmissions statistics and information drop-out after processing method, need especially to manage.
Summary of the invention:
The object of the invention is, for the interactive text between integrated maintenance system WEB man-machine interface and each Member Systems provides interface, encapsulate communication information and managed test process.
The invention provides a kind of finite state machine method for ground test, based on ARINC624 agreement, create a finite state machine and be used for the maintenance process of self-test of synchronous Member Systems, and it is mutual to coordinate between Member Systems and WEB man-machine interface.
Technical scheme of the present invention is as follows:
For a finite state machine method for ground test, realize mainly through following link:
(1) initialization
Create and initialization ARINC624 protocol architecture body, its data structure contains following key members: appealing structure body, response structure body, the state amount of enumerating, list of thing, user's request queue, Member Systems message queue and state machine output queue;
(2) protocol state machine thread is started:
State machine initial condition is NORMAL, and under current state, state machine monitors the user's request event from WEB man-machine interface, namely performs the maintenance self-inspection of certain Member Systems;
(3) safeguard that self-inspection service conditions detects:
According to the status message of Member Systems, state machine judges that this Member Systems safeguards whether the service conditions of self-inspection meets after receiving user's request; If condition meets, state machine encapsulation user request Concurrency delivers to Member Systems; Otherwise state machine builds the page to inform the suppression information of user's self-checking;
(4) state machine state transition:
After the request that user is started self-checking by state machine is sent to Member Systems, will the response events of Member Systems be monitored, and carry out transition between states according to the response message of Member Systems, with the state of synchronous Member Systems self-checking;
(5) cooperation interaction:
State machine the current state of Member Systems self-checking can feed back to WEB man-machine interface to inform that user knows via the structure of the page.
In above link (5), when Member Systems needs to continue to perform self-checking, interactive instruction is shown in user with page format by state machine, and operation requests follow-up for user is fed back to Member Systems, to continue or to stop test; After Member Systems executes self-checking, state machine with page format relevant prompting is shown to user and feedback user operates to Member Systems.
Finite state machine method for ground test of the present invention, also comprises time-out and abnormality processing:
When exceeding the stand-by period, state machine sends specific message to ensure the normal execution of test process to user or Member Systems; When reciprocal process occurs that network error, loss of data etc. are abnormal, state machine also performs corresponding operating to inform user or Member Systems, with avoid resource by unlimited time take.
The present invention has following technique effect:
The present invention, as the interface of user and Member Systems interactive text, effectively provides unified control and treatment mechanism, namely manages the interactive text process between WEB man-machine interface and Member Systems, provide unified control and handling process.
Accompanying drawing illustrates:
Fig. 1 is the flow process of state machine process interactive text;
Fig. 2 is ARINC624 protocol state machine transition between states figure.
Embodiment:
Realization flow of the present invention is as follows:
(1) initialization: at the beginning of running software, create and initialization ARINC624 protocol architecture body, this data structure contains following key members: appealing structure body, response structure body, the state amount of enumerating, list of thing, user's request queue, Member Systems message queue, state machine output queue;
(2) start protocol state machine thread: state machine initial condition is NORMAL, under current state, state machine monitors the user's request event from WEB man-machine interface, namely performs the maintenance self-inspection of certain Member Systems;
(3) safeguard that self-inspection service conditions detects: after state machine receives user's request and request is sent to Member Systems by non-immediate, but judge that this Member Systems safeguards whether the service conditions of self-inspection meets by the status message of Member Systems.If condition meets, state machine encapsulation user request Concurrency delivers to Member Systems; Otherwise state machine builds the page to inform the suppression information of user's self-checking;
(4) state machine state transition: after the request that user is started self-checking by state machine is sent to Member Systems, the response events of Member Systems will be monitored, and carry out transition between states according to the response message of Member Systems, with the state of synchronous Member Systems self-checking;
(5) cooperation interaction: state machine the current state of Member Systems self-checking can feed back to WEB man-machine interface to inform that user knows via the structure of the page.Such as, Member Systems may need user to perform a certain or some operations for continuing to perform self-checking and gives user interactions instruction, interactive instruction will be shown in user with page format by state machine, and operation requests follow-up for user is fed back to Member Systems, to continue or to stop test; And for example, need user oneself to judge whether passing through of test result after Member Systems executes self-checking, state machine with page format relevant prompting can be shown to user equally and feedback user operates to Member Systems;
(6) time-out and abnormality processing: Member Systems and user have time limit requirement alternately, and user waits for the response of Member Systems, again or the acknowledge message of Member Systems wait user all can have the restriction of corresponding time.When exceeding the stand-by period, state machine will send specific message to ensure the normal execution of test process to user or Member Systems; Equally, when reciprocal process occurs that network error, loss of data etc. are abnormal, state machine by execution corresponding operating to inform user or Member Systems, avoid resource by unlimited time take.
Claims (3)
1. for a finite state machine method for ground test, it is characterized in that, realize mainly through following link:
(1) initialization
Create and initialization ARINC624 protocol architecture body, its data structure contains following key members: appealing structure body, response structure body, the state amount of enumerating, list of thing, user's request queue, Member Systems message queue and state machine output queue;
(2) protocol state machine thread is started:
State machine initial condition is NORMAL, and under current state, state machine monitors the user's request event from WEB man-machine interface, namely performs the maintenance self-inspection of certain Member Systems;
(3) safeguard that self-inspection service conditions detects:
According to the status message of Member Systems, state machine judges that this Member Systems safeguards whether the service conditions of self-inspection meets after receiving user's request; If condition meets, state machine encapsulation user request Concurrency delivers to Member Systems; Otherwise state machine builds the page to inform the suppression information of user's self-checking;
(4) state machine state transition:
After the request that user is started self-checking by state machine is sent to Member Systems, will the response events of Member Systems be monitored, and carry out transition between states according to the response message of Member Systems, with the state of synchronous Member Systems self-checking;
(5) cooperation interaction:
State machine the current state of Member Systems self-checking can feed back to WEB man-machine interface to inform that user knows via the structure of the page.
2. the finite state machine method for ground test according to claim 1, it is characterized in that: in link (5), when Member Systems needs to continue to perform self-checking, interactive instruction is shown in user with page format by state machine, and operation requests follow-up for user is fed back to Member Systems, to continue or to stop test; After Member Systems executes self-checking, state machine with page format relevant prompting is shown to user and feedback user operates to Member Systems.
3. the finite state machine method for ground test according to claim 1, is characterized in that, also comprise time-out and abnormality processing:
When exceeding the stand-by period, state machine sends specific message to ensure the normal execution of test process to user or Member Systems; When reciprocal process occurs that network error, loss of data etc. are abnormal, state machine also performs corresponding operating to inform user or Member Systems, with avoid resource by unlimited time take.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410741795.1A CN104486149B (en) | 2014-12-05 | 2014-12-05 | A kind of finite state machine method for ground test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410741795.1A CN104486149B (en) | 2014-12-05 | 2014-12-05 | A kind of finite state machine method for ground test |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104486149A true CN104486149A (en) | 2015-04-01 |
CN104486149B CN104486149B (en) | 2018-01-12 |
Family
ID=52760656
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410741795.1A Active CN104486149B (en) | 2014-12-05 | 2014-12-05 | A kind of finite state machine method for ground test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104486149B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577469A (en) * | 2015-12-11 | 2016-05-11 | 中国航空工业集团公司西安航空计算技术研究所 | Network-based establishing method of interactive type test client end of airborne device |
CN106325262A (en) * | 2016-10-11 | 2017-01-11 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | Interface data generation system and method of member system and onboard maintenance system |
CN112398827A (en) * | 2020-11-03 | 2021-02-23 | 中国航空工业集团公司西安航空计算技术研究所 | Finite-state machine data synchronization management method based on ground test protocol |
CN113815230A (en) * | 2021-08-19 | 2021-12-21 | 共享智能装备有限公司 | Automatic maintenance method and maintenance system for equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4943919A (en) * | 1988-10-17 | 1990-07-24 | The Boeing Company | Central maintenance computer system and fault data handling method |
US20100287316A1 (en) * | 2009-05-11 | 2010-11-11 | Honeywell International Inc. | Bus protocol for control of communications between two computers |
CN101923739A (en) * | 2010-08-19 | 2010-12-22 | 北京航空航天大学 | Integrated display system for aircraft engine parameters and air service information and construction method thereof |
-
2014
- 2014-12-05 CN CN201410741795.1A patent/CN104486149B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4943919A (en) * | 1988-10-17 | 1990-07-24 | The Boeing Company | Central maintenance computer system and fault data handling method |
US20100287316A1 (en) * | 2009-05-11 | 2010-11-11 | Honeywell International Inc. | Bus protocol for control of communications between two computers |
CN101923739A (en) * | 2010-08-19 | 2010-12-22 | 北京航空航天大学 | Integrated display system for aircraft engine parameters and air service information and construction method thereof |
Non-Patent Citations (1)
Title |
---|
ARINC: "《ARINC CHARACTERISTIC 624-1》", 30 August 1993 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105577469A (en) * | 2015-12-11 | 2016-05-11 | 中国航空工业集团公司西安航空计算技术研究所 | Network-based establishing method of interactive type test client end of airborne device |
CN105577469B (en) * | 2015-12-11 | 2018-09-21 | 中国航空工业集团公司西安航空计算技术研究所 | A kind of method for building up of network-based airborne equipment interactive text client |
CN106325262A (en) * | 2016-10-11 | 2017-01-11 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | Interface data generation system and method of member system and onboard maintenance system |
CN106325262B (en) * | 2016-10-11 | 2018-08-14 | 中国商用飞机有限责任公司北京民用飞机技术研究中心 | A kind of interface data generation system and method for Member Systems and onboard maintenance system |
CN112398827A (en) * | 2020-11-03 | 2021-02-23 | 中国航空工业集团公司西安航空计算技术研究所 | Finite-state machine data synchronization management method based on ground test protocol |
CN113815230A (en) * | 2021-08-19 | 2021-12-21 | 共享智能装备有限公司 | Automatic maintenance method and maintenance system for equipment |
CN113815230B (en) * | 2021-08-19 | 2023-09-01 | 共享智能装备有限公司 | Automatic equipment maintenance method and maintenance system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104486149B (en) | 2018-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105095001B (en) | Virtual machine abnormal restoring method under distributed environment | |
CN105068865A (en) | Task scheduling method and apparatus | |
CN110515748B (en) | Message processing method and related device | |
CN104486149A (en) | Finite-state machine method for ground tests | |
CN104205109A (en) | Persistent and resilient worker processes | |
CN101741904B (en) | Method for building distributed space computation service node and gateway device | |
CN104598300A (en) | Distributive business process customization method and system | |
CN108762966A (en) | System exception hold-up interception method, device, computer equipment and storage medium | |
CN104954411A (en) | Method for sharing network resource by distributed system, terminal thereof and system thereof | |
CN103490919A (en) | Fault management system and fault management method | |
CN107729213B (en) | Background task monitoring method and device | |
JP5514040B2 (en) | Operation management system, operation management method, and operation management apparatus | |
CN108632106A (en) | System for monitoring service equipment | |
CN104038390A (en) | Linux server cluster unified peripheral event monitoring method based on netlink | |
CN100359865C (en) | Detecting method | |
CN102694693B (en) | A kind of log recording method of network management system | |
CN104618461A (en) | Mobile code cloud mobile phone-based server monitoring method | |
CN103870307A (en) | Data source synchronization and alarm device and method | |
CN107168846A (en) | The monitoring method and device of electronic equipment | |
CN111427704A (en) | Remote monitoring method, device and equipment for configuration instruction and storage medium | |
US10129046B1 (en) | Fault tolerant services for integrated building automation systems | |
CN109219105B (en) | Route switching method and route switching system | |
EP3528148A1 (en) | Method and system for providing a notification from a provider to a consumer for providing the notification to a user group | |
JP2015082131A (en) | Monitoring system, monitoring method, monitoring program, and monitoring device | |
JP2019120998A (en) | Control system and control unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |