[go: up one dir, main page]

CN101500202A - Large message processing method, communication apparatus and network system - Google Patents

Large message processing method, communication apparatus and network system Download PDF

Info

Publication number
CN101500202A
CN101500202A CNA2008100060774A CN200810006077A CN101500202A CN 101500202 A CN101500202 A CN 101500202A CN A2008100060774 A CNA2008100060774 A CN A2008100060774A CN 200810006077 A CN200810006077 A CN 200810006077A CN 101500202 A CN101500202 A CN 101500202A
Authority
CN
China
Prior art keywords
message
fragment
information
format
sip
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.)
Pending
Application number
CNA2008100060774A
Other languages
Chinese (zh)
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 CNA2008100060774A priority Critical patent/CN101500202A/en
Publication of CN101500202A publication Critical patent/CN101500202A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for processing large messages, comprising the following steps of: receiving a partitioned SIP Message which carries IM-format partitioned information, an identifier for the large message to which the partitioned information belongs and position information expressing the position of the IM-format partitioned information in the large message; identifying that the IM-format partitioned information belongs to the large message according to the identifier for the large message; and synthesizing the large message according to the position information which expresses the corresponding position of the IM-format partitioned information in the large message. By adopting the technical proposal provided by the embodiment of the invention, the large messages can be delivered without establishing a TCP dialog.

Description

