WO2012022074A1 - User information query method and multimedia messaging service center - Google Patents

User information query method and multimedia messaging service center Download PDF

Info

Publication number
WO2012022074A1
WO2012022074A1 PCT/CN2010/078045 CN2010078045W WO2012022074A1 WO 2012022074 A1 WO2012022074 A1 WO 2012022074A1 CN 2010078045 W CN2010078045 W CN 2010078045W WO 2012022074 A1 WO2012022074 A1 WO 2012022074A1
Authority
WO
WIPO (PCT)
Prior art keywords
retry
query
message
module
user information
Prior art date
Application number
PCT/CN2010/078045
Other languages
French (fr)
Chinese (zh)
Inventor
张剑
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012022074A1 publication Critical patent/WO2012022074A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/23Reliability checks, e.g. acknowledgments or fault reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication

Definitions

  • the present invention relates to the field of communications, and in particular to a method for querying user information and a multimedia message center.
  • BACKGROUND A Multimedia Messaging Service is a messaging service capable of transferring multimedia content between a terminal (eg, a mobile phone) and a terminal, and between other applications such as a terminal and an email server.
  • the multimedia message will provide users with message content including various media formats such as images and sounds, so that operators can provide users with very rich and personalized information. Month. For example, you can send beautiful scenery with background music to your friends and relatives in the distance, and send elaborate e-cards.
  • the multimedia message center When the multimedia message is sent to the mobile phone user, the user information of the mobile phone is stored in the HLR server, and the multimedia message center needs to query the HLR server through the MM5 message interface to obtain the user information of the mobile phone, and determine the delivery mode of the multimedia message according to the user information, if the user mobile phone If the status is normal, the multimedia message center sends a normal multimedia message notification message to the mobile phone user.
  • the multimedia message center fails to query the HLR server through the MM5 message interface, the multimedia message center cannot deliver the multimedia message to be submitted, which results in a lower success rate of delivering the multimedia message and greatly reduces the user experience.
  • a primary object of the present invention is to provide a method for querying user information and a multimedia message center to solve at least one of the above problems.
  • a method of querying user information is provided.
  • the method for querying the user information according to the present invention is applied to the MMSC.
  • the MMSC includes: a service processing module and a retry module.
  • the method includes: when the user information query fails, the service processing module determines to initiate a query retry process, and The test module sends a query retry message of the user information; The test module sends the query retry message that meets the predetermined trigger condition in the received query retry message to the service processing module.
  • the service processing module re-initiates the process of querying the user information corresponding to the query retry message that meets the predetermined trigger condition.
  • a multimedia message center includes: a service processing module, configured to: when the user information query fails, determine to initiate a query retry process, send a query retry message of the user information to the retry module, and receive the query retry message. When the query retry message satisfying the predetermined trigger condition is met, the process of querying the user information corresponding to the query retry message is re-initiated.
  • the retry module is configured to determine a query retry message that satisfies a predetermined trigger condition, and send the query retry message to the service processing module. After the MMSC fails to query the user information, in the case that the retry query is determined, the process of re-initiating the user information corresponding to the retry message satisfying the predetermined trigger condition in the query retry message is re-initiated.
  • the problem that the success rate of the multimedia message sent by the MMSC in the related art is low is solved, and the success rate of the MMSC sending the multimedia message can be effectively improved, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for querying user information according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for querying user information according to a preferred embodiment of the present invention
  • FIG. 4 is a structural block diagram of a multimedia message center according to a preferred embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for querying user information according to an embodiment of the present invention. The method is applied to the MMSC, and the MMSC includes: a service processing module and a retry module, as shown in FIG.
  • the query method of the user information mainly includes the following processing: Step 4: S 102: When the user information query fails, the service processing module determines to initiate a query retry process, and sends a query retry message of the user information to the retry module; Step S104 The retry module sends the query retry message that meets the predetermined trigger condition in the received query retry message to the service processing module; Step S106: The service processing module re-initiates the query corresponding to the query retry message satisfying the predetermined trigger condition The flow of information.
  • the multimedia message center fails to query the HLR server through the MM5 message interface, the multimedia message center cannot deliver the multimedia message to be submitted.
  • the multimedia message center may include multiple functional modules: a service processing module, a proxy module, a retry module, and a service configuration module.
  • the message is analyzed by the service processing module of the multimedia multimedia message center. If the terminating user is a mobile terminal (for example, a mobile phone), an MM5 for the terminating user is initiated.
  • the query request message (ie, the user information query message) is sent to the proxy module.
  • the proxy module After receiving the query request, the proxy module firstly obtains the information of the HLR configured on the multimedia message service configuration module, obtains the network information of the HLR, and establishes a link to the HLR. If the link succeeds, the proxy module encodes the request message to The HLR initiates a ré 5 query request and waits for an HLR response. If the proxy module receives the query response from the HLR server, the proxy module decodes the response message and returns the query result to the service processing module. After the service processing module receives the MM5 query response, if the query is successful, the multimedia message submission process is continued. However, in one of the following cases, the user information query may fail.
  • the first case the proxy module of the MMSC fails to establish a link with the HLR that stores the user information; the second case: the HLR returns a response timeout; The third case: The HLR queries the user information incorrectly.
  • the service processing module determines that initiating the query retry process may include the following processing:
  • the service processing module receives a status code from the proxy module, where the status code is used to reflect the foregoing situation corresponding to the query failure;
  • the service processing module determines whether it is necessary to initiate a query retry process according to the status code.
  • the proxy module returns a status code that is queried by the service processing module, and each status code indicates an error condition, for example, a failure to establish a chain with the HLR server, and the HLR returns a response timeout.
  • the HLR queries multiple error types such as the terminal mobile phone number error. Each error has a specified error code. However, these error states do not need to be retried each. Here, you need to configure the status code that needs to be retried.
  • the RB 5 retry request is initiated when the service processing module receives the status code.
  • the proxy module In the first case above, that is, if the proxy module fails to establish a link with the HLR, the proxy module returns an error to the service processing module. If the service processing module receives the link failure response of the proxy module, the service processing module determines whether the situation is retried according to the configuration in the service configuration module of the MMSC. If the retry is required, the query is sent to the retry module. The test request retry module configuration information of the service configuration module to establish retry control information.
  • the proxy module If the proxy module successfully sends the MM5 query message, but if the response returned by the HLR is not received within the system setup time, the proxy module returns a failure response to the service processing module, and after receiving the response, the service processing module determines whether to perform heavy Try, if you need to retry, enter the retry process. If the proxy module receives the query response from the HLR, the proxy module decodes the response message and returns the query result to the service processing module. After receiving the MM5 query response, the service processing module continues the multimedia message submission process if the query is successful. If the query user information is incorrect, it is determined according to the status code whether it needs to be retried. If it needs to be retried, the retry process is entered.
  • the predetermined trigger condition in the step S104 above includes one of the following:
  • the retry request can be initiated by using two trigger modes.
  • the first trigger mode is: the MM5A l er t message initiated by the HLR (that is, the foregoing notification message) The message indicates that the user is in the active state.
  • the second trigger mode is: Retrying according to the retry policy configured in the service configuration module. For example, retry every five minutes, and when the scheduled time arrives, send a retry timing message to the service configuration module of the RIS SC to trigger the retry process.
  • the service processing module After receiving the foregoing notification message or retrying the timing message, the service processing module re-initiates the MM5 query, and notifies the multimedia message retry module to the query result. After receiving the retry message, the multimedia message service processing module re-initiates the MM5 query request. And follow the above steps to determine the subsequent process.
  • the retry module deletes the query retry message that satisfies the predetermined trigger condition in the query retry message.
  • the retry module is only triggered by one of the retry timing message of the notification message and the retry message queue. For example, if the retry module first receives the retry timing message, the retry module sends the retry message to the service processing module, and the message is deleted from the retry queue, so that the notification message is not received after receiving the notification message. Will be triggered repeatedly.
  • the foregoing method may further include the following process: the retry module determines whether the current number of retries reaches a maximum number of times configured in the service configuration module of the MMSC; if yes, ends the user information query.
  • the LSI fails to send the multimedia message.
  • the MMSC can be effectively prevented from continuously querying user information, thereby saving system resources.
  • FIG. 2 is a flow chart showing a method for querying user information according to a preferred embodiment of the present invention. The method for querying the foregoing user information is described below with reference to FIG. 2, which mainly includes the following steps: Step 1: Configure MM5 query failure retry information in the service configuration module, where the letter The information mainly includes:
  • Retry status code If the MM5 query fails, the agent module (MM5 Agent) will return the status code of the query to the service processing module (MMS Relay). Each status code indicates an error status, for example, the proxy module and The HLR fails to establish a link, the HLR returns a response timeout error, the HLR queries the terminal for a mobile phone number error, and so on. Each type of error has a specified status code, but not all of these error statuses need to be retried. Configure the status code that needs to be retried. When a status code is configured, the MMS Relay will initiate an MM5 retry request when it receives the status code.
  • MMS Relay When a status code is configured, the MMS Relay will initiate an MM5 retry request when it receives the status code.
  • (2) MM5 retry mechanism (policy;): This contains the number of retries and the time interval between each retries.
  • the number of retries indicates the total number of failed retries. If the number of retries is greater than the set value, the final retry fails.
  • the retry time indicates the time interval between retries. The retry time and number of times can be arbitrarily combined. For example, try again three times, each time you pay attention to the interval of five minutes, this only retry twice, the first retry is five minutes, and the second retry is ten minutes.
  • Step 2 The other MMS platform sends a multimedia message submission request to the MMS Relay, and the MMS Relay responds to the MMS platform reply MMS. After receiving the multimedia message, the MMS Relay finds that the terminating user is the mobile terminal and needs to query the HLR, and then initiates an MM5 query request and sends the message to the MM5 Agent module.
  • Step 4 After receiving the query message, the MM5 Agent first reads the network information of the HLR configured in the service configuration module, and establishes a communication link with the HLR server. If the link fails, the specified status code is returned, MMS Relay The module queries whether the status code needs to be retried in the configuration information of the service configuration module. If necessary, the retry message is sent to the retry module, and step S208 is performed. If not, the multimedia message fails to be delivered. If the link establishment is successful, step S210 is performed. Step 4: After receiving the retry message, the retry module first reads the retry mechanism configured in the service configuration module. If the retry mechanism is configured in the status code, the first configuration according to the retry mechanism is configured.
  • Step 5 When the MM5 Agent and the HLR are successfully established in step S206, the query message is encoded and sent to the HLR server.
  • Step 6 After receiving the query response from the HLR server within the specified time, the MM5 Agent returns a failure message and a specified status code to the MMS Relay. After receiving the response message, the MMS Relay queries the configuration information whether the status code needs to be retried.
  • Step 7 After receiving the response from the HLR server, the MM5 Agent module returns a message to the MMS Relay module. If the MM5 query succeeds, the multimedia message submission process is continued. If the query fails, the MMS Relay module queries whether the status code needs to be retried in the configuration information, and if necessary, sends a retry message to the MM5 retry module, if not, the multimedia The message failed to be delivered. Then repeat step 4 to gather S208 operation.
  • Step 8 After the MM5 query enters the retry process, the MM5 retry module enters the standby mode. If the MM5 Alert message triggers the retry mechanism in the service configuration module, the MM5 retry module waits for two trigger messages. One is MM5Alert. The message, one is the MM5 retry timing message. When the MM5 retry module receives any retry message, it discards another trigger message.
  • Step 9 If the MM5 retry module first receives the MM5 Alert message from the HLR, the MM5 retry is triggered by the MM5Alert message, and the MM5 retry module queries all retry attempts in the retry message queue to carry the same terminal number as the MM5Alert message. The message is sent to the MMS Relay and the retry message in the retry queue is deleted. That is, in this case, the MM5 retry is only triggered by the MM5Alert message and will not be triggered by the timing message of the retry message queue.
  • FIG. 3 is a structural block diagram of a multimedia message center in an embodiment of the present invention. As shown in FIG.
  • the multimedia message includes: a service processing module 30 and a retry module 32.
  • the service processing module 30 is configured to: when the user information query fails, determine to initiate a query retry process, send a query retry message of the user information to the retry module, and retry the query that meets the predetermined trigger condition in receiving the query retry message.
  • the process of querying the user information corresponding to the query retry message is re-initiated.
  • the retry module 32 is configured to determine the query retry message that meets the predetermined trigger condition, and send the query retry message to the service processing module 30.
  • the service processing module 30 re-initiates the user information query process for the query retry message that meets the predetermined trigger condition determined by the retry module 32.
  • the success rate of sending multimedia messages by the MMSC can be effectively improved, thereby improving the user experience.
  • the foregoing MMSC may further include: a proxy module 34, configured to return a status code to the service processing module, where the status code is used to reflect a situation corresponding to the query failure, and the situation includes one of the following:
  • the proxy module fails to establish the HLR of the user information, the HLR returns the response timeout, and the HLR queries the user information error.
  • the service processing module 30 is further configured to receive the status code from the proxy module, and determine whether the query needs to be initiated according to the status code. Test process.
  • the foregoing MMSC may further include: a service configuration module 36, configured to send a retry timing message to the retry module 32; and a retry module 32, further configured to be in the presentation terminal from the HLR
  • the notification message of the activation state or the retry timing message is consistent with the terminal identifier carried in the query retry message that satisfies the predetermined trigger condition, it is determined that the query retry message satisfying the predetermined trigger condition is transmitted.
  • the retry module 32 is further configured to end the user information query process when it is determined that the current number of retries reaches the maximum number of times configured in the service configuration module.
  • the retry module 32 is further configured to: when the query retry message satisfying the predetermined trigger condition is sent to the service processing module, delete the query retry message that satisfies the predetermined trigger condition from the query retry message. . Preferred embodiments in which the above modules are combined with each other are described below.
  • the service processing module 30 analyzes the message. If the terminating call user is a mobile phone terminal, initiate a MM5 query for the terminating call user.
  • the proxy module 34 After receiving the query request, the proxy module 34 first obtains the network information of the HLR according to the information of the HLR configured on the service configuration module 36, and establishes a link request to the HLR. If the link is successfully established, the proxy module 34 encodes the request message. , initiating an MM5 query request to the HLR, and waiting for an HLR response; if the HLR link setup fails, an error is returned to the service processing module 30. If the service processing module 30 receives the link failure response of the proxy module, the service processing module determines whether the situation is retried according to the configuration in the service configuration module 36. If the retry is required, the MM5 is sent to the retry module 32.
  • the trial request, retry module 32 establishes retry control information based on the configuration. If the proxy module 34 successfully sends the MM5 query message, but if the HLR response is not received within the system setup time, the proxy module 34 returns a failure response to the service processing module 30, and after receiving the response, the service processing module 30 determines whether to proceed according to the configuration. Retry, if you need to retry, enter the retry process. If the proxy module receives the query response from the HLR server, the proxy module decodes the response message and returns the query result to the service processing module.
  • the service processing module 30 After receiving the MM5 query response, the service processing module 30 continues the multimedia message submission process if the query is successful; if the query fails, it determines whether the retry is required according to the status code, and if it needs to be retried, enters the retry process.
  • the retry module 32 After the retry module 32 establishes the MM5 retry mechanism, the retry request can be initiated according to the two retry modes.
  • the first mode is an MM5 Alert message initiated by the HLR, and the message indicates that the user is in an active state.
  • the retry module immediately initiates a restart request; the second method is to retry according to the retry policy configured in the service configuration module.
  • the service processing module 30 After receiving the MM5 query retry request, the service processing module 30 re-executes the MM5 query, and notifies the retry module of the query result. After receiving the retry message, the service processing module 30 re-initiates the MM5 query request, and determines according to the above steps.
  • the multimedia message submission fails. In summary, after the multimedia message center fails to query the user information, it returns to the failure state to determine whether to perform the MM5 retry query. If the query needs to be retried, then the multimedia cancellation is performed.
  • the control information of the information center is retries by the MM5 query until the success or the final query fails.
  • the success rate of sending multimedia messages by the MMSC can be effectively improved, thereby greatly improving the user body risk.
  • 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 and, in some cases, may be different from the order herein.

