Movatterモバイル変換


[0]ホーム

URL:


CN109542610A - A kind of multi partition operating system void interrupt criteria component realization method - Google Patents

A kind of multi partition operating system void interrupt criteria component realization method
Download PDF

Info

Publication number
CN109542610A
CN109542610ACN201811472036.4ACN201811472036ACN109542610ACN 109542610 ACN109542610 ACN 109542610ACN 201811472036 ACN201811472036 ACN 201811472036ACN 109542610 ACN109542610 ACN 109542610A
Authority
CN
China
Prior art keywords
void
interrupt
standard
subsystem
empty
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
Application number
CN201811472036.4A
Other languages
Chinese (zh)
Other versions
CN109542610B (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.)
Xian Aeronautics Computing Technique Research Institute of AVIC
Original Assignee
Xian Aeronautics Computing Technique Research Institute of AVIC
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 Xian Aeronautics Computing Technique Research Institute of AVICfiledCriticalXian Aeronautics Computing Technique Research Institute of AVIC
Priority to CN201811472036.4ApriorityCriticalpatent/CN109542610B/en
Publication of CN109542610ApublicationCriticalpatent/CN109542610A/en
Application grantedgrantedCritical
Publication of CN109542610BpublicationCriticalpatent/CN109542610B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention belongs to computer communication technologies to disclose a kind of multi partition operating system void interrupt criteria component realization method for multi partition operating system system platform.The present invention has formulated standard void interrupt module specification and has carried into execution a plan.Standard void interrupt module norm-setting system void interrupts the criteria for classifying, partition sub-system void interrupt code, formulates and empty interrupt initialization standard interface, formulate and empty interrupt the contents such as registration interface processing specification.According to system subdivision standard, the interruption of sub-system void is managed collectively for the proposition of developing programs.This is developed programs so that multi partition operating system void implement of interruption function scheme has unified standard and specification, and has carried out unified management to each subsystem void implement of interruption function mechanism, reduces the coupling between subsystem, improves system independence and maintainability.

Description

