CN1235373C - Method of triggering re-consultation mechanism based on point-to-point communication protocol in asynchronous transfer mode - Google Patents
Method of triggering re-consultation mechanism based on point-to-point communication protocol in asynchronous transfer mode Download PDFInfo
- Publication number
- CN1235373C CN1235373C CN 02155386 CN02155386A CN1235373C CN 1235373 C CN1235373 C CN 1235373C CN 02155386 CN02155386 CN 02155386 CN 02155386 A CN02155386 A CN 02155386A CN 1235373 C CN1235373 C CN 1235373C
- Authority
- CN
- China
- Prior art keywords
- pppoa
- timer
- time
- server
- length
- 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.)
- Expired - Fee Related
Links
Images
Abstract
The present invention discloses a method for triggering a renegotiation mechanism of a point-to-point protocol over ATM (PPPOA) based on an asynchronous transfer mode (ATM). When a PPPOA terminal transmits and receives information along with a PPPOA server terminal through access equipment, the PPPOA server terminal creates a timer first, and then a CPU of the PPPOA server terminal realizes synchronous information transmission and reception along with the PPPOA terminal according to the periods of the created timer. The creation of the timer by the PPPOA server further comprises the steps: a. a cardinality time value and a constant value for calculating the length of the timer are respectively set; b. a time function at the base layer of a PPPOA system is invoked to generate a random number value for calculating the length of the timer; c. according to the cardinality time value and the constant value set in step a and the random number value obtained in step b, the length of the timer is figured out. The method solves the problems that the CPU occupation rate of the server is too high, and PPPOA system resources can not be used; during the idle time interval of the CPU of the server, the PPPOA system can be fully utilized so as to ensure the normal operation of the PPPOA system.
Description
Technical field
The present invention relates to the access technology of data communication field, particularly a kind of timer triggers the method based on the heavy negotiation mechanism of point to point protocol (PPPOA) of asynchronous transfer mode (ATM).
Background technology
PPPOA is based on the point to point protocol (Point to Point Protocol OverATM) of ATM, directly initiating PPP by terminal calls out, after equipment end is received terminal information, carry out encapsulation process and form atm cell stream, atm cell stream is sent on the server, finishes a series of PPP such as mandate, authentication, distributing IP address and charging and inserts.The PPPOA system finishes a series of information process after inserting.
The practical application of PPPOA system group network such as Fig. 1, Fig. 1 is typical PPPOA system applies networking schematic diagram, and the PPPOA system is that RTU (remote terminal unit) (RTU), ADSL server end access device and edge service node (ESR) are formed by user, ADSL (Asymmetric Digital Subscriber Line) (ADSL) terminal access device.Wherein, RTU is exactly the PPPOA terminal; ESR is the PPPOA server.When the employing of PPPOA system information processing procedure weighed negotiation mechanism, the user sent or reception information for ADSL server end access device by RTU, and ADSL server end access device passes to ESR to information again, finishes whole information transmit-receive process.
The heavy negotiation mechanism of PPPOA system is triggered by timer, and the step of heavy negotiation mechanism is: a, PPPOA terminal adopt batch processing mode to send or reception information; B, PPPOA server are created timer, make the CPU of PPPOA server and PPPOA terminal realize receiving synchronously or transmission information; C, finish the information transmit-receive of PPPOA.In said process, because the length of timer is fixed, the PPPOA system has no idea according to the length of how much coming to determine timer time of PPPOA amount of information that terminal is handled, therefore the problem that has caused two aspects: on the one hand, if the PPPOA terminal receives or sends when containing much information, just adopt heavy negotiation mechanism to send or during the information of reception at synchronization when a large amount of PPPOA terminals, will create a large amount of timers, make the CPU of server handle the information that corresponding PPPOA terminal is come by batch processing mode with each PPPOA terminal in different period inter-syncs respectively, in case some of them timer expiry, a large amount of information will begin heavily to consult work simultaneously in the same period, the PPPOA terminal receives or the moment of the information of transmission just is not subjected to the control of PPPOA server timer time, make the PPPOA server in the same period, receive or send too much information, thereby cause on the PPPOA server CPU usage at a time too high, the disabled situation of PPPOA system resource, when situation is serious, can cause entire PP POA systemic breakdown; On the other hand, when the PPPOA terminal receives or transmission information when very few, the time that the fixed length timer sets is long again, and PPPOA server CPU can be in idle state in a certain period, and PPPOA system resource can not be used fully.
As seen, timer length fixedly is the main cause that causes problem.For instance, when adopting the triggering of fixed length timer to weigh negotiation mechanism, as shown in Figure 2, when 2000 permanent virtual of configuration connect (PVC) on the edge service node, if timer time is 3 seconds, then CPU is 100% the 3rd second occupation rate in service processing board unit (SPU), in this case, the CPU occupation rate of SPU is too high, and resource is unavailable.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of PPPOA of triggering method of heavy negotiation mechanism, solved that PPPOA server CPU usage is too high, system resource is unavailable and there is the situation of idle period in PPPOA server CPU, the PPPOA system is fully utilized.
In order to achieve the above object, the invention provides the method for a kind of triggering based on the heavy negotiation mechanism of asynchronous transfer mode (ATM) point to point protocol (PPPOA), when the PPPOA terminal is received and sent messages by access device and PPPOA server end, the PPPOA server end is created timer earlier, and the CPU of PPPOA server end realizes receiving and sending messages synchronously according to the time period and the PPPOA terminal of institute's establishment timer then; Described PPPOA server is created timer and is further comprised:
A., the radix time value and the constant value that calculate timer length are set respectively;
B. call the PPPOA system bottom function of time and generate the random number that calculates timer length;
C. the value of the random number sum that obtains of constant value that is provided with step a and step b multiplies each other the long-pending result who obtains as timer length with the radix time value that step a is provided with again, creates timer.
In such scheme, described timer length can be 10 seconds to 140 seconds random value; The unit interval value of described radix time according to currently used time chip is provided with; Described constant is according to the minimum estimate setting of current transmitted information amount.
By such scheme as can be seen, timer provided by the present invention triggers the method for the heavy negotiation mechanism of PPPOA, the fixed length timer that triggers the heavy negotiation mechanism of PPPOA is changed into the timer of random-length.Receive or send the time span that the amount of information size is set timer according to the PPPOA equipment end, the time that timer sets can cause overtime or idle in no instance.Not only solved the CPU occupation rate of the PPPOA server disabled problem of PPPOA system resource when too high, and the CPU that has solved the PPPOA server there is the problem of idle period, makes PPPOA system resource fully obtain utilizing.This invention provides assurance for the operation of the good safety of entire PP POA system.
Description of drawings
Fig. 1 is typical PPPOA system applies networking schematic diagram.
Fig. 2 uses the fixed length timer to trigger the time plot of PPPOA server CPU usage when weighing negotiation mechanism in the prior art.
The time plot of PPPOA server CPU usage when Fig. 3 weighs negotiation mechanism for the timer of using random-length among the present invention triggers.
The flow chart that Fig. 4 is provided with for timer length among the present invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, by the following examples, and with reference to accompanying drawing, the present invention is described in more detail.
Because mainly on the triggering mode of timer, and the difference of triggering mode is to take the timer of which kind of length to the difference of PPPOA system information processing procedure, so key of the present invention is to set to trigger timer length and be timing length at random.
Random timer value formula is as follows:
Timer length=radix time * (constant+random number) (1)
Wherein, the radix time is a self-defining constant, and this radix time is to be provided with flexibly by application software; Constant is equivalent to initial value, also is a self-defining value; Random number is to produce by the bottom function of time that calls PPPOA system in the prior art, and according to formula (1), the timer length of Sheng Chenging is a random number relevant with the time at last.
The length range of timer is according to the amount of the receiving and sending messages decision of PPPOA system, and in the ordinary course of things, the time span of the PPPOA system amount of receiving and sending messages is between 10-140 scope second.The radix time, it was the unit length value of time chip by application setting, as was set to 0.1 second, 1 second etc.; Constant is set to the estimated minimum value of amount of information usually, as is set to 100 etc.Because radix time and constant can be provided with, when the PPPOA terminal amount of receiving and sending messages was big, the unit length order of magnitude of radix time and constant just can be provided with respectively greatly; When the PPPOA terminal amount of receiving and sending messages hour, the unit length order of magnitude of radix time and constant just can be provided with littler respectively.Random number is that the bottom function of time that directly calls the PPPOA system produces, and random function calls all different at every turn, because the difference of random number, can guarantee is being set when identical with constant the radix time, and timer length is still a random value.
Be example still below with PPPOA system group network situation shown in Figure 1, transmission information between the PPPOA terminal is by RTU and ADSL server end access device and ESR, when being the user terminal employing batch processing mode transmission or the information of reception, the flow chart that Fig. 4 is provided with for timer length of the present invention, so, the present invention utilizes the random-length timer to realize triggering the method for heavy negotiation mechanism, may further comprise the steps as shown in Figure 4:
Step 400:ESR, promptly the PPPOA server is created the timer of random-length;
Step 401: according to the unit length of current time chip and the minimum estimate of the current amount of receiving and sending messages required radix time and the constant of calculating timer length is set respectively, simultaneously, the PPPOA system call bottom function of time is provided with and calculates the required random number of timer length;
Step 402: after radix time, constant and random number are set, according to formula (1): timer length=radix time * (constant+random number) calculates timer time length;
The CPU of step 403:PPPOA server realizes the synchronous reception or the transmission of information according to timer time section that obtains and PPPOA terminal.
As can be seen from the above-described embodiment, the time of the timer length that generates with formula (1), can divide the timer triggered time in a period of time well, rather than at a time trigger simultaneously as random timer.Therefore, but the PPPOA system resource of better utilization server CPU, on the one hand, when the amount of information of transmitting for a long time, but the long timer of creation-time length makes the PPPOA system can not cause resource unavailable; On the other hand, when the amount of information of transmitting after a little while, but the short timer of creation-time length makes the PPPOA system not have the idle period, PPPOA system resource is used fully.The time plot of PPPOA server CPU usage when Fig. 3 weighs negotiation mechanism for the timer with random-length triggers.As shown in Figure 3, if 2000 PVC of configuration on ESR, with using regularly length is that three seconds fixed length timer is compared, promptly compare with Fig. 2, use the timer timing of random-length, the CPU occupation rate of Slave Processing Unit drops to 13% in the maximum of a certain period from original 100%, and the CPU occupation rate has had significantly and descends, and has solved the disabled situation of PPPOA system resource.
More than lift preferred embodiment; to purpose of the present invention; technical scheme and advantage further describe; institute is understood that; the above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all; any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (4)
1, a kind of method that triggers based on the heavy negotiation mechanism of asynchronous transfer mode (ATM) point to point protocol (PPPOA), when the PPPOA terminal is received and sent messages by access device and PPPOA server end, the PPPOA server end is created timer earlier, and the CPU of PPPOA server end realizes receiving and sending messages synchronously according to the time period and the PPPOA terminal of institute's establishment timer then; It is characterized in that PPPOA server establishment timer further comprises:
A., the radix time value and the constant value that calculate timer length are set respectively;
B. call the PPPOA system bottom function of time and generate the random number that calculates timer length;
C. the value of the random number sum that obtains of constant value that is provided with step a and step b multiplies each other the long-pending result who obtains as timer length with the radix time value that step a is provided with again, creates timer.
2, PPPOA cut-in method as claimed in claim 1 is characterized in that: described timer length is 10 seconds to 140 seconds random value.
3, PPPOA cut-in method as claimed in claim 1 is characterized in that: the described radix time is set to the unit interval value of currently used time chip.
4, PPPOA cut-in method as claimed in claim 1, it is characterized in that: described constant is set to the minimum estimate of current transmitted information amount.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02155386 CN1235373C (en) | 2002-12-11 | 2002-12-11 | Method of triggering re-consultation mechanism based on point-to-point communication protocol in asynchronous transfer mode |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 02155386 CN1235373C (en) | 2002-12-11 | 2002-12-11 | Method of triggering re-consultation mechanism based on point-to-point communication protocol in asynchronous transfer mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1507226A CN1507226A (en) | 2004-06-23 |
CN1235373C true CN1235373C (en) | 2006-01-04 |
Family
ID=34235884
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 02155386 Expired - Fee Related CN1235373C (en) | 2002-12-11 | 2002-12-11 | Method of triggering re-consultation mechanism based on point-to-point communication protocol in asynchronous transfer mode |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1235373C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100407687C (en) * | 2003-11-21 | 2008-07-30 | 华为技术有限公司 | Asynchronous transmission mode exchange net user's Ethernet access method |
CN1309233C (en) * | 2004-07-20 | 2007-04-04 | 华为技术有限公司 | Method for supporting PPPoA on wideband switch-in equipment |
KR100764790B1 (en) | 2004-08-05 | 2007-10-11 | 엘지전자 주식회사 | System for changing duration of talk burst control timer and method thereof |
-
2002
- 2002-12-11 CN CN 02155386 patent/CN1235373C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1507226A (en) | 2004-06-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107347198B (en) | Speed limiting method, speed limiting control node and speed limiting equipment | |
CN103095607B (en) | A kind of real-time priority ethernet controller implementation method | |
JP2007524318A (en) | Overload control in communication networks | |
CN101645907A (en) | Method and system for processing abnormal off-line of Web authenticated user | |
CN101237332A (en) | Billing method, billing system and traffic statistical device | |
EP2186272A1 (en) | Method and system for checking automatically connectivity status of an ip link on ip network | |
CN100370771C (en) | Method of flow control in communication system | |
CN1235373C (en) | Method of triggering re-consultation mechanism based on point-to-point communication protocol in asynchronous transfer mode | |
US7616640B1 (en) | Load balancing between service component instances | |
CN1956444A (en) | Method and device for transmitting handshake message in communication system | |
CN103973598B (en) | Realize the dynamic bandwidth adjustment system and method that gateway QoS is ensured | |
CN101087232B (en) | An access method, system and device based on Ethernet point-to-point protocol | |
EP1880516B1 (en) | Communication system | |
EP1398926A1 (en) | Wireless packet transfer system using leased channels | |
CN101299764B (en) | Method for backupping broadband access server for PPPOE access service | |
CN102111397A (en) | Transmission protection method for service quality in IP network and device adopting same | |
CN1630233A (en) | Automatic network setting method and system for computer | |
US20020184382A1 (en) | Method and apparatus for the dynamic regulation of resource splitting over a plurality of data streams competing for these resources in a communications network by a dynamic release rate | |
CN101431802B (en) | Data transmission method, network node and network system | |
CN103702308B (en) | Service traffics report method and device | |
WO2001013653A1 (en) | Resource management | |
Tinnakornsrisuphap et al. | TCP traffic modeling via limit theorems | |
KR100819326B1 (en) | Method for controlling dynamic low latency queueing for VoIP QoS | |
CN101843052B (en) | A method for establishing PHS packet data communication initiated by an external data network | |
CN105578603A (en) | Data service assigning method and device |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20170920 Address after: 463400, Zhumadian County, Henan Province, Pingyu province and East Zhen Zhen Zhao Zhao administrative village Zhao Zhuang Patentee after: Zhao Guoling Address before: 518057 Guangdong city of Shenzhen province science and Technology Park of HUAWEI Road Service Building Patentee before: Huawei Technologies Co., Ltd. |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060104 Termination date: 20171211 |
|
CF01 | Termination of patent right due to non-payment of annual fee |