Kernel module relation graph construction method and system based on dumb module nodes and medium

A technology of kernel modules and construction methods, applied in relational databases, database models, structured data retrieval, etc., can solve problems such as high complexity, kernel module compatibility issues, peripheral hardware and upper-layer application migration workload, etc.

Active Publication Date: 2021-07-23
NAT UNIV OF DEFENSE TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the application process of the information system, there are problems such as the upgrade of the operating system kernel that leads to a large workload and high complexity in the migration of peripheral hardware and upper-layer applications. The main reason is that the upgrade brings changes in kernel functions and data structures. When the kernel module After the function and data in the file are changed, other operating system components that call this function will be affected, and there will be situations where execution cannot be performed or execution exceptions occur. The above situation is a kernel module compatibility problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Kernel module relation graph construction method and system based on dumb module nodes and medium
  • Kernel module relation graph construction method and system based on dumb module nodes and medium
  • Kernel module relation graph construction method and system based on dumb module nodes and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] like figure 1 As shown, the method for constructing the kernel module relationship diagram based on the dumb module node in this embodiment includes:

[0035] 1) input kernel module set M;

[0036] 2) Establish a module node for each kernel module in the kernel module set M, and obtain the kernel module node set {N m}, where N m Indicates the mth kernel module; introduces a dummy module node;

[0037] 3) Extract the kernel module node set {N m} in the in function and out function of each kernel module to obtain the in function table and out function table; according to the symbol correspondence between any in function and out function in the in function table and out function table, the relationship between the kernel modules is established in the graph database The reference relationship between the in function and the out function can not be established, and the reference relationship between the dumb module node and the corresponding kernel module is established ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a kernel module relation graph construction method and system based on dumb module nodes and a medium. The kernel module relation graph construction method comprises the steps that a kernel module set M is input; a module node is established for each kernel module in the kernel module set M, a kernel module node set {Nm} is obtained, and Nm represents the mth kernel module; a dummy module node is introduced; in functions and out functions of all kernel modules in a kernel module node set {Nm} are extracted, the reference relation between the kernel modules is established in a graph database on the basis of the symbol corresponding relation between the in functions and the out functions, the reference relation between the kernel modules is established on the basis of the External data and the Export data, and nodes without the reference relation are recorded through dumb module nodes. According to the method and system, on-demand expansion and reduction of the kernel module function call relation graph and the kernel module data sharing relation graph are supported, and the method and system have the advantage of being rapid and efficient in reconstruction.

Description

technical field [0001] The invention relates to the technical field of operating system kernel and version compatibility assurance when upgrading kernel modules, in particular to a method, system and medium for constructing a kernel module relationship diagram based on dumb module nodes. Background technique [0002] In the application process of the information system, there are problems such as the upgrade of the operating system kernel that leads to a large workload and high complexity in the migration of peripheral hardware and upper-layer applications. The main reason is that the upgrade brings changes in kernel functions and data structures. When the kernel module After the function and data in are changed, other operating system components that call this function will be affected, and there will be situations where execution cannot be performed or execution exceptions occur. The above situation is a kernel module compatibility problem. Solving kernel module compatibil...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06F16/901G06F16/28
CPCG06F16/9024G06F16/284Y02D10/00
Inventor秦莹马俊李小玲高珑王静谭郁松阳娅婧张雅媛熊茂屹张新举武佳文张玉栋
OwnerNAT UNIV OF DEFENSE TECH