Landscapes

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

Abstract

The invention discloses a user information query method and a multimedia messaging service center (MMSC). The MMSC includes a service processing module and a retry module. The method includes the following steps: when the user information query fails, the service processing module determines to initiate a query retry process, and transmits a query retry message of the user information to the retry module; the retry module transmits, to the service processing module, a query retry message satisfying the predetermined trigger conditions among the received query retry messages; the service processing module re-initiates a process of querying the user information corresponding to the query retry message satisfying the predetermined trigger conditions. With the technical solution of the present invention, the success rate of distributing multimedia messages by MMSC is increased, thus the user experience is improved.

Description

用户信息的查询方法及多媒体消息中心 技术领域 本发明涉及通信领域, 具体而言, 涉及一种用户信息的查询方法及多媒 体消息中心。 背景技术 多媒体消息业务( Multimedia Messaging Service, 简称为 MMS )是一种 能够在终端 (例如, 手机) 和终端之间以及终端和 Email服务器等其他应用 之间传送多媒体内容的消息服务。 与目前应用的非常成功的文本形式的短消 息业务相比, 多媒体消息将为用户提供包括图象、 声音等多种媒体格式的消 息内容, 使运营商可以为用户提供非常丰富的, 个性化的月艮务。 例如, 可以 在;^程中将看到的美景配上背景音乐随时随地发送给远方的亲朋好友, 发送 精心制作的电子贺卡。 当多媒体消息发送给手机用户时, 手机的用户信息保存在 HLR服务器 中, 多媒体消息中心需要通过 MM5消息接口查询 HLR服务器, 得到手机的 用户信息, 根据上述用户信息确定彩信下发方式, 如果用户手机状态正常, 则多媒体消息中心给手机用户下发正常的多媒体消息通告消息。 然而, 当多媒体消息中心通过 MM5消息接口查询 HLR服务器失败时, 多媒体消息中心无法下发需要提交的多媒体消息, 从而导致下发多媒体消息 的成功率降低, 大大降低了用户体验。 发明内容 本发明的主要目的在于提供一种用户信息的查询方法及多媒体消息中 心, 以解决上述的问题至少之一。 根据本发明的一个方面, 提供了一种用户信息的查询方法。 才艮据本发明的用户信息的查询方法, 应用于 MMSC, MMSC包括: 业 务处理模块和重试模块, 上述方法包括: 当用户信息查询失败时, 业务处理 模块确定发起查询重试流程, 向重试模块发送用户信息的查询重试消息; 重 试模块将接收到的查询重试消息中满足预定触发条件的查询重试消息发送至 业务处理模块; 业务处理模块重新发起查询满足预定触发条件的查询重试消 息对应的用户信息的流程。 根据本发明的另一方面, 提供了一种多媒体消息中心。 根据本发明的多媒体消息中心包括: 业务处理模块, 用于在用户信息查 询失败时, 确定发起查询重试流程, 向重试模块发送用户信息的查询重试消 息, 在接收到查询重试消息中满足预定触发条件的查询重试消息时, 重新发 起查询该查询重试消息对应的用户信息的流程。 重试模块, 用于确定满足预 定触发条件的查询重试消息, 将该查询重试消息发送至业务处理模块。 通过本发明, MMSC查询用户信息失败后, 在确定重试查询的情况下, 重 新发起查询重试消息中满足预定触发条件的重试消息对应的用户信息的流 程。 解决了相关技术中 MMSC 下发多媒体消息的成功率较低的问题, 进而 可以有效提高 MMSC下发多媒体消息的成功率, 从而提高了用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的 不当限定。 在附图中: 图 1是才艮据本发明实施例的用户信息的查询方法的流程图; 图 2是才艮据本发明优选实施例的用户信息的查询方法的流程图; 图 3是 居本发明实施例的多媒体消息中心的结构框图; 图 4为才艮据本发明优选实施例的多媒体消息中心的结构框图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是 居本发明实施例的用户信息的查询方法的流程图。 其中, 该方 法应用于 MMSC, MMSC 包括: 业务处理模块和重试模块, 如图 1 所示, 该用户信息的查询方法主要包括以下处理: 步 4聚 S 102 : 当用户信息查询失败时, 业务处理模块确定发起查询重试流 程, 向重试模块发送用户信息的查询重试消息; 步骤 S 104: 重试模块将接收到的查询重试消息中满足预定触发条件的查 询重试消息发送至业务处理模块; 步骤 S 106: 业务处理模块重新发起查询满足预定触发条件的查询重试消 息对应的用户信息的流程。 相关技术中, 当多媒体消息中心通过 MM5消息接口查询 HLR服务器失 败时, 多媒体消息中心无法下发需要提交的多媒体消息。 釆用上述方法, 可 以有效提高 MMSC下发多媒体消息的成功率, 从而提高了用户体 -险。 其中, 上述多媒体消息中心可以包括多个功能模块: 业务处理模块、 代 理模块、 重试模块、 和业务配置模块等。 在优选实施过程中, 多媒体消息提交到多媒体彩信中心以后, 由多媒体 彩信中心的业务处理模块对消息进行分析,如果终呼用户是移动终端(例如, 手机 ), 则发起一个对终呼用户的 MM5查询请求消息(即用户信息查询消息), 将该查询请求消息发送给代理模块。 代理模块收到查询请求以后, 首先 居多媒体消息业务配置模块上配置 的 HLR的信息, 得到 HLR的网络信息, 并向 HLR建链链路, 如果链路成功, 则代理模块将请求消息编码, 向 HLR发起丽 5查询请求,并且等待 HLR响应。 如果代理模块接收到 HLR 艮务器的查询响应,代理模块将响应消息解码, 将查询结果返回给业务处理模块。 在业务处理模块接收到 MM5查询响应以后, 如果成功查询, 则继续多媒 体消息提交流程。 但是, 在以下之一情况下, 可能会导致用户信息查询失败。 第一种情况: MMSC的代理模块与保存用户信息的 HLR建链失败; 第二种情况: HLR返回响应超时; 第三种情况: HLR查询用户信息错误。 优选地, 在步 4聚 S 102 中, 业务处理模块确定发起查询重试流程可以包 括以下处理: The present invention relates to the field of communications, and in particular to a method for querying user information and a multimedia message center. BACKGROUND A Multimedia Messaging Service (MMS) is a messaging service capable of transferring multimedia content between a terminal (eg, a mobile phone) and a terminal, and between other applications such as a terminal and an email server. Compared with the very successful text message short message service currently applied, the multimedia message will provide users with message content including various media formats such as images and sounds, so that operators can provide users with very rich and personalized information. Month. For example, you can send beautiful scenery with background music to your friends and relatives in the distance, and send elaborate e-cards. When the multimedia message is sent to the mobile phone user, the user information of the mobile phone is stored in the HLR server, and the multimedia message center needs to query the HLR server through the MM5 message interface to obtain the user information of the mobile phone, and determine the delivery mode of the multimedia message according to the user information, if the user mobile phone If the status is normal, the multimedia message center sends a normal multimedia message notification message to the mobile phone user. However, when the multimedia message center fails to query the HLR server through the MM5 message interface, the multimedia message center cannot deliver the multimedia message to be submitted, which results in a lower success rate of delivering the multimedia message and greatly reduces the user experience. SUMMARY OF THE INVENTION A primary object of the present invention is to provide a method for querying user information and a multimedia message center to solve at least one of the above problems. According to an aspect of the present invention, a method of querying user information is provided. The method for querying the user information according to the present invention is applied to the MMSC. The MMSC includes: a service processing module and a retry module. The method includes: when the user information query fails, the service processing module determines to initiate a query retry process, and The test module sends a query retry message of the user information; The test module sends the query retry message that meets the predetermined trigger condition in the received query retry message to the service processing module. The service processing module re-initiates the process of querying the user information corresponding to the query retry message that meets the predetermined trigger condition. According to another aspect of the present invention, a multimedia message center is provided. The multimedia message center according to the present invention includes: a service processing module, configured to: when the user information query fails, determine to initiate a query retry process, send a query retry message of the user information to the retry module, and receive the query retry message. When the query retry message satisfying the predetermined trigger condition is met, the process of querying the user information corresponding to the query retry message is re-initiated. The retry module is configured to determine a query retry message that satisfies a predetermined trigger condition, and send the query retry message to the service processing module. After the MMSC fails to query the user information, in the case that the retry query is determined, the process of re-initiating the user information corresponding to the retry message satisfying the predetermined trigger condition in the query retry message is re-initiated. The problem that the success rate of the multimedia message sent by the MMSC in the related art is low is solved, and the success rate of the MMSC sending the multimedia message can be effectively improved, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a flowchart of a method for querying user information according to an embodiment of the present invention; FIG. 2 is a flowchart of a method for querying user information according to a preferred embodiment of the present invention; FIG. 4 is a structural block diagram of a multimedia message center according to a preferred embodiment of the present invention. FIG. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. FIG. 1 is a flowchart of a method for querying user information according to an embodiment of the present invention. The method is applied to the MMSC, and the MMSC includes: a service processing module and a retry module, as shown in FIG. The query method of the user information mainly includes the following processing: Step 4: S 102: When the user information query fails, the service processing module determines to initiate a query retry process, and sends a query retry message of the user information to the retry module; Step S104 The retry module sends the query retry message that meets the predetermined trigger condition in the received query retry message to the service processing module; Step S106: The service processing module re-initiates the query corresponding to the query retry message satisfying the predetermined trigger condition The flow of information. In the related art, when the multimedia message center fails to query the HLR server through the MM5 message interface, the multimedia message center cannot deliver the multimedia message to be submitted. By using the above method, the success rate of the multimedia message sent by the MMSC can be effectively improved, thereby improving the user's body-risk. The multimedia message center may include multiple functional modules: a service processing module, a proxy module, a retry module, and a service configuration module. In a preferred implementation process, after the multimedia message is submitted to the multimedia multimedia message center, the message is analyzed by the service processing module of the multimedia multimedia message center. If the terminating user is a mobile terminal (for example, a mobile phone), an MM5 for the terminating user is initiated. The query request message (ie, the user information query message) is sent to the proxy module. After receiving the query request, the proxy module firstly obtains the information of the HLR configured on the multimedia message service configuration module, obtains the network information of the HLR, and establishes a link to the HLR. If the link succeeds, the proxy module encodes the request message to The HLR initiates a ré 5 query request and waits for an HLR response. If the proxy module receives the query response from the HLR server, the proxy module decodes the response message and returns the query result to the service processing module. After the service processing module receives the MM5 query response, if the query is successful, the multimedia message submission process is continued. However, in one of the following cases, the user information query may fail. The first case: the proxy module of the MMSC fails to establish a link with the HLR that stores the user information; the second case: the HLR returns a response timeout; The third case: The HLR queries the user information incorrectly. Preferably, in step 4 S 102, the service processing module determines that initiating the query retry process may include the following processing:
( 1 ) 业务处理模块接收来自于代理模块的状态码, 其中, 状态码用于 反映与查询失败对应的上述情况; (1) The service processing module receives a status code from the proxy module, where the status code is used to reflect the foregoing situation corresponding to the query failure;
( 2 ) 业务处理模块根据状态码确定是否需要发起查询重试流程。 在优选实施过程中, 如果用户信息查询失败, 则代理模块会返回给业务 处理模块查询的状态码, 每种状态码表示一种错误情况, 例如, 与 HLR服务 器建链失败错误, HLR返回响应超时错误, HLR查询终端手机号码错误等多 重错误类型, 每种错误都有指定的错误码, 但是这些错误状态并不是每种都 需要重试的, 这里就需要配置需要重试的状态码。 当某种状态码被配置, 当 业务处理模块接收到该状态码时就会发起丽 5重试请求。 在上述第一种情况下, 即代理模块与 HLR建立链路失败, 则代理模块向 业务处理模块返回错误。 如果业务处理模块收到代理模块的建链失败响应, 则业务处理模块才艮据 MMSC 的业务配置模块中配置决定这种情况是否进行 重试, 如果需要重试, 则向重试模块发送查询重试请求, 重试模块 居业务 配置模块的配置信息建立重试控制信息。 如果代理模块成功发送 MM5查询消息, 但是如果在系统设置时间内没有 收到 HLR返回的响应, 则代理模块返回给业务处理模块失败响应, 业务处理 模块接收到响应后, 居配置信息确定是否进行重试, 如果需要重试则进入 重试流程。如果代理模块接收到 HLR的查询响应,代理模块将响应消息解码, 将查询结果返回给业务处理模块。 业务处理模块接收到 MM5查询响应以后, 如果成功查询, 则继续多媒体 消息提交流程; 如果查询用户信息错误, 则根据状态码判断是否需要进行重 试, 如果需要重试则进入重试流程。 优选地, 上述步 4聚 S 104中的预定触发条件包括以下之一: (2) The service processing module determines whether it is necessary to initiate a query retry process according to the status code. In the preferred implementation process, if the user information query fails, the proxy module returns a status code that is queried by the service processing module, and each status code indicates an error condition, for example, a failure to establish a chain with the HLR server, and the HLR returns a response timeout. Incorrect, the HLR queries multiple error types such as the terminal mobile phone number error. Each error has a specified error code. However, these error states do not need to be retried each. Here, you need to configure the status code that needs to be retried. When a certain status code is configured, the RB 5 retry request is initiated when the service processing module receives the status code. In the first case above, that is, if the proxy module fails to establish a link with the HLR, the proxy module returns an error to the service processing module. If the service processing module receives the link failure response of the proxy module, the service processing module determines whether the situation is retried according to the configuration in the service configuration module of the MMSC. If the retry is required, the query is sent to the retry module. The test request retry module configuration information of the service configuration module to establish retry control information. If the proxy module successfully sends the MM5 query message, but if the response returned by the HLR is not received within the system setup time, the proxy module returns a failure response to the service processing module, and after receiving the response, the service processing module determines whether to perform heavy Try, if you need to retry, enter the retry process. If the proxy module receives the query response from the HLR, the proxy module decodes the response message and returns the query result to the service processing module. After receiving the MM5 query response, the service processing module continues the multimedia message submission process if the query is successful. If the query user information is incorrect, it is determined according to the status code whether it needs to be retried. If it needs to be retried, the retry process is entered. Preferably, the predetermined trigger condition in the step S104 above includes one of the following:
( 1 )接收到来自于 HLR的表示终端处于激活状态的通知消息, 其中, 该 通知消息和满足预定触发条件的查询重试消息携带的终端标识一致; ( 2 )接收到来自于丽 SC的业务配置模块的重试定时消息, 其中, 该重 试定时消息和满足预定触发条件的查询重试消息携带的终端标识一致。 在优选实施过程中, 当重试模块建立了 MM5重试机制后, 可以通过两种 触发方式发起重试请求, 第一种触发方式是: HLR主动发起的 MM5A l er t消息 (即上述通知消息),该消息表示用户处于激活状态, 当重试模块收到该消息 以后, 则立即发起重启请求; 第二种触发方式是: 才艮据在业务配置模块中配 置的重试策略进行重试。 例如, 每隔五分钟重试一次, 在预定时间到达时, 向丽 SC的业务配置模块发送重试定时消息, 触发重试流程。 业务处理模块接收到上述通知消息或重试定时消息以后, 重新进行 MM5 查询, 并且将查询结果通知给多媒体消息重试模块, 多媒体消息业务处理模 块收到重试消息以后, 重新发起 MM5查询请求, 并且按照上述步 4聚决定后续 流程。 优选地, 在重试模块将满足预定触发条件的查询重试消息发送至业务处 理模块时, 还可以包括以下处理: 重试模块在查询重试消息中删除满足预定 触发条件的查询重试消息。 通过上述处理, 重试模块只会被通知消息和重试消息队列的重试定时消 息中的一个消息触发。 例如, 重试模块首先接收到重试定时消息, 则重试模 块将该条重试消息发送给业务处理模块,并且将该条消息从重试队列中删除, 这样就可以保证接收到通知消息后不会被重复触发。 优选地, 上述方法还可以包括以下处理: 重试模块判断当前重试次数是 否达到 MMSC 的业务配置模块中配置的最大次数; 如果是, 结束用户信息 查询 ¾ϊ程。 在优选实施过程中, 如果当前重试次数达到了业务配置模块中配置的最 大次数, 此时还没有成功查询用户信息, 则丽 SC下发多媒体消息失败。 通 过该处理, 可以有效避免 MMSC不间断查询用户信息, 从而节省了系统资源。 以下结合图 2描述上述优选实施方式。 图 2是才艮据本发明优选实施例的用户信息的查询方法的流程示意图。 以 下结合图 2描述上述用户信息的查询方法, 该方法主要包括以下步骤: 步骤 1: 在业务配置模块中配置 MM5 查询失败重试信息, 其中, 该信 息主要包含: (1) receiving a notification message from the HLR indicating that the terminal is in an active state, where the notification message is consistent with the terminal identifier carried in the query retry message satisfying the predetermined trigger condition; (2) receiving a retry timing message from the service configuration module of the LSI, wherein the retry timing message is consistent with the terminal identifier carried in the query retry message satisfying the predetermined trigger condition. In the preferred implementation process, after the retry module establishes the MM5 retry mechanism, the retry request can be initiated by using two trigger modes. The first trigger mode is: the MM5A l er t message initiated by the HLR (that is, the foregoing notification message) The message indicates that the user is in the active state. When the retry module receives the message, it immediately initiates a restart request. The second trigger mode is: Retrying according to the retry policy configured in the service configuration module. For example, retry every five minutes, and when the scheduled time arrives, send a retry timing message to the service configuration module of the RIS SC to trigger the retry process. After receiving the foregoing notification message or retrying the timing message, the service processing module re-initiates the MM5 query, and notifies the multimedia message retry module to the query result. After receiving the retry message, the multimedia message service processing module re-initiates the MM5 query request. And follow the above steps to determine the subsequent process. Preferably, when the retry module sends the query retry message that meets the predetermined trigger condition to the service processing module, the following processing may be further included: the retry module deletes the query retry message that satisfies the predetermined trigger condition in the query retry message. Through the above processing, the retry module is only triggered by one of the retry timing message of the notification message and the retry message queue. For example, if the retry module first receives the retry timing message, the retry module sends the retry message to the service processing module, and the message is deleted from the retry queue, so that the notification message is not received after receiving the notification message. Will be triggered repeatedly. Preferably, the foregoing method may further include the following process: the retry module determines whether the current number of retries reaches a maximum number of times configured in the service configuration module of the MMSC; if yes, ends the user information query. In the preferred implementation process, if the current number of retries reaches the maximum number of times configured in the service configuration module, and the user information has not been successfully queried, the LSI fails to send the multimedia message. Through this processing, the MMSC can be effectively prevented from continuously querying user information, thereby saving system resources. The above preferred embodiment will be described below in conjunction with FIG. 2 is a flow chart showing a method for querying user information according to a preferred embodiment of the present invention. The method for querying the foregoing user information is described below with reference to FIG. 2, which mainly includes the following steps: Step 1: Configure MM5 query failure retry information in the service configuration module, where the letter The information mainly includes:
( 1 ) 重试状态码: 如果 MM5 查询失败, 则代理模块 (MM5 Agent ) 会返回给业务处理模块 ( MMS Relay ) 查询的状态码, 每种状态码表示一种 错误状态, 例如, 代理模块与 HLR建链失败错误, HLR返回响应超时错误, HLR查询终端手机号码错误等多重错误类型, 每种错误都有指定的状态码, 但是这些错误状态并不是每种都需要重试的, 这里就需要配置需要重试的状 态码。当某种状态码被配置,当 MMS Relay接收到该状态码时就会发起 MM5 重试请求。 (1) Retry status code: If the MM5 query fails, the agent module (MM5 Agent) will return the status code of the query to the service processing module (MMS Relay). Each status code indicates an error status, for example, the proxy module and The HLR fails to establish a link, the HLR returns a response timeout error, the HLR queries the terminal for a mobile phone number error, and so on. Each type of error has a specified status code, but not all of these error statuses need to be retried. Configure the status code that needs to be retried. When a status code is configured, the MMS Relay will initiate an MM5 retry request when it receives the status code.
( 2 ) MM5重试机制 (策略;): 此处包含重试次数和每次重试之间的时 间间隔。 重试次数表示失败重试的总体次数, 如果重试次数大于该设置值, 则表示最终重试失败; 重试时间表示每次重试之间的时间间隔, 重试时间和 次数可以任意组合, 比如重试三次, 每次重视间隔五分钟, 这只重试两次, 第一次重试为五分钟, 第二次重试为十分钟。 (2) MM5 retry mechanism (policy;): This contains the number of retries and the time interval between each retries. The number of retries indicates the total number of failed retries. If the number of retries is greater than the set value, the final retry fails. The retry time indicates the time interval between retries. The retry time and number of times can be arbitrarily combined. For example, try again three times, each time you pay attention to the interval of five minutes, this only retry twice, the first retry is five minutes, and the second retry is ten minutes.
( 3 )外部触发 MM5重试事件: 配置 2中, 配置的是重试模块主动发起 重试的策略, 但是还有一些重试是由外部 艮务器触发的, 例如, 上述 HLR 月艮务器主动发起的 MM5 Alert消息, 如果多媒体消息业务配置模块中配置该 类配置, 则当 MMS Relay收到该类消息, 则发起消息主动触发 MM5重试流 程。 步骤 2: 其他彩信平台向 MMS Relay发送多媒体消息提交请求, MMS Relay对其他彩信平台回复彩信提交响应。 MMS Relay接收到多媒体消息以 后, 通过业务分析, 发现终呼用户为手机终端, 需要查询 HLR, 则发起 MM5 查询请求, 将消息发送给 MM5 Agent模块。 步 4聚 3 : MM5 Agent接收到查询消息以后, 首先读取业务配置模块中配 置的 HLR的网络信息, 向 HLR服务器建立通讯链路, 如果建立链路失败, 则返回指定的状态码, MMS Relay模块查询业务配置模块的配置信息中该 状态码是否需要重试, 如果需要, 则发送重试消息给重试模块, 执行步骤 S208, 如果不需要, 则下发多媒体消息失败。 如果建立链路成功, 执行步骤 S210。 步骤 4: 重试模块接收到重试消息以后, 首先读取业务配置模块中配置 的重试机制, 如果该状态码配置了重试机制, 则根据重试机制中配置的第一 次重试时间, 将重试消息插入定时重试队列中, 重试消息触发的时间就是配 置中的第一次重试时间。 并且保存查询消息中的需要查询的终端号码, 然后 重试模块进入等待模式, 等待 MM5定时重试队列的触发。 步骤 5: 当步骤 S206中 MM5 Agent和 HLR建链成功, 则将查询消息编 码, 发送给 HLR 艮务器。 步骤 6: MM5 Agent在规定时间内未收到 HLR服务器的查询响应, 则返 回给 MMS Relay失败消息和指定状态码, MMS Relay接收到响应消息后, 查询配置信息中该状态码是否需要重试,如果需要,则发送重试消息给 MM5 重试模块, 如果不需要, 则多媒体消息失败。 然后重复步骤 S208操作。 步骤 7: MM5 Agent模块接收到 HLR服务器返回响应以后, 将消息返回 给 MMS Relay模块。 如果 MM5查询成功则继续多媒体消息提交流程, 如果 查询失败, MMS Relay模块查询配置信息中该状态码是否需要重试, 如果需 要, 则发送重试消息给 MM5重试模块, 如果不需要, 则多媒体消息下发失 败。 然后重复步 4聚 S208操作。 步骤 8: 当 MM5查询进入重试流程以后, MM5重试模块进入等待模式, 如果业务配置模块中配置了 MM5 Alert消息触发重试机制, 则 MM5重试模 块等待两种触发消息, 一种是 MM5Alert消息, 一种是 MM5重试定时消息, 当 MM5重试模块接收到任何一种重试消息以后,则丢弃另外一种触发消息。 步骤 9: 如果 MM5重试模块首先接收到 HLR的 MM5 Alert消息以后, MM5重试被 MM5Alert消息触发, MM5重试模块在重试消息队列中查询到 所有与 MM5Alert 消息中携带终端号码相同的重试消息, 并且将该消息向 MMS Relay发送,并且删除重试队列中该条重试消息。即在这种情况下 MM5 重试只被 MM5Alert消息触发, 不会在被重试消息队列的定时消息触发。 如 果 MM5重试模块首先收到 MM5重试定时消息,则 MM5重试模块将该条重 试消息发送给 MMS Relay, 并且将该条消息从重试队列中删除, 这样就可以 保证收到 MM5 Alert消息后不会被重复触发。 步骤 10: MMS Relay模块接收到重试消息以后, 重新发起 MM5查询消 息, 返回执行步 4聚 S206。 步骤 11 : 如果 MM5重试次数最终达到多媒体消息业务配置中最大配置 时, MM5查询还未成功, 则多媒体消息提交失败, 结束流程。 图 3是 居本发明实施例的多媒体消息中心的结构框图。 如图 3所示, 该多媒体消息包括: 业务处理模块 30和重试模块 32。 业务处理模块 30 ,用于在用户信息查询失败时,确定发起查询重试流程, 向重试模块发送用户信息的查询重试消息, 在接收到查询重试消息中满足预 定触发条件的查询重试消息时, 重新发起查询该查询重试消息对应的用户信 息的流程。 重试模块 32 , 用于确定上述满足预定触发条件的查询重试消息, 将该查 询重试消息发送至业务处理模块 30。 上述 MMSC中, 业务处理模块 30对重试模块 32确定的满足预定触发 条件的查询重试消息重新发起用户信息查询流程。 可以有效提高 MMSC 下 发多媒体消息的成功率, 从而提高了用户体验。 优选地, 如图 4所示, 上述 MMSC还可以包括: 代理模块 34 , 用于向 业务处理模块返回状态码, 其中,该状态码用于反映与查询失败对应的情况, 情况包括以下之一: 代理模块与保存用户信息的 HLR建链失败、 HLR返回 响应超时、 HLR 查询用户信息错误; 则业务处理模块 30 , 还用于接收来自 于代理模块的状态码, 根据状态码确定是否需要发起查询重试流程。 优选地, 如图 4所示, 上述 MMSC还可以包括: 业务配置模块 36 , 用 于向重试模块 32发送重试定时消息; 则重试模块 32 , 还用于在来自于 HLR 的表示终端处于激活状态的通知消息或重试定时消息与满足预定触发条件的 查询重试消息携带的终端标识一致时, 确定发送满足预定触发条件的查询重 试消息。 优选地, 如图 4所示, 重试模块 32 , 还用于在判断当前重试次数达到业 务配置模块中配置的最大次数时, 结束用户信息查询流程。 优选地, 如图 4所示, 重试模块 32 , 还用于在向业务处理模块发送满足 预定触发条件的查询重试消息时, 从查询重试消息中删除满足预定触发条件 的查询重试消息。 下面描述上述各模块相互结合的优选实施方式。 多媒体消息提交到多媒体彩信中心以后, 由业务处理模块 30 对消息进 行分析, 如果终呼用户是手机终端, 则发起一个对终呼用户的 MM5查询请 求消息, 将该消息发送给代理模块。 代理模块 34接收到查询请求以后, 首先根据业务配置模块 36上配置的 HLR的信息, 得到 HLR的网络信息, 并向 HLR建立链路请求, 如果建立链 路成功, 则代理模块 34将请求消息编码, 向 HLR发起 MM5查询请求, 并 且等待 HLR响应; 如果 HLR链路建立失败, 则向业务处理模块 30返回错 误。 如果业务处理模块 30 接收到代理模块的建链失败响应, 则业务处理模 块根据业务配置模块 36 中的配置决定这种情况是否进行重试, 如果需要重 试, 则向重试模块 32发送 MM5重试请求, 重试模块 32根据配置建立重试 控制信息。 如果代理模块 34成功发送 MM5查询消息,但是如果在系统设置时间内 没有收到 HLR响应, 则代理模块 34返回给业务处理模块 30失败响应, 业 务处理模块 30 接收到响应后, 根据配置决定是否进行重试, 如果需要重试 则进入重试流程。 如果代理模块接收到 HLR服务器的查询响应, 代理模块 将响应消息解码, 将查询结果返回给业务处理模块。 业务处理模块 30接收到 MM5查询响应以后, 如果成功查询, 则继续 多媒体消息提交流程; 如果查询失败, 则根据状态码判断是否需要进行重试, 如果需要重试则进入重试流程。 当重试模块 32建立了 MM5重试机制后,可以才艮据两种重试方式发起重 试请求, 第一种方式是 HLR主动发起的 MM5 Alert消息, 该种消息表示用户 处于激活状态, 当重试模块接收到该消息以后, 则立即发起重启请求; 第二 种方式是根据在业务配置模块中配置的重试策略进行重试。 业务处理模块 30接收到 MM5查询重试请求以后,重新进行 MM5查询, 并且将查询结果通知给重试模块, 业务处理模块 30 接收到重试消息以后, 重新发起 MM5查询请求, 并且按照上述步骤决定后续流程。 如果在业务配置模块 36配置的 MM5重试策略规定内, 还是没有 MM5 重试查询成功, 则多媒体消息提交失败。 综上所述, 多媒体消息中心进行用户信息查询失败以后, 才艮据返回失败 状态, 决定是否进行 MM5重试查询, 如果需要重试查询, 则才艮据多媒体消 息中心的控制信息进行 MM5查询重试, 直到成功或者最终查询失败。 借助 本发明提供的上述实施例, 可以有效提高 MMSC下发多媒体消息的成功率, 从而大大提高了用户体 -险。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可 以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布 在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程 序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并 且在某些情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者 将它们分别制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作 成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件 结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本 领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和 原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护 范围之内。 (3) External trigger MM5 retry event: In configuration 2, the retry module actively initiates a retry strategy, but some retry attempts are triggered by an external server, for example, the above HLR server The MM5 Alert message is initiated by the MMS Relay. If the MMS Relay receives this type of message, the MMS Relay initiates the MM5 retry process. Step 2: The other MMS platform sends a multimedia message submission request to the MMS Relay, and the MMS Relay responds to the MMS platform reply MMS. After receiving the multimedia message, the MMS Relay finds that the terminating user is the mobile terminal and needs to query the HLR, and then initiates an MM5 query request and sends the message to the MM5 Agent module. Step 4: After receiving the query message, the MM5 Agent first reads the network information of the HLR configured in the service configuration module, and establishes a communication link with the HLR server. If the link fails, the specified status code is returned, MMS Relay The module queries whether the status code needs to be retried in the configuration information of the service configuration module. If necessary, the retry message is sent to the retry module, and step S208 is performed. If not, the multimedia message fails to be delivered. If the link establishment is successful, step S210 is performed. Step 4: After receiving the retry message, the retry module first reads the retry mechanism configured in the service configuration module. If the retry mechanism is configured in the status code, the first configuration according to the retry mechanism is configured. The retry time is inserted into the timing retry queue, and the time when the retry message is triggered is the first retry time in the configuration. And save the terminal number in the query message that needs to be queried, and then retry the module to enter the standby mode, waiting for the trigger of the MM5 timing retry queue. Step 5: When the MM5 Agent and the HLR are successfully established in step S206, the query message is encoded and sent to the HLR server. Step 6: After receiving the query response from the HLR server within the specified time, the MM5 Agent returns a failure message and a specified status code to the MMS Relay. After receiving the response message, the MMS Relay queries the configuration information whether the status code needs to be retried. If necessary, a retry message is sent to the MM5 retry module, and if not required, the multimedia message fails. Then the operation of step S208 is repeated. Step 7: After receiving the response from the HLR server, the MM5 Agent module returns a message to the MMS Relay module. If the MM5 query succeeds, the multimedia message submission process is continued. If the query fails, the MMS Relay module queries whether the status code needs to be retried in the configuration information, and if necessary, sends a retry message to the MM5 retry module, if not, the multimedia The message failed to be delivered. Then repeat step 4 to gather S208 operation. Step 8: After the MM5 query enters the retry process, the MM5 retry module enters the standby mode. If the MM5 Alert message triggers the retry mechanism in the service configuration module, the MM5 retry module waits for two trigger messages. One is MM5Alert. The message, one is the MM5 retry timing message. When the MM5 retry module receives any retry message, it discards another trigger message. Step 9: If the MM5 retry module first receives the MM5 Alert message from the HLR, the MM5 retry is triggered by the MM5Alert message, and the MM5 retry module queries all retry attempts in the retry message queue to carry the same terminal number as the MM5Alert message. The message is sent to the MMS Relay and the retry message in the retry queue is deleted. That is, in this case, the MM5 retry is only triggered by the MM5Alert message and will not be triggered by the timing message of the retry message queue. If the MM5 retry module first receives the MM5 retry timing message, the MM5 retry module sends the retry message to the MMS Relay, and the message is deleted from the retry queue, so that the MM5 Alert message can be guaranteed. It will not be triggered repeatedly. Step 10: After receiving the retry message, the MMS Relay module re-initiates the MM5 query message, and returns to the execution step 4 S206. Step 11: If the MM5 retries finally reaches the maximum configuration in the multimedia message service configuration, and the MM5 query has not been successful, the multimedia message submission fails, and the process ends. FIG. 3 is a structural block diagram of a multimedia message center in an embodiment of the present invention. As shown in FIG. 3, the multimedia message includes: a service processing module 30 and a retry module 32. The service processing module 30 is configured to: when the user information query fails, determine to initiate a query retry process, send a query retry message of the user information to the retry module, and retry the query that meets the predetermined trigger condition in receiving the query retry message. When the message is received, the process of querying the user information corresponding to the query retry message is re-initiated. The retry module 32 is configured to determine the query retry message that meets the predetermined trigger condition, and send the query retry message to the service processing module 30. In the foregoing MMSC, the service processing module 30 re-initiates the user information query process for the query retry message that meets the predetermined trigger condition determined by the retry module 32. The success rate of sending multimedia messages by the MMSC can be effectively improved, thereby improving the user experience. Preferably, as shown in FIG. 4, the foregoing MMSC may further include: a proxy module 34, configured to return a status code to the service processing module, where the status code is used to reflect a situation corresponding to the query failure, and the situation includes one of the following: The proxy module fails to establish the HLR of the user information, the HLR returns the response timeout, and the HLR queries the user information error. The service processing module 30 is further configured to receive the status code from the proxy module, and determine whether the query needs to be initiated according to the status code. Test process. Preferably, as shown in FIG. 4, the foregoing MMSC may further include: a service configuration module 36, configured to send a retry timing message to the retry module 32; and a retry module 32, further configured to be in the presentation terminal from the HLR When the notification message of the activation state or the retry timing message is consistent with the terminal identifier carried in the query retry message that satisfies the predetermined trigger condition, it is determined that the query retry message satisfying the predetermined trigger condition is transmitted. Preferably, as shown in FIG. 4, the retry module 32 is further configured to end the user information query process when it is determined that the current number of retries reaches the maximum number of times configured in the service configuration module. Preferably, as shown in FIG. 4, the retry module 32 is further configured to: when the query retry message satisfying the predetermined trigger condition is sent to the service processing module, delete the query retry message that satisfies the predetermined trigger condition from the query retry message. . Preferred embodiments in which the above modules are combined with each other are described below. After the multimedia message is submitted to the multimedia multimedia message center, the service processing module 30 analyzes the message. If the terminating call user is a mobile phone terminal, initiate a MM5 query for the terminating call user. Request a message, send the message to the proxy module. After receiving the query request, the proxy module 34 first obtains the network information of the HLR according to the information of the HLR configured on the service configuration module 36, and establishes a link request to the HLR. If the link is successfully established, the proxy module 34 encodes the request message. , initiating an MM5 query request to the HLR, and waiting for an HLR response; if the HLR link setup fails, an error is returned to the service processing module 30. If the service processing module 30 receives the link failure response of the proxy module, the service processing module determines whether the situation is retried according to the configuration in the service configuration module 36. If the retry is required, the MM5 is sent to the retry module 32. The trial request, retry module 32 establishes retry control information based on the configuration. If the proxy module 34 successfully sends the MM5 query message, but if the HLR response is not received within the system setup time, the proxy module 34 returns a failure response to the service processing module 30, and after receiving the response, the service processing module 30 determines whether to proceed according to the configuration. Retry, if you need to retry, enter the retry process. If the proxy module receives the query response from the HLR server, the proxy module decodes the response message and returns the query result to the service processing module. After receiving the MM5 query response, the service processing module 30 continues the multimedia message submission process if the query is successful; if the query fails, it determines whether the retry is required according to the status code, and if it needs to be retried, enters the retry process. After the retry module 32 establishes the MM5 retry mechanism, the retry request can be initiated according to the two retry modes. The first mode is an MM5 Alert message initiated by the HLR, and the message indicates that the user is in an active state. After receiving the message, the retry module immediately initiates a restart request; the second method is to retry according to the retry policy configured in the service configuration module. After receiving the MM5 query retry request, the service processing module 30 re-executes the MM5 query, and notifies the retry module of the query result. After receiving the retry message, the service processing module 30 re-initiates the MM5 query request, and determines according to the above steps. Follow-up process. If the MM5 retry query is successful within the MM5 retry policy specified by the service configuration module 36, the multimedia message submission fails. In summary, after the multimedia message center fails to query the user information, it returns to the failure state to determine whether to perform the MM5 retry query. If the query needs to be retried, then the multimedia cancellation is performed. The control information of the information center is retries by the MM5 query until the success or the final query fails. With the above embodiments provided by the present invention, the success rate of sending multimedia messages by the MMSC can be effectively improved, thereby greatly improving the user body risk. Obviously, those skilled in the art should understand that the above 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 and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, 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.