A kind of multi partition operating system void interrupt criteria component realization method
Technical field
The invention belongs to avionics system onboard networks fields, and it is real to be related to a kind of multi partition operating system void interrupt criteria componentExisting method.
Background technique
With the development of avionics and the raising of synthesis degree, the application of multi partition operating system platform is also increasinglyIt is more.For multi partition operating system, kernel operating system reporting equipment interrupts the method applied to subregion and generallys use empty interruptionMode.Due to multi partition operating system can only by one application report empty interruption, when in system there are multiple applications need usingWhen void is interrupted, existing multi partition operating system void implement of interruption function mechanism exists following insufficient:
(1) without unified standard and standard.Because of different model different application, multi partition operating system void implement of interruption function mechanismHaving differences property.
(2) lack independence and flexibility.Multi partition operating system void implement of interruption function mechanism in system using unified by managingReason, but process is complicated, exists between multiple applications and intercouples.The empty implement of interruption function mechanism of application lacks independence.
The content of present invention
For the deficiency in foregoing description, the invention proposes a kind of realizations of multi partition operating system void interrupt criteria componentMethod.Multi partition operating system void implement of interruption function mode is made to have the specification of standard and the pipe of unified standard through the inventionReason effectively avoids multiple conflicts for applying empty implement of interruption function in system, improves the independence between application, flexibility and can tie upShield property.
Specific technical solution of the present invention is as follows: the present invention is based on multi partition operating system system platforms, propose a kind of voidInterrupt criteria component realization method, including standard void interrupt module norm-setting and standard void interrupt module execute two parts.
The standard void interrupt module norm-setting, the specific steps are as follows:
Step 1, it formulates system void and interrupts the criteria for classifying;
Step 2, unified planning system draws empty interrupt code;
Step 3, partition sub-system void interrupt code;
Step 4, it formulates empty interrupt and initializes standard interface;
Step 5, empty interruption registration interface processing specification is formulated;
Step 6, subsystem void interrupt processing standard interface is formulated;
Step 7, it arbitrates the empty of generation and interrupts subsystem;
Step 8, executive subsystem void interrupt processing standard interface.
The step 1, system void interrupt the criteria for classifying and refer mainly to division principle, and division principle includes dividing according to producer,It is divided according to major field, divided according to module etc..
The step 2, unified planning system void interrupt code refers to according to the criteria for classifying, selects division principle.
The step 3, partition sub-system void interrupt code refer to according to step 2, divide each subsystem void interrupt code according to number section.
In the step 4, void interrupts initialization standard interface and refers to the standard api interface that system needs to be implemented, system shareApi interface.
In the step 5, void is interrupted registration interface processing specification and is referred to according to the criteria for classifying, defines subsystem and takes over empty interruptProcessing specification.Default value 0 is not take over empty interrupt processing.Setting value is 1, takes over empty interrupt processing.
In the step 6, subsystem void interrupt processing standard interface includes the api interface format of Subsystem standard, and API connectsMouth parameter.
In the step 7, the empty subsystem that interrupts for arbitrating generation refers to when void is interrupted and arrived, and needs to judge that the void is interruptedWhich subsystem belonged to.
The standard void interrupt module carries into execution a plan, the specific steps are as follows:
Step A, dividing system void interrupt code;
Step B, partition sub-system void interrupt code;
Step C, judges whether subsystem takes over interruption;
Step D executes empty interrupt and initializes standard interface if adapter tube;
Step E waits arrival to be interrupted;
Step F executes empty interruption registration interface processing specification;
Step G, executive subsystem void interrupt processing standard interface.
Standard void interrupt module norm-setting and standard void interrupt module in step of the present invention carry into execution a plan and have dependenceRelationship.Standard void interrupt module norm-setting is that standard void interrupt module carries into execution a plan providing method, scheme and standard foundation.MarkQuasi- void interrupt module carries into execution a plan the reasonability and correctness of further validation criteria void interrupt module norm-setting.
Make the empty implement of interruption function mode process based on multi partition operating system platform unified through the invention, management ruleModel, interface standard effectively avoid multiple conflicts for applying empty implement of interruption function in system, improve the independence between application, spiritActivity and maintainability.
Detailed description of the invention
Fig. 1 is standard void interrupt module norm-setting process.
Fig. 2 is that standard void interrupt module executes process.
Specific embodiment:
The present invention provides a kind of multi partition operating system void interrupt criteria component for multi partition operating system system configurationImplementation method.For a better understanding of the present invention, the present invention is further described in the following with reference to the drawings and specific embodiments.
As shown in Figure 1, specific step is as follows for standard void interrupt module norm-setting of the present invention:
Step 100, system void interrupts the criteria for classifying and refers mainly to division principle;
Step 101, according to the criteria for classifying, division principle is selected;
Step 102, according to step 101, each subsystem void interrupt code is divided according to number section;
Step 103, the standard initialization api interface that system needs to be implemented, the api interface of system share.
Step 104, it according to the criteria for classifying, defines subsystem and takes over empty interrupt processing specification.Default value 0 is not adapter tube voidInterrupt processing.Setting value is 1, takes over empty interrupt processing and registers empty interruption callback routines.
Step 105, subsystem void interrupt processing standard interface includes the api interface format of Subsystem standard, api interface ginsengNumber.
Step 106, it when there is empty interrupt response, according to pre-registered empty interruption callback routines, arbitrates in the void of generationIt is disconnected which subsystem belonged to.
Step 107, according to arbitration result, according to step 105, executive subsystem void interrupt processing standard interface.
In the step 100, division principle includes a variety of principles, simple for three examples herein: divided according to producer,It divides according to major field, divided according to module.According to the number of interruptions demand of each subsystem, number section is distributed unitedly.The empty number section of interrupting that the principle of number section distribution follows each subsystem cannot repeat.
In the step 101, according to the different criteria for classifying, it can choose specific classified types, such as according to producerDivide, divide according to major field and divided according to module etc..
In the step 102, according to demand of each subsystem to number of interruptions after the selected criteria for classifying and division, pressEach subsystem void interrupt code (dividing in this embodiment with equivalent number of interrupts to carry out empty interrupt) is divided according to number section.If according toProducer divides empty interrupt number, specific as shown in table 1.
Table 1 presses producer's partition sub-system
If dividing empty interrupt number according to major field, specifically as shown in table 2, major field can be to fly control, electromechanics, boatThe types such as electricity.
Table 2 presses major field partition sub-system
Major fieldVoid interrupts number section
Profession 10---100
Profession 2101---200
Profession 3201---300
Profession 4301---400
Profession 5401---500
It is specific as shown in table 3 if dividing empty interrupt number according to module.
Table 3 loads control response message
ModuleVoid interrupts number section
Module 10---100
Module 2101---200
Module 3201---300
Module 4301---400
Module 5401---500
In the step 103, the api interface initialization interface naming rule of system share is as follows: return typePubSysnameExtVInt (marker).Wherein return type can refer to public for int type or other desired type, PubInterface, Sysname refer to subsystem title, and ExTVInt refers to that extension is empty and interrupts initialization, and parameter identification position refers to whether take overVoid interrupts mark.Illustrate the Naming conventions, it is assumed that be to name with major field, avionics major field initialization interface canWith is defined as: int PubAvionicsExtVInt (marker);Electromechanical speciality direction initialization interface can be with is defined as: intPubMechaExtVInt (marker).
In the step 104, according to the criteria for classifying, defines subsystem and take over empty interrupt processing specification.Default each subsystemThe initial value of marker is 0 (not taking over empty interrupt processing).If some subsystem takes over empty interrupt processing, place value will be identifiedIt is set as 1, and registers empty interruption callback routines.
In the step 105, after some subsystem takes over empty interrupt processing, according to the subsystem api interface lattice of standardFormula and api interface parameter handle void interruption.The subsystem api interface Naming conventions of standard are as follows: return typeSubSysnameExtVInt (int SysInt, int SubInt, parameter 1, parameter 2, parameter 3, parameter 4).Wherein return typeIt can be int type or other desired type, Sub refers to that subsystem calling interface, Sysname refer to subsystem title,ExTVInt, which refers to that extension is empty, to interrupt, and first parameter SysInt refers to that system break code, second parameter SubInt refer to subsystemSystem interrupt code, subsequent parameter, which carries out increasing as needed, to be changed.Illustrate the Naming conventions, it is assumed that it is to be named with producer, factoryFamily's 1API interface can be defined as int SubManu1ExtVInt (int SysInt, int SubInt, parameter 1, parameter 2, ginsengNumber 3, parameter 4), producer's 2API interface can be defined as int SubManu2ExtVInt (int SysInt, int SubInt, ginsengNumber 1, parameter 2, parameter 3, parameter 4).
In the step 106, when there is empty interrupt response, pre-registered void interrupt handling program is arbitrated, foundationArbitration result determines which subsystem the empty interruption generated belongs to.For example subsystem is to be divided with producer, and divide markQuasi- and number section is as shown in table 1, it is assumed that subsystem void interrupt number is 188, then is determined as the empty interrupt code of producer 2.
Step 107, it according to the arbitration result of step 106 and the empty interrupt criteria api interface of step 105 subsystem, executesSubsystem void interrupt processing standard interface.As in step 106, such as it is 188 that subsystem void, which is interrupted, then executes the standard of producer 2Api interface int SubManu2ExtVInt (int SysInt, int SubInt, parameter 1, parameter 2, parameter 3, parameter 4).
As shown in Fig. 2, standard void interrupt module of the present invention carries into execution a plan, specific step is as follows:
Step 200, according to step 101 integrated system void interrupt code;
Step 201, according to step 102, each subsystem void interrupt code is divided according to number section;
Step 202, if adapter tube interrupts, interruption initialization standard interface is executed, and the ident value of the subsystem is setIt is set to 1, if not taking over interruption, scheme terminates;
Step 203, it arrives if there is interrupting, then empty interruption registration interface processing specification is executed, if it is not, continuingIt is to be interrupted;
Step 204, after empty interruption registration is completed, executive subsystem void interrupt processing.

