CN101931630B - Method, user equipment and network element for transmitting SIP message - Google Patents
Method, user equipment and network element for transmitting SIP message Download PDFInfo
- Publication number
- CN101931630B CN101931630B CN201010271346.7A CN201010271346A CN101931630B CN 101931630 B CN101931630 B CN 101931630B CN 201010271346 A CN201010271346 A CN 201010271346A CN 101931630 B CN101931630 B CN 101931630B
- Authority
- CN
- China
- Prior art keywords
- sip message
- length information
- message
- mtu
- maximum
- 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 method for transmitting an SIP message, which is used for transmitting an SIP message after acquiring the optimal loaded length information of the SIP message, thereby making every effort to transmit data by means of a network to the greatest extent. The method comprises the following steps: UE acquires the optimal loaded length information of the SIP message according to the minimum MTU length information in a transmission link and the maximum length information of an SIP message head in the transmission link; and the UE transmits the SIP message according to the acquired optimal loaded length information of the SIP message. The invention also discloses a device for realizing the method.
Description
Technical field
The present invention relates to field of multimedia communication, specially refer to a kind of method, subscriber equipment and network element of transmitting SIP message.
Background technology
IMS (iso-ip Internetworking protocol ISO-IP multimedia core subsystem) becomes the ideal scheme that the fixed network relatively admitted and mobile network are merged in recent years day by day, and SIP (Session initiation Protocol) is the basic controlling agreement of IMS, it is bringing into play the important function becoming increasingly conspicuous in the process that fixed network and mobile network stride forward to next generation network (NGN).
SIP is text based agreement, is similar to HTTP (HTML (Hypertext Markup Language)).This protocol message form comprises first trip, message header and message body three parts.The promoter and the recipient that carry out identification request by indispensable keyword From and the To of message header.Wherein, message is every through a network element, the VIA (routing iinformation) of message header mark all will by host name or the network address (may also have port numbers) of SIP network element of process save.
Sip message is to send to AS (application server) or other UE by transmitting terminal UE (subscriber equipment) by IMS.And the byte number of sip message based on UDP (User Datagram Protoco (UDP)) mode is conditional, can not allow maximum sip message length (being that SIP initial message adds the VIA information increasing through after all network elements that should pass through) exceed MTU length (the Maximum Transmission Unit of arbitrary passed through network element, MTU), also, maximum sip message length must be less than or equal to minimum MTU length.
In sip message transmitting procedure, in the time that the sip message length that has network element to detect to receive has exceeded the MTU length of self, this network element can return to error code to promoter, does not process this sip message.Then, SIP request promoter suitably reduce rear trial by the length of sip message again to send, if certain network element has returned to error code again, again this sip message length is reduced, send, so circulation is adjusted, until can successfully be sent completely again.This process of transmitting may need repeatedly to attempt, and take more Internet resources and cause the delay of transmission, and the also loaded length of most suitable sip message not necessarily finally obtaining, underuse the Internet resources into its distribution.
Summary of the invention
The embodiment of the present invention provides a kind of method, subscriber equipment and network element of transmitting SIP message, is knowing transmitting SIP message after the best loaded length information of sip message, thereby can maximally utilise transmitted data on network as far as possible for realizing.
A method for transmitting SIP message, comprises the following steps:
UE is according to the best loaded length information of the maximum length information acquisition sip message of sip message head in minimum MTU length information and transmission link in transmission link, be specially: the maximum sip message length information of UE deducts initial sip message length information and obtains the message header length information increasing, the message header length information of the increase described in deducting with minimum MTU length information obtains the best loaded length information of sip message;
UE, according to the best loaded length communication sip message of the sip message obtaining, is specially: UE is according to the best loaded length information of the sip message obtaining, and transmission total length information is no more than the sip message of this best loaded length information.
For a subscriber equipment for transmitting SIP message, comprising:
UE computing unit, be used for according to the best loaded length information of the maximum length information acquisition sip message of sip message head in the minimum MTU length information of transmission link and transmission link, be specially: the maximum sip message length information of UE deducts initial sip message length information and obtains the message header length information increasing, the message header length information of the increase described in deducting with minimum MTU length information obtains the best loaded length information of sip message;
UE Transmit-Receive Unit, for according to the best loaded length communication sip message of the sip message obtaining, is specially: UE is according to the best loaded length information of the sip message obtaining, and transmission total length information is no more than the sip message of this best loaded length information.
A kind of network element, for transmitting SIP message, and provides local MTU length information to UE, so that UE is being known transmitting SIP message after the best loaded length information of sip message, this network element comprises:
Transmit-Receive Unit, for receiving the sip message of UE transmission and sending sip message to UE; Wherein, in the sip message of transmission, carry local MTU length information;
Comparing unit, for MTU length information and local MTU length information that relatively sip message carries, when the MTU length information carrying when sip message is greater than local MTU length information, upgrade according to local MTU length information the MTU length information that sip message carries.
In the embodiment of the present invention, UE is according to the best loaded length information of the maximum length information acquisition sip message of sip message head in minimum MTU length information and transmission link in transmission link; UE is according to the best loaded length communication sip message of the sip message obtaining.Wherein, UE deducts initial sip message length information with the maximum sip message length information calculating and obtains the message header length information increasing, and the message header length information of the increase described in deducting with the minimum MTU length information obtaining obtains the best loaded length information of sip message.Go out the best loaded length information of the sip message that can transmit in current network environment thereby realized one-time calculation, can maximally utilise transmitted data on network as far as possible.
Brief description of the drawings
Fig. 1 is the primary structure figure of the system of transmitting SIP message in the embodiment of the present invention;
Fig. 2 A is the cut-away view of user equipment (UE) in the system of transmitting SIP message in the embodiment of the present invention;
Fig. 2 B is the cut-away view of network element in the system of transmitting SIP message in the embodiment of the present invention;
Fig. 3 is the main flow chart of the method for transmitting SIP message in the embodiment of the present invention;
Fig. 4 is the detail flowchart of the method for transmitting SIP message in the embodiment of the present invention;
Fig. 5 be in the embodiment of the present invention by a UE relatively and the empty bag of refresh test sip message carry MTU length information time transmitting SIP message the detail flowchart of method;
Fig. 6 is the detail flowchart of the method for transmitting SIP message while calculating the best loaded length information of sip message by the 2nd UE in the embodiment of the present invention.
Embodiment
In the embodiment of the present invention, UE is according to the best loaded length information of the maximum length information acquisition sip message of sip message head in minimum MTU length information and transmission link in transmission link; UE is according to the best loaded length communication sip message of the sip message obtaining.Wherein, UE deducts initial sip message length information with the maximum sip message length information calculating and obtains the message header length information increasing, and the message header length information of the increase described in deducting with the minimum MTU length information obtaining obtains the best loaded length information of sip message.Go out the best loaded length information of the sip message that can transmit in current network environment thereby realized one-time calculation, can maximally utilise transmitted data on network as far as possible.
In embodiments of the present invention, message header just comprised first trip (if request, first trip form comprises URI, the protocol version of method, request, with new line character, CRLF finishes; If response, first trip form comprises protocol version, conditional code and the textual description relevant to conditional code, and with new line character, CRLF finishes.)+message header header field (having comprised as the promoter of request, the information such as recipient, maximum hop count of request).Length information can be concrete length value, can be also the binary coding of length value or the coding of other form etc.Transmission link refers to the link that all network elements of the required process of transmitting SIP message form, and this transmission link can be because network environment or business variation etc. are former thereby change at any time.In transmission link, minimum MTU length information refers to a MTU length information minimum in the MTU length information that in a transmission link, each network element configures.Sip message every length information through a network element sip message head in transmission link all can change, in a transmitting procedure when sip message is when last network element, the maximum length information that its message header length information is sip message head in this transmission link.
Referring to Fig. 1, in the embodiment of the present invention, the system of transmitting SIP message comprises UE101 (subscriber equipment) and network element 102.Wherein, network element 102 may comprise one or more network elements.UE101 and network element 102 are all arranged in IMS.Preferably, in the present embodiment, sip message wraps sip message as example, with the more convenient best loaded length information that obtains sip message to test sky.
UE101 is used for according to the best loaded length information of the maximum length information acquisition sip message of sip message head in the minimum MTU length information of transmission link and transmission link, and according to the best loaded length communication sip message of the sip message obtaining.Sip message comprises test empty bag sip message and/or business request information.Because the empty bag of test sip message does not comprise any information relevant with business, be convenient to obtain the initial length of sip message, so be more conducive to obtain the best loaded length information of sip message.In the time that sip message is business request information, do not need to send separately the empty bag of test sip message, Internet resources are saved, and the length of ordinary business practice request message can be much smaller than minimum MTU length, therefore ask to obtain best loaded length information or its relevant information by business request information, can not affect Internet Transmission.
For example, UE101 generates type and comprises request message/the obtain sip message of message-length (application/get-msglen), and the MTU length information that this sip message is carried fills in certain spare field, wherein, the MTU length value carrying can be larger again than maximum MTU length possible in each network element, so that network element upgrades by the MTU length of self the MTU length information that sip message carries, and then obtain minimum MTU length information, so need to estimate than significantly as far as possible and MTU length maximally utilise Internet resources; Or the MTU length value carrying is that UE this locality is according to the MTU length value of performance default configuration.UE101 needs to preserve the initial message length information of this message before the empty bag of transmission test sip message, to calculate according to the maximum sip message length information obtaining and this initial message length information the message header length information increasing, and calculate the best loaded length information of sip message according to the message header length information of minimum MTU length information and increase.UE101 calculates the best loaded length information of sip message according to the corresponding information carrying in the response message receiving.UE101 is receiving after the response message returning, extract the minimum MTU length information carrying in this response message and calculate maximum sip message length information, and calculating best loaded length information according to this minimum MTU length information and maximum sip message length information.Preferably, deduct initial sip message length information with the maximum sip message length information obtaining and obtain the message header length information increasing, the message header length information of the increase described in deducting with minimum MTU length information obtains the best loaded length information of the sip message that can send.Wherein, the best loaded length information of sip message refers to message header length information+message body length information of the sip message that can send.In the time that needs send a sip message, its initial message head length information is known, deducts this known initial message head length information and can obtain the maximum message body length information of the sip message that can send by the best loaded length information of sip message.So just obtain best SIP carrying content-length information.UE101 is also for receiving sip message by network element, in this message, carry MTU length information and opposite end UE (UE) the MTU length information of each network element, UE (the 2nd UE) compares all MTU length informations that receive and local MTU length information, obtain minimum MTU length information, and calculate maximum sip message length information according to the sip message receiving, and generate response message according to the minimum MTU length information obtaining and the maximum sip message length information that calculates, send to opposite end UE (UE).Or UE (the 2nd UE) generates response message according to the MTU length information of the each network element receiving and local MTU length information, sends to opposite end UE (UE).And, can also utilize the periodic refreshing function of SUBSCRIBE method to carry out the best loaded length information of timing acquisition sip message, be the empty bag of timed sending test sip message, thereby can tackle at any time the change that the MTU length information of the network element 102 that causes because of change of network environment or network element 102 occurs.Or, after UE101 receives the empty bag of test sip message, calculate the empty bag of current test sip message length information, the empty bag of test sip message length information now comprises initial message body length information and increases the maximum message length information after each net element information, and from the sip message that this receives, extract minimum MTU length information, calculate the best loaded length information of sip message according to minimum MTU length information and this maximum sip message length information.Wherein, when UE is during as transmit leg, be called a UE, when UE is during as recipient, be called the 2nd UE.
Network element 102, for receiving the sip message of UE101 transmission and sending sip message to the UE101 of the other end, wherein, carries local MTU length information in the sip message of transmission, and the MTU length information that relatively sip message carries and local MTU length information.Network element 102 is specifically for receiving the empty bag of test sip message, the MTU length information that the empty bag of this test sip message is carried and local MTU length information compare, if the MTU length information that the empty bag of test sip message carries is greater than local MTU length information, wrap according to local MTU length information refresh test is empty the MTU length information that sip message carries, and the empty bag of test sip message is sent to the UE101 of next network element 102 or the other end.Wherein, network element 102 is multiple.Or network element 102 is carried at local MTU length information in this message after the sip message that receives UE101 transmission, and this message is sent to opposite end UE101.
Referring to Fig. 2 A, it is the internal structure schematic diagram of UE101 in the system of the present embodiment transmitting SIP message.Be that in the present embodiment, UE101 comprises UE Transmit-Receive Unit 1011, generation unit 1012, memory cell 1013 and UE computing unit 1014.UE can also comprise UE comparing unit 1015.
The response message that UE Transmit-Receive Unit 1011 returns for sending the empty bag of test sip message, transmission response message and reception.Wherein, in the empty bag of the test of transmission sip message, carry minimum MTU length information.Can be, as a UE of transmit leg, the empty bag of this test sip message is sent to the 2nd UE as recipient.UE Transmit-Receive Unit 1011 is also for receiving the empty bag of test sip message, calculated after maximum sip message length information according to the empty bag of the test receiving sip message by UE computing unit 1014, return to response message to a UE, wherein, can be, as recipient's the 2nd UE, this response message is sent to the UE as transmit leg.Wherein in this response message, carry the maximum sip message length information that the minimum MTU length information that receives and UE computing unit 1014 calculate, wherein, in response message, between minimum MTU length information and maximum sip message length information, separate preservation with English comma, value before comma is called first value, for minimum MTU length information, the value after comma is called second value, is maximum sip message length information.Or, in the empty bag of the test sip message receiving, do not carry minimum MTU length information, in response message, only comprise maximum sip message length information, the maximum sip message length information that the minimum MTU length information that UE101 preserves according to its memory cell 1013 and UE Transmit-Receive Unit 1011 receive calculates the best loaded length information of sip message.Or, in response message, comprise the MTU length information of maximum sip message length information and each network element, by UE comparing unit 1015, the local MTU length information of storage in all MTU length informations that receive and memory cell 1013 is compared, obtain minimum MTU length information.
Generation unit 1012 is for generating the empty bag of the test sip message that carries MTU length information.Generation unit 1012 comprises request message/the obtain sip message of message-length (application/get-msglen) specifically for type, the header field value of this type of message (Content-Type) is application/get-msglen, and message-length information (Content-Length) header field value is 4, and the MTU length information that this sip message is carried fills in certain spare field, wherein, the MTU length value carrying can be larger again than maximum MTU length possible in each network element, for example this length information can be 9999, so that network element upgrades by the MTU length of self the MTU length information that sip message carries, and then obtain minimum MTU length information, so need to estimate as far as possible MTU length than significantly, maximally utilise Internet resources, or the MTU length value carrying is that UE this locality is according to the MTU length value of performance default configuration.
Memory cell 1013 is for storing initial sip message length information.Calculate the best loaded length information of sip message for UE computing unit 1014.The MTU length information that memory cell 1013 is also carried for storing the empty bag of test sip message.
UE computing unit 1014 is for according to the best loaded length information of the maximum length information acquisition sip message of sip message head in the minimum MTU length information of transmission link and transmission link.UE computing unit 1014 is specifically for receiving after sip message at UE Transmit-Receive Unit 1011, from this message, extract minimum MTU length information and calculate maximum sip message length information according to this message, and calculate the best loaded length information of sip message according to this minimum MTU length information and maximum sip message length information.Wherein, deduct initial sip message length information obtain the message header length information increasing with the maximum sip message length information obtaining, the message header length information of the increase described in deducting with minimum MTU length information obtains the best loaded length information of sip message.Wherein, the best loaded length information of sip message refers to message header length information+message body length information of the sip message that can send.In the time that UE101 need to send a sip message, its initial message head length information is known, deducts the maximum message body length information that this known initial message head length information is the sip message that can send by the best loaded length information of sip message.UE computing unit 1014 is also for calculating maximum sip message length information according to the sip message that receives and UE comparing unit 1015 obtains after minimum MTU length information, calculates the best loaded length information of sip message according to maximum sip message length information and minimum MTU length information.
UE comparing unit 1015 compares for the local MTU length information of all MTU length informations that UE Transmit-Receive Unit 1011 is received and memory cell 1013 storages, obtains minimum MTU length information.
Referring to Fig. 2 B, in the present embodiment, network element 102 comprises Transmit-Receive Unit 1021 and comparing unit 1022.
Transmit-Receive Unit 1021 is for receiving the test empty bag sip message of a UE transmission and sending test sky bag sip message to the 2nd UE.Transmit-Receive Unit 1021 is after receiving the empty bag of the test sip message of a UE transmission, in message header, add network element 102 corresponding informations, after the MTU length information empty bag of the test that receives sip message being carried at comparing unit 1022 and the MTU length information of network element 102 compare and upgrade, wrap sip message and send to opposite end the 2nd UE empty test.Transmit-Receive Unit 1021 also, for after receiving the empty bag of the test sip message of a UE transmission, sends the empty bag of this test sip message to the 2nd UE, in the test sky bag sip message of this transmission, carries local MTU length information.
MTU length information and local MTU length information that comparing unit 1022 carries for comparing sip message, when the MTU length information carrying when sip message is greater than local MTU length information, upgrade according to local MTU length information the MTU length information that sip message carries.
Obtain the big or small method of the best carrying of sip message below by realization flow introduction.
The embodiment of the present invention is introduced the main method of transmitting SIP message.Referring to Fig. 3, method flow is as follows:
First, UE101 and network element 102 all need to be registered in IMS.
Step 301:UE101 is according to the best loaded length information of the maximum length information acquisition sip message of sip message head in minimum MTU length information and transmission link in transmission link.
Wherein, can be that a UE calculates, can be also the 2nd UE calculates.In described minimum MTU length information and transmission link, the maximum length information of sip message head is all included in message, and this message can be request message, can be also response message.
Wherein, deduct initial sip message length information obtain the message header length information increasing with the maximum sip message length information obtaining, the message header length information of the increase described in deducting with minimum MTU length information obtains the best loaded length information of sip message.
Step 302:UE101 is according to the best loaded length communication sip message of the sip message obtaining.
In the embodiment of the present invention, network element 102 reception test empty bag sip messages refresh test sky wrap the MTU length information that sip message carries.Referring to Fig. 4, method detailed flow process is as follows:
First, a UE, network element 102 and the 2nd UE all need to be registered in IMS.
Step 401 a: UE sends the empty bag of test sip message to the 2nd UE, wherein, carries MTU length information in this message.
Step 402: network element 102 receives the empty bag of test sip message.Preferably, network element 102 can determine that sip message is for the empty bag of test sip message by type of message.
Step 403: network element 102 judges whether the MTU length information that the empty bag of the test that receives sip message carries is greater than local MTU length information.When judged result is when being, continue step 404; Otherwise continue step 405.,
Step 404: the MTU length information that network element 102 carries according to the empty bag of local MTU length information refresh test sip message.
Wherein, if there are multiple network elements, repeating step 402-404.
Step 405: the empty bag of test sip message is sent to the 2nd UE by network element 102.
Step 406: the 2nd UE calculates the length information of the empty bag of the test sip message receiving, i.e. maximum sip message length information.
Step 407: the 2nd UE generates response message according to the minimum MTU length information carrying in the empty bag of the test receiving sip message and the maximum sip message length information calculating.
Or the 2nd UE calculates the best loaded length information of sip message according to minimum MTU length information and the maximum sip message length information that calculates, according to the best loaded length Information generation response message of this sip message.
Step 408: response message is sent to a UE by the 2nd UE.The 2nd UE sends to a UE by 200OK by response message.
Step 409 a: UE extracts minimum MTU length information and maximum sip message length information from the response message receiving.
If step 407 be the 2nd UE according to the best loaded length Information generation of the sip message that calculates response message, this step is the best loaded length information that a UE extracts sip message from the response message receiving.
Step 410 a: UE calculates the best loaded length information of sip message according to minimum MTU length information and maximum sip message length information.
From the response message receiving, extract the best loaded length information of sip message if step 409 is a UE, step 410 can not carried out.
Step 411 a: UE is according to the best loaded length communication sip message of the sip message obtaining.
Wherein, deduct initial sip message length information obtain the message header length information increasing with the maximum sip message length information obtaining, the message header length information of the increase described in deducting with minimum MTU length information obtains the best loaded length information of sip message.
Wherein, the best loaded length information of sip message refers to message header length information+message body length information of the sip message that can send.In the time that UE101 need to send a sip message, its initial message head length information is known, deducts the maximum message body length information that this known initial message head length information is the sip message that can send by the best loaded length information of sip message.
In the embodiment of the present invention, network element 102 receives after the empty bag of test sip messages self MTU length information is carried in the empty bag of this test sip message and sends to the 2nd UE, the 2nd UE returns to response message to a UE, the UE MTU length information that relatively also the empty bag of refresh test sip message carries.Referring to Fig. 5, method detailed flow process is as follows:
First, a UE, network element 102 and the 2nd UE all need to be registered in IMS.The one UE is store M TU length information before sending test sky to wrap sip message.
Step 501 a: UE sends the empty bag of test sip message to the 2nd UE.
Step 502: network element 102 receives the empty bag of test sip message.Preferably, network element 102 can determine that sip message is for the empty bag of test sip message by type of message.
Step 503: network element 102 sends the empty bag of this test sip message to the 2nd UE, carries the MTU length information of network element 102 in this message.
Wherein, if there are multiple network elements, repeating step 502-step 503.
Step 504: the 2nd UE calculates the length information of the empty bag of the test sip message receiving, i.e. maximum sip message length information.
Step 505: the maximum sip message length information that the 2nd UE basis calculates and all MTU length informations that receive generate response messages.
Or the 2nd UE compares all MTU length informations that receive and local MTU length information, obtains minimum MTU length information, and generate response message according to the maximum sip message length information calculating and this minimum MTU length information.
Or the 2nd UE also can calculate according to the minimum MTU length information obtaining and the maximum sip message length information calculating the best loaded length information of sip message, and according to the best loaded length Information generation response message of this sip message.
Step 506: response message is sent to a UE by the 2nd UE.
Step 507 a: UE extracts maximum sip message length information from the response message receiving.
If the 2nd UE has generated response message according to the maximum sip message length information and the minimum MTU length information that calculate in step 505, this step is that a UE extracts maximum sip message length information and minimum MTU length information from the response message receiving.
If in step 505 the 2nd UE according to the best loaded length Information generation of sip message response message, this step is the best loaded length information that a UE extracts sip message from the response message receiving.
Step 508 a: UE compares all MTU length informations that receive and local MTU length information, obtains minimum MTU length information.
Wherein, step 507 and step 508 pagination can be any.If the 2nd UE has generated response message according to the maximum sip message length information and the minimum MTU length information that calculate in step 505, do not perform step 508.
Step 509 a: UE calculates the best loaded length information of sip message according to the maximum sip message length information of the minimum MTU length information obtaining and reception.
If be the best loaded length information that a UE extracts sip message from the response message receiving in step 507, do not perform step 508-step 509.
Step 510 a: UE is according to the best loaded length communication sip message of the sip message obtaining.
In the embodiment of the present invention, calculated the best loaded length information of sip message by the 2nd UE.Referring to Fig. 6, method detailed flow process is as follows:
First, a UE, network element 102 and the 2nd UE all need to be registered in IMS.
Step 601 a: UE sends the empty bag of test sip message to the 2nd UE, and wherein, MTU length information is carried in this message Shen.
Step 602: network element 102 receives the empty bag of test sip message.Preferably, network element 102 can determine that sip message is for the empty bag of test sip message by type of message.
Step 603: network element 102 judges whether MTU length information that the empty bag of the test that receives sip message carries is greater than the MTU length information of network element 102.When judged result is when being, continue step 604; Otherwise continue step 605.
Step 604: the MTU length information that network element 102 carries according to the empty bag of local MTU length information refresh test sip message.
Wherein, if there are multiple network elements, repeating step 602-604.
Step 605: the empty bag of test sip message is sent to the 2nd UE by network element 102.
Step 606: the 2nd UE calculates the length information of the empty bag of the test sip message receiving, i.e. maximum sip message length information.
Step 607: the 2nd UE calculates the best loaded length information of sip message according to the empty maximum sip message length information that wraps the minimum MTU length information carrying in sip message and calculate of the test receiving.
Step 608: the 2nd UE is according to the best loaded length Information generation response message of the sip message calculating.
Step 609: this response message is sent to a UE by the 2nd UE.
Step 610 a: UE extracts the best loaded length information of sip message from the response message receiving.
Step 611 a: UE is according to the best loaded length communication sip message of the sip message obtaining.
In the embodiment of the present invention, UE101 is according to the best loaded length information of the maximum length information acquisition sip message of sip message head in minimum MTU length information and transmission link in transmission link; UE101 is according to the best loaded length communication sip message of the sip message obtaining.Wherein, UE101 deducts initial sip message length information with the maximum sip message length information obtaining and obtains the message header length information increasing, deduct the message header length information of described increase with minimum MTU length information, obtain the best loaded length information of sip message.Go out the best loaded length information of the sip message that can transmit in current network environment thereby realized one-time calculation, can maximally utilise transmitted data on network as far as possible.Wherein, can be by network element 102 relatively and upgrade the MTU length information that sip message carries, to obtain minimum MTU length, thereby obtain the best loaded length information of sip message.Make comparison and renewal process relatively in time, conveniently; Or the pre-stored MTU length information of a UE, network element 102 sends to the 2nd UE receiving in the MTU length information of self being carried to this sip message after sip message, the all MTU length informations that carry in the 2nd UE basis sip message receiving and the maximum sip message length information calculating generate response message, and this response message is sent to a UE, compare and obtain minimum MTU length information by a UE, thereby obtain the best loaded length information of sip message.Comparison and renewal complete by a UE like this, alleviate the burden of network element 102; Or network element 102 sends to the 2nd UE receiving in the MTU length information of self being carried to this sip message after sip message, the 2nd UE compares and obtains minimum MTU length information, generate response message according to the minimum MTU length information obtaining and the maximum sip message length information that calculates again, and this response message is sent to a UE, obtained the best loaded length information of sip message by a UE.Alleviate the burden of network element 102; Can also after sip message, calculate maximum sip message length information receiving by the 2nd UE, calculate the best loaded length information of sip message according to the minimum MTU length information carrying in the maximum sip message length information calculating and the sip message that receives, send to again a UE, avoid making a mistake in transmitting procedure and cause the result of calculation of a UE not accurate enough.
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 complete hardware implementation example, completely implement software example or the form in conjunction with the embodiment of software and hardware aspect.And the present invention can adopt the form at one or more upper computer programs of implementing of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) that wherein include computer usable program code.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be by 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 the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction that makes to carry out by the processor of computer or other programmable data processing device produces the device for realizing the function of specifying at flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of specifying in flow process of flow chart or multiple flow process and/or square frame of block diagram or multiple square frame on computer or other programmable devices.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if these amendments of the present invention and within modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.
Claims (7)
1. a method for transmission session initiation protocol sip message, is characterized in that, comprises the following steps:
User equipment (UE) is according to the best loaded length information of the maximum length information acquisition sip message of sip message head in minimax transmission unit MTU length information and transmission link in transmission link, be specially: the maximum sip message length information of UE deducts initial sip message length information and obtains the message header length information increasing, the message header length information of the increase described in deducting with minimum MTU length information obtains the best loaded length information of sip message;
UE, according to the best loaded length communication sip message of the sip message obtaining, is specially: UE is according to the best loaded length information of the sip message obtaining, and transmission total length information is no more than the sip message of this best loaded length information.
2. the method for claim 1, is characterized in that, described UE comprises as a UE of transmit leg and as recipient's the 2nd UE; UE is according to also comprising step before the best loaded length information of the maximum length information acquisition sip message of sip message head in minimum MTU length information and transmission link in transmission link:
The one UE sends sip message by network element to the 2nd UE, and the minimum MTU length information extracting in the 2nd UE basis sip message receiving and the sip message length information calculating generate response message, send to a UE; Or
The one UE sends sip message by network element to the 2nd UE, the 2nd UE calculates maximum sip message length information according to the sip message receiving, and generate response message according to all MTU length informations that receive and the maximum sip message length information that calculates, send to a UE; Or
The one UE sends sip message by network element to the 2nd UE, the 2nd UE compares all MTU length informations that carry in the sip message receiving and local MTU length information, obtain minimum MTU length information, and calculate maximum sip message length information according to the sip message receiving, generate response message according to minimum MTU length information and maximum sip message length information, send to a UE; Or
The 2nd UE receives by network element the sip message that a UE sends, and the 2nd UE extracts minimum MTU length information from the sip message receiving, and calculates maximum sip message length information according to the sip message receiving.
3. method as claimed in claim 2, it is characterized in that, the 2nd UE is that network element obtains by following steps according to the minimum MTU length information extracting in the sip message receiving: network element receives the sip message that carries MTU length information that a UE sends, when the MTU length information carrying when sip message is greater than local MTU length information, upgrade according to local MTU length information the MTU length information that sip message carries, and the MTU length information after upgrading is carried in sip message, send this sip message to the 2nd UE; Or
The 2nd UE obtains minimum MTU length information according to all MTU length informations that receive and obtains by following steps: network element receives the sip message that a UE sends, local MTU length information is carried in sip message, and forward this sip message to the 2nd UE, the 2nd UE compares all MTU length informations that carry in the sip message receiving and local MTU length information, obtains minimum MTU length information; Or
The one UE obtains minimum MTU length information according to all MTU length informations that receive and obtains by following steps: network element receives the sip message that a UE sends, local MTU length information is carried in sip message, and forward this sip message to the 2nd UE, the all MTU length informations that carry in the 2nd UE basis sip message receiving and the maximum sip message length information calculating generate response message, and send to a UE, the one UE compares all MTU length informations that carry in the response message receiving and local MTU length information, obtain minimum MTU length information.
4. the method as described in claim 1,2 or 3, is characterized in that, described sip message wraps message for test is empty or is business request information.
5. the method for claim 1, is characterized in that, in the time causing link to change because of network environment or business changes, UE obtains the best loaded length information of sip message again.
6. for a subscriber equipment for transmitting SIP message, it is characterized in that, comprising:
UE computing unit, be used for according to the best loaded length information of the maximum length information acquisition sip message of sip message head in the minimum MTU length information of transmission link and transmission link, be specially: the maximum sip message length information of UE deducts initial sip message length information and obtains the message header length information increasing, the message header length information of the increase described in deducting with minimum MTU length information obtains the best loaded length information of sip message;
UE Transmit-Receive Unit, for according to the best loaded length communication sip message of the sip message obtaining, is specially: UE is according to the best loaded length information of the sip message obtaining, and transmission total length information is no more than the sip message of this best loaded length information.
7. subscriber equipment as claimed in claim 6, is characterized in that, described subscriber equipment comprises as a UE of transmit leg and as recipient's the 2nd UE; UE computing unit is used for sending sip message by network element to the 2nd UE, and receives the response message of the minimum MTU length information extracting in the 2nd UE basis sip message receiving and the sip message length information generation calculating; Or
UE computing unit is for sending sip message by network element to the 2nd UE, and receives the response message that the 2nd UE generates according to all MTU length informations of receiving and the maximum sip message length information that calculates; Wherein, the 2nd UE calculates described maximum sip message length information according to the sip message receiving; Or
UE computing unit is for sending sip message by network element to the 2nd UE, and reception the 2nd UE is according to the response message of minimum MTU length information and the generation of maximum sip message length information; Wherein, the 2nd UE compares all MTU length informations that carry in the sip message receiving and local MTU length information, obtains minimum MTU length information, and calculates maximum sip message length information according to the sip message receiving; Or
UE computing unit, for receive the sip message that a UE sends by network element, extracts minimum MTU length information, and calculates maximum sip message length information according to the described sip message receiving from the sip message receiving.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010271346.7A CN101931630B (en) | 2010-09-01 | 2010-09-01 | Method, user equipment and network element for transmitting SIP message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010271346.7A CN101931630B (en) | 2010-09-01 | 2010-09-01 | Method, user equipment and network element for transmitting SIP message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101931630A CN101931630A (en) | 2010-12-29 |
CN101931630B true CN101931630B (en) | 2014-09-10 |
Family
ID=43370556
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010271346.7A Active CN101931630B (en) | 2010-09-01 | 2010-09-01 | Method, user equipment and network element for transmitting SIP message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101931630B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9521526B2 (en) * | 2012-09-28 | 2016-12-13 | Qualcomm Incorporated | Controlling the transfer of telematics data using session related signaling |
CN112804716B (en) * | 2020-12-29 | 2023-04-28 | 联想未来通信科技(重庆)有限公司 | Configuration method and device of data limit value and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1716944A (en) * | 2004-06-28 | 2006-01-04 | 杭州华为三康技术有限公司 | Method for discovering maximum transmission length of network path |
CN1909503A (en) * | 2005-08-05 | 2007-02-07 | 华为技术有限公司 | Method for detecting maximal transmission unit of path |
CN1988546A (en) * | 2006-12-15 | 2007-06-27 | 华为技术有限公司 | Method and system for obtaining conversation start protocol news transmission path |
-
2010
- 2010-09-01 CN CN201010271346.7A patent/CN101931630B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1716944A (en) * | 2004-06-28 | 2006-01-04 | 杭州华为三康技术有限公司 | Method for discovering maximum transmission length of network path |
CN1909503A (en) * | 2005-08-05 | 2007-02-07 | 华为技术有限公司 | Method for detecting maximal transmission unit of path |
CN1988546A (en) * | 2006-12-15 | 2007-06-27 | 华为技术有限公司 | Method and system for obtaining conversation start protocol news transmission path |
Also Published As
Publication number | Publication date |
---|---|
CN101931630A (en) | 2010-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104349176B (en) | Adaptive stream media system, method for down loading and streaming media server, user terminal | |
CN109739552A (en) | Micro services gray scale dissemination method, device, computer equipment and storage medium | |
CN104581374B (en) | A kind of method, node and server for obtaining section file and generating sub- m3u8 files | |
CN104185036B (en) | A kind of video file time source method and device | |
CN104205884A (en) | Multicast broadcast multimedia service-assisted content distribution | |
CN102394880B (en) | Method and device for processing jump response in content delivery network | |
CN106412034B (en) | Method for processing business and device | |
US9509793B2 (en) | Content caching in a network for efficient user device access | |
EP2670095A1 (en) | Mobile device email display processing method, server and mobile device | |
CN107547591A (en) | Upgrade server, set top box, set top box upgrading file delivery method and system | |
CN109788029A (en) | Gray scale call method, device, terminal and the readable storage medium storing program for executing of micro services | |
US9210101B2 (en) | Smart packaging for mobile applications | |
CN101706827A (en) | Method for caching file of embedded browser | |
CN110324405A (en) | Message method, device, system and computer readable storage medium | |
CN110321270A (en) | Single machine performance test methods, device and server | |
US9883364B2 (en) | Apparatus and method for transmitting handwriting animation message | |
CN101931630B (en) | Method, user equipment and network element for transmitting SIP message | |
CN107396136A (en) | A kind of video data acquisition methods, device, server and medium | |
CN104471904A (en) | Content optimization based on real time network dynamics | |
CN103546829A (en) | Method and device for processing video service | |
CN110086703A (en) | A kind of method for message transmission and device based on Transmission Control Protocol | |
CN107734397A (en) | Television advertisement obtaining and displaying method, advertisement server, television and system | |
CN101227432A (en) | Method for message conversion, system, apparatus and method of access | |
CN108881493A (en) | A kind of Task Progress information-pushing method, device and equipment | |
CN111628902B (en) | Rate testing method and apparatus, electronic device, and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |