WO2012062051A1 - Method and system for delivering multimedia messages - Google Patents

Method and system for delivering multimedia messages Download PDF

Info

Publication number
WO2012062051A1
WO2012062051A1 PCT/CN2011/070442 CN2011070442W WO2012062051A1 WO 2012062051 A1 WO2012062051 A1 WO 2012062051A1 CN 2011070442 W CN2011070442 W CN 2011070442W WO 2012062051 A1 WO2012062051 A1 WO 2012062051A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
mmsc
multimedia
notification
identifier
Prior art date
Application number
PCT/CN2011/070442
Other languages
French (fr)
Chinese (zh)
Inventor
陶长标
余湛悦
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012062051A1 publication Critical patent/WO2012062051A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/184Messaging devices, e.g. message centre

Definitions

  • the present invention relates to the field of multimedia message transmission, and in particular, to a method and system for delivering a multimedia message. Background technique
  • FIG. 1 is a schematic structural diagram of a system of a multimedia message service center in the prior art
  • FIG. 2 is a schematic flowchart of a multimedia message delivered in the prior art.
  • the current multimedia message service center MMSC, Multimedia
  • the Messaging Service Center uses the three steps specified in the multimedia messaging service specification when delivering multimedia messages:
  • the first step the submission process: submitting the multimedia message to the MMSC by the provider's mobile terminal, or the service provider, or other value-added service system of the multimedia message;
  • the notification process is sent: the MMSC sends a short message notification message to the mobile terminal of the receiver through the Short Message Service Center (SMSC), and informs the mobile terminal of the receiver that the multimedia message needs to be received.
  • SMSC Short Message Service Center
  • the third step is the acquisition process: the mobile terminal of the receiver actively takes the multimedia message to the MMSC.
  • the maximum impact on the success rate and accuracy of multimedia message reception is the second step, because the current MMSC delivery notification process has the following two defects:
  • the first defect is: The MMSC sends a notification SMS message to the SMSC. When the SMSC receives the message, it responds with an acknowledgment message to the MMSC, and informs the MMSC to receive the notification SMS message. After receiving the confirmation message, the MMSC determines that the notification SMS message has been received.
  • the delivery is successful, and the subsequent operations are continued; however, the actual situation is that the SMSC does not immediately send the notification message to the receiving party after receiving the notification SMS message sent by the MMSC, but uses the store-and-forward method (short message protocol specification). The stipulations in the process are performed in the queue. After the actual delivery, the SMSC will not reply the final result to the SSMC. Therefore, whether the multimedia message is actually delivered successfully is unknown to the MMSC, which will result in some multimedia messages. The success rate of the multimedia message delivery is reduced because the mobile terminal of the receiver is not forwarded to the mailbox or expires.
  • the second defect is:
  • the SMSC sends the notification SMS message through the SMSC, it does not authenticate the number of the mobile terminal of the receiver, so there will be if the number of the mobile terminal of the receiver is an empty number or an abnormal number (for example 120), the MMSC still issues a notification short message, thereby affecting the accuracy rate of the delivery of the multimedia message, and once the multimedia message is expired, once the mail is successfully forwarded to the Dreamnet mailbox, the user also needs to deduct the fee.
  • the MMSC has the above two defects in the processing of multimedia messages, which makes it difficult to achieve an ideal ratio of the accuracy and success rate of multimedia message reception.
  • problems such as an empty number deduction, which may cause users to Complaint.
  • the main purpose of the present invention is to provide a method and system for delivering a multimedia message, which can improve the accuracy and success rate of multimedia message delivery.
  • the present invention provides a method for delivering a multimedia message, including:
  • the delivery status message is sent to the multimedia message service center (MMSC);
  • the notification short message is delivered to During the operation, the multimedia message is found according to the message identifier of the notification short message in the delivery status message, and is sent to the SMSC.
  • the method further includes:
  • the MMSC determines whether the delivery status of the short message is abnormal according to the error code in the delivery status message; if abnormal, the MMSC suspends the subsequent normal processing flow of the multimedia message.
  • the destination number abnormality log is generated; if not abnormal, the MMSC initiates a resend process of the multimedia message; if it is in another state, the MMSC terminates the subsequent normal processing flow of the multimedia message, and generates a delivery failure log.
  • the method further includes:
  • the MMSC generates a message identifier of the multimedia message, and sends a notification message message to the SMSC; the SMSC generates a message identifier for notifying the short message, and sends the message identifier to the MMSC through the confirmation message; the MMSC saves the correspondence between the message identifier of the multimedia message and the message identifier of the notification SMS message. .
  • the resending process of the MMSC to initiate the multimedia message is: the MMSC initiates a resend process of the multimedia message, and resends the notification message message to
  • the SMSC until the notification SMS message is successfully sent to the recipient's mobile terminal, or the number of retransmissions reaches the preset retransmission threshold.
  • the message identifier of the MMSC to generate the multimedia message is:
  • the MMSC After receiving the multimedia message submitted by the mobile terminal of the provider, the MMSC caches the multimedia message, and generates a transaction number for the multimedia message, and generates a message identifier corresponding to the multimedia message according to the transaction number.
  • the message identifier of the SMSC to generate the notification short message is:
  • the SMSC After receiving the notification SMS message sent by the MMSC, the SMSC generates a notification message message for the notification message message.
  • the transaction number according to the transaction number, generates a message identifier corresponding to the notification short message.
  • the correspondence between the message identifier of the MMSC to save the multimedia message and the message identifier of the notification short message is:
  • the MMSC parses the confirmation message sent by the SMSC and carries the message identifier of the notification short message, and obtains the message identifier of the notification SMS message.
  • the MMSC finds the notification message corresponding to the SMS message according to the transaction number in the message identifier of the notification SMS message. And obtaining the multimedia message corresponding to the notification short message and the message identifier of the multimedia message; the MMSC saves the message identifier of the notification short message and the message identifier of the corresponding multimedia message to the memory table of the corresponding relationship created in advance.
  • the present invention also provides a system for delivering multimedia messages, including: SMSC, MMSC;
  • the SMSC is configured to send the delivery status message to the MMSC after sending the notification short message to the mobile terminal;
  • the MMSC is configured to: when the delivery of the notification short message is successful according to the delivery status code in the delivery status message, find the multimedia message according to the message identifier of the notification short message in the delivery status message, and send the multimedia message to the SMSC.
  • the MMSC is further configured to: when determining that the notification short message delivery fails according to the delivery status code in the delivery status message, determining, according to the error code in the delivery status message, whether the delivery status of the notification short message is abnormal; when abnormal, suspending the multimedia message
  • the subsequent normal processing flow generates an abnormality log of the destination number; when the abnormality is not abnormal, the resending process of the multimedia message is initiated; when it is in another state, the subsequent normal processing flow of the multimedia message is terminated, and a delivery failure log is generated.
  • the MMSC is further configured to: generate a message identifier of the multimedia message, and send a notification short message to the SMSC;
  • the SMSC is further configured to: generate a message identifier for notifying the short message, and send the message to the MMSC by using an acknowledgement message;
  • the MMSC is further configured to save a correspondence between a message identifier of the multimedia message and a message identifier of the notification short message.
  • the method and system for delivering a multimedia message provided by the present invention, after the SMSC sends a notification short message to the mobile terminal, the delivery status message is sent to the MMSC; when the MMSC determines that the short message delivery is successful according to the delivery status code in the delivery status message And, according to the message identifier of the notification short message in the delivery status message, the multimedia message is found and sent to the SMSC, and the MMSC can know whether the notification short message is actually delivered to the mobile terminal of the receiver, and the MMSC can according to the received delivery status message. Determining whether the delivery status of the notification short message is abnormal.
  • the resend process of the multimedia message may be initiated, thereby avoiding that the mobile terminal does not acquire in time.
  • the multimedia message is forwarded to the dream network mailbox or expired, which improves the success rate of the delivery of the multimedia message; when the MMSC determines that the delivery status of the notification short message is abnormal or other indeterminate state, the subsequent normal processing flow of the multimedia message is suspended.
  • FIG. 1 is a schematic structural diagram of a system of a multimedia message service center in the prior art
  • FIG. 2 is a schematic flowchart of sending a multimedia message in the prior art
  • FIG. 3 is a schematic flowchart of a method for implementing a multimedia message according to the present invention.
  • FIG. 4 is a schematic flow chart of a method for implementing step 305 in FIG. 3 according to the present invention.
  • FIG. 5 is a schematic structural diagram of a system for implementing a multimedia cancellation according to the present invention. detailed description
  • the basic idea of the present invention is: After the short message center (SMSC) sends the notification short message to the mobile terminal, the delivery status message is sent to the multimedia message service center (MMSC); when the MMSC determines the notification according to the delivery status code in the delivery status message When the short message delivery is successful, the multimedia message is found according to the message identifier of the notification short message in the delivery status message, and is sent to the SMSC.
  • SMSC short message center
  • FIG. 3 is a schematic flowchart of a method for transmitting a multimedia message according to the present invention. As shown in FIG. 3, the method for sending a multimedia message according to the present invention includes the following steps:
  • Step 301 The MMSC generates a message identifier of the multimedia message, and sends a notification short message to the SMSC.
  • the MMSC caches the multimedia message, and generates a transaction number for the multimedia message, and generates a message identifier corresponding to the multimedia message according to the transaction number.
  • MmscMsglD The message identifier MmscMsglD includes the transaction number, and includes the time of receiving the multimedia message and the serial number of the MMSC itself; meanwhile, the MMSC sends the notification short message corresponding to the multimedia message to the SMSC.
  • Step 302 the SMSC generates a message identifier for notifying the short message, and sends the message identifier to the MMSC through the confirmation message;
  • the SMSC After receiving the notification short message sent by the MMSC, the SMSC generates a transaction number for the notification short message, and generates a message identifier SmscMsgID corresponding to the notification short message according to the transaction number, and the message identifier corresponding to the notification short message
  • the SmscMsgID includes the transaction number, and includes the time when the notification short message is received and the sequence number of the SMSC itself.
  • the SMSC sends an acknowledgement message to the MMSC, where the acknowledgement message carries the message identifier SmscMsgID of the generated notification short message.
  • a memory table for storing a correspondence between the message identifier MmscMsgID of the multimedia message and the message identifier SmscMsgID of the notification short message message is created in advance; in an actual application, the memory table of the corresponding relationship may be queried.
  • a more complex data structure implementation, such as a FLASH table, can perform operations such as query, insert, and delete on the corresponding memory table;
  • the MMSC After receiving the acknowledgment message sent by the SMSC and carrying the message identifier SmscMsgID of the notification short message, the MMSC parses the acknowledgment message to obtain the message identifier SmscMsgID of the notification short message; and the MMSC notifies the message of the short message according to the received acknowledgment message.
  • the MMSC Identifying the transaction number in the SmscMsgID, and finding a notification short message corresponding thereto, thereby finding a multimedia message corresponding to the notification short message and a message identifier MmscMsgID of the multimedia message; the MMSC identifies the message identifier SmscMsgID of the notification short message message and the multimedia message corresponding thereto The message identifier MmscMsgID is saved to the memory table of the pre-created correspondence.
  • Step 304 after sending the notification short message to the mobile terminal, the SMSC sends the delivery status message to the MMSC;
  • the SMSC forwards the notification short message to the mobile terminal of the receiving party; after the SMSC forwards the notification short message, the SMSC sends the delivery status message of the notification short message to the MMSC;
  • the delivery status message includes a message identifier SmscMsgID for notifying the short message, a delivery status code star, and an error code err.
  • Step 305 The MMSC determines a subsequent process according to the delivery status message.
  • FIG. 4 is a schematic flow chart of the method for implementing step 305 in FIG. 3, as shown in FIG. The method includes:
  • Step 401 The MMSC determines, according to the delivery status code in the delivery status message, whether the notification short message message is successfully delivered. If yes, step 402 is performed, and if no, step 403 is performed;
  • the MMSC receives the delivery status message sent by the SMSC, and determines whether the notification short message sent by the SMSC is successfully delivered according to the delivery status code star in the delivery status message; the delivery status code star and its corresponding description are as shown in Table 1:
  • step 402 is performed; when the delivery status code star is ENROUTE/
  • step 403 is performed.
  • Step 402 The MMSC finds the multimedia message according to the message identifier of the notification short message in the delivery status message, and sends the multimedia message to the SMSC to end the current processing flow.
  • the MMSC continues to perform the subsequent normal processing procedure of the multimedia message, that is, the message identifier SmscMsglD of the notification SMS message sent by the SMSC received by the MMSC, and the corresponding multimedia is found in the memory table of the corresponding relationship.
  • the message identifier MmscMsgID of the message is found in the cache according to the message identifier MmscMsgID of the multimedia message, and is sent to the SMSC in the cache.
  • the subsequent processing flow is the same as the prior art, and details are not described herein again.
  • the MMSC determines whether the delivery status of the short message is abnormal according to the error code in the delivery status message, if abnormal, step 404 is performed, if not, step 405 is performed, if it is another state, step 406 is performed;
  • the MMSC determines, according to the error code err in the received delivery status message, whether the delivery status of the notification short message is abnormal.
  • the error code err and its corresponding description are shown in Table 2. :
  • the user's current location is not good enough to receive short messages.
  • the user is not in the service area.
  • the error code in the test bench is 8, in ETSI GSM r)
  • the SM failed to send the message to the service interface.
  • the SMC sends a message to the SM.
  • the message waiting queue is full. Waiting for too many SMCs to send messages to the mobile terminal, causing the MDR queue of the HLR to overflow;
  • MS side error When sending a message, the mobile terminal has a software problem in receiving the protocol error; for example, after the mobile terminal restarts,
  • the MS is not equipped.
  • the error code in the test bench is 16, at ETSI GSM.
  • 0 9 0 2 is defined in the protocol as 32 ( 2 )
  • SC congestion The dispatch center is congested.
  • MS non-SC user MS non-scheduling center user.
  • the error code in the test bench is 19, at ETSI GSM
  • SME address The error code in the test station is at ETSI GSM.
  • the error code in the test bench is 22, at ETSI GSM
  • the destination mobile terminal is receiving or sending the user busy.
  • the error code in Taichung is 23 and is defined as 31 in the ETSI GSM 0902 Association ForMT-SMS.
  • the destination mobile terminal is shut down, resulting in the cancellation.
  • HLR message decoding error The value of one of the data in the HLR message packet exceeds the range specified by the protocol.
  • the MSC message is decoded incorrectly.
  • the value of one of the data in the MSC message packet exceeds the range specified by the protocol.
  • INFORM—SC eliminates the value of a certain data in the message packet (INFORM-SC message) sent by the HLR.
  • the SMC After the routing request is sent, the SMC sends a route query request, and the HLR does not answer.
  • the HLR no answer After the set message is sent, the HLR does not answer after the SMC sends the set message.
  • the MSC rejects the message that the TCAP layer of the MSC is too heavy and returns after the flow control occurs.
  • HLR rejection is generally due to the HCAP's TCAP layer load is too large, after the flow control back to the message
  • HLR system error is generally due to the overload of the MAP layer of the HLR.
  • the load on the MAP layer of the MSC is too large.
  • the MSC system is set to authenticate every time a message is sent or received
  • the error is sent by the flow control.
  • the MTI Server fails to send the short message because the flow control point or the signaling point or the signaling connection control point cannot transmit the message.
  • the interface is not sent.
  • the interface has no permission to send messages.
  • the GIW module does not return to the SMSC.
  • the interface After the SMC sends a short message, the interface does not send a success or failure message to the SMSC.
  • the SMC sends a short message.
  • the interface buffer is full.
  • the short message exceeds the maximum number of submissions of the calling party.
  • the message is deleted after the message fails.
  • the storage space in the SIM is short.
  • the space for storing messages in the SIM is full.
  • the SIM does not store the ability to store messages in the SIM.
  • step 404 When the error code err is 1/2/3/4/5/6/7/19/21/22, it indicates that the delivery status is abnormal, and step 404 is performed; when the error code err is 8/11/17/18/23 /24 hours, indicating that the delivery status is not abnormal, but the delivery fails and needs to be re-delivered, step 405 is performed; the other error code err indicates other status, the delivery fails and no re-delivery is required, and step 406 is performed.
  • Step 404 The MMSC suspends the subsequent normal processing procedure of the multimedia message, generates a destination number abnormality log, and ends the current processing flow. Specifically, because the number of the mobile terminal of the receiving party is abnormal, the MMSC suspends the subsequent normal processing flow of the multimedia message, and generates the purpose. The number exception log, the CDR record of the provider is not generated at this time.
  • Step 405 The MMSC initiates a resend process of the multimedia message, and ends the current process.
  • the MMSC initiates a resend process of the multimedia message, resends the notification short message to the SMSC, and performs step 304 until the notification short message is successfully sent to the recipient's mobile terminal, or resends.
  • the number of times reaches the preset retransmission threshold; if the number of retransmissions reaches the preset retransmission threshold, the MMSC associates the message identifier MmscMsgID of the multimedia message with the message identifier SmscMsgID of the notification SMS message. The relationship is removed from the memory table of the corresponding relationship.
  • Step 406 The MMSC terminates the subsequent normal processing procedure of the multimedia message, and generates a delivery failure log.
  • the MMSC suspends the subsequent normal processing flow of the multimedia message, generates a delivery failure log, and does not generate a bill record of the provider.
  • FIG. 5 is a schematic structural diagram of a system for transmitting a multimedia message according to the present invention.
  • the system includes: SMSC51 and MMSC52;
  • SMSC51 configured to send the notification message to the mobile terminal, and send the delivery status message to the MMSC 52;
  • the MMSC 52 is configured to: when the notification short message delivery is successful according to the delivery status code in the delivery status message, find the multimedia message according to the message identifier of the notification short message in the delivery status message, and send the message to the SMSC 51.
  • the MMSC 52 is further configured to: when determining that the notification short message delivery fails according to the delivery status code in the delivery status message, determining, according to the error code in the delivery status message, whether the delivery status of the notification short message is abnormal; when abnormal, suspending the multimedia message.
  • the subsequent normal processing flow generates an abnormal log of the destination number; when not abnormal, initiates a resend process of the multimedia message; In the state, the subsequent normal processing flow of the multimedia message is terminated, and a delivery failure log is generated.
  • the MMSC 52 is further configured to: generate a message identifier of the multimedia message, and send a notification short message to the SMSC 51;
  • the SMSC 51 is further configured to: generate a message identifier for notifying the short message, and send the message to the MMSC 52 by using the confirmation message;
  • the MMSC 52 is further configured to save a correspondence between a message identifier of the multimedia message and a message identifier of the notification short message.
  • the process of resending the multimedia message initiated by the MMSC 52 is:
  • the MMSC 52 initiates a retransmission process of the multimedia message, and resends the notification SMS message to the SMSC until the notification SMS message is successfully sent to the recipient's mobile terminal, or the number of retransmissions reaches a preset retransmission threshold.
  • the message identifier of the MMSC 52 generating the multimedia message is:
  • the MMSC 52 After receiving the multimedia message submitted by the mobile terminal of the provider, the MMSC 52 caches the multimedia message, and generates a transaction number for the multimedia message, and generates a message identifier corresponding to the multimedia message according to the transaction number.
  • the message identifier of the SMSC 51 generating the notification short message is:
  • the SMSC 51 After receiving the notification short message sent by the MMSC 52, the SMSC 51 generates a transaction number for the notification short message, and generates a message identifier corresponding to the notification short message according to the transaction number.
  • the MMSC 52 parses the confirmation message of the message identifier of the SMS message sent by the SMSC 51, and obtains the message identifier of the notification message message.
  • the MMSC 52 finds the notification message corresponding to the SMS message according to the transaction number in the message identifier of the notification message message. And finding a multimedia message corresponding to the notification short message and a message identifier of the multimedia message; the MMSC 52 saves the message identifier of the notification short message and the message identifier of the corresponding multimedia message to the pre First create the corresponding relationship in the memory table.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

