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

Method and system for communication between user state and kernel

A user mode and kernel technology, applied in the field of data interaction, can solve problems such as no network interface, achieve the effects of saving time, improving efficiency, and reducing system performance loss

Active Publication Date: 2017-04-19
天津汉柏汉安信息技术有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The present invention provides a method and system for communication between user state and kernel, which can perceive the physical state of the actual physical network interface and does not require message format conversion during the communication process, which solves the problem that there is no network interface in the prior art for physical perception question

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
  • Method and system for communication between user state and kernel
  • Method and system for communication between user state and kernel
  • Method and system for communication between user state and kernel

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] 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.

[0054] The embodiment of the present invention proposes a method for communication between the user state and the kernel, including:

[0055] Step 101: Obtain the network data structure of the physical network card registration interface in the user state.

[0056] Step 102: According to the obtained network data structure of the physical network...

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 provides a method and system for communication of a user state and an inner core. The method for the communication of the user state and the inner core comprises the steps that a network data structure of a registered interface of a physical network card is obtained in the user state, the name of the registered interface of the physical network card is used for registering a virtual network card interface in the inner core according to the obtained network data structure of the registered interface of the physical network card, the physical network card in the user state is used for receiving mainframe receiving messages needing to be processed by the inner core, the mainframe receiving messages are transmitted to the inner core through a corresponding virtual network interface card, and the mainframe receiving messages processed by the inner core are transmitted to the user state through corresponding virtual network cards, and are sent to the physical network card through the user state. The method and system for the communication of the user state and the inner core can meet sensing requests of the physical network interface states by the user state and the inner core, and meanwhile the switchover problem of message formats of the user state and message formats of the inner core is solved. The system performance loss of information transmission between the user state and the inner core is reduced, the time of information transmission is saved, and efficiency of message transmission and processing is improved.

Description

technical field [0001] The invention relates to the field of data interaction, in particular to a method and system for communicating between a user state and a kernel. Background technique [0002] In the field of data interaction, the communication between user mode and kernel is a very important research topic. Due to the limitations of kernel mode programs, most kernel mode programs need to exchange and transmit data with user mode, so as to achieve wider expansion and application of the system. [0003] In the prior art, the following methods are mainly used to realize the purpose of communication between the user mode and the kernel: one method is to directly load the physical network card driver through the kernel, and send and receive messages at the external data terminal through the physical network card, and then send and receive messages through the data copy by the kernel. Business processing in the user state process; another method is to use the user state to...

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): H04L29/06G06F9/54
Inventor 高福亮
Owner 天津汉柏汉安信息技术有限公司
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