Large message processing method, communication equipment and network system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a large message processing method, a communication device, and a network system.
Background
Short Message Service (SMS) is a Short Message Service defined by 3GPP, which is used to solve the requirement of sending and receiving Short messages in CS/PS domain, and the SMS mainly delivers Message contents in text format. Instant Message (IM) is an Instant Message service based on Session Initiation Protocol (SIP) defined by 3GPP, The Internet Engineering Task Force (IETF), and The Open Mobile Alliance (OMA), and is mainly used in The IP field to meet The requirement of receiving and sending messages in The IP field, and IM messages can transmit multimedia Message formats such as voice, image, video, text, and The like.
In the prior art, a method for delivering a Large Message (Large Message) in an IP Multimedia Subsystem (IMS) domain is provided, which specifically includes:
step 101, the calling terminal judges that the Message content that the calling user wants to send exceeds the range that can be carried by a single SIP Message (exceeds 1300 bytes), sends an Invite request, and carries + g.
And step 102, after receiving the Invite request, the called terminal returns a 200OK response and establishes a LargeMessage Session.
At this point, the TCP connection has been established successfully.
Step 103, the calling terminal sends the Message content through a Message Session Relay Protocol (MSRP).
And step 104, after the calling terminal sends the message content, the calling terminal sends a BYE request to end the session.
The second prior art provides a method for a CS/PS domain user to deliver a large message to an IMS domain user, which specifically includes:
step 201, the SMS Service center (SMS-SC) sends SMS-DELIVER message to IP-SM-GW.
Step 202, the IP-SM-GW authenticates the service of the receiving party, and stores the SMs-DELIVER message if the authentication is successful and the SMs-DELIVER message is recognized as a part of the fragmented short message.
Step 203, the IP-SM-GW returns the SMS-DELIVER-REPORT to the SMS-SC.
The SMS-SC continues to send other SMS-DELIVER messages to the IP-SM-GW, step 204.
Step 205, the IP-SM-GW determines whether the SMs-DELIVER message is the last fragmented short message of the large message, if yes, step 206 is executed, and if not, step 204 is repeatedly executed until all fragmented short messages are received.
Step 206, the IP-SM-GW initiates a session invitation to the called terminal through the S-CSCF of the called network side, and carries out a session with the called terminal to establish a TCP connection.
Step 207, the IP-SM-GW SENDs all the fragmented short messages to the called terminal in one or more MSRP SEND.
And step 208, after the message is transferred, the IP-SM-GW sends a BYE request to the called terminal through the S-CSCF on the called network side, and the session is ended.
Step 209, the IP-SM-GW returns an SMS-DELIVER-REPORT to the SMS-SC.
The defects of the prior art are as follows:
in the prior art, before sending a large message, a TCP session must be performed with a called terminal to establish a TCP connection, and the established TCP connection is used to transmit a fragment message to the called terminal.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present invention is to provide a large message processing method, a communication device, and a network system, which can transfer a large message without establishing a TCP session.
In view of this, the embodiment of the present invention provides:
a large message processing method comprises the following steps:
acquiring fragment information of an Instant Message (IM) format and position information representing the position of the fragment information of the IM format in a big message;
generating a fragment Session Initiation Protocol (SIP) Message, wherein the fragment SIP Message carries corresponding fragment information in an Instant Messaging (IM) format, a large Message identification identifier and position information indicating the position of the fragment information in the IM format in the large Message;
and sending the fragment SIP Message.
A large message processing method comprises the following steps:
receiving a fragment SIP Message, wherein the fragment SIP Message carries IM-format fragment information, a large Message identification mark to which the IM-format fragment information belongs, and position information representing the position of the IM-format fragment information in a large Message;
and identifying that the fragment information in the IM format belongs to the big message according to the big message identification mark, and synthesizing the big message according to the position information representing the position of the fragment information in the corresponding IM format in the big message.
A communication device, comprising:
the information acquisition unit is used for acquiring the fragment information in the IM format and the position information of the position of the fragment information in the IM format in the big message;
the system comprises an SIP Message generating unit, a Message processing unit and a Message processing unit, wherein the SIP Message generating unit is used for generating a fragment SIP Message which carries corresponding fragment information in an IM format, a large Message identification identifier and position information indicating the position of the fragment information in the IM format in the large Message;
and the sending unit is used for sending the fragment SIP Message.
A communication device, comprising:
the SIP Message receiving unit is used for receiving a fragment SIP Message, wherein the fragment SIP Message carries IM-format fragment information, a large Message identification mark to which the IM-format fragment information belongs and position information representing the position of the IM-format fragment information in the large Message;
and the synthesis unit is used for identifying that the fragment information in the IM format belongs to the large message according to the large message identification identifier, and synthesizing the large message according to the position information which represents the position of the fragment information in the corresponding IM format in the large message.
A network system, comprising: a calling terminal, a network device, wherein,
the calling terminal is configured to divide the large Message into multiple pieces of IM-formatted fragment information, generate position information indicating the position of the IM-formatted fragment information in the large Message, and generate a piece SIP Message, where the piece SIP Message carries corresponding IM-formatted fragment information, a large Message identification identifier, and position information indicating the position of the IM-formatted fragment information in the large Message; sending the fragment SIP Message;
the network device is used for receiving the SIP messages, identifying the IM-format fragment information in the SIP messages to belong to the big Message according to the big Message identification marks in the SIP messages, and synthesizing the big Message according to the position information of the position of the corresponding IM-format fragment information in the big Message.
A network system, comprising: an IP-SM-GW and a called terminal, wherein,
the IP-SM-GW is used for receiving the fragmented short messages divided by the large messages, wherein the fragmented short messages carry large message identification marks and position information representing the positions of the fragmented short messages in the large messages; converting the fragment short message into fragment information in an IM format, and taking position information representing the position of the fragment short message in a large message as the position information representing the position of the fragment information in the IM format in the large message; generating a fragment SIP Message, wherein the fragment SIP Message carries corresponding fragment information in an IM format, a large Message identification mark and position information representing the position of the fragment information in the IM format in the large Message; sending the fragment SIP Message;
and the called terminal is used for receiving the fragment SIP Message, identifying the IM-format fragment information in the SIP Message as the big Message according to the big Message identification identifier in the SIP Message, and synthesizing the big Message according to the position information representing the position of the corresponding IM-format fragment information in the big Message.
One of the above technical solutions has the following beneficial effects:
the embodiment of the invention obtains the fragment information in the IM format, adopts the fragment SIP Message to bear the corresponding fragment information in the IM format, and the fragment SIP Message simultaneously carries the large Message identification mark and the position information which represents the position of the fragment information in the IM format in the large Message, thereby realizing the transmission of the large Message.
Another technical scheme in the above technical scheme has the following beneficial effects:
the embodiment of the invention receives the SIP Message carrying the IM-format fragment information divided by the large Message, sorts the IM-format fragment information according to the large Message identification mark in the SIP Message and the position information indicating the position of the fragment information in the large Message to synthesize the large Message, realizes the transmission of the large Message, does not need to establish TCP connection in the prior art, utilizes the established TCP connection to transmit the large Message, and saves the step of establishing TCP connection.
Drawings
Fig. 1 is a signaling diagram of a method for delivering a large message in an IMS domain according to a first prior art;
fig. 2 is a signaling diagram of a method for a CS/PS domain user to deliver a large message to an IMS domain user according to the second prior art;
fig. 3 is a signaling diagram of a large message processing method according to an embodiment of the present invention;
fig. 4 is a signaling diagram of a large message processing method according to a second embodiment of the present invention;
fig. 5 is a signaling diagram of a large message processing method according to a third embodiment of the present invention;
fig. 6 is a signaling diagram of a large message processing method according to a fourth embodiment of the present invention;
fig. 7 is a signaling diagram of a large message processing method according to a fifth embodiment of the present invention;
fig. 8 is a signaling diagram of a large message processing method according to a sixth embodiment of the present invention;
fig. 9 is a block diagram of a communication device according to a seventh embodiment of the present invention;
fig. 10 is a block diagram of a communication device according to an eighth embodiment of the present invention;
fig. 11 is a block diagram of a communication device according to a ninth embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a large message processing method, which comprises the following steps: receiving a fragment SIP Message, wherein the fragment SIP Message carries IM-format fragment information, a large Message identification mark to which the IM-format fragment information belongs, and position information representing the position of the IM-format fragment information in a large Message; and identifying that the fragment information in the IM format belongs to the big message according to the big message identification mark, and synthesizing the big message according to the position information representing the position of the fragment information in the corresponding IM format in the big message. Wherein, the position information of the position of the fragment information in the IM format in the big message comprises: the byte range of the IM format fragmentation information in the big message and the total number of bytes of the big message; or, the total number of sequences of the IM format fragmentation information and the sequence number of the IM format fragmentation information included in the large message. By adopting the technical scheme provided by the embodiment of the invention, the large message can be transmitted under the condition of not establishing a TCP session.
Referring to fig. 3, an embodiment of the present invention provides a large message processing method for transferring a large message between terminals in an IMS domain, where the method includes:
step 301, a calling user wishes to send a Message to a called user, and a calling terminal a determines that the Message exceeds the bearing capacity of a single SIP Message, that is, the Message is a large Message, divides the large Message into a plurality of pieces of IM format fragment information, generates position information indicating the position of the IM format fragment information in the large Message, and then generates a piece of SIP Message, where the piece of SIP Message carries corresponding IM format fragment information, a large Message identification identifier, and position information indicating the position of the IM format fragment information in the large Message. The fragmentation information in this embodiment and the following embodiments is fragmentation information in IM format.
The large Message identification is Message-ID: 12339 sdqwer; the location information includes: the byte range of the fragment information in the SIPMessage in the big message and the total number of bytes of the big message; for example, the location information of the fragment information in the first fragment SIP Message is: Byte-Range: 1-100/200, the location information of the fragment information in the second fragment SIP Message is: Byte-Range: 101-200/200.
Step 302-step 304, the calling terminal a sends the first fragmented SIP Message to the called terminal B through the S-CSCF of the calling network side and the S-CSCF of the called network side in sequence.
Step 305-step 307, called terminal B sends 200OK sequence to calling terminal a through S-CSCF of called network side, S-CSCF of calling network side to answer the received first sip message.
Step 308, the called terminal B determines that the received SIP MESSAGE is a fragment SIP Message, stores the Message and waits for receiving other fragment SIP messages, and this step may also be executed after step 304, which does not affect the implementation of the present invention.
In this step, it is determined that the received SIP MESSAGE is the fragmented SIP Message, and the received SIP MESSAGE is determined according to the location information of the fragmented information carried in the SIP Message, and then, in the example in step 301, according to the fact that the location information of the fragmented information in the first SIP Message is Byte-Range: 1-100/200, the SIP Message is obtained to carry the first fragmentation Message of the big Message, which is the 1 st-100 th byte of the big Message.
Step 309-step 311, the calling terminal a sends the second fragmented SIP Message to the called terminal B through the S-CSCF of the calling network side and the S-CSCF of the called network side in sequence.
Step 312-step 314, called terminal B sends 200OK sequence to calling terminal a via S-CSCF of called network side, S-CSCF of calling network side to answer the received second sip message.
Step 315, the called terminal B determines that the fragment information carried in the SIP Message is the last part of the whole large Message, identifies which large Message the fragment information in the SIP Message belongs to according to the large Message identification identifier, sorts and displays each fragment information to the called user according to the position information indicating the position of the corresponding fragment information in the large Message, if it is determined that the fragment SIP Message is not the last part of the whole large Message, continues to execute step 308, and waits to receive the SIP messages of other parts.
Referring to fig. 4, a second embodiment of the present invention provides a large message processing method for transferring a large message between terminals in an IMS domain, where the method includes:
step 401 is the same as step 301, and is not described herein again;
wherein the location information may include: the total sequence number of the fragmentation information split by the large Message and the sequence number of the fragmentation information in the large Message, for example, the position information of the fragmentation information in the first fragmentation SIP Message is: 1/2, the location information of the fragment information in the second fragment SIP Message is: Message-Sequence 2/2.
Step 402-step 404, the calling terminal a sends the first fragmented SIP Message to the called terminal B through the S-CSCF of the calling network side and the S-CSCF of the called network side in sequence.
Step 405-step 407, called terminal B sends 200OK sequence to calling terminal a through S-CSCF of called network side, S-CSCF of calling network side to answer the received first sip message.
Step 408-step 410, the called terminal B generates a Delivery Notification according to the requirement of Instant Message Distribution Notification (IMDN) in the received fragmented SIP Message, and sends the Delivery Notification sequence to the calling terminal a through the S-CSCF at the called network side and the S-CSCF at the calling network side.
Step 411 to step 413: the calling terminal A returns 200OK sequence to the called terminal B through the S-CSCF of the calling network side and the S-CSCF of the called network side to respond to the received DeliveryNotification.
Step 414, the called terminal B judges that the received SIP MESSAGE is a fragment SIP Message, stores the SIP Message and waits for receiving other fragment SIP messages, and this step may also be executed after step 404, which does not affect the implementation of the present invention.
Step 415-step 417, the calling terminal a sends the second fragmented SIP Message to the called terminal B sequentially through the S-CSCF of the calling network side and the S-CSCF of the called network side.
Step 418-step 420, called terminal B sends 200OK sequence to calling terminal a through S-CSCF of called network side, S-CSCF of calling network side to answer the received second sip message.
And 421-423, the called terminal B generates a Delivery Notification according to the IMDN requirement in the received second fragment SIP Message, and sends the Delivery Notification to the calling terminal a through the S-CSCF of the called network side and the S-CSCF of the calling network side.
Step 424-step 426, calling terminal a returns 200OK sequence to called terminal B through S-CSCF of calling network side and S-CSCF of called network side to answer received DeliveryNotification.
And 427, the called terminal B determines that the fragment information carried in the SIP Message is the last part of the entire large Message, identifies which large Message the fragment information in the SIP Message belongs to according to the large Message identification identifier, sorts and displays each fragment information to the user B according to the position information indicating the position of the corresponding fragment information in the large Message, and if it is determined that the fragment SIP Message is not the last part of the entire large Message, continues to execute step 414 to wait for receiving the fragment SIP messages of other parts.
Step 428, after receiving all the Delivery notifications indicating that the called terminal B successfully receives the corresponding fragment message, the calling terminal a notifies the calling user that the large message is successfully received by the called terminal B, and this step can be executed after receiving all the Delivery notifications corresponding to the fragment message, that is, after step 423, and does not affect the implementation of the present invention.
In this step, the calling party is notified that the large message is successfully received by the called terminal B, and various implementation manners can be adopted, such as voice notification or display of the notification message, without affecting the implementation of the present invention.
Referring to fig. 5, a third embodiment of the present invention provides a large message processing method, for transferring a large message between terminals in an IMS domain, where the method includes:
steps 501-514 are the same as steps 301-314.
Step 515, the called terminal B determines that the fragment information carried in the SIP Message is the last part of the whole large Message, identifies which large Message the fragment information in the SIP Message belongs to according to the large Message identification identifier, sorts and displays each fragment information to the user B according to the position information indicating the position of the corresponding fragment information in the large Message, if it is determined that the fragment SIP Message is not the last part of the whole large Message, continues to execute step 508, and waits for receiving the fragment SIP messages of other parts.
And 516, the called terminal B displays the large Message to the called user, and after the called user reads the large Message, the called terminal B generates corresponding ReadNotification for each fragment SIP Message according to the requirement of the IMDN.
Step 517-step 519, the called terminal B sends a ReadNotification corresponding to the SIP Message of the first fragment to the calling terminal a.
Step 520-step 522, calling terminal a sends 200OK sequence to called terminal B via S-CSCF of calling network side and S-CSCF of called network side to answer received ReadNotification.
Step 523-step 525, the called terminal B sends the ReadNotification corresponding to the second SIP Message to the calling terminal a.
Step 526-step 528, the calling terminal a sends 200OK sequence to the called terminal B via the S-CSCF of the calling network side and the S-CSCF of the called network side to answer the received readmodify.
Step 529, after receiving the Read notifications of all the fragment messages, the calling terminal a notifies the calling user that the large message is Read by the called user, and this step can be executed after receiving all the Read notifications, that is, after step 525, and does not affect the implementation of the present invention.
In the step, the calling user is informed that the large message is read by the called user, and various implementation modes can be adopted, such as voice notification or display of the notification message, so that the implementation of the invention is not influenced.
Referring to fig. 6, a fourth embodiment of the present invention provides a large message processing method for an IMS domain terminal to transfer a large message to a CS/PS domain terminal, where the method includes:
step 601 is the same as step 301;
step 602-step 603, the calling terminal a sends the first fragmented SIPMessage to the IP-SM-GW through the S-CSCF at the calling network side.
Step 604-step 605, the IP-SM-GW returns 202Accept to the calling terminal a to reply to the received first fragment SIP Message.
Step 606, the IP-SM-GW determines that the received SIP Message is a fragment SIP Message, stores the Message and waits for receiving other fragment SIP messages, and this step may also be executed immediately after receiving the fragment SIP Message, i.e., after step 603, without affecting the implementation of the present invention.
Step 607-step 608, the calling terminal a sends the second fragmented SIPMessage to the IP-SM-GW via the S-CSCF at the calling network side.
Step 609-step 610, the IP-SM-GW returns 202Accept to the calling terminal a to reply to the received second fragment SIP Message.
Step 611, the IP-SM-GW determines that the fragment information carried in the fragment SIP Message is the last part of the entire large Message, identifies which large Message the fragment information in the SIP Message belongs to according to the large Message identification identifier, synthesizes each piece of fragment information into a large Message according to the position information indicating the position of the corresponding fragment information in the large Message, and then converts the large Message into a fragment short Message according to TS 23.040; if the fragment SIP Message is not the last part of the whole large Message, step 608 is executed to wait for receiving other fragment SIP messages.
Step 612, the IP-SM-GW sends the converted fragmented short message to the called terminal B.
Referring to fig. 7, a fifth embodiment of the present invention provides a large message processing method, for an IMS domain terminal to transfer a large message to a CS/PS domain terminal, where the method includes:
steps 701-710 are the same as steps 601-610.
The SIP Message in the above steps carries IM identification.
711, determining by the IP-SM-GW that the fragment information carried in the SIP Message is the last part of the entire large Message, identifying which large Message the fragment information in the SIP Message belongs to according to the large Message identification identifier, synthesizing each piece of fragment information into a large Message according to the position information indicating the position of the corresponding piece information in the large Message, converting the large Message into a fragment short Message according to TS23.040, and setting a corresponding field requirement Status Report for each piece of fragment short Message; if the fragment SIP Message is not the last part of the entire large Message, step 708 is executed to wait for receiving other fragment SIP messages.
Step 712, the IP-SM-GW sends the converted fragmented short MESSAGEs to the called terminal B through the SMs-SC, each fragmented short MESSAGE carries the identifier of the calling terminal and the corresponding TP-MESSAGE parameter (TP-MESSAGE-REFERENCE, TP-MR), and stores the IM identifier in SIP MESSAGE in the IM identifier entry in the MESSAGE identifier correspondence table, stores the calling terminal identifier and the corresponding TP-MR in the SMs identifier entry as the SMs identifier, and establishes the correspondence between the IM identifier and the calling party identifier and the TP-MR, as shown in table one.
Figure A200810006077D00191
Watch 1
Step 713, the SMS-SC generates corresponding Status Report and sends the Report to the IP-SM-GW according to the condition that the called terminal B receives each fragment short message, and the message carries the corresponding TP-MR field and the message receiver identification.
Step 714, the IP-SM-GW determines whether the message receiver identifier in the Status Report is the calling terminal identifier in the SMs identifier, if so, whether the TP-MR field in the Status Report is the same as the TP-MR field in the SMs identifier, if so, obtains the IM identifier corresponding to the TP-MR field, and corresponds the SMs-Status-Report message to the large message. After IP-SM-GW receives all Status reports indicating that the fragment short Message is successfully sent, it indicates that the content of the large Message is successfully received by the called terminal B, and generates a corresponding Delivery Notification for each fragment SIP Message.
Step 715-step 716, the IP-SM-GW sends a Delivery Notification corresponding to the first sip message to the calling terminal a.
Step 717-step 718, the calling terminal a returns 200OK to the IP-SM-GW to answer the received Delivery Notification.
Step 719-step 720, the IP-SM-GW sends a Delivery Notification corresponding to the second sip message to the calling terminal a.
Step 721-step 722, the calling terminal a returns 200OK to the IP-SM-GW to answer the received Delivery Notification.
Step 723, after receiving the delivery notification corresponding to all the fragment SIP messages, the calling terminal a notifies the calling user that the large Message is received by the called terminal.
This step may be executed after all Delivery notifications are received, that is, after step 720, without affecting the implementation of the present invention.
Referring to fig. 8, a sixth embodiment of the present invention provides a large message processing method for a CS/PS domain terminal to deliver a large message to an IMS domain terminal, where the method includes:
step 801, the SMS-SC sends the fragmented short message to be sent by the CS/PS domain terminal to the IP-SM-GW, where the fragmented short message carries the sequence number of the fragmented short message in the large message and the total number of the sequence of the fragmented short message split by the large message. Wherein, the fragment short message is divided into large messages.
Step 802, the IP-SM-GW receives the short Message sent by the SMs-SC, and knows that the short Message is a part of the fragmented short Message, the total number of the entire fragmented short Message, and the sequence of the short Message in the entire fragmented short Message according to the corresponding field, converts the short Message into the fragmented information in the IM format according to the related information carried by the fragmented short Message, and uses a fragmented SIP Message to carry the corresponding fragmented information, where the fragmented SIP Message includes: the system comprises fragmentation information, a large message identification mark and position information representing the position of the fragmentation information in a large message. The position information indicating the position of the fragmentation information in the large message is the sequence number of the fragmentation short message in the large message and the total number of the fragmentation short message sequences split by the large message.
Step 803-step 804, the IP-SM-GW sends the fragment SIP Message to the called terminal B;
step 805-step 806, the called terminal B returns 200OK response received fragment SIP Message;
and step 807-step 808, after receiving the fragment SIP Message, the called terminal B sends a Delivery Notification according to the IMDN requirement.
Step 809-step 810, the IP-SM-GW returns 202Accept response received DeliveryNotification.
And step 811, the IP-SM-GW generates a corresponding Delivery Report to the SMS-SC according to the Delivery Notification returned by the called terminal B.
Step 812, if the called terminal B determines that the received SIP MESSAGE Message is a fragment SIP Message, the Message is stored, and waits for receiving other fragment SIP messages, which may also be executed immediately after receiving the fragment SIP Message, that is, step 804;
step 813, the SMS-SC sends a short message to the IP-SM-GW.
Step 814, the IP-SM-GW receives the short Message sent by the SMs-SC, and knows that the short Message is a part of the fragmented short Message, the total number of the whole fragmented short Message, and the sequence of the short Message in the whole fragmented short Message according to the corresponding field, converts the short Message into the fragmentation information in the IM format according to the related information carried by the fragmented short Message, and uses the fragmented SIP Message to carry the corresponding fragmentation information.
Steps 815-823 are the same as steps 803-811.
Step 824, the called terminal B determines that the fragment information carried by the SIP Message is the last part of the whole large Message, identifies which large Message the fragment information in the SIP Message belongs to according to the large Message identification identifier, and sorts and displays each fragment information to the called user according to the position information indicating the position of the corresponding fragment information in the large Message; if the fragment SIP Message is not the last part of the whole large Message, step 812 is executed continuously, and the reception of other fragment SIP messages is waited.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, such as a read-only memory, a magnetic or optical disk, and the like.
In each of the above embodiments, the location information indicating the location of the fragment information in the large Message may be located in a header field of the SIP Message or a header field of a Common Profile for Instant Messaging protocol (CPIM), which does not affect the implementation of the present invention.
The SIP Message in the embodiments carries the large Message identification and the location information indicating the location of the corresponding fragment information in the large Message, which may include, but is not limited to, the following situations.
1. The Message-ID header field indicates the identification of the large Message, the values of all the fragments SIP messages of the same large Message are the same, and the BYTE-RANGE header field indicates which part of BYTEs of the whole large Message the fragment information carried by the fragment SIP Message belongs to and how many BYTEs of the whole large Message are composed;
2. the Message-ID header field indicates the identification of the large Message, and the values of all the fragmented SIP messages of the same large Message are the same; the Message-Sequence header field indicates how many pieces of fragment information constitute the large Message, and the fragment information carried in the SIP Message belongs to the second one;
3. the identification mark of the large Message, the number of bytes contained in the whole large Message and the byte range of the fragment Message carried in the SIP Message in the whole large Message are indicated in a Message-Feature header field, wherein the identification mark of the large Message carried in each fragment SIP Message carrying the large Message is the same;
4. and indicating the identification identifier of the large Message, the number of the fragment information contained in the whole large Message and the ordinal of the fragment information carried in the fragment SIP Message in a Message-Feature header field, wherein the identification identifiers of the large messages carried in each fragment SIP Message carrying the large Message are the same.
Referring to fig. 9, a seventh embodiment of the present invention provides a communication device, including:
an information obtaining unit 901, configured to obtain fragment information in an IM format and position information indicating a position of the fragment information in the IM format in a large message;
an SIP Message generating unit 902, configured to generate a fragment SIP Message, where the fragment SIP Message carries fragment information corresponding to an IM format, a large Message identification identifier, and location information indicating a location of the fragment information in the IM format in the large Message;
a sending unit 903, configured to send the fragment SIP Message.
The information acquiring unit 901 includes:
the segmentation unit is used for segmenting the large message into a plurality of pieces of information in IM format;
and the position information generating unit is used for generating position information which represents the position of the IM format slicing information divided by the dividing unit in the large message.
Alternatively, the information acquisition unit 901 includes:
the system comprises a fragmentation short message receiving unit, a fragmentation short message sending unit and a fragmentation short message sending unit, wherein the fragmentation short message receiving unit is used for receiving a fragmentation short message divided by a large message, and the fragmentation short message carries a large message identification mark and position information representing the fragmentation short message in the large message;
the conversion unit is used for converting the fragment short message into fragment information in an IM format;
and the position information acquisition unit is used for taking the position information of the fragment short message in the large message as the position information of the fragment information in the IM format in the large message.
Referring to fig. 10, an eighth embodiment of the present invention provides a communication device, where the communication device may be a called terminal, and the communication device includes:
an SIP Message receiving unit 1001 that receives a fragment SIP Message, where the fragment SIP Message carries fragment information in an IM format, a large Message identification identifier to which the fragment information in the IM format belongs, and location information indicating a location of the fragment information in the IM format in the large Message;
a synthesizing unit 1002, configured to recognize that the fragment information in the IM format belongs to the large message according to the large message identification identifier, and synthesize the large message according to the position information indicating the position of the fragment information in the large message corresponding to the IM format.
The apparatus further comprises: a Delivery Notification generating unit 1003, configured to generate a Delivery Notification according to the IMDN requirement in the corresponding sip message, and send the Delivery Notification to the calling terminal.
Or/and, the device further comprises:
a display unit for displaying the synthesized large message;
and the Read Notification generation unit is used for generating the Read Notification according to the IMDN requirement in the corresponding SIP Message and sending the Read Notification to the calling terminal.
Referring to fig. 11, a ninth embodiment of the present invention provides a communication device, where the communication device may be an IP-SM-GW, and for clearly describing connection relationships and functions between units of the communication device, fig. 11 also shows an SMs-SC, and an eighth embodiment of the present invention provides a communication device including:
an SIP Message receiving unit 1101 that receives a fragment SIP Message, where the fragment SIP Message carries fragment information in an IM format, a large Message identification identifier to which the fragment information in the IM format belongs, and location information indicating a location of the fragment information in the IM format in the large Message;
a synthesizing unit 1102, configured to recognize that the fragment information in the IM format belongs to the large message according to the large message identification identifier, and synthesize the large message according to the position information indicating the position of the fragment information in the large message corresponding to the IM format.
The apparatus further comprises:
a conversion unit 1103, configured to convert the synthesized large message into a fragmented short message;
a sending unit 1104, configured to send the converted fragmented short message to the CS/PS domain called terminal through the SMS-SC.
A corresponding relationship establishing unit 1105, configured to establish a corresponding relationship between the IM identifier and an SMS identifier indicating a corresponding fragmented short message;
an SMS status report receiving unit 1106, configured to receive an SMS status report carrying an SMS identifier sent by the SMS-SC;
a message corresponding unit 1107, configured to obtain, according to the established corresponding relationship, an IM identifier corresponding to an SMS identifier carried in an SMS status report, and correspond the SMS status report to the large message;
a Delivery Notification generating unit 1108, configured to generate a Delivery Notification corresponding to the fragmented SIP Message and send the Delivery Notification to the calling terminal after receiving all SMS status reports corresponding to the large Message.
An embodiment of the present invention provides a network system, including: a calling terminal, a network device, wherein,
the calling terminal is used for dividing a large Message into a plurality of pieces of IM-format fragment information, generating position information of the IM-format fragment information in the large Message, generating a piece of SIP Message, carrying the corresponding IM-format fragment information, a large Message identification identifier and the position information of the IM-format fragment information in the large Message, and sending the piece of SIP Message;
the network device is used for receiving the fragment SIP Message, identifying the fragment information in the IM format in the SIP Message as the big Message according to the big Message identification mark, and synthesizing the big Message according to the position information representing the position of the fragment information in the corresponding IM format in the big Message.
Wherein the network device is an IP-SM-GW, further configured to send the composed large message to the called terminal.
An eleventh embodiment of the present invention provides a network system, including: an IP-SM-GW and a called terminal, wherein,
the IP-SM-GW is used for receiving the fragmented short messages divided by the large messages, wherein the fragmented short messages carry large message identification marks and position information representing the fragmented short messages in the large messages; converting the fragment short message into fragment information in an Instant Message (IM) format, and taking the position information of the fragment short message in a large message as the position information of the fragment information in the IM format in the large message; generating a fragment SIP Message, wherein the fragment SIP Message carries corresponding fragment information in an IM format, a large Message identification mark and position information representing the position of the fragment information in the IM format in the large Message; sending the fragment SIP Message;
and the called terminal is used for receiving the fragment SIP Message, identifying the fragment information in the IM format in the SIP Message as the big Message according to the big Message identification mark, and synthesizing the big Message according to the position information which represents the position of the fragment information in the corresponding IM format in the big Message.
From the above analysis, it can be seen that the embodiments of the present invention have the following beneficial effects:
1. the embodiment of the invention obtains a plurality of pieces of information divided by the large Message, and adopts the piece SIP Message to bear the corresponding piece of information, and the piece of SIP Message simultaneously carries the large Message identification mark and the position information which represents the position of the piece of information in the large Message, thereby realizing the transmission of the large Message.
The embodiment of the invention receives the SIP Message which bears the fragment information divided by the large Message, sequences the fragment information according to the large Message identification mark in the SIP Message and the position information which represents the position of the fragment information in the large Message to synthesize the large Message, realizes the transmission of the large Message, does not need to establish TCP connection in the prior art, utilizes the established TCP connection to transmit the large Message, and saves the step of establishing the TCP connection.
2. The embodiment of the invention can enable the calling terminal sending the large message to know whether the large message can be received by the called terminal, thereby improving the user experience.
While the method, the communication device, and the network system for processing a large message according to the embodiments of the present invention have been described in detail, for those skilled in the art, there may be variations in the specific implementation and application scope according to the concepts of the embodiments of the present invention.

