Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Kernel update method and device, computer equipment

An update method and kernel technology, which is applied in the computer field, can solve problems such as driver service termination, and achieve the effects of improving efficiency, saving time and cost, and shortening time

Active Publication Date: 2020-04-03
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When updating the loadable kernel module, even if a certain driver in the loadable kernel module is providing driver services for business applications, the communication connection between the loadable kernel module and the business application is still disconnected, so that the business application cannot continue to communicate with the business application. The loadable kernel module sends a business request for the driver service, resulting in the termination of the driver service

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 update method and device, computer equipment
  • Kernel update method and device, computer equipment
  • Kernel update method and device, computer equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The technical solutions provided by the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0031] computer device embodiment

[0032] see figure 1 , the computer device 100 includes a processor 101 , a memory 102 , a communication interface 103 , a bus 104 and a memory 105 .

[0033] The memory 105 stores computer instructions and data; for example, the memory 105 stores computer instructions and data related to an operating system (English: operating system, OS). The memory 105 can be any one or any combination of the following: read-only memory (English: read-only memory, ROM), non-volatile memory (English: non-volatile memory, NVM), solid-state hard disk (English: solid state drives, SSD), mechanical hard disk, magnetic disk, disk array and other storage media.

[0034] The processor 101 can be any of the following: a central processing unit (English: central processing unit, CPU...

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 relates to the computer field, and discloses a kernel update method and device, and computer equipment. The computer device executes the kernel update method to update the loadable kernel module in the kernel; firstly, the first interface mapping table is set to invalid, and the invalid first interface mapping table makes the interface module stop sending service requests of business applications to the first The driving logic of the driving logic module, so that the first driving logic module suspends providing driving services for business applications; then replace the first driving logic module in the loadable kernel module with the second driving logic module, and add it in the second interface mapping table Each interface in the interface module and the driving logic in the second driving logic module corresponding to the interface are recorded in . After the loadable kernel module is updated, the second driver logic module executes the driver logic on the new service request forwarded by the interface module according to the second interface mapping table, so as to resume providing driver services for business applications.

Description

technical field [0001] The embodiments of the present invention relate to the computer field, and in particular to a kernel updating method and device, and computer equipment. Background technique [0002] The kernel (English: kernel) of the operating system (English: operating system, OS) is divided into a basic kernel (English: base kernel) and a loadable kernel module (English: loadable kernel module, LKM). [0003] A loadable kernel module provides at least one driver. When the driver of the loadable kernel module needs to be used, temporarily load the file that implements the loadable kernel module in the memory, run the file to realize the driver, and run the file to implement other drivers included in the loadable kernel module . [0004] Since the computer instructions and data for realizing all the drivers in the loadable kernel module are stored in the same file, the implementation method of updating the loadable kernel module in the prior art is: unload the old ...

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 & Authority Patents(China)
IPC IPC(8): G06F9/4401G06F9/54G06F8/656
CPCG06F8/656G06F9/4406G06F9/545
Inventor 彭瑞林
Owner HUAWEI CLOUD COMPUTING TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products