CN105323126A - Service quality obtaining method and access server - Google Patents

Service quality obtaining method and access server Download PDF

Info

Publication number
CN105323126A
CN105323126A CN201410377549.2A CN201410377549A CN105323126A CN 105323126 A CN105323126 A CN 105323126A CN 201410377549 A CN201410377549 A CN 201410377549A CN 105323126 A CN105323126 A CN 105323126A
Authority
CN
China
Prior art keywords
conversational list
service quality
message
qos
client
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.)
Granted
Application number
CN201410377549.2A
Other languages
Chinese (zh)
Other versions
CN105323126B (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.)
China Mobile Group Jiangsu Co Ltd
Original Assignee
China Mobile Group Jiangsu 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 China Mobile Group Jiangsu Co Ltd filed Critical China Mobile Group Jiangsu Co Ltd
Priority to CN201410377549.2A priority Critical patent/CN105323126B/en
Publication of CN105323126A publication Critical patent/CN105323126A/en
Application granted granted Critical
Publication of CN105323126B publication Critical patent/CN105323126B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a service quality obtaining method, which is applied to an access server. The access server is arranged between a client side and a service server. The method comprises the following steps: establishing a corresponding service quality session table according to a first message sent by the client side when the client side and the service server shake hands for the first time; updating the service quality session table according to a service quality parameter in a second message sent by the service server when the client side and the service server shake hands for the second time; and storing the updated service quality session table according to a third message sent by the client side when the client side and the service server shake hands for the third time, wherein the updated service quality session table is used for configuring a service quality parameter of an uplink message when the client side and the service server are interacted. The embodiment of the invention further discloses the access server.

Description

