Unlock instant, AI-driven research and patent intelligence for your innovation.
Method and device for loading kernel module
What is Al technical title?
Al technical title is built by PatSnap Al team. It summarizes the technical point description of the patent document.
A kernel module and kernel technology, applied in the field of kernel module loading, can solve the problem that LKM cannot be compatible with different kernels
Active Publication Date: 2015-06-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 13 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0005] Embodiments of the present invention provide a kernel module loading method and device to at least solve the technical problem that LKM cannot be compatible with different kernels
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
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0022] According to an embodiment of the present invention, a kernel module loading module is provided, such as figure 1 As shown, the method includes:
[0023] S102: Obtain a first LKM, wherein the first LKM satisfies a first loading condition to be loaded into the first kernel;
[0024] S104: Obtain a second LKM, wherein the second LKM satisfies a second loading condition to be loaded into the second kernel but does not meet the first loading condition;
[0025] S106: Update the second LKM according to the first LKM, wherein the updated second LKM satisfies the first loading condition;
[0026] S108: Load the updated second LKM into the first kernel.
[0027] It should be clear that one of the problems to be solved by the technical solution of the present invention is to provide a method so that the LKM written based on an operating system and a version of the kernel of the operating system can be successfully loaded into other operating systems or the same In the kernel ...
Embodiment 2
[0062] According to an embodiment of the present invention, a kernel module loading device for implementing the above kernel module loading method is also provided, such as Figure 8 As shown, the device includes:
[0063] 1) The first obtaining unit 802 is configured to obtain a first loadable kernel module LKM, wherein the first LKM satisfies a first loading condition to be loaded into the first kernel;
[0064] 2) The second obtaining unit 804 is configured to obtain a second LKM, wherein the second LKM satisfies the second loading condition to be loaded into the second kernel but does not meet the first loading condition;
[0065] 3) The first updating unit 806 is configured to update the second LKM according to the first LKM, wherein the updated second LKM satisfies the first loading condition;
[0066] 4) A loading unit 808, configured to load the updated second LKM to the first kernel.
[0067] It should be clear that one of the problems to be solved by the technical ...
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
Login to View More
Abstract
Method and Apparatus for loading kernel modules are disclosed. The method includes: obtaining a first loadable kernel module (LKM) and a second LKM, wherein the first LKM satisfies a first loading condition for being loaded into a first kernel, and the second LKM satisfies a second loading condition for being loaded into a second kernel different from the first kernel; identifying respective differences in one or more characteristic properties between the first and second LKMs; in accordance with the identified respective differences, modifying a respective one of the first and second LKMs; and loading the modified respective one of the first and second LKMs into the first kernel, wherein the modified respective one of the first and second LKM provides one or more functions in accordance with the second LKM.
Description
technical field [0001] The invention relates to the field of computers, in particular to a kernel module loading method and device. Background technique [0002] The operating system (Operating System) is a program that manages computer hardware and software resources. It is responsible for managing and configuring memory, determining the priority of systemresource supply and demand, controlling input and output devices, operating the network, and managing file systems. The kernel (Kernel) is the core of an operating system, which refers to a systemsoftware that provides functions such as hardware abstraction layer, disk and file system control, and multitasking. Among them, because it is relatively complicated to directly operate on computer hardware, the kernel usually Provides a hardware abstraction to accomplish these operations. Hardware abstraction hides complexity and provides a set of concise and unified interfaces for application software and hardware, making pro...
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
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.