User mode program processing method and device, storage medium and processor

A processing method and user-mode technology, applied in the field of cloud servers, can solve problems such as low efficiency, and achieve the effect of solving low efficiency and improving efficiency

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

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a user state program processing method and device, a storage medium, and a processor to at least solve the technical problem of low efficiency due to the use of syscall remote agent to realize the normal operation of the user state program.

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 mode program processing method and device, storage medium and processor
  • User mode program processing method and device, storage medium and processor
  • User mode program processing method and device, storage medium and processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0031] According to an embodiment of the present invention, an embodiment of a method for processing a user-mode program is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that herein.

[0032] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. figure 1 A hardware structure block diagram of a computer terminal (or mobile device) for implementing a user-mode program processing method is shown. like figure 1 As shown, the computer terminal 10 (or mobile device 10 ) may include one or more (shown as 102a, 102b, . A processing device such as a programming logic device FPGA, etc.), a mem...

Embodiment 2

[0061] According to an embodiment of the present invention, an embodiment of a user-mode program processing system is also provided. It should be noted that the above-mentioned processing system can be used to execute the user-mode program processing method provided by the embodiment of the present application. The above processing system includes: a host, wherein the host includes at least one or more kernel-mode function modules; an uninstall card, wherein the uninstall card at least includes one or more user-mode programs, and the user-mode program calls the kernel-mode function modules to make the user-mode function modules. The program responds to the ioctl request; the first communication module, wherein the first communication module is arranged on the host; the second communication module, wherein the second communication module is arranged on the unloading card, and obtains the host through the first communication module and the second communication module The file des...

Embodiment 3

[0064] According to an embodiment of the present invention, there is also provided a processing device for implementing the above-mentioned user-mode program, such as image 3 As shown, the apparatus includes: an acquiring unit 301 , a constructing unit 302 and a calling unit 303 .

[0065] The obtaining unit 301 is used for the user state program to obtain the file descriptor on the host side through the first communication module and the second communication module, wherein the file descriptor on the host side is the identifier corresponding to the kernel state function module that the user state program needs to call .

[0066] The construction unit 302 is used for the user mode program to construct a local file descriptor through the second communication module, and to construct a mapping relationship between the local file descriptor and the file descriptor on the host side.

[0067] The calling unit 303 is used for the user-mode program to call the kernel-mode function ...

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 user mode program processing method and device, a storage medium and a processor. The method comprises the steps that the user mode program obtains a file descriptor on the host side through a first communication module and a second communication module, and the file descriptor on the host side is an identifier corresponding to a kernel mode function module needing to be called by the user mode program; the user mode program constructs a local file descriptor through the second communication module, and constructs a mapping relation between the local file descriptor and the file descriptor on the host side; and the user mode program calls the kernel mode function module through the local file descriptor and the file descriptor on the host side, so that the user mode program responds to the ioctl request. According to the method and the device, the technical problem that the efficiency is relatively low due to the fact that the normal operation of the business of the user mode program is realized by adopting a syscale remote agent mode is solved.

Description

technical field [0001] The present invention relates to the technical field of cloud servers, and in particular, to a user-mode program processing method and device, a storage medium and a processor. Background technique [0002] At present, with the maturity of software and hardware integration technology, more and more enterprises realize the operation of company business through cloud servers. For cloud servers (also called hosts) purchased by enterprises, they often hope to only include kernel-mode functional modules, while for users The state program is set on the offload card, because this approach can reduce the overhead of the computing node of the host and improve the running speed of the host. After the user-mode program is unloaded to the unloading card, the communication interface needs to be rewritten so that the kernel-mode function module can be called normally to complete the business operation. The proxy needs to understand the parameter information of each...

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/445
CPCG06F9/548G06F9/545G06F9/44594G06F2209/544
Inventor 徐云邹南海沈益斌
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products