A kind of method and access server obtaining service quality
Technical field
The present invention relates to field of data transmission, particularly relate to a kind of method and the access server that obtain service quality.
Background technology
Service quality (the QoS of current IP packet, QualityofService) labelling strategies, general bilateral deployment on the edge device of network, such as home broadband user, need at Broadband Remote Access Server (BRAS, BroadbandRemoteAccessServer)/full-service router (SR, ServiceRouter) the QoS marker strategy of deploy uplink message, at the QoS marker strategy of the free business platform of operator/Internet data center (IDC, InternetDataCenter) machine room export deployment downlink message.Along with the increase of number of users, need, at a large amount of QoS marker strategy of network edge device deploy, a large amount of system resource can be taken; In addition, along with the development of new business, need the QoS marker strategy of manual edge equipment to safeguard, as newly-increased, deletion, amendment etc., the data processing amount of system can be increased.
Therefore, exist in the prior art owing to needing bilateral to dispose QoS marker strategy and the system resource waste that causes and the large technical problem of data processing amount in network.
Summary of the invention
In view of this, the embodiment of the present invention is expected to provide a kind of method and the access server that obtain service quality, with the efficiency of the utilance and data processing that improve system resource.
For achieving the above object, technical scheme of the present invention is achieved in that
First aspect, the embodiment of the present invention provides a kind of method obtaining service quality, be applied to access server, described access server is arranged between client and service server, described method comprises: described client and described service server carry out first time shake hands time, set up corresponding service quality conversational list according to the first message that described client sends; When described client and described service server carry out second handshake, upgrade described service quality conversational list according to the QoS parameter in the second message that described service server sends; Described client and described service server carry out third time shake hands time, according to described client send the 3rd message preserve upgrade after service quality conversational list; Wherein, the service quality conversational list after described renewal for configure described client and described service server mutual time the QoS parameter of uplink message.
Further, QoS parameter in described the second message sent according to described service server upgrades described service quality conversational list, comprise: confirmation described service quality conversational list meet first pre-conditioned after, the QoS parameter value in described service quality conversational list is updated to the QoS parameter value in described second message; Described according to described client send the 3rd message preserve upgrade after service quality conversational list, comprising: confirm upgrade after service quality conversational list meet second pre-conditioned after, preserve the service quality conversational list after described renewal.
Further, described the first message sent according to described client sets up service quality conversational list, comprising: the conversational list state of described service quality conversational list is set to initial condition.
Further, QoS parameter in described the second message sent according to described service server upgrades described service quality conversational list, comprise: confirmation described service quality conversational list meet the 3rd pre-conditioned after, QoS parameter value in described service quality conversational list is updated to the QoS parameter value in described second message, and the conversational list state of described service quality conversational list is updated to intermediateness by described initial condition, obtain service quality session middle table.
Further, described the 3rd message sent according to described client preserves the service quality conversational list after upgrading, comprise: confirmation described service quality session middle table meet the 4th pre-conditioned after, the conversational list state of described service quality session middle table is updated to lock-out state by described intermediateness, obtains the service quality conversational list after described renewal; Preserve the service quality conversational list after described renewal.
Second aspect, the embodiment of the present invention provides a kind of access server, is arranged between client and service server, and described access server comprises: set up module, update module and preserve module; Wherein, describedly set up module, for carry out in described client and described service server first time shake hands time, set up corresponding service quality conversational list according to the first message that described client sends; Described update module, for when described client and described service server carry out second handshake, upgrades described service quality conversational list according to the QoS parameter in the second message that described service server sends; Described preservation module, for carry out in described client and described service server third time shake hands time, according to described client send the 3rd message preserve upgrade after service quality conversational list; Wherein, the service quality conversational list after described renewal for configure described client and described service server mutual time the QoS parameter of uplink message.
Further, described update module, specifically for confirmation described service quality conversational list meet first pre-conditioned after, the QoS parameter value in described service quality conversational list is updated to the QoS parameter value in described second message; Described preservation module, specifically for confirm upgrade after service quality conversational list meet second pre-conditioned after, preserve the service quality conversational list after described renewal.
Further, described access server, also comprises: block of state, for the conversational list state of described service quality conversational list is set to initial condition.
Further, described update module, specifically for confirmation described service quality conversational list meet the 3rd pre-conditioned after, QoS parameter value in described service quality conversational list is updated to the QoS parameter value in described second message, and the conversational list state of described service quality conversational list is updated to intermediateness by described initial condition, obtain service quality session middle table.
Further, described update module, specifically for confirmation described service quality session middle table meet the 4th pre-conditioned after, the conversational list state of described service quality session middle table is updated to lock-out state by described intermediateness, obtains the service quality conversational list after described renewal.
In the method for the acquisition service quality that the embodiment of the present invention provides and application access server, access server is arranged between client and service server, client and service server carry out first time shake hands time, the first message that access server sends according to client sets up corresponding service quality conversational list, when client and service server carry out second handshake, QoS parameter in the second message that access server sends according to service server upgrades the QoS parameter in service quality conversational list, client and business service carry out third time shake hands time, access server preserves the service quality conversational list after upgrading according to the 3rd message that client sends, for configure client and service server mutual time the service quality of uplink message.Therefore, only need at service server sidepiece administration QoS marker strategy, carry out in the process of three-way handshake in client and service server, the QoS marker strategy that access server can be disposed according to service server obtains the QoS marker strategy of the uplink message that client sends, then using the qos parameter value of downlink message as the qos parameter value of uplink message, so not need for uplink message, at the corresponding QoS marker strategy of access server deploy, to decrease taking system resource;
Further, when there being Added Business, network equipment only needs the QoS marker strategy of the downlink message of maintenance service server deploy, and does not need the QoS marker strategy simultaneously will safeguarding up-downgoing message as prior art, decreases the data processing amount of network equipment.So, efficiently solve owing to needing bilateral to dispose QoS marker strategy and the system resource waste that causes and the large technical problem of data processing amount in network in prior art, thus improve the utilance of system resource and the efficiency of data processing.
Accompanying drawing explanation
Fig. 1 is the configuration diagram of the data transmission network in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet that data transmission network in the embodiment of the present invention obtains the method for QoS;
Fig. 3 is a kind of schematic flow sheet obtaining the method for QoS in the embodiment of the present invention;
Fig. 4 is the schematic flow sheet that another kind in the embodiment of the present invention obtains the method for QoS;
Fig. 5 is the schematic flow sheet that access server side in the embodiment of the present invention obtains the method for service quality;
Fig. 6 is the structural representation of the access server in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
The embodiment of the present invention provides a kind of data transmission network, and Fig. 1 is the configuration diagram of the data transmission network in the embodiment of the present invention, and shown in figure 1, this data transmission network comprises: client 11, access server 12 and service server 13.
In conjunction with the embodiment of the present invention, in above-mentioned data transmission network, client 11, for sending service request to service server 13, requested service server 13 provides business service for client 11;
In actual applications, client 11 can be the terminal equipment such as PC, smart mobile phone, panel computer of accessing to wide band network.
Access server 12, is positioned at broadband network edge, is arranged between client 11 and service server 13, for carry out at client 11 and service server 13 first time shake hands time, the first message sent according to client 11 sets up the QoS conversational list of correspondence; When client 11 carries out second handshake with service server 13, upgrade QoS conversational list according to the QoS parameter in the second message that service server 13 sends; Client 11 and service server 13 carry out third time shake hands time, preserve the QoS conversational list after upgrading according to the 3rd message that client 11 sends, for configure client 11 with service server 13 alternately time the qos parameter of uplink message;
In actual applications, access server 12 can be Broadband Remote Access Server (BRAS, BroadbandRemoteAccessServer) or full-service router (SR, ServiceRouter).
Service server 13, is positioned at broadband network edge, for client 11 provides miscellaneous service service;
In actual applications, service server 13 can be the free business platform of operator or Internet data center (IDC, InternetDataCenter).
It should be noted that, above-mentioned QoS conversational list is the QoS conversational list corresponding with the first message, and this table can be an entry in a complete table, and can be also a complete table only with an entry, the present invention be not specifically limited.In embodiments of the present invention, QoS conversational list is a complete table only with an entry.
The method that the data transmission network provided the embodiment of the present invention below obtains QoS is described.
Fig. 2 is the schematic flow sheet that data transmission network in the embodiment of the present invention obtains the method for QoS, and shown in Fig. 2, the method comprises:
S201: client is initiated to shake hands with the first time of service server, sends the first message to access server;
Specifically, when client and service server connect, first ask the first message connected to send to access server by being used for, and then be transmitted to service server by access server, realize shaking hands for the first time.
In actual applications, synchronizing sequence numbering (SYN, SynchronizeSequenceNumbers) and IP five-tuple is carried in the first message.
S202: access server sets up corresponding QoS conversational list according to the first message;
In actual applications, QoS conversational list can and be not limited to following two kinds of forms:
The first form, QoS conversational list at least can comprise IP five-tuple and these two projects of qos parameter.Qos parameter mentioned here refers to up qos parameter; IP five-tuple then comprises client ip address, client port, service server IP address, service server port and transport layer protocol.
So, S202 can be: access server is after receiving the first message, create the form comprising IP five-tuple and these six projects of qos parameter, again the IP five-tuple in the first message is inserted this table correspondingly, qos parameter value in this table of initialization simultaneously, like this, the QoS conversational list that the first message is corresponding is just established.
Such as, the qos parameter value in this table is initialized as 0, so, this QoS conversational list can be as shown in table 1 below.
Table 1
The second form, QoS conversational list, except above-mentioned project, can also comprise this project of conversational list state of QoS conversational list.
So, S202 can be: access server is after receiving the first message, create the form comprising IP five-tuple, qos parameter and these seven projects of conversational list state, again the IP five-tuple in the first message is inserted in this table correspondingly, qos parameter value in this table of initialization simultaneously and conversational list state, like this, the QoS conversational list that the first message is corresponding is just obtained.
Such as, the qos parameter value in this table is initialized as 0, and session table status is initialized as initial condition, so, this QoS conversational list can be as shown in table 2 below.
Table 2
S203: access server forwards the first message to service server, completes and shakes hands for the first time;
S204: service server initiates, with the second handshake of client, to send the second message to access server;
Specifically, service server is after the first message receiving client transmission, and customer in response end, sends to access server by the second message being used for responding the first message, and then be transmitted to client by access server, realize second handshake.
In actual applications, carry SYN in the second message, confirm numbering (ACK, AcknowledgmentNumber), IP five-tuple and mutual between client and service server time the qos parameter value of downlink message.Wherein, the qos parameter value of downlink message is determined according to the QoS marker strategy self disposed by service server.
S205: access server upgrades QoS conversational list according to the qos parameter in the second message;
In actual applications, for above-mentioned multi-form QoS conversational list, S205 is also different.
So, for the QoS conversational list of the first form above-mentioned, S205 can be: access server confirmation QoS conversational list meet first pre-conditioned after, the qos parameter value in QoS conversational list is updated to the qos parameter value in the second message.
Alternatively, first pre-conditioned can be that IP five-tuple in QoS conversational list is identical with the IP five-tuple in the second message.Now, IP five-tuple in QoS conversational list and the IP five-tuple in the second message are compared by access server, when the comparison of IP five-tuple is consistent, confirm that QoS conversational list meets first pre-conditioned, then, the qos parameter value in this table is updated to the descending qos parameter value in the second message; When the comparison of IP five-tuple is inconsistent, it is first pre-conditioned that access server confirms that QoS conversational list does not meet, and be left intact to QoS conversational list, flow process terminates, and access server directly forwards the second message to client.
For the QoS conversational list of above-mentioned the second form, S205 can be: access server confirmation QoS conversational list meet the 3rd pre-conditioned after, qos parameter value in QoS conversational list is updated to the qos parameter value in the second message, and the conversational list state of QoS conversational list is updated to intermediateness by initial condition, obtain QoS session middle table.
Alternatively, the 3rd pre-conditioned can be that IP five-tuple in QoS conversational list is identical with the IP five-tuple in the second message, and the conversational list state of QoS conversational list is initial condition.Now, access server is except comparing the IP five-tuple in the second message and the IP five-tuple in QoS conversational list, whether the conversational list state also will checking QoS conversational list is initial condition, when the comparison of IP five-tuple is consistent and conversational list state is in initial condition, it is the 3rd pre-conditioned that access server confirms that QoS conversational list meets, then, qos parameter value in this table is updated to the descending qos parameter value in the second message, the conversational list state of this table is updated to intermediateness by initial condition simultaneously, like this, QoS session middle table is just obtained; When the comparison of IP five-tuple is inconsistent and/or conversational list state is not in initial condition, it is the 3rd pre-conditioned that access server confirms that QoS conversational list does not meet, be left intact to QoS conversational list, flow process terminates, and access server directly forwards the second message to client.
S206: access server forwards the second message to client, completes second handshake;
S207: client is initiated to shake hands with the third time of service server, sends the 3rd message to access server;
Specifically, after client receives the second message of service server transmission, response service server, sends to access server by the 3rd message being used for replying the second message, and then be transmitted to service server by access server, realize shaking hands for the third time.
In actual applications, ACK and IP five-tuple is carried in the 3rd message.
S208: access server preserves the QoS conversational list after upgrading according to the 3rd message;
Wherein, the QoS conversational list after this renewal for configure client and service server mutual time the qos parameter of uplink message.
In actual applications, for multi-form QoS conversational list, S208 is also different.
So, for the QoS conversational list of the first form above-mentioned, S208 can be: access server confirm upgrade after QoS conversational list meet second pre-conditioned after, preserve upgrade after QoS conversational list.
Alternatively, second pre-conditioned can for upgrade after QoS conversational list in IP five-tuple identical with the IP five-tuple in the 3rd message.Now, the IP five-tuple in the QoS conversational list after upgrading is compared with IP five-tuple in the second message by access server, when the comparison of IP five-tuple is consistent, confirms that QoS conversational list is satisfied second pre-conditioned, then, preserves the QoS conversational list after this renewal; When the comparison of IP five-tuple is inconsistent, it is second pre-conditioned that access server confirms that the QoS conversational list after upgrading does not meet, and do not preserve the QoS conversational list after renewal, flow process terminates, and access server directly forwards the 3rd message to service server.
For the QoS conversational list of above-mentioned the second form, S208 can be: access server confirmation QoS session middle table meet the 4th pre-conditioned after, the conversational list state of QoS session middle table is updated to lock-out state by intermediateness, obtains the QoS conversational list after upgrading; Preserve the QoS conversational list after upgrading.
Alternatively, the 4th pre-conditioned can be that IP five-tuple in QoS session middle table is identical with the IP five-tuple in the 3rd message, and the conversational list state of QoS session middle table is intermediateness.Now, access server is except comparing the IP five-tuple in the IP five-tuple of QoS session middle table and the 3rd message, whether the conversational list state also will checking QoS session middle table is intermediateness, when the comparison of IP five-tuple is consistent and conversational list state mediates during state, it is the 4th pre-conditioned that access server confirms that QoS session middle table meets, then, the conversational list state of QoS session middle table is updated to lock-out state by intermediateness, and preserves the QoS conversational list after upgrading; When the comparison of IP five-tuple is inconsistent and/or conversational list state does not mediate state, it is the 4th pre-conditioned that access server confirms that QoS session middle table does not meet, be left intact to QoS session middle table, flow process terminates, and directly forwards the 3rd message to service server.
S209: access server forwards the 3rd message to service server, completes and shakes hands for the third time.
Alternatively, while execution step S202, access server can also start first timer, if before first timer time-out, access server does not all receive satisfied first pre-conditioned message, so, QoS conversational list deleted by access server, and flow process terminates.
Alternatively, while execution step S205, access server can also start second timer, if before second timer time-out, access server does not all receive satisfied second pre-conditioned message, so, QoS conversational list deleted by access server, and flow process terminates.
Alternatively, while execution step S202, access server can also start the 3rd timer, if before the 3rd timer expiry, access server does not all receive satisfied 3rd pre-conditioned message, so, QoS conversational list deleted by access server, and flow process terminates.
Alternatively, while execution step S205, access server can also start the 4th timer, if before the 4th timer expiry, access server does not all receive satisfied 4th pre-conditioned message, so, QoS conversational list deleted by access server, and flow process terminates.
Above-mentioned first timer, second timer, the 3rd timer and the 4th timer can be same timer, also can be four different timers.
Be described with the method for instantiation to the acquisition service quality described in above-mentioned one or more embodiment below.
Fig. 3 is a kind of schematic flow sheet obtaining the method for QoS in the embodiment of the present invention, and shown in figure 3, the method comprises:
S301: client is initiated to shake hands with the first time of service server, sends the first message, i.e. SYN message to access server;
S302: access server sets up corresponding QoS conversational list according to SYN message, and the qos parameter in this table is initialized as QoS=0;
Now, QoS conversational list can be as shown in table 1.
S303: access server forwards SYN message to service server, completes and shakes hands for the first time;
S304: service server initiates, with the second handshake of client, to send the second message, i.e. SYN+ACK message to access server;
Wherein, the descending qos parameter value of carrying in this SYN+ACK message is 1, i.e. QoS=1;
S305: the IP five-tuple in QoS conversational list and the IP five-tuple in SYN+ACK message are compared by access server; If the comparison of IP five-tuple is consistent, go to S306; If the comparison of IP five-tuple is inconsistent, flow process terminates, and forwards SYN+ACK message to client;
S306: the qos parameter value in QoS conversational list is updated to 1 by access server, i.e. QoS=1;
S307: access server forwards SYN+ACK message to client, completes second handshake;
S308: client is initiated to shake hands with the third time of service server, sends ACK message to access server;
S309: the IP five-tuple in the QoS conversational list after renewal and the IP five-tuple in ACK message are compared by access server; If comparison is consistent, go to S310, if comparison is inconsistent, flow process terminates, and forwards ACK message to service server;
S310: the QoS conversational list after upgrading preserved by access server;
S311: ACK message repeating to service server, completes and shakes hands for the third time by access server.
Fig. 4 is the schematic flow sheet that another kind in the embodiment of the present invention obtains the method for QoS, and shown in figure 4, the method comprises:
S401: client is initiated to shake hands with the first time of service server, sends the first message, i.e. SYN message to access server;
S402: access server sets up corresponding QoS conversational list according to SYN message, and the qos parameter in this table is initialized as QoS=0, and the conversational list state initialization of QoS conversational list is initial condition;
Now, QoS conversational list can be as shown in table 2.
S403: access server forwards SYN message to service server, completes and shakes hands for the first time;
S404: service server initiates, with the second handshake of client, to send the second message, i.e. SYN+ACK message to access server;
Wherein, the descending qos parameter value of carrying in this SYN+ACK message is 1, i.e. QoS=1;
S405: the IP five-tuple in QoS conversational list and the IP five-tuple in SYN+ACK message are compared by access server, and whether the conversational list state of checking QoS conversational list is initial condition; If the comparison of IP five-tuple is consistent and conversational list state is in initial condition, turn S406, if the comparison of IP five-tuple is inconsistent and/or conversational list state is not in initial condition, flow process terminates, and forwards SYN+ACK message to client;
S406: the qos parameter value in QoS conversational list is updated to 1 by access server, i.e. QoS=1, and session table status is updated to intermediateness by initial condition, obtains QoS session middle table;
S407: access server forwards SYN+ACK message to client, completes second handshake;
S408: client is initiated to shake hands with the third time of service server, sends ACK message to access server;
S409: the IP five-tuple in QoS session middle table and the IP five-tuple in ACK message are compared by access server, and whether the conversational list state of checking QoS session middle table is intermediateness, if the comparison of IP five-tuple is the state and conversational list state mediates unanimously, go to S410, state that if the comparison of IP five-tuple is inconsistent and/or conversational list state does not mediate, flow process terminates, and forwards ACK message to service server;
S410: the conversational list state of QoS session middle table is updated to lock-out state by intermediateness by access server;
S411: the QoS conversational list after upgrading preserved by access server;
S412: access server forwards ACK message to service server, completes and shakes hands for the third time.
So far, client and service server just complete three-way handshake, establish data cube computation.In the subsequent packet of client and service server is mutual, client sends to the uplink message of service server, when forwarding through access server, IP five-tuple in QoS conversational list and the IP five-tuple in uplink message are compared by access server, when the comparison of IP five-tuple is consistent, adopt the qos parameter value of the qos parameter value collocating uplink message in this table, so just achieve the automatic mark of the qos parameter to uplink message.
From the above, carry out in the process of three-way handshake in client and service server, access server can obtain the qos parameter of uplink message according to the qos parameter of the downlink message of service server deploy, namely using the qos parameter value of the qos parameter value of downlink message as uplink message, so just do not need to dispose the QoS marker strategy of uplink message on the client, thus saved a large amount of system resource; Further, when there being new business, client correspondence can change the qos parameter value of uplink message according to the change of the qos parameter value of the downlink message of service server deploy, substantially reduces the data processing amount of system.So, effectively improve the utilance of system resource and the efficiency of data processing.
Based on same inventive concept, the embodiment of the present invention provides a kind of method obtaining service quality, is applied to the access server described in above-mentioned one or more embodiment.
Fig. 5 is the schematic flow sheet that access server side in the embodiment of the present invention obtains the method for service quality, and shown in figure 5, the method comprises:
S501: client and service server carry out first time shake hands time, set up corresponding service quality conversational list according to the first message that client sends;
In actual applications, synchronizing sequence numbering (SYN, SynchronizeSequenceNumbers) and IP five-tuple is carried in the first message.
In actual applications, QoS conversational list can and be not limited to following two kinds of forms:
The first form, QoS conversational list at least can comprise IP five-tuple, these two projects of qos parameter.Qos parameter mentioned here refers to up qos parameter; IP five-tuple then comprises client ip address, client port, service server IP address, service server port and transport layer protocol.
The second form, QoS conversational list, except above-mentioned project, can also comprise this project of conversational list state of QoS conversational list.
S502: when client and service server carry out second handshake, upgrades service quality conversational list according to the QoS parameter in the second message that service server sends;
In actual applications, carry SYN in the second message, confirm numbering (ACK, AcknowledgmentNumber), IP five-tuple and descending qos parameter value.Wherein, the qos parameter value of downlink message is determined according to the QoS marker strategy self disposed by service server.
In actual applications, for above-mentioned multi-form QoS conversational list, S502 is also different.
So, for the QoS conversational list of the first form above-mentioned, S502 can be: access server confirm QoS conversational list meet first pre-conditioned after, the qos parameter value in QoS conversational list is updated to the qos parameter value in the second message.
Alternatively, first pre-conditioned can be that IP five-tuple in QoS conversational list is identical with the IP five-tuple in the second message.
For the QoS conversational list of above-mentioned the second form, S502 can be: access server confirmation QoS conversational list meet the 3rd pre-conditioned after, qos parameter value in QoS conversational list is updated to the qos parameter value in the second message, and the conversational list state of QoS conversational list is updated to intermediateness by initial condition, obtain QoS session middle table.
Alternatively, the 3rd pre-conditioned can be that IP five-tuple in QoS conversational list is identical with the IP five-tuple in the second message, and the conversational list state of QoS conversational list is initial condition.
S503: client and service server carry out third time shake hands time, the service quality conversational list after upgrading is preserved according to the 3rd message that client sends, wherein, the service quality conversational list after renewal for configure client and service server mutual time the QoS parameter of uplink message;
In actual applications, ACK and IP five-tuple is carried in the 3rd message.
In actual applications, for above-mentioned multi-form QoS conversational list, S503 is also different.
So, for the QoS conversational list of the first form above-mentioned, S503 can be: access server confirm upgrade after QoS conversational list meet second pre-conditioned after, preserve upgrade after QoS conversational list.
Alternatively, second pre-conditioned can for upgrade after QoS conversational list in IP five-tuple identical with the IP five-tuple in the 3rd message.
For the QoS conversational list of above-mentioned the second form, S503 can be: access server confirmation QoS session middle table meet the 4th pre-conditioned after, the conversational list state of QoS session middle table is updated to lock-out state by intermediateness, obtains the QoS conversational list after upgrading; Preserve the QoS conversational list after upgrading.
Alternatively, the 4th pre-conditioned can be that IP five-tuple in QoS session middle table is identical with the IP five-tuple in the 3rd message, and the conversational list state of QoS session middle table is intermediateness.
Based on same inventive concept, the embodiment of the present invention provides a kind of access server, and this access server is arranged between client and service server, consistent with the access server described in above-mentioned one or more embodiment.Fig. 6 is the structural representation of access server in the embodiment of the present invention, and shown in figure 6, access server comprises: set up module 61, update module 62 and preserve module 63; Wherein,
Set up module 61, for carry out in client and service server first time shake hands time, set up corresponding service quality conversational list according to the first message that client sends;
In actual applications, synchronizing sequence numbering (SYN, SynchronizeSequenceNumbers) and IP five-tuple is carried in the first message.
In actual applications, QoS conversational list can and be not limited to following two kinds of forms:
The first form, QoS conversational list at least can comprise IP five-tuple and these two projects of qos parameter.Qos parameter mentioned here refers to up qos parameter; IP five-tuple then comprises client ip address, client port, service server IP address, service server port and transport layer protocol.
The second form, QoS conversational list, except above-mentioned project, can also comprise this project of conversational list state of QoS conversational list.
Update module 62, for when client and service server carry out second handshake, upgrades service quality conversational list according to the QoS parameter in the second message that service server sends;
In actual applications, carry SYN in the second message, confirm numbering (ACK, AcknowledgmentNumber), IP five-tuple and descending qos parameter value.Wherein, the qos parameter value of downlink message is determined according to the QoS marker strategy self disposed by service server.
Preserve module 63, for carry out in client and service server third time shake hands time, according to client send the 3rd message preservation renewal after service quality conversational list; Wherein, the service quality conversational list after renewal for configure client and service server mutual time the QoS parameter of uplink message;
In actual applications, ACK and IP five-tuple is carried in the 3rd message.
Further, update module 62 specifically for confirmed service quality conversational list meet first pre-conditioned after, the QoS parameter value in service quality conversational list is updated to the QoS parameter value in the second message.
Alternatively, first pre-conditioned can be that IP five-tuple in QoS conversational list is identical with the IP five-tuple in the second message.
Further, preserve module 63 specifically for confirm upgrade after service quality conversational list meet second pre-conditioned after, preserve upgrade after service quality conversational list.
Alternatively, second pre-conditioned can for upgrade after QoS conversational list in IP five-tuple identical with the IP five-tuple in the 3rd message.
Further, access server also comprises block of state, for the conversational list state of service quality conversational list is set to initial condition.
Further, update module 62, concrete also for meet at confirmed service quality conversational list the 3rd pre-conditioned after, QoS parameter value in service quality conversational list is updated to the QoS parameter value in the second message, and the conversational list state of service quality conversational list is updated to intermediateness by initial condition, obtain service quality session middle table.
Alternatively, the 3rd pre-conditioned can be that IP five-tuple in QoS conversational list is identical with the IP five-tuple in the second message, and the conversational list state of QoS conversational list is initial condition.
Further, update module 62, specifically also for confirmed service quality session middle table meet the 4th pre-conditioned after, the conversational list state of service quality session middle table is updated to lock-out state by intermediateness.
Alternatively, the 4th pre-conditioned can be that IP five-tuple in QoS session middle table is identical with the IP five-tuple in the 3rd message, and the conversational list state of QoS session middle table is intermediateness.
Above-described module 61, update module 62, preservation module 63 and the block of state set up all can be arranged in the processors such as CPU, ARM of access server, single-chip microcomputer or system level chip (SoC can also be positioned at, SystemonChip), in, the present invention is not specifically limited.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of hardware embodiment, software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
The above, be only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (10)