Claims

权 利 要 求 书 一种用户信息的查询方法,应用于多媒体消息中心 MMSC,其特征在于, 所述 MMSC包括: 业务处理模块和重试模块, 所述方法包括: The method for querying user information is applied to a multimedia message center MMSC, wherein the MMSC includes: a service processing module and a retry module, and the method includes:
当用户信息查询失败时,所述业务处理模块确定发起查询重试流程, 向所述重试模块发送用户信息的查询重试消息;  When the user information query fails, the service processing module determines to initiate a query retry process, and sends a query retry message of the user information to the retry module;
所述重试模块将接收到的所述查询重试消息中满足预定触发条件的 查询重试消息发送至所述业务处理模块;  The retry module sends the received query retry message that meets the predetermined trigger condition in the received query retry message to the service processing module;
所述业务处理模块重新发起查询所述满足预定触发条件的查询重试 消息对应的用户信息的流程。 根据权利要求 1所述的方法, 其特征在于, 在以下之一情况下, 所述用 户信息查询失败:  And the service processing module re-initiates a process of querying the user information corresponding to the query retry message that meets the predetermined trigger condition. The method according to claim 1, wherein in the following case, the user information query fails:
所述 MMSC的代理模块与保存所述用户信息的 HLR建链失败; 所述 HLR返回响应超时;  The proxy module of the MMSC fails to establish a link with the HLR that stores the user information; the HLR returns a response timeout;
所述 HLR查询所述用户信息错误。 才艮据权利要求 2所述的方法, 其特征在于, 所述业务处理模块确定发起 查询重试 ¾ϊ程包括:  The HLR queries the user information for an error. The method according to claim 2, wherein the service processing module determines that the initiating query retry includes:
所述业务处理模块接收来自于所述代理模块的状态码, 其中, 所述 状态码用于反映与查询失败对应的所述情况;  The service processing module receives a status code from the proxy module, where the status code is used to reflect the situation corresponding to a query failure;
所述业务处理模块 -据所述状态码确定是否需要发起查询重试流 程。 才艮据权利要求 1所述的方法, 其特征在于, 所述预定触发条件包括以下 之一:  The service processing module determines whether a query retry process needs to be initiated based on the status code. The method according to claim 1, wherein the predetermined trigger condition comprises one of the following:
接收到来自于所述 HLR 的表示终端处于激活状态的通知消息, 其 中, 该消息和所述满足预定触发条件的查询重试消息携带的终端标识一 致;  Receiving a notification message from the HLR indicating that the terminal is in an active state, where the message is consistent with the terminal identifier carried in the query retry message satisfying the predetermined trigger condition;
接收到来自于所述 MMSC的业务配置模块的重试定时消息, 其中, 该消息和所述满足预定触发条件的查询重试消息携带的终端标识一致。 Receiving a retry timing message from the service configuration module of the MMSC, where the message is consistent with the terminal identifier carried in the query retry message that meets the predetermined trigger condition.
5. 根据权利要求 1所述的方法, 其特征在于, 在所述重试模块将所述满足 预定触发条件的查询重试消息发送至所述业务处理模块时, 所述方法还 包括: 所述重试模块在所述查询重试消息中删除所述满足预定触发条件 的查询重试消息。 The method according to claim 1, wherein when the retry module sends the query retry message that satisfies a predetermined trigger condition to the service processing module, the method further includes: The retry module deletes the query retry message that satisfies the predetermined trigger condition in the query retry message.
6. 根据权利要求 1至 5中任一项所述的方法, 其特征在于, 所述方法还包 括: The method according to any one of claims 1 to 5, wherein the method further comprises:
所述重试模块判断当前重试次数是否达到所述 MMSC 的业务配置 模块中配置的最大次数;  The retry module determines whether the current number of retries reaches a maximum number of times configured in the service configuration module of the MMSC;
如果是, 结束用户信息查询流程。  If yes, end the user information query process.
7. —种多媒体消息中心 MMSC, 其特征在于, 包括: 7. A multimedia message center MMSC, characterized in that it comprises:
业务处理模块, 用于在用户信息查询失败时, 确定发起查询重试流 程, 向重试模块发送用户信息的查询重试消息, 在接收到所述查询重试 消息中满足预定触发条件的查询重试消息时, 重新发起查询该查询重试 消息对应的用户信息的流程。  a service processing module, configured to: when the user information query fails, determine a query retry process, send a query retry message of the user information to the retry module, and receive a query that meets the predetermined trigger condition in the query retry message When the message is tried, the process of querying the user information corresponding to the query retry message is re-initiated.
所述重试模块, 用于确定所述满足预定触发条件的查询重试消息, 将该查询重试消息发送至所述业务处理模块。  The retry module is configured to determine the query retry message that meets a predetermined trigger condition, and send the query retry message to the service processing module.
8. 根据权利要求 7所述的 MMSC, 其特征在于, 8. The MMSC of claim 7 wherein:
所述 MMSC还包括: 代理模块, 用于向所述业务处理模块返回^! 态 码, 其中, 所述状态码用于反映与查询失败对应的情况, 所述情况包括 以下之一: 所述代理模块与保存所述用户信息的 HLR 建链失败、 所述 HLR返回响应超时、 所述 HLR查询所述用户信息错误;  The MMSC further includes: a proxy module, configured to return to the service processing module ^! The status code is used to reflect the situation corresponding to the query failure, and the situation includes one of the following: the proxy module fails to establish an HLR with the user information, and the HLR returns a response timeout. The HLR queries the user information error;
所述业务处理模块,还用于接收来自于所述代理模块的所述状态码, 根据所述状态码确定是否需要发起查询重试流程。  The service processing module is further configured to receive the status code from the proxy module, and determine, according to the status code, whether a query retry process needs to be initiated.
9. 根据权利要求 7所述的 MMSC, 其特征在于, 9. The MMSC of claim 7 wherein:
所述 MMSC还包括: 业务配置模块, 用于向所述重试模块发送重试 定时消息;  The MMSC further includes: a service configuration module, configured to send a retry timing message to the retry module;
所述重试模块,还用于在来自于所述 HLR的表示终端处于激活状态 的通知消息或所述重试定时消息与所述满足预定触发条件的查询重试消 息携带的终端标识一致时, 确定发送所述满足预定触发条件的查询重试 消息。 The retry module is further configured to retry the notification message or the retry timing message from the HLR indicating that the terminal is in an active state and the query that meets the predetermined trigger condition When the terminal identifiers carried by the information are consistent, it is determined to send the query retry message that satisfies the predetermined trigger condition.
10. 居权利要求 9所述的 MMSC, 其特征在于, 所述重试模块, 还用于在 判断当前重试次数达到所述业务配置模块中配置的最大次数时, 结束用 户信息查询流程。 The MMSC of claim 9, wherein the retry module is further configured to end the user information query process when it is determined that the current number of retries reaches a maximum number of times configured in the service configuration module.
11. 居权利要求 7所述的 MMSC, 其特征在于, 所述重试模块, 还用于在 向所述业务处理模块发送所述满足预定触发条件的查询重试消息时, 从 所述查询重试消息中删除所述满足预定触发条件的查询重试消息。 The MMSC of claim 7, wherein the retry module is further configured to: when the query retry message satisfying a predetermined trigger condition is sent to the service processing module, The query retry message satisfying the predetermined trigger condition is deleted in the test message.
PCT/CN2010/078045 2010-08-19 2010-10-22 User information query method and multimedia messaging service center WO2012022074A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010262827.1A CN101909256B (en) 2010-08-19 2010-08-19 Method for querying user information and multimedia message center
CN201010262827.1 2010-08-19

