CN100455048C - Method for transferring text message - Google Patents

Method for transferring text message Download PDF

Info

Publication number
CN100455048C
CN100455048C CNB2005101028166A CN200510102816A CN100455048C CN 100455048 C CN100455048 C CN 100455048C CN B2005101028166 A CNB2005101028166 A CN B2005101028166A CN 200510102816 A CN200510102816 A CN 200510102816A CN 100455048 C CN100455048 C CN 100455048C
Authority
CN
China
Prior art keywords
message
text message
parameter
party
text
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.)
Expired - Fee Related
Application number
CNB2005101028166A
Other languages
Chinese (zh)
Other versions
CN1856133A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101028166A priority Critical patent/CN100455048C/en
Priority to PCT/CN2006/000873 priority patent/WO2006116942A1/en
Publication of CN1856133A publication Critical patent/CN1856133A/en
Application granted granted Critical
Publication of CN100455048C publication Critical patent/CN100455048C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention discloses a method for transferring a text message. The method comprises the following steps: the positions of message parameters related to a text message are ordered, corresponding position numbers are set for the message parameters according to the ordered positions, and a text message template is arranged on the basis of the message parameters and the position numbers corresponding to the message parameters; a first party of a network side and a terminal determines the position numbers corresponding to the message parameters required by the text message according to the text message template and constructs the text message according to the information of the determined position numbers and values of the message parameters required by the text message; a second party of the network side and the terminal obtains the message parameter in the text message and the values of the message parameters according to the text message template, the information of the position numbers in the text message and the values of the message parameters required by the text message. The present invention greatly reduces network bandwidth resources occupied by the transmission of text messages, and network performance is optimized.

Description