1. obtain a method for service quality, be applied to access server, described access server is arranged between client and service server, it is characterized in that, described method comprises:
Described client and described service server carry out first time shake hands time, set up corresponding service quality conversational list according to the first message that described client sends;
When described client and described service server carry out second handshake, upgrade described service quality conversational list according to the QoS parameter in the second message that described service server sends;
Described client and described service server carry out third time shake hands time, according to described client send the 3rd message preserve upgrade after service quality conversational list; Wherein, the service quality conversational list after described renewal for configure described client and described service server mutual time the QoS parameter of uplink message.
2. method according to claim 1, is characterized in that, the QoS parameter in described the second message sent according to described service server upgrades described service quality conversational list, comprising:
Confirmation described service quality conversational list meet first pre-conditioned after, the QoS parameter value in described service quality conversational list is updated to the QoS parameter value in described second message;
Described the 3rd message sent according to described client preserves the service quality conversational list after upgrading, and comprising:
Confirm upgrade after service quality conversational list meet second pre-conditioned after, preserve the service quality conversational list after described renewal.
3. method according to claim 1, is characterized in that, described the first message sent according to described client sets up service quality conversational list, comprising:
The conversational list state of described service quality conversational list is set to initial condition.
4. method according to claim 3, is characterized in that, the QoS parameter in described the second message sent according to described service server upgrades described service quality conversational list, comprising:
Confirmation described service quality conversational list meet the 3rd pre-conditioned after, QoS parameter value in described service quality conversational list is updated to the QoS parameter value in described second message, and the conversational list state of described service quality conversational list is updated to intermediateness by described initial condition, obtain service quality session middle table.
5. method according to claim 4, is characterized in that, described the 3rd message sent according to described client preserves the service quality conversational list after upgrading, and comprising:
Confirmation described service quality session middle table meet the 4th pre-conditioned after, the conversational list state of described service quality session middle table is updated to lock-out state by described intermediateness, obtains the service quality conversational list after described renewal;
Preserve the service quality conversational list after described renewal.
6. an access server, is arranged between client and service server, it is characterized in that, described access server comprises: set up module, update module and preserve module; Wherein,
Describedly set up module, for carry out in described client and described service server first time shake hands time, set up corresponding service quality conversational list according to the first message that described client sends;
Described update module, for when described client and described service server carry out second handshake, upgrades described service quality conversational list according to the QoS parameter in the second message that described service server sends;
Described preservation module, for carry out in described client and described service server third time shake hands time, according to described client send the 3rd message preserve upgrade after service quality conversational list; Wherein, the service quality conversational list after described renewal for configure described client and described service server mutual time the QoS parameter of uplink message.
7. access server according to claim 6, it is characterized in that, described update module, specifically for confirmation described service quality conversational list meet first pre-conditioned after, the QoS parameter value in described service quality conversational list is updated to the QoS parameter value in described second message;
Described preservation module, specifically for confirm upgrade after service quality conversational list meet second pre-conditioned after, preserve the service quality conversational list after described renewal.
8. access server according to claim 6, is characterized in that, described access server, also comprises: block of state, for the conversational list state of described service quality conversational list is set to initial condition.
9. access server according to claim 8, it is characterized in that, described update module, specifically for confirmation described service quality conversational list meet the 3rd pre-conditioned after, QoS parameter value in described service quality conversational list is updated to the QoS parameter value in described second message, and the conversational list state of described service quality conversational list is updated to intermediateness by described initial condition, obtain service quality session middle table.
10. access server according to claim 9, it is characterized in that, described update module, specifically for confirmation described service quality session middle table meet the 4th pre-conditioned after, the conversational list state of described service quality session middle table is updated to lock-out state by described intermediateness, obtains the service quality conversational list after described renewal.
CN201410377549.2A 2014-08-01 2014-08-01 A kind of method and access server obtaining service quality Active CN105323126B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410377549.2A CN105323126B (en) 2014-08-01 2014-08-01 A kind of method and access server obtaining service quality

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410377549.2A CN105323126B (en) 2014-08-01 2014-08-01 A kind of method and access server obtaining service quality

