CN102710501B - A kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof - Google Patents

A kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof Download PDF

Info

Publication number
CN102710501B
CN102710501B CN201210147478.8A CN201210147478A CN102710501B CN 102710501 B CN102710501 B CN 102710501B CN 201210147478 A CN201210147478 A CN 201210147478A CN 102710501 B CN102710501 B CN 102710501B
Authority
CN
China
Prior art keywords
module
packet
qos
tunnel
tunnel communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210147478.8A
Other languages
Chinese (zh)
Other versions
CN102710501A (en
Inventor
肖博东
黄楚恩
张喻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201210147478.8A priority Critical patent/CN102710501B/en
Publication of CN102710501A publication Critical patent/CN102710501A/en
Application granted granted Critical
Publication of CN102710501B publication Critical patent/CN102710501B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof, described mobile terminal adopts the embedded system based on linux kernel, comprises tunnel communication module and QOS module; Described tunnel communication module, carries out Reseal process for treating according to Tunneling Protocol by the packet of the different agreement of tunnel transmission; QOS module, for carrying out flow control process according to the parameter of regularity preset to the packet after tunnel communication module process.In the embodiment of the present invention, QOS module has been set up in conventional communication terminals, and add the support function of QOS module to tunnel communication pattern, user only needs by interface configuration QOS parameter, QOS module can be utilized to carry out flow control to the data flow under tunnel communication pattern, thus achieve the dynamic conditioning of bandwidth, improve network resource utilization.

Description

A kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof
Technical field
The present invention relates to field of communication terminals and field of embedded technology, particularly relate to a kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof.
Background technology
Along with popularizing of internet, the relation of network and people's life is further close, and diversified business (data, voice, video etc.) is arisen at the historic moment.Different business is different for the requirement of communication condition.Usually, data service has discreteness feature, very high to the reliability requirement of service delivery, and the error rate is most important index, but can tolerate certain time delay; And this kind of business of voice and video has features such as flow is large, continuity, real-time and correlation, time postpone a meeting or conference cause voice the change of voice, modified tone and video the phenomenon such as mosaic, therefore require very strict to propagation delay time and shake.Service that traditional IP can only provide " doing one's best ", all Business Stream fair play Internet resources, are difficult to the communicating requirement ensureing every class business, and this is also the essential reason causing research IP QoS.Nearly all country, when disposing NGN urban d evelopment, is proposed and will solves end-to-end QoS problem in next generation network.
QOS, i.e. IP service quality, performance when it refers to IP grouping or flows through network, this performance is described by a series of measurable parameter, for providing quality of service guarantee end to end, improves network resource utilization.
QOS is very wide in field of communication terminals application, comprising field of embedded technology.Embedded system be application-centered, based on computer technology, hardware and software can cutting, adapt to application system to function, reliability, cost, volume, power consumption be strict with dedicated computer system.Along with the development of information technology and the universal of digital product, embedded system application is further close with the combination of Internet.
Tunneling technique is a kind of mode being transmitted data by Internet infrastructure between networks.The data of use tunnel transmission can be Frame or the bag of different agreement, the Frame of these other agreements or bag Reseal send by tunnel protocol in new packet header, packed packet between two end points in tunnel in carry out route by public internet network, once arrival internet destination, data will be unpacked and will be forwarded to final destination.In whole transmittance process, when packed packet transmits on public internet network the logical path of process be called tunnel.In brief, tunneling technique refers to and comprises data encapsulation, and transmission is conciliate and wrapped in interior overall process.
To sum up, although QOS technology is widely used in communication terminal, communication terminal but cannot adjust dynamically flow under self-defining tunnel communication pattern.And a lot of communication terminal needs to control its tunnel communication, being thus necessary that proposition is a kind of can carry out the solution of dynamic conditioning to bandwidth under tunnel communication pattern.
Summary of the invention
The object of the present invention is to provide a kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof, realize embedded system based on linux kernel under tunnel communication pattern to the control of data traffic, improve network resource utilization.
The object of the invention is to be achieved through the following technical solutions.
A kind of communication terminal, adopts the embedded system based on linux kernel, comprises tunnel communication module, also comprise QOS module;
Described tunnel communication module, carries out Reseal process for treating according to Tunneling Protocol by the packet of the different agreement of tunnel transmission;
QOS module, for carrying out flow control process according to the parameter of regularity preset to the packet after tunnel communication module process.
Wherein, described QOS module comprises further:
Identification of data packets module, for identifying received packet, filter out tunnel mode packet and send it to QOS implement module process;
QOS configuration module, for arranging the QOS rule of current employing and concrete parameter of regularity information by API configuration function;
QOS implements module, carries out flow control for the parameter of regularity information configured according to QOS configuration module to the packet of tunnel mode.
Wherein, communication terminal also comprises system interface, for providing the configuration interface of man-machine interaction, receiving the configuration information of user's input and transmitting it to described QOS configuration module.
Wherein, described system interface adopts WEB module.
The Bandwidth Dynamic method of adjustment of mobile terminal under tunnel communication pattern, comprises step as follows:
The QOS rule of current employing and concrete parameter of regularity information is configured by QOS configuration module;
Set up after tunnel is connected between this communication terminal with other communication terminals, tunnel communication module is treated the packet transmitted by tunnel and is first carried out tunnel encapsulation process, and QOS implements to be sent to opposite end after module carries out flow control according to described configuration information to described packet again.
Wherein, the process that described QOS enforcement module carries out flow control specifically comprises:
Feature according to tunnel mode identifies received packet, filters out the packet under tunnel mode;
Obtain the packet header length information of the packet filtered out from tunnel communication module, calculate the total length of each packet;
According to the total length of each packet and pre-configured Rule Information, flow control is carried out to the packet of described tunnel mode.
Wherein, described QOS enforcement module is controlled packet by ' ebtable ' order or ' iptable ' order.
Wherein, by system command ' tc ', concrete parameter of regularity information is configured in the QOS rule of current employing dynamically.
Compared with prior art, the embodiment of the present invention has following beneficial effect.
In the embodiment of the present invention, QOS module has been set up in conventional communication terminals, and add the support function of QOS module to tunnel communication pattern, user only needs by interface configuration QOS parameter, QOS module can be utilized to carry out flow control to the packet under tunnel communication pattern, thus achieve the dynamic conditioning of bandwidth, improve network resource utilization.
Accompanying drawing explanation
Fig. 1 is the principle assumption diagram of tunnel communication system in the embodiment of the present invention.
Fig. 2 is the Bandwidth Dynamic method of adjustment flow chart in the embodiment of the present invention under tunnel communication pattern.
Embodiment
Core concept of the present invention is: use the flow of QOS module to tunnel to control.In the client of communication terminal, as by web page, at the inputting interface reserved in advance, the flow based on tunnel is arranged; After WEB module in embedded systems receives this order, this request message is passed to QOS module and carries out data processing, QOS module can judge the data type of present communications, and identify that current bag is tunnel, if the packet of tunnel mode just obtains its packet header length information, in order to the total length of calculated data bag, to carry out flow control accurately.
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In the present embodiment, as shown in Figure 1, comprise communication terminal a and communication terminal b and form, communication terminal a and communication terminal b carries out tunnel communication to whole communication system.
Wherein, communication terminal a adopts the embedded system based on linux kernel, mainly comprises following content.
Tunnel communication module, carries out Reseal process for treating according to Tunneling Protocol by the Frame of the different agreement of tunnel transmission or bag.
WEB module, for providing human-computer interaction interface.
QOS module, implements module by identification of data packets module, QOS configuration module and QOS and forms.
Wherein, identification of data packets module, for identifying the packet received, determines whether the packet of tunnel communication, if so, then sends it to QOS enforcement module and processes.
QOS configuration module, for being arranged the QOS rule of current employing and concrete parameter of regularity information by external API configuration function, usually can be connected with WEB module, reach the effect that can be configured by the page.
QOS implements module, controls for the data flow of parameter of regularity information to tunnel communication configured according to QOS configuration module.
As shown in Figure 2, the Bandwidth Dynamic method of adjustment in the present embodiment under tunnel communication pattern comprises step.
201, initiate tunnel between communication terminal to connect, the agreement of connection can be common protocol also can be self-defining communication protocol.After connecting, between communication terminal, communication is normal.
202, the QOS rule of current employing is configured by configuration interface, as htb rule.
203, according to configured QOS rule, concrete parameter information is configured, i.e. the speed of data.In this step, by system command " tc ", configuration parameter is configured in HTB rule dynamically.
204, configuration information is issued to QOS by system interface and implements module, now QOS pattern is formally effective.
205, tunnel communication module implements module by sending to QOS after packet encapsulation process to be communicated, the packet header length information of each packet is informed that QOS implements module simultaneously.
206, QOS enforcement module identifies received packet according to the feature of tunnel mode, filters out the packet under tunnel mode.Generally, the packet of tunnel mode transmits in UDP mode, and comprise IPV4 and IPV6 two kinds, therefore can current data packet whether be according to judging that whether this packet is the packet of tunnel mode if being UDP message bag, also can distinguish IPV4 and IPV6 further to facilitate subsequent treatment.
207, for the packet of tunnel mode, QOS implements module according to the whole data length of header packet information calculated data bag, and then controls each packet according to the Rule Information of above-mentioned configuration.In this step, QOS is implemented module and can be controlled data stream by order ' ebtable ' or ' iptable '.
In above process, because the packet of tunnel mode can than the many encapsulation in the outside of general data bag data packet head, this data packet head comprises the mark and variable that some tunnel protocols use; And the accuracy of the total length of the packet known determines the accuracy of bandwidth restriction, thus QOS enforcement module needs the length information obtaining data packet head from tunnel communication module before to the processing data packets of tunnel mode, calculate the total length of packet accurately accordingly, thus ensure the accuracy that bandwidth controls.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a communication terminal, adopts the embedded system based on linux kernel, comprises tunnel communication module, it is characterized in that, also comprises QOS module:
Described tunnel communication module, carries out Reseal process for treating according to Tunneling Protocol by the packet of the different agreement of tunnel transmission;
QOS module, for carrying out flow control process according to the parameter of regularity preset to the packet after tunnel communication module process;
Described QOS module comprises further:
Identification of data packets module, for identifying received packet, filter out tunnel mode packet and send it to QOS implement module process;
QOS configuration module, for arranging the QOS rule of current employing and concrete parameter of regularity information by API configuration function;
QOS implements module, for the packet header length information of the packet of tunnel mode filtered out according to described identification of data packets module, calculate the total length of each packet, and according to the total length of each packet calculated and the parameter of regularity information of described QOS configuration module configuration, flow control is carried out to the packet of tunnel mode.
2. communication terminal as claimed in claim 1, it is characterized in that, this communication terminal also comprises system interface, and for providing the configuration interface of man-machine interaction, the configuration information receiving user's input also transmits it to described QOS configuration module.
3. communication terminal as claimed in claim 2, is characterized in that, described system interface adopts WEB module.
4. the Bandwidth Dynamic method of adjustment of mobile terminal under tunnel communication pattern, it is characterized in that, the method comprising the steps of:
The QOS rule of current employing and concrete parameter of regularity information is configured by QOS configuration module;
Set up after tunnel is connected between this communication terminal with other communication terminals, tunnel communication module is treated the packet transmitted by tunnel and is first carried out tunnel encapsulation process, and QOS implements to be sent to opposite end after module carries out flow control according to described configuration information to described packet again;
The process that described QOS enforcement module carries out flow control specifically comprises:
Feature according to tunnel mode identifies received packet, filters out the packet of tunnel mode;
Obtain the packet header length information of the packet filtered out from tunnel communication module, calculate the total length of each packet;
According to the total length of each packet and pre-configured Rule Information, flow control is carried out to the packet of described tunnel mode.
5. the Bandwidth Dynamic method of adjustment of mobile terminal under tunnel communication pattern as claimed in claim 4, is characterized in that, in the method, described QOS implements module to be ordered by ' ebtable ' order or ' iptable ' and control packet.
6. the Bandwidth Dynamic method of adjustment of mobile terminal under tunnel communication pattern as claimed in claim 4, be is characterized in that, in the method, concrete parameter of regularity information be configured to dynamically in the QOS rule of current employing by system command ' tc '.
CN201210147478.8A 2012-05-14 2012-05-14 A kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof Active CN102710501B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210147478.8A CN102710501B (en) 2012-05-14 2012-05-14 A kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210147478.8A CN102710501B (en) 2012-05-14 2012-05-14 A kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof

Publications (2)

Publication Number Publication Date
CN102710501A CN102710501A (en) 2012-10-03
CN102710501B true CN102710501B (en) 2015-10-28

Family

ID=46903070

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210147478.8A Active CN102710501B (en) 2012-05-14 2012-05-14 A kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof

Country Status (1)

Country Link
CN (1) CN102710501B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103870203B (en) * 2012-12-11 2016-09-28 威刚科技(苏州)有限公司 Portable storage device and the method dynamically adjusting its mode of operation
CN104717189A (en) * 2013-12-16 2015-06-17 中兴通讯股份有限公司 Network data package sending method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992671A (en) * 2005-12-28 2007-07-04 上海原动力通信科技有限公司 Method for transmitting IP header compression data packet in the third-generation evolution system
CN101325538A (en) * 2007-06-13 2008-12-17 中兴通讯股份有限公司 Apparatus and method for implementing margin gateway total system QoS
CN101505296A (en) * 2008-02-05 2009-08-12 华为技术有限公司 Control method and apparatus for tunnel service data stream
CN101741677A (en) * 2008-11-07 2010-06-16 华为技术有限公司 Data transmission method, device and system
CN102104915A (en) * 2009-12-22 2011-06-22 中国移动通信集团公司 PMIP-based QoS control method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090296613A1 (en) * 2008-06-03 2009-12-03 Colin Kahn Method and apparatus for providing quality-of-service in radio access networks
US8433783B2 (en) * 2010-09-29 2013-04-30 Citrix Systems, Inc. Systems and methods for providing quality of service via a flow controlled tunnel

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1992671A (en) * 2005-12-28 2007-07-04 上海原动力通信科技有限公司 Method for transmitting IP header compression data packet in the third-generation evolution system
CN101325538A (en) * 2007-06-13 2008-12-17 中兴通讯股份有限公司 Apparatus and method for implementing margin gateway total system QoS
CN101505296A (en) * 2008-02-05 2009-08-12 华为技术有限公司 Control method and apparatus for tunnel service data stream
CN101741677A (en) * 2008-11-07 2010-06-16 华为技术有限公司 Data transmission method, device and system
CN102104915A (en) * 2009-12-22 2011-06-22 中国移动通信集团公司 PMIP-based QoS control method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《Linux系统QoS原理与应用》;李锐;《安徽大学学报(自然科学版)》;20030630;第27卷(第2期);第35-39页 *

Also Published As

Publication number Publication date
CN102710501A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN109194660B (en) Network access method and device of mobile terminal
CN102143035B (en) Data traffic processing method, network device and network system
WO2012152133A1 (en) Method and system for implementing sensor adaptation
WO2016154823A1 (en) Data transmission method, apparatus and system
CN109450982B (en) Network communication method and system
WO2022111329A1 (en) Message processing method and device
WO2021088584A1 (en) Service traffic adjusting method and apparatus
WO2021254001A1 (en) Session establishment method, apparatus and system and computer storage medium
CN109936492A (en) A kind of methods, devices and systems by tunnel transmission message
WO2018233376A9 (en) Message transmission method, proxy server and computer-readable storage medium
CN109302642A (en) Collecting method and device
KR20220160639A (en) Message interaction methods, devices, facilities and storage media
WO2018068209A1 (en) Data transmission method and apparatus therefor
CN101304387B (en) Method for implementing tunnel conversion of bi-layer tunnel protocol
CN114363739B (en) Service application method and device based on optical service unit
CN107645391B (en) Port configuration method and device of interface expansion equipment
CN102546409B (en) Method and RB (route bridge) for processing message based on TRILL (Transparent Interconnection of Lots of Links) network
CN114374964B (en) Method for realizing 5G user plane function QoS flow based on DPDK
CN109428842A (en) A kind of QoS information transfer approach and device
CN102710501B (en) A kind of mobile terminal and the Bandwidth Dynamic method of adjustment under tunnel communication pattern thereof
CN110730203A (en) P2P communication method and device
CN102282886B (en) Method, mobile terminal, device and system for implementing voice services
CN102420835B (en) Method for realizing real-time transport protocol (RTP) media stream agent in unified communication system
CN109495158A (en) A kind of system and method improving satellite communication rate
CN107911313A (en) A kind of method that virtual machine port flow moves outside in private clound

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant