技术领域 Technical field
本发明涉及多媒体消息业务(MMS ), 特别是涉及一种增值业务请 求的处理方法。 发明背景 The present invention relates to Multimedia Messaging Service (MMS), and more particularly to a method of processing a value added service request. Background of the invention
目前的多媒体消息业务系统可以通过多媒体消息业务为用户提供多 种增值业务。 这些增值业务可以由增值业务提供商(VASP )提供, 从而 实现用户终端与互联网之间的多媒体信息传送。 多媒体消息业务中心 ( MMSC )是整个多媒体消息业务系统的核心 , 负责对多媒体消息进行 存储和处理。 MMSC与 VASP之间的接口在 3GPP标准中被定义为 MM7 接口, 并基于 IP实现。 任何服务提供商(SP )只要支持 MM7接口, 均 可接入到 MMSC, 从而成为多媒体消息业务的一个增直业务提供商, 为 终端用户提供增值业务, 例如信息资讯、 游戏漫画、 耳印天社区等。 The current multimedia messaging service system can provide users with a variety of value-added services through multimedia messaging services. These value-added services can be provided by a value-added service provider (VASP) to enable multimedia information transfer between the user terminal and the Internet. The Multimedia Message Service Center (MMSC) is the core of the entire multimedia messaging service system and is responsible for storing and processing multimedia messages. The interface between MMSC and VASP is defined as the MM7 interface in the 3GPP standard and is implemented based on IP. Any service provider (SP) can access the MMSC as long as it supports the MM7 interface, thus becoming a straightening service provider for multimedia messaging services, providing value-added services for end users, such as information, game comics, and earprints. Wait.
其中, 用户与 VASP之间的多媒体信息交互包含这样一种应用: 外 咅 实体主动发送多媒体消息到 VASP。 这些外部实体可能是 MMS终端、 。 卜部应用程序或者其他外部多媒体业务系统。 无论是郡种外部实体, 这 些外部实体与 VASP之间的消息交互都要经过 MMSC进行处理,并且对 于 MMSC 来说处理机制是一样的。 因此, 为描述方便, 以下均以外部 实体为 MMS终端为例, 说明外部实体主动发送多媒体消息到 VASP的 过程。 The multimedia information interaction between the user and the VASP includes such an application: The external entity actively sends a multimedia message to the VASP. These external entities may be MMS terminals, . Bud application or other external multimedia business system. Regardless of the external entity of the county, the message interaction between these external entities and the VASP is handled by the MMSC, and the processing mechanism is the same for the MMSC. Therefore, for the convenience of description, the following takes the external entity as the MMS terminal as an example to illustrate the process of the external entity actively sending multimedia messages to the VASP.
如图 1所示, MMS终端发送多媒体消息到 VASP钓过程包括以下步 骤: As shown in FIG. 1, the MMS terminal sends a multimedia message to the VASP fishing process including the following steps:
步驟 101、 MMS终端发送提交消息( MM1— submit.REQ )到 MMSC,
提交消息中包含接收方 VASP的接入号码。 Step 101: The MMS terminal sends a submit message (MM1_submit.REQ) to the MMSC. The submission message contains the access number of the recipient VASP.
步骤 102、 MMSC收到 MM1— submit.REQ消息后, 对其中包含的接 收方 VASP的接入号码进行检证。 Step 102: After receiving the MM1_submit.REQ message, the MMSC verifies the access number of the receiving party VASP included in the MMSC.
步驟 103 、 MMSC 向 MMS 终端返回提交消 息响应 ( MM1— submit.RES ) , 如果 VASP 接入号码验证成功 , 则 MM1— submitRES消息中包含已成功接收并将处理该提交消息的信息; 否则 MMl— submitRES消息中包含猎误信息。 Step 103: The MMSC returns a submit message response (MM1_submit.RES) to the MMS terminal. If the VASP access number is successfully verified, the MM1_submissionRES message includes information that has been successfully received and will process the submitted message; otherwise, MMl_submitRES The message contains hunting error information.
步骤 104、 MMSC向 VASP发送传送请求消息( MM7_Deliver.REQ ), MM7_Deliver.REQ消息中包含多媒体消息。 实际应用中, 一般由 VASP 中的增值业务处理模块来接收并处理 MM7— Deliver.REQ消息。 Step 104: The MMSC sends a transmission request message (MM7_Deliver.REQ) to the VASP, where the MM7_Deliver.REQ message includes a multimedia message. In practical applications, the MM7-Deliver.REQ message is generally received and processed by the value-added service processing module in the VASP.
步骤 105、 VASP收到 MM7— Deliver.REQ消息后, 向 MMSC返回传 送请求消息响应 ( MM7— Deliver.RES )。 Step 105: After receiving the MM7-deliver.REQ message, the VASP returns a transmission request message response (MM7-Deliver.RES) to the MMSC.
上述方案中, MMSC收到 MMS终端发送来的 MMl— submit.REQ消 息后, 根据接入号码查找接收消息的上行 U L地址, 然后根据查找到 的上行 URL地址将 MM7— Deliver.REQ消息转发出去。 比如, MMSC中 包含预先建立好的 VASP接入号码貧缀与上行 URL地址的对应关系表, MMSC可以根据 MMl—submitREQ 消息中的接入号码前綴, 查找接入 号码前缀与上行 URL地址的对应关系表, 得到接收消息的上行 URL地 址, 即与当前交互的增值业务对应 ^ /接口地址, 然后在 MMSC 发送 MM7_Deliver.REQ消息到 VASP时, 指定将该 MM7— Deliver.REQ消息 发送到所查询到的接口地址去。 VASP的接收接口收到 MMSC转发来的 MM7— Deliver.REQ消息后, 直接对其中的多媒体消息进行处理。 In the above solution, after receiving the MMl-submit.REQ message sent by the MMS terminal, the MMSC searches for the uplink U L address of the received message according to the access number, and then forwards the MM7-Deliver.REQ message according to the found uplink URL address. For example, the MMSC includes a correspondence table between the pre-established VASP access number suffix and the uplink URL address, and the MMSC can search for the correspondence between the access number prefix and the uplink URL address according to the access number prefix in the MM1-submitREQ message. The table obtains the uplink URL address of the received message, that is, the corresponding value/interface address corresponding to the currently interacting value-added service, and then sends the MM7_Deliver.REQ message to the queried when the MMSC sends the MM7_Deliver.REQ message to the VASP. The interface address goes. After receiving the MM7-Deliver.REQ message forwarded by the MMSC, the receiving interface of the VASP directly processes the multimedia message.
由于现有技术中的 VASP用不同的接口地址区分不同的业务, 因此 需要建立较多的接收接口, 不同的接收接口接收并处理不同的增值业 务, 导致程序开发起来不够方便, 并增加了 VASP的处理复杂度。 另夕卜,
由于每个接收接口利用各自对应的增值业务处理模块处理接收到的多 媒体消息, 而许多增值业务处理模块的程序可以是相同的, 因此导致处 理程序设计重复, 且造成资源浪费。 而当 VASP仅建立了一个接收接口 时, 如果 VASP运作多个增值业务, VASP就不能判断各个传送请求消 息与哪个增值业务相关, 因此, 需要 VASP增加另外的机制来解析多媒 体消息, 以找到相应的增值业务。 发明内容 Because the VASP in the prior art distinguishes different services by using different interface addresses, it is necessary to establish more receiving interfaces, and different receiving interfaces receive and process different value-added services, which leads to inconvenient program development and increases VASP. Handling complexity. In addition, Since each receiving interface processes the received multimedia message by using the corresponding value-added service processing module, the programs of the plurality of value-added service processing modules may be the same, thereby causing the design of the processing program to be repeated and causing waste of resources. When VASP only establishes a receiving interface, if VASP operates multiple value-added services, VASP cannot judge which value-added service each transmitting request message is related to. Therefore, VASP needs to add another mechanism to parse the multimedia message to find the corresponding Value-added services. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种简单有效的增值业务请 求的处理方法, 能够使 VASP运怍多个增值业务, 而无需建立多个接收 接口。 In view of this, the main object of the present invention is to provide a simple and effective processing method for value-added service requests, which enables VASP to operate multiple value-added services without establishing multiple receiving interfaces.
为达到上述目的, 本发明的拔术方案是这样实现的: In order to achieve the above object, the extraction protocol of the present invention is implemented as follows:
本发明公开了一种增值业务清求的处理方法, 该方法适用于至少包 含 MMSC和 VASP的多媒体消息业务系统, 该方法包括以下步骤: The invention discloses a processing method for value-added service clearing, which is applicable to a multimedia message service system including at least MMSC and VASP, and the method comprises the following steps:
A. MMSC接收外部实体发送给 VASP的多媒体消息,根据多媒体消 息中的标识号码获取多媒体消息所对应的增值业务标识信息, 生成包含 有多媒体消息和增值业务标识信息的多媒体消息传送请求, 发送给 VASP; A. The MMSC receives the multimedia message sent by the external entity to the VASP, obtains the value-added service identification information corresponding to the multimedia message according to the identification number in the multimedia message, generates a multimedia message transmission request including the multimedia message and the value-added service identification information, and sends the message to the VASP. ;
B. VASP收到多媒体消息传送请求后, 根据多媒体消息传送请求中 的增值业务标识信息, 将该传送请求中的多媒体消息发给该增值业务标 识信息对应的增值业务处理模块。 After receiving the multimedia message transmission request, the VASP sends the multimedia message in the transmission request to the value-added service processing module corresponding to the value-added service identification information according to the value-added service identification information in the multimedia message transmission request.
步骤 A中, 所述获取多媒体肖息所对应的增值业务标识信息的方法 可以为: MMSC根据标识号码中的指定号码段, 查找包含有标识号码中 的指定号码段与增值业务标识信息之间对应关系的 VASP注册信息表, 查找到与标识号码中的指定号码段对应的增值业务标识信息。
或者, 步驟 A中, 所述获取多媒体消息所对应的增值业务标识信息 的方法还可以为: MMSC解析标识号码中的指定号码段, 将该标识号码 中的指定号码段作为增值业务标-识信息。 所述标识号码中的指定号码段 可以为标识号码的前缀、 或中间 殳、 或结尾段。 In the step A, the method for obtaining the value-added service identification information corresponding to the multimedia information may be: the MMSC searches for the corresponding number segment in the identification number and the value-added service identification information according to the specified number segment in the identification number. The VASP registration information table of the relationship finds the value-added service identification information corresponding to the specified number segment in the identification number. Or, in the step A, the method for obtaining the value-added service identification information corresponding to the multimedia message may be: the MMSC parses the specified number segment in the identification number, and uses the specified number segment in the identification number as the value-added service target-identification information. . The specified number segment in the identification number may be a prefix of the identification number, or an intermediate 殳, or an ending segment.
上述方案中, 步據 B包括: VASP读取多媒体消息传送请求中的增值 业务标识信息, 根据增值业务标_识信息确定增值业务, 根据确定的增值 业务确定处理当前多媒体消息的 3曾值业务处理模块, 并将多媒体消息发 给所确定的增值业务处理模块。 In the above solution, the step B includes: the VASP reads the value-added service identification information in the multimedia message transmission request, determines the value-added service according to the value-added service tag information, and determines the 3 value-valued service process for processing the current multimedia message according to the determined value-added service. The module sends the multimedia message to the determined value-added service processing module.
所述增值业务标识信息可以为增值业务代码 ( VASID )。 The value-added service identification information may be a value-added service code (VASID).
另外, 所述增值业务标识信志可以进一步包含增值业务提供商代码 ( VASPID ); 步骤 B中, 所述将该多媒体消息发给增值业务处理模块包 括: 验证多媒体消息传送请求中的 VASPID, 如果验证成功, 则将该多 媒体消息发给 VASID对应的增值业务处理模块; 否则结束流程。 In addition, the value-added service identifier may further include a value-added service provider code (VASPID). In step B, the sending the multimedia message to the value-added service processing module includes: verifying the VASPID in the multimedia message transmission request, if the verification If successful, the multimedia message is sent to the value-added service processing module corresponding to the VASID; otherwise, the process ends.
上述方案中, 步骤 A所述获取多媒体消息所对应的增值业务标识信 息之前可以进一步包括: 验证标,识号码, 判断验证是否成功, 如果验证 成功, 则向外部实体返回成功信志, 继续; 否则, 向外部实体返回失败 信息, 结束流程。 所述标识号码可以为 VASP的接入号码。 In the foregoing solution, before the obtaining the value-added service identifier information corresponding to the multimedia message, the method further includes: verifying the label, identifying the number, and determining whether the verification is successful. If the verification is successful, returning the success message to the external entity, and continuing; otherwise , return the failure information to the external entity, and end the process. The identification number may be an access number of the VASP.
本发明所提供的这种实现 VASP进行增值业务交互的方法可以通过 传送请求中的增值业务标识信息 , 直接得知外部实体与哪个 VASP的哪 个增值业务进行交互, 从而避免 VASP为不同的增值业务设置不同的接 收接口, 降低程序设计复杂度, 节省系统资源; 并且, 也减少了 VSAP 为识别增值业务而增加新的机制, 也就是说, VASP无需增加另外的复 杂机制来解析多媒体消息, 比如通过解析消息中具体的消息内容来识别 增值业务的复杂机制,因此也可 加快 VASP和 MMSC之间的信息交互。
附图简要说明 The method for implementing the value-added service interaction of the VASP provided by the present invention can directly learn which VAS value-added service interacts with the external entity by transmitting the value-added service identification information in the request, thereby preventing the VASP from setting different value-added services. Different receiving interfaces reduce program design complexity and save system resources; and also reduce the VSAP to add new mechanisms for identifying value-added services. That is, VASP does not need to add another complex mechanism to parse multimedia messages, such as through parsing. The specific message content in the message identifies the complex mechanism of the value-added service, thus also speeding up the information interaction between the VASP and the MMSC. BRIEF DESCRIPTION OF THE DRAWINGS
图 1为 MMS终端发逸多媒体消息到 VASP的过程示意图; 图 2为本发明一实施 1^增值业务请求的处理方法实现流程图。 实施本发明的方式 1 is a schematic diagram of a process in which an MMS terminal sends a multimedia message to a VASP; FIG. 2 is a flowchart of a method for processing a value-added service request according to an embodiment of the present invention. Mode for carrying out the invention
下面结合附图及具体实施例对本发明再作进一步详细的说明。 The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
本发明主要思路是利用传送请求消息中所扩展的增值业务提供商代 码和增值业务代码的字段, 确定当前多媒体消息与哪个增值业务进行交 互, 然后将该多媒体消息交给对应的增值业务处理模块进行处理。 The main idea of the present invention is to determine which value-added service the current multimedia message interacts with by using the field of the value-added service provider code and the value-added service code extended in the request message, and then handing the multimedia message to the corresponding value-added service processing module. deal with.
如图 2所示, 本发明一实施例增值业务请求的处理方法包括以下歩 骤: As shown in FIG. 2, a method for processing a value-added service request according to an embodiment of the present invention includes the following steps:
步骤 201、 MMS终端发送提交消息( MMl— submit.REQ )到 MMSC , 提交消息中包含接收方 VASP的接入号码。 Step 201: The MMS terminal sends a submit message (MM1_submit.REQ) to the MMSC, where the submit message includes the access number of the recipient VASP.
步骤 202 ~ 203、 MMSC收到 MMl— submit.REQ消息后, 验证接》1殳 方 VASP 的接入号码, 并向 MMS 终端返回提交消息响应 ( MMl— submit.RES ), 如果验证成功, 则 MM 1— submit.RES消息中包舍 已成功接收并将处理该提交消息的信息, 继续执行步骤 204 ; 否 MM 1— submit.RES消息中包含错误信息, 结束流程。 Steps 202 ~ 203, after receiving the MMl-submit.REQ message, the MMSC verifies the access number of the VASP, and returns a submit message response (MMl_submit.RES) to the MMS terminal. If the verification succeeds, the MM 1 - The submit.RES message has successfully received and will process the information of the submitted message, and proceeds to step 204; No MM 1 - submit. RES message contains error information, and the process ends.
上述步骤 201、 202和 203与现有技术中步骤 101 ~ 103的处理过禾呈 是一样的。 The above steps 201, 202 and 203 are the same as those of the prior art steps 101 to 103.
步骤 204、 进行增值业务匹配, 生成包含增值业务标识信息的传送 请求( MM7-deliver.REQ ) 消息。 Step 204: Perform value-added service matching, and generate a transmission request (MM7-deliver.REQ) message including value-added service identification information.
其中, 步骤 204具体可以包括: MMSC根据接入号码查找接收消^ 的上行 U L地址, 同时查找标识当前交互的增值业务的信息, 称为 ¾ 值业务标识信息, 然后将查找到的增值业务标识信息添力
MM7-deliver.REQ 消,^中, 并才艮据查找到的上行 URL 地址 3夸该 MM7-deliver.REQ转发 iij去。 The step 204 may specifically include: the MMSC searches for the received uplink UL address according to the access number, and searches for the information identifying the currently value-added service, which is called the 3⁄4 value service identification information, and then the found value-added service identifier information. Add force MM7-deliver.REQ eliminates, ^, and then according to the found upstream URL address 3 boast the MM7-deliver.REQ forward iij go.
本实施例中, 增值 务标识信息可以为该增值业务对应的增值 务 代码 (VASID ) , 也可以为该增值业务对应的增值业务提供商 码 ( VASPID )和 VASID两个参数, 或者也可以根据实际的运营商规 用 其他参数作为增值业务标识信息。 In this embodiment, the value-added service identifier information may be a value-added service code (VASID) corresponding to the value-added service, or may be a value-added service provider code (VASPID) and a VASID corresponding to the value-added service, or may be based on actual conditions. The operator uses other parameters as value-added service identification information.
下面以 VASPID和 VASID作为增值业务标识信息进行说明。 如, 可以设置 MMS终端提交的 MMl— submit.REQ消息中的接入号码前缀就 是实际的接收方 VASP 的 VASPID 和 VASID, 则 MMSC 可以 解 MMl_submit.REQ 消 , 中的接入号码前缀, 直接得到接收方 VASP 的 VASPID和 VASID, 然后添加到 MM7-deliver.REQ消息中。 比如接人号 码为" 888800100Γ ,其中接入号码前缀为 "888800Γ , "8888"与 VASPID 对应, "001" 与 VASID对应。 The following describes the VASPID and VASID as value-added service identification information. For example, the access number prefix in the MM1-submit.REQ message submitted by the MMS terminal may be the VASPID and VASID of the actual recipient VASP, and the MMSC may decrypt the access number prefix in the MMl_submit.REQ, directly receiving The VASPID and VASID of the VASP are then added to the MM7-deliver.REQ message. For example, the access number is "888800100Γ, where the access number prefix is "888800", "8888" corresponds to VASPID, and "001" corresponds to VASID.
或者, 也可以预先设置一个建立好的 VASP注册信息表, 包含有标 识号码中的指定号码段与增值业务标识信息之间对应关系 , 在这里 P为 MMl_submit.REQ 消息、中的接入号码前缀与各个注册的 VASP 的 VASPID 和 VASID 之间的对应关系。 这样, MMSC 可以先分解 MMl_submit.REQ 消息、中的接入号码前缀, 然后查找 MMSC 中 SP 注册信息表, 从而得到 VASP的 VASPID和 VASID, 即获得增值业务标 识信息。 其中, 上述的接入号码前缀一般是指接入号码开头的指定"^度 的号码段, 比如前面例子中的前七位。 Alternatively, an established VASP registration information table may be pre-set, including a correspondence between the specified number segment in the identification number and the value-added service identification information, where P is an MMl_submit.REQ message, an access number prefix in the The correspondence between the VASPID and VASID of each registered VASP. In this way, the MMSC can first decompose the access number prefix in the MMl_submit.REQ message, and then look up the SP registration information table in the MMSC to obtain the VASP ID and VASID of the VASP, that is, obtain the value-added service identification information. The access number prefix generally refers to a number segment of the specified "^ degree" at the beginning of the access number, such as the first seven digits in the previous example.
上述方案中采用 VASP接入号码前缀来区分业务类型, 实际中^ ^可 以采用其它指定号码段来代替, 比如接入号码中间段或结尾段, 或其它 指定号码段。 其中, 所述接入号码中间段可以是由指定起始位和终 J 位 限定长度的一段号码。
步骤 205、 将生成 々 MM7-deliver.REQ消息发送给该 VASP。 In the above solution, the VASP access number prefix is used to distinguish the service type. In practice, the ^^ can be replaced by other specified number segments, such as the middle or end segment of the access number, or other specified number segments. The intermediate segment of the access number may be a segment number limited by a specified start bit and a final J bit. Step 205: Send a generated 々MM7-deliver.REQ message to the VASP.
步骤 206、 VASP ^:到 MM7— Deliver.REQ消息后, 向 MMSC返回 送请求消息响应 ( MM7— Deliver.RES )。 Step 206, VASP ^: After the MM7-deliver.REQ message, return a request message response (MM7-Deliver.RES) to the MMSC.
上述步骤 205、 206与背景技术步骤 104、 105的处理过程是一样的。 步骤 207、 VASP读取 MM7— Deliver.REQ消息中的增值业务标识像 息, 根据该增值业务标识信息确定当前交互的增值业务对应的增值业 ^ 处理模块, 然后将 MN 7—Deliver.REQ 消息中的多媒体消息交给所确 t 的增值业务处理模块进行处理。 The above steps 205, 206 are the same as those of the background art steps 104, 105. Step 207: The VASP reads the value-added service identifier information in the MM7-Deliver.REQ message, and determines the value-added service processing module corresponding to the current value-added service according to the value-added service identification information, and then sends the MN 7-Deliver.REQ message. The multimedia message is handed over to the value-added service processing module of the correct t for processing.
如前所述,如果采月该增值业务的 VASPID和 VASID作为增值业^ ~ 标识信息, 则本步骤中, VASP可以先验证 MM7-deliver.REQ消息中 VASPID与该 VASP 自身的 VASPID是否相同, 如果消息中 VASPID与 该 VASP的 VASPID相同,则验证成功;否则验证失败。如果上述 VASPID 验证结果为失败, 则^束流程; 如果脸证结果为成功, 则再根据消息 的 VASID确定 VASID对应的增值业务,然后通过分析 VASID里携带 编码,根据保存的增值业务处理模块与 VASID之间的对应关系,找到增 值业务对应的增值业务处理模块。如果仅用增值业务的 VASID作为增但 业务标识信息, 则直接根据增值业务处理模块与 VASID之间的对应:^ 系, 找到与 VASID对应的增值业务处理模块。 As described above, if the VASPID and VASID of the value-added service are used as the value-added service identification information, in this step, the VASP can first verify whether the VASPID in the MM7-deliver.REQ message is the same as the VASP ID of the VASP itself. If the VASPID in the message is the same as the VASPID of the VASP, the verification is successful; otherwise, the verification fails. If the VASPID verification result is a failure, the bundle process; if the face certificate result is successful, the VASID corresponding to the VASID is determined according to the VASID of the message, and then the VASID carries the code, and the saved value-added service processing module and the VASID are saved. The corresponding relationship between the two is to find a value-added service processing module corresponding to the value-added service. If only the VASID of the value-added service is used as the service identification information, the value-added service processing module corresponding to the VASID is found according to the correspondence between the value-added service processing module and the VASID.
上述实施例中采用接入号码来区分用户发送多媒体消息时所请求 ό 业务类型, 但在实际应用中, 可以采用其它标识号码来代替接入号码。 In the above embodiment, the access number is used to distinguish the type of service requested when the user sends the multimedia message, but in actual applications, other identification numbers may be used instead of the access number.
由上述方案可以肴出, 本发明提供的方法可以直接得知外部实体是 与哪个 VASP的哪个增值业务进行交互, 从而避免 VASP为不同的增懷 业务设置不同的接收接口 , 并且 VASP无需增加另外的复杂机制来解 多媒体消息, 因此也力口快了 VASP和 MMSC之间的信息交互。 The method provided by the present invention can directly know which VAS value-added service the external entity interacts with, so as to prevent the VASP from setting different receiving interfaces for different enhanced services, and the VASP does not need to add another Complex mechanisms to solve multimedia messages, and therefore also facilitate the information interaction between VASP and MMSC.
总之, 以上所迷仅为本发明的较佳实施例而已, 并不用以限制本
明, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进 等, 均应包含在本发明的保护范围之内。
In summary, the above is only the preferred embodiment of the present invention and is not intended to limit the present invention. It is to be understood that any modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.