Claims (4)

CN201811472036.4A2018-12-042018-12-04Method for realizing virtual interrupt standard component of multi-partition operating systemActiveCN109542610B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811472036.4ACN109542610B (en)2018-12-042018-12-04Method for realizing virtual interrupt standard component of multi-partition operating system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811472036.4ACN109542610B (en)2018-12-042018-12-04Method for realizing virtual interrupt standard component of multi-partition operating system

Publications (2)

Publication NumberPublication Date
CN109542610Atrue CN109542610A (en)2019-03-29
CN109542610B CN109542610B (en)2023-06-30

Family

ID=65852870

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811472036.4AActiveCN109542610B (en)2018-12-042018-12-04Method for realizing virtual interrupt standard component of multi-partition operating system

Country Status (1)

CountryLink
CN (1)CN109542610B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110196764A (en)*2019-05-092019-09-03中国航空工业集团公司西安航空计算技术研究所A kind of system calls standard component implementation method and device
CN113805951A (en)*2021-09-102021-12-17中国航空工业集团公司西安航空计算技术研究所 A Port Mapping Method for Service Partition Device Sharing Based on ARINC653 Standard

Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5566334A (en)*1987-06-121996-10-15Bmc Software, Inc.Method for processing interrupt requests in a computer system operating environment having different types of supervisor programs concerned with specified types of interrupt events
US6075938A (en)*1997-06-102000-06-13The Board Of Trustees Of The Leland Stanford Junior UniversityVirtual machine monitors for scalable multiprocessors
US20030229794A1 (en)*2002-06-072003-12-11Sutton James A.System and method for protection against untrusted system management code by redirecting a system management interrupt and creating a virtual machine container
US20070028081A1 (en)*2005-07-292007-02-01Bouchier Paul HGenerating an interrupt in a system having plural partitions that share a resource
CN102027453A (en)*2008-05-302011-04-20国际商业机器公司System and method for optimizing interrupt processing in virtualized environments
US20110161541A1 (en)*2009-12-312011-06-30Rajesh Sankaran MadukkarumukumanaPosting interrupts to virtual processors
CN103853597A (en)*2014-02-212014-06-11北京神舟航天软件技术有限公司Method for realizing high-frequency data collection of embedded virtual machine platform
CN104461719A (en)*2014-11-292015-03-25中国航空工业集团公司第六三一研究所Pseudo interrupt expanding method for partition operating system
WO2015090195A1 (en)*2013-12-172015-06-25华为技术有限公司Method and device for creating example of operating system
CN105404577A (en)*2015-12-082016-03-16中国航空工业集团公司西安航空计算技术研究所Time monitoring method for partition operating system based on information sharing processing mechanism
CN108255591A (en)*2017-12-072018-07-06中国航空工业集团公司西安航空计算技术研究所A kind of unified abnormality eliminating method of partition operating system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US5566334A (en)*1987-06-121996-10-15Bmc Software, Inc.Method for processing interrupt requests in a computer system operating environment having different types of supervisor programs concerned with specified types of interrupt events
US6075938A (en)*1997-06-102000-06-13The Board Of Trustees Of The Leland Stanford Junior UniversityVirtual machine monitors for scalable multiprocessors
US20030229794A1 (en)*2002-06-072003-12-11Sutton James A.System and method for protection against untrusted system management code by redirecting a system management interrupt and creating a virtual machine container
US20070028081A1 (en)*2005-07-292007-02-01Bouchier Paul HGenerating an interrupt in a system having plural partitions that share a resource
CN102027453A (en)*2008-05-302011-04-20国际商业机器公司System and method for optimizing interrupt processing in virtualized environments
US20110161541A1 (en)*2009-12-312011-06-30Rajesh Sankaran MadukkarumukumanaPosting interrupts to virtual processors
WO2015090195A1 (en)*2013-12-172015-06-25华为技术有限公司Method and device for creating example of operating system
CN103853597A (en)*2014-02-212014-06-11北京神舟航天软件技术有限公司Method for realizing high-frequency data collection of embedded virtual machine platform
CN104461719A (en)*2014-11-292015-03-25中国航空工业集团公司第六三一研究所Pseudo interrupt expanding method for partition operating system
CN105404577A (en)*2015-12-082016-03-16中国航空工业集团公司西安航空计算技术研究所Time monitoring method for partition operating system based on information sharing processing mechanism
CN108255591A (en)*2017-12-072018-07-06中国航空工业集团公司西安航空计算技术研究所A kind of unified abnormality eliminating method of partition operating system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
RUO ANDO ET AL: "An Enhancement of Trusted Domain Enforcement using VMM Interruption Mechanism", 《2008 THE 9TH INTERNATIONAL CONFERENCE FOR YOUNG COMPUTER SCIENTISTS》*
周霆等: "分区操作系统虚拟化中断处理方法研究", 《科技风》*
张东等: "嵌入式实时操作系统中虚中断的设计与实现", 《信息通信》*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110196764A (en)*2019-05-092019-09-03中国航空工业集团公司西安航空计算技术研究所A kind of system calls standard component implementation method and device
CN113805951A (en)*2021-09-102021-12-17中国航空工业集团公司西安航空计算技术研究所 A Port Mapping Method for Service Partition Device Sharing Based on ARINC653 Standard