Claims (27)

1. A large message processing method, comprising:
acquiring fragment information of an Instant Message (IM) format and position information representing the position of the fragment information of the IM format in a big message;
generating a fragment Session Initiation Protocol (SIP) Message, wherein the fragment SIP Message carries corresponding fragment information in an Instant Messaging (IM) format, a large Message identification identifier and position information indicating the position of the fragment information in the IM format in the large Message;
and sending the fragment SIP Message.
2. The method of claim 1,
the obtaining of the fragment information in the IM format and the position information indicating the position of the fragment information in the IM format in the big message is specifically:
and dividing the large message into a plurality of pieces of IM format information, and generating position information representing the position of the IM format pieces of information in the large message.
3. The method of claim 1,
the obtaining of the fragment information in the IM format and the position information indicating the position of the fragment information in the IM format in the big message is specifically:
receiving a fragmented short message divided by a large message, wherein the fragmented short message carries a large message identification mark and position information representing the position of the fragmented short message in the large message;
and converting the fragment short message into the fragment information of the IM format, and taking the position information representing the position of the fragment short message in the big message as the position information representing the position of the fragment information of the IM format in the big message.
4. The method of claim 1,
the position information of the position of the fragment information in the IM format in the big message comprises:
the byte range of the IM format fragmentation information in the big message and the total number of bytes of the big message;
or,
the sequence total number of the IM format fragmentation information contained in the large message and the sequence number of the IM format fragmentation information.
5. A large message processing method, comprising:
receiving a fragment SIP Message, wherein the fragment SIP Message carries IM-format fragment information, a large Message identification mark to which the IM-format fragment information belongs, and position information representing the position of the IM-format fragment information in a large Message;
and identifying that the fragment information in the IM format belongs to the big message according to the big message identification mark, and synthesizing the big message according to the position information representing the position of the fragment information in the corresponding IM format in the big message.
6. The method of claim 5,
the receiving fragment SIP Message specifically includes:
the IMS domain called terminal receives the fragment SIP Message;
correspondingly, the called terminal of the IMS domain identifies that the fragment information in the IM format belongs to the big message according to the big message identification mark, and synthesizes the big message according to the position information which represents the position of the fragment information in the corresponding IM format in the big message.
7. The method according to claim 6, wherein said fragmented SIP Message carries an instant messaging notification IMDN requirement;
after the IMS domain called terminal acquires the fragment SIP Message, the method further includes: the IMS domain called terminal generates a delivery notification DeliveryNotification according to the IMDN requirement in the corresponding SIP Message and sends the delivery notification DeliveryNotification to the IMS domain calling terminal.
8. The method according to claim 7, wherein after the IMS domain calling terminal receives the delivery notification corresponding to all the IM format fragmentation information partitioned by the large message, the method further comprises:
and the IMS domain calling terminal informs the calling user that the large message is received by the called terminal.
9. The method according to claim 6, wherein the fragment SIP Message carries IMDN requirements;
after synthesizing the large message, the method further comprises:
and the IMS domain called terminal displays the synthesized big Message, generates a Read Notification according to the IMDN requirement in the corresponding SIP Message, and sends the Read Notification to the IMS domain calling terminal.
10. The method according to claim 9, wherein after the IMS domain calling terminal receives ReadNotification corresponding to all IM format fragmentation information divided by the large message, the method further comprises:
and the IMS domain calling terminal informs the calling user that the large message is read by the called user.
11. The method according to claim 6, wherein the fragmented SIP Message carries IMDN requirements, and after the IMS domain called terminal receives the fragmented SIP Message, the method further comprises:
the IMS domain called terminal generates a Delivery Notification according to the IMDN requirement in the corresponding SIP Message and sends the Delivery Notification to the IP-SM-GW;
and the IP-SM-GW generates a corresponding Deliveryreport according to the Delivery Notification and sends the Deliveryreport to the CS/PS domain calling terminal.
12. The method of claim 5,
the receiving fragment SIP Message specifically includes:
the IP-SM-GW receives the fragment SIP Message;
correspondingly, the IP-SM-GW identifies that the fragment information in the IM format belongs to the big message according to the big message identification mark, and synthesizes the big message according to the position information representing the position of the fragment information in the corresponding IM format in the big message.
13. The method of claim 12, wherein after synthesizing the large message, the method further comprises: and converting the synthesized large message into a fragmented short message and sending the fragmented short message to the CS/PS domain called terminal through a short message service center (SMS-SC).
14. The method of claim 13, wherein the SIP Message carries an IM identifier, and wherein after converting the synthesized large Message into a fragmented short Message, the method further comprises:
the IP-SM-GW establishes a corresponding relation between the IM identification and a Short Message Service (SMS) identification representing a corresponding fragment short message;
and receiving an SMS status report carrying an SMS identification sent by the SMS-SC, obtaining an IM identification corresponding to the SMS identification carried in the SMS status report according to the established corresponding relation, corresponding the SMS status report to the big Message, generating a Delivery Notification corresponding to the SIP Message after receiving all the SMS status reports corresponding to the big Message, and sending the Delivery Notification to the IMS domain calling terminal.
15. The method of claim 5,
the position information of the position of the fragment information in the IM format in the big message comprises:
the byte range of the IM format fragmentation information in the big message and the total number of bytes of the big message;
or,
the sequence total number of the IM format fragmentation information contained in the large message and the sequence number of the IM format fragmentation information.
16. The method of claim 15,
the location information is located in the header field of the SIP Message or the header field of the SIP Message body.
17. A communication device, comprising:
the information acquisition unit is used for acquiring the fragment information in the IM format and the position information of the position of the fragment information in the IM format in the big message;
the system comprises an SIP Message generating unit, a Message processing unit and a Message processing unit, wherein the SIP Message generating unit is used for generating a fragment SIP Message which carries corresponding fragment information in an IM format, a large Message identification identifier and position information indicating the position of the fragment information in the IM format in the large Message;
and the sending unit is used for sending the fragment SIP Message.
18. The communication device of claim 17,
the information acquisition unit includes:
the segmentation unit is used for segmenting the large message into a plurality of pieces of information in IM format;
and the position information generating unit is used for generating position information which represents the position of the IM format slicing information divided by the dividing unit in the large message.
19. The communication device of claim 17,
the information acquisition unit includes:
the system comprises a fragment short message receiving unit, a fragment short message processing unit and a fragment short message sending unit, wherein the fragment short message receiving unit is used for receiving a fragment short message divided by a large message, and the fragment short message carries a large message identification mark and position information representing the fragment short message in the large message;
the conversion unit is used for converting the fragment short message into fragment information in an IM format;
and the position information acquisition unit is used for taking the position information which represents the position of the fragmented short message in the large message as the position information which represents the position of the fragmented information in the IM format in the large message.
20. A communication device, comprising:
the SIP Message receiving unit is used for receiving a fragment SIP Message, wherein the fragment SIP Message carries IM-format fragment information, a large Message identification mark to which the IM-format fragment information belongs and position information representing the position of the IM-format fragment information in the large Message;
and the synthesis unit is used for identifying that the fragment information in the IM format belongs to the large message according to the large message identification identifier, and synthesizing the large message according to the position information which represents the position of the fragment information in the corresponding IM format in the large message.
21. The communication device of claim 20, wherein the communication device is an IMS domain called terminal,
the fragment SIP Message received by the SIP Message receiving unit carries an IMDN requirement;
the apparatus further comprises: and the Delivery Notification generation unit is used for generating the Delivery Notification according to the IMDN requirement in the corresponding SIP Message and sending the Delivery Notification to the IMS domain calling terminal.
22. The communications device of claim 20, wherein the communications device is an IMS domain called terminal, the device further comprising:
a display unit for displaying the synthesized large message;
and the Read Notification generation unit is used for generating the Read Notification according to the IMDN requirement in the corresponding SIP Message and sending the Read Notification to the IMS domain calling terminal.
23. The communications device of claim 20, wherein the communications device is an IP-SM-GW, further comprising:
a conversion unit for converting the synthesized large message into a fragmented short message;
and the sending unit is used for sending the converted fragmented short message to the CS/PS domain called terminal through the SMS-SC.
24. The communications device according to claim 23, wherein the SIP Message carries an IM identifier, the device further comprising:
a corresponding relation establishing unit for establishing the corresponding relation between the IM identification and the SMS identification representing the corresponding fragment short message;
an SMS status report receiving unit, which is used for receiving the SMS status report which carries the SMS identification and is sent by the SMS-SC;
a message corresponding unit, configured to obtain an IM identifier corresponding to an SMS identifier carried in an SMS status report according to the established corresponding relationship, and correspond the SMS status report to the large message;
and the Delivery Notification generating unit is used for generating the Delivery Notification corresponding to the fragment SIP Message and sending the Delivery Notification to the calling terminal after receiving all the SMS status reports corresponding to the large Message.
25. A network system, comprising: a calling terminal, a network device, wherein,
the calling terminal is configured to divide the large Message into multiple pieces of IM-formatted fragment information, generate position information indicating the position of the IM-formatted fragment information in the large Message, and generate a piece SIP Message, where the piece SIP Message carries corresponding IM-formatted fragment information, a large Message identification identifier, and position information indicating the position of the IM-formatted fragment information in the large Message; sending the fragment SIP Message;
the network device is used for receiving the SIP messages, identifying the IM-format fragment information in the SIP messages to belong to the big Message according to the big Message identification marks in the SIP messages, and synthesizing the big Message according to the position information of the position of the corresponding IM-format fragment information in the big Message.
26. The system of claim 25, wherein the network device is an IP-SM-GW,
the network device is also used for sending the synthesized large message to the called terminal.
27. A network system, comprising: an IP-SM-GW and a called terminal, wherein,
the IP-SM-GW is used for receiving the fragmented short messages divided by the large messages, wherein the fragmented short messages carry large message identification marks and position information representing the positions of the fragmented short messages in the large messages; converting the fragment short message into fragment information in an IM format, and taking position information representing the position of the fragment short message in a large message as the position information representing the position of the fragment information in the IM format in the large message; generating a fragment SIP Message, wherein the fragment SIP Message carries corresponding fragment information in an IM format, a large Message identification mark and position information representing the position of the fragment information in the IM format in the large Message; sending the fragment SIP Message;
and the called terminal is used for receiving the fragment SIP Message, identifying the IM-format fragment information in the SIP Message as the big Message according to the big Message identification identifier in the SIP Message, and synthesizing the big Message according to the position information representing the position of the corresponding IM-format fragment information in the big Message.
CNA2008100060774A 2008-02-01 2008-02-01 Large message processing method, communication apparatus and network system Pending CN101500202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100060774A CN101500202A (en) 2008-02-01 2008-02-01 Large message processing method, communication apparatus and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100060774A CN101500202A (en) 2008-02-01 2008-02-01 Large message processing method, communication apparatus and network system

