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

Method for user and multi-inner core to perform communication in Linux system

A multi-core, communication technology, applied in the field of data communication, to save development costs and improve business processing capabilities

Inactive Publication Date: 2008-10-01
江苏三农乐购电子商务有限公司
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a method for communicating between a user and a multi-kernel in a Linux system, so as to solve the problem of realizing communication between a user space and a multi-kernel space in a Linux system

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 for user and multi-inner core to perform communication in Linux system
  • Method for user and multi-inner core to perform communication in Linux system
  • Method for user and multi-inner core to perform communication in Linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0024] Such as figure 1 As shown, it is a flowchart of a method for communicating between a user and a multi-core in a Linux system according to an embodiment of the present invention, including the following steps:

[0025] Step 101, setting one core in the multi-core as the control core in the Linux system, and the other cores as slave cores;

[0026] Step 102, the application program of the Linux user space communicates with the Linux kernel space through the socket system call of the Netlink protocol family, and sends data information to the Linux control core;

[0027] Step 103, after the Linux control core receives the data information sent by the application program of the Linux user space, select a sending strategy according to the type of the data information, and then include the wake-up function pointer i...

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 present invention provides a communication method of users with a multi-kernel in a Linux system, including: (1) a kernel of the multi-kernel in the Linux system is provided as a control kernel, other kernels are provided as accompanied kernels; (2)After receiving the data message transmitted by the application program in the Linux user space, Linux control kernel transmits an arousing function pointer message containing arousing receiving accompanied kernels and message of the receiving accompanied kernels to FMN according to the type selection transmission strategy of the data message; (3) Linux is aroused by receiving the message of FMN received by the accompanied kernels, extracting the arousing function pointer message from the FMN message, entering in the service processing function pointed by the arousing function pointer, processing service process by the service line program. The invention achieves the progress that the communication between user and kernel is from single kernel to multiple-kernel, achieving effect of realizing communication between user and multiple-kernel in Linux system.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method for communicating between a user and multiple cores in a Linux system. Background technique [0002] With the development of data communication technology, especially the further development and improvement of the Linux operating system, more and more network devices have begun to use the Linux operating system as the operating system software of the device. Compared with some other operating systems, Linux has It supports multi-user, multi-processor, and multi-platform features, and also has richer and more efficient network implementation functions; in addition, the most attractive place is the open source and free nature of Linux, that is, the entire Linux kernel. The source code is available for free, which makes the network equipment using the Linux operating system software not only have better function expansion and performance expansion features, but also have b...

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/46H04L12/56H04L29/08H04L47/2416
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