Publications (2)

Publication Number Publication Date
CN105323126A true CN105323126A (en) 2016-02-10
CN105323126B CN105323126B (en) 2018-09-28

Family

ID=55249764

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410377549.2A Active CN105323126B (en) 2014-08-01 2014-08-01 A kind of method and access server obtaining service quality

Country Status (1)

Country Link
CN (1) CN105323126B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086719A (en) * 2019-04-30 2019-08-02 深圳市腾讯网域计算机网络有限公司 Data processing method, device and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083517A (en) * 2006-05-30 2007-12-05 华为技术有限公司 Apparatus and method for providing terminal-to-terminal service quality guaranty in service network
CN101222453A (en) * 2008-01-22 2008-07-16 中兴通讯股份有限公司 Household gateway policy control method and system
CN101296517A (en) * 2008-04-22 2008-10-29 中国移动通信集团设计院有限公司 Switch method, system and device for guaranteeing service quality management in isomer network
CN101340374A (en) * 2008-08-28 2009-01-07 杭州华三通信技术有限公司 Method, system, apparatus for control transmission priority and network edge equipment
CN101360047A (en) * 2008-08-07 2009-02-04 华为技术有限公司 Method, apparatus and system for QoS mapping relation transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083517A (en) * 2006-05-30 2007-12-05 华为技术有限公司 Apparatus and method for providing terminal-to-terminal service quality guaranty in service network
CN101222453A (en) * 2008-01-22 2008-07-16 中兴通讯股份有限公司 Household gateway policy control method and system
CN101296517A (en) * 2008-04-22 2008-10-29 中国移动通信集团设计院有限公司 Switch method, system and device for guaranteeing service quality management in isomer network
CN101360047A (en) * 2008-08-07 2009-02-04 华为技术有限公司 Method, apparatus and system for QoS mapping relation transmission
CN101340374A (en) * 2008-08-28 2009-01-07 杭州华三通信技术有限公司 Method, system, apparatus for control transmission priority and network edge equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110086719A (en) * 2019-04-30 2019-08-02 深圳市腾讯网域计算机网络有限公司 Data processing method, device and server
CN110086719B (en) * 2019-04-30 2021-07-27 深圳市腾讯网域计算机网络有限公司 Data processing method and device and server

