Method for linux kennel to position customer premises equipment (CPE) service stream types

A business flow and service type technology, applied in the communication field, can solve problems such as troublesome operation and code confusion, and achieve the effect of enhancing clarity and controllability

Inactive Publication Date: 2012-10-17
SHENZHEN GONGJIN ELECTRONICS CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This indeed solves the current problem, but if the user modifies again later, or multiple users have special requirements, then the code must be changed every time to change the business interface type, which is not only troublesome to operate, but also easy to confuse the code

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 linux kennel to position customer premises equipment (CPE) service stream types
  • Method for linux kennel to position customer premises equipment (CPE) service stream types
  • Method for linux kennel to position customer premises equipment (CPE) service stream types

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The core idea of ​​the present invention is: as figure 2 As shown, a socket socket is established, and the service flow type identification is set through setsocketopt to indicate which service type the socket belongs to; when sending a message, the current skb data packet is marked with the above service flow type identification to indicate that the current data packet belongs to Which service type; extend the netfilter module to match the service type, and perform subsequent operations on the business flow.

[0023] 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 conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0024] Such as image 3 As shown, the method for the linux kernel to locate th...

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 for a linux kennel to position customer premises equipment (CPE) service stream types. The method comprises the following steps: predetermining corresponding marks of various service stream types; expanding member variable service Type for socket structure structsock; setting the service stream type corresponding to the present socket of the socket item mark through the setsocketopt; expanding the member variable service Type for a data pocket structure structskb_buff; and marking the service type corresponding to the current skb data pocket through the socket structure member service Type. According to the method, the defaulted service stream type mark information is stored through an independent variable; furthermore a defaulted service stream type mark is added for the current service stream data pocket, then when necessary, a user can only change the value of an independent variable into the type mark of the current service stream, then a reliable judgment reference can be provided for later different service stream treatment; and meanwhile the clarity and controllability of codes are enhanced.

Description

technical field [0001] The invention relates to the communication field, in particular to a method for linux kernel to locate CPE (customer terminal equipment) service flow type. Background technique [0002] Currently, with changes in the market and technology, fixed network operators are seeking a new strategic transformation. Traditional communication services are expanding to the fields of infotainment and digital life. IPTV (Interactive Network Television), VOIP (Voice over Internet Protocol, Internet telephony) and P2P (peer-to-peer, peer-to-peer networking) applications and other business types are constantly enriched. This makes the services carried by the broadband network gradually develop from traditional Internet services to multi-service bearers. [0003] In the existing data operation based on business flow, people's understanding is more and more biased towards upper-level understanding. Moreover, due to the professionalism of the operation, the future proce...

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): H04L12/56G06F17/30
Inventor 周明明
Owner SHENZHEN GONGJIN ELECTRONICS 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