Publications (1)

Publication Number Publication Date
CN101500202A true CN101500202A (en) 2009-08-05

Family

ID=40947034

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100060774A Pending CN101500202A (en) 2008-02-01 2008-02-01 Large message processing method, communication apparatus and network system

Country Status (1)

Country Link
CN (1) CN101500202A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931919A (en) * 2010-08-18 2010-12-29 中国电信股份有限公司 Long short message sending processing method and device, business gateway and communication system
CN110881021A (en) * 2018-09-06 2020-03-13 中国移动通信有限公司研究院 Method and device for processing MSRP fragmentation, network equipment and storage medium
CN115835148A (en) * 2022-12-22 2023-03-21 哲库科技(北京)有限公司 Short message transmission method, terminal device, short message gateway, chip and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101931919A (en) * 2010-08-18 2010-12-29 中国电信股份有限公司 Long short message sending processing method and device, business gateway and communication system
CN101931919B (en) * 2010-08-18 2013-03-20 中国电信股份有限公司 Long short message sending processing method and device, business gateway and communication system
CN110881021A (en) * 2018-09-06 2020-03-13 中国移动通信有限公司研究院 Method and device for processing MSRP fragmentation, network equipment and storage medium
CN110881021B (en) * 2018-09-06 2022-06-03 中国移动通信有限公司研究院 Method and device for processing MSRP fragmentation, network equipment and storage medium
CN115835148A (en) * 2022-12-22 2023-03-21 哲库科技(北京)有限公司 Short message transmission method, terminal device, short message gateway, chip and storage medium

