CN100499597C - Method for transmitting MM4 interface message in multimedia message system - Google Patents
Method for transmitting MM4 interface message in multimedia message system Download PDFInfo
- Publication number
- CN100499597C CN100499597C CNB2005100711907A CN200510071190A CN100499597C CN 100499597 C CN100499597 C CN 100499597C CN B2005100711907 A CNB2005100711907 A CN B2005100711907A CN 200510071190 A CN200510071190 A CN 200510071190A CN 100499597 C CN100499597 C CN 100499597C
- Authority
- CN
- China
- Prior art keywords
- message
- mmsc
- smtp
- interface
- length
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
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
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域 technical field
本发明涉及多媒体消息技术,尤指一种多媒体消息系统中MM4接口消息的发送方法。The invention relates to multimedia message technology, in particular to a method for sending MM4 interface messages in a multimedia message system.
背景技术 Background technique
多媒体消息服务(MMS)是短信息服务(SMS)和增强型消息服务(EMS)的进一步发展,为个人多媒体移动通信服务提供了完整的端到端解决方案。从通信内容上讲,多媒体消息包括图像、音频、视频和数据等;从功能上讲,多媒体消息服务涵盖了终端到终端、终端到应用、应用到终端的多媒体消息通信。它不仅实现了终端之间、终端和应用之间的信息传递,还保证了信息内容的多样性,所传递的信息包括图片、语音、图像、数据、文本以及上述内容的各种组合。作为一个开放的媒体接入平台,MMS可以在移动用户和互联网内容提供商的互动下,衍生出更丰富多彩的内容服务应用。用户既是MMS的消费者,又是MMS的内容开发者,这无疑会提高终端用户对MMS的使用兴趣。Multimedia Messaging Service (MMS) is a further development of Short Message Service (SMS) and Enhanced Message Service (EMS), providing a complete end-to-end solution for personal multimedia mobile communication services. In terms of communication content, multimedia messages include images, audio, video, and data; in terms of functions, multimedia message services cover terminal-to-terminal, terminal-to-application, and application-to-terminal multimedia message communication. It not only realizes the information transmission between terminals, between terminals and applications, but also ensures the diversity of information content. The information transmitted includes pictures, voices, images, data, texts and various combinations of the above contents. As an open media access platform, MMS can generate more colorful content service applications under the interaction between mobile users and Internet content providers. Users are not only MMS consumers, but also MMS content developers, which will undoubtedly increase end users' interest in using MMS.
图1显示的是多媒体消息系统的组成结构,该系统主要包括:MMS用户代理(MMS User Agent)101、多媒体消息服务中心(MMSC,MultimediaMessaging Service Center)103、MMS用户数据库(MMS User Databases)104以及MMS外部增值应用服务器(MMS VAS Applications)105。What Fig. 1 shows is the composition structure of the multimedia messaging system, and this system mainly comprises: MMS User Agent (MMS User Agent) 101, Multimedia Message Service Center (MMSC, MultimediaMessaging Service Center) 103, MMS User Database (MMS User Databases) 104 and MMS external value-added application server (MMS VAS Applications) 105.
多媒体消息终端通过MMS用户代理101向用户提供多媒体消息服务,包括向用户提供浏览、编辑和处理多媒体消息的功能,以及支持用户进行多媒体消息的发送、接收和删除等操作。所述MMS用户代理101可以是MMS手机上的应用程序,如浏览器等,通过网络向MMSC发送/接收多媒体消息。所述网络可以是2G移动通信网1021、3G移动通信网1022或者Internet/IP网络1023。MMS用户代理与不同网络之间的连接基于因特网协议及其相关的消息协议集。The multimedia message terminal provides multimedia message services to users through the
MMSC包含MMS中继模块(MMS Relay)1031和MMS业务模块(MMSServer)1032两部分,用于对多媒体消息进行协议转换、内容适配、存储和调度,完成多媒体消息在不同多媒体设备之间的传递。MMSC还可以为每条多媒体消息的传递生成话单用于计费。MMSC includes two parts, MMS relay module (MMS Relay) 1031 and MMS service module (MMSServer) 1032, which are used to perform protocol conversion, content adaptation, storage and scheduling for multimedia messages, and complete the transfer of multimedia messages between different multimedia devices . The MMSC can also generate bills for the delivery of each multimedia message for billing.
MMS用户数据库104用于存储用户信息、个性化信息和接口信息等。MMS用户数据库可以是归属位置寄存器(HLR)、用户资源数据库(Profiles)等。The
MMS外部增值应用服务器105用于向用户提供增值业务服务。The MMS external value-added
随着多媒体消息服务的发展,用户数量日趋增多。运营商在向用户提供多媒体消息服务时,经常为多媒体消息系统设置多个MMSC,由每个MMSC管理特定用户,图2是多个MMSC互连的多媒体消息系统组成结构图。With the development of multimedia messaging services, the number of users is increasing day by day. When operators provide multimedia messaging services to users, they often set up multiple MMSCs for the multimedia messaging system, and each MMSC manages a specific user. Figure 2 is a structural diagram of a multimedia messaging system interconnected by multiple MMSCs.
多媒体消息服务中心201将多媒体消息发送到WAP网关202,再通过无线网络203送至用户终端204。MMSC与用户终端204之间的消息传递采用MM1接口协议。The multimedia
MMSC通过IP网络205与邮件服务器206进行消息传递,二者之间采用MM3接口,该接口的承载协议为简单邮件传输协议(SMTP,Simple MailTransfer Protocol)。MMSC carries out message transmission through
MMSC之间也是通过IP网络205传递消息,由于MMSC之间采用MM4接口,故将在MMSC之间传递的消息称为MM4接口消息。MM4接口的承载协议也采用简单邮件传输协议(SMTP,Simple Mail Transfer Protocol)。Messages are also transmitted between MMSCs through the
MMSC通过IP网络205与SP/CP207进行消息传递,二者之间采用MM7接口。所述SP/CP207为图1所示的MMS VAS Application105。该接口的承载协议一般为超文本传输协议(HTTP,Hypertext Transfer Protocol),也可使用其它协议。The MMSC performs message transfer with the SP/
多媒体消息系统中还设置有Enum Server,用于向MMSC提供根据接收端号码进行路由查询的功能,以判定MMSC接收到的多媒体消息是否需要前转以及前转至何处。An Enum Server is also set in the multimedia message system, which is used to provide the MMSC with the function of routing query according to the number of the receiving end, so as to determine whether the multimedia message received by the MMSC needs to be forwarded and where to forward it to.
运营商根据用户规模规划MMSC数目,当MMSC数目较多时,由于到达不同MMSC的消息量不等,必须在MMSC之间的MM4接口上对到达不同MMSC的消息量进行平衡,以保证所有的多媒体消息能够在尽可能短的时间内发送结束。The operator plans the number of MMSCs according to the user scale. When the number of MMSCs is large, the amount of messages arriving at different MMSCs must be balanced on the MM4 interface between MMSCs to ensure that all multimedia messages Be able to send the end in the shortest possible time.
现有技术中,可以采用两种不同的方法发送MM4接口消息。在下面的说明中,MM4接口消息从一个MMSC发送到另一个MMSC,发出MM4接口消息的MMSC称为源MMSC,接收MM4接口消息的MMSC称为目的MMSC。某源MMSC可以发送不同的MM4接口消息到不同的目的MMSCi,i为从1到N的整数,即一个源MMSC对应N个目的MMSC。In the prior art, two different methods can be used to send MM4 interface messages. In the following description, the MM4 interface message is sent from one MMSC to another MMSC, the MMSC that sends the MM4 interface message is called the source MMSC, and the MMSC that receives the MM4 interface message is called the destination MMSC. A source MMSC can send different MM4 interface messages to different destination MMSC i , where i is an integer from 1 to N, that is, one source MMSC corresponds to N destination MMSCs.
方法一:当源MMSC需要发一条MM4接口消息到目的MMSCi时,源MMSC的MMS Relay模块就为这两个MMSC建立一个SMTP连接来承载该MM4接口消息,该条MM4接口消息发送完毕后SMTP连接断开。Method 1: When the source MMSC needs to send an MM4 interface message to the destination MMSC i , the MMS Relay module of the source MMSC establishes an SMTP connection for the two MMSCs to carry the MM4 interface message. After the MM4 interface message is sent, the SMTP Disconnect.
该方法建立的SMTP连接是短连接,所谓短连接是指通信双方有数据交互时,就建立一个连接,数据发送完成后则断开此连接,即每次连接只完成一项数据业务的发送。但是,目前的商用MMSC均要求支持SMTP长连接,所谓长连接是指可以保持一个连接,用于连续发送多个数据业务,在连接保持期间,如果没有数据发送,需要通信双方相互发送链路检测包,因此该方法没有充分利用SMTP长连接的优点,不具备商用条件。The SMTP connection established by this method is a short connection. The so-called short connection means that when the communication parties have data interaction, a connection is established, and after the data transmission is completed, the connection is disconnected, that is, each connection only completes the transmission of one data service. However, current commercial MMSCs are required to support SMTP persistent connection. The so-called persistent connection means that a connection can be maintained for sending multiple data services continuously. During the connection maintenance period, if no data is sent, the communication parties need to send link detection to each other. package, so this method does not take full advantage of the advantages of SMTP long connections, and does not have commercial conditions.
方法二:Method Two:
源MMSC通过MMS Relay模块发送MM4接口消息,用于发送MM4接口消息的MMS Relay模块包括:待发消息池、消息派发管理模块和MM4接口SMTP连接池,所述发送MM4接口消息的过程如图3所示:The source MMSC sends the MM4 interface message through the MMS Relay module. The MMS Relay module used to send the MM4 interface message includes: a message pool to be sent, a message distribution management module and an MM4 interface SMTP connection pool. The process of sending the MM4 interface message is shown in Figure 3 Shown:
步骤301、当源MMSC产生MM4接口消息时,MMS Relay模块将MM4接口消息保存在待发消息池等待发送。
步骤302、消息派发管理模块判断MM4接口SMTP连接池是否有空闲连接,如果没有,则返回步骤302等待MM4接口SMTP连接池出现空闲连接;如果有空闲连接,消息派发管理模块从待发消息池取MM4接口消息送往空闲SMTP连接发送。
所述方法二存在以下缺点:The second method has the following disadvantages:
(一)由于消息派发管理模块仅根据SMTP连接的空闲情况分配MM4接口消息,所以每个SMTP连接在接受下一次消息发送任务时,都不能保证下一条MM4接口消息与上一条MM4接口消息是发往同一个目的MMSC的,因此SMTP连接执行一次消息发送都要断开与旧目的MMSC的连接,并建立从源MMSC指向新目的MMSC的连接。(1) Since the message distribution management module only allocates MM4 interface messages according to the idle situation of the SMTP connection, when each SMTP connection accepts the next message sending task, it cannot guarantee that the next MM4 interface message is the same as the previous MM4 interface message. To the same destination MMSC, therefore the SMTP connection needs to disconnect the connection with the old destination MMSC and establish a connection from the source MMSC pointing to the new destination MMSC.
这种短连接方式没有充分利用SMTP长连接的优势,因此导致MM4接口消息的整体发送效率较低。实际测试发现,短连接方式的发送效率较长连接方式低25%左右。This short connection method does not take full advantage of the advantages of the SMTP long connection, thus resulting in low overall sending efficiency of MM4 interface messages. The actual test found that the transmission efficiency of the short connection mode is about 25% lower than that of the long connection mode.
(二)由于到不同目的MMSC的SMTP连接数目没有得到控制,当大部分SMTP连接都与某个目的MMSC连接,且该目的MMSC出现故障导致MM4接口消息接收不畅时,源MMSC处的MM4接口消息整体发送变慢,甚至可能出现源MMSC的MM4接口暂时瘫痪的现象。(2) Since the number of SMTP connections to different destination MMSCs has not been controlled, when most of the SMTP connections are connected to a destination MMSC, and the destination MMSC fails to receive messages on the MM4 interface, the MM4 interface at the source MMSC The overall message sending becomes slow, and even the MM4 interface of the source MMSC may be temporarily paralyzed.
发明内容 Contents of the invention
有鉴于此,本发明的主要目的在于提供一种多媒体消息系统中MM4接口消息的发送方法,充分利用SMTP连接保持时间较长的优势,使MMSC的MM4接口消息能够在较短时间内得到发送。In view of this, the main purpose of the present invention is to provide a method for sending MM4 interface messages in a multimedia message system, making full use of the longer advantage of SMTP connection retention time, so that the MM4 interface messages of MMSC can be sent in a relatively short period of time.
为达到上述目的,本发明的技术方案具体是这样实现的:In order to achieve the above object, the technical solution of the present invention is specifically realized in the following way:
一种多媒体消息系统中MM4接口消息的发送方法,其特征在于,源MMSC将自身管理的所有SMTP连接分配给不同目的MMSC,该方法包括:A method for sending MM4 interface messages in a multimedia message system, characterized in that the source MMSC distributes all SMTP connections managed by itself to different purpose MMSCs, the method comprising:
先将源MMSC产生的MM4接口消息根据目的MMSC地址进行划分;再将划分后的MM4接口消息分别通过接收该MM4接口消息的目的MMSC所分配到的SMTP连接进行发送。First divide the MM4 interface message generated by the source MMSC according to the address of the destination MMSC; then send the divided MM4 interface message through the SMTP connection assigned by the destination MMSC receiving the MM4 interface message.
进一步地,所述分配SMTP连接的方法为:源MMSC根据当前时刻的MM4接口消息参数动态分配SMTP连接。Further, the method for allocating the SMTP connection is: the source MMSC dynamically allocates the SMTP connection according to the MM4 interface message parameters at the current moment.
进一步地,所述动态分配SMTP连接的方法为:源MMSC根据指令或定时对目的MMSC分配到的SMTP连接数目进行计算,并根据计算结果分配SMTP连接。Further, the method for dynamically allocating SMTP connections is as follows: the source MMSC calculates the number of SMTP connections allocated by the destination MMSC according to instructions or timing, and allocates SMTP connections according to the calculation results.
较佳地,所述MM4接口消息参数包括消息个数和消息长度;Preferably, the MM4 interface message parameters include message number and message length;
则为目的MMSC分配SMTP连接的方法为:根据当前时刻的消息个数和消息长度,以及消息个数和消息长度各自对应的权重设置目的MMSC的SMTP连接数目。Then, the method for distributing SMTP connections for the purpose MMSC is: according to the number of messages and the length of the messages at the current moment, and the respective weights corresponding to the number of messages and the length of the messages, the number of SMTP connections of the purpose MMSC is set.
进一步地,所述消息个数的权重与消息长度的权重之和为1。Further, the sum of the weight of the number of messages and the weight of the message length is 1.
较佳地,所述MM4接口消息参数还包括消息增减指数和消息发送速度指数;Preferably, the MM4 interface message parameters also include a message increase and decrease index and a message sending speed index;
则为目的MMSC分配SMTP连接的方法为:根据消息个数、消息长度、消息增减指数和消息发送速度指数,以及所述四个参数各自对应的权重设置目的MMSC的SMTP连接数目。Then for the method that purpose MMSC distributes SMTP connection is: according to the number of messages, message length, message increase and decrease index and message sending speed index, and the SMTP connection number of purpose MMSC is set according to the respective weights corresponding to the four parameters.
进一步地,所述消息增减指数根据当前时刻与上一时刻待发送的消息个数之差以及消息长度之差获得。Further, the message increase/decrease index is obtained according to the difference between the number of messages to be sent at the current time and the last time and the difference between the message lengths.
较佳地,所述消息发送速度指数根据已发送的消息个数以及消息长度获得。Preferably, the message sending speed index is obtained according to the number of sent messages and the message length.
较佳地,所述MM4接口消息参数还包括消息发送加速度指数;Preferably, the MM4 interface message parameter also includes a message sending acceleration index;
则为目的MMSC分配SMTP连接的方法为:根据消息个数、消息长度、消息增减指数、消息发送速度指数和消息发送加速度指数,以及所述五个参数各自对应的权重设置目的MMSC的SMTP连接数目。Then the method for assigning the SMTP connection of the purpose MMSC is: according to the number of messages, message length, message increase and decrease index, message sending speed index and message sending acceleration index, and the SMTP connection of the respective weight setting of the purpose MMSC according to the five parameters number.
进一步地,所述消息发送加速度指数根据当前时刻以及上一时刻的消息发送速度指数之差获得。Further, the message sending acceleration index is obtained according to the difference between the message sending speed index at the current moment and the previous moment.
由上述技术方案可见,本发明的这种多媒体消息系统中MM4接口消息的发送方法将MM4接口消息按照接收地址分类保存,并为每个目的MMSC分配若干SMTP连接,将发往某个目的MMSC的MM4接口消息派发到为该目的MMSC分配的SMTP连接上发送,从而保证每个SMTP连接在接收到新的发送任务时不必断开重连。该方法有效地提高了用于发送MM4接口消息的SMTP连接的利用率,克服了SMTP连接频繁在不同目的MMSC之间来回切换的问题。Visible by above-mentioned technical scheme, the sending method of MM4 interface message in this multimedia message system of the present invention saves MM4 interface message according to receiving address classification, and distributes several SMTP connections for each purpose MMSC, will send to certain purpose MMSC The MM4 interface message is dispatched to the SMTP connection allocated for the destination MMSC, so as to ensure that each SMTP connection does not need to be disconnected and reconnected when receiving a new sending task. The method effectively improves the utilization rate of the SMTP connection used for sending MM4 interface messages, and overcomes the problem that the SMTP connection frequently switches back and forth between different destination MMSCs.
另一方面,本发明根据MM4接口消息参数动态地调整每个目的MMSC分配到的SMTP连接,将每个目的MMSC分配到的SMTP连接数目控制在合理范围内,保证所有MM4接口消息在最短时间内发送完毕,且不会出现因某个目的MMSC对MM4接口消息的接收异常而导致MM4接口陷入瘫痪的情况。实际测试表明,该方法对MM4接口消息的发送效率较之现有技术平均提高20%到25%。On the other hand, the present invention dynamically adjusts the SMTP connections assigned to each destination MMSC according to the MM4 interface message parameters, controls the number of SMTP connections assigned to each destination MMSC within a reasonable range, and ensures that all MM4 interface messages are sent within the shortest possible time. The transmission is completed, and the MM4 interface will not be paralyzed due to an abnormal reception of the MM4 interface message by a certain destination MMSC. Actual tests show that the method improves the sending efficiency of MM4 interface messages by an average of 20% to 25% compared with the prior art.
附图说明 Description of drawings
图1为现有技术中多媒体消息系统的组成结构;Fig. 1 is the composition structure of the multimedia messaging system in the prior art;
图2为现有技术中多个MMSC互连的多媒体消息系统组成结构图;Fig. 2 is the composition structural diagram of the multimedia messaging system of a plurality of MMSC interconnection in the prior art;
图3为现有技术中发送MM4接口消息的流程图;Fig. 3 is the flowchart of sending MM4 interface message in the prior art;
图4为本发明一个较佳实施例中发送MM4接口消息的流程图。Fig. 4 is a flowchart of sending MM4 interface messages in a preferred embodiment of the present invention.
具体实施方式 Detailed ways
为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图并举实施例,对本发明进一步详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.
图4显示的是本发明一个较佳实施例中源MMSC发送MM4接口消息的流程图。本实施例中,源MMSC中的MMS Relay模块为每个目的MMSC设置消息池,并为每个目的MMSC分配一定数目的SMTP连接,将MM4接口SMTP连接池划分为对应不同目的MMSC的若干个子连接池,每个子连接池管理分配到的所有SMTP连接。所述SMTP连接均已在其所属目的MMSC与源MMSC之间建立连接。Fig. 4 shows a flow chart of the source MMSC sending MM4 interface messages in a preferred embodiment of the present invention. In this embodiment, the MMS Relay module in the source MMSC sets a message pool for each purpose MMSC, and allocates a certain number of SMTP connections for each purpose MMSC, and divides the MM4 interface SMTP connection pool into several sub-connections corresponding to different purpose MMSCs Pool, each sub-pool manages all SMTP connections assigned to it. All the SMTP connections have been established between the destination MMSC and the source MMSC.
步骤401、源MMSC产生MM4接口消息时,MMS Relay模块将所产生的MM4接口消息保存在待发消息池中,然后将待发消息池中的MM4接口消息根据目的MMSC地址放置在对应的MMSC消息池中等待发送。
比如:源MMSC产生发送到目的MMSCi的MM4接口消息,i为从1到N的整数,则源MMSC预先设置N个MMSC消息池,分别存放发送到对应目的MMSC的MM4接口消息。For example: the source MMSC generates MM4 interface messages sent to the destination MMSC i , where i is an integer from 1 to N, then the source MMSC presets N MMSC message pools to store the MM4 interface messages sent to the corresponding destination MMSC respectively.
步骤402、MMSC消息池接收到MM4接口消息后,将MM4接口消息派发到对应的子连接池,子连接池利用自身管理的SMTP连接发送MM4接口消息。Step 402: After receiving the MM4 interface message, the MMSC message pool distributes the MM4 interface message to the corresponding sub-connection pool, and the sub-connection pool uses the SMTP connection managed by itself to send the MM4 interface message.
上述消息发送过程中,每个子连接池分配到的SMTP连接数目根据其对应MMSC消息池中的MM4接口消息参数动态调整。较佳地,上述调整过程采用定时调整的方式,每经过一段时间就对某个子连接池分配的SMTP连接数目进行调整,所述定时时间可任意设定,当其设为0时相当于实时调整;还可以根据管理员发出的指令或网络上其它设备的远程指令对子连接池分配的SMTP连接数目进行调整。该MMSC消息池中的MM4接口消息参数包括:MM4接口消息个数、消息长度、消息增减指数、消息发送速度指数、消息发送加速度指数等。During the above message sending process, the number of SMTP connections allocated to each sub-connection pool is dynamically adjusted according to the MM4 interface message parameters in its corresponding MMSC message pool. Preferably, the above-mentioned adjustment process adopts a timing adjustment method, and the number of SMTP connections allocated by a certain sub-connection pool is adjusted every time a period of time passes. The timing time can be set arbitrarily, and when it is set to 0, it is equivalent to real-time adjustment ; You can also adjust the number of SMTP connections allocated by the sub-connection pool according to the instructions issued by the administrator or the remote instructions of other devices on the network. The MM4 interface message parameters in the MMSC message pool include: number of MM4 interface messages, message length, message increase/decrease index, message sending speed index, message sending acceleration index, and the like.
假设:在某时刻,某目的MMSCi消息池中的消息个数为Ni,待发消息池中的消息个数为Nsum,该MMSCi消息池中的消息长度为Si,待发消息池中的消息长度为Ssum,则该MMSCi连接池该时刻分配到的连接数LKNi与源MMSC的总连接数LKNsum的关系如公式(1)所示:Assumption: at a certain moment, the number of messages in a certain destination MMSC i message pool is N i , the number of messages in the message pool to be sent is N sum , the length of messages in the MMSC i message pool is S i , and the number of messages to be sent is S i . The message length in the pool is S sum , then the relationship between the number of connections LKN i allocated to the MMSC i connection pool at this moment and the total number of connections LKN sum of the source MMSC is shown in formula (1):
LKNi/LKNsum=μN*Ni/Nsum+μs*Si/Ssum (1)LKN i /LKN sum = μ N *N i /N sum + μ s *S i /S sum (1)
其中μN为消息个数的权重,μs为消息长度的权重,且μN+μs=1。例如可以设置μN=0.6,μs=0.4。所述消息长度Si是指MMSCi消息池中所有消息的总长度;Ssum是指待发消息池中所有消息的总长度。Where μ N is the weight of the number of messages, μ s is the weight of the message length, and μ N + μ s =1. For example, μ N =0.6, μ s =0.4 can be set. The message length S i refers to the total length of all messages in the MMSC i message pool; S sum refers to the total length of all messages in the message pool to be sent.
从公式(1)看出,在其它参数不变的情况下,当MMSCi消息池中的消息个数Ni增加时,MMSCi连接池分配到的连接数LKNi也随之增加。It can be seen from formula (1) that when other parameters remain unchanged, when the number N i of messages in the MMSC i message pool increases, the number of connections LKN i allocated to the MMSC i connection pool increases accordingly.
对于消息增减指数Δi,假设上一时刻的消息个数为Nj,本时刻的消息个数为Ni,则上一时刻到本时刻这一时段内增减的消息个数为NIi=Ni-Nj,如果本时刻待发送的消息个数比上一时刻多,NIi为正值,如果本时刻待发送的消息个数比上一时刻少,NIi为负值;增减的消息长度为SIi,MMSCi消息池的消息增减指数Δi由公式(2)获得:For the message increase/decrease index Δ i , assuming that the number of messages at the previous moment is N j and the number of messages at this moment is N i , then the number of messages that have increased or decreased from the previous moment to this moment is NI i =N i -N j , if the number of messages to be sent at this time is more than the previous time, NI i is a positive value, if the number of messages to be sent at this time is less than the previous time, NI i is a negative value; increase The reduced message length is SI i , and the message increase/decrease index Δi of the MMSC i message pool is obtained by formula (2):
Δi=μN*NIi/NIsum+μs*SIi/SIsum (2)Δ i = μ N *NI i /NI sum + μ s *SI i /SI sum (2)
其中SIsum=∑SIi,NIsum=∑NIi,Δi的取值范围为[0,1]。Wherein SI sum =∑SI i , NI sum =∑NI i , and the value range of Δ i is [0, 1].
对于消息发送速度指数Vi,将上一时刻到本时刻这一时段称为本时段,假设本时段内已发送的消息个数为NDi,已发送的消息长度为SDi,MMSCi消息池的消息发送速度指数Vi由公式(3)获得:For the message sending speed index V i , the period from the previous moment to the current moment is called the current period, assuming that the number of messages sent in this period is ND i , the length of the sent messages is SD i , and the message pool of MMSC i The message sending speed index V i is obtained by the formula (3):
Vi=μN*NDi/NDsum+μs*SDi/SDsum (3)V i = μ N *ND i /ND sum + μ s *SD i /SD sum (3)
其中SDsum=∑SDi,NDsum=∑NDi,Vi的取值范围为[0,1]。Where SD sum =∑SD i , ND sum =∑ND i , and the value range of V i is [0, 1].
故MMSCi连接池该时刻的连接数LKNi可以根据参数Δi和Vi分配,LKNi与源MMSC的总连接数LKNsum的关系如公式(4)所示:Therefore, the connection number LKN i of the MMSC i connection pool at this moment can be allocated according to the parameters Δ i and V i , and the relationship between LKN i and the total connection number LKN sum of the source MMSC is shown in formula (4):
LKNi/LKNsum=μN*Ni/Nsum+μs*Si/Ssum+μΔ*Δi-μv*Vi (4)LKN i /LKN sum =μ N *N i /N sum +μ s *S i /S sum +μ Δ *Δ i -μ v *V i (4)
其中μΔ为消息增减指数的权重,μv为消息发送速度指数的权重。通常情况下μΔ=μv。Among them, μ Δ is the weight of the message increase and decrease index, and μ v is the weight of the message sending speed index. Usually μ Δ = μ v .
对于消息发送加速度指数σai,将上上时刻到上一时刻这一时段称为上时段,假设本时段的消息发送速度指数为Vij,上时段的消息发送速度指数为Vij-1,ai=ΔVi=Vij-Vij-1表示本时段与上时段的速度差,asum=∑|ai|表示所有目的MMSC速度差的绝对值之和,MMSCi消息池的消息发送加速度指数σai由公式(5)获得,σai的取值范围为[0,1]。For the message sending acceleration index σ ai , the period from the last moment to the previous moment is called the last period, assuming that the message sending speed index in this period is V ij , and the message sending speed index in the previous period is V ij-1 , a i =ΔV i =V ij -V ij-1 indicates the speed difference between this period and the previous period, a sum =∑|a i | indicates the sum of the absolute values of the speed differences of all destination MMSCs, and the message sending acceleration of MMSC i message pool The index σ ai is obtained by formula (5), and the value range of σ ai is [0, 1].
σai=ai/asum (5)σ ai =a i /a sum (5)
故MMSCi连接池该时刻的连接数LKNi还可以根据参数σai分配,LKNi与源MMSC的总连接数LKNsum的关系如公式(6)所示:Therefore, the connection number LKN i of the MMSC i connection pool at this moment can also be allocated according to the parameter σ ai , and the relationship between LKN i and the total connection number LKN sum of the source MMSC is shown in formula (6):
LKNi/LKNsum=μN*Ni/Nsum+μs*Si/Ssum+μΔ*Δi-μv*Vi+μσ*σai (6)LKN i /LKN sum =μ N *N i /N sum +μ s *S i /S sum +μ Δ *Δ i -μ v *V i +μ σ *σ ai (6)
其中μσ为消息发送加速度指数的权重。例如设置μΔ=0.3、μv=0.3、μσ=0.2。Among them, μ σ is the weight of the message sending acceleration index. For example, μ Δ =0.3, μ v =0.3, μ σ =0.2 are set.
从公式(6)看出,在其它参数不变的情况下,当消息增减指数Δi增加时,MMSCi连接池分配到的连接数LKNi也随之增加。It can be seen from formula (6) that when other parameters remain unchanged, when the message increase/decrease index Δi increases, the number of connections LKN i allocated by the MMSC i connection pool also increases accordingly.
在其它参数不变的情况下,当消息发送速度指数Vi减小时,MMSCi连接池分配到的连接数LKNi也随之减少。MMSCi连接池的消息发送速度指数Vi减小,说明该目的MMSCi可能存在异常,故减少MMSCi连接池的连接数,将有限的SMTP连接资源分配给其它目的MMSC使用,最大限度地避免由于链路堵塞造成的资源浪费。Under the condition that other parameters remain unchanged, when the message sending speed index V i decreases, the number of connections LKN i allocated by the MMSC i connection pool also decreases accordingly. The message sending speed index V i of the MMSC i connection pool decreases, indicating that the destination MMSC i may be abnormal, so reduce the number of connections in the MMSC i connection pool, and allocate limited SMTP connection resources to other destination MMSCs to avoid Resource waste due to link congestion.
由上述的实施例可见,本发明的这种多媒体消息系统中MM4接口消息的发送方法为每个目的MMSC设置特定数目的SMTP连接,将发往对应目的MMSC的MM4接口消息送至特定SMTP连接发送,克服了SMTP连接频繁地在不同目的MMSC之间来回切换的问题,且该方法动态调整每个目的MMSC分配到的SMTP连接数目,使资源得到最优利用。As can be seen from the foregoing embodiments, the method for sending MM4 interface messages in this multimedia message system of the present invention sets a specific number of SMTP connections for each purpose MMSC, and sends MM4 interface messages to the corresponding purpose MMSC to a specific SMTP connection for sending The method overcomes the problem that SMTP connections are frequently switched back and forth between different destination MMSCs, and the method dynamically adjusts the number of SMTP connections assigned to each destination MMSC, so that resources can be optimally utilized.
Claims (10)
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100711907A CN100499597C (en) | 2005-05-20 | 2005-05-20 | Method for transmitting MM4 interface message in multimedia message system |
| BRPI0606440-0A BRPI0606440A2 (en) | 2005-05-20 | 2006-05-19 | method for transmitting mm4 interface message in multimedia messaging |
| PCT/CN2006/001046 WO2006122510A1 (en) | 2005-05-20 | 2006-05-19 | Method for transmitting mm4 interface message in multimedia message system |
| RU2007120524/09A RU2359428C2 (en) | 2005-05-20 | 2006-05-19 | Method for transfer of mm4 interface messages in system of multimedia messages |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2005100711907A CN100499597C (en) | 2005-05-20 | 2005-05-20 | Method for transmitting MM4 interface message in multimedia message system |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA2007101814810A Division CN101184268A (en) | 2005-05-20 | 2005-05-20 | Method for sending MM4 interface message in multimedia message system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1866933A CN1866933A (en) | 2006-11-22 |
| CN100499597C true CN100499597C (en) | 2009-06-10 |
Family
ID=37425818
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2005100711907A Expired - Fee Related CN100499597C (en) | 2005-05-20 | 2005-05-20 | Method for transmitting MM4 interface message in multimedia message system |
Country Status (4)
| Country | Link |
|---|---|
| CN (1) | CN100499597C (en) |
| BR (1) | BRPI0606440A2 (en) |
| RU (1) | RU2359428C2 (en) |
| WO (1) | WO2006122510A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100502572C (en) | 2006-11-30 | 2009-06-17 | 华为技术有限公司 | Method and system of increasing system capacity of multimedia message service |
| CN101990256A (en) * | 2010-08-27 | 2011-03-23 | 中兴通讯股份有限公司 | Long-connection management device and method for managing link resources of long-connection communication |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1482829A (en) * | 2003-07-10 | 2004-03-17 | 蔡学军 | Mobile digital mail system |
| EP1450526A1 (en) * | 2003-02-24 | 2004-08-25 | Swisscom Mobile AG | Method and device for the transfer of multimedia messages |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1137235A1 (en) * | 2000-03-24 | 2001-09-26 | BRITISH TELECOMMUNICATIONS public limited company | Processing network communication control messages |
| FI115744B (en) * | 2001-02-08 | 2005-06-30 | Nokia Corp | communication Service |
-
2005
- 2005-05-20 CN CNB2005100711907A patent/CN100499597C/en not_active Expired - Fee Related
-
2006
- 2006-05-19 RU RU2007120524/09A patent/RU2359428C2/en active
- 2006-05-19 BR BRPI0606440-0A patent/BRPI0606440A2/en not_active Application Discontinuation
- 2006-05-19 WO PCT/CN2006/001046 patent/WO2006122510A1/en not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1450526A1 (en) * | 2003-02-24 | 2004-08-25 | Swisscom Mobile AG | Method and device for the transfer of multimedia messages |
| CN1482829A (en) * | 2003-07-10 | 2004-03-17 | 蔡学军 | Mobile digital mail system |
Also Published As
| Publication number | Publication date |
|---|---|
| BRPI0606440A2 (en) | 2009-06-30 |
| WO2006122510A1 (en) | 2006-11-23 |
| CN1866933A (en) | 2006-11-22 |
| RU2007120524A (en) | 2008-12-10 |
| RU2359428C2 (en) | 2009-06-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7313132B2 (en) | Communication scheme with operations to supplement limitations of portable terminal device | |
| US7127489B2 (en) | Messaging service | |
| EP1133205B1 (en) | Hardware configuration, support node and method for implementing general packet radio services over GSM | |
| US8004969B2 (en) | Cell level congestion policy management | |
| EP1026853A1 (en) | Charging method for information communication network | |
| CN1407820A (en) | Interactive operational system between MMS message and SMS/EMS message, and concerned exchange method thereof | |
| JP4034187B2 (en) | Optimize voice over IP priority and bandwidth requirements | |
| CN1575612A (en) | Communication device, transcoder device and method for processing frames related to multiple wireless protocols | |
| CN1856968B (en) | System and method for consistent forwarding of packets across wireless and wireless networks | |
| CN101116067A (en) | Systems and methods for providing agents in a short message service (SMS) environment | |
| US8412846B2 (en) | Wireless network system for efficiently delivering multimedia messages | |
| CN107395572A (en) | A kind of data processing method and things-internet gateway | |
| CN108574965B (en) | Method and equipment for processing request | |
| US7477901B2 (en) | Method and apparatus for minimizing setup time for a mobile station | |
| US20040218587A1 (en) | Private EV-DO system sharing public network data location register and data service method | |
| KR20010031495A (en) | Bandwidth provision in a communication system | |
| CN1889536A (en) | Processing method for limiting multimedia information center retransmitting times of multimedia information | |
| CN1283047C (en) | Method for relay-transmitting messages | |
| CN100365978C (en) | Method and device for realizing classified services for service providers | |
| WO2002091787A1 (en) | Reception notification control method and system | |
| CN100499597C (en) | Method for transmitting MM4 interface message in multimedia message system | |
| EP1760974B1 (en) | A method, system and terminal for implementing information transfer services | |
| CN101184268A (en) | Method for sending MM4 interface message in multimedia message system | |
| CN101483834B (en) | Method and system for multimedia message communication using short number | |
| CN1308436A (en) | Relay service control characteristic to assess mobile user to 3G radio network service |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 1093826 Country of ref document: HK |
|
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1093826 Country of ref document: HK |
|
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090610 |