Publications (1)

Publication Number Publication Date
WO2012022074A1 true WO2012022074A1 (en) 2012-02-23

Family

ID=43264545

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/078045 WO2012022074A1 (en) 2010-08-19 2010-10-22 User information query method and multimedia messaging service center

Country Status (2)

Country Link
CN (1) CN101909256B (en)
WO (1) WO2012022074A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258776A (en) * 2020-01-09 2020-06-09 上海钧正网络科技有限公司 Disaster recovery method and device for remote service calling

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923163A (en) * 2021-10-20 2022-01-11 广东亿迅科技有限公司 Long connection message channel based current limiting method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1708539A1 (en) * 2005-03-30 2006-10-04 Lucent Technologies Inc. Repeated dialing in wireless networks to called parties that are powered off
CN101304553A (en) * 2008-06-24 2008-11-12 中兴通讯股份有限公司 Multimedia short message system and method for implementing MM5 interface
CN101304561A (en) * 2008-06-17 2008-11-12 中国移动通信集团江苏有限公司 Method for acquiring color message user status

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101127950B (en) * 2007-09-04 2010-06-23 中兴通讯股份有限公司 A SMS retry processing method, device and SMS center applying the same
CN101420661B (en) * 2008-11-11 2010-09-29 中兴通讯股份有限公司 Short message retrying method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1708539A1 (en) * 2005-03-30 2006-10-04 Lucent Technologies Inc. Repeated dialing in wireless networks to called parties that are powered off
CN101304561A (en) * 2008-06-17 2008-11-12 中国移动通信集团江苏有限公司 Method for acquiring color message user status
CN101304553A (en) * 2008-06-24 2008-11-12 中兴通讯股份有限公司 Multimedia short message system and method for implementing MM5 interface

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Multimedia Messaging Service (MMS); Functional description; Stage 2 (Release 6)", 3GPP TS 23.140 V6.16.0, March 2009 (2009-03-01) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111258776A (en) * 2020-01-09 2020-06-09 上海钧正网络科技有限公司 Disaster recovery method and device for remote service calling