Also Published As

Publication numberPublication date
CN109542610B (en)2023-06-30

Similar Documents

PublicationPublication DateTitle
US10834013B2 (en)Network slice management
CN100477602C (en)A method for realizing the multi-task polling in the network management monitoring system
WO2019068595A1 (en)Transaction selection device for selecting blockchain transactions
CN109542610A (en)A kind of multi partition operating system void interrupt criteria component realization method
CN106503091A (en)A kind of implementation method of changeable data structure automatic synchronization coupling
CN109213792A (en)Method, server-side, client, device and the readable storage medium storing program for executing of data processing
CN102508877A (en)Integrated clinical experience (ICE)-based hospital data integration interactive platform
CN110618911A (en)Data monitoring method and device, storage medium and server
CN110533453A (en)Based on the matched Products Show method, apparatus of user, computer equipment
CN103078920A (en)Online information verification system based on international electrotechnical commission (IEC) 61968 enterprise service bus (ESB)
US20140237485A1 (en)System and method for aggregate data from multiple sources to provide a single cim object
CN109144562B (en)A kind of smart code publication alarm method based on zookeeper
CN110266529A (en)Extensive individualized intelligent service customization method based on Internet of Things
CN104243360B (en)The collocation method and device of a kind of conversion link
CN107396445A (en)A kind of information reporting dispatching method, system, host device and slave devices
CN206164759U (en) A cross-network multi-source heterogeneous data acquisition device
CN109213662A (en)A kind of user's touch-control behavioral data collection method and terminal
EP3167633B1 (en)Method and system for realizing a geofence scenario with an ngsi-system
CN110502218A (en)Intelligent contract development approach, device, computer equipment and storage medium
CN110071879A (en)Method for message transmission, terminal device and storage medium
CN104202263A (en) A method for fair allocation of bandwidth resources in a multi-tenant data center
JP2010072876A (en)Rule creation program, rule creation method, and rule creation device
US20230259336A1 (en)A computer system and application programing intreface device to realize collaboration between objects categorized in accordance with input/output, by using an object group in which categories of objects which can be placed are defined
CN114385646A (en)Data aggregation method and device for civil administration system and terminal
Vasilev et al.I4. 0 Component Models based on IEC/EN 62264

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp