CN104754550B - A kind of Diameter message transmission method, apparatus and system - Google Patents
A kind of Diameter message transmission method, apparatus and system Download PDFInfo
- Publication number
- CN104754550B CN104754550B CN201310746860.5A CN201310746860A CN104754550B CN 104754550 B CN104754550 B CN 104754550B CN 201310746860 A CN201310746860 A CN 201310746860A CN 104754550 B CN104754550 B CN 104754550B
- Authority
- CN
- China
- Prior art keywords
- mme
- user data
- user
- data requests
- update response
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of Diameter message transmission method, apparatus and system, including:HSS receives the position updating request from MME, obtains the multiple user contracting datas for needing to send;When the length that the first position update for carrying multiple user contracting datas responds is less than preconfigured message-length threshold value, first position update response is sent to MME;When the length of first position update response is more than message-length threshold value, second position update response and at least one insertion user data requests are sent to MME, second position update response and every insertion user data requests, and the user contracting data respectively carried, it can individually be handled by MME, and second position update response and every insertion user data requests carry routing label.In this way, message improves the transmission efficiency of message, reduces the delivery lag of message in the segmentation and recombination of bottom when avoiding subscription data more user position update.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of Diameter message transmission method, apparatus and systems.
Background technology
In long term evolution(LTE, Long Term Evolution)In system, mobile management entity(MME, Mobility
Management Entity)It, can be to user attaching server in the attach request or position updating request for receiving user
(HSS, Home Subscriber Server)Send position updating request(Update-Location-Request), to obtain
The subscription data of the user.S6a interfaces are the communication interfaces between MME and ownership place HSS, protocol hierarchy Diameter/
Route agent's node is used when message is transmitted between SCTP/IP, MME and HSS(DRA, Diameter Routing Agent)Into
Row message forwards.
HSS is responded by location updating(Diameter message)User contracting data is returned to MME, works as user contracting data
More, the Diameter message for carrying user contracting data is encapsulated at IP layers more than maximum transmission unit(MTU, Maximum
Transmission Unit)During limitation, HSS is segmented the oversized message at SCTP layers, and segmented messages carry segmentation mark
Label, multiple segmented messages are sent to DRA by HSS, right at SCTP layers after DRA all receives multiple segmented messages
Multiple segmented messages are decapsulated, are recombinated, and obtain complete Diameter message, then should in Diameter layers of parsing
Route field in Diameter message completes routing, then at SCTP layers by Diameter message segmentation, encapsulation, and sends
To MME, multiple segmented messages of reception are decapsulated by MME, are recombinated, obtain complete Diameter message.
In the case of roaming, multiple DRA may be passed through between MME and HSS, in this way, often by DRA it is necessary to
More primary processes recombinated and be segmented so that message is transmitted less efficient;And, it is necessary to all segmented messages are connect completely
It after receipts, could be decapsulated, upper strata ability routing, if the transmission time of any of which segmented messages is long or loses
Packet, can all increase the forwarding time of entire message, even result in upper strata timer expiry so that message transmission failure.
Invention content
The embodiment of the present invention provides a kind of Diameter message transmission method, apparatus and system, to solve the prior art
In, when user contracting data is more, the message that HSS is sent to MME is long, and Diameter message, which is segmented and recombinates in bottom, to be caused
Transmission efficiency it is relatively low and the problem of delivery lag is larger.
The embodiment of the present invention provides a kind of Diameter message transmission method, including:
Home subscriber server HSS receives the position updating request from mobile management entity MME;
For the position updating request, the multiple user contracting datas for needing to send to the MME are obtained;
Match in advance when the length of the first position update response of the multiple user contracting data of carrying of generation is less than
During the message-length threshold value put, the first position update response is sent to the MME;
When the length of the first position update response of the multiple user contracting data of carrying of generation is more than described
During message-length threshold value, second position update response and at least one insertion user data requests are sent to the MME,
In, the second position update responds and described at least one is inserted into the user contracting data that user data requests respectively carry
Collection be combined into the multiple user contracting data, and second position update response and every insertion user data requests,
And the user contracting data respectively carried, it can individually be handled by the MME, and the length of second position update response
The length of degree and every insertion user data requests is respectively less than the message-length threshold value, and the second position is more
New response and every insertion user data requests carry routing label, are set for the network element between the HSS and MME
It is standby that second position update response and every insertion user data requests are transmitted to the MME.
Using method provided in an embodiment of the present invention, when user contracting data is more, HSS needs the message sent to MME
When long, user data requests are inserted by location updating response and at least one and send user contracting data, the position to MME
Update response and at least one insertion user data requests carry routing label respectively, and the network element device between HSS and MME can
Individually to carry out routing to location updating response and at least one insertion user data requests and forward, LTE nets are avoided
Subscription data is more in network user carries out the segmentation and recombination of Diameter message during location updating in bottom, and then improves
The transmission efficiency of Diameter message reduces the delivery lag of Diameter message.
The embodiment of the present invention also provides a kind of Diameter message transfer device, applied to home subscriber server HSS, packet
It includes:
Receiving unit, for receiving the position updating request from mobile management entity MME;
Data capture unit for being directed to the position updating request, obtains the multiple users for needing to send to the MME
Subscription data;
Transmitting element, for when the length of the first position update response of the multiple user contracting data of carrying of generation
When being less than preconfigured message-length threshold value, the first position update response is sent to the MME;When taking for generation
When the length of first position update response with the multiple user contracting data is more than the message-length threshold value, to
The MME sends second position update response and at least one insertion user data requests, wherein, the second position update
The collection of user contracting data that response and at least one insertion user data requests respectively carry is combined into the multiple use
Family subscription data, and second position update responds and every is inserted into user data requests and the user respectively carried
Subscription data can individually be handled by the MME, and the length of second position update response and every insertion
The length of user data requests is respectively less than the message-length threshold value, and second position update response and every described
Be inserted into user data requests carry routing label, for the network element device between the HSS and MME by the second position more
New response and every insertion user data requests are transmitted to the MME.
The embodiment of the present invention also provides a kind of Diameter message transmission system, including:Home subscriber server HSS, it moves
Dynamic management entity MME and route agent node DRA, wherein,
The HSS, for receiving the position updating request from MME of DRA forwardings, for the position updating request,
Obtain the multiple user contracting datas for needing to send to the MME;When the of the multiple user contracting data of carrying of generation
When the length of one location updating response is less than preconfigured message-length threshold value, described first is sent to the DRA
Put update response;When the length of the first position update response of the multiple user contracting data of carrying of generation is more than institute
When stating message-length threshold value, second position update response and at least one insertion user data requests are sent to the DRA,
The user contracting data that the second position update response and at least one insertion user data requests respectively carry
Collection is combined into the multiple user contracting data, and second position update response and every insertion user data requests, with
And the user contracting data respectively carried, it can individually be handled by the MME, and the length of second position update response
And the length of every insertion user data requests is respectively less than the message-length threshold value, and the second position updates
Response and every insertion user data requests carry routing label;
The DRA for receiving the position updating request from the MME, and sends the location updating to corresponding HSS
Request;The first position update response that the HSS is sent is received, the first position update is forwarded to ring to corresponding MME
User data requests are inserted into the second position update response and described at least one that should or receive the HSS transmissions,
And response is updated according to the second position and every is inserted into the routing label that respectively carries of user data requests, to corresponding
MME is forwarded;
The MME for receiving the attach request or position updating request of user's transmission, and passes through DRA to home subscriber
Server HSS sends position updating request;The update response of the first position from HSS of DRA forwardings is received, is carried out corresponding
It handles and stores subscription data;Or receive the update response of the second position from HSS and described at least one of DRA forwardings
Item is inserted into user data requests, carries out respective handling and stores subscription data.
Other features and advantage will illustrate in the following description, also, partly become from specification
It obtains it is clear that being understood by implementing the application.The purpose of the application and other advantages can be by the explanations write
Specifically noted structure is realized and is obtained in book, claims and attached drawing.
Description of the drawings
Attached drawing is used to provide further understanding of the present invention, and a part for constitution instruction, is implemented with the present invention
Example for explaining the present invention, is not construed as limiting the invention together.In the accompanying drawings:
Fig. 1 is the flow chart of Diameter message transmission method provided in an embodiment of the present invention;
Fig. 2 a are one of flow chart of Diameter message transmission method that the embodiment of the present invention 1 provides;
Fig. 2 b are the two of the flow chart of Diameter message transmission method that the embodiment of the present invention 1 provides;
Fig. 3 is the flow chart of Diameter message transmission method that the embodiment of the present invention 2 provides;
Fig. 4 is the structure diagram of Diameter message transfer device that the embodiment of the present invention 3 provides;
Fig. 5 is the structure diagram of Diameter message transmission system that the embodiment of the present invention 4 provides.
Specific embodiment
In order to provide in user's attachment or position updating process, when the message that HSS is sent to MME is long, improve
The implementation of the transmission efficiency of Diameter message, the delivery lag of reduction Diameter message, the embodiment of the present invention provide
A kind of Diameter message transmission method, apparatus and system, below in conjunction with Figure of description to the preferred embodiment of the present invention
It illustrates, it should be understood that preferred embodiment described herein is merely to illustrate and explain the present invention, and is not used to limit this
Invention.And in the absence of conflict, the feature in the embodiment and embodiment in the application can be combined with each other.
The embodiment of the present invention provides a kind of Diameter message transmission method, as shown in Figure 1, including:
Step 101, home subscriber server HSS receive the position updating request from mobile management entity MME.
Step 102, the multiple user contracting datas sent for the position updating request, acquisition needs to the MME.
Whether step 103 determines the length of the first position for carrying multiple user contracting data update response generated
More than preconfigured message-length threshold value.
Step 104 is less than when the length of the first position update response of the multiple user contracting data of carrying of generation
During the message-length threshold value, first position update response is sent to the MME.
Step 105 is more than when the length of the first position update response of the multiple user contracting data of carrying of generation
During the message-length threshold value, second position update response and at least one insertion user data requests are sent to the MME,
In, second position update response and the collection of user contracting data that respectively carries of at least one insertion user data requests
It is combined into multiple user contracting data, and second position update response and every are inserted into user data requests and respectively
The user contracting data of carrying can individually be handled by MME, and the length of second position update response and every insertion
The length of user data requests is respectively less than the message-length threshold value, and second position update response and every insertion user
Request of data carries routing label, and the second position is updated response for the network element device between the HSS and MME and is somebody's turn to do
At least one insertion user data requests are transmitted to the MME.
In above-mentioned method for message transmission, when user contracting data is more, the first position of the user contracting data is carried
When the length of update response is more than HSS preconfigured message-length threshold values, HSS passes through location updating response and at least one
It is inserted into user data requests and sends user contracting data to MME, wherein, location updating response message and at least one is inserted into user
One or more user contracting datas can be carried in request of data, i.e. HSS is by position update flow and is inserted into number of users
Diameter message is subjected to Step transmission, and position update flow and insertion user data flow are mutual indepedent according to flow,
The second position update response of transmission and every insertion user data requests respectively carry routing label, between HSS and MME
Network element device DRA can directly forward every message according to routing label, avoids message recombination, is disappeared using the Diameter
Transmission method is ceased, compared with the prior art, improves the efficiency that Diameter message is transmitted in LTE network position update flow,
Reduce the delivery lag of Diameter message.
In the method for message transmission, the preconfigured Diameter layers of message-length threshold value of HSS, specially maximum transmitted
The length of unit subtracts the difference needed when sending message to MME obtained by the length of bottom header information carried, i.e. IP layers most
The length of big transmission unit MTU subtracts needs the length of IP packet headers carried and SCTP packets headers when sending message to MME
Difference obtained by the length in portion.When to being more than the message Step transmission of message-length threshold value, position update flow and insertion
The sequence of user data flow does not limit specifically, in practical applications, can flexibly be selected.
Below in conjunction with the accompanying drawings, method and device provided by the invention and corresponding system are retouched in detail with specific embodiment
It states.
Embodiment 1:
In the Diameter message transmission method that the present embodiment 1 provides, position update flow is prior to being inserted into customer traffic
Journey, specific steps as shown in Fig. 2 a, Fig. 2 b, including:
Step 201, user terminal send attachment or position updating request to MME.
After step 202, the MME receive attachment or the position updating request of user terminal transmission, return to the user terminal
The HSS of category sends position updating request(Update Location Request), to obtain multiple users of user signing number
According to.
Step 203, the HSS receive the position updating request of MME transmissions, and for the position updating request, obtaining needs
The multiple user contracting datas sent to MME.
Whether step 204 judges the length of the first position for carrying multiple user contracting data update response generated
More than preconfigured message-length threshold value.Wherein, Diameter layers of message-length threshold value are represented with M:
M=MTU-IP packet header-SCTP packets headers
Step 205 is less than when the length of the first position update response of the multiple user contracting data of carrying of generation
During message-length threshold value, first position update response is sent to MME.
After step 206, MME receive the first position update response of HSS transmissions, attachment or position are returned to more to user terminal
New response.
The flow chart when length of first position update response is less than message threshold length value as shown in Figure 2 a, first
The flow chart when length for putting update response is more than message threshold length value is as shown in Figure 2 b.
Step 207, the length for updating response when the first position for carrying the user contracting data of generation are long more than message
When spending threshold value, multiple user contracting data is split, the user contracting data after fractionation is packaged, obtain the
Two location updatings respond and at least one is inserted into user data requests.
Wherein, user's label that second position update response and at least one insertion user data requests respectively carry
The collection of about data is combined into multiple user contracting data, and second position update response and every insertion user data please
The user contracting data asked and respectively carried can individually be handled by MME.
Multiple user contracting data is updated HSS response by the second position and at least one insertion user data please
It asks to carry, and the length of second position update response and the length of every insertion user data requests are respectively less than message-length
Threshold value, and second position update response and every insertion user data requests carry routing label, between HSS and MME
Network element device DRA can according to routing label by the second position update response and be inserted into user data requests be transmitted to accordingly
MME.
Step 208 sends second position update response to MME.Wherein, user's label that update response in the second position carries
About the priority of data is inserted into the priority of user contracting data that user data requests respectively carry, the second higher than every
Putting update response can carry and the relevant user contracting data of default bearing.
After step 209, MME receive the second position update response of HSS transmissions, attachment or position are returned to more to user terminal
New response.
Step 210, HSS send at least one first insertion user data being inserted into user data requests to MME and ask
It asks(Insert Subscriber Data Request).
After step 211, MME receive first insertion user data requests of HSS transmissions, for the insertion user data
Request returns to HSS and is inserted into user data response(Insert Subscriber Data Answer).
If HSS is after MME sends first insertion user data requests, still remaining to be inserted into user's request, then receiving
Next insertion user data requests are sent to MME after the insertion user data response returned to MME, until by remaining insertion
User data requests are sent.
Embodiment 2:
In the Diameter message transmission method that the present embodiment 2 provides, user data flow is inserted into prior to location updating stream
Journey, the flow shown in Fig. 3 are when the length for determining the first position update response for user contracting data generation is more than to disappear
Cease method flow during length threshold value, the flow phase in flow and above-described embodiment 1 when being less than message-length threshold value
Together, it can refer to the step shown in Fig. 2 a.
Step 301, user terminal send attachment or position updating request to MME.
After step 302, the MME receive attachment or the position updating request of user terminal transmission, return to the user terminal
The HSS of category sends position updating request(Update Location Request), to obtain multiple users of user signing number
According to.
Step 303, the HSS receive the position updating request of MME transmissions, and for the position updating request, obtaining needs
The multiple user contracting datas sent to MME.
Whether step 304 judges the length of the first position for carrying multiple user contracting data update response generated
More than preconfigured message-length threshold value.Wherein, Diameter layers of message-length threshold value are represented with M:
M=MTU-IP packet header-SCTP packets headers
Step 305, the length for updating response when the first position for carrying the user contracting data of generation are long more than message
When spending threshold value, multiple user contracting data is split, the user contracting data after fractionation is packaged, obtain the
Two location updatings respond and at least one is inserted into user data requests.
Wherein, user's label that second position update response and at least one insertion user data requests respectively carry
The collection of about data is combined into multiple user contracting data, and second position update response and every insertion user data please
The user contracting data asked and respectively carried can individually be handled by MME.
Multiple user contracting data is updated HSS response by the second position and at least one insertion user data please
It asks to carry, and the length of second position update response and the length of every insertion user data requests are respectively less than message-length
Threshold value, and second position update response and every insertion user data requests carry routing label, between HSS and MME
Network element device DRA can according to routing label by the second position update response and be inserted into user data requests be transmitted to accordingly
MME.
Step 306 sends first insertion user data requests to MME(Insert Subscriber Data
Request).Wherein, inserting after this first priority for being inserted into the user contracting data that user data requests carry is higher than
The priority for the user contracting data that access customer request of data carries.
After step 307, MME receive the insertion user data requests of HSS transmissions, returned to HSS and be inserted into user data sound
It should(Insert Subscriber Data Answer).
If still there is remaining insertion user data requests, HSS continues to send next insertion user data to MME
Request, until remaining insertion user data requests are sent.
Step 308 updates response, user's signing number of second position update response carrying to the MME transmissions second position
According to priority the priority of user contracting data that respectively carries of user data requests is inserted into less than above-mentioned every.
After step 309, MME receive the second position update response of HSS transmissions, update and ring to user terminal return position
It should.
In the method for above-described embodiment 1 and embodiment 2, when MME is updated to user terminal return position to be responded, position is represented
It puts more new technological process to terminate, the method for embodiment 1 and embodiment 2, difference lies in the end sequence of position update flow, embodiments 1
Position Updating flow end first, user terminal can first complete location updating, other subscription data are by being inserted into user data
Flow issues.Position update flow in embodiment 2 terminate it is later, until after the completion of all user contracting datas issue, position
More new technological process is put to terminate.In practical application, the priority of two flows according to the requirement to location updating time delay, can be flexibly selected
Sequentially.
Embodiment 3:
Based on same inventive concept, according to the Diameter message transmission method that the above embodiment of the present invention provides, accordingly
Ground, another embodiment of the present invention additionally provide Diameter message transfer device, applied to home subscriber server HSS, device
Structure diagram is as shown in figure 4, specifically include:
Receiving unit 401, for receiving the position updating request from mobile management entity MME;
Data capture unit 402 for being directed to the position updating request, obtains the multiple users for needing to send to the MME
Subscription data;
Transmitting element 403, for when the length of the first position update response of the multiple user contracting data of carrying of generation
When degree is less than preconfigured message-length threshold value, first position update response is sent to the MME;When the carrying of generation
When the length of the first position update response of multiple user contracting data is more than the message-length threshold value, sent out to the MME
Second position update response and at least one insertion user data requests are sent, wherein, second position update responds and should
The collection of user contracting data that at least one insertion user data requests respectively carry is combined into multiple user contracting data, and should
Second position update response and every are inserted into user data requests and the user contracting data that respectively carries, can be by
MME is individually handled, and the length of second position update response and the length of every insertion user data requests are respectively less than and are somebody's turn to do
Message-length threshold value, and second position update response and every insertion user data requests carry routing label, use
The second position is updated network element device between the HSS and MME response and every is inserted into user data requests and is transmitted to
The MME.
Further, transmitting element 403 send second position update response and at least one insertion user to the MME
Request of data, specifically for sending second position update response, user's signing that second position update response carries to the MME
The priority of data is inserted into the priority of user contracting data that user data requests respectively carry higher than every;And
At least one first insertion user data requests being inserted into user data requests are sent to the MME;For except
First be inserted into except user data requests it is remaining be inserted into user data requests, receiving MME returns with newest hair
After the corresponding insertion user data response of insertion user data requests sent, sending next insertion user data to the MME please
It asks, is sent until residue is inserted into user data requests, and the user that the insertion user data requests formerly sent carry
The priority of subscription data is higher than the priority in the user contracting data of the insertion user data requests carrying of rear transmission.
Further, transmitting element 403 are inserted into specifically for sending at least one to the MME in user data requests
First insertion user data requests;It please for the remaining user data that is inserted into addition to first is inserted into user data requests
It asks, after the insertion user data response corresponding with the insertion user data requests of newest transmission of MME returns is received, to
The MME sends next insertion user data requests, is sent until residue is inserted into user data requests, and formerly send
The priority of user contracting data that carries of insertion user data requests be higher than and taken in the insertion user data requests of rear transmission
The priority of the user contracting data of band;And second position update response is sent to the MME, and second position update response is taken
The priority of the user contracting data of band is inserted into the preferential of the user contracting data that user data requests respectively carry less than every
Grade.
Further, message-length threshold value be specially maximum transmission unit length subtract to the MME send message when
Need the difference obtained by the length of bottom header information carried.
The function of above-mentioned each unit may correspond to the respective handling step in flow shown in Fig. 1 to Fig. 3, no longer superfluous herein
It states.
Embodiment 4:
The embodiment of the present invention 4 provides a kind of Diameter message transmission system, structure diagram as shown in figure 5, including:Return
Belong to client server HSS501, route agent node DRA502 and mobile management entity MME 503, wherein,
Home subscriber server HSS501, for receiving the position updating request from MME of DRA forwardings, for the position
Update request is put, obtains the multiple user contracting datas for needing to send to the MME;When the multiple user's signing number of the carrying of generation
According to first position update response length be less than preconfigured message-length threshold value when, to the DRA send this first
Location updating responds;When the length of the first position update response of the multiple user contracting data of carrying of generation disappears more than this
When ceasing length threshold value, second position update response and at least one insertion user data requests are sent to the DRA, this second
It is more that the collection of user contracting data that location updating responds and at least one insertion user data requests respectively carry is combined into this
A user contracting data, and second position update responds and every is inserted into user data requests and the use respectively carried
Family subscription data can individually be handled by MME, and the length of second position update response and every insertion user data
The length of request is respectively less than the message-length threshold value, and second position update response and every insertion user data requests
Carry routing label;
Route agent node DRA502 for receiving the position updating request from the MME, and is sent to corresponding HSS
The position updating request;The first position update response of HSS transmissions is received, the first position is forwarded to update to corresponding MME
Response receives second position update response that HSS sends and at least one is inserted into user data requests, and according to this
Two location updatings respond and every is inserted into the routing label that user data requests respectively carry, and are forwarded to corresponding MME;
Mobile management entity MME 503 for receiving the attach request or position updating request of user's transmission, and passes through DRA
Position updating request is sent to home subscriber server HSS;The update response of the first position from HSS of DRA forwardings is received, into
Row respective handling simultaneously stores subscription data;Or receive the update response of the second position from HSS and at least one of DRA forwardings
User data requests are inserted into, carry out respective handling and store subscription data.
Further, home subscriber server HSS501 is sent out specifically for subtracting the length of maximum transmission unit to MME
The difference obtained by the length of bottom header information that needs carry during message is sent, as preconfigured message threshold length value;
And according to the message threshold length value, judge the length of the first position update response of the multiple user contracting datas of carrying of generation
Whether it is more than the message-length threshold value.
In conclusion scheme provided in an embodiment of the present invention, HSS receives the position updating request from MME, for the position
Update request is put, obtains the multiple user contracting datas for needing to send to the MME;Determine the multiple user's signing of carrying of generation
Whether the length of the first position update response of data is more than preconfigured message-length threshold value;When the carrying of generation, this is more
The length of the first position update response of a user contracting data is when being less than the message-length threshold value, and the is sent to the MME
One location updating responds;When the length of the first position update response of the multiple user contracting data of carrying of generation is more than to be somebody's turn to do
During message-length threshold value, second position update response and at least one insertion user data requests are sent to the MME,
In, second position update response and the collection of user contracting data that respectively carries of at least one insertion user data requests
It is combined into multiple user contracting data, and second position update response and every are inserted into user data requests and respectively
The user contracting data of carrying can individually be handled by the MME, and the second position updates the length of response and every is inserted
The length of access customer request of data is respectively less than the message-length threshold value, and second position update response and every insertion are used
User data request carry routing label, for the network element device between the HSS and MME by the second position update response and
Every is inserted into user data requests and is transmitted to the MME.Using method provided in an embodiment of the present invention, LTE network signing is avoided
The more user of data carries out the segmentation and recombination of Diameter message during location updating in bottom, and then improves Diameter
The transmission efficiency of message reduces the delivery lag of Diameter message.
The Diameter message transfer device that embodiments herein is provided can be realized by computer program.This field
Technical staff is it should be appreciated that above-mentioned module dividing mode is only one kind in numerous module dividing modes, if divided
It, all should be the application's as long as Diameter message transfer device has above-mentioned function for other modules or non-division module
Within protection domain.
The application is with reference to method, the equipment according to the embodiment of the present application(System)And the flow of computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
God and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of Diameter message transmission method, which is characterized in that including:
Home subscriber server HSS receives the position updating request from mobile management entity MME;
For the position updating request, the multiple user contracting datas for needing to send to the MME are obtained;
When the length of the first position update response of the multiple user contracting data of carrying of generation be less than it is preconfigured
During message-length threshold value, the first position update response is sent to the MME;
When the length of the first position update response of the multiple user contracting data of carrying of generation is more than the message
During length threshold value, second position update response and at least one insertion user data requests are sent to the MME, wherein,
The user contracting data that the second position update response and at least one insertion user data requests respectively carry
Collection is combined into the multiple user contracting data, and second position update response and every insertion user data requests, with
And the user contracting data respectively carried, it can individually be handled by the MME, and the length of second position update response
And the length of every insertion user data requests is respectively less than the message-length threshold value, and the second position updates
Response and every insertion user data requests carry routing label, for the network element device between the HSS and MME
Second position update response and every insertion user data requests are transmitted to described by route agent node DRA
MME。
2. the method as described in claim 1, which is characterized in that the update response of the MME transmissions second position and at least
One insertion user data requests, specifically includes:
Second position update response is sent to the MME, the second position updates the excellent of the user contracting data that response carries
First grade is inserted into the priority of user contracting data that user data requests respectively carry higher than described every;
Described at least one first insertion user data requests being inserted into user data requests are sent to the MME;
It is described receiving for the remaining insertion user data requests in addition to described first is inserted into user data requests
After the insertion user data response corresponding with the insertion user data requests of newest transmission that MME is returned, under MME transmissions
One insertion user data requests, until the remaining user data requests of being inserted into are sent, and described at least one inserts
The priority for the user contracting data that the insertion user data requests formerly sent in access customer request of data carry is higher than rear
The priority for the user contracting data that the insertion user data requests of transmission carry.
3. the method as described in claim 1, which is characterized in that the update response of the MME transmissions second position and at least
One insertion user data requests, specifically includes:
Described at least one first insertion user data requests being inserted into user data requests are sent to the MME;
It is described receiving for the remaining insertion user data requests in addition to described first is inserted into user data requests
After the insertion user data response corresponding with the insertion user data requests of newest transmission that MME is returned, under MME transmissions
One insertion user data requests, until the remaining user data requests of being inserted into are sent, and described at least one inserts
The priority for the user contracting data that the insertion user data requests formerly sent in access customer request of data carry is higher than rear
The priority for the user contracting data that the insertion user data requests of transmission carry;
Second position update response is sent to the MME, the second position updates the excellent of the user contracting data that response carries
First grade is inserted into the priority of user contracting data that user data requests respectively carry less than every.
4. the method as described in claim 1, which is characterized in that the message-length threshold value is the length of maximum transmission unit
Subtract the difference needed when sending message to the MME obtained by the length of bottom header information carried.
5. a kind of Diameter message transfer device, applied to home subscriber server HSS, which is characterized in that including:
Receiving unit, for receiving the position updating request from mobile management entity MME;
Data capture unit, for being directed to the position updating request, obtaining needs the multiple users sent to the MME to contract
Data;
Transmitting element, the length for the first position update response when the multiple user contracting data of carrying of generation do not surpass
When crossing preconfigured message-length threshold value, the first position update response is sent to the MME;When the carrying institute of generation
When stating the length of the first position update response of multiple user contracting datas and being more than the message-length threshold value, to described
MME sends second position update response and at least one insertion user data requests, wherein, the second position update response
And the collection of user contracting data that at least one insertion user data requests respectively carry is combined into the multiple user's label
About data, and second position update responds and every is inserted into user data requests and the user respectively carried signing
Data can individually be handled by the MME, and the length of second position update response and every insertion user
The length of request of data is respectively less than the message-length threshold value, and second position update response and every insertion
User data requests carry routing label, for the network element device route agent node DRA between the HSS and MME by institute
It states second position update response and every insertion user data requests is transmitted to the MME.
6. device as claimed in claim 5, which is characterized in that the transmitting element, specifically for sending second to the MME
Location updating responds, and the priority of user contracting data that the second position update response carries is inserted into higher than described every to be used
The priority of user contracting data that user data request respectively carries;And
Described at least one first insertion user data requests being inserted into user data requests are sent to the MME;For
Remaining insertion user data requests in addition to described first is inserted into user data requests, are receiving what the MME was returned
After insertion user data response corresponding with the insertion user data requests of newest transmission, next insertion is sent to the MME
User data requests, until the remaining user data requests of being inserted into are sent, and described at least one is inserted into number of users
It is higher than inserting in rear transmission according to the priority of user contracting data that the insertion user data requests formerly sent in request carry
The priority for the user contracting data that access customer request of data carries.
7. device as claimed in claim 5, which is characterized in that the transmitting element, described in being sent to the MME
At least one is inserted into first insertion user data requests in user data requests;For except described first insertion number of users
According to the remaining insertion user data requests except request, in the insertion number of users with newest transmission for receiving the MME returns
After the corresponding insertion user data response of request, next insertion user data requests are sent to the MME, until by described in
Residue is inserted into user data requests and is sent, and the insertion formerly sent in at least one insertion user data requests is used
The priority of user contracting data that user data request carries is higher than the user in the insertion user data requests carrying of rear transmission
The priority of subscription data;And
Second position update response is sent to the MME, the second position updates the excellent of the user contracting data that response carries
First grade is inserted into the priority of user contracting data that user data requests respectively carry less than every.
8. device as claimed in claim 5, which is characterized in that the message-length threshold value is the length of maximum transmission unit
Subtract the difference needed when sending message to the MME obtained by the length of bottom header information carried.
9. a kind of Diameter message transmission system, which is characterized in that including:Home subscriber server HSS, mobile management entity
MME and route agent node DRA, wherein,
The HSS for receiving the position updating request from MME of DRA forwardings, for the position updating request, is obtained
Need the multiple user contracting datas sent to the MME;When first of the multiple user contracting data of carrying of generation
The length of update response is put when being less than preconfigured message-length threshold value, the first position is sent more to the DRA
New response;When the length of the first position update response of the multiple user contracting data of carrying of generation is more than described disappear
When ceasing length threshold value, second position update response and at least one insertion user data requests are sent to the DRA, it is described
The set of user contracting data that second position update response and at least one insertion user data requests respectively carry
For the multiple user contracting data, and second position update response and every are inserted into user data requests and each
From the user contracting data of carrying, can individually be handled by the MME, and the second position update response length and
The length of every insertion user data requests is respectively less than the message-length threshold value, and second position update response
And every insertion user data requests carry routing label;
The DRA for receiving the position updating request from the MME, and sends the location updating to corresponding HSS and asks
It asks;The first position update response that the HSS is sent is received, the first position update response is forwarded to corresponding MME,
Or receive second position update response and at least one insertion user data requests that the HSS is sent, root
Response and every routing label for being inserted into user data requests and respectively carrying are updated according to the second position, to corresponding MME
Forwarding;
The MME for receiving the attach request or position updating request of user's transmission, and passes through DRA to home subscriber service
Device HSS sends position updating request;The update response of the first position from HSS of DRA forwardings is received, carries out respective handling
And store subscription data;Or it receives the update response of the second position from HSS and described at least one that DRA is forwarded and inserts
Access customer request of data carries out respective handling and stores subscription data.
10. system as claimed in claim 9, which is characterized in that the HSS, specifically for by the length of maximum transmission unit
The difference needed when sending message to the MME obtained by the length of bottom header information carried is subtracted, is matched in advance as described
The message threshold length value put;And according to the message threshold length value, judge the multiple user's signing number of carrying of generation
According to first position update response length whether be more than the message-length threshold value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310746860.5A CN104754550B (en) | 2013-12-30 | 2013-12-30 | A kind of Diameter message transmission method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310746860.5A CN104754550B (en) | 2013-12-30 | 2013-12-30 | A kind of Diameter message transmission method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104754550A CN104754550A (en) | 2015-07-01 |
CN104754550B true CN104754550B (en) | 2018-06-19 |
Family
ID=53593527
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310746860.5A Active CN104754550B (en) | 2013-12-30 | 2013-12-30 | A kind of Diameter message transmission method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104754550B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106803805B (en) * | 2015-11-26 | 2021-02-12 | 华为技术有限公司 | Method and device for solving message circuity in Diameter network |
CN110365630A (en) * | 2018-04-11 | 2019-10-22 | ***通信有限公司研究院 | Information processing method and device, communication network element and storage medium |
CN112243291B (en) * | 2019-07-16 | 2024-02-23 | ***通信集团有限公司 | Communication service processing method, system, service unit, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710880A (en) * | 2004-06-17 | 2005-12-21 | 国际商业机器公司 | Method and apparatus for discovering path maximum transmission unit (PMTU) |
CN1863141A (en) * | 2005-07-29 | 2006-11-15 | 华为技术有限公司 | Method for transmission processing IP fragment message |
CN101188784A (en) * | 2006-11-15 | 2008-05-28 | 中兴通讯股份有限公司 | Method for improving UTRAN HSUPA IP transmission performance |
CN101448243A (en) * | 2008-04-11 | 2009-06-03 | 中兴通讯股份有限公司 | Method for realizing user registration |
CN101478427A (en) * | 2009-01-23 | 2009-07-08 | 武汉烽火网络有限责任公司 | Method for accelerating PBT tunnel failure fast switching |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009065429A (en) * | 2007-09-06 | 2009-03-26 | Hitachi Communication Technologies Ltd | Packet transfer apparatus |
-
2013
- 2013-12-30 CN CN201310746860.5A patent/CN104754550B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710880A (en) * | 2004-06-17 | 2005-12-21 | 国际商业机器公司 | Method and apparatus for discovering path maximum transmission unit (PMTU) |
CN1863141A (en) * | 2005-07-29 | 2006-11-15 | 华为技术有限公司 | Method for transmission processing IP fragment message |
CN101188784A (en) * | 2006-11-15 | 2008-05-28 | 中兴通讯股份有限公司 | Method for improving UTRAN HSUPA IP transmission performance |
CN101448243A (en) * | 2008-04-11 | 2009-06-03 | 中兴通讯股份有限公司 | Method for realizing user registration |
CN101478427A (en) * | 2009-01-23 | 2009-07-08 | 武汉烽火网络有限责任公司 | Method for accelerating PBT tunnel failure fast switching |
Also Published As
Publication number | Publication date |
---|---|
CN104754550A (en) | 2015-07-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106878065B (en) | Configuration method and device of distributed aggregation system | |
CN101764751A (en) | Method, system and equipment for forwarding roaming messages for wireless user terminal travelling across VLAN | |
CN106992917A (en) | Message forwarding method and device | |
CN101917707A (en) | IP addressing method and system for wireless sensor network | |
CN110324159B (en) | Link configuration method, controller and storage medium | |
CN106487537A (en) | Business chain implementation method and policy control platform | |
CN104301244A (en) | Cluster communication system and method of large-scale power distribution network system | |
EP3113425B1 (en) | Encapsulation method for service routing packet, service forwarding entity and control plane | |
CN104754550B (en) | A kind of Diameter message transmission method, apparatus and system | |
US8179795B2 (en) | Communication terminal apparatus, distribution apparatus, error notification method, and error notification program | |
EP3965382A1 (en) | Method and device for implementing service function processing | |
CN104301247A (en) | Method and device for load balancing of PPPOE access equipment | |
CN103067278A (en) | Data frame transmission processing method, equipment and system | |
KR20160114676A (en) | Wireless network data processing device and wireless network system | |
CN109088823B (en) | Method and device for realizing terminal interconnection | |
CN106533503B (en) | A kind of method and device of powerline network communication | |
CN105933235B (en) | Data communications method and device | |
CN104486217A (en) | Cross network message transmitting method and equipment | |
CN104717640A (en) | Realization method for wireless network communication based on positioning | |
CN105262682A (en) | Software defined network for power data communication and traffic grooming method thereof | |
CN110391984B (en) | Message forwarding method and device | |
CN106506376B (en) | Method and device for sending monitored neighbor initial routing information | |
CN106357728A (en) | Message processing method, system and terminal | |
CN103560937A (en) | Data accessing method and entry server | |
CN102868642A (en) | Method and device for achieving NVGRE message transmission in application specific integrated circuit (ASIC) |
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 |