Similar Documents

Publication Publication Date Title
EP1929730B1 (en) Method and apparatus for instant messaging
EP2227044B1 (en) Method, network element equipment and network system for instant message delivery status notification
US20070249379A1 (en) Methods, systems, and computer program products for transferring a message service payload between messaging entities
JP2009512931A (en) Retrieve offline instant messages
WO2009127873A1 (en) Session-based telecommunications
US8050269B2 (en) Mobile terminal and message transmitting/receiving method for adaptive converged IP messaging
CN100411394C (en) System and method for encapsulating and transmitting messages in message session relay protocol
US9451427B1 (en) Delivery notification enhancement for data messages
CN101207577A (en) Interconnecting method among message systems and message interconnecting gateway
US20140141821A1 (en) Method and Devices to Convey Session Participant List to a Store and Forward Group Chat Recipient
US20100015953A1 (en) Method and System for Transmitting an Instantaneous Message to a Terminal
CN101500202A (en) Large message processing method, communication apparatus and network system
EP2146459B1 (en) Charging method, system and apparatus
CN102026112B (en) Method and system for sending converged IP messaging
KR101002150B1 (en) Method and apparatus for providing instant messaging service between mobile communication terminals
KR20080034072A (en) Method of transmitting heterogeneous message using SIP-based transmission message and user device therefor
KR20090068335A (en) Communications clients, signaling protocols, software products, and communications networks
WO2008044829A1 (en) Method for transmitting different type messages using a sip-based transport message and user equipment therefor
CN101442722B (en) Method and device for routing messages in traditional network based on SIP protocol
EP2640029A1 (en) System and method for transmitting multipage multimedia messages, session initiation protocol terminal and multimedia message proxy server
KR100431466B1 (en) System And Method For Streaming Service In Mobile Internet
CN1874323A (en) Method for transmitting message in multimedia
KR100867168B1 (en) System and method for supporting real-time message communication service based telecommunication network
CN101753468A (en) Integrated service system and method for forwarding feedback messages for group messages
KR100887152B1 (en) Video message push system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090805