Background technology
In the mobile network, network is divided into Access Network and core net two parts, the terminal use is connected to core net by Access Network, the IEEE802.16 protocol suite has defined WiMAX (Worldwide Interoperabilityfor Microwave Access, inserting of microwave whole world interoperability) the wireless access technology air-interface standard of agreement, representative standard comprises that IEEE802.16d fixed wireless access standard and IEEE802.16e mobile wireless insert standard.The IEEE802.16 protocol suite has only defined the wireless data link layer technology relevant with physical layer, though defined the mobility characteristic of WiMAX at IEEE 802.16e, does not all carry out standardization for large-scale network-estabilishing and the management of WiMAX.These all make WiMAX also can't possess the ability that carrier class is used.At present, with research WiMAX technology and to work out related specifications be that target has been set up WiMAX NWG (Network Working Group specially, network working group), simultaneously, the main task that the global interoperability of being made up of equipment manufacturers, device supplier, operator etc. of inserting of microwave authenticates industry alliance is by radio reception device being carried out the authentication of compatibility and interoperability, eliminate the obstacle that the IEEE802.16 standard exists in application, enlarge its range of application.
Aspect the wireless access technology air-interface standard, compare with existing other wireless access standard, the WiMAX protocol definition more the QoS of horn of plenty guarantee mechanism, the maximum transmitted time delay of message and maximum time jitter are two important parameters that QoS guarantees.Because the WiMAX agreement not only can be distinguished different terminal uses to the assurance of QoS, and can distinguishing terminal with indoor different business, the WiMAX agreement is that different business adopts different types of QoS to guarantee mode, and this is notable feature and the key technology of WiMAX agreement.
WiMAX NWG specified in more detail the network system architecture of WiMAX agreement, be illustrated in figure 1 as ASN (Access Service Network, access service network, hereinafter to be referred as Access Network) reference model, this ASN reference model comprises two network element: BS (Base Station, the base station) and ASN GW (ASN Gateway, access service network gateway, hereinafter to be referred as the Access Network gateway), BS mainly is responsible for wireless access and the RRM of WiMAX, and ASN GW is responsible for terminal use's access-in management, mobile management and data channel management.Be data channel with the channel definition of transmitting message among the mobile network between network element, the bearing mode of the data channel that WiMAX NWG recommends has IPinIP (Internet Protocol in Internet Protocol) encapsulation technology, simple layer two network encapsulation technology and MPLS (Multi-Protocol Label Switching, the multi protocol label exchange) encapsulation technology, wherein, most typical in the IPinIP encapsulation technology is GRE (GenericRouting Encapsulation, generic route encapsulation), be typically the Ethernet encapsulation technology in the simple layer two network encapsulation technology.In addition, the mobile network than higher, BS and ASN GW have all disposed GPS and obtain clock reference and realize the location at present, do not need to extract clock from business interface to the synchronous requirement of clock.
Function for BS and ASN GW is divided, the WiMAX agreement has proposed two class schemes: first kind scheme is that the function of BS and ASN GW is carried out physically division, and the distribution difference of function point, therefore there are two independent network element in the Access Network, the second class scheme is that BS and ASN GW have been put into together physically, regard BS and ASN GW as a network element this moment, but, in practice, according to the first kind scheme BS and ASN GW are carried out the range of application that function divides and to be far longer than the second class scheme.
With regard to first kind scheme, owing to there are two independent network element, during as if functions such as the Idle state that will realize the agreement regulation and switchings, ASN GW must carry out buffer memory to message, simultaneously, ASN GW realize in inside some handle as flow control etc. and also may carry out buffer memory to message, buffer memory just is equivalent to delayed delivery.In addition, because what eat dishes without rice or wine and the terminal use of base station set up is the limited wireless connections of bandwidth, the base station also needs buffer memory to the message that issues, be that message waits for that the required time of air-interface scheduling is the main delayed delivery time of base station side, the time delay that inside of base station produces also comprises dormant state time-delay, buffer memory time-delay and the processing delay that carried out the base station when terminal use was scanned, wherein, eating dishes without rice or wine is the abbreviation of air interface.
In the prior art, when core net issues the real time business message by Access Network to the terminal use, whole mobile network is when carrying out the QoS assurance, can only be according to each equipment vendors way separately, parameters such as the time delay of the message wait air-interface scheduling that statistics produces a network element BS inside and processing delay, and pass through priority algorithm according to this delay parameter message is carried out dispatching down distributing, this delay parameter does not conform to the overall delay of statistics in Access Network of IEEE802.16 protocol requirement, overall delay in Access Network refers to that message is from initially entering ASNGW to the total time-delay of BS during to its dispatching down distributing, prior art has neglected the time-delay that message produces through ASN GW the time, this must guarantee the QoS of message to threaten, and causes finally influencing the user and experiences.
Summary of the invention
The technical problem to be solved in the present invention is, a kind of method and system that ensures mobile network downward message QoS is provided, its time-delay in Access Network of statistics in the process that message issues, and according to this time-delay and qos parameter situation message is carried out dispatching down distributing.
The technical solution used in the present invention is that the described method that ensures mobile network downward message QoS comprises the steps:
Step 1, Access Network gateway are that the message of receiving from core net adds the IP heading, enter the time of Access Network according to described message, in the IP of described interpolation heading, fill out the timestamp Optional Field, and issue the described message that has the timestamp Optional Field;
Resolve described timestamp Optional Field step 2, base station, according to analysis result and qos parameter described message is dispatched then.
Optionally, also comprised before the Access Network gateway is the message interpolation IP heading of receiving from core net in the described step 1: the Access Network gateway is classified to the message of receiving from core net, judge whether this message belongs to the real time business message, if, then execution in step one, otherwise the requirement according to non-real-time service is handled, and flow process finishes;
The base station also comprises before described timestamp Optional Field is resolved in the described step 2: the base station judges whether described message belongs to the real time business message, if then execution in step two, otherwise handles according to the requirement of non-real-time service, and flow process finishes.
Resolve described in the step 2 and comprise: analyze the temporal information of described timestamp Optional Field reflection, determine that according to this temporal information described message begins elapsed time till the current time from entering Access Network;
Described detailed process of described message being dispatched according to analysis result and qos parameter is as follows: the base station compares described elapsed time and qos parameter, judge whether described message is overtime, if it is overtime, then abandon described message, if it is not overtime as yet, then begin according to priority algorithm described message to be sent under the situation of elapsed time till the current time from entering Access Network at reference qos parameter and described message.
Optionally, further comprise between step 1 and step 2: the Access Network Tandem Gateway receives from the message of Access Network gateway and passes through the base station.
The present invention also provides a kind of system that ensures mobile network downward message QoS, and comprises core net, Access Network gateway, base station and terminal use, and core net, Access Network gateway are connected successively with the base station, between base station and the terminal use by wireless connections, wherein:
Core net is used for sending message to Access Network;
The Access Network gateway, be used to receive add the IP heading from the message of core net, enter time of Access Network according to described message, in the IP of described interpolation heading, fill out the timestamp Optional Field, and issue the described message that has Optional Field;
The base station is used for described timestamp Optional Field is resolved, and according to analysis result and qos parameter described message is dispatched then.
The terminal use is used for receiving the message that issues from the base station.
Described Access Network gateway also was used for the described message of receiving from core net is classified before adding the IP heading for the message of receiving from core net.
Described parsing comprises: analyze the temporal information of described timestamp Optional Field reflection, determine that according to this temporal information message begins elapsed time till the current time from entering Access Network;
Described detailed process of described message being dispatched according to analysis result and qos parameter is as follows: the base station compares described elapsed time and qos parameter, judge whether described message is overtime, if it is overtime, then abandon described message, if it is not overtime as yet, then begin according to priority algorithm described message to be sent under the situation of elapsed time till the current time from entering Access Network at reference qos parameter and described message.
Optionally, the described system that ensures mobile network downward message QoS further comprises the Access Network Tandem Gateway that is connected between Access Network gateway and the base station, is used for reception from the message of Access Network gateway and passes through the base station.
Adopt technique scheme, the present invention has following advantage at least:
The method and system that ensures mobile network downward message QoS of the present invention, function to Access Network gateway and base station among the mobile network is improved, on the one hand, the Access Network gateway is that it adds the IP heading when the message that receives from core net, and the time that enters Access Network according to this message in the IP of described interpolation heading, fill out the timestamp Optional Field, and issue the described message that has the timestamp Optional Field.On the other hand, resolve described timestamp Optional Field when receiving the described message that has Optional Field information the base station, according to analysis result and qos parameter described message is dispatched then.After adopting technique scheme, during downward message, the time-delay always in Access Network of this message can accurately be added up in the base station in the mobile network, and total time-delay in Access Network is carried out dispatching down distributing to it according to this message, thereby stronger assurance message QoS further improves the user and experiences.
Embodiment
Reach technological means and the effect that predetermined purpose is taked for further setting forth the present invention, below in conjunction with accompanying drawing and preferred embodiment, to the described method and system that ensures mobile network downward message QoS that the present invention proposes, describe in detail as after.
First embodiment of the invention, the networking situation of Access Network as shown in Figure 1, present embodiment only relates to the situation of base station and Access Network gateway, do not exist Access Network Tandem Gateway in the Access Network this moment.A kind of method that ensures mobile network downward message QoS comprises the steps:
Step 1, core net are to the Access Network downward message;
Access Network gateway in step 2, the Access Network is handled the message of receiving from core net, as shown in Figure 4, specifically comprises:
Step 1.1: the Access Network gateway is to described message classify (Classification), classification is the proper noun of WiMAX agreement, the process of classification is mapped to affiliated connection according to message content with message exactly, each connects different separately qos parameters, under connect and to refer to a virtual connection that reaches the terminal use from the core net downward message through Access Network when the terminal use inserts or have new business to open, in mobile network system, all can setting up, the process of setting up virtual connection is prior art, does not describe in detail at this.Connection also is the common processing that the Access Network gateway is done message in the prior art under described being mapped to, so that follow-up network element further issues this message;
Step 1.2: adopting the IPinIP encapsulation technology is that described message adds the IP heading, and the message format after the encapsulation enters the time of Access Network as shown in Figure 2 then according to described message, fill out the timestamp Optional Field in the IP of described interpolation heading; Among Fig. 2 in the data field of message format content be exactly the message that core net is sent, the Optional Field that comprises mandatory field and maximum 44 bytes in the IP heading, whether Optional Field indicates it by the header length in the IP heading and exists, because the length of mandatory field is 20 bytes, then shows and have Optional Field if header length exceeds 20 bytes.Optional Field mainly comprises record route, safety and treatment limits, timestamp, loose source station route and strict source station route etc., the present invention only selects for use the timestamp Optional Field to record the time that described message enters Access Network, the general format of timestamp Optional Field as shown in Figure 3, the temporal information of each record accounts for 4 bytes.The timestamp form of inserting in the timestamp Optional Field can be the frame number that defines in the IEEE802.16 agreement, also can be (the coordinated Universal Time of defined UTC in the IP agreement, the unified time of coordinating), can also be between Access Network gateway and base station, to define clearly any other time format.No matter what kind of form timestamp is defined as, all match each other in Access Network gateway side and the base station side processing method to timestamp, timestamp with employing frame number form is example, suppose that whole mobile network will be decided to be fiducial time in 0: 0: 0 on the 1st January in 2000, frame number is to be obtained divided by frame length by the relative time length with respect to this time point so, and the length of the frame of WiMAX air interface transmission is generally 5ms.The Access Network gateway is inserted frame number, handle according to frame number the base station again, this moment, base station side also adopted frame number to represent the time accordingly, and the difference of current frame number and Access Network gateway being inserted the frame number of timestamp multiply by the time-delay that frame length just can be learnt described message process.Next base station side can be converted into frame number with maximum transmitted time delay in the qos parameter, and difference and the corresponding frame number of maximum transmitted time delay of inserting the frame number of timestamp according to current frame number and Access Network gateway dispatched message again.
Step 1.3: the described message that will have the timestamp Optional Field sends to the base station;
Handle the message of receiving from the Access Network gateway step 3, base station, as shown in Figure 5, specifically comprises:
Step 2.1: resolve the timestamp Optional Field in the described message IP heading, analyze the temporal information of described timestamp Optional Field reflection, determine that according to this temporal information described message begins elapsed time till the current time from entering Access Network, because the local clock of base station and these two network elements of Access Network gateway is strict synchronous, can obtains this message and begin elapsed time till the current time from entering Access Network so deduct time that this message enters the Access Network gateway with current time;
Step 2.2: according to analysis result and qos parameter described message is dispatched, detailed process is as follows: the base station compares described elapsed time and qos parameter, judges whether described message is overtime, if it is overtime, then go to step 2.3, if not overtime as yet, then go to step 2.4;
Step 2.3: with overtime packet loss, the flow process of step 3 finishes;
Step 2.4: begin according to priority algorithm described message to be sent under the situation of elapsed time till the current time from entering Access Network at reference qos parameter and described message, the flow process of step 3 finishes.Because message QoS comprises the parameter of time jitter two aspects of maximum transmitted time delay and maximum, when handling message, the base station must take all factors into consideration the factor of this two aspect, before issuing, according to priority algorithm message is requeued, this part content is the processing method of the existing maturation of art technology, so locate not describe in detail.
Step 4, terminal use receive the described message that send the base station.
Second embodiment of the invention, the networking situation of Access Network as shown in Figure 6, present embodiment relates to the base station, the situation of Access Network gateway and Access Network Tandem Gateway, in fact, the Access Network gateway both can be as the grappling that at first receives message, simultaneously also can be as the relaying of simple transparent transmission message, but the affiliated connection for a message, each Access Network gateway has fixing function, and the process that issues that each network element carries out every message on the virtual connections among the mobile network just that the present invention is concerned about, so for a message that issues, each network element role is fixed, in order to distinguish these two kinds of different functions of Access Network gateway, will as anchor ASN-GW be called the Access Network gateway, will be as relaying be called the Access Network Tandem Gateway.A kind of method that ensures mobile network downward message QoS comprises the steps:
Step 1, core net are to the Access Network downward message;
Access Network gateway in step 2, the Access Network is handled the message of receiving from core net, specifically comprises:
Step 1.1: the Access Network gateway is classified to described message, the process of classification is mapped to affiliated connection according to message content with message exactly, connecting under described being mapped to is the common processing that the Access Network gateway is done message in the prior art, so that follow-up network element further issues this message;
Step 1.2: adopting the IPinIP encapsulation technology is that described message adds the IP heading, message format after the encapsulation as shown in Figure 2, enter the time of Access Network then according to described message, in the IP of described interpolation heading, fill out the timestamp Optional Field, the general format of timestamp Optional Field as shown in Figure 3, the temporal information of each record accounts for 4 bytes;
Step 1.3: the described message that will have the timestamp Optional Field sends to the Access Network Tandem Gateway;
Step 3, Access Network Tandem Gateway are given the base station with described message transmission, and the Access Network Tandem Gateway can be more than one, and described message is just transmitted in its effect in Access Network, the timestamp Optional Field in the IP heading are not made amendment or heavily fill out;
Handle the described message of receiving from the Access Network Tandem Gateway step 4, base station, and as shown in Figure 5, detailed process is identical with step 3 among first embodiment;
Step 5, terminal use receive the described message that send the base station.
Third embodiment of the invention, the networking situation of Access Network as shown in Figure 1, present embodiment only relates to the situation of base station and Access Network gateway, do not exist Access Network Tandem Gateway in the Access Network this moment.Usually, because not influencing the user, the response speed of non-real-time service do not experience, real time business is then stricter to the requirement that message QoS guarantees, therefore present embodiment has increased the step of distinguishing real time business message and non-real-time service message on the basis of the described method that ensures mobile network downward message QoS of first embodiment, targetedly the real time business message is handled, a kind of method that ensures mobile network downward message QoS comprises the steps:
Step 1, core net are to the Access Network downward message;
Access Network gateway in step 2, the Access Network is handled the message of receiving from core net, as shown in Figure 7, specifically comprises:
Step 1.1: described message is classified, the process of classification is mapped to affiliated connection according to message content with message exactly, connecting under described being mapped to is the common processing that the Access Network gateway is done message in the prior art, so that follow-up network element further issues this message;
Step 1.2: judge whether this message belongs to the real time business message, if then execution in step 1.3, otherwise handle according to the requirement of non-real-time service that the flow process of step 2 finishes.According to the requirement of non-real-time service, each network element in the Access Network may be to add buffer queue to wait for and issuing to the processing mode of the message that belongs to non-real-time service, also may be directly to issue;
Step 1.3: adopting the IPinIP encapsulation technology is that described message adds the IP heading, and the message format after the encapsulation enters the time of Access Network as shown in Figure 2 then according to described message, fill out the timestamp Optional Field in the IP of described interpolation heading;
Step 1.4: the described message that will have the timestamp Optional Field sends to the base station, and the flow process of step 2 finishes;
Handle the message of receiving from the Access Network gateway step 3, base station, as shown in Figure 8, specifically comprises:
Step 2.1: judge whether this message belongs to the real time business message, if then execution in step 2.2, otherwise handle according to the requirement of non-real-time service that the flow process of step 3 finishes.According to the requirement of non-real-time service, each network element in the Access Network may be to add buffer queue to wait for and issuing to the processing mode of the message that belongs to non-real-time service, also may be directly to issue;
Step 2.2: resolve the timestamp Optional Field in the described message IP heading, analyze the temporal information of described timestamp Optional Field reflection, determine that according to this temporal information described message begins elapsed time till the current time from entering Access Network, because the local clock of base station and these two network elements of Access Network gateway is strict synchronous, can obtains this message and begin elapsed time till the current time from entering Access Network so deduct time that this message enters the Access Network gateway with current time;
Step 2.3: according to analysis result and qos parameter described message is dispatched, detailed process is as follows: the base station compares described elapsed time and qos parameter, judges whether described message is overtime, if it is overtime, then go to step 2.4, if not overtime as yet, then go to step 2.5;
Step 2.4: with overtime packet loss, the flow process of step 3 finishes;
Step 2.5: begin according to priority algorithm described message to be sent under the situation of elapsed time till the current time from entering Access Network at reference qos parameter and described message, the flow process of step 3 finishes.Because message QoS comprises the parameter of time jitter two aspects of maximum transmitted time delay and maximum, when handling message, the base station must take all factors into consideration the factor of this two aspect, before issuing, according to priority algorithm message is requeued, this part content is the processing method of the existing maturation of art technology, so locate not describe in detail;
Step 4, terminal use receive the described message that send the base station.
Fourth embodiment of the invention, the networking situation of Access Network as shown in Figure 6, present embodiment relates to the situation of base station, Access Network gateway and Access Network Tandem Gateway, present embodiment has increased the step of judging the different business message on the basis of the described method that ensures mobile network downward message QoS of second embodiment, targetedly the real time business message is handled, a kind of method that ensures mobile network downward message QoS comprises the steps:
Step 1, core net are to the Access Network downward message;
Access Network gateway in step 2, the Access Network is handled the message of receiving from core net, specifically comprises:
Step 1.1: described message is classified, the process of classification is mapped to affiliated connection according to message content with message exactly, connecting under described being mapped to is the common processing that the Access Network gateway is done message in the prior art, so that follow-up network element further issues this message;
Step 1.2: judge whether this message belongs to the real time business message, if then execution in step 1.3, otherwise handle according to the requirement of non-real-time service that the flow process of step 2 finishes.According to the requirement of non-real-time service, each network element in the Access Network may be to add buffer queue to wait for and issuing to the processing mode of the message that belongs to non-real-time service, also may be directly to issue;
Step 1.3: adopting the IPinIP encapsulation technology is that described message adds the IP heading, and the message format after the encapsulation enters the time of Access Network as shown in Figure 2 then according to described message, fill out the timestamp Optional Field in the IP of described interpolation heading;
Step 1.4: the described message that will have the timestamp Optional Field sends to the Access Network Tandem Gateway, and the flow process of step 2 finishes;
Step 3, Access Network Tandem Gateway are given the base station with described message transmission, and the Access Network Tandem Gateway can be more than one, and described message is just transmitted in its effect in Access Network, the timestamp Optional Field in the IP heading are not made amendment or heavily fill out;
Handle the described message of receiving from the Access Network Tandem Gateway step 4, base station, and detailed process is identical with step 3 among the 3rd embodiment;
Step 5, terminal use receive the described message that send the base station.
Fifth embodiment of the invention, as shown in Figure 1, a kind of system that ensures mobile network downward message QoS, comprise core net, Access Network gateway, base station and terminal use, core net, Access Network gateway are connected successively with the base station, between core net and the Access Network gateway, all can be connected by wired connection or microwave wireless between Access Network gateway and the base station, between base station and the terminal use by wireless connections, wherein:
Core net is used for sending message to Access Network;
The Access Network gateway is used for the described message of receiving from core net is classified; Also being used for adopting the IPinIP encapsulation technology is that described message adds the IP heading, message format after the encapsulation as shown in Figure 2, enter the time of Access Network then according to described message, in the IP of described interpolation heading, fill out the timestamp Optional Field, and issue the described message that has the timestamp Optional Field;
The base station is used for described timestamp Optional Field is resolved, and according to analysis result and qos parameter described message is dispatched then.Described parsing comprises: analyze the temporal information of described timestamp Optional Field reflection, determine that according to this temporal information message begins elapsed time till the current time from entering Access Network;
Described detailed process of described message being dispatched according to analysis result and qos parameter is as follows: the base station compares described elapsed time and qos parameter, judge whether described message is overtime, if it is overtime, then abandon described message, if it is not overtime as yet, then begin according to priority algorithm described message to be sent under the situation of elapsed time till the current time from entering Access Network at reference qos parameter and described message.
The terminal use is used for receiving the message that issues from the base station.
Sixth embodiment of the invention, as shown in Figure 6, on the basis of the described system that ensures mobile network downward message QoS of the 5th embodiment, the described system that ensures mobile network downward message QoS of present embodiment further comprises the Access Network Tandem Gateway that is connected between Access Network gateway and the base station, is used for reception from the message of Access Network gateway and passes through the base station.Described connection can connect by wired connection or microwave wireless.
The method and system that ensures mobile network downward message QoS of the present invention, function to Access Network gateway and base station in the prior art is improved, on the one hand, the Access Network gateway receive from the message of core net the time be that it adds the IP heading, and the time that enters Access Network according to this message in the IP of described interpolation heading, fill out the timestamp Optional Field, and issue the described message that has the timestamp Optional Field.On the other hand, resolve described timestamp Optional Field when receiving the described message that has Optional Field information the base station, according to analysis result and qos parameter described message is dispatched then.After adopting technique scheme, in the mobile network during downward message, the base station can according to this message in Access Network altogether the time-delay of process it is carried out dispatching down distributing, thereby stronger assurance message QoS further improves the user and experiences.
By the explanation of embodiment, should be to reach technological means and the effect that predetermined purpose takes to be able to more deeply and concrete understanding to the present invention, yet appended diagram only provide with reference to the usefulness of explanation, the present invention is limited.