CN101931630A - Method, user equipment and network element for transmitting SIP message - Google Patents

Method, user equipment and network element for transmitting SIP message Download PDF

Info

Publication number
CN101931630A
CN101931630A CN2010102713467A CN201010271346A CN101931630A CN 101931630 A CN101931630 A CN 101931630A CN 2010102713467 A CN2010102713467 A CN 2010102713467A CN 201010271346 A CN201010271346 A CN 201010271346A CN 101931630 A CN101931630 A CN 101931630A
Authority
CN
China
Prior art keywords
sip message
length information
message
mtu
mtu length
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010102713467A
Other languages
Chinese (zh)
Other versions
CN101931630B (en
Inventor
乔海荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201010271346.7A priority Critical patent/CN101931630B/en
Publication of CN101931630A publication Critical patent/CN101931630A/en
Application granted granted Critical
Publication of CN101931630B publication Critical patent/CN101931630B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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

A kind of method of transmitting SIP message, subscriber equipment and network element
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, and it is bringing into play the important function that becomes increasingly conspicuous at fixed network and mobile network in the process that next generation network (NGN) strides forward.
SIP is based on the agreement of text, is similar to HTTP (HTML (Hypertext Markup Language)).This protocol message form comprises first trip, message header and message body three parts.Promoter and recipient that indispensable keyword From and To by message header comes identification request.Wherein, message is every through a network element, the VIA of message header (routing iinformation) sign all will with host name or the network address (may also have port numbers) of SIP network element of process preserve.
Sip message is to send to AS (application server) or other UE by transmitting terminal UE (subscriber equipment) by IMS.And be conditional based on the byte number of the sip message of UDP (User Datagram Protoco (UDP)) mode, can not allow maximum sip message length (being the VIA information that the SIP initial message adds to be increased through after all network elements that should pass through) surpass arbitrary MTU length (MaximumTransmission Unit that passes through network element, MTU), also promptly, maximum sip message length must be less than or equal to minimum MTU length.
In the sip message transmission course, when network element detected the sip message length of receiving and surpassed the MTU length of self, this network element can return error code to the promoter, does not handle this sip message.Then, SIP request promoter generally is that the length with sip message suitably reduces the back and attempts sending once more, if certain network element has returned error code once more, then again this sip message length is reduced, send, so circulation is adjusted, up to can successfully being sent completely again.This process of transmitting may need repeatedly to attempt, and the Internet resources into its distribution are underused in the delay that takies more Internet resources and cause transmitting, and the also loaded length of only sip message not necessarily that finally obtains.
Summary of the invention
The embodiment of the invention provides a kind of method, subscriber equipment and network element of transmitting SIP message, is used to be implemented in transmitting SIP message after the best loaded length information of knowing sip message, thereby can maximally utilises transmitted data on network as far as possible.
A kind of method of transmitting SIP message may further comprise the 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 the transmission link in the transmission link;
UE is according to the best loaded length message transmission sip message of the sip message that obtains.
A kind of subscriber equipment that is used for transmitting SIP message comprises:
The UE computing unit is used for the best loaded length information according to the maximum length information acquisition sip message of sip message head in minimum MTU length information of transmission link and the transmission link;
The UE Transmit-Receive Unit is used for the best loaded length message transmission sip message according to the sip message that obtains.
A kind of network element is used for transmitting SIP message, and provides local MTU length information to UE, so that UE transmitting SIP message after knowing the best loaded length information of sip message, this network element comprises:
Transmit-Receive Unit is used to receive the sip message of UE transmission and sends sip message to UE; Wherein, carry local MTU length information in the sip message of transmission;
Comparing unit, be used for MTU length information and local MTU length information that the comparison sip message carries, the MTU length information that carries when sip message is during greater than the MTU length information of this locality, upgrades the MTU length information that sip message carries according to the MTU length information of this locality.
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 the transmission link in the transmission link in the embodiment of the invention; UE is according to the best loaded length message transmission sip message of the sip message that obtains.Wherein, UE deducts the message header length information that initial sip message length information obtains increasing with the maximum sip message length information that calculates, and the message header length information that deducts described increase with the minimum MTU length information of acquisition obtains the best loaded length information of sip message.Thereby realized that one-time calculation goes out the best loaded length information of the sip message that can transmit in the current network environment, can maximally utilise transmitted data on network as far as possible.
Description of drawings
Fig. 1 is the primary structure figure of the system of transmitting SIP message in the embodiment of the 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 invention;
Fig. 2 B is the cut-away view of network element in the system of transmitting SIP message in the embodiment of the invention;
Fig. 3 is the main flow chart of the method for transmitting SIP message in the embodiment of the invention;
Fig. 4 is the detail flowchart of the method for transmitting SIP message in the embodiment of the invention;
Fig. 5 in the embodiment of the invention by a UE relatively and the empty bag of refresh test sip message carry the 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 when calculating the best loaded length information of sip message by the 2nd UE in the embodiment of the invention.
Embodiment
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 the transmission link in the transmission link in the embodiment of the invention; UE is according to the best loaded length message transmission sip message of the sip message that obtains.Wherein, UE deducts the message header length information that initial sip message length information obtains increasing with the maximum sip message length information that calculates, and the message header length information that deducts described increase with the minimum MTU length information of acquisition obtains the best loaded length information of sip message.Thereby realized that one-time calculation goes out the best loaded length information of the sip message that can transmit in the current network environment, can maximally utilise transmitted data on network as far as possible.
In embodiments of the present invention, message header just comprised first trip (if the request, then the first trip form comprises URI, the protocol version of method, request, finishes with new line character CRLF; If response, then the first trip form comprises protocol version, conditional code and the textual description relevant with conditional code, finishes with new line character CRLF.)+message header header field (having comprised information such as recipient as promoter, the request of request, maximum hop count).Length information can be concrete length value, also can be the binary coding of length value or the coding of other form etc.Transmission link is meant the link that all network elements of the required process of transmitting SIP message constitute, and this transmission link can or professionally change etc. former thereby changes at any time because of network environment.Minimum MTU length information is meant minimum in the MTU length information that each network element disposed in a transmission link MTU length information in the transmission link.Sip message every length information through a network element sip message head in transmission link all can change, in transmission course when sip message during through last network element, the maximum length information that its message header length information is a sip message head in this transmission link.
Referring to Fig. 1, the system of transmitting SIP message comprises UE101 (subscriber equipment), reaches network element 102 in the embodiment of the invention.Wherein, network element 102 may comprise one or more network elements.UE101 and network element 102 all are arranged in IMS.Preferable, sip message is an example to test empty bag sip message in the present embodiment, with the more convenient best loaded length information that obtains sip message.
UE101 is used for the best loaded length information according to the maximum length information acquisition sip message of sip message head in minimum MTU length information of transmission link and the transmission link, reaches the best loaded length message transmission sip message according to the sip message that obtains.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 and professional relevant information, is convenient to obtain the initial length of sip message, so more help obtaining the best loaded length information of sip message.When sip message is business request information, do not need to send separately the empty bag of test sip message, Internet resources have been 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 influence Network 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 carries filled in certain spare field, wherein, the MTU length value that carries can be bigger again than maximum MTU length possible in each network element, so that network element upgrades the MTU length information that sip message carries with the MTU length of self, and then obtain minimum MTU length information, so need to estimate MTU length as far as possible than significantly, maximally utilise Internet resources; The MTU length value that perhaps carries is the MTU length value of UE this locality according to the performance default configuration.UE101 needs to preserve the initial message length information of this message before sending the empty bag of test sip message, so that calculate the message header length information that increases, and calculate the best loaded length information of sip message according to the message header length information of minimum MTU length information and increase according to the maximum sip message length information that obtains and this initial message length information.UE101 calculates the best loaded length information of sip message according to the corresponding information that carries in the response message that receives.UE101 is after receiving the response message that returns, extract the minimum MTU length information that carries in this response message and calculate maximum sip message length information, and calculate best loaded length information according to this minimum MTU length information and maximum sip message length information.Preferable, deduct the message header length information that initial sip message length information obtains increasing with the maximum sip message length information that obtains, the message header length information that deducts described increase 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 is meant the message header length information+message body length information of the sip message that can send.When needs sent a sip message, its initial message head length degree information was known, deducted the maximum message body length information that this known initial message head length degree information can obtain the sip message that can send with the best loaded length information of sip message.So just obtained best SIP carrying content-length information.UE101 also is used for receiving sip message by network element, carry the MTU length information and opposite end UE (UE) the MTU length information of each network element in this message, all MTU length informations that UE (the 2nd UE) will receive and local MTU length information compare, obtain minimum MTU length information, and the sip message that basis receives calculates maximum sip message length information, and, send to opposite end UE (UE) according to the minimum MTU length information of acquisition and the maximum sip message length information generation response message that calculates.Perhaps, UE (the 2nd UE) generates response message according to the MTU length information of each network element that receives and local MTU length information, sends to opposite end UE (UE).And, can also utilize the periodic refreshing function of SUBSCRIBE method to come timing to obtain the best loaded length information of sip message, be the empty bag of timed sending test sip message, thereby can tackle the change that the MTU length information of the network element 102 that causes because of change of network environment or network element 102 takes place at any time.Perhaps, UE101 receives after the empty bag of the test sip message, calculate the empty bag of current test sip message length information, maximum message head length degree information after the empty bag of the test of this moment sip message length information comprises initial message body length information and increases 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,, be called a UE,, be called the 2nd UE as UE during as the recipient as UE during as transmit leg.
Network element 102 is used to receive the sip message of UE101 transmission and sends sip message to the UE101 of the other end, wherein, carries local MTU length information in the sip message of transmission, and compares MTU length information and local MTU length information that sip message carries.Network element 102 specifically is used for the empty bag of acceptance test sip message, the MTU length information that the empty bag of this test sip message is carried compares with local MTU length information, if the MTU length information that the empty bag of test sip message carries is greater than the MTU length information of this locality, then wrap the MTU length information that sip message carries, and will test the UE101 that empty bag sip message sends the next network element 102 or the other end to according to the MTU length information refresh test of this locality is empty.Wherein, network element 102 is a plurality of.Perhaps network element 102 is carried at the MTU length information of this locality in this message behind the sip message that receives the UE101 transmission, and this message is sent to opposite end UE101.
Referring to Fig. 2 A, be the internal structure schematic diagram of UE101 in the system of present embodiment transmitting SIP message.Be that UE101 comprises UE Transmit-Receive Unit 1011, generation unit 1012, memory cell 1013 and UE computing unit 1014 in the present embodiment.UE can also comprise UE comparing unit 1015.
UE Transmit-Receive Unit 1011 is used to send the response message that the empty bag of test sip message, transmission response message and reception are returned.Wherein, carry minimum MTU length information in the empty bag of the test of the transmission sip message.Can be the empty bag of this test sip message to be sent to the 2nd UE as the recipient as a UE of transmit leg.UE Transmit-Receive Unit 1011 also is used for the empty bag of acceptance test sip message, after calculating maximum sip message length information by UE computing unit 1014 according to the empty bag of the test that receives sip message, return response message to a UE, wherein, can be this response message to be sent to a UE as transmit leg as recipient's the 2nd UE.Wherein carry the maximum sip message length information that the minimum MTU length information that receives and UE computing unit 1014 calculate in this response message, wherein, in response message, separate preservation with English comma between minimum MTU length information and the maximum sip message length information, value before the comma is called first value, be minimum MTU length information, the value behind the comma is called second value, is maximum sip message length information.Perhaps, do not carry minimum MTU length information in the empty bag of the test that the receives sip message, then only comprise maximum sip message length information in the response message, the maximum sip message length information that 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.Perhaps, the MTU length information that comprises maximum sip message length information and each network element in the response message, the MTU length information of this locality of storage compares in all MTU length informations that will be received by UE comparing unit 1015 and the memory cell 1013, obtains minimum MTU length information.
Generation unit 1012 is used to generate the empty bag of the test sip message that carries the MTU length information.Generation unit 1012 specifically is used for type and comprises request message/the obtain sip message of message-length (application/get-msglen), promptly 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 carries filled in certain spare field, wherein, the MTU length value that carries can be bigger again than maximum MTU length possible in each network element, for example this length information can be 9999, so that network element upgrades the MTU length information that sip message carries with the MTU length of self, and then obtain minimum MTU length information, so need to estimate MTU length as far as possible than significantly, maximally utilise Internet resources; The MTU length value that perhaps carries is the MTU length value of UE this locality according to the performance default configuration.
Memory cell 1013 is used for storing initial sip message length information.Calculate the best loaded length information of sip message for UE computing unit 1014.Memory cell 1013 also is used to store the MTU length information that the empty bag of test sip message carries.
UE computing unit 1014 is used for the best loaded length information according to the maximum length information acquisition sip message of sip message head in minimum MTU length information of transmission link and the transmission link.UE computing unit 1014 specifically is used for after UE Transmit-Receive Unit 1011 receives sip message, from this message, extract minimum MTU length information and calculate maximum sip message length information, and calculate the best loaded length information of sip message according to this minimum MTU length information and maximum sip message length information according to this message.Wherein, deduct the message header length information that initial sip message length information obtains increasing with the maximum sip message length information that obtains, the message header length information that deducts described increase with minimum MTU length information obtains the best loaded length information of sip message.Wherein, the best loaded length information of sip message is meant the message header length information+message body length information of the sip message that can send.When UE101 need send a sip message, its initial message head length degree information was known, deducted the maximum message body length information that this known initial message head length degree information promptly is the sip message that can send with the best loaded length information of sip message.UE computing unit 1014 also is used for after calculating maximum sip message length information and UE comparing unit 1015 according to the sip message that receives and obtaining 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.
The MTU length information that UE comparing unit 1015 is used for this locality of all MTU length informations that UE Transmit-Receive Unit 1011 is received and memory cell 1013 storages compares, and obtains minimum MTU length information.
Referring to Fig. 2 B, network element 102 comprises Transmit-Receive Unit 1021 and comparing unit 1022 in the present embodiment.
Transmit-Receive Unit 1021 is used to receive the test empty bag sip message of UE transmission and sends 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 UE transmission, in message header, add network element 102 corresponding informations, after the MTU length information of MTU length information that the empty bag of test that 1022 pairs of comparing units receive sip message carries and network element 102 compares and upgrades, will test the empty sip message that wraps and send to opposite end the 2nd UE.Transmit-Receive Unit 1021 also is used for sending the empty bag of this test sip message to the 2nd UE after receiving the empty bag of the test sip message of UE transmission, carries local MTU length information in the test sky bag sip message of this transmission.
Comparing unit 1022 is used for MTU length information and the local MTU length information that the comparison sip message carries, the MTU length information that carries when sip message is during greater than the MTU length information of this locality, upgrades the MTU length information that sip message carries according to the MTU length information of this locality.
Obtain the method for the best carrying size of sip message below by realization flow introduction.
The embodiment of the invention is introduced the main method of transmitting SIP message.Referring to Fig. 3, method flow is as follows:
At first, UE101 and network element 102 all need be registered among the 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 the transmission link in the transmission link.
Wherein, can be that a UE calculates, also can be the 2nd UE calculates.The maximum length information of sip message head all is included in the message in described minimum MTU length information and the transmission link, and this message can be request message, also can be response message.
Wherein, deduct the message header length information that initial sip message length information obtains increasing with the maximum sip message length information that obtains, the message header length information that deducts described increase with minimum MTU length information obtains the best loaded length information of sip message.
Step 302:UE101 is according to the best loaded length message transmission sip message of the sip message that obtains.
The MTU length information that network element 102 acceptance tests empty bag sip message and the empty bag of refresh test sip message carry in the embodiment of the invention.Referring to Fig. 4, the detailed method flow process is as follows:
At first, a UE, network element 102 and the 2nd UE all need be registered among the IMS.
Step 401: a UE sends the empty bag of test sip message to the 2nd UE, wherein, carries the MTU length information in this message.
Step 402: the empty bag of network element 102 acceptance tests sip message.Preferable, network element 102 can determine that sip message is the empty bag of test sip message by type of message.
Step 403: network element 102 judges that MTU length information that the empty bag of the test sip message that receives carries is whether greater than the MTU length information of this locality.When judged result when being, continue step 404; Otherwise continue step 405.
Step 404: network element 102 wraps the MTU length information that sip message carries according to the MTU length information refresh test sky of this locality.
Wherein, if a plurality of network elements are arranged, repeating step 402-404 then.
Step 405: network element 102 will be tested empty bag sip message and send to the 2nd UE.
Step 406: the 2nd UE calculates the length information of the empty bag of the test sip message that receives, promptly maximum sip message length information.
Step 407: the 2nd UE generates response message according to minimum MTU length information that carries in the empty bag of the test that the receives sip message and the maximum sip message length information that calculates.
Perhaps 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, generates response message according to the best loaded length information of this sip message.
Step 408: the 2nd UE sends to a UE with response message.The 2nd UE sends to a UE by 200OK with response message.
Step 409: a UE extracts minimum MTU length information and maximum sip message length information from the response message that receives.
If the best loaded length information of the sip message that step 407 is the 2nd a UE basis to be calculated has generated response message, then this step is a UE extracts sip message from the response message that receives a best loaded length information.
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.
If step 409 is a UE extracts sip message from the response message that receives a best loaded length information, then step 410 can not carried out.
Step 411: a UE is according to the best loaded length message transmission sip message of the sip message that obtains.
Wherein, deduct the message header length information that initial sip message length information obtains increasing with the maximum sip message length information that obtains, the message header length information that deducts described increase with minimum MTU length information obtains the best loaded length information of sip message.
Wherein, the best loaded length information of sip message is meant the message header length information+message body length information of the sip message that can send.When UE101 need send a sip message, its initial message head length degree information was known, deducted the maximum message body length information that this known initial message head length degree information promptly is the sip message that can send with the best loaded length information of sip message.
Behind the empty bag of the network element 102 acceptance tests sip message self MTU length information is carried at empty the bag in sip message of this test in the embodiment of the invention and sends to the 2nd UE, the 2nd UE returns response message to a UE, and a UE relatively also refresh test sky wraps the MTU length information that sip message carries.Referring to Fig. 5, the detailed method flow process is as follows:
At first, a UE, network element 102 and the 2nd UE all need be registered among the IMS.The one UE is store M TU length information before sending the empty bag of test sip message.
Step 501: a UE sends the empty bag of test sip message to the 2nd UE.
Step 502: the empty bag of network element 102 acceptance tests sip message.Preferable, network element 102 can determine that sip message is 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 a plurality of network elements are arranged, repeating step 502-step 503 then.
Step 504: the 2nd UE calculates the length information of the empty bag of the test sip message that receives, promptly 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.
Perhaps the 2nd UE all MTU length informations that will receive and local MTU length information compare, and obtain minimum MTU length information, and generate response message according to the maximum sip message length information that calculates and this minimum MTU length information.
Perhaps the 2nd UE also can calculate the best loaded length information of sip message according to the minimum MTU length information that obtains and the maximum sip message length information that calculates, and generates response message according to the best loaded length information of this sip message.
Step 506: the 2nd UE sends to a UE with response message.
Step 507: a UE extracts maximum sip message length information from the response message that receives.
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 the step 505, then this step is that a UE extracts maximum sip message length information and minimum MTU length information from the response message that receives.
If the 2nd UE has generated response message according to the best loaded length information of sip message in the step 505, then this step is a UE extracts sip message from the response message that receives a best loaded length information.
Step 508: all MTU length informations that a UE will receive and local MTU length information compare, and obtain minimum MTU length information.
Wherein, step 507 and step 508 order 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 the step 505, execution in step 508 not then.
Step 509: a UE calculates the best loaded length information of sip message according to the maximum sip message length information of minimum MTU length information that obtains and reception.
If in the step 507 be a UE extracts sip message from the response message that receives best loaded length information, execution in step 508-step 509 not then.
Step 510: a UE is according to the best loaded length message transmission sip message of the sip message that obtains.
Calculate the best loaded length information of sip message in the embodiment of the invention by the 2nd UE.Referring to Fig. 6, the detailed method flow process is as follows:
At first, a UE, network element 102 and the 2nd UE all need be registered among the IMS.
Step 601: a UE sends the empty bag of test sip message to the 2nd UE, wherein, carries the MTU length information in this message.
Step 602: the empty bag of network element 102 acceptance tests sip message.Preferable, network element 102 can determine that sip message is the empty bag of test sip message by type of message.
Step 603: network element 102 judges that MTU length information that the empty bag of the test sip message that receives carries is whether greater than the MTU length information of network element 102.When judged result when being, continue step 604; Otherwise continue step 605.
Step 604: network element 102 wraps the MTU length information that sip message carries according to the MTU length information refresh test sky of this locality.
Wherein, if a plurality of network elements are arranged, repeating step 602-604 then.
Step 605: network element 102 will be tested empty bag sip message and send to the 2nd UE.
Step 606: the 2nd UE calculates the length information of the empty bag of the test sip message that receives, promptly 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 that carries in the sip message and calculate of the test that receives.
Step 608: the 2nd UE generates response message according to the best loaded length information of the sip message that calculates.
Step 609: the 2nd UE sends to a UE with this response message.
Step 610: a UE extracts the best loaded length information of sip message from the response message that receives.
Step 611: a UE is according to the best loaded length message transmission sip message of the sip message that obtains.
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 the transmission link in the transmission link in the embodiment of the invention; UE101 is according to the best loaded length message transmission sip message of the sip message that obtains.Wherein, UE101 deducts the message header length information that initial sip message length information obtains increasing with the maximum sip message length information that obtains, deduct the message header length information of described increase with minimum MTU length information, obtain the best loaded length information of sip message.Thereby realized that one-time calculation goes out the best loaded length information of the sip message that can transmit in the current network environment, can maximally utilise transmitted data on network as far as possible.Wherein, can be relatively and upgrade the MTU length information that sip message carries by network element 102, obtaining minimum MTU length, thereby obtain the best loaded length information of sip message.Make and relatively reach renewal process relatively in time, conveniently; Perhaps UE store M TU length information in advance, network element 102 is carried at self MTU length information after receiving sip message and sends to the 2nd UE in this sip message, all MTU length informations that carry in the 2nd UE basis sip message that receives and the maximum sip message length information that calculates generate response message, and this response message sent to a UE, compare and obtain minimum MTU length information by a UE, thereby obtain the best loaded length information of sip message.So relatively reach renewal and finish, alleviate the burden of network element 102 by a UE; Perhaps network element 102 is carried at self MTU length information after receiving sip message and sends to the 2nd UE in this sip message, the 2nd UE compares and obtains minimum MTU length information, generate response message according to the minimum MTU length information of acquisition and the maximum sip message length information that calculates again, and this response message sent to a UE, obtain the best loaded length information of sip message by a UE.Alleviated the burden of network element 102; Can also after receiving sip message, calculate maximum sip message length information by the 2nd UE, calculate the best loaded length information of sip message according to the minimum MTU length information that carries in maximum sip message length information that calculates and the sip message that receives, send to a UE again, avoid in transmission course, making a mistake and cause the result of calculation of a UE not accurate enough.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware embodiment, complete software implementation example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form that goes up the computer program of implementing in one or more 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 that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the 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, make the instruction of carrying out by the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
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, make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device, make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of carrying out on computer or other programmable devices is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. the method for a transmission session initiation protocol sip message is characterized in that, may further comprise the 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 minimum MTU MTU length information and the transmission link in the transmission link;
UE is according to the best loaded length message transmission sip message of the sip message that obtains.
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; Also comprise step before the best loaded length information of UE according to the maximum length information acquisition sip message of sip message head in minimum MTU length information and the transmission link in the transmission link:
The one UE sends sip message by network element to the 2nd UE, and minimum MTU length information that extracts in the 2nd UE basis sip message that receives and the sip message length information that calculates generate response message, send to a UE; Perhaps
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 that receives, 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; Perhaps
The one UE sends sip message by network element to the 2nd UE, the 2nd UE compares all MTU length informations and the local MTU length information that carries in the sip message that receives, obtain minimum MTU length information, and the sip message that basis receives calculates maximum sip message length information, generate response message according to minimum MTU length information and maximum sip message length information, send to a UE; Perhaps
The 2nd UE receives the sip message that a UE sends by network element, and the 2nd UE extracts minimum MTU length information from the sip message that receives, and calculates maximum sip message length information according to the sip message that receives.
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 that extracts in the sip message that receives: network element receives the sip message that carries the MTU length information that a UE sends, the MTU length information that carries when sip message is during greater than the MTU length information of this locality, MTU length information according to this locality upgrades the MTU length information that sip message carries, and the MTU length information after will upgrading is carried in the sip message, sends this sip message to the 2nd UE; Perhaps
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, the MTU length information of this locality is carried in the sip message, and transmit this sip message to the 2nd UE, the 2nd UE compares all MTU length informations and the local MTU length information that carries in the sip message that receives, and obtains minimum MTU length information; Perhaps
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, the MTU length information of this locality is carried in the sip message, and transmit this sip message to the 2nd UE, all MTU length informations that carry in the 2nd UE basis sip message that receives and the maximum sip message length information that calculates generate response message, and send to a UE, the one UE compares all MTU length informations and the local MTU length information that carries in the response message that receives, and obtains minimum MTU length information.
4. method as claimed in claim 1 or 2, it is characterized in that, UE comprises according to the step of the best loaded length information of the maximum length information acquisition sip message of sip message head in minimum MTU length information and the transmission link in the transmission link: UE deducts the message header length information that initial sip message length information obtains increasing with maximum sip message length information, and the message header length information that deducts described increase with minimum MTU length information obtains the best loaded length information of sip message.
5. the method for claim 1, it is characterized in that, UE comprises according to the step of the best loaded length message transmission sip message of the sip message that obtains: UE sends the sip message that total length information is no more than this best loaded length information according to the best loaded length information of the sip message that obtains.
6. as claim 1,2,3 or 5 described methods is characterized in that, described sip message wraps message for test is empty or is business request information.
7. the method for claim 1 is characterized in that, when causing link to change because of network environment or business when changing, UE obtains the best loaded length information of sip message once more.
8. the method for a transmitting SIP message is characterized in that, may further comprise the steps:
Network element receives the sip message that carries the MTU length information that UE sends;
MTU length information that the sip message that network element is relatively received is entrained and local MTU length information, the MTU length information that carries when sip message is during greater than the MTU length information of this locality, MTU length information according to this locality upgrades the MTU length information that sip message carries, and the MTU length information after will upgrading is carried in the sip message;
Network element sends the sip message that carries the MTU length information.
9. a subscriber equipment that is used for transmitting SIP message is characterized in that, comprising:
The UE computing unit is used for the best loaded length information according to the maximum length information acquisition sip message of sip message head in minimum MTU length information of transmission link and the transmission link;
The UE Transmit-Receive Unit is used for the best loaded length message transmission sip message according to the sip message that obtains.
10. subscriber equipment as claimed in claim 9 is characterized in that, described subscriber equipment comprises as a UE of transmit leg and as recipient's the 2nd UE; The UE computing unit is used for sending sip message by network element to the 2nd UE, and receives the response message of minimum MTU length information that extracts in the 2nd UE basis sip message that receives and the sip message length information generation that calculates; Perhaps
The UE computing unit is used 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 that receive 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 that receives; Perhaps
The UE computing unit is used for sending sip message by network element to the 2nd UE, and receives the response message of the 2nd UE according to minimum MTU length information and the generation of maximum sip message length information; Wherein, the 2nd UE compares all MTU length informations and the local MTU length information that carries in the sip message that receives, and obtains minimum MTU length information, and calculates maximum sip message length information according to the sip message that receives; Perhaps
The UE computing unit is used for receiving the sip message that a UE sends by network element, extracts minimum MTU length information from the sip message that receives, and calculates maximum sip message length information according to the described sip message that receives.
11. a network element is characterized in that, is used for transmitting SIP message, and provides local MTU length information to UE, so that UE transmitting SIP message after knowing the best loaded length information of sip message, this network element comprises:
Transmit-Receive Unit is used to receive the UE transmission and carries the sip message of MTU length information and the sip message that the MTU length information is carried in transmission;
Comparing unit, MTU length information that the sip message that is used for relatively receiving is entrained and local MTU length information, the MTU length information that carries when sip message is during greater than the MTU length information of this locality, MTU length information according to this locality upgrades the MTU length information that sip message carries, and the MTU length information after will upgrading is carried in the sip message.
CN201010271346.7A 2010-09-01 2010-09-01 Method, user equipment and network element for transmitting SIP message Active CN101931630B (en)

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 true CN101931630A (en) 2010-12-29
CN101931630B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099110A (en) * 2012-09-28 2019-08-06 高通股份有限公司 Use the transmitting of session related signaling control telematics data
CN112804716A (en) * 2020-12-29 2021-05-14 联想未来通信科技(重庆)有限公司 Method and device for configuring data limit value and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110099110A (en) * 2012-09-28 2019-08-06 高通股份有限公司 Use the transmitting of session related signaling control telematics data
CN110099110B (en) * 2012-09-28 2021-10-29 高通股份有限公司 Controlling delivery of telematics data using session-related signaling
CN112804716A (en) * 2020-12-29 2021-05-14 联想未来通信科技(重庆)有限公司 Method and device for configuring data limit value and storage medium

Also Published As

Publication number Publication date
CN101931630B (en) 2014-09-10

Similar Documents

Publication Publication Date Title
CN104349176B (en) Adaptive stream media system, method for down loading and streaming media server, user terminal
CN105052107B (en) Media content Adaptive Transmission is carried out using quality information
CN109739552A (en) Micro services gray scale dissemination method, device, computer equipment and storage medium
CN108667719B (en) Real-time message transmission method and system
CN108449409B (en) Animation pushing method, device, equipment and storage medium
CN104205884A (en) Multicast broadcast multimedia service-assisted content distribution
CN110557689B (en) Video playing method and device
EP2670095A1 (en) Mobile device email display processing method, server and mobile device
CN110324405A (en) Message method, device, system and computer readable storage medium
CN101706827A (en) Method for caching file of embedded browser
CN109788029A (en) Gray scale call method, device, terminal and the readable storage medium storing program for executing of micro services
CN107547591A (en) Upgrade server, set top box, set top box upgrading file delivery method and system
US20120290688A1 (en) Method and apparatus for dynamically generating media sequences on demand for http live streaming
US9883364B2 (en) Apparatus and method for transmitting handwriting animation message
CN110321270A (en) Single machine performance test methods, device and server
CN110032697A (en) Image processing method, device, computer equipment and storage medium
CN107251529B (en) Method and apparatus for transmitting and receiving information between servers in content transmission network system
CN109491976A (en) A kind of storing data analytic method, device and relevant device
CN101931630B (en) Method, user equipment and network element for transmitting SIP message
CN106101184B (en) A kind of document down loading method and playback equipment
CN108881493A (en) A kind of Task Progress information-pushing method, device and equipment
CN101635742A (en) Downloading method and device
CN111628902B (en) Rate testing method and apparatus, electronic device, and computer-readable storage medium
CN105224573B (en) A kind of regular data configuration method and device, system
US20170289229A1 (en) Method and terminal device for providing multimedia content

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