WO2012024853A1 - 多媒体消息中心及消息的下发方法 - Google Patents
多媒体消息中心及消息的下发方法 Download PDFInfo
- Publication number
- WO2012024853A1 WO2012024853A1 PCT/CN2010/077999 CN2010077999W WO2012024853A1 WO 2012024853 A1 WO2012024853 A1 WO 2012024853A1 CN 2010077999 W CN2010077999 W CN 2010077999W WO 2012024853 A1 WO2012024853 A1 WO 2012024853A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- module
- sent
- smsc
- mmsc
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/58—Message adaptation for wireless communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/18—Service support devices; Network management devices
- H04W88/184—Messaging devices, e.g. message centre
Definitions
- the present invention relates to the field of communications, and in particular to a Multimedia Messaging Service Center (MMSC) and a method for delivering a message.
- MMS Multimedia Messaging Service
- a Multimedia Messaging Service (MMS) is a type of communication between different mobile terminals (eg, mobile phones), between service providers and mobile terminals, and between other applications such as mobile terminals and email servers.
- a messaging service that delivers multimedia content.
- the multimedia messaging service has been widely carried out at present, especially the rich, timely and fast service provided by the service provider for mobile phone users, enriching the life of the user.
- 1 is a flowchart of a message sent in a multimedia message service in the related art. As shown in FIG.
- the obtaining link generates a user delivery message, wherein the message is sent by the announcement message and the user delivers the message, and both messages are short messages, which are sent by the Short Message Service Center (SMSC).
- SMSC Short Message Service Center
- the MMSC codec module is configured to encode the received internal message into a short message to a short message, and then send it to the SMSC, and After receiving the response of the SMSC, decoding is performed according to the SMPP protocol, and converted into an internal message;
- the encoded message sent by the SMSC SMPP protocol the message is sent to the SMSC SUBMIT_SM;
- Step 103 The SMSC receives the submit_sm message of the MMSC, and returns a response submit sm resp to the MMSC.
- Step 4: 104 SMSC Send text messages to users.
- Step 4 and 103 can be performed simultaneously.
- the message delivery process is repeatedly performed, and the MMSC codec module immediately encodes and delivers the message after receiving the service delivery message.
- the service delivery message For some services (for example, mobile phone reporting service, SP group sending platform), the number of destination addresses is large, and the sending time is long.
- the delivery message received by the service generates an instantaneous peak, it will inevitably cause an instant moment to the SMSC. The impact caused the SMSC to exceed the processing capacity of the SMSC in a short period of time, resulting in the message not being processed normally.
- a primary object of the present invention is to provide a multimedia message center and a method for delivering a message to solve the above problem.
- An aspect of the present invention provides an MMSC, including: a service module, a codec module, and a cache processing module, where a service module is configured to send a message to be sent to a cache processing module; and a cache processing module is configured to cache Sending a message, and sending a buffered message to be sent to the codec module according to the rate that the SMSC can process; the codec module is configured to encode the to-be-sent message received from the cache processing module, and encode the to-be-sent message Issued to the SMSC.
- the cache processing module controls the start of each scheduling period by using a timer message, where the timer message is triggered at the beginning of each scheduling period.
- the cache processing module includes: a receiving module, configured to receive a message to be sent from the service module, and a determining module, configured to determine whether the current sending rate reaches a rate that the SMSC can process; and the scheduling module is configured to determine in the determining module If the result is YES, the scheduling cache processing module and the first sending module, in the case that the determining result of the determining module is negative, scheduling the second sending module; the cache processing module, configured to buffer the receiving module to receive the sending Message; first delivery module, for The to-be-sent message buffered by the cache processing module is sent to the codec module according to the rate that the SMSC can process.
- the second sending module is configured to directly send the uncached to-be-sent message to the codec module.
- the scheduling module is further configured to: when the cache processing module fails to cache, schedule the second sending module; the second sending module is further configured to send, to the codec module, the buffered to-be-sent message.
- Another aspect of the present invention provides a method for sending a message, including: the MMSC generates a to-be-sent message; the MMSC buffers the to-be-sent message, and selects a to-be-sent message from the buffered to-be-sent message according to a rate that the SMSC can process; The selected to-be-sent message is encoded, and the encoded to-be-sent message is sent to the SMSC.
- the MMSC controls the start of the scheduling period by using a timer message, where the timer message is triggered at the beginning of each scheduling period.
- the method further includes: determining whether the current delivery rate reaches a rate that the SMSC can process, and if yes, continuing the subsequent processing; otherwise, directly encoding the uncached to-be-sent message, after encoding The to-be-sent message is sent to the SMSC.
- the message to be sent that is buffered is directly encoded, and the encoded message to be sent is sent to the SMSC.
- the rate that the SMSC can process is dynamically determined by the current processing capability of the SMSC.
- the rate that the SMSC can process is determined by: the MMSC obtains the current processing capability information of the SMSC in real time or periodically, and determines the SMSC according to the processing capability information. The rate of processing; or, the SMSC feeds back to the MMSC when its processing capability information changes to 4, and the MMSC determines the rate that the SMSC can process according to the processing capability information.
- the invention adds a buffer processing module between the service module and the codec module of the MMSC, and the module sends the message to be sent to the codec module according to the speed that the SMSC can process, and solves the problem that the SMSC exceeds the processing in a short time in the related art.
- the ability to cause the message to be processed normally avoids the momentary impact on the SMS center when the multimedia message center is in a surge, which can reduce the performance requirements of the SMS center and improve the service success rate.
- FIG. 1 is a flow chart of a message delivery in a multimedia message service according to the related art
- FIG. 2 is a block diagram showing the structure of an MMSC according to an embodiment of the present invention
- FIG. 3 is a diagram showing an MMSC according to an embodiment of the present invention.
- FIG. 4 is a flowchart of a method for sending a message according to an embodiment of the present invention
- FIG. 5 is a flowchart of a method for sending a message by an MMSC according to Embodiment 1
- the overall processing flowchart of the cache processing module
- FIG. 7 is a flowchart of the processing of the service delivery message according to the second embodiment
- FIG. 8 is a flowchart of the processing flow of the timing message according to the second embodiment.
- the MMSC includes: a service module 22, a codec module 26, and a cache processing module 24, and a service module 22 for
- the to-be-sent message (the message to be sent may be an advertisement message or a user-delivered message) is sent to the cache processing module 24; the cache processing module 24 is configured to buffer the message to be sent, and to the codec module 26 according to the rate that the SMSC can process.
- the to-be-sent message is sent to the SMSC.
- the codec module 26 is configured to encode the to-be-sent message received from the cache processing module 24, and send the encoded to-be-sent message to the SMSC.
- the MMSC in this embodiment caches the to-be-sent message of the service module 22 by adding the cache processing module 24, and sends the to-be-sent message to the codec module 26 for encoding according to the rate that the SMSC can process, and changes the service in the related art.
- the module 22 generates a message to be sent and sends it to the codec module 26 for encoding and then sends the message to the SMSC.
- the method for limiting the delivery of the message is limited, and the short-time traffic of the SMSC exceeds the processing capability in the related art.
- the problem that the message cannot be processed normally avoids the instant impact on the SMS center when the multimedia message center business surges, which can lower the performance requirements of the SMS center and improve the business success rate.
- the rate that can be processed by the foregoing SMSC may be a fixed rate or a changed rate, where the fixed rate may be a preset value according to actual operating conditions of the system; the rate of change may be
- the specific change strategy can be pre-configured as time period changes, or as the current processing power of the SMSC changes dynamically.
- the MMSC can obtain the current processing capability information of the SMSC in real time or periodically, and then determine the current message sending rate according to the information, or may be the SMSC.
- the MMSC feeds back to the MMSC when the processing capability information changes, and the MMSC determines the current message delivery rate based on the information.
- the current time can be scanned at any time to check whether the current scheduling period has ended, and whether a new scheduling period should be started.
- the implementation of this method is relatively straightforward, but may be performed on the cache processing module. The resource is more expensive.
- FIG. 3 is a block diagram of a preferred structure of an MMSC according to an embodiment of the present invention. As shown in FIG.
- the cache processing module 24 may include: The receiving module 30 is configured to receive a message to be sent from the service module 22, and the determining module 31 is coupled to the receiving module 30, configured to determine whether the current sending rate reaches a rate that the SMSC can process; the scheduling module 32 is coupled to the determining module. 31. For the case that the determination result of the determination module 31 is YES, the scheduling cache processing module 33 and the first sending module 34, if the determination result of the determining module 31 is negative, scheduling the second sending module 35
- the cache processing module 33 is coupled to the service module 22 and the scheduling module 32 for buffering the to-be-sent message received by the receiving module 30.
- the first sending module 34 is coupled to the buffer processing module 33 for processing according to the rate that the SMSC can process.
- the to-be-sent message cached by the cache processing module 33 is sent to the codec module 26; the second delivery module 35 is coupled to the service module 22 and the scheduling module 32, and is configured to directly send the uncached to-be-sent message to the codec module. 26.
- the scheduling module 32 is further configured to: when the cache processing module 33 fails to cache, schedule the second sending module 35; the second sending module 35 is further configured to send the buffered failed to send message to the codec module 26 .
- the scheduling module 32 is further configured to: when the cache processing module 33 fails to cache, schedule the second sending module 35; the second sending module 35 is further configured to send the buffered failed to send message to the codec module 26 .
- the method includes: Step S402: The MMSC generates a message to be sent; Step S404, the MMSC buffers a message to be sent, and according to a rate that the SMSC can process Selecting a to-be-sent message in the buffered to-be-sent message; Step S406, the MMSC encodes the selected to-be-sent message, and the coded to-be-sent The sending message is sent to the SMSC.
- the method for limiting the delivery of the message to be sent is limited, and the problem that the SMSC exceeds the processing capability in a short time in the related art, and the message cannot be processed normally is avoided, thereby avoiding the moment when the multimedia message center service surges to the SMS center.
- the MMSC controls the start of the scheduling period by a timer message, wherein the timer message is triggered at the beginning of each scheduling period. ⁇
- a scheduling period can be restarted without determining whether to restart a scheduling period by means of scanning at any time, occupying a small system resource and being easy to manage.
- the method before the MMSC caches the to-be-sent message, the method further includes: determining whether the current delivery rate reaches a rate that the SMSC can process, and if yes, continuing the subsequent processing; otherwise, directly encoding the uncached to-be-sent message, encoding The subsequent to-be-sent message is sent to the SMSC.
- the method does not perform caching, directly encodes the message to be sent, reduces the link of the cache, and improves the processing performance of the system.
- the message to be sent that is buffered is directly encoded, and the coded message to be sent is sent to the SMSC.
- This processing method prevents message loss due to cache failure and improves system stability.
- the solution provided above enables the message sent by the MMSC to the MMSC to be performed at a smooth rate, so as to avoid the instantaneous impact on the SMSC, which can reduce the performance requirements of the short message center, improve the service success rate, and protect the interests of the operator.
- FIG. 5 is a flowchart of a method for sending a message by an MMSC according to Embodiment 1, the method includes the following steps: Step 501: The MMSC service module generates a sending message, and sends a sending message to the MMSC cache processing module. Step 502: After receiving the message sent by the service module, the MMSC cache processing module requests the cache space and caches the message, or directly sends the message to the codec module.
- Step 503 The MMSC cache processing module controls the sending of a message at a certain rate per second. Go to the MMSC codec module; Step 504: The MMSC codec module receives the sent message, and then sends the message to the SMSC according to the SMPP protocol, and the message sent to the SMSC is submit_sm; Step 505: The SMSC receives the MMSC submit_sm message. Returning a response to the MMSC, submit sm resp, and sending a text message to the user;
- the MMSC codec module receives the response message returned by the SMSC and decodes it into an MMSC internal message according to the SMPP protocol. It can be seen that by adding a cache processing module between the MMSC service module and the MMSC codec module, the sent message of the service module is directly sent to the cache processing module, and the cache processing module caches after receiving the sent message, and presses per second. A fixed number of messages are sent to the codec module, and the codec module is encoded and sent to the SMSC. In this way, the message sent by the MMSC to the SMSC is always in a smooth state in seconds, which can reduce the performance requirements of the short message center, improve the service success rate, and protect the interests of the operator.
- FIG. 6 is the overall processing flow of the cache processing module according to the second embodiment.
- the figure includes the following steps: Step S601: The MMSC cache processing module starts to start; Step S602: The MMSC cache processing module applies for a cache space, initializes the idle queue, and has Using the queue, setting a second timer, etc.; Step S603: The MMSC cache processing module receives the processing message, and the processing message includes a service delivery message and a second timer message, where the service delivery message is sent by the service module. The second timer message is sent by the MMSC module itself for resetting every second.
- Step S604 The MMSC cache processing module determines whether the received message is sent by the service. If yes, step S605 is performed. If not, step S606 is performed. Step S605: The received message is sent to the service delivery message processing flow when the message is sent by the service; Step S606: If the message received by the cache processing module is not the service delivery message, it is determined whether it is a second timer message, and if yes, execution Step S607, otherwise returning; Step 4: S607: If the received message is a second timer message, the process proceeds to the timing message processing flow.
- Figure 7 is a process flow of the service delivery message in the second embodiment.
- the service delivery process of the step S605 may include the following steps: Step S701: Receive a service delivery message, first determine the second Whether the number of the packets that have been sent is less than the maximum number of allowed transmissions set by the system; if the result of the determination is true, it means that the transmission can be continued, then step S702 is performed; if the result of the determination is false, the quota is allowed to be sent within the second time.
- step S704 is performed;
- Step S702 The service delivery message is sent to the codec module for encoding;
- Step S703 the number of the number of times sent in the second is increased by 1, and the step is returned;
- S704 determining whether the cached idle queue still has a free node, if there is a free node, indicating that the cache can be cached, step S705 is performed; if there is no free node, indicating that the cache is full, and the message is no longer cached, step S706 is performed;
- Step S705 Taking the idle node of the idle queue, the cache service sends a message, inserts it into the used queue, and returns;
- Step S7 06 This step is the exception handling mechanism of the cache queue.
- FIG. 8 is a flowchart of a timing message processing procedure according to Embodiment 2, as shown in FIG.
- the S607 timing message processing procedure may include the following steps: Step S801: Receive a second timing message, indicating that a new one second is started, first clearing the number of sent lines in the second second; Step S802: determining the number of times that have been sent in the second second Whether it is less than the maximum number of allowed transmissions by the system (for the case that the scheduling period is seconds, the maximum number of the same number is the same as the maximum allowed rate); if the determination result is true, it indicates that the transmission can be continued, and then step S803 is performed; If the result of the judgment is H, it means that the quota allowed to be sent in the second time has been used up, and the transmission cannot be continued, and the process returns; Step S803: The used queue node is taken out, and the cached service delivery message is sent out and sent to the codec module
- the solution provided by the embodiment of the present invention is compared with the original process, and the message buffer space is opened in the MMSC, and the message delivered by the service is temporarily cached, and then sent to the SMSC at a smooth rate to avoid the multimedia message center.
- the business surges it will cause an instant impact on the SMS center, which can reduce the performance requirements of the SMS center, improve the success rate of the service, and protect the interests of the operators.
- the steps shown in the flowchart of the accompanying drawings may be performed in a computer system such as a set of computer executable instructions, and, although the logical order is shown in the flowchart, in some cases, The steps shown or described may be performed in an order different than that herein.
- modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module.
- the invention is not limited to any specific combination of hardware and software.
- the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Description
多媒体消息中心及消息的下发方法 技术领域 本发明涉及通信领域, 具体而言, 涉及一种多媒体消息中心( Multimedia Messaging Service Center, 简称为 MMSC ) 及消息的下发方法。 背景技术 多媒体消息业务 (Multimedia Messaging Service , 简称为 MMS)是一种能 够在不同的移动终端 (例如, 手机) 之间、 业务提供商和移动终端之间以及 移动终端和 Email服务器等其他应用之间传送多媒体内容的消息服务。 多媒 体消息业务目前已经得到了广泛的开展, 尤其是业务提供商为手机用户提供 的内容丰富、 及时快捷的服务, 丰富了用户的生活。 图 1为相关技术中多媒体消息业务中消息下发的流程图, 如图 1所示, 包括以下步 4聚: 步 4聚 101 : MMSC 业务模块产生下发消息 (以下也称待发送消息), 将 下发消息发送给 MMSC编解码模块; 其中, MMSC业务模块是 MMSC处理业务流程的模块, 不同环节产生 不同消息, 在通告下发环节产生通告消息, 如果在向移动终端下发消息的最 终状态的获取环节则产生用户投递 4艮告消息; 其中, 上述下发消息包括通告消息和用户投递 4艮告, 这两种消息都是短 信, 由短信中心 ( Short Message Service Center , 简称为 SMSC )发送到移动 终端 (UA ); 其中, MMSC编解码模块用于将收到的内部消息按点对点短消息发送协 议 ( Short Message Peer to Peer, 简称为 SMPP ) 进行编码后下发给 SMSC, 以及用于在收到 SMSC的响应后按 SMPP协议进行解码, 转换为内部消息; 步骤 102: MMSC编解码模块收到业务模块下发的消息按 SMPP协议进 行编码后下发给 SMSC, 下发给 SMSC的消息为 submit_sm;
步骤 103 : SMSC收到 MMSC的 submit_sm消息, 向 MMSC返回响应 submit sm resp, MMSC编解码模块收到 SMSC返回的响应消息后,按 SMPP 协议进行解码后转换成 MMSC内部消息; 步 4聚 104, SMSC向用户下发短信内容。 步 4聚 103和步 4聚 104可同时进行。 相关技术中, 这种消息下发过程是反复执行的, MMSC编解码模块收到 业务下发消息后立即编码并下发。 对于某些业务(例如, 手机报业务, SP群 发平台) 而言, 其目的地址的个数多, 发送时间长, 当业务收到的提交消息 产生瞬间高峰时, 不可避免的会对 SMSC造成瞬间冲击, 造成 SMSC短时间 内流量超过 SMSC 自身的处理能力, 从而导致消息无法正常处理。 发明内容 本发明的主要目的在于提供一种多媒体消息中心及消息的下发方法, 以 解决上述问题。 本发明的一个方面提供了一种 MMSC, 包括: 业务模块、 编解码模块和 緩存处理模块, 其中, 业务模块, 用于将待发送消息下发至緩存处理模块; 緩存处理模块, 用于緩存待发送消息, 并按照 SMSC能够处理的速率向编解 码模块下发自身緩存的待发送消息; 编解码模块, 用于对从緩存处理模块接 收到的待发送消息进行编码, 将编码后的待发送消息下发至 SMSC。 其中, 緩存处理模块通过在一个调度周期内下发数量为发送阈值的待发 送消息的方式来控制消息下发的速率, 其中, SMSC能够处理的速率=发送阈 值 /调度周期。 其中,緩存处理模块通过定时器消息来控制每个调度周期的开始, 其中, 定时器消息在每个调度周期开始的时刻被触发。 其中, 緩存处理模块包括: 接收模块, 用于接收来自业务模块的待发送 消息;判断模块,用于判断当前的下发速率是否达到 SMSC能够处理的速率; 调度模块, 用于在判断模块的判断结果为是的情况下, 调度緩存处理模块和 第一下发模块, 在判断模块的判断结果为否的情况下, 调度第二下发模块; 緩存处理模块, 用于緩存接收模块接收的待发送消息; 第一下发模块, 用于
按照 SMSC能够处理的速率向编解码模块下发緩存处理模块緩存的待发送消 息; 第二下发模块, 用于直接将未緩存的待发送消息下发至编解码模块。 其中, 调度模块还用于在緩存处理模块緩存失败的情况下, 调度第二下 发模块; 第二下发模块还用于向编解码模块下发緩存失败的待发送消息。 本发明的另一个方面提供了一种消息的下发方法, 包括: MMSC生成待 发送消息; MMSC緩存待发送消息, 并按照 SMSC能够处理的速率从緩存的 待发送消息中选择待发送消息; MMSC对选择的待发送消息进行编码, 将编 码后的待发送消息下发至 SMSC。 其中, MMSC通过在一个调度周期内选择出数量为发送阈值的待发送消 息的方式来控制消息下发的速率, 其中, SMSC 能够处理的速率=发送阈值 / 调度周期。 其中, MMSC通过定时器消息来控制调度周期的开始, 其中, 定时器消 息在每个调度周期开始的时刻被触发。 其中, 在 MMSC 緩存待发送消息之前, 还包括: 判断当前的下发速率 是否达到 SMSC能够处理的速率, 若是, 则继续后续处理; 否则, 直接对未 緩存的待发送消息进行编码, 将编码后的待发送消息下发至 SMSC。 其中, 在緩存待发送消息緩存失败的情况下, 直接对緩存失败的待发送 消息进行编码, 将编码后的待发送消息下发至 SMSC。 其中, SMSC能够处理的速率随着 SMSC当前的处理能力动态变化的情 况下, SMSC 能够处理的速率通过以下方式确定: MMSC 实时或定时获取 SMSC当前的处理能力信息, 再根据处理能力信息确定 SMSC能够处理的速 率; 或者, SMSC在自身的处理能力信息变 4 时反馈给 MMSC, MMSC再才艮 据处理能力信息确定 SMSC能够处理的速率。 本发明通过在 MMSC的业务模块和编解码模块之间增设緩存处理模块, 该模块将待发送消息按照 SMSC能够处理的速度下发至编解码模块, 解决了 相关技术中 SMSC短时间内流量超过处理能力, 从而导致消息无法正常处理 的问题, 避免了多媒体消息中心业务浪涌时对短信中心造成瞬间冲击, 既可 以降低对短信中心性能要求, 又可以提高业务成功率。
附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1为相关技术中多媒体消息业务中消息下发的流程图; 图 2是才艮据本发明实施例的 MMSC的结构框图; 图 3是才艮据本发明实施例的 MMSC的优选结构框图; 图 4是 居本发明实施例的消息的下发方法的流程图; 图 5是才艮据实施例 1的 MMSC下发消息的方法流程图; 图 6是根据实施例 2的緩存处理模块的整体处理流程图; 图 7是^ f艮据实施例 2的业务下发消息的处理流程图; 图 8是 居实施例 2的定时消息处理流程的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 本实施例提供了一种 MMSC, 图 2是根据本发明实施例的 MMSC的结 构框图, 该 MMSC包括: 业务模块 22、 编解码模块 26和緩存处理模块 24 , 其巾, 业务模块 22 , 用于将待发送消息(待发送消息可以为通告消息或用户投 递艮告) 下发至緩存处理模块 24; 緩存处理模块 24 , 用于緩存待发送消息, 并按照 SMSC能够处理的速率 向编解码模块 26下发自身緩存的待发送消息; 编解码模块 26 , 用于对从緩存处理模块 24接收到的待发送消息进行编 码, 将编码后的待发送消息下发至 SMSC。
本实施例中的 MMSC,通过增加緩存处理模块 24对业务模块 22的待发 送消息进行緩存, 并按照 SMSC能够处理的速率将待发送消息发送至编解码 模块 26进行编码, 改变了相关技术中业务模块 22产生待发送消息后立刻送 入编解码模块 26进行编码继而发送至 SMSC的方式, 对待发送消息的下发 进行了限流, 解决了相关技术中 SMSC短时间内流量超过处理能力, 从而导 致消息无法正常处理的问题, 避免了多媒体消息中心业务浪涌时对短信中心 造成瞬间冲击, 既可以降氐对短信中心性能要求, 又可以提高业务成功率。 需要说明的是, 以上的 SMSC能够处理的速率, 可以是固定的速率, 也 可以是变化的速率, 其中, 固定的速率可以是根据***的实际运行情况预设 的取值; 变化的速率可以是随时间段变化, 或是随着 SMSC当前的处理能力 动态变化等等, 具体的变化策略可以预先配置。 在消息下发速率随着 SMSC当前的处理能力动态变化的情况下, MMSC 可以实时或定时通过获取 SMSC当前的处理能力信息, 再才艮据该信息确定当 前的消息下发速率, 也可以是 SMSC 在自身的处理能力信息变化时反馈给 MMSC, MMSC再才艮据该信息确定当前的消息下发速率。 对于下发速率的控制, 为了简便起见, 緩存处理模块 24 可以通过在一 个调度周期内下发数量为发送阈值的待发送消息的方式来控制消息下发的速 率, 其中, SMSC 能够处理的速率=发送阈值 /调度周期。 通过这种方式处理 非常方便, 且通过选择不同的调度周期, 能够对速率控制的精度进行调整, 调度周期选取越小, 速率控制的精度越高, 消息下发的速率越平滑。 緩存处理模块 24 进行速率控制的过程中, 可以随时扫描当前时间, 以 便检查当前的调度周期是否已结束, 是否应当开始新的调度周期, 这种方式 的实现比较直接, 但可能对緩存处理模块的资源耗费较多, 因此, 为了便于 緩存处理模块 24的处理, 緩存处理模块 24可以通过定时器消息来控制调度 周期的开始, 其中, 定时器消息在每个调度周期开始的时刻被触发。 釆用这 样的处理方式, 緩存处理模块 24 就可以在接收到该定时器消息时, 重新开 始一个调度周期, 而无需通过随时扫描的方式确定是否应重新开始一个调度 周期, 占用的***资源较小, 且便于管理。 图 3是根据本发明实施例的 MMSC的优选结构框图, 如图 3所示, 緩 存处理模块 24可以包括:
接收模块 30 , 用于接收来自业务模块 22的待发送消息; 判断模块 31 , 耦合至接收模块 30 , 用于判断当前的下发速率是否达到 SMSC能够处理的速率; 调度模块 32 , 耦合至判断模块 31 , 用于在判断模块 31的判断结果为是 的情况下, 调度緩存处理模块 33和第一下发模块 34 , 在判断模块 31的判断 结果为否的情况下, 调度第二下发模块 35; 緩存处理模块 33 , 耦合至业务模块 22和调度模块 32 , 用于緩存接收模 块 30接收的待发送消息; 第一下发模块 34 , 耦合至緩存处理模块 33 , 用于按照 SMSC能够处理 的速率向编解码模块 26下发緩存处理模块 33緩存的待发送消息; 第二下发模块 35 , 耦合至业务模块 22和调度模块 32 , 用于直接将未緩 存的待发送消息下发至编解码模块 26。 通过以上判断模块 31 的判断, 在当前的速率尚未达到 SMSC能够处理 的速率的情况下, 则直接将接收模块 30 接收到的待发送消息通过第二下发 模块 35发送至编解码模块 26 , 减少了緩存的环节, 从而提高了***的处理 性能。 优选地, 调度模块 32还用于在緩存处理模块 33緩存失败的情况下, 调 度第二下发模块 35; 第二下发模块 35还用于向编解码模块 26下发緩存失败 的待发送消息。 通过给调度模块 32 增加一个错误处理的分支, 在緩存处理 模块 33 緩存失败的情况下, 直接将緩存失败的待发送消息通过第二下发模 块 35发送给编解码模块 26 , 防止了因緩存失败而导致的消息丢失, 提高了 ***的稳定性。 图 4是才艮据本发明实施例的消息的下发方法的流程图, 该方法包括: 步骤 S402 , MMSC生成待发送消息; 步骤 S404, MMSC緩存待发送消息, 并按照 SMSC能够处理的速率从 緩存的待发送消息中选择待发送消息; 步骤 S406, MMSC对选择出来的待发送消息进行编码, 将编码后的待
发送消息下发至 SMSC。 该方法对待发送消息的下发进行了限流, 解决了相关技术中 SMSC短时 间内流量超过处理能力, 从而导致消息无法正常处理的问题, 避免了多媒体 消息中心业务浪涌时对短信中心造成瞬间冲击, 既可以降低对短信中心性能 要求, 又可以提高业务成功率。 优选地, MMSC可以通过在一个调度周期内选择出数量为发送阈值的待 发送消息的方式来控制消息下发的速率, 其中, SMSC能够处理的速率=发送 阈值 /调度周期。 通过这种方式处理非常方便, 且通过选择不同的调度周期, 能够对速率控制的精度进行调整,调度周期选取越小,速率控制的精度越高, 消息下发的速率越平滑。 优选地, MMSC通过定时器消息来控制调度周期的开始, 其中, 定时器 消息在每个调度周期开始的时刻被触发。 釆用这样的处理方式, 就可以在接 收到该定时器消息时, 重新开始一个调度周期, 而无需通过随时扫描的方式 确定是否应重新开始一个调度周期, 占用的***资源较小, 且便于管理。 优选地, 在 MMSC 緩存待发送消息之前, 还包括: 判断当前的下发速 率是否达到 SMSC能够处理的速率, 若是, 则继续后续处理; 否则, 直接对 未緩存的待发送消息进行编码, 将编码后的待发送消息下发至 SMSC。 该方 法在当前的速率尚未达到 SMSC能够处理的速率的情况下, 则不进行緩存, 直接对待发送消息进行编码, 减少了緩存的环节, 从而提高了***的处理性 能。 优选地, 在緩存待发送消息緩存失败的情况下, 直接对緩存失败的待发 送消息进行编码, 将编码后的待发送消息下发至 SMSC。 该处理方式防止了 因緩存失败而导致的消息丢失, 提高了***的稳定性。 以上提供的方案使 MMSC下发到 MMSC的消息以平滑的速率进行, 避 免对 SMSC的瞬间冲击, 既可以降低对短信中心性能要求, 又可以提高业务 成功率, 保障运营商的利益。 下面描述的实施例 1-2以调度周期取秒的情况为例对以上的方案进行了 说明, 对于其他的调度周期可以釆用类似的方法进行处理。 实施例 1-2综合 了上述多个优选实施例的技术方案。
实施例 1 图 5是才艮据实施例 1 的 MMSC下发消息的方法流程图, 该方法包括以 下步骤: 步骤 501 : MMSC 业务模块产生下发消息, 将下发消息发送给 MMSC 緩存处理模块; 步骤 502: MMSC緩存处理模块收到业务模块的下发消息, 则申请緩存 空间并緩存该消息, 或直接发送给编解码模块; 步骤 503 : MMSC 緩存处理模块控制每秒一定数目的速率下发消息到 MMSC编解码模块; 步骤 504: MMSC编解码模块收到下发消息, 按 SMPP协议进行编码后 下发给 SMSC, 下发给 SMSC的消息为 submit_sm; 步骤 505 : SMSC收到 MMSC的 submit_sm消息, 向 MMSC返回响应 submit sm resp , 并向用户下发短信内容;
MMSC编解码模块收到 SMSC返回的响应消息按 SMPP协议进行解码 后转换成 MMSC内部消息。 可以看出, 通过在 MMSC业务模块和 MMSC编解码模块之间增加緩存 处理模块, 业务模块的下发消息直接发送给緩存处理模块, 緩存处理模块收 到下发消息后进行緩存, 并按每秒固定数目的消息下发给编解码模块, 编解 码模块进行编码后下发给 SMSC。 这样, MMSC下发给 SMSC的消息, 在以 秒为单位的时间上, 始终处于平滑状态, 既可以降低对短信中心性能要求, 又可以提高业务成功率, 保障运营商的利益。 实施例 2 在该方案中, 緩存处理模块的处理是重要的一环, 该实施例详细描述了 緩存处理模块的逻辑处理流程, 图 6是才艮据实施例 2的緩存处理模块的整体 处理流程图, 包括以下步 4聚: 步骤 S601 : MMSC緩存处理模块开始启动; 步骤 S602: MMSC緩存处理模块申请緩存空间, 初始化空闲队列和已
使用队列, 设定秒定时器等; 步骤 S603 : MMSC緩存处理模块收到处理消息, 处理消息包括业务的 下发消息和秒定时器消息, 其中, 业务的下发消息是业务模块下发的, 秒定 时器消息是 MMSC模块自身发出的, 用于每秒的重置; 步骤 S604: MMSC緩存处理模块判断收到的是否为业务下发消息, 如 果是, 执行步骤 S605 , 如果不是, 执行步骤 S606; 步骤 S605 : 收到消息为业务下发消息则进入业务下发消息处理流程; 步骤 S606:如果緩存处理模块收到的消息不是业务下发消息则判断是否 为秒定时器消息, 如果是, 执行步骤 S607, 否则返回; 步 4聚 S607: 如果收到的消息为秒定时器消息则进入定时消息处理流程。 图 7是 居实施例 2的业务下发消息的处理流程图, 如图 7所示, 步骤 S605业务下发消息处理流程可包括以下步骤: 步骤 S701 : 收到业务下发消息, 首先判断本秒内已经发送的条数, 是否 小于***设定的允许发送的最大条数; 判断结果为真, 则表示可以继续发送, 则执行步骤 S702; 判断结果为假, 则表示本秒内允许发送的配额已经用完, 不能继续发送, 需进行緩存, 则执行步骤 S704; 步骤 S702: 将业务下发消息发送给编解码模块进行编码; 步骤 S703 : 本秒内已经发送的条数加 1 , 返回; 步骤 S704: 判断緩存的空闲队列是否尚有空闲节点, 如果有空闲节点, 表示可以緩存, 则执行步骤 S705; 如果没有空闲节点, 说明緩存已经占满, 此时不再緩存消息, 执行步骤 S 706; 步骤 S705 : 取空闲队列的空闲节点, 緩存业务下发消息, 将其***已使 用队列, 返回; 步骤 S706: 此步骤为緩存队列的异常处理机制, 将业务下发消息发送给 编解码模块进行编码, 返回。 图 8是才艮据实施例 2的定时消息处理流程的流程图, 如图 8所述, 步骤
S607定时消息处理流程可包括以下步骤: 步骤 S801 : 收到秒定时消息, 表示开始新的一秒, 首先将本秒中已发送 条数清零; 步骤 S802: 判断本秒内已经发送的条数, 是否小于***设定的允许发送 的最大条数(对于调度周期为秒的情况,该最大条数与最大允许的速率相同); 判断结果为真, 则表示可以继续发送, 则执行步骤 S803; 判断结果为 H 则 表示本秒内允许发送的配额已经用完, 不能继续发送, 返回; 步骤 S803: 取已使用队列节点, 将緩存的业务下发消息取出发送给编解 码模块进行编码, 同时, 将该节点***空闲队列; 步骤 S804: 本秒内已经发送的条数加 1 , 跳转到步骤 S802执行。 综上所述, 本发明实施例提供的方案与原有流程相比, 在 MMSC 开辟 下发消息緩存空间, 暂时緩存业务下发的消息, 然后以平滑的速率下发至 SMSC , 避免多媒体消息中心业务浪涌时对短信中心造成瞬间冲击, 既可以 降低对短信中心性能要求, 又可以提高业务成功率, 保障运营商的利益。 需要说明的是, 在附图的流程图示出的步骤可以在诸如一组计算机可执 行指令的计算机***中执行, 并且, 虽然在流程图中示出了逻辑顺序, 但是 在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 或 者将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制 作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软 件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。
Claims
1. 一种多媒体消息中心 MMSC, 其特征在于, 包括: 业务模块、 编解码模 块和緩存处理模块, 其中,
所述业务模块, 用于将待发送消息下发至緩存处理模块; 所述緩存处理模块, 用于緩存所述待发送消息, 并按照短信中心 SMSC能够处理的速率向所述编解码模块下发自身緩存的待发送消息; 所述编解码模块, 用于对从所述緩存处理模块接收到的待发送消息 进行编码, 将编码后的待发送消息下发至所述 SMSC。
2. 根据权利要求 1所述的 MMSC, 其特征在于, 所述緩存处理模块通过在 一个调度周期内下发数量为发送阈值的待发送消息的方式来控制消息下 发的速率, 其中, 所述 SMSC能够处理的速率=所述发送阈值 /所述调度 周期。
3. 根据权利要求 2所述的 MMSC, 其特征在于, 所述緩存处理模块通过定 时器消息来控制每个调度周期的开始, 其中, 所述定时器消息在每个调 度周期开始的时刻被触发。
4. 根据权利要求 1所述的 MMSC, 其特征在于, 所述緩存处理模块包括: 接收模块, 用于接收来自所述业务模块的待发送消息; 判断模块, 用于判断当前的下发速率是否达到所述 SMSC能够处理 的速率; 调度模块, 用于在所述判断模块的判断结果为是的情况下, 调度緩 存处理模块和第一下发模块 ,在所述判断模块的判断结果为否的情况下 , 调度第二下发模块; 所述緩存处理模块, 用于緩存所述接收模块接收的待发送消息; 第一下发模块, 用于按照所述 SMSC能够处理的速率向所述编解码 模块下发所述緩存处理模块緩存的待发送消息;
所述第二下发模块, 用于直接将未緩存的待发送消息下发至所述编 解码模块。
5. 根据权利要求 4所述的 MMSC, 其特征在于,
所述调度模块还用于在所述緩存处理模块緩存失败的情况下, 调度 所述第二下发模块;
所述第二下发模块还用于向所述编解码模块下发所述緩存失败的待 发送消息。
6. —种消息的下发方法, 其特征在于, 包括:
MMSC生成待发送消息;
所述 MMSC緩存所述待发送消息, 并按照 SMSC能够处理的速率 从所述緩存的待发送消息中选择待发送消息;
所述 MMSC对所述选择的待发送消息进行编码,将编码后的待发送 消息下发至所述 SMSC。
7. 根据权利要求 6所述的方法, 其特征在于, 所述 MMSC通过在一个调度 周期内选择出数量为发送阈值的待发送消息的方式来控制消息下发的速 率, 其中, 所述 SMSC能够处理的速率=所述发送阈值 /所述调度周期。
8. 根据权利要求 7所述的方法, 其特征在于, 所述 MMSC通过定时器消息 来控制所述调度周期的开始, 其中, 所述定时器消息在每个调度周期开 始的时刻被触发。
9. 才艮据权利要求 6所述的方法, 其特征在于, 在所述 MMSC緩存所述待发 送消息之前, 还包括:
判断当前的下发速率是否达到所述 SMSC能够处理的速率, 若是, 则继续后续处理; 否则, 直接对未緩存的待发送消息进行编码, 将编码 后的待发送消息下发至 SMSC。
10. 根据权利要求 9所述的方法, 其特征在于, 在緩存所述待发送消息緩存 失败的情况下, 直接对緩存失败的待发送消息进行编码, 将编码后的待 发送消息下发至 SMSC。
11. 根据权利要求 6所述的方法, 其特征在于, 所述 SMSC能够处理的速率 随着所述 SMSC当前的处理能力动态变化的情况下, 所述 SMSC能够处 理的速率通过以下方式确定: 所述 MMSC实时或定时获取 SMSC 当前的处理能力信息, 再根据 所述处理能力信息确定所述 SMSC能够处理的速率; 或者,
所述 SMSC在自身的处理能力信息变化时反馈给所述 MMSC,所述 MMSC再艮据所述处理能力信息确定所述 SMSC能够处理的速率。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010261084.6A CN101917681B (zh) | 2010-08-23 | 2010-08-23 | 多媒体消息中心及消息的下发方法 |
CN201010261084.6 | 2010-08-23 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012024853A1 true WO2012024853A1 (zh) | 2012-03-01 |
Family
ID=43325043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2010/077999 WO2012024853A1 (zh) | 2010-08-23 | 2010-10-22 | 多媒体消息中心及消息的下发方法 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101917681B (zh) |
WO (1) | WO2012024853A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731806A (zh) * | 2012-10-15 | 2014-04-16 | ***通信集团江苏有限公司 | 一种短信发送流量控制方法、装置及短信发送*** |
WO2014100525A2 (en) | 2012-12-21 | 2014-06-26 | Pioneer Hi-Bred International, Inc. | Compositions and methods for auxin-analog conjugation |
WO2014153242A1 (en) | 2013-03-14 | 2014-09-25 | Pioneer Hi-Bred International, Inc. | Compositions having dicamba decarboxylase activity and methods of use |
WO2014153234A1 (en) | 2013-03-14 | 2014-09-25 | Pioneer Hi-Bred International, Inc. | Compositions having dicamba decarboxylase activity and methods of use |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102176705A (zh) * | 2011-03-10 | 2011-09-07 | 央视国际网络有限公司 | 群发业务的处理方法及装置 |
WO2011110131A2 (zh) * | 2011-04-25 | 2011-09-15 | 华为技术有限公司 | 多媒体消息的处理方法和设备 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005041549A1 (en) * | 2003-10-28 | 2005-05-06 | Sergey Nikolaevich Smolovik | Method of information recording, storage and exchange in a cellular telecommunication network |
JP2006121354A (ja) * | 2004-10-20 | 2006-05-11 | Vodafone Kk | 移動体通信端末 |
KR20070121144A (ko) * | 2006-06-21 | 2007-12-27 | 엘지전자 주식회사 | 이동통신단말기 및 이동통신단말기의 유해 미디어 차단방법 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100512521C (zh) * | 2003-04-30 | 2009-07-08 | 华为技术有限公司 | 一种多媒体消息处理的装置及方法 |
US6895410B2 (en) * | 2003-05-02 | 2005-05-17 | Nokia Corporation | Method and apparatus for providing a multimedia data stream |
CN100359891C (zh) * | 2004-06-30 | 2008-01-02 | 中兴通讯股份有限公司 | 一种通过缓存提高多媒体消息中心业务处理性能的方法 |
CN101448207B (zh) * | 2007-11-26 | 2010-08-18 | 华为技术有限公司 | 一种发送多媒体消息的递送报告的方法及装置 |
-
2010
- 2010-08-23 CN CN201010261084.6A patent/CN101917681B/zh active Active
- 2010-10-22 WO PCT/CN2010/077999 patent/WO2012024853A1/zh active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2005041549A1 (en) * | 2003-10-28 | 2005-05-06 | Sergey Nikolaevich Smolovik | Method of information recording, storage and exchange in a cellular telecommunication network |
JP2006121354A (ja) * | 2004-10-20 | 2006-05-11 | Vodafone Kk | 移動体通信端末 |
KR20070121144A (ko) * | 2006-06-21 | 2007-12-27 | 엘지전자 주식회사 | 이동통신단말기 및 이동통신단말기의 유해 미디어 차단방법 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103731806A (zh) * | 2012-10-15 | 2014-04-16 | ***通信集团江苏有限公司 | 一种短信发送流量控制方法、装置及短信发送*** |
WO2014100525A2 (en) | 2012-12-21 | 2014-06-26 | Pioneer Hi-Bred International, Inc. | Compositions and methods for auxin-analog conjugation |
WO2014153242A1 (en) | 2013-03-14 | 2014-09-25 | Pioneer Hi-Bred International, Inc. | Compositions having dicamba decarboxylase activity and methods of use |
WO2014153234A1 (en) | 2013-03-14 | 2014-09-25 | Pioneer Hi-Bred International, Inc. | Compositions having dicamba decarboxylase activity and methods of use |
Also Published As
Publication number | Publication date |
---|---|
CN101917681A (zh) | 2010-12-15 |
CN101917681B (zh) | 2014-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100502572C (zh) | 增大多媒体消息业务***容量的方法及*** | |
WO2012024853A1 (zh) | 多媒体消息中心及消息的下发方法 | |
CN1849797A (zh) | 多媒体通信***中的数据共享 | |
WO2011137830A1 (zh) | 一种业务分发平台消息推送方法、相关设备及*** | |
RU2011152969A (ru) | Способ, устройство и система управления доступом | |
CA2883953C (en) | Methods and systems for delayed notifications in communications networks | |
US20100172483A1 (en) | Conversation of a phone call into a smart pushed voice message | |
KR100657825B1 (ko) | 다중모드 단말을 이용한 대용량 데이터 전송 방법 | |
CN102065382B (zh) | 一种多媒体消息业务下发消息动态流控的方法和*** | |
US20050181766A1 (en) | Method and device for delivering messages to mobile terminal devices in accordance with a user selectable attainability status | |
CN109120502B (zh) | 用于多业务融合平台的通信方法、设备、***及存储介质 | |
CN101150757B (zh) | 一种多媒体消息内容适配的方法和*** | |
CN101156400B (zh) | 一种在多媒体消息业务中处理消息的方法和*** | |
US20100075700A1 (en) | Flexible capacity short message service center (SMSC) | |
US8712451B2 (en) | Phone messaging using audio streams | |
WO2010009666A1 (zh) | 多媒体业务的实现方法、***和装置 | |
KR100706924B1 (ko) | 특정 가입자에게 호 폭주 시 단문메시지 처리 방법 | |
CN106487890A (zh) | 一种基于xmpp协议的跨节点通讯网络请求方法 | |
WO2012024915A1 (zh) | 多媒体消息的处理方法及*** | |
WO2014205910A1 (zh) | 一种信息处理方法及*** | |
KR100767585B1 (ko) | Mms 메시지 재전송 방법 및 이를 위한 장치 | |
US20080174829A1 (en) | Systems and methods for electronic facsimile communication | |
WO2012009895A1 (zh) | 支持非mms终端使用多媒体消息的方法及mmsc | |
WO2011144026A2 (zh) | 一种消息发送方法及装置 | |
CN101588546A (zh) | 传送非cpm业务的方法、装置和*** |
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: 10856306 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: 10856306 Country of ref document: EP Kind code of ref document: A1 |