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

Data packet forwarding method, device and system

A forwarding method and forwarding device technology, applied in the field of communication, can solve problems such as low security, complicated user identity verification and authentication process, user identity information leakage, etc., and achieve enhanced security, simplified identity verification and authentication process, The effect of improving user experience

Inactive Publication Date: 2014-11-19
NUBIA TECHNOLOGY CO LTD
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the technical problem to be solved by the present invention is to provide a data packet forwarding method, device and system to solve the problem in the prior art that the user identity verification and authentication process are relatively difficult during the data packet forwarding process. Complexity and low security. At the same time, the use of plaintext passwords is likely to cause user identity information leakage, which requires the support of hardware network boards.

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
  • Data packet forwarding method, device and system
  • Data packet forwarding method, device and system
  • Data packet forwarding method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0058] In this embodiment, before obtaining and analyzing the static IP address of the client, it also includes assigning a static IP address to the client establishing a communication connection with it through the server.

[0059]First, a Tun-based virtual NIC interface is established between the server and the client. The data packet receiving and sending operations of the virtual NIC interface are not directly associated with the real physical NIC, but the data packets are forwarded through user space. For example, under linux, there are many ways to realize the interaction between core state and user state data packets through the virtual network card interface: you can create special sockets with common sockets, and use sockets to realize data interaction; create files through the proc file system To perform data interaction; you can also use the device file, accessing the device file will call the corresponding routine of the virtual network card interface, the virtual n...

Embodiment 2

[0063] figure 2 figure 1 Shown is a flow chart of specific steps for querying the corresponding authority information according to the static IP address. This step specifically includes:

[0064] S21, analyzing the static IP address to generate user identity information. The static IP address is a line of character strings. In this embodiment, the character string is used as the identity information of the user. On the server side, the character string is directly verified to identify the identity information of the client; after identity information identification is completed, the character string can be The format is adjusted accordingly to match the query format within the database.

[0065] S22. Query the authority information corresponding to the user identity information in the database of the server. For example, on the server side, corresponding permissions are assigned to different IP addresses, or corresponding permissions are assigned to IP addresses under dif...

Embodiment 3

[0068] image 3 yes figure 1 Shown is a flow chart of specific steps of assigning data packets with corresponding permissions according to the permission information and forwarding them to the client. This step specifically includes:

[0069] S31. Receive a packet forwarding request sent by the client. It can be understood that other clients may send the data packet forwarding request to the client, or the client may send the data packet forwarding request to the server.

[0070] S32. Within the scope of the data packet forwarding request, assign a data packet corresponding to the authority according to the authority information. It can be understood that on the server side, there are many ways to distribute data packets: store the data packets to be sent according to the authority level from high to low, and then allocate the data packets of this level according to the authority level of the client; Within the access rights, arbitrarily select the data packets to be forwa...

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 discloses data packet forwarding method, device and system, the method comprising following steps: obtaining and analyzing a static IP address of a client; querying corresponding authority information according to the static IP address; assigning data packets with corresponding authority according to the authority information, and forwarding the data packets to the client. The implementation of the present invention simulates a hardware based network layer through a virtual network equipment Tun network card, thereby systematically realizing simulation of a forwarding process receiving data packets from a server and avoiding the dependence on hardware in the data packet forwarding process. Meanwhile, by assigning a static IP address to the client, the method directly uses the static IP address as the identification information for a user, simplifies the process of identity verification and authorization, avoids inputting plaintext passwords, enhances safety and improves user experiences.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a data packet forwarding method, device and system. Background technique [0002] In the prior art, forwarding of data packets between a server and a client usually includes operation processes such as encryption, decryption, verification, and authentication. After the client establishes a communication connection with the server, the server dynamically assigns the client's IP address. When the client or server has a data packet forwarding requirement, first upload the user's identity verification information to the server through the client, after the user's identity verification information is verified and passed by the server, and then read the relevant access rights, Obtain the corresponding data packet according to the access authority of the user, and finally complete the forwarding operation of the data packet. [0003] It can be understood that in the prio...

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): H04L29/06H04L9/32
Inventor 周恒恭魏宇星
Owner NUBIA TECHNOLOGY CO LTD
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