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

Method and device for acquiring limited access information in user mode

A technology for accessing information and user mode, which is applied in the field of computer networks, can solve problems such as loss of system performance, and achieve the effect of meeting perception needs and solving system performance

Inactive Publication Date: 2014-10-08
OPZOON TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a method and device for obtaining restricted access information in the user state, which can meet the perception needs of the user state for restricted access information, and at the same time reduce the loss of system performance, so as to solve the problem of using other communications in the user state. The problem of degrading system performance by obtaining restricted access information

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 device for acquiring limited access information in user mode
  • Method and device for acquiring limited access information in user mode
  • Method and device for acquiring limited access information in user mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0023] In the present invention, the limited access information includes: network device interface status (such as interface link up / down status, negotiated rate duplex status, interface sending and receiving packet statistics, etc.), hardware rxmode (receiving mode: unicast, multicast, etc.) Broadcast, multicast and mixed), and the statistics of hardware status registers (the number of sent and received packets, the numb...

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 method and a device for acquiring limited access information in a user mode. The method comprises the following steps: applying a large-block continuous memory as a shared memory and recording the address and the size of the memory when a Linux kernel is initialized; creating a data structure of the limited access information in the kernel and enabling a storage path of the data structure to point to the address of the applied shared memory; acquiring the limited access information by the creating thread of the kernel and assigning the acquired limited access information to the data structure of the limited access information in the shared memory; when the user mode is initialized, acquiring the address and the size of the applied shared memory, creating a data structure of the limited access information which is consistent with that of the kernel, and enabling the storage path of the created data structure to point to the address of the shared memory. According to the method and the device disclosed by the invention, the loss performance of the system is minimized while the limited access information is acquired in the user mode.

Description

technical field [0001] The invention belongs to the technical field of computer networks, and in particular relates to a method and a device for obtaining restricted access information in a user state. Background technique [0002] At present, the access information obtained directly from the kernel by the Linux user mode is limited. If the user mode wants to obtain those restricted access information directly from the kernel, some methods must be adopted. For example, when the Linux kernel drives a network device, it can normally obtain the interface status of the network device, such as the up / down status, speed, duplex status, and statistics of packets sent and received by the interface of the network device. Common, but for kernel-driven devices, the user mode cannot directly read the hardware registers, resulting in the user mode not being able to directly obtain the interface status of the network device, that is, the direct access to the interface status of the networ...

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/44H04L12/24
Inventor 高福亮
Owner OPZOON TECH
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