A kind of method that reduces the network bandwidth resources that text message takies
Technical field
The present invention relates to mobile communication technology, be specifically related to a kind of method that reduces the network bandwidth resources that text message takies.
Background technology
Text message is a kind of message based on text formatting, and just, the pairing character string of each information is no longer carried out the coding of any way in the message, so that people's development and application.The text message of often using when terminal and network side communicate comprises message such as utility cession initiation protocol (SIP), Session Description Protocol (SDP) and extend markup language (XML) agreement.
Yet, because the pairing character string of each information is not carried out the coding of any way in the text message, and the pairing character string of each information has been carried out the coding of ad hoc fashion in other coded message, therefore caused text message than general coded message, a lot of greatly such as the message-length of binary coding message and ASN.1 coded format message etc.Such as, the message-length of the INVITE in text message such as the SIP conversation message is approximately 1.5K byte, and the message-length of a binary coding message is approximately several bytes.Like this, terminal (UE) or network side will take a large amount of network bandwidth resources when transferring text, thereby have greatly reduced the performance of network.
This shows how to reduce the shared network bandwidth resources of transferring text, become a problem demanding prompt solution.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method that reduces the network bandwidth resources that text message takies, to reduce the shared network bandwidth resources of transferring text.
In order to achieve the above object, technical scheme of the present invention is achieved in that
A kind of method that reduces the network bandwidth resources that text message takies, this method comprises:
A, the related message parameter of text message is carried out position ordering, and according to the position after the ordering for this message parameter is provided with corresponding Position Number, utilize the Position Number of this message parameter and correspondence thereof to set up the text message template then;
First party among B, network side and the terminal is constructed this text message according to the value of text message template and the required message parameter of this text message, and this text message that is constructed is sent to second party among network side and the terminal;
C, this second party are obtained the message parameter and the value thereof of carrying in this text message according to the text message template.
In step B, the step that described first party is constructed this text message according to the value of text message template and the required message parameter of this text message comprises: described first party is determined the Position Number of the required message parameter correspondence of this text message according to the text message template, constructs this text message according to the information of determined Position Number and the value of the required message parameter of this text message then;
Described step C comprises: described second party is obtained the message parameter and the value thereof of carrying in this text message according to the information of the Position Number in text message template, this text message and the value of the required message parameter in this text message.
In steps A, carry out the step of the ordering of described position, setting and foundation by terminal;
The text message template of network side institute basis is obtained from end.
This method further comprises: ordering rule is set;
In steps A, the described step that the related message parameter of text message is carried out sorting the position comprises: according to set ordering rule the related message parameter of text message is carried out the position ordering.
In steps A, carry out the step of the ordering of described position, setting and foundation respectively by network side and terminal.
In steps A, carry out the step of the ordering of described position, setting and foundation by network side;
The text message template of terminal institute basis is obtained from network side.
Described obtaining comprises: terminal is initiated register requirement to network side, and network side is carried at described text message template and is sent to terminal in the registration reply message; Or network side is sent to terminal by the aerial OTA mode of transmitting with described text message template; Or terminal is downloaded from specified web and is obtained described text message template.
In steps A, comprise first message parameter that has a plurality of attributes in the message parameter that described text message relates to;
In steps A, the described step of carrying out position ordering and the correspondence position numbering being set comprises: for related each message parameter that comprises first message parameter of text message carries out the position ordering, and be that related each message parameter that comprises first message parameter of text message is provided with corresponding Position Number according to the position after the ordering;
Be after first message parameter is provided with corresponding Position Number, and before setting up the text message template, described steps A further comprises: each attribute that is first message parameter carries out the position ordering, and be that each attribute of first message parameter is provided with the subordinate Position Number according to the position after this ordering, utilize the Position Number and the set subordinate Position Number of the first message parameter correspondence that the recombination site numbering corresponding with each attribute of first message parameter is set then, wherein, described recombination site is numbered suffix or the subscript that the subordinate Position Number of each attribute is numbered as the first message parameter correspondence position respectively;
In steps A, the described step of setting up the text message template comprises: utilize each attribute of first message parameter and corresponding recombination site numbering and related other message parameter and the corresponding Position Number thereof of text message thereof to set up the text message template.
In step B, comprise first message parameter in the required message parameter of described this text message;
In step B, the step that described first party is determined Position Number and constructed this text message comprises: described first party is according to the text message template, determine the recombination site numbering of each attribute correspondence of first message parameter in the required message parameter of this text message, and the Position Number of determining required other message parameter correspondence of this text message, then, described first party is according to the value of required first each attribute of message parameter of this text message and the information of determined recombination site numbering, and this text message of information structuring of the value of required other message parameter of this text message and determined Position Number;
In step C, the described step of obtaining comprises: each attribute and value thereof that described second party is obtained first message parameter according to the recombination site number information and the value of corresponding first each attribute of message parameter in text message template and this text message, and obtain this other message parameter and value thereof according to the Position Number information and the value of corresponding other message parameter in this text message.
In steps A, comprise first message parameter that has a plurality of attributes in the message parameter that described text message relates to;
Described steps A comprises: with each attribute of first message parameter respectively as a message parameter, carry out the position ordering with other message parameter unification that described text message is related, and for each attribute of this other message parameter and first message parameter corresponding Position Number is set according to the position after this unification ordering, utilize other message parameter and corresponding Position Number thereof and each attribute and the corresponding Position Number thereof of first message parameter to set up the text message template then.
In step B, comprise first message parameter in the required message parameter of described this text message;
In step B, the step that described first party is determined Position Number and constructed this text message comprises: described first party is according to the text message template, determine the pairing Position Number of each attribute of required first message parameter of this text message, and determine the pairing Position Number of required other message parameter of this text message, and construct this text message according to the information of determined all Position Numbers, the value of first each attribute of message parameter and the value of described other message parameter;
In step C, the described step of obtaining comprises: each attribute and value thereof that described second party is obtained first message parameter according to the Position Number information and the value of corresponding first each attribute of message parameter in text message template and this text message, and obtain this other message parameter and value thereof according to the Position Number information and the value of corresponding other message parameter in this text message.
In steps A, the described step that the related message parameter of text message is carried out sorting the position specifically comprises: the message parameter related to text message carries out the position ordering according to certain rule, wherein, described rule is, according to putting in order of each related message parameter initial of text message, or the frequency that is used according to each related message parameter of text message, or putting in order according to operator's appointment.
Described steps A comprises: with multiple rule the related message parameter of text message is carried out the position ordering, and be that described message parameter is provided with corresponding Position Number respectively according to the position behind each rule compositor, utilize described message parameter under the various rules and corresponding Position Number thereof to set up the text message template of different editions then;
Further comprise between steps A and step B: terminal and network side are consulted the text message template of employed current version;
In step B, the text message template of institute's basis is the text message template of current version;
In step C, the text message template of institute's basis is the text message template of current version.
The step that described terminal and network side are consulted the text message template of employed current version comprises: terminal is initiated register requirement to network side, and network side is carried at the text message template of the current version that uses and is sent to terminal in the registration reply message; Or network side is by the text message Template Information notice terminal of OTA mode with the current version of use; Or terminal is with the text message Template Information informing network side of the current version of use.
Before described first party was sent to described second party with the text message of being constructed, described step B further comprised: described first party is carried the information of current version in the text message of being constructed;
Further comprising between step B and the step C: after described second party receives this text message that described first party sends, information according to the described current version that from this text message, obtains, judge the text message template of whether preserving described current version in self, if, execution in step C then, otherwise finish current flow process.
Described steps A further comprises: the heterogeneous networks entity that relates to according to each message parameter in the text message template of being set up, the text message template of being set up is divided into the different subtemplates of heterogeneous networks entity correspondence, each subtemplate is kept in its corresponding network entity then;
Described first party is a terminal, and described second party is a network side;
Described step C comprises: at network side, directly receive first network entity that terminal sends this text message and obtain message parameter and the value thereof that self relates in this text message according to the Position Number information and the value of the message parameter correspondence that self relates in the described subtemplate of self preserving and this text message, first network entity is sent to the subsequent network entity with this text message then, and the subsequent network entity obtains message parameter and the value thereof that self relates in this text message respectively according to the Position Number information and the value of each the message parameter correspondence that self relates in the described subtemplate of self preserving and this text message.
Described steps A further comprises: the text message template of being set up is kept in first network entity of the text message that the direct receiving terminal of network side sends;
Described first party is a terminal, and described second party is a network side;
Described step C comprises: at network side, directly receive terminal and send Position Number information and the value of first network entity of this text message, obtain all message parameters and value thereof in this text message according to each message parameter in the text message template of preserving in self and this text message.
The required message parameter of described this text message comprises the message parameter of dynamic parameter information correspondence and the message parameter of static parameter information correspondence;
In step B, the step that described first party is constructed this text message may further comprise the steps:
B1, described first party are provided with the capable and data line of dynamic parameter mask in this text message;
B2, described first party are the mask value that the message parameter setting of required dynamic parameter information correspondence in this text message equals 1;
B3, described first party are according to the pairing Position Number of message parameter of required each the dynamic parameter information correspondence of this text message in the text message template, determine the set mask value residing position in the dynamic parameter mask is capable that equals 1, and value residing position in data line of determining the message parameter of each dynamic parameter information correspondence;
Described step C may further comprise the steps:
C1, described second party obtain the message parameter and the value thereof of dynamic parameter information correspondence in this text message according to equaling 1 the mask value value of message parameter Position Number of each message parameter correspondence in residing position and the text message template in data line in residing position, this text message in the dynamic parameter mask is capable in this text message;
C2, described second party obtain the message parameter and the value thereof of static parameter information correspondence in this text message according to the corresponding Position Number of each message parameter in the type of this text message, the message parameter that self obtains alternately with first party and value thereof and the text message template of preserving in self.
There is not optional message parameter in the message parameter of static parameter information correspondence in described this text message;
Described step B2 further comprises: described first party is the mask value that the message parameter setting of static parameter information correspondence in this text message equals 0;
Described step B3 further comprises: described first party is according in the described text message template, the pairing Position Number of message parameter of each static parameter information correspondence in this text message is determined the set mask value residing position in the dynamic parameter mask is capable that equals 0 successively;
In step C2, described second party is obtained the message parameter and the value thereof of static parameter information correspondence in described this text message further according to the mask value residing position in the dynamic parameter mask is capable that equals 0 in this text message.
Described step B1 further comprises: it is capable that described first party is provided with the message parameter mask at dynamic parameter mask described in this text message of being constructed before the capable and data line, and distinguish the Position Number of correspondence according to the corresponding message parameter of the required dynamic parameter information of this text message in the text message template and static parameter information, determine to equal mask value residing position in the message parameter mask is capable of 1 successively;
In step C2, described second party is obtained the message parameter and the value thereof of static parameter information correspondence in described this text message further according to the mask value residing position in the message parameter mask is capable that equals 1.
The required message parameter of described this text message comprises the message parameter of dynamic parameter information correspondence and the message parameter of static parameter information correspondence;
In step B, the step that described first party is constructed this text message comprises: described first party is provided with the capable and data line of Position Number in this text message, carries the Position Number of the corresponding message parameter of the required dynamic parameter information of this text message in the number line of position; Then according to the order of the Position Number that carries in this text message, the order value of carrying the corresponding message parameter of the required dynamic parameter information of this text message successively in data line;
Described step C comprises: described second party is according to the text message template, and the Position Number of the Position Number of this text message in capable obtains the message parameter of the dynamic parameter information correspondence of carrying in this text message, and obtain the value of the message parameter of the dynamic parameter information correspondence of carrying in this text message, and corresponding message parameter and the value thereof of static parameter information of obtaining this text message according to the type of this text message, the message parameter that self obtains alternately with described first party and value thereof according to data line.
The required message parameter of described this text message comprises the message parameter of dynamic parameter information correspondence and the message parameter of static parameter information correspondence;
In step B, the step that described first party is constructed this text message comprises: described first party is at the message parameter of each required dynamic parameter information correspondence of this text message, at first carry the Position Number of this message parameter correspondence, and behind this Position Number, closely follow the value of this message parameter;
Described step C comprises: described second party is according to described text message template, and the Position Number that carries in this text message and subsequent value obtain the message parameter and the value thereof of the dynamic parameter information correspondence of carrying in this text message, and according to the type of this text message, self obtain corresponding message parameter and the value thereof of static parameter information in this text message with message parameter and value thereof that described first party obtains alternately.
After described first party constructs this text message, and before sending this text message, described step B further comprises: described first party is compressed this text message of being constructed;
After described first party was sent to second party with this text message, described step B further comprised: described second party is carried out decompress(ion) to this text message that receives.
In steps A, the related message parameter of described text message comprises: all message parameters of stipulating in the text message institute use agreement, or according to actual business requirement all message parameters of stipulating in the text message institute use agreement are screened the specified message parameter in back by operator.
This shows that the present invention has the following advantages:
1, in the present invention, when UE or network side structure text message, only need Position Number according to the message parameter correspondence in the text message template, the Position Number information and the value of carrying the required message parameter correspondence of this text message in this text message get final product, rather than complete message parameter and value thereof, thereby greatly reduced the length of the text message of constructing, reduce network bandwidth resources shared when transferring text, thereby optimized network performance greatly.
2, in the present invention, UE or network side only carry the Position Number information and the value thereof of the corresponding message parameter of dynamic parameter information that needs upgrade or the first time is mutual in the text message that constructs, and the static parameter information that need not to carry mutual mistake and do not change, therefore, all be carried at way in the text message with respect to all dynamic parameter information in the prior art that text message is required and static parameter information, further reduce the length of the text message of constructing, and further reduced network bandwidth resources shared when transferring text.
3, among the present invention, UE has realized the variation of text message according to template, at network side, can by receive start node that UE sends text message according to the text message template with the disposable reduction fully of text message, also can recover text message content that oneself need to handle as required by start node and follow-up other each node, and do not need once to restore fully, thereby make the present invention have very strong applicability and expansion.
Description of drawings
Fig. 1 is the flow chart of the embodiment of the invention.
Fig. 2 is that UE obtains and consult the current flow chart that should use the text message template of version by finishing to the SIP registration process of network side initiation in the embodiment of the invention.
Embodiment
Core concept of the present invention is: the related message parameter of text message is carried out the position ordering, and be that the related message parameter of text message is provided with corresponding Position Number according to the position after the ordering, utilize related message parameter of text message and corresponding Position Number thereof to set up the text message template then; When the structure of the first party among network side and terminal text message, this first party is according to the text message template, determine the Position Number of the required message parameter correspondence of this text message, and construct this text message according to the information of determined Position Number and the value of the required message parameter of this text message, then, this first party is sent to second party among network side and the terminal with this text message that is constructed; This second party is obtained the true messages parameter and the value thereof of carrying in this text message according to the information of Position Number in text message template and this text message and the value of the required message parameter of this text message.
In addition, in the business realizing of reality, in fact all message parameters and the value thereof of carrying in the text message of UE or network side structure can be divided into static parameter information and dynamic parameter information two parts.Wherein, described static parameter information is meant the parameter information that the first party of network side or the UE second party among both in this and network side or UE obtained before mutual, and this does not change, just message parameter and the value thereof used in the text message that has obtained before of second party; And described dynamic parameter information is meant second party among network side or the UE in the information that did not also exchange with first party and the information that changes has taken place before this is mutual, and just also NO, the first party of second party needs message parameter and the value thereof upgrading and/or increase in this text message.Such as, the information of carrying in the SIP text message as last structure of the UE of first party and transmission includes: Content-Type:application/SDP, Content-Length:182, and the information of carrying in the SIP text message of this structure of UE and transmission includes: Content-Type:application/SDP, Content-Length:180.The entrained information of this twice text message is compared as can be known, message parameter and value Content-Type:application/SDP thereof, be the information that the network side as second party had obtained the SIP text message from described last time, and this does not change, static parameter information promptly of the present invention; And message parameter Content-Length:180 is text message parameter and value thereof that UE upgrades in described this SIP text message, dynamic parameter information promptly of the present invention.
And, according to the business experience of reality as can be known, in each time text message of UE and network side is mutual, it is the static parameter information that network side or UE have obtained that most text message parameter and value thereof are arranged, the dynamic parameter information of having only sub-fraction to be only to need UE or network side to upgrade and/or increase according to the actual demand of each text message.Therefore, if UE or network side only carry dynamic parameter information in the text message of structure be the also NO information of the other side, and do not carry static parameter information is the information that the other side has obtained, then can further reduce the length of the text message of being constructed, thereby significantly reduce the network bandwidth resources that transferring text takies.Like this, in the present invention, when the structure of the first party among UE or network side text message, this first party is according to the Position Number of each message parameter correspondence in the text message template, in the text message of structure, only carry the required dynamic parameter information of this text message successively, i.e. mutual mistake not in before text message is mutual, the value of the message parameter that this text message is upgraded and/or increased, and after the second party among UE or the network side obtains the message parameter and value thereof of dynamic parameter information correspondence according to the text message template, further according to from first party before interacting message in required corresponding message parameter and the value thereof of static parameter information of acquired this text message, thereby recover actual text message.
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and the specific embodiments.
In following embodiment, as described first party, according to the text message structure of transvers plate text message of being set up, network side is as described second party with UE, the process of recovering the text message actual content according to the text message template of being set up is an example, describes process of the present invention in detail.
Fig. 1 is the flow chart of the embodiment of the invention.Referring to Fig. 1, in the present invention, UE specifically may further comprise the steps to the process of network side transferring text:
Step 101: in advance the related message parameter of text message is carried out the position ordering, and be that described message parameter is provided with corresponding Position Number according to the position after the ordering, utilize described message parameter and corresponding Position Number thereof to set up the text message template then, and the text message template of being set up is kept at network side.
In this step, the present invention can be that the message parameter that can relate in the text message carries out the position ordering according to a rule, such as putting in order message parameter carried out position ordering according to all message parameter initials in the text message, perhaps the frequency that is used according to all message parameters in the text message is carried out the position ordering, perhaps carries out position ordering etc. according to putting in order of operator's appointment.That is to say, in this step,, got final product thereby distinguish, and concrete position ordering rule can be set arbitrarily as long as can make the related corresponding different Position Number of each message parameter of text message.And the position of the present invention after according to ordering can be exemplified as for different message parameters is provided with corresponding Position Number, and the message parameter of position first and second, ordering back is correspondence position numbering 1 and Position Number 2 respectively.
In this step, the message parameter that described text message is related, can be all message parameters of stipulating in the text message institute use agreement, such as, all message parameters of stipulating in SIP, SDP and the XML agreement, like this, be to carry out the position ordering when carrying out the position ordering at all message parameters; The related message parameter of described text message also can be to be screened afterwards and the message parameter of appointment according to the message parameter of actual business requirement to a kind of protocol type by operator, such as, message parameter in the Session Initiation Protocol is screened, and the message parameter of the Session Initiation Protocol that filters out is carried out position ordering etc.
In addition, in this step, can be stored in the text message template of being set up according to the Position Number submeter of different protocol types the message parameter correspondence in the text message, perhaps utilize the message parameter and the corresponding Position Number thereof of different agreement type to set up a plurality of text message templates, that is to say that there is different text message templates in different protocol types.With the SIP text message is example, after the message parameter in Session Initiation Protocol and the SDP agreement is screened, and the message parameter submeter that relates in SIP after will screening and SDP agreement when storage, Session Initiation Protocol relates to message parameter and corresponding Position Number is stored in the table 1 as follows, and message parameter that relates in the SDP agreement and corresponding Position Number thereof are stored in the table 2 as follows.
Item Header
1 Accept
2 Accept-Contact
3 Accept-Encoding
4 Accept-Language
5 Alert-Info
6 Allow
7 Allow-Events
8 Authorization
9 Call-ID
10 Call-Info
11 Contact
12 Content-Disposition
13 Content-Encoding
14 Content-Language
15 Content-Length
16 Content-Type
17 Cseq
18 Date
19 Expires
20 From
21 In-Reply-To
22 Join
23 Max-Forwards
24 MIME-Version
25 Min-SE
26 Organization
27 P-Access-Network-Info
28 P-Assarted-Identity
29 P-Called-Party-ID
30 P-Charging-Function-Address es
31 P-Charging-Vector
32 P-Media-Authorizetion
33 P-Preferred-Identity
34 P-Visited-Network-ID
35 Priority
36 Privacy
37 Proxy-Authorization
38 Proxy-Require
39 Reason
40 Record-Route
41 Referred-By
42 Reject-Contact
43 Replaces
44 Reply-To
45 Request-Disposition
46 Require
47 Route
48 Security-Client
49 Security-Verify
50 Session-Expires
51 Subject
52 Supported
53 Timestamp
54 To
55 User-Agent
56 Via
Table 1
Item Type
1 v=(protocol version)
2 o=(owner/creator and session identifier)
3 s=(session name)
4 i=(session information)
5 u=(URI of description)
6 e=(email address)
7 p=(phone number)
8 c=(connection information)
g b=(bandwidth information)
10 t=(time the session is active)
11 r=(zero or more repeat times)
12 z=(time zone adiustments)
13 k=(encryotion key)
14 a=(zero or more session attribute lines)
15 m=(media name and transport address)
16 i=(media title)
17 c=(connection information)
18 b=(bandwidth information)
19 k=(encryption key)
20 a=(zero or more media attribute lines)
Table 2
Can regard as by table 1 and table 2, set each Position Number of the present invention all unique correspondence a text message parameter.Such as, in table 1 corresponding to Session Initiation Protocol message parameter part, the sip message parameter of Position Number 2 correspondences is Accept-Contact, in the table 2 corresponding to SDP message parameter part, the SDP message parameter of Position Number 20 correspondences is a=(zero or more mediaattribute lines).
In this step, can also set up different text message templates according to different protocol types, such as, set up text message template 1 at the message parameter of Session Initiation Protocol, what preserve in text source template 1 is the Position Number of each message parameter correspondence of Session Initiation Protocol.For another example, set up text message template 2 at the message parameter of SDP agreement, what preserve in text source template 2 is the Position Number of each message parameter correspondence of SDP agreement.
Here, need to prove that because may there be a plurality of attributes in a message parameter, therefore, in this step, each attribute that also is required to be message parameter is provided with its corresponding Position Number respectively.The present invention is that the mode that a plurality of attributes of a message parameter are provided with Position Number can be nested mode, that is to say, be provided with in the Position Number process above-mentioned, if there are a plurality of attributes in a message parameter, so, the present invention at first is provided with a Position Number corresponding with it at this message parameter, each attribute at this message parameter is provided with Position Number then, the Position Number of this set message parameter and the Position Number of each attribute thereof are joined together, promptly with recombination site numbering, to attribute that should message parameter.And the corresponding mode of described associating can be, with the Position Number of each attribute suffix or the subscript as this message parameter Position Number.Such as, a message parameter has been described the requirement of each medium property, as the requirement to attribute IP address and port numbers.So, the present invention is provided with Position Number 72 for this message parameter, for its attribute " IP address " is provided with Position Number 1, for its attribute " port numbers " is provided with Position Number 2, like this, what recombination site numbering " 72.1 " was corresponding is exactly message parameter " IP address ", and what recombination site numbering " 70.2 " was corresponding is exactly message parameter " port numbers ".
The present invention is that mode that a plurality of attributes of a message parameter are provided with Position Number can also be that each attribute with this message parameter is considered as a message parameter respectively and other message parameter carries out unified position ordering, and the Position Number of correspondence is set for each attribute according to the position after the ordering.Such as, carry out the ordering of unified position after, the Position Number that message parameter " IP address " is corresponding is 72, the Position Number that message parameter " port numbers " is corresponding is 73.
In addition, in this step, the concrete entity process that the text message template of being set up is kept at network side can be: the different subtemplates that the text message template of being set up are divided into heterogeneous networks entity correspondence, each subtemplate is kept in its corresponding network entity then, like this, the text message template of preserving in each network entity of network side is the subtemplate at the message parameter place of the required processing of this network entity, the purpose of Chu Liing is to be the text message template of same version in order to make each network entity can use unified like this, so that in subsequent process, each network entity only recovers in the text message actual content of the message parameter of self required processing according to the text message template, thereby reduces the service load quantity of single network entity.
The concrete entity process that the text message template of being set up is kept at network side can also be: preserve the complete content of the text message template of being set up in network entity, so that send the network entity of text message all actual contents according to text message template recovery text message by directly receiving UE in subsequent process.
Step 102:UE obtains the text message template, and consults the current text message template that should use with network side.
Here, because in step 101, the rule that Position Number is set can be selected arbitrarily, like this, will have the text message template of different editions.Such as, a message parameter may corresponding different Position Numbers in the text message template of different editions.Such as, in the text message template of version 1, the Position Number of message parameter Proxy-Authorization correspondence is 37, and in the text message template of version 2, the Position Number of this message parameter Proxy-Authorization correspondence is 20.Like this, in this step 102, what UE obtained can be the text message template of one or more versions, so just exist one how to guarantee that UE and network side use the problem of identical version text message template, that is to say that UE must consult the current text message template that should use version with network side.
In this step 102, UE can obtain the text message template of each version in several ways.The text message Template Information of one or more versions is carried at by the registration process trigger network side initiated to network side such as, UE and is sent to UE in the registration reply message, UE is obtained; And/or, when network side is found after the user roams into this carrier network (user's occurrence positions upgrades or triggers during at this network registry), with the text message template of one or more versions by aerial transfer mode (OTA), such as short message way, initiatively be sent to UE, UE is obtained; And/or, by UE from the address of appointment (as the Web website etc.) download and obtain.
In this step 102, UE can consult the current text message template that should use version with network side in several ways.Such as, UE initiates register requirement to network side, and network side is carried at the current text message Template Information that should use version and is sent to UE in the registration reply message; Or, by network side the current text message Template Information of version that should use is passed through the OTA mode, such as short message way, initiatively be sent to UE and finish negotiations process; Or, with the active update mode, promptly, finish negotiations process by UE initiatively with the current text message Template Information informing network side that should use version.
Then be example by finishing simultaneously to obtain each version text message template and consult the current process of the text message template of version of should using below, the implementation procedure of this step 102 is described to the registration process of network side initiation with UE.Fig. 2 is that UE obtains and consult the current flow chart that should use the text message template of version by finishing to the SIP registration process of network side initiation in the embodiment of the invention, referring to Fig. 2, here, be registered as example with UE by initiate SIP in the IMS network, UE obtains and consults the current process at the text message template of sip message parameter of version of should using and specifically may further comprise the steps:
Steps A 1:UE sends register requirement (REGISTER) message to current on-site Proxy Call Session Control Function (PCSCF) entity.
Here, described REGISTER message is the login request message of specified standard in the Session Initiation Protocol, and UE registers to the IMS network by sending this REGISTER message.
After steps A 2:PCSCF entity receives REGISTER message, this REGISTER message is sent to service call conversation control function (SCSCF) entity.
After steps A 3:SCSCF entity receives REGISTER message, this UE is carried out authentication, after authentication is passed through, 200OK message is sent to the PCSCF entity.
After steps A 4:PCSCF entity receives this 200OK message, to set in advance and be kept at the text message template of a version in self, such as for version 1 as the current text message template that should use version, and text message Template Information (version 1) parameter be carried in the 200OK message be sent to UE.
Here, what preserve in the PCSCF entity in advance can be subtemplate corresponding to the text message template of PCSCF entity, the Position Number of the message parameter correspondence of the required processing of this PCSCF entity just, and do not comprise other network entity (as SCSCF, AS etc.) and the mutual SIP text message of UE the corresponding Position Number of message parameter in the text message template that can use.
After steps A 5:UE receives 200OK message, will issue (Publish) message by PCSCF entity and SCSCF entity and be sent to application server (AS).
Here, UE therefrom obtains the current version that should use with the PCSCF entity interaction SIP text message text message template as version 1 when receiving 200OK message.
Steps A 6:AS will be kept at the text message template of a version in self in advance, such as for version 1 as the current text message template that should use version, and the text message template of version 1 be carried in the 200OK message be sent to UE.
Here, what preserve in the AS entity in advance can be: corresponding to the subtemplate of that part of text message template of AS entity, the Position Number of the message parameter correspondence of the required processing of this AS entity just, and do not comprise the mutual SIP text message of other network entity and UE the corresponding Position Number of message parameter in the text message template that can use.
So far, UE has then finished and has obtained and consulted the current process that should use the text message template of version.
For ease of describing, be that the SIP conversation message is that example illustrates follow-up specific implementation process of the present invention with the mutual text message of UE and network side below.
Step 103: when UE need be with the mutual text message of network side, UE constructed this text message according to the text message template of obtaining current version.
Here, because a text message is made up of static parameter information and dynamic parameter information two parts, and static parameter information is the information that network side has obtained and preserved alternately by conversation message before, is that UE must determine the also information of informing network side according to this mutual actual demand and have only dynamic parameter information.Therefore, in this step 103, preferably, UE can no longer carry static parameter information in the text message of required structure, and only according to the text message template of the current version that is obtained and required this text message of dynamic parameter information structuring of this text message, be the Position Number of UE according to each message parameter correspondence in the text message template, the Position Number information and the value of in the text message of structure, carrying the message parameter of the required dynamic parameter information of this text message correspondence; And, because the text message template that UE and network side all may be preserved a plurality of versions, so, UE further carries the current version of its use in the text message template of being constructed information.
And can there be multiple implementation in the Position Number information of the message parameter that carries the required dynamic parameter information of this text message correspondence in the text message of structure described in this step and the process of value.Such as,
Mode one: the capable and data line of dynamic parameter mask is set in this text message, in the dynamic parameter mask is capable, use the particular mask value that is positioned at described Position Number same position, such as mask value 1, represent the Position Number of the corresponding message parameter of the required dynamic parameter information of this text message, that is to say, with being positioned at the Position Number information of the mask value 1 of ad-hoc location as the message parameter of the required dynamic parameter information of this text message correspondence; According to the Position Number described in the text message template, in data line, carry the value of the corresponding message parameter of the required dynamic parameter information of this text message successively in proper order.
Mode two: the capable and data line of Position Number is set in this text message, in the number line of position, directly carries the Position Number of the corresponding message parameter of the required dynamic parameter information of this text message; Then according to the order of the Position Number that carries in this text message, in data line, carry the value of the corresponding message parameter of the required dynamic parameter information of this text message successively in proper order, such as, carry 3 during the Position Number of UE in the text message of being constructed is capable, 75, order is carried cb0203isffffpk3 successively in data line, 234151D0FCE11, like this, UE carries 3 in the number line of position be to have used Position Number 3 pairing message parameters in the text message template in this text message of expression, and this Position Number is the value of 3 message parameter is cb0203isffffpk3 in the data line, and UE to carry 75 in the number line of position be that expression has been used Position Number 75 pairing message parameters in the text message template in this text message, and this Position Number 234151D0FCE11 that to be the value of 75 message parameter be in the data line.
Mode three: when this text message of structure, at the corresponding message parameter of the required dynamic parameter information of this text message, at first carry the Position Number of the correspondence of this message parameter, and behind this Position Number, closely follow the value of this message parameter, all so carry out for the corresponding message parameter of each required dynamic parameter information.Such as, UE carries 3:cb0203isffffpk3 in the text message of being constructed, 75:234151D0FCE11, like this, in the text message, 3:cb0203isffffpk3 has used Position Number 3 pairing message parameters in the text message template in this text message of expression, and the value of this message parameter is cb0203isffffpk3 thereafter, 75:234151D0FCE11 has used Position Number 75 pairing message parameters in the text message template in this text message of expression, and the value of this message parameter is 234151D0FCE11 thereafter.
Below just listed three kinds of implementations, the present invention also can exist other implementation to realize the Position Number information of the described message parameter that carries the required dynamic parameter information of this text message correspondence in the text message of structure of this step 103 and the process of value.
Use aforesaid way one with UE below, constructing a SIP conversation message is example, and the specific implementation process of this step 103 is described.
At first, because when setting up the text message template, can set up different text message templates at each different protocol type, the text message template that oneself is arranged respectively such as SIP, SDP protocol type, therefore, UE carries the version information of text message template of the Session Initiation Protocol of current use, with the informing network side in the message header original position of the SIP conversation message of being constructed when structure SIP conversation message;
Secondly, UE is provided with one in this SIP conversation message what consulted with network side is that the dynamic parameter mask of all sip message parameters in the text message template of version 1 is capable at current version, be designated as dynamic parameter mask capable 1, and in the version 1 in this SIP conversation message the mask value of the sip message parameter of required dynamic parameter information correspondence be set to 1, with other sip message parameter in the text message template of version 1, the mask value that is the sip message parameter of static parameter information correspondence in this SIP conversation message sip message parameter of need not to use and this SIP conversation message is set to 0, be the Position Number of all sip message parameter correspondences in the text message template of version 1 then according to current version, be defined as mask value 0 and 1 residing position number in described dynamic parameter mask capable 1 that each sip message parameter is provided with, that is to say, be that the mask value 0 or 1 that is provided with of sip message parameter residing sequence of positions number in dynamic parameter mask capable 1 is the Position Number of this sip message parameter correspondence in the text message template of version 1; Then, data line after this dynamic parameter mask capable 1 corresponding to the sip message parameter, be designated as data line 1, according to the sequencing of the Position Number of the sip message parameter correspondence of dynamic parameter information correspondence required in this SIP conversation message in the version 1, determine the sequencing of sip message parameter value residing position number in data line 1 of each entrained dynamic parameter information correspondence;
Once more, UE carries the version information of text message template of the SDP agreement of current use in the SDP message body original position of the SIP conversation message of being constructed, with the informing network side;
Next, UE is provided with one in the SDP of this SIP conversation message message body be that the dynamic parameter mask of all SDP message parameters is capable in the text message template of version 1 at the current version of consulting with network side, be designated as dynamic parameter mask capable 2, and the mask value of the SDP message parameter of required dynamic parameter information correspondence is set to 1 in this SIP conversation message, the mask of the SDP message parameter of static parameter information correspondence is set to 0 in the SDP message parameter that this SIP conversation message need not to use and this SIP conversation message, be the Position Number of all SDP message parameter correspondences in the text message template of version 1 then according to current version, be defined as mask value 0 and 1 residing position number in this dynamic parameter mask capable 2 that each SDP message parameter is provided with, that is to say, be that the mask value 0 or 1 that is provided with of SDP message parameter residing sequence of positions number in dynamic parameter mask capable 2 is the Position Number of this SDP message parameter correspondence in the text message template of version 1; Then, in the data line 2 after this dynamic parameter mask capable 2 corresponding to the SDP message parameter, according to the sequencing of the Position Number of the SDP message parameter correspondence of dynamic parameter information correspondence required in this SIP conversation message in the version 1, determine the sequencing of SDP message parameter value residing position number in data line 2 of each entrained dynamic parameter information correspondence.
Such as, in the present invention, the SIP conversation message that UE constructed is that INVITE is:
version:operatorA-SIP-version001;
header-mask:0110.....;
INVITE, cb0203isffffpk3; (234151D0FCE11...... the meaning of Xiu Gaiing is that INVITE itself is exactly a parameter here)
version:operatorA-SDP-version001;
sdp-mask:1100......;
-2987933615;2987933615;......
The message body that is INVITE by this SIP conversation message constitutes as can be seen, and in the message, version:operatorA-SIP-version001 is the sign of the text message template of version 1 for the current version at the Session Initiation Protocol message parameter.Be that the dynamic parameter mask capable 1 of all sip message parameters is header-mask:0110...... in the text message template of version 1 at current version; In this dynamic parameter mask capable 1, first position number is 0, be illustrated in the text message template of version 1 corresponding in sip message argument section such as the above-mentioned table 1 the sip message parameter that the sip message parameter of Position Number 1 correspondence need not to use for the static parameter information in this SIP conversation message or this SIP conversation message; Second position number is 1, the sip message parameter that is illustrated in Position Number 2 correspondences in the table 1 in the text message template of version 1 is the dynamic parameter information in this SIP conversation message, and the value of the sip message parameter of this dynamic parameter information correspondence be this dynamic parameter mask capable 1 first data cb0203isffffpk3 in the data line 1 afterwards; The 3rd position number is 1, be illustrated in the table 1 in the text message template of version 1, the sip message parameter of Position Number 3 correspondences is the dynamic parameter information in this SIP conversation message, and the value of the sip message parameter of this dynamic parameter information correspondence is i.e. second data 234151D0FCE11 of the next one in the data line 1 after this dynamic parameter mask capable 1.
In like manner, in the message, version:operatorA-SDP-version001 is the sign of the text message template of version 2 for the current version at the Session Initiation Protocol message parameter.Be that the dynamic parameter mask capable 2 of all SDP message parameters is sdp-mask:1100...... in the text message template of version 2 at current version; In this dynamic parameter mask capable 2, first position number is 1, be illustrated in the text message template of version 1 corresponding in SDP message parameter part as the above-mentioned table 2, the SDP message parameter of Position Number 1 correspondence is the dynamic parameter information in this SIP conversation message, and the value of the SDP message parameter of this dynamic parameter information correspondence is first data-2987933615 in the data line 2 after this dynamic parameter mask capable 2; Second position number is 1, be illustrated in the table 2 in the text message template of version 1, the SDP message parameter of Position Number 2 correspondences is the dynamic parameter information in this SIP conversation message, and the value of the SDP message parameter of this dynamic parameter information correspondence is i.e. second data 2987933615 of the next one in the data line 2 after this dynamic parameter mask capable 2.
In addition, also it should be noted that, in the process of this step 103, an if message parameter of required dynamic parameter information correspondence in this text message of UE structure, be designated as first message parameter, there are a plurality of attributes, and the present invention is provided with the corresponding recombination site numbering of each attribute of first message parameter in the text message template, such as being 70.1 and 70.2, so, UE according to the Position Number of the first message parameter correspondence in the text message template such as being 70, corresponding position number in the dynamic parameter mask is capable is after mask value 1 is filled at sequence number 70 places in position, after data line in the corresponding position fill in 70.1:29879336 successively, 70.2:33615 is with the value of first and second attribute of representing first message parameter respectively.Like this, in follow-up process, network entity just can be according to the 70.1:29879336 in the data line, and 70.2:33615 obtains the value of first and second attribute of first message parameter.
Perhaps, if the present invention is provided with corresponding Position Number after in the text message template all message parameters of each attribute and other of first message parameter being unified to sort, so, in this step 103, UE only need be considered as a message parameter respectively with each attribute of first message parameter and handle, promptly the mask value 1 of each attribute setting that is first message parameter is carried in the corresponding position in the dynamic parameter mask is capable, and the value that each attribute is carried in the corresponding position in data line gets final product.
In specific implementation process in mode one, because the message parameter of many static parameter information correspondences is optional, therefore, can recover actual text message in order to ensure network side, UE can also be provided with a message parameter mask capable 1 by each message parameter at Session Initiation Protocol in required structure text message, the corresponding message parameter of Position Number with 1 representative that is arranged in the ad-hoc location sequence number in this message parameter mask capable 1 Session Initiation Protocol text message template identical with this position number is the message parameter of the Session Initiation Protocol of the required use of this text message, and each message parameter at the SDP agreement is provided with a message parameter mask capable 2 in required structure text message, the pairing message parameter of Position Number with 1 representative that is arranged in the ad-hoc location sequence number in this message parameter mask capable 2 SDP version of an agreement source template identical with this position number is the message parameter of the SDP agreement of the required use of this text message, like this, network side is when recovering text message, be positioned at all message parameters that 1 of ad-hoc location sequence number is known the required use of this text message in just can be capable by the message parameter mask, that is to say that network side can be determined the static parameter information of the required use of this text message.Such as, the information that the SIP conversation message that UE constructed carries is:
version:operatorA-SIP-version001;
message-mask1:1110.....;
header-mask:0110.....;
INVITE, cb0203isffffpk3; (234151D0FCE11...... the meaning of Xiu Gaiing is that INVITE itself is exactly a parameter here)
version:operatorA-SDP-version001;
message-mask2:1101.....;
sdp-mask:1100......;
-2987933615;2987933615;......
The message body that is INVITE by this SIP conversation message constitutes as can be seen, in the message, message parameter mask capable 1 is among the message-mask1:1110....., preceding 3 are 1, the sip message parameter that is illustrated in preceding 3 bit-wise mask value correspondences in the dynamic parameter mask capable 1 is the required sip message parameter of this INVITE, the 4th is 0, the sip message parameter that is illustrated in the 4th bit-wise mask value correspondence in the dynamic parameter mask capable 1 is not the required sip message parameter of this INVITE, and since dynamic parameter mask capable 1 in preceding 4 be 0110.Like this, network side is by analyzing message parameter mask row 1 and dynamic parameter mask capable 1, just can know that position in the text message template of first bit-wise mask value 0 expression Session Initiation Protocol is numbered the message parameter that 1 message parameter is the static parameter information correspondence of carrying in this INVITE, second and the text message template of tertiary 1 expression Session Initiation Protocol in the position be numbered 2 and Position Number to be 3 message parameter be the message parameter of the dynamic parameter information correspondence of carrying in this INVITE, and to be numbered 4 message parameter be not the message parameter of the required use of this INVITE in the position in the text message template of the 4th bit-wise mask value 0 expression Session Initiation Protocol, afterwards, network side is by analyzing the message parameter that just can determine all SDP agreements of required use in this INVITE to message parameter mask row 2 and dynamic parameter mask capable 2.
By foregoing description as can be seen, in the SIP conversation message that UE constructed, with mask value 1 representative that is arranged in ad-hoc location corresponding to the SIP of this Position Number or SDP message parameter at this SIP conversation message as dynamic parameter information, and carry the value of this dynamic parameter information successively, and be not used or as static parameter information at this SIP conversation message corresponding to the SIP of this Position Number or SDP message parameter with mask value 0 representative that is arranged in ad-hoc location.This shows that in the present invention, UE has significantly reduced the length of the text message of being constructed, thereby can reduce the shared bandwidth resources of transferring text.
Step 104:UE with the communication of text messages that constructed to network side.
Here, reduce the text message length of constructing, reduce the purpose of shared bandwidth in order better to reach, preferably, in this step, UE can at first compress the text message that is constructed, and then this communication of text messages after will compressing is to network side.
Step 105: network side receives the network entity that UE sends text message, such as being the PCSCF entity, from text message, obtain the version information that UE uses, such as being version 1, judge the text message template that whether has this version 1 in self, if exist, then execution in step 106, otherwise, return failure notification message to UE, and finish current flow process.
Here, if in step 104, UE compresses the text message of being constructed, so, in this step, the PCSCF entity at first carries out decompress(ion) to text message when receiving the text message that UE sends, and then carries out the step of judging the text message template that whether has this version 1 in self.
Step 106:PCSCF entity recovers the entrained actual static parameter information of this SIP conversation message that PCSCF entity self need be handled according to the type of the Position Number of each SIP in the subtemplate of the text message template of version in self 1 and SDP message parameter correspondence, this SIP conversation message and with this UE acquired information in interacting message before; According to the mask value 1 that carries in the Position Number of each SIP and SDP message parameter correspondence in the subtemplate of the text message template of current version in self 1, this SIP conversation message in the dynamic parameter mask is capable sequence of positions and the data of data division relevant position recover the entrained actual dynamic parameter information of this SIP conversation message that PCSCF entity self need be handled, recover that PCSCF entity self need be handled in this SIP conversation message the real messages content.
Here, receive the INVITE that UE sends such as the PCSCF entity after, obtain each 0 or 1 mask value in capable of sip message head original position dynamic parameter mask in this message.The PCSCF entity determine according to the type of this SIP conversation message ad-hoc location such as primary importance sequence number mask value 0 representative be this SIP conversation message sip message parameter that need not to use or the static parameter information in this SIP conversation message, if the sip message parameter that need not to use, then not with the sip message parameter of Position Number 1 correspondence of this position as the actual information in this SIP conversation message, if the static parameter information in this SIP conversation message, then the PCSCF entity according to formerly obtained corresponding to the sip message parameter of Position Number 1 correspondence of this position as the actual static parameter information in this SIP conversation message.Simultaneously, the PCSCF entity knows that according to the mask value 1 of ad-hoc location such as the second place sequence number sip message parameter of these position Position Number 2 correspondences is the dynamic parameter information in this SIP conversation message, and this dynamic parameter information value is first data in the data line.In like manner, the PCSCF entity is each 0 or 1 mask value in capable according to SDP message body original position dynamic parameter mask in this SIP conversation message, recovers other static parameter information and the dynamic parameter information of this SIP conversation message that PCSCF entity self need handle.
In step 106, because the PCSCF entity can only recover the real messages content of this SIP conversation message that PCSCF entity self need handle, and do not recover the real messages content of this SIP conversation message that other subsequent network entity need handle, therefore, simplify the processing procedure of PCSCF entity, and can be implemented in the shared network bandwidth resources of minimizing when other subsequent network entity transmits this SIP conversation message.
Step 107:PCSCF entity is passed to follow-up AS with this SIP conversation message through the SCSCF entity.
Step 108: follow-up AS and other related network entity of this SIP conversation message recover the entrained actual static parameter information of this SIP conversation message that each network entity self need be handled according to the type of the Position Number of each SIP and SDP message parameter correspondence in the subtemplate of the text message template of the version of preserving in self 1, this SIP conversation message and with this UE acquired information in interacting message before respectively; According to the mask value 1 that carries in the Position Number of each SIP in the current version and SDP message parameter correspondence, this SIP conversation message in the dynamic parameter mask is capable sequence of positions and the data of data division relevant position recover the entrained actual dynamic parameter information of this SIP conversation message that each network entity self need be handled, obtain the real messages content of this SIP conversation message.
In said process of the present invention, the process that each entity of network side is preserved static parameter information can be: in other interacting message before, such as UE in the network side registration process, message parameter and value thereof that network side will obtain from current message, promptly as the dynamic parameter information of current message, preserve based on the text message template, promptly in the text message template, increase current as the value of the message parameter correspondence of static parameter information.Receive the SIP register requirement that UE sends such as network side, obtain message parameter and value thereof in this SIP register requirement, then in the text message template of Session Initiation Protocol, remove when preserving the message parameter set up and corresponding Position Number thereof, further preserve the value that comprises in the text message template of Session Initiation Protocol for message parameter correspondence in the obtaining SIP register requirement, such as, carried in this SIP register requirement that the position is numbered 1 message parameter and value thereof in the text message template, and network side is when receiving this SIP register requirement, obtain this Position Number first and be 1 message parameter and value thereof, at this moment, this Position Number is that 1 message parameter and value thereof are then as the static parameter information of network side, so, this network entity is further preserved the value of the message parameter correspondence of Position Number 1 in the text message template, like this, in above-mentioned steps 105 to the process of step 108, each entity of network side is according to the value of the message parameter of preserving in the text message template, obtains the value of message parameter of the static parameter information correspondence of this text message.
So far, in the present invention, UE goes out the text message of a message-length through greatly compressing according to the text message structure of transvers plate with the common version of supporting of network side, and network side recovers its required actual text message content according to the text message template of this version, thereby guaranteeing to have significantly reduced shared network bandwidth resources under the situation that text message is accurately transmitted.
In the above-described embodiments, the present invention finishes the process of setting up the text message template at network side in advance, obtains the text message template by UE by variety of way, thereby guarantees to preserve identical text message template among network side and the UE.In the application of reality of the present invention, also can be by UE and the network side ordering rule of making an appointment, and, carry out the position ordering by UE and network side according to the message parameter that the ordering rule of this agreement relates to text message respectively, and according to the ordering after the position for each message parameter be provided with the correspondence Position Number, generate identical text message template respectively, to guarantee preserving identical text message template among network side and the UE.Perhaps, also can in UE, finish the whole process of setting up the text message template, network side obtains the text message template that UE sets up from UE, thereby guarantee to preserve identical text message template among network side and the UE, such as, UE initiatively is sent to network side with the text message template of being set up, and network side is obtained.
In above description process, according to the text message structure of transvers plate text message of being set up, the process that network side recovers the text message actual content according to the text message template of being set up is an example, and process of the present invention is described with UE.In the present invention, network side is according to the text message structure of transvers plate text message of being set up, and the process that UE recovers the text message actual content according to the text message template of being set up is identical with the principle of said process.
In a word, the above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (24)

1, a kind of method that reduces the network bandwidth resources that text message takies is characterized in that this method may further comprise the steps:
A, the related message parameter of text message is carried out position ordering, and according to the position after the ordering for this message parameter is provided with corresponding Position Number, utilize the Position Number of this message parameter and correspondence thereof to set up the text message template then;
First party among B, network side and the terminal is constructed this text message according to the value of text message template and the required message parameter of this text message, and this text message that is constructed is sent to second party among network side and the terminal;
C, this second party are obtained the message parameter and the value thereof of carrying in this text message according to the text message template.
2, method according to claim 1, it is characterized in that, in step B, the step that described first party is constructed this text message according to the value of text message template and the required message parameter of this text message comprises: described first party is determined the Position Number of the required message parameter correspondence of this text message according to the text message template, constructs this text message according to the information of determined Position Number and the value of the required message parameter of this text message then;
Described step C comprises: described second party is obtained the message parameter and the value thereof of carrying in this text message according to the information of the Position Number in text message template, this text message and the value of the required message parameter in this text message.
3, method according to claim 1 is characterized in that, in steps A, is carried out the step of the ordering of described position, setting and foundation by terminal;
The text message template of network side institute basis is obtained from end.
4, method according to claim 1 is characterized in that, this method further comprises: ordering rule is set;
In steps A, the described step that the related message parameter of text message is carried out sorting the position comprises: according to set ordering rule the related message parameter of text message is carried out the position ordering.
5, method according to claim 4 is characterized in that, in steps A, is carried out the step of the ordering of described position, setting and foundation respectively by network side and terminal.
6, method according to claim 1 is characterized in that, in steps A, is carried out the step of the ordering of described position, setting and foundation by network side;
The text message template of terminal institute basis is obtained from network side.
7, method according to claim 6 is characterized in that, described obtaining comprises: terminal is initiated register requirement to network side, and network side is carried at described text message template and is sent to terminal in the registration reply message; Or network side is sent to terminal by the aerial OTA mode of transmitting with described text message template; Or terminal is downloaded from specified web and is obtained described text message template.
8, method according to claim 2 is characterized in that, in steps A, comprises first message parameter that has a plurality of attributes in the message parameter that described text message relates to;
In steps A, the described step of carrying out position ordering and the correspondence position numbering being set comprises: for related each message parameter that comprises first message parameter of text message carries out the position ordering, and be that related each message parameter that comprises first message parameter of text message is provided with corresponding Position Number according to the position after the ordering;
Be after first message parameter is provided with corresponding Position Number, and before setting up the text message template, described steps A further comprises: each attribute that is first message parameter carries out the position ordering, and be that each attribute of first message parameter is provided with the subordinate Position Number according to the position after this ordering, utilize the Position Number and the set subordinate Position Number of the first message parameter correspondence that the recombination site numbering corresponding with each attribute of first message parameter is set then, wherein, described recombination site is numbered suffix or the subscript that the subordinate Position Number of each attribute is numbered as the first message parameter correspondence position respectively;
In steps A, the described step of setting up the text message template comprises: utilize each attribute of first message parameter and corresponding recombination site numbering and related other message parameter and the corresponding Position Number thereof of text message thereof to set up the text message template.
9, method according to claim 8 is characterized in that, in step B, comprises first message parameter in the required message parameter of described this text message;
In step B, the step that described first party is determined Position Number and constructed this text message comprises: described first party is according to the text message template, determine the recombination site numbering of each attribute correspondence of first message parameter in the required message parameter of this text message, and the Position Number of determining required other message parameter correspondence of this text message, then, described first party is according to the value of required first each attribute of message parameter of this text message and the information of determined recombination site numbering, and this text message of information structuring of the value of required other message parameter of this text message and determined Position Number;
In step C, the described step of obtaining comprises: each attribute and value thereof that described second party is obtained first message parameter according to the recombination site number information and the value of corresponding first each attribute of message parameter in text message template and this text message, and obtain this other message parameter and value thereof according to the Position Number information and the value of corresponding other message parameter in this text message.
10, method according to claim 2 is characterized in that, in steps A, comprises first message parameter that has a plurality of attributes in the message parameter that described text message relates to;
Described steps A comprises: with each attribute of first message parameter respectively as a message parameter, carry out the position ordering with other message parameter unification that described text message is related, and for each attribute of this other message parameter and first message parameter corresponding Position Number is set according to the position after this unification ordering, utilize other message parameter and corresponding Position Number thereof and each attribute and the corresponding Position Number thereof of first message parameter to set up the text message template then.
11, method according to claim 10 is characterized in that, in step B, comprises first message parameter in the required message parameter of described this text message;
In step B, the step that described first party is determined Position Number and constructed this text message comprises: described first party is according to the text message template, determine the pairing Position Number of each attribute of required first message parameter of this text message, and determine the pairing Position Number of required other message parameter of this text message, and construct this text message according to the information of determined all Position Numbers, the value of first each attribute of message parameter and the value of described other message parameter;
In step C, the described step of obtaining comprises: each attribute and value thereof that described second party is obtained first message parameter according to the Position Number information and the value of corresponding first each attribute of message parameter in text message template and this text message, and obtain this other message parameter and value thereof according to the Position Number information and the value of corresponding other message parameter in this text message.
12, method according to claim 1, it is characterized in that, in steps A, the described step that the related message parameter of text message is carried out sorting the position specifically comprises: the message parameter related to text message carries out the position ordering according to certain rule, wherein, described rule is, according to putting in order of each related message parameter initial of text message, or the frequency that is used according to each related message parameter of text message, or putting in order according to operator's appointment.
13, method according to claim 1, it is characterized in that, described steps A comprises: with multiple rule the related message parameter of text message is carried out the position ordering, and be that described message parameter is provided with corresponding Position Number respectively according to the position behind each rule compositor, utilize described message parameter under the various rules and corresponding Position Number thereof to set up the text message template of different editions then;
Further comprise between steps A and step B: terminal and network side are consulted the text message template of employed current version;
In step B, the text message template of institute's basis is the text message template of current version;
In step C, the text message template of institute's basis is the text message template of current version.
14, method according to claim 13, it is characterized in that, the step that described terminal and network side are consulted the text message template of employed current version comprises: terminal is initiated register requirement to network side, and network side is carried at the text message template of the current version that uses and is sent to terminal in the registration reply message; Or network side is by the text message Template Information notice terminal of OTA mode with the current version of use; Or terminal is with the text message Template Information informing network side of the current version of use.
15, method according to claim 13, it is characterized in that, before described first party was sent to described second party with the text message of being constructed, described step B further comprised: described first party is carried the information of current version in the text message of being constructed;
Further comprising between step B and the step C: after described second party receives this text message that described first party sends, information according to the described current version that from this text message, obtains, judge the text message template of whether preserving described current version in self, if, execution in step C then, otherwise finish current flow process.
16, method according to claim 6, it is characterized in that, described steps A further comprises: the heterogeneous networks entity that relates to according to each message parameter in the text message template of being set up, the text message template of being set up is divided into the different subtemplates of heterogeneous networks entity correspondence, each subtemplate is kept in its corresponding network entity then;
Described first party is a terminal, and described second party is a network side;
Described step C comprises: at network side, directly receive first network entity that terminal sends this text message and obtain message parameter and the value thereof that self relates in this text message according to the Position Number information and the value of the message parameter correspondence that self relates in the described subtemplate of self preserving and this text message, first network entity is sent to the subsequent network entity with this text message then, and the subsequent network entity obtains message parameter and the value thereof that self relates in this text message respectively according to the Position Number information and the value of each the message parameter correspondence that self relates in the described subtemplate of self preserving and this text message.
17, method according to claim 6 is characterized in that, described steps A further comprises: the text message template of being set up is kept in first network entity of the text message that the direct receiving terminal of network side sends;
Described first party is a terminal, and described second party is a network side;
Described step C comprises: at network side, directly receive terminal and send Position Number information and the value of first network entity of this text message, obtain all message parameters and value thereof in this text message according to each message parameter in the text message template of preserving in self and this text message.
According to any described method in the claim 1 to 17, it is characterized in that 18, the required message parameter of described this text message comprises the message parameter of dynamic parameter information correspondence and the message parameter of static parameter information correspondence;
In step B, the step that described first party is constructed this text message may further comprise the steps:
B1, described first party are provided with the capable and data line of dynamic parameter mask in this text message;
B2, described first party are the mask value that the message parameter setting of required dynamic parameter information correspondence in this text message equals 1;
B3, described first party are according to the pairing Position Number of message parameter of required each the dynamic parameter information correspondence of this text message in the text message template, determine the set mask value residing position in the dynamic parameter mask is capable that equals 1, and value residing position in data line of determining the message parameter of each dynamic parameter information correspondence;
Described step C may further comprise the steps:
C1, described second party obtain the message parameter and the value thereof of dynamic parameter information correspondence in this text message according to equaling 1 the mask value value of message parameter Position Number of each message parameter correspondence in residing position and the text message template in data line in residing position, this text message in the dynamic parameter mask is capable in this text message;
C2, described second party obtain the message parameter and the value thereof of static parameter information correspondence in this text message according to the corresponding Position Number of each message parameter in the type of this text message, the message parameter that self obtains alternately with first party and value thereof and the text message template of preserving in self.
19, method according to claim 18 is characterized in that, does not have optional message parameter in the message parameter of static parameter information correspondence in described this text message;
Described step B2 further comprises: described first party is the mask value that the message parameter setting of static parameter information correspondence in this text message equals 0;
Described step B3 further comprises: described first party is according in the described text message template, the pairing Position Number of message parameter of each static parameter information correspondence in this text message is determined the set mask value residing position in the dynamic parameter mask is capable that equals 0 successively;
In step C2, described second party is obtained the message parameter and the value thereof of static parameter information correspondence in described this text message further according to the mask value residing position in the dynamic parameter mask is capable that equals 0 in this text message.
20, method according to claim 18, it is characterized in that, described step B1 further comprises: it is capable that described first party is provided with the message parameter mask at dynamic parameter mask described in this text message of being constructed before the capable and data line, and distinguish the Position Number of correspondence according to the corresponding message parameter of the required dynamic parameter information of this text message in the text message template and static parameter information, determine to equal mask value residing position in the message parameter mask is capable of 1 successively;
In step C2, described second party is obtained the message parameter and the value thereof of static parameter information correspondence in described this text message further according to the mask value residing position in the message parameter mask is capable that equals 1.
According to any described method in the claim 1 to 17, it is characterized in that 21, the required message parameter of described this text message comprises the message parameter of dynamic parameter information correspondence and the message parameter of static parameter information correspondence;
In step B, the step that described first party is constructed this text message comprises: described first party is provided with the capable and data line of Position Number in this text message, carries the Position Number of the corresponding message parameter of the required dynamic parameter information of this text message in the number line of position; Then according to the order of the Position Number that carries in this text message, the order value of carrying the corresponding message parameter of the required dynamic parameter information of this text message successively in data line;
Described step C comprises: described second party is according to the text message template, and the Position Number of the Position Number of this text message in capable obtains the message parameter of the dynamic parameter information correspondence of carrying in this text message, and obtain the value of the message parameter of the dynamic parameter information correspondence of carrying in this text message, and corresponding message parameter and the value thereof of static parameter information of obtaining this text message according to the type of this text message, the message parameter that self obtains alternately with described first party and value thereof according to data line.
According to any described method in the claim 1 to 17, it is characterized in that 22, the required message parameter of described this text message comprises the message parameter of dynamic parameter information correspondence and the message parameter of static parameter information correspondence;
In step B, the step that described first party is constructed this text message comprises: described first party is at the message parameter of each required dynamic parameter information correspondence of this text message, at first carry the Position Number of this message parameter correspondence, and behind this Position Number, closely follow the value of this message parameter;
Described step C comprises: described second party is according to described text message template, and the Position Number that carries in this text message and subsequent value obtain the message parameter and the value thereof of the dynamic parameter information correspondence of carrying in this text message, and according to the type of this text message, self obtain corresponding message parameter and the value thereof of static parameter information in this text message with message parameter and value thereof that described first party obtains alternately.
23, according to any described method in the claim 1 to 17, it is characterized in that, after described first party constructs this text message, and before sending this text message, described step B further comprises: described first party is compressed this text message of being constructed;
After described first party was sent to second party with this text message, described step B further comprised: described second party is carried out decompress(ion) to this text message that receives.
24, according to any described method in the claim 1 to 17, it is characterized in that, in steps A, the related message parameter of described text message comprises: all message parameters of stipulating in the text message institute use agreement, or according to actual business requirement all message parameters of stipulating in the text message institute use agreement are screened the specified message parameter in back by operator.
CNB2005101028166A 2005-04-30 2005-09-12 Method for transferring text message Expired - Fee Related CN100455048C (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CNB2005101028166A CN100455048C (en) 2005-04-30 2005-09-12 Method for transferring text message
PCT/CN2006/000873 WO2006116942A1 (en) 2005-04-30 2006-04-29 A method for transferring text message

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200510070501 2005-04-30
CN200510070501.8 2005-04-30
CN200510070809.2 2005-05-17
CNB2005101028166A CN100455048C (en) 2005-04-30 2005-09-12 Method for transferring text message

Publications (2)

Publication Number Publication Date
CN1856133A CN1856133A (en) 2006-11-01
CN100455048C true CN100455048C (en) 2009-01-21

Family

ID=37195864

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101028166A Expired - Fee Related CN100455048C (en) 2005-04-30 2005-09-12 Method for transferring text message

Country Status (1)

Country Link
CN (1) CN100455048C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270223B (en) * 2014-09-10 2017-11-21 四川九洲电器集团有限责任公司 A kind of method and device of transmitting message
CN114781332A (en) * 2022-03-30 2022-07-22 交控科技股份有限公司 Alarm information processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1332527A (en) * 2000-07-10 2002-01-23 刘明 WAP-based transmitted data compressing process
WO2002095604A1 (en) * 2001-05-18 2002-11-28 Phdx Systems, Inc. High-level xml structure and communication process
EP1262931A1 (en) * 2001-06-01 2002-12-04 Siemens Aktiengesellschaft Improvements in text messaging
US20040122979A1 (en) * 2002-12-19 2004-06-24 International Business Machines Corporation Compression and abbreviation for fixed length messaging

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1332527A (en) * 2000-07-10 2002-01-23 刘明 WAP-based transmitted data compressing process
WO2002095604A1 (en) * 2001-05-18 2002-11-28 Phdx Systems, Inc. High-level xml structure and communication process
EP1262931A1 (en) * 2001-06-01 2002-12-04 Siemens Aktiengesellschaft Improvements in text messaging
US20040122979A1 (en) * 2002-12-19 2004-06-24 International Business Machines Corporation Compression and abbreviation for fixed length messaging

Also Published As

Publication number Publication date
CN1856133A (en) 2006-11-01

Similar Documents

Publication Publication Date Title
CN101300764B (en) communication system based on grouping and communication method by multimedia communication protocol in communication system based on grouping
CN102833698B (en) Use the data service technology that network is initiated to push the system and method for content to terminal
US8868788B2 (en) Optimizing static dictionary usage for signal compression and for hypertext transfer protocol compression in a wireless network
US7796592B2 (en) Optimizing static dictionary usage for signal, hypertext transfer protocol and bytecode compression in a wireless network
CN102497621B (en) Method and terminal apparatus and system for an hoc poc group session setup in poc system
CN101682617B (en) Method for determining multimedia capacity, multimedia application server and system
EP3764617B1 (en) Method and system for reducing message signaling
KR20040048252A (en) Terminal registration method using Session Initiation Protocol
US7953123B2 (en) Method and system for controlling the establishment of communications channels for allowing transmission of multimedia information
CN101227457A (en) System and method for identifying communication service
CN100550908C (en) A kind of session ability information method of operating and network entity of carrying out
EP2068524A1 (en) A method and a system for acquiring the transmission path of the sip message
CN102144380A (en) End-to-end address transfer
CN100455048C (en) Method for transferring text message
WO2006008297A2 (en) Push to watch network element and software architecture
CN101321136B (en) Transmission-receiving proxy method for conversation initial protocol message and corresponding processor
CN100361553C (en) Method and device of preserving radio terminal user characteristics
CN101778056A (en) Processing method and system for meeting history record fusing message business and
US9444649B2 (en) Method for sending and receiving session history in a communications system
CN102177699A (en) Method for managing a user in a telecommunication network, and associated device
CN101789932B (en) Game service processing method, device and system
Mashologu Performance optimization of IP Multimedia Subsystem
US20100135190A1 (en) Method and system for establishing a group messaging session in a communication system
Cirani et al. Lightweight Session Initiation for the Internet of Things
CN101193345A (en) Terminal and its content share method and system

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090121

Termination date: 20120912