A method for delivering multimedia messages is disclosed by the present invention, which includes that: after sending a notification short message to a mobile terminal, a Short Message Service Center (SMSC) sends a delivering state message to a Multimedia Message Service Center (MMSC); when according to a delivering state code in the delivering state message the MMSC determines that the notification short message is delivered successfully, the MMSC finds the multimedia message according to the message identifier of the notification short message in the delivering state message and sends the multimedia message to the SMSC; a system for delivering multimedia message is also disclosed by the present invention. According to the technical solution of the present invention, the accuracy rate and success rate for delivering multimedia messages are improved.

Description

一种下发多媒体消息的方法和系统 技术领域  Method and system for delivering multimedia messages
本发明涉及多媒体消息传输领域, 尤其涉及一种下发多媒体消息的方 法和系统。 背景技术  The present invention relates to the field of multimedia message transmission, and in particular, to a method and system for delivering a multimedia message. Background technique
随着移动通信技术的高速发展,特别是 3G业务在通信市场上的逐步开 展, 丰富多彩的多媒体消息的增殖业务已经越来越普及, 例如各种手机报 业务、 音乐点播业务等, 多媒体消息也越来越被广大用户所接受, 多媒体 消息的增值业务量每年都在快速增长, 这就对多媒体消息下发到用户的移 动终端的成功率和准确率提出越来越高的要求。  With the rapid development of mobile communication technology, especially the 3G service in the communication market, the proliferation of rich multimedia messages has become more and more popular, such as various mobile phone newspaper services, music on demand services, etc. More and more users are accepted, the value-added service of multimedia messages is growing rapidly every year, which puts higher and higher requirements on the success rate and accuracy of multimedia messages delivered to users' mobile terminals.
图 1是现有技术中多媒体消息业务中心的系统结构示意图, 图 2是现 有技术中下发多媒体消息的流程示意图, 如图 1和图 2所示, 目前的多媒 体消息业务中心 (MMSC, Multimedia Messaging Service Center )在下发多 媒体消息时, 都是釆用多媒体消息业务规范里所规定的三个步骤:  1 is a schematic structural diagram of a system of a multimedia message service center in the prior art, and FIG. 2 is a schematic flowchart of a multimedia message delivered in the prior art. As shown in FIG. 1 and FIG. 2, the current multimedia message service center (MMSC, Multimedia) The Messaging Service Center) uses the three steps specified in the multimedia messaging service specification when delivering multimedia messages:
第一步, 提交过程: 由提供方的移动终端、 或业务提供商、 或其他多 媒体消息的增值业务系统将多媒体消息提交到 MMSC;  The first step, the submission process: submitting the multimedia message to the MMSC by the provider's mobile terminal, or the service provider, or other value-added service system of the multimedia message;
第二步, 下发通告过程: 由 MMSC 通过短消息中心 (SMSC , Short Message Service Center )向接收方的移动终端下发一条短信通知消息, 告知 接收方的移动终端有多媒体消息需要接收;  In the second step, the notification process is sent: the MMSC sends a short message notification message to the mobile terminal of the receiver through the Short Message Service Center (SMSC), and informs the mobile terminal of the receiver that the multimedia message needs to be received.
第三步,获取过程:接收方的移动终端主动到 MMSC获取多媒体消息。 在这三个步骤中, 除了移动终端、 网络等原因外, 对多媒体消息接收 成功率和准确率影响最大是第二步, 因为目前 MMSC的下发通告过程有以 下两个缺陷: 第一个缺陷是: MMSC下发一条通知短信消息给 SMSC, 当 SMSC收 到该消息后回复一条确认消息给 MMSC , 告知 MMSC收到通知短信消息 , MMSC收到这个确认消息后确定通知短信消息已经下发成功, 并继续后面 的操作; 但是, 实际的情况是 SMSC接收到 MMSC下发的通知短信消息后 不是立即下发到接收方的移动终端, 而是利用存储转发的方式(短消息协 议规范中的规定)进行排队下发, 真正下发结束后 SMSC不再将最终结果 回复给 SSMC , 所以多媒体消息是否真正下发成功, 对于 MMSC来说是不 可知的, 这样就会导致某些多媒体消息由于接收方的移动终端没有及时获 取而转发到梦网邮箱或过期, 从而导致多媒体消息下发成功率下降。 The third step is the acquisition process: the mobile terminal of the receiver actively takes the multimedia message to the MMSC. In these three steps, in addition to mobile terminals, networks, etc., the maximum impact on the success rate and accuracy of multimedia message reception is the second step, because the current MMSC delivery notification process has the following two defects: The first defect is: The MMSC sends a notification SMS message to the SMSC. When the SMSC receives the message, it responds with an acknowledgment message to the MMSC, and informs the MMSC to receive the notification SMS message. After receiving the confirmation message, the MMSC determines that the notification SMS message has been received. The delivery is successful, and the subsequent operations are continued; however, the actual situation is that the SMSC does not immediately send the notification message to the receiving party after receiving the notification SMS message sent by the MMSC, but uses the store-and-forward method (short message protocol specification). The stipulations in the process are performed in the queue. After the actual delivery, the SMSC will not reply the final result to the SSMC. Therefore, whether the multimedia message is actually delivered successfully is unknown to the MMSC, which will result in some multimedia messages. The success rate of the multimedia message delivery is reduced because the mobile terminal of the receiver is not forwarded to the mailbox or expires.
第二个缺陷是: MMSC通过 SMSC下发通知短信消息时, 是不对接收 方的移动终端的号码进行鉴权的, 所以就会存在如果接收方的移动终端的 号码是空号或异常号码(例如 120 ) 时, MMSC依旧下发通知短信消息, 从而影响多媒体消息的下发准确率, 且该多媒体消息到期后一旦转发到梦 网邮箱成功, 用户同样需要扣费。  The second defect is: When the SMSC sends the notification SMS message through the SMSC, it does not authenticate the number of the mobile terminal of the receiver, so there will be if the number of the mobile terminal of the receiver is an empty number or an abnormal number (for example 120), the MMSC still issues a notification short message, thereby affecting the accuracy rate of the delivery of the multimedia message, and once the multimedia message is expired, once the mail is successfully forwarded to the Dreamnet mailbox, the user also needs to deduct the fee.
由于目前 MMSC在多媒体消息的处理过程中有上面两个缺陷, 导致多 媒体消息接收的准确率和成功率很难达到理想的比例, 此外, 还同时存在 例如空号码扣费等问题, 会引起用户的投诉。 发明内容  At present, the MMSC has the above two defects in the processing of multimedia messages, which makes it difficult to achieve an ideal ratio of the accuracy and success rate of multimedia message reception. In addition, there are also problems such as an empty number deduction, which may cause users to Complaint. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种下发多媒体消息的方法及 系统, 能提高多媒体消息的下发准确率和成功率。  In view of this, the main purpose of the present invention is to provide a method and system for delivering a multimedia message, which can improve the accuracy and success rate of multimedia message delivery.
为达到上述目的, 本发明的技术方案是这样实现的:  In order to achieve the above object, the technical solution of the present invention is achieved as follows:
本发明提供一种下发多媒体消息的方法, 包括:  The present invention provides a method for delivering a multimedia message, including:
短消息中心( SMSC )将通知短信消息发送给移动终端后, 将投递状态 消息发送给多媒体消息业务中心 (MMSC );  After the short message center (SMSC) sends the notification short message to the mobile terminal, the delivery status message is sent to the multimedia message service center (MMSC);
当 MMSC根据投递状态消息中的投递状态码确定通知短信消息投递成 功时, 根据投递状态消息中的通知短信消息的消息标识找到多媒体消息, 并发送给 SMSC。 When the MMSC determines, according to the delivery status code in the delivery status message, the notification short message is delivered to During the operation, the multimedia message is found according to the message identifier of the notification short message in the delivery status message, and is sent to the SMSC.
上述方法中, 该方法还包括:  In the above method, the method further includes:
当 MMSC根据投递状态消息中的投递状态码确定通知短信消息投递失 败时, 根据投递状态消息中的错误码判断通知短信消息的投递状态是否异 常; 如果异常, 则 MMSC中止多媒体消息的后续正常处理流程, 生成目的 号码异常日志; 如果不异常, 则 MMSC发起多媒体消息的重新发送流程; 如果是其他状态, 则 MMSC终止多媒体消息的后续正常处理流程, 生成投 递失败日志。  When the MMSC determines that the notification short message delivery fails according to the delivery status code in the delivery status message, it determines whether the delivery status of the short message is abnormal according to the error code in the delivery status message; if abnormal, the MMSC suspends the subsequent normal processing flow of the multimedia message. The destination number abnormality log is generated; if not abnormal, the MMSC initiates a resend process of the multimedia message; if it is in another state, the MMSC terminates the subsequent normal processing flow of the multimedia message, and generates a delivery failure log.
上述方法中, 所述 SMSC将通知短信消息发送给移动终端后, 将投递 状态消息发送给 MMSC之前, 该方法还包括:  In the above method, after the SMSC sends the notification short message to the mobile terminal, and before sending the delivery status message to the MMSC, the method further includes:
MMSC生成多媒体消息的消息标识, 并发送通知短信消息给 SMSC; SMSC 生成通知短信消息的消息标识, 并通过确认消息发送给 MMSC; MMSC 保存多媒体消息的消息标识与通知短信消息的消息标识的对应关 系。  The MMSC generates a message identifier of the multimedia message, and sends a notification message message to the SMSC; the SMSC generates a message identifier for notifying the short message, and sends the message identifier to the MMSC through the confirmation message; the MMSC saves the correspondence between the message identifier of the multimedia message and the message identifier of the notification SMS message. .
上述方法中, 所述 MMSC发起多媒体消息的重新发送流程为: MMSC 发起多媒体消息的重新发送流程 , 重新发送通知短信消息给 In the above method, the resending process of the MMSC to initiate the multimedia message is: the MMSC initiates a resend process of the multimedia message, and resends the notification message message to
SMSC, 直到将通知短信消息成功发送给接收方的移动终端, 或重新发送的 次数达到了预设的重新发送的门限值。 The SMSC, until the notification SMS message is successfully sent to the recipient's mobile terminal, or the number of retransmissions reaches the preset retransmission threshold.
上述方法中, 所述 MMSC生成多媒体消息的消息标识为:  In the above method, the message identifier of the MMSC to generate the multimedia message is:
MMSC在收到提供方的移动终端提交的多媒体消息后, 对该多媒体消 息进行緩存, 并为该多媒体消息生成一个事务号, 根据该事务号生成与该 多媒体消息对应的消息标识。  After receiving the multimedia message submitted by the mobile terminal of the provider, the MMSC caches the multimedia message, and generates a transaction number for the multimedia message, and generates a message identifier corresponding to the multimedia message according to the transaction number.
上述方法中, 所述 SMSC生成通知短信消息的消息标识为:  In the above method, the message identifier of the SMSC to generate the notification short message is:
SMSC收到 MMSC发送的通知短信消息后, 为该通知短信消息生成一 个事务号, 根据该事务号生成与该通知短信消息对应的消息标识。 After receiving the notification SMS message sent by the MMSC, the SMSC generates a notification message message for the notification message message. The transaction number, according to the transaction number, generates a message identifier corresponding to the notification short message.
上述方法中, 所述 MMSC保存多媒体消息的消息标识与通知短信消息 的消息标识的对应关系为:  In the above method, the correspondence between the message identifier of the MMSC to save the multimedia message and the message identifier of the notification short message is:
MMSC对 SMSC发送的携带有通知短信消息的消息标识的确认消息进 行解析, 得到通知短信消息的消息标识; MMSC根据所述通知短信消息的 消息标识中的事务号, 找到与其对应的通知短信消息, 并找到与通知短信 消息对应的多媒体消息以及多媒体消息的消息标识; MMSC将该通知短信 消息的消息标识和与其对应的多媒体消息的消息标识, 保存到预先创建的 对应关系的内存表中。  The MMSC parses the confirmation message sent by the SMSC and carries the message identifier of the notification short message, and obtains the message identifier of the notification SMS message. The MMSC finds the notification message corresponding to the SMS message according to the transaction number in the message identifier of the notification SMS message. And obtaining the multimedia message corresponding to the notification short message and the message identifier of the multimedia message; the MMSC saves the message identifier of the notification short message and the message identifier of the corresponding multimedia message to the memory table of the corresponding relationship created in advance.
本发明还提供一种下发多媒体消息的系统, 包括: SMSC、 MMSC; 其 中,  The present invention also provides a system for delivering multimedia messages, including: SMSC, MMSC;
SMSC, 用于将通知短信消息发送给移动终端后, 将投递状态消息发送 给 MMSC;  The SMSC is configured to send the delivery status message to the MMSC after sending the notification short message to the mobile terminal;
MMSC, 用于当根据投递状态消息中的投递状态码确定通知短信消息 投递成功时, 根据投递状态消息中的通知短信消息的消息标识找到多媒体 消息, 并发送给 SMSC。  The MMSC is configured to: when the delivery of the notification short message is successful according to the delivery status code in the delivery status message, find the multimedia message according to the message identifier of the notification short message in the delivery status message, and send the multimedia message to the SMSC.
上述系统中,  In the above system,
所述 MMSC还用于, 当根据投递状态消息中的投递状态码确定通知短 信消息投递失败时, 根据投递状态消息中的错误码判断通知短信消息的投 递状态是否异常; 异常时, 中止多媒体消息的后续正常处理流程, 生成目 的号码异常日志; 不异常时, 发起多媒体消息的重新发送流程; 为其他状 态时, 终止多媒体消息的后续正常处理流程, 生成投递失败日志。  The MMSC is further configured to: when determining that the notification short message delivery fails according to the delivery status code in the delivery status message, determining, according to the error code in the delivery status message, whether the delivery status of the notification short message is abnormal; when abnormal, suspending the multimedia message The subsequent normal processing flow generates an abnormality log of the destination number; when the abnormality is not abnormal, the resending process of the multimedia message is initiated; when it is in another state, the subsequent normal processing flow of the multimedia message is terminated, and a delivery failure log is generated.
上述系统中,  In the above system,
所述 MMSC还用于, 生成多媒体消息的消息标识, 并发送通知短信消 息给 SMSC; 所述 SMSC还用于, 生成通知短信消息的消息标识, 并通过确认消息 发送给 MMSC; The MMSC is further configured to: generate a message identifier of the multimedia message, and send a notification short message to the SMSC; The SMSC is further configured to: generate a message identifier for notifying the short message, and send the message to the MMSC by using an acknowledgement message;
所述 MMSC还用于, 保存多媒体消息的消息标识与通知短信消息的消 息标识的对应关系。  The MMSC is further configured to save a correspondence between a message identifier of the multimedia message and a message identifier of the notification short message.
本发明提供的下发多媒体消息的方法及系统, SMSC 将通知短信消息 发送给移动终端后, 将投递状态消息发送给 MMSC; 当 MMSC根据投递状 态消息中的投递状态码确定通知短信消息投递成功时, 根据投递状态消息 中的通知短信消息的消息标识找到多媒体消息, 并发送给 SMSC , MMSC 可以知道通知短信消息是否真正下发到接收方的移动终端, 且 MMSC可以 根据收到的投递状态消息, 判断通知短信消息的投递状态是否出现异常, 当 MMSC确定通知短信消息的投递状态没有异常且需要重新下发通知短信 消息时, 可以发起多媒体消息的重新发送流程, 从而避免了由于移动终端 没有及时获取多媒体消息而转发到梦网邮箱或过期, 提高了多媒体消息的 下发成功率; 当 MMSC确定通知短信消息的投递状态出现异常或其他不定 状态时, 中止多媒体消息的后续正常处理流程, 从而避免了移动终端的号 码是空号或异常号码时依旧正常下发多媒体消息的情况, 提高多媒体消息 的下发准确率, 避免给多媒体消息提供方带来的不必要的经济损失。 附图说明  The method and system for delivering a multimedia message provided by the present invention, after the SMSC sends a notification short message to the mobile terminal, the delivery status message is sent to the MMSC; when the MMSC determines that the short message delivery is successful according to the delivery status code in the delivery status message And, according to the message identifier of the notification short message in the delivery status message, the multimedia message is found and sent to the SMSC, and the MMSC can know whether the notification short message is actually delivered to the mobile terminal of the receiver, and the MMSC can according to the received delivery status message. Determining whether the delivery status of the notification short message is abnormal. When the MMSC determines that the delivery status of the notification short message is not abnormal and needs to resend the notification short message, the resend process of the multimedia message may be initiated, thereby avoiding that the mobile terminal does not acquire in time. The multimedia message is forwarded to the dream network mailbox or expired, which improves the success rate of the delivery of the multimedia message; when the MMSC determines that the delivery status of the notification short message is abnormal or other indeterminate state, the subsequent normal processing flow of the multimedia message is suspended. , Thus avoiding the number of the mobile terminal is a multimedia message is still delivered normally empty case abnormal numbers or numbers, issued to improve the accuracy of the multimedia message, the multimedia message provided to avoid side brings unnecessary economic losses. DRAWINGS
图 1是现有技术中多媒体消息业务中心的系统结构示意图;  1 is a schematic structural diagram of a system of a multimedia message service center in the prior art;
图 2是现有技术中下发多媒体消息的流程示意图;  2 is a schematic flowchart of sending a multimedia message in the prior art;
图 3是本发明实现下发多媒体消息的方法的流程示意图;  3 is a schematic flowchart of a method for implementing a multimedia message according to the present invention;
图 4是本发明实现图 3中步骤 305的方法的流程示意图;  4 is a schematic flow chart of a method for implementing step 305 in FIG. 3 according to the present invention;
图 5是本发明实现下发多媒体消 , ί的系统的结构示意图。 具体实施方式 FIG. 5 is a schematic structural diagram of a system for implementing a multimedia cancellation according to the present invention. detailed description
本发明的基本思想是: 短消息中心 ( SMSC )将通知短信消息发送给 移动终端后, 将投递状态消息发送给多媒体消息业务中心(MMSC ); 当 MMSC 根据投递状态消息中的投递状态码确定通知短信消息投递成功 时, 根据投递状态消息中的通知短信消息的消息标识找到多媒体消息, 并发送给 SMSC。  The basic idea of the present invention is: After the short message center (SMSC) sends the notification short message to the mobile terminal, the delivery status message is sent to the multimedia message service center (MMSC); when the MMSC determines the notification according to the delivery status code in the delivery status message When the short message delivery is successful, the multimedia message is found according to the message identifier of the notification short message in the delivery status message, and is sent to the SMSC.
下面通过附图及具体实施例对本发明再做进一步的详细说明。  The invention will be further described in detail below with reference to the drawings and specific embodiments.
图 3是本发明实现下发多媒体消息的方法的流程示意图, 如图 3所示, 本发明下发多媒体消息的方法包括以下步骤:  FIG. 3 is a schematic flowchart of a method for transmitting a multimedia message according to the present invention. As shown in FIG. 3, the method for sending a multimedia message according to the present invention includes the following steps:
步骤 301 , MMSC生成多媒体消息的消息标识, 并发送通知短信消息 给 SMSC;  Step 301: The MMSC generates a message identifier of the multimedia message, and sends a notification short message to the SMSC.
具体的, MMSC在收到提供方的移动终端提交的多媒体消息后, 对该 多媒体消息进行緩存, 并会为该多媒体消息生成一个事务号, 根据该事务 号生成一个与该多媒体消息对应的消息标识 MmscMsglD; 该消息标识 MmscMsglD 中包含该事务号, 还包括收到多媒体消息的时间以及 MMSC 自身的序号; 同时, MMSC将与该多媒体消息对应的通知短信消息发送给 SMSC。  Specifically, after receiving the multimedia message submitted by the mobile terminal of the provider, the MMSC caches the multimedia message, and generates a transaction number for the multimedia message, and generates a message identifier corresponding to the multimedia message according to the transaction number. MmscMsglD; The message identifier MmscMsglD includes the transaction number, and includes the time of receiving the multimedia message and the serial number of the MMSC itself; meanwhile, the MMSC sends the notification short message corresponding to the multimedia message to the SMSC.
步骤 302, SMSC生成通知短信消息的消息标识, 并通过确认消息发送 给 MMSC;  Step 302, the SMSC generates a message identifier for notifying the short message, and sends the message identifier to the MMSC through the confirmation message;
具体的, SMSC收到 MMSC发送的通知短信消息后, 会为该通知短信 消息生成一个事务号, 根据该事务号生成一个与该通知短信消息对应的消 息标识 SmscMsgID ,该通知短信消息对应的消息标识 SmscMsgID中包含该 事务号, 还包括收到通知短信消息的时间以及 SMSC 自身的序号; SMSC 发送确认消息给 MMSC , 该确认消息中携带有生成的通知短信消息的消息 标识 SmscMsgID。 步骤 303 , MMSC保存多媒体消息的消息标识与通知短信消息的消息 标识的对应关系; Specifically, after receiving the notification short message sent by the MMSC, the SMSC generates a transaction number for the notification short message, and generates a message identifier SmscMsgID corresponding to the notification short message according to the transaction number, and the message identifier corresponding to the notification short message The SmscMsgID includes the transaction number, and includes the time when the notification short message is received and the sequence number of the SMSC itself. The SMSC sends an acknowledgement message to the MMSC, where the acknowledgement message carries the message identifier SmscMsgID of the generated notification short message. Step 303: The MMSC saves a correspondence between a message identifier of the multimedia message and a message identifier of the notification short message message.
具体的, 在 MMSC的业务处理模块中, 预先创建用于保存多媒体消息 的消息标识 MmscMsgID与通知短信消息的消息标识 SmscMsgID的对应关 系的内存表; 实际应用中, 该对应关系的内存表可通过查询复杂度较高的 数据结构实现,例如 FLASH表,可以对该对应关系的内存表可以执行查询、 插入和删除等操作;  Specifically, in the service processing module of the MMSC, a memory table for storing a correspondence between the message identifier MmscMsgID of the multimedia message and the message identifier SmscMsgID of the notification short message message is created in advance; in an actual application, the memory table of the corresponding relationship may be queried. A more complex data structure implementation, such as a FLASH table, can perform operations such as query, insert, and delete on the corresponding memory table;
MMSC收到 SMSC发送的携带有通知短信消息的消息标识 SmscMsgID 的确认消息后, 对该确认消息进行解析, 得到通知短信消息的消息标识 SmscMsgID; MMSC 根据收到的确认消息中的通知短信消息的消息标识 SmscMsgID 中的事务号, 找到与其对应的通知短信消息, 从而找到与通知 短信消息对应的多媒体消息以及多媒体消息的消息标识 MmscMsgID; MMSC将该通知短信消息的消息标识 SmscMsgID和与其对应的多媒体消息 的消息标识 MmscMsgID , 保存到预先创建的对应关系的内存表中。  After receiving the acknowledgment message sent by the SMSC and carrying the message identifier SmscMsgID of the notification short message, the MMSC parses the acknowledgment message to obtain the message identifier SmscMsgID of the notification short message; and the MMSC notifies the message of the short message according to the received acknowledgment message. Identifying the transaction number in the SmscMsgID, and finding a notification short message corresponding thereto, thereby finding a multimedia message corresponding to the notification short message and a message identifier MmscMsgID of the multimedia message; the MMSC identifies the message identifier SmscMsgID of the notification short message message and the multimedia message corresponding thereto The message identifier MmscMsgID is saved to the memory table of the pre-created correspondence.
步骤 304, SMSC将通知短信消息发送给移动终端后, 将投递状态消息 发送给 MMSC;  Step 304, after sending the notification short message to the mobile terminal, the SMSC sends the delivery status message to the MMSC;
具体的, 收到 MMSC发送的通知短信消息后, SMSC会将通知短信消 息转发给接收方的移动终端; 在 SMSC 转发通知短信消息完成后, SMSC 将转发通知短信消息的投递状态消息送给 MMSC; 其中, 投递状态消息包 括通知短信消息的消息标识 SmscMsgID、 投递状态码 star和错误码 err , 投 递状态信息的格式可以是 id: sub: SSS divrd: DDD submit date: YYMMDDhhmm done date : YYMMDDhhmm star : DDDDDDD err : E Text: ……。  Specifically, after receiving the notification short message sent by the MMSC, the SMSC forwards the notification short message to the mobile terminal of the receiving party; after the SMSC forwards the notification short message, the SMSC sends the delivery status message of the notification short message to the MMSC; The delivery status message includes a message identifier SmscMsgID for notifying the short message, a delivery status code star, and an error code err. The format of the delivery status information may be id: sub: SSS divrd: DDD submit date: YYMMDDhhmm done date : YYMMDDhhmm star : DDDDDDD err : E Text: ......
步骤 305 , MMSC根据投递状态消息确定后续流程。  Step 305: The MMSC determines a subsequent process according to the delivery status message.
图 4是本发明实现图 3中步骤 305的方法的流程示意图, 如图 4所示, 该方法包括: 4 is a schematic flow chart of the method for implementing step 305 in FIG. 3, as shown in FIG. The method includes:
步骤 401 , MMSC根据投递状态消息中的投递状态码判断通知短信消 息是否投递成功, 如果是, 执行步骤 402, 如果否, 执行步骤 403;  Step 401: The MMSC determines, according to the delivery status code in the delivery status message, whether the notification short message message is successfully delivered. If yes, step 402 is performed, and if no, step 403 is performed;
具体的, MMSC接收 SMSC发送的投递状态消息, 根据投递状态消息 中的投递状态码 star判断 SMSC转发的通知短信消息是否投递成功; 所述 投递状态码 star及其对应的描述如表 1所示:  Specifically, the MMSC receives the delivery status message sent by the SMSC, and determines whether the notification short message sent by the SMSC is successfully delivered according to the delivery status code star in the delivery status message; the delivery status code star and its corresponding description are as shown in Table 1:
Figure imgf000010_0001
Figure imgf000010_0001
表 1  Table 1
当所述投递状态码 star是 DELIVERED或 ACCEPTED时,表示通知短 信消息投递成功, 执行步骤 402; 当所述投递状态码 star是 ENROUTE/ When the delivery status code star is DELIVERED or ACCEPTED, indicating that the short message delivery is successful, step 402 is performed; when the delivery status code star is ENROUTE/
-D时, 表示通知短信消息投递失败, 执行步骤 403。 When -D, it indicates that the notification SMS message delivery fails, and step 403 is performed.
步骤 402 , MMSC才艮据投递状态消息中的通知短信消息的消息标识, 找到多媒体消息并发送给 SMSC, 结束当前处理流程;  Step 402: The MMSC finds the multimedia message according to the message identifier of the notification short message in the delivery status message, and sends the multimedia message to the SMSC to end the current processing flow.
具体的, 当通知短信消息投递成功时, MMSC继续执行多媒体消息的 后续正常处理流程,即 MMSC收到的 SMSC发送的通知短信消息的消息标 识 SmscMsglD , 在对应关系的内存表中找到与其对应的多媒体消息的消息 标识 MmscMsgID , 根据多媒体消息的消息标识 MmscMsgID在緩存中找到 与其对应的多媒体消息, 并发送给 SMSC; 后面的处理流程与现有技术相 同, 此处不再赘述。 步骤 403 , MMSC根据投递状态消息中的错误码判断通知短信消息的 投递状态是否异常, 如果异常, 执行步骤 404, 如果不异常, 执行步骤 405 , 如果是其他状态, 执行步骤 406; Specifically, when the notification message message delivery is successful, the MMSC continues to perform the subsequent normal processing procedure of the multimedia message, that is, the message identifier SmscMsglD of the notification SMS message sent by the SMSC received by the MMSC, and the corresponding multimedia is found in the memory table of the corresponding relationship. The message identifier MmscMsgID of the message is found in the cache according to the message identifier MmscMsgID of the multimedia message, and is sent to the SMSC in the cache. The subsequent processing flow is the same as the prior art, and details are not described herein again. Step 403, the MMSC determines whether the delivery status of the short message is abnormal according to the error code in the delivery status message, if abnormal, step 404 is performed, if not, step 405 is performed, if it is another state, step 406 is performed;
具体的, 当通知短信消息投递失败时, MMSC根据收到的投递状态消 息中的错误码 err判断通知短信消息的投递状态是否出现异常; 所述错误码 err及其对应的描述如表 2所示:  Specifically, when the notification of the short message delivery fails, the MMSC determines, according to the error code err in the received delivery status message, whether the delivery status of the notification short message is abnormal. The error code err and its corresponding description are shown in Table 2. :
Figure imgf000011_0001
错误码 错误 类 型 描 述 设备不支持 移动终端所在的 HLR不支持 "移动终结的
Figure imgf000011_0001
Error code error type description The device does not support the mobile terminal where the HLR does not support "mobile termination"
7 短消息";在维测台中的错误码为 7,在 ETSI 7 short message "; the error code in the test bench is 7, at ETSI
( facilityNotSupp  ( facilityNotSupp
GSM 0902协议中定义为 21  Defined as 21 in the GSM 0902 protocol
orted )  Orted )
用户当前所在地区信号不好,无法接收短消 用户不在服务区  The user's current location is not good enough to receive short messages. The user is not in the service area.
息;  Interest rate
8 ( absentSubscribe  8 ( absentSubscribe
在维测台中的错误码为 8 , 在 ETSI GSM r )  The error code in the test bench is 8, in ETSI GSM r)
0902协议中定义为 27  Defined as 0 in the 0902 protocol
SM发送失败 SMC 下发消息给业务接口失败, 返回 SM The SM failed to send the message to the service interface. The SMC sends a message to the SM.
10 发送失败; 在维测台中的错误码为 10, 在 10 Send failed; the error code in the test bench is 10, in
( sm-DeliveryFail  ( sm-DeliveryFail
ETSI GSM 0902协议中定义为 32  Defined as 32 in the ETSI GSM 0902 protocol
ure ) 消息等待队列满 等待向该移动终端下发消息的 SMC过多, 导致 HLR的 MWD队列溢出; 在维测台中 Ure ) The message waiting queue is full. Waiting for too many SMCs to send messages to the mobile terminal, causing the MDR queue of the HLR to overflow;
11 ( Message Waitin 的错误码为 11 , 在 ETSI GSM 0902协议中 gListFull ) 定义为 33 11 (Message Waitin has an error code of 11 and gListFull in ETSI GSM 0902) is defined as 33
系统失败 在维测台中的错误码为 12, 在 ETSI GSM System failure The error code in the test station is 12, at ETSI GSM
12 0902协议中定义为 34 Defined in the 12 0902 Agreement as 34
( SystemFailure )  ( SystemFailure )
短消息中心下发消息给网络侧时,有必选字 数据丟失  When the short message center sends a message to the network side, there is a required word. Data is lost.
13 段缺失;在维测台中的错误码为 13 ,在 ETSI  13 segments are missing; the error code in the test bench is 13 at ETSI
( dataMissing )  ( dataMissing )
GSM 0902协议中定义为 35  Defined as 35 in the GSM 0902 protocol
MS端错误: 下发消息时, 移动终端在接收 协议错误 过程出现软件问题;例如,移动终端重启后, MS side error: When sending a message, the mobile terminal has a software problem in receiving the protocol error; for example, after the mobile terminal restarts,
15 ( equipmentProto 处理消息部分软件没有初始化完成,此时无 法正 15 ( equipmentProto processing message part of the software is not initialized, it is not possible at this time
colError ) 常处理消息; 在维测台中的错误码为  colError ) The message is processed frequently; the error code in the test bench is
15 ,在 ETSI GSM 0902协议中定义为 32(1)。 15 is defined as 32(1) in the ETSI GSM 0902 protocol.
MS未装备 在维测台中的错误码为 16, 在 ETSI GSM The MS is not equipped. The error code in the test bench is 16, at ETSI GSM.
0902协议中定义为 32(2) 0 9 0 2 is defined in the protocol as 32 ( 2 )
16 ( equipmentNotS  16 ( equipmentNotS
M-Equipped ) 错误码 错误 类 型 描 述 内存满 在维测台中的错误值为 17, 在 ETSI GSM M-Equipped ) Error code error type description Memory error value in the test station is 17, in ETSI GSM
0902协议中定义为 32(0)  Defined as 0 (0) in the 0902 protocol
17 ( memoryCapacit  17 ( memoryCapacit
yExceeded )  yExceeded )
SC拥塞 调度中心拥塞。 SC congestion The dispatch center is congested.
18 在维测台中的错误码为 18, 在 ETSI GSM  18 The error code in the test bench is 18, at ETSI GSM
( sc-Congestion ) 0902协议中定义为 32(4) ( sc-Congestion ) 0 9 0 2 is defined in the protocol as 32 ( 4 )
MS非 SC用户 MS非调度中心用户。  MS non-SC user MS non-scheduling center user.
在维测台中的错误码为 19, 在 ETSI GSM The error code in the test bench is 19, at ETSI GSM
19 ( subscriberNotS 19 ( subscriberNotS
0902协议中定义为 32(6)  Defined as 0 (6) in the 0902 protocol
C-Subscriber ) 不正确 20,  C-Subscriber ) is incorrect 20,
SME地址 在维测台中的错误码为 在 ETSI GSM  SME address The error code in the test station is at ETSI GSM.
0902协议中定义为 32(5)  Defined as 0 (5) in the 0902 protocol
20 ( invalidSME-Ad  20 ( invalidSME-Ad
dress ) 未知 SC 在维测台中的错误码为 21 , 在 ETSI GSM  Dress ) unknown SC error code in the test station is 21 , in ETSI GSM
0902协议中定义为 32(3)  Defined as 0 (3) in the 0902 protocol
21 ( unknownServic  21 (unknownServic
eCentre ) 非法设备 该移动终端的国际移动台标识非法;  eCentre ) illegal device The mobile terminal's international mobile station identity is illegal;
在维测台中的错误码为 22, 在 ETSI GSM The error code in the test bench is 22, at ETSI GSM
22 ( illegalEquipme 22 (illegalEquipme
0902协议中定义为 12  Defined as 0 in the 0902 protocol
nt )  Nt )
下发消息时,该目的移动终端正在接收或发 用户忙  When the message is sent, the destination mobile terminal is receiving or sending the user busy.
送其它消息, 导致该消息下发失败; 在维测 Sending other messages, causing the message to fail to be delivered;
23 ( subscriberBusy 23 ( subscriberBusy
台中的错误码为 23 , 在 ETSI GSM 0902协 ForMT-SMS ) 议中定义为 31  The error code in Taichung is 23 and is defined as 31 in the ETSI GSM 0902 Association ForMT-SMS.
下发消息时, 目的移动终端关机, 导致该消 When the message is sent, the destination mobile terminal is shut down, resulting in the cancellation.
24 用户关机 24 user shutdown
息下发失败 错误码 错误 类 型 描 述 Failure to send interest Error code error type description
HLR消息解码错 HLR 消息包中某一个数据的值超过协议规 定的范围 HLR message decoding error The value of one of the data in the HLR message packet exceeds the range specified by the protocol.
 Mistake
30 ( RP U DECO  30 ( RP U DECO
DE DATA HLR  DE DATA HLR
)  )
MSC消息解码错 MSC 消息包中某一个数据的值超过协议规 定的范围  The MSC message is decoded incorrectly. The value of one of the data in the MSC message packet exceeds the range specified by the protocol.
 Mistake
31 ( RP UNDECO  31 ( RP UNDECO
DE— DATA— MSC  DE-DATA- MSC
)  )
INFORM— SC消 HLR发送的消息包( INFORM— SC消息 )中 某一个数据的值超过协议规定的范围 息解码错误  INFORM—SC eliminates the value of a certain data in the message packet (INFORM-SC message) sent by the HLR.
32 ( RP UNDECO  32 ( RP UNDECO
DE— INFORM— SC  DE- INFORM- SC
—HLR ) 没有取到足够的 SMC没有取到足够的路由信息 路由信息  —HLR ) Not enough SMCs are not obtained enough routing information. Routing information
33 ( RP NOT ENO  33 ( RP NOT ENO
UGH— ROUTING  UGH- ROUTING
INFO ) 来自 HLR的意外 来自 HLR的消息包中某一个数据的值超过 协议规定的范围  INFO ) The accident from the HLR The value of one of the data in the message packet from the HLR exceeds the range specified by the protocol.
数据  Data
34 ( RP U EXPEC  34 ( RP U EXPEC
TED— DATA— VA  TED— DATA— VA
LUE HLR ) 错误码 错误 类 型 描 述 来自 MSC的意外 来自 MSC的消息包中某一个数据的值超过 协议规定的范围 LUE HLR ) Error Code Error Type Description Unexpectedly from the MSC The value of one of the data packets from the MSC exceeds the range specified by the protocol.
数据  Data
35 ( RP U EXPEC  35 ( RP U EXPEC
TED— DATA— VA  TED— DATA— VA
LUE MSC ) 来自 MSC的未知 来自 MSC的未知错误  LUE MSC ) Unknown from MSC Unknown error from MSC
错误  Error
36 ( RP U KNOW  36 ( RP U KNOW
N— FAILURE— RE  N—FAILURE— RE
ASON MSC )  ASON MSC )
来自 HLR的未知 来自 HLR的未知错误  Unknown from HLR Unknown error from HLR
错误  Error
37 ( RP UNKNOW  37 ( RP UNKNOW
N— FAILURE— RE  N—FAILURE— RE
ASON HLR )  ASON HLR )
发路由请求后 SMC发路由查询请求后, HLR无应答 After the routing request is sent, the SMC sends a route query request, and the HLR does not answer.
40 40
HLR无应答 发置位消息后 SMC发置位消息后, HLR无应答 HLR no answer After the set message is sent, the HLR does not answer after the SMC sends the set message.
41 41
HLR无应答  HLR no response
MAP Server模块 MAP协议版本错误 MAP Server module MAP protocol version error
45  45
版本错误  Version error
HLR版本协商错 HLR版本协商错误 HLR version negotiation error HLR version negotiation error
46  46
 Mistake
MSC无应答 MSC无应答 MSC no response MSC no response
48 ( RP MSC NOA 48 ( RP MSC NOA
CK ) 错误码 错误 类 型 描 述 CK) Error code error type description
HLR无应答 HLR无应答 HLR no response HLR no response
49 ( RP HLR NOA 49 ( RP HLR NOA
CK )  CK)
50 GIW模块无应答 GIW模块(信令网关)无应答  50 GIW module no answer GIW module (signaling gateway) no answer
MSC拒绝 一般是由 MSC的 TCAP层负荷过大, 发生 流控后返回的消息 The MSC rejects the message that the TCAP layer of the MSC is too heavy and returns after the flow control occurs.
51 ( RP MSC REF  51 ( RP MSC REF
USE )  USE )
HLR拒绝 一般是由于 HLR的 TCAP层负荷过大, 发 生流控后回的消息 HLR rejection is generally due to the HCAP's TCAP layer load is too large, after the flow control back to the message
52 ( RP HLR REF  52 ( RP HLR REF
USE )  USE )
53 GIW模块拒绝 GIW模块拒绝  53 GIW module refused GIW module refused
HLR系统错误 一般是由于 HLR的 MAP层负荷过大, 发HLR system error is generally due to the overload of the MAP layer of the HLR.
56 生流控后返回的消息 56 Message returned after flow control
( HLR-systemFai  ( HLR-systemFai
lur ) :  Lur ) :
一般是由于 MSC的 MAP层负荷过大, 发 Generally, the load on the MAP layer of the MSC is too large.
MSC系统错误 生流控后返回的消息; 另外,如果交换机设MSC system error message returned after flow control; in addition, if the switch is set
57 ( MSC system 置为每次发送或者接收消息时都要鉴权,会 57 (The MSC system is set to authenticate every time a message is sent or received,
MSC  MSC
error ) 发生鉴权无响应,而导致发生 返回"系 统错误" 给 SMC的情况  Error ) An authentication is not responding, which causes a return "system error" to the SMC.
61 因流控下发错误 MAP Server因为流控下发短消息失败  61 The MAP Server failed to send a short message due to flow control.
62 因流控下发错误 MTI Server因为流控下发短消息失败 目的信令点或信 目的信令点或信令连接控制点无法传送该The error is sent by the flow control. The MTI Server fails to send the short message because the flow control point or the signaling point or the signaling connection control point cannot transmit the message.
63 消息。 63 messages.
令转接点无法传  Make the transfer point impossible to pass
送该消息 接口无下发短消 接口无下发消息的权限  Send the message. The interface is not sent. The interface has no permission to send messages.
64  64
息的权限 错误码 错误 类 型 描 述 消息下发后, GIW模块没有给 SMSC返回Permission Error code error type description After the message is delivered, the GIW module does not return to the SMSC.
65 GIW无应答 65 GIW no response
发送成功或失败信息  Send success or failure information
因接口临时错误 (已注销或未登录)导致消 Caused by temporary interface error (logged out or not logged in)
66 接口临时错误 66 interface temporary error
息下发失败  Failure to send interest
67 无效接口 无效接口  67 invalid interface invalid interface
SMC下发短消息 消息下发后, 接口没有给 SMSC返回发送 成功或失败信息 After the SMC sends a short message, the interface does not send a success or failure message to the SMSC.
给业务模块后,业  After giving the business module, the industry
68  68
务模块超时没有  Service module timed out
返回应答 因调度中心和 调度中心和 L2cachedaemon模块断连,导致 要入二级緩存数据库的消息被删除  Returning the answer Because the dispatch center and the dispatch center are disconnected from the L2cachedaemon module, the message to enter the secondary cache database is deleted.
L2cachedaemon  L2cachedaemon
模块断连导致要  Module disconnection leads to
71  71
入二级緩存数据  Into the second level cache data
库的短消息被删  The short message of the library is deleted
 Except
SMC下发短消息 SMC下发消息时, 接口緩冲区满The SMC sends a short message. When the SMC sends a message, the interface buffer is full.
77 77
时,接口緩冲区满  When the interface buffer is full
短消息超过主叫 消息超过主叫方的最大提交数,该消息下发 失败后, 被删除  The short message exceeds the maximum number of submissions of the calling party. The message is deleted after the message fails.
方的最大提交数,  The maximum number of submissions for the party,
79  79
该短消息下发失  The short message is lost
败后, 被删除  After defeat, deleted
192 SMC忙 SMC忙 没有 SMC指定 没有 SMC指定(签约)。  192 SMC busy SMC busy No SMC specified No SMC specified (signed).
193  193
(签约)  (signing)
194 SMC系统错误 SMC系统错误 扩展短消息实体 扩展消息实体地址无效  194 SMC system error SMC system error Extended short message entity Extended message entity address is invalid
195  195
地址无效 错误码 错误 类 型 描 述 短消息实体被禁 消息实体被禁止使用 Invalid address Error code error type description Short message entity banned message entity is forbidden to use
196  196
止使用  Use
SIM中存储短消 SIM中存储消息的空间满  The storage space in the SIM is short. The space for storing messages in the SIM is full.
208  208
息的区域满  Interest area
SIM中没有存储 SIM中没有存储消息的能力 The SIM does not store the ability to store messages in the SIM.
209  209
短消息能力  Short message capability
210 MS错误 MS错误 扩展短消息实体 扩展消息实体内存溢出  210 MS error MS error Extended short message entity Extended message entity memory overflow
211  211
内存溢出 前传消息的主叫 前传消息在主叫归属短消息中心地址鉴权 Memory overflow The caller of the forward message The preamble message is authenticated at the calling home short message center address.
231 归属短消息中心 失败 231 Ownership Short Message Center failed
鉴权失败 未确定的错误原 未确定的错误原因  Authentication failure Undetermined error original Undetermined error cause
255  255
 Cause
表 2  Table 2
当错误码 err是 1/2/3/4/5/6/7/19/21/22时, 表示投递状态有异常, 执行 步骤 404; 当错误码 err是 8/11/17/18/23/24时, 表示投递状态不异常, 但是 投递失败且需要重新投递,执行步骤 405; 其他的错误码 err表示其他状态, 投递失败且不需要重新投递, 执行步骤 406。  When the error code err is 1/2/3/4/5/6/7/19/21/22, it indicates that the delivery status is abnormal, and step 404 is performed; when the error code err is 8/11/17/18/23 /24 hours, indicating that the delivery status is not abnormal, but the delivery fails and needs to be re-delivered, step 405 is performed; the other error code err indicates other status, the delivery fails and no re-delivery is required, and step 406 is performed.
步骤 404, MMSC 中止多媒体消息的后续正常处理流程, 生成目的号 码异常日志, 结束当前处理流程; 具体的, 因为接收方的移动终端的号码出现异常, MMSC 中止多媒体 消息的后续正常处理流程, 生成目的号码异常日志, 此时不生成提供方的 话单记录。 步骤 405 , MMSC发起多媒体消息的重新发送流程, 结束当前处理流 程; Step 404: The MMSC suspends the subsequent normal processing procedure of the multimedia message, generates a destination number abnormality log, and ends the current processing flow. Specifically, because the number of the mobile terminal of the receiving party is abnormal, the MMSC suspends the subsequent normal processing flow of the multimedia message, and generates the purpose. The number exception log, the CDR record of the provider is not generated at this time. Step 405: The MMSC initiates a resend process of the multimedia message, and ends the current process.
具体的, 由于投递失败且需要重新投递, 因此 MMSC发起多媒体消息 的重新发送流程, 重新发送通知短信消息给 SMSC, 执行步骤 304, 直到将 通知短信消息成功发送给接收方的移动终端, 或重新发送的次数达到了预 设的重新发送的门限值; 如果重新发送的次数达到了预设的重新发送的门 限值, MMSC将多媒体消息的的消息标识 MmscMsgID与通知短信消息的 消息标识 SmscMsgID的对应关系从对应关系的内存表中删除。  Specifically, because the delivery fails and needs to be re-delivered, the MMSC initiates a resend process of the multimedia message, resends the notification short message to the SMSC, and performs step 304 until the notification short message is successfully sent to the recipient's mobile terminal, or resends. The number of times reaches the preset retransmission threshold; if the number of retransmissions reaches the preset retransmission threshold, the MMSC associates the message identifier MmscMsgID of the multimedia message with the message identifier SmscMsgID of the notification SMS message. The relationship is removed from the memory table of the corresponding relationship.
步骤 406, MMSC终止多媒体消息的后续正常处理流程, 生成投递失 败日志;  Step 406: The MMSC terminates the subsequent normal processing procedure of the multimedia message, and generates a delivery failure log.
具体的, 因为其他原因导致投递失败且不需要重新投递, 因此 MMSC 中止多媒体消息的后续正常处理流程, 生成投递失败日志, 此时不生成提 供方的话单记录。  Specifically, because the delivery fails and the re-delivery is not required for other reasons, the MMSC suspends the subsequent normal processing flow of the multimedia message, generates a delivery failure log, and does not generate a bill record of the provider.
为实现上述方法, 本发明还提供一种下发多媒体消息的系统, 图 5是 本发明实现下发多媒体消息的系统的结构示意图, 如图 5 所示, 该系统包 括: SMSC51、 MMSC52; 其中,  In order to achieve the above method, the present invention further provides a system for transmitting a multimedia message, and FIG. 5 is a schematic structural diagram of a system for transmitting a multimedia message according to the present invention. As shown in FIG. 5, the system includes: SMSC51 and MMSC52;
SMSC51 , 用于将通知短信消息发送给移动终端后, 将投递状态消息发 送给 MMSC52;  SMSC51, configured to send the notification message to the mobile terminal, and send the delivery status message to the MMSC 52;
MMSC52, 用于当根据投递状态消息中的投递状态码确定通知短信消 息投递成功时, 根据投递状态消息中的通知短信消息的消息标识找到多媒 体消息, 并发送给 SMSC51。  The MMSC 52 is configured to: when the notification short message delivery is successful according to the delivery status code in the delivery status message, find the multimedia message according to the message identifier of the notification short message in the delivery status message, and send the message to the SMSC 51.
所述 MMSC52还用于, 当根据投递状态消息中的投递状态码确定通知 短信消息投递失败时, 根据投递状态消息中的错误码判断通知短信消息的 投递状态是否异常; 异常时, 中止多媒体消息的后续正常处理流程, 生成 目的号码异常日志; 不异常时, 发起多媒体消息的重新发送流程; 为其他 状态时, 终止多媒体消息的后续正常处理流程, 生成投递失败日志。 The MMSC 52 is further configured to: when determining that the notification short message delivery fails according to the delivery status code in the delivery status message, determining, according to the error code in the delivery status message, whether the delivery status of the notification short message is abnormal; when abnormal, suspending the multimedia message The subsequent normal processing flow generates an abnormal log of the destination number; when not abnormal, initiates a resend process of the multimedia message; In the state, the subsequent normal processing flow of the multimedia message is terminated, and a delivery failure log is generated.
所述 MMSC52还用于, 生成多媒体消息的消息标识, 并发送通知短信 消息给 SMSC51 ;  The MMSC 52 is further configured to: generate a message identifier of the multimedia message, and send a notification short message to the SMSC 51;
所述 SMSC51还用于, 生成通知短信消息的消息标识, 并通过确认消 息发送给 MMSC52;  The SMSC 51 is further configured to: generate a message identifier for notifying the short message, and send the message to the MMSC 52 by using the confirmation message;
所述 MMSC52还用于, 保存多媒体消息的消息标识与通知短信消息的 消息标识的对应关系。  The MMSC 52 is further configured to save a correspondence between a message identifier of the multimedia message and a message identifier of the notification short message.
所述 MMSC52发起多媒体消息的重新发送流程为:  The process of resending the multimedia message initiated by the MMSC 52 is:
MMSC52发起多媒体消息的重新发送流程, 重新发送通知短信消息给 SMSC, 直到将通知短信消息成功发送给接收方的移动终端, 或重新发送的 次数达到了预设的重新发送的门限值。  The MMSC 52 initiates a retransmission process of the multimedia message, and resends the notification SMS message to the SMSC until the notification SMS message is successfully sent to the recipient's mobile terminal, or the number of retransmissions reaches a preset retransmission threshold.
所述 MMSC52生成多媒体消息的消息标识为:  The message identifier of the MMSC 52 generating the multimedia message is:
MMSC52在收到提供方的移动终端提交的多媒体消息后, 对该多媒体 消息进行緩存, 并为该多媒体消息生成一个事务号, 根据该事务号生成与 该多媒体消息对应的消息标识。  After receiving the multimedia message submitted by the mobile terminal of the provider, the MMSC 52 caches the multimedia message, and generates a transaction number for the multimedia message, and generates a message identifier corresponding to the multimedia message according to the transaction number.
所述 SMSC51生成通知短信消息的消息标识为:  The message identifier of the SMSC 51 generating the notification short message is:
SMSC51收到 MMSC52发送的通知短信消息后, 为该通知短信消息生 成一个事务号, 根据该事务号生成与该通知短信消息对应的消息标识。  After receiving the notification short message sent by the MMSC 52, the SMSC 51 generates a transaction number for the notification short message, and generates a message identifier corresponding to the notification short message according to the transaction number.
所述 MMSC52保存多媒体消息的消息标识与通知短信消息的消息标识 的对应关系为:  The correspondence between the message identifier of the MMSC 52 storing the multimedia message and the message identifier of the notification SMS message is:
MMSC52对 SMSC51发送的携带有通知短信消息的消息标识的确认消 息进行解析, 得到通知短信消息的消息标识; MMSC52根据所述通知短信 消息的消息标识中的事务号, 找到与其对应的通知短信消息, 并找到与通 知短信消息对应的多媒体消息以及多媒体消息的消息标识; MMSC52将该 通知短信消息的消息标识和与其对应的多媒体消息的消息标识, 保存到预 先创建的对应关系的内存表中。 The MMSC 52 parses the confirmation message of the message identifier of the SMS message sent by the SMSC 51, and obtains the message identifier of the notification message message. The MMSC 52 finds the notification message corresponding to the SMS message according to the transaction number in the message identifier of the notification message message. And finding a multimedia message corresponding to the notification short message and a message identifier of the multimedia message; the MMSC 52 saves the message identifier of the notification short message and the message identifier of the corresponding multimedia message to the pre First create the corresponding relationship in the memory table.
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。  The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included. Within the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种下发多媒体消息的方法, 其特征在于, 该方法包括: 短消息中心( SMSC )将通知短信消息发送给移动终端后, 将投递状态 消息发送给多媒体消息业务中心 (MMSC );  A method for delivering a multimedia message, the method comprising: the short message center (SMSC) transmitting the notification short message to the mobile terminal, and transmitting the delivery status message to the multimedia message service center (MMSC);
当 MMSC根据投递状态消息中的投递状态码确定通知短信消息投递成 功时, 根据投递状态消息中的通知短信消息的消息标识找到多媒体消息, 并发送给 SMSC。  When the MMSC determines that the notification short message delivery is successful according to the delivery status code in the delivery status message, the multimedia message is found according to the message identifier of the notification short message in the delivery status message, and is sent to the SMSC.
2、 根据权利要求 1所述的方法, 其特征在于, 该方法还包括: 当 MMSC根据投递状态消息中的投递状态码确定通知短信消息投递失 败时, 根据投递状态消息中的错误码判断通知短信消息的投递状态是否异 常; 如果异常, 则 MMSC中止多媒体消息的后续正常处理流程, 生成目的 号码异常日志; 如果不异常, 则 MMSC发起多媒体消息的重新发送流程; 如果是其他状态, 则 MMSC终止多媒体消息的后续正常处理流程, 生成投 递失败日志。  2. The method according to claim 1, wherein the method further comprises: when the MMSC determines that the notification short message delivery fails according to the delivery status code in the delivery status message, determining the notification short message according to the error code in the delivery status message. Whether the delivery status of the message is abnormal; if abnormal, the MMSC suspends the subsequent normal processing flow of the multimedia message to generate an abnormality log of the destination number; if not abnormal, the MMSC initiates a retransmission process of the multimedia message; if it is in another state, the MMSC terminates the multimedia The subsequent normal processing flow of the message generates a delivery failure log.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述 SMSC将通知 短信消息发送给移动终端后, 将投递状态消息发送给 MMSC之前, 该方法 还包括:  The method according to claim 1 or 2, wherein, after the SMSC sends the notification short message to the mobile terminal, and sends the delivery status message to the MMSC, the method further includes:
MMSC生成多媒体消息的消息标识, 并发送通知短信消息给 SMSC; SMSC 生成通知短信消息的消息标识, 并通过确认消息发送给 MMSC; MMSC 保存多媒体消息的消息标识与通知短信消息的消息标识的对应关 系。  The MMSC generates a message identifier of the multimedia message, and sends a notification message message to the SMSC; the SMSC generates a message identifier for notifying the short message, and sends the message identifier to the MMSC through the confirmation message; the MMSC saves the correspondence between the message identifier of the multimedia message and the message identifier of the notification SMS message. .
4、 根据权利要求 2所述的方法, 其特征在于, 所述 MMSC发起多媒 体消息的重新发送流程为:  The method according to claim 2, wherein the resending process of the MMSC to initiate the multimedia message is:
MMSC 发起多媒体消息的重新发送流程 , 重新发送通知短信消息给 SMSC, 直到将通知短信消息成功发送给接收方的移动终端, 或重新发送的 次数达到了预设的重新发送的门限值。 The MMSC initiates a resend process of the multimedia message, and resends the notification short message to the SMSC until the notification short message is successfully sent to the recipient's mobile terminal, or resent The number of times the preset resend threshold has been reached.
5、 根据权利要求 3所述的方法, 其特征在于, 所述 MMSC生成多媒 体消息的消息标识为:  The method according to claim 3, wherein the message identifier of the MMSC to generate the multimedia message is:
MMSC在收到提供方的移动终端提交的多媒体消息后, 对该多媒体消 息进行緩存, 并为该多媒体消息生成事务号, 根据该事务号生成与该多媒 体消息对应的消息标识。  After receiving the multimedia message submitted by the mobile terminal of the provider, the MMSC caches the multimedia message, generates a transaction number for the multimedia message, and generates a message identifier corresponding to the multimedia message according to the transaction number.
6、 根据权利要求 3所述的方法, 其特征在于, 所述 SMSC生成通知短 信消息的消息标识为:  The method according to claim 3, wherein the SMSC generates a message identifier for notifying the short message:
SMSC收到 MMSC发送的通知短信消息后, 为该通知短信消息生成事 务号, 根据该事务号生成与该通知短信消息对应的消息标识。  After receiving the notification short message sent by the MMSC, the SMSC generates a transaction number for the notification short message, and generates a message identifier corresponding to the notification short message according to the transaction number.
7、 根据权利要求 3所述的方法, 其特征在于, 所述 MMSC保存多媒 体消息的消息标识与通知短信消息的消息标识的对应关系为:  The method according to claim 3, wherein the correspondence between the message identifier of the MMSC holding the multimedia message and the message identifier of the notification short message is:
MMSC对 SMSC发送的携带有通知短信消息的消息标识的确认消息进 行解析, 得到通知短信消息的消息标识; MMSC根据所述通知短信消息的 消息标识中的事务号, 找到与其对应的通知短信消息, 并找到与通知短信 消息对应的多媒体消息以及多媒体消息的消息标识; MMSC将该通知短信 消息的消息标识和与其对应的多媒体消息的消息标识, 保存到预先创建的 对应关系的内存表中。  The MMSC parses the confirmation message sent by the SMSC and carries the message identifier of the notification short message, and obtains the message identifier of the notification SMS message. The MMSC finds the notification message corresponding to the SMS message according to the transaction number in the message identifier of the notification SMS message. And obtaining the multimedia message corresponding to the notification short message and the message identifier of the multimedia message; the MMSC saves the message identifier of the notification short message and the message identifier of the corresponding multimedia message to the memory table of the corresponding relationship created in advance.
8、 一种下发多媒体消息的系统, 其特征在于, 该系统包括: SMSC、 MMSC; 其中,  8. A system for delivering a multimedia message, the system comprising: an SMSC, an MMSC;
SMSC, 用于将通知短信消息发送给移动终端后, 将投递状态消息发送 给 MMSC;  The SMSC is configured to send the delivery status message to the MMSC after sending the notification short message to the mobile terminal;
MMSC, 用于当根据投递状态消息中的投递状态码确定通知短信消息 投递成功时, 根据投递状态消息中的通知短信消息的消息标识找到多媒体 消息, 并发送给 SMSC。 The MMSC is configured to: when the notification short message delivery is successful according to the delivery status code in the delivery status message, find the multimedia message according to the message identifier of the notification short message in the delivery status message, and send the multimedia message to the SMSC.
9、 根据权利要求 8所述的系统, 其特征在于, 9. The system of claim 8 wherein:
所述 MMSC还用于, 当根据投递状态消息中的投递状态码确定通知短 信消息投递失败时, 根据投递状态消息中的错误码判断通知短信消息的投 递状态是否异常; 异常时, 中止多媒体消息的后续正常处理流程, 生成目 的号码异常日志; 不异常时, 发起多媒体消息的重新发送流程; 为其他状 态时, 终止多媒体消息的后续正常处理流程, 生成投递失败日志。  The MMSC is further configured to: when determining that the notification short message delivery fails according to the delivery status code in the delivery status message, determining, according to the error code in the delivery status message, whether the delivery status of the notification short message is abnormal; when abnormal, suspending the multimedia message The subsequent normal processing flow generates an abnormality log of the destination number; when the abnormality is not abnormal, the resending process of the multimedia message is initiated; when it is in another state, the subsequent normal processing flow of the multimedia message is terminated, and a delivery failure log is generated.
10、 根据权利要求 8或 9所述的系统, 其特征在于,  10. A system according to claim 8 or claim 9 wherein:
所述 MMSC还用于, 生成多媒体消息的消息标识, 并发送通知短信消 息给 SMSC;  The MMSC is further configured to: generate a message identifier of the multimedia message, and send a notification message message to the SMSC;
所述 SMSC还用于, 生成通知短信消息的消息标识, 并通过确认消息 发送给 MMSC;  The SMSC is further configured to: generate a message identifier for notifying the short message, and send the message to the MMSC through the confirmation message;
所述 MMSC还用于, 保存多媒体消息的消息标识与通知短信消息的消 息标识的对应关系。  The MMSC is further configured to save a correspondence between a message identifier of the multimedia message and a message identifier of the notification short message.
PCT/CN2011/070442 2010-11-11 2011-01-20 Method and system for delivering multimedia messages WO2012062051A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010105411863A CN101986733A (en) 2010-11-11 2010-11-11 Method and system for transmitting multimedia message
CN201010541186.3 2010-11-11

Publications (1)

Publication Number Publication Date
WO2012062051A1 true WO2012062051A1 (en) 2012-05-18

Family

ID=43711033

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/070442 WO2012062051A1 (en) 2010-11-11 2011-01-20 Method and system for delivering multimedia messages

Country Status (2)

Country Link
CN (1) CN101986733A (en)
WO (1) WO2012062051A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731803A (en) * 2012-10-16 2014-04-16 华为终端有限公司 Method for protecting short message contents and short message center

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102172051A (en) * 2011-04-25 2011-08-31 华为技术有限公司 Method and apparatus for processing a multimedia message
CN103118345B (en) * 2011-11-16 2016-08-10 中国移动通信集团公司 A kind of message issuing method and equipment
CN102984669B (en) * 2012-11-27 2018-06-05 南京工业大学 A kind of method that Multimedia Message automatically replies in mobile communications network
WO2014082453A1 (en) * 2012-11-30 2014-06-05 Huawei Technologies Co., Ltd. Method and apparatus for handling delivery status report

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794830A (en) * 2005-12-30 2006-06-28 北京金山软件有限公司 Method of obtaining multimedia data from mobile terminal
CN1867104A (en) * 2005-10-12 2006-11-22 华为技术有限公司 Method for terminal recalling multimedia message
CN101056421A (en) * 2007-06-15 2007-10-17 中兴通讯股份有限公司 A method for optimizing Push notice message

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100575997B1 (en) * 2004-10-22 2006-05-02 삼성전자주식회사 Method and system of transmitting guide message for mms receipt
CN101163276B (en) * 2007-11-26 2011-02-02 华为技术有限公司 Method and system of distributing multimedia message, and multimedia message center
CN101321318A (en) * 2008-07-03 2008-12-10 中兴通讯股份有限公司 Multimedia message center system and method for printing call list

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1867104A (en) * 2005-10-12 2006-11-22 华为技术有限公司 Method for terminal recalling multimedia message
CN1794830A (en) * 2005-12-30 2006-06-28 北京金山软件有限公司 Method of obtaining multimedia data from mobile terminal
CN101056421A (en) * 2007-06-15 2007-10-17 中兴通讯股份有限公司 A method for optimizing Push notice message

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103731803A (en) * 2012-10-16 2014-04-16 华为终端有限公司 Method for protecting short message contents and short message center

Also Published As

Publication number Publication date
CN101986733A (en) 2011-03-16

Similar Documents

Publication Publication Date Title
EP1338155B1 (en) Network-assisted automatic confirmation of short message service delivery
JP4628420B2 (en) Multimedia message delivery method and system, and multimedia message service center
KR101235110B1 (en) Reporting terminal capabilities for supporting short message service
CN100512314C (en) A method for optimizing Push notice message
KR100492959B1 (en) Short message service server and method in private mobile network interworking with public land mobile network
US8874149B2 (en) System and method for determining an SMS message retransmission schedule
CA2728236C (en) An implementing method of removing duplication protection for multimedia messaging service interworking forwarding message and multimedia messaging service interworking gateway thereof
WO2009074064A1 (en) Method and system for sending multimedia message and multimedia message center
WO2012062051A1 (en) Method and system for delivering multimedia messages
EP2549780A1 (en) Method, system and server for feeding back state of receiving end
WO2007041960A1 (en) A multimedia message center and a terminal and the corresponding processing method of multimedia messages
US20110269485A1 (en) Method and network node for sending a message to a plurality of devices of a user
WO2007140687A1 (en) Short message filtering method, signaling processing system and short message service center
WO2010009666A1 (en) Method, system and device for implementing multimedia service
WO2007033552A1 (en) A method for processing the message in the multimedia message service and a system thereof
CN103813274A (en) Short message transmitting and receiving methods in cluster system and apparatuses for realizing short message transmitting and receiving by terminal
KR100604723B1 (en) Method and system for acknowledgement of receipt and reading of multimedia data using a data burst message
KR20040070557A (en) Method and Apparatus for Sending Messages of Mobile Communication Systems
WO2006099812A1 (en) A method for transmitting message
WO2007020275A1 (en) Text or media message service and mobile communication network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11839666

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11839666

Country of ref document: EP

Kind code of ref document: A1