Also Published As

Publication number Publication date
CN101909256B (en) 2014-12-10
CN101909256A (en) 2010-12-08

Similar Documents

Publication Publication Date Title
WO2018214865A1 (en) Processing method for message acknowledgement, related apparatus, storage medium and processor
KR100677497B1 (en) Duplicated notification processing method in a terminal
US9715379B2 (en) Methods and apparatus to trigger firmware update request in response to a failure event
WO2011137830A1 (en) Message pushing method of service delivery platform, relevant device and system
CN110413425B (en) Third-party message callback method, device, server and storage medium
WO2009074064A1 (en) Method and system for sending multimedia message and multimedia message center
JP4923155B2 (en) How to stop and resume content transmission / reception
WO2009143756A1 (en) Message service implementation method and device
WO2013064058A1 (en) Instant messaging method, system and device
WO2013113195A1 (en) Method and system for sending short message
CN105165035B (en) Have both the multimedia message transmission of text message transmission
KR100617775B1 (en) Method for managing duplicated message notification in multimedia messaging service
WO2013166899A1 (en) Method, apparatus and system for transmitting short message
KR20150033653A (en) A method and system to notify users activity during an ongoing communication session
WO2012024881A1 (en) Method for issuing notification message and multimedia message service center
CN104901865A (en) Mobile-end instant messaging (IM) signal synchronization method based on global monotonic serial number
US10063648B2 (en) Relaying mobile communications
WO2012022074A1 (en) User information query method and multimedia messaging service center
US20050181766A1 (en) Method and device for delivering messages to mobile terminal devices in accordance with a user selectable attainability status
JP2008131242A (en) Short message retransmission system and short message retransmission method
WO2012062051A1 (en) Method and system for delivering multimedia messages
JP2013520903A (en) Call attempt notification
WO2012027940A1 (en) Short-message processing method and short-message center
WO2010009666A1 (en) Method, system and device for implementing multimedia service
WO2012024915A1 (en) Method and system for processing multimedia message

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: 10856072

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: 10856072

Country of ref document: EP

Kind code of ref document: A1