System call standard component implementation method and device

A technology of standard components and implementation methods, applied in the directions of multi-program device, program startup/switching, program control design, etc., can solve problems such as lack of independence and flexibility, inability to perform system integration, and implementation conflicts, so as to improve independence Sexuality, avoiding conflicts and differences in implementation methods, and reducing the effect of coupling

CN110196764APending Publication Date: 2019-09-03XIAN AVIATION COMPUTING TECH RES INST OF AVIATION IND CORP OF CHINA
3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2019-09-03

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention provides a system call standard component implementation method. The method comprises the following steps of setting the system call types; dividing the system call codes according to the system call types; dividing the subsystem calling codes according to the system calling codes; determining a system call registration interface standard according to the system call types; determining a subsystem processing interface standard according to the subsystem calling codes; determining a registration interface processing flow according to the system call codes; according to a subsystemcalling code discrimination subsystem, obtaining a discrimination result; and executing a corresponding subsystem processing interface according to the judgment result.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the field of airborne networks of avionics systems, and relates to a method and device for realizing a system call standard component. Background technique

[0002] With the development of airborne network technology in the aviation field and the improvement of integration, the application of partitioned operating system platforms is becoming more and more extensive. For a partitioned operating system, subsystems residing in the partition usually need to access module service interfaces residing in the core operating system, including device driver interfaces, system service interfaces, and board-level service interfaces. The partition subsystem accesses the service interface of the core operating system by means of system calls. Since the implementation method of the system call needs to use the registration interface provided by the operating system to complete the interaction between the partition and the core, and it can o...

Examples

Embodiment 1

[0032] Based on the partition operating system system platform, the present invention proposes a method for realizing calling from the partition to the core system.

[0033] The present invention includes a method for implementing a standard system call component, and the specific steps are as follows:

[0034] Step 1, set the system call type;

[0035] Step 2, according to the system call type, divide the system call code;

[0036] Step 3, divide the subsystem call code according to the system call code;

[0037] Step 4, according to the system call type, determine the system call registration interface standard;

[0038] Step 5, according to the subsystem call code, determine the subsystem processing interface standard;

[0039] Step 6, according to the system call code, determine the registration interface processing flow;

[0040] Step 7, discriminate the subsystem according to the subsystem call code, and obtain the discrimination result;

[0041] Step 8: Execute the...

Embodiment 2

[0052] In order to better understand the present invention, the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0053] Such as figure 1 As shown, the present invention formulates the standard system call component specification body steps as follows:

[0054] Step 100, setting the system call type;

[0055] Step 101, divide the system call code according to the system call type;

[0056] Step 102, divide the subsystem call code according to the system call code;

[0057] Step 103, according to the system call type, determine the system call registration interface standard;

[0058] Step 104, determine the subsystem processing interface standard according to the subsystem call code;

[0059] Step 105, according to the system call code, determine the registration interface processing flow;

[0060] Step 106, judge the subsystem according to the subsystem call code, and obtain the judgment result;

...