Also Published As

Publication number Publication date
CN105323126B (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN106301959B (en) Gateway batch upgrading method and system based on WINDOWS and LINUX platform
KR101938623B1 (en) Openflow communication method, system, controller, and service gateway
US11689646B2 (en) Network packet processing method and apparatus and network server
CN104168202A (en) Method and device for forwarding Open Flow messages
CN105354505A (en) Image adaption method and electronic device
CN107995326B (en) Management method and device of container network
CN104967572B (en) Network Access Method, device and equipment
CN107659930A (en) A kind of AP connection control methods and device
CN106100986A (en) Line control of communication method and device
CN105827496B (en) Manage the method and device of PE equipment
US11653417B2 (en) Upgrading access points
CN105208072B (en) The long-range control method and device of virtual switch
CN105323126A (en) Service quality obtaining method and access server
CN106341353B (en) Resource processing method and device
CN105516121B (en) The method and system that AC is communicated with AP in WLAN
CN111885564B (en) Data transmission method, equipment upgrading method and computer readable storage medium
CN105991629B (en) TCP connection method for building up and device
CN104753826A (en) Bandwidth allocation method and device
CN104601351B (en) Network equipment ability configuration method, the network equipment and system
CN114650208B (en) Device firmware upgrading method, device and medium
CN109871288A (en) Execute method, apparatus, equipment and the medium of android system order
US20190028386A1 (en) Supporting mobility and multi-homing in the transport layer inside end-hosts
CN110235512A (en) Control plane delays in cordless communication network reduce
CN105491057A (en) Data transmission method and device for preventing distributed reject service DDoS attack
CN108156199A (en) The system and method for user-defined file transport protocol is realized based on plug-in type module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant