Unlock instant, AI-driven research and patent intelligence for your innovation.

User program running method, system, device and equipment and storage medium

A technology of a user program and an operation method, applied in the computer field, can solve the problems of eBPF programs failing to run, eBPF programs failing to run low-version kernels, etc.

Pending Publication Date: 2022-03-11
ALIBABA (CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, for operating systems deployed with lower-version kernels, eBPF programs cannot run in the kernel mode of the operating system, that is, eBPF programs cannot run in lower-version 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
  • User program running method, system, device and equipment and storage medium
  • User program running method, system, device and equipment and storage medium
  • User program running method, system, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0030] Terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the conte...

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 embodiment of the invention provides a user program running method, system, device and equipment and a storage medium, and the method comprises the steps: responding to a kernel mode running operation of a user program, and obtaining a machine code file and a to-be-detected function corresponding to the user program through a hook function in an operating system; and then, responding to the execution operation of the kernel in the operating system on the to-be-detected function, writing the machine code file corresponding to the user program into a preset detection framework deployed by the kernel so as to obtain a kernel module, and enabling the user program to run in a kernel mode of the operating system by utilizing the kernel module. According to the method, the kernel module used for executing the user program can be generated in real time in a file writing mode, so that for the kernel without the kernel module preset, the user program can run in the kernel under the condition that the user program is not modified, and the user program can run in the kernel without being modified. And the user program can normally run in the kernel mode of the operating system.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a user program running method, system, device, equipment and storage medium. Background technique [0002] Linux is a UNIX-like operating system that is free to use and spread freely. User programs installed in the Linux operating system, such as eBPF programs, can run in the user mode or kernel mode of the operating system. And with the upgrade of the kernel version in the Linux operating system, since the corresponding kernel module will be pre-deployed in the high-version kernel, this kernel module can be directly used to make the eBPF program run in the kernel state of the operating system, that is, to use eBPF programs run on higher version kernels. [0003] However, for operating systems deployed with lower-version kernels, eBPF programs cannot run in the kernel mode of the operating system, that is, eBPF programs cannot run in lower-version kernels. At this po...

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 Applications(China)
IPC IPC(8): G06F9/54G06F9/4401
CPCG06F9/545G06F9/4406G06F9/4411
Inventor 程书意毛文安冯富秋
Owner ALIBABA (CHINA) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More