WO2008037117A1 - System for processing timing task of multimedia message and method thereof - Google Patents

System for processing timing task of multimedia message and method thereof Download PDF

Info

Publication number
WO2008037117A1
WO2008037117A1 PCT/CN2006/002539 CN2006002539W WO2008037117A1 WO 2008037117 A1 WO2008037117 A1 WO 2008037117A1 CN 2006002539 W CN2006002539 W CN 2006002539W WO 2008037117 A1 WO2008037117 A1 WO 2008037117A1
Authority
WO
WIPO (PCT)
Prior art keywords
task
queue
message
module
control information
Prior art date
Application number
PCT/CN2006/002539
Other languages
French (fr)
Chinese (zh)
Inventor
Liang Li
Jingxiang Wang
Jianming Wan
Original Assignee
Zte Corporation
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 Zte Corporation filed Critical Zte Corporation
Priority to PCT/CN2006/002539 priority Critical patent/WO2008037117A1/en
Priority to CN2006800550185A priority patent/CN101467406B/en
Publication of WO2008037117A1 publication Critical patent/WO2008037117A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Definitions

  • the present invention relates to the field of multimedia message communication, and in particular, to a multimedia message timing task processing system and method thereof.
  • MMS Multimedia Messaging Service
  • SMS Short Message Service
  • the processing time of these tasks is configurable or user-defined, which is called a timing task of multimedia messages.
  • the processing capability and efficiency of the multimedia message timing task directly affects the user experience and the economic benefits of the operator, and is an important part of the processing capability of the multimedia message center (MMSC).
  • the existing multimedia message timing task processing technology adopts a full table scan processing method. The specific method is as follows: A fixed processing time slot is allocated in the message processing module (MESG), triggered by the system's second timer, and a full table scan is performed on the multimedia message control information table of the database module (DB), and the check is found to satisfy the trigger.
  • MSG message processing module
  • DB database module
  • the message of the time condition is processed according to the corresponding task; when the scanning time exceeds the specified processing time slot, the scanning is stopped, and the next second timer is triggered to trigger.
  • the main disadvantages of this processing mode are low processing efficiency, poor real-time performance, and insufficient and flexible expansion of the timing task function. The reasons are as follows: First, because there is no way to know whether there is a scheduled task at the current time, it can only rely on the fixed time slot allocated in the message processing module. Table scan, which causes instantaneous external request signaling blocking, especially when the traffic is busy, causing the external request signaling response to time out, resulting in a decrease in system processing success rate. Second, a medium-sized MMSC has a message storage capacity of one million.
  • the second timer needs multiple triggers to complete the full table scan, so the real-time performance of the timing task is greatly reduced.
  • the prior art does not distinguish between messages and message related tasks, and does not provide a complete and flexible management method for timing tasks. Therefore, there is a need for a system and method for the complete management of multimedia message timing tasks and for efficient, high real-time processing.
  • the core idea of the technical solution adopted by the present invention is to completely separate the multimedia message timing task (hereinafter referred to as the timing task) from the multimedia message control information (hereinafter referred to as the control information), and establish an independent, complete, and function scalable timing. Task storage and triggering mechanisms.
  • the multimedia message timing task processing system comprises: a message processing module, configured to receive signaling, invoke a database module interface and a timed task management module interface, and complete a processing flow of a multimedia message (hereinafter referred to as a message), when receiving When the signaling submits signaling for the message, the control information is stored in the database module, and the timed task is stored in the timed task management module; the database module is used to store the control information, and the database unique identifier of the control information is generated (hereinafter referred to as the control information) The primary key is returned to the message processing module; the timed task management module is configured to store and trigger the timed task, wherein the message processing module extracts the timed task information from the control information and stores it to the timed task management module, and the timed task management module will time the task.
  • a message processing module configured to receive signaling, invoke a database module interface and a timed task management module interface, and complete a processing flow of a multimedia message (hereinafter referred to as a message
  • the timed task management module stores the timed tasks of the same second trigger time in the same queue (second queue), and the data storage space of the timed task management module is composed of a set of second queues.
  • the timed task management module calculates the second queue to which the scheduled task belongs according to the second queue mapping algorithm, and appends the received timed task to the tail of the queue of the corresponding second queue.
  • the system of the present invention may further include a system support module for providing a timer required for the multimedia message timing task processing system and providing underlying communication between the modules.
  • the timed task management module is configured to receive the second timer signaling sent by the system support module, and calculate a second and a queue corresponding to the current time of the system according to the second queue mapping algorithm.
  • the timed task management module sends the timed task in the second queue corresponding to the current time to the message processing module through the timed task trigger signaling, and then deletes the timed task from the second queue after sending, and then continues to process the next timed task until the second queue Is empty.
  • the message processing module extracts the control information from the database module according to the received control time key according to the received timing task, and then processes the timing task by using the control information.
  • the message processing module actively sends the timing task deletion signaling to the timed task management module, and the timed task management module calculates the second queue to which the timed task belongs according to the second queue mapping algorithm, in the corresponding second queue. Delete the timed task.
  • the timing task information includes a trigger time, a task type, and a control information primary key.
  • the system support module sends the second timer signaling to the timed task manager every second.
  • the multimedia message timing task processing method comprises the following steps: controlling information processing steps, the message processing module receives the message submission signaling, stores the control information in a database module, and obtains a control information primary key; a scheduled task management step, The timed task management module stores and triggers the timed task, wherein the message processing module extracts the timed task information from the control information and stores it to the timed task management module, and the timed task management module triggers the timed task to the message processing module to request processing according to the specified time. .
  • the message processing module may extract control information from the database module according to the control information primary key to perform message processing.
  • the timed task management module calculates a second queue to which the scheduled task belongs according to the second queue mapping algorithm, and adds the timed task to the tail of the queue of the corresponding second queue.
  • the timed task management module calculates the second queue corresponding to the current time according to the received second timer signaling.
  • the timing task in the second queue corresponding to the current time is sequentially sent to the message processing module by using the timing task trigger signaling, and after the sending, the timing task is deleted from the second queue, and then the next timing task is continued to be processed until The second queue is empty.
  • the message processing module extracts the control information from the database module according to the received control time key according to the received timing task, and then processes the timing task by using the control information.
  • the message processing module actively sends a timing task deletion signaling to the timed task management module, and the timed task management module is based on the second team.
  • the column mapping algorithm calculates the second queue to which the scheduled task belongs, and deletes the timing task in the corresponding second queue.
  • the timing task information includes a trigger time, a task type, and a control information primary key.
  • the system and method of the present invention further realizes the secondary separation of the control information and the timing task based on the separation of the multimedia message media content and the control information.
  • FIG. 1 is a schematic diagram of a main network structure of a multimedia message service environment according to the present invention.
  • FIG. 2 is a schematic diagram of a system structure of a multimedia message timing task processing system according to the present invention
  • FIG. 3 is a timing according to the present invention.
  • Schematic diagram of the task management module storage structure and interface 4 is a typical service diagram of a multimedia message timing task processing system in accordance with one embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiments of the present invention are described with reference to the accompanying drawings.
  • Service environment and system architecture of the system Figure 1 is the main network structure diagram of the multimedia message service environment (MMSE).
  • MMSE multimedia message service environment
  • Table 1 shows the network element function in Figure 1. And the interface was introduced.
  • Table 1 Name of the NE Name Function and Interface Provide a support platform for MMS services in the multimedia message.
  • switch module 102-2 (RELAY) and processing module 102-4 (SERVER).
  • the switch module is responsible for the reception, routing, and storage of multimedia messages, and the real 102-2 (RELAY) communication protocol stack.
  • RELAY 102-2 and SERVER 102-4 interact through the MM2 interface.
  • the processing module SERVER 102-4 is responsible for business process processing, database 102-4 (SERVER) storage, and implements a message state machine.
  • the wireless application gateway is between the user agent 106 (UA) and the MMSC 102
  • User agent 106 is the user's mobile terminal. Through the MM1 interface and MMSC
  • the email service interacts with the MMSC 102 via the MM3 interface.
  • FIG. 2 is a schematic structural diagram of a system 200 of a multimedia message timing task processing system according to the present invention.
  • the figure is also a system structure diagram of the processing module 102-4, and the multimedia message timing task processing system is shown in detail.
  • the multimedia message timing task processing system 200 includes a message processing module (MESG) 202, a database module (DB) 204, and a timed task management module (TASK) 206.
  • the MESG 202 is configured to receive signaling, invoke a database module interface and a timed task management module interface, and complete a process of processing the message.
  • the control information is stored in the DB 204, and the timing task is performed.
  • the DB 204 is configured to store the control information, and return the automatic generation control information primary key as the response information to the MESG 202, and the MESG 202 can acquire the control information from the DB 204 according to the control information primary key.
  • the TASK 206 is used to store and trigger the timing task.
  • the MESG 202 extracts the timing task information from the control information and stores it to the TASK 206.
  • the TASK 206 triggers the timing task to the MESG 202 to request processing according to the specified time.
  • the timed task information includes: trigger time, task type, and control information primary key.
  • the trigger time is the execution time, in seconds, at which the task is specified at the time of the specified time.
  • the task type refers to various types of timed tasks of the multimedia message, including timed sending, timed retransmission, timeout not obtained forwarding, message expiration, etc., and can be extended according to the service.
  • the timing task establishes association with specific control information through the control information primary key.
  • the TASK 206 stores the scheduled tasks of the same second trigger time in the same second queue, and the data storage space of the TASK 206 is composed of such a set of second queues. Through the second queue mapping algorithm, it can be determined in which second queue the scheduled task is stored.
  • the multimedia message timing task processing system 200 further includes a system support module (VOS) 208 for providing timers required for the multimedia message timing task processing system and providing underlying communication between the modules.
  • VOS system support module
  • Table 2 Module Name Function and Interface System Support Module is responsible for providing the underlying communication between modules and providing the system.
  • the received second timer is the loop timer issued by the system support module 208 according to the system configuration.
  • the message processing module is the control core of SERVER 102-4. It is responsible for the control and processing of the MESG 202 paired message flow. It calls the database module interface and the timed task management module interface. It not only has to be connected
  • the real-time signaling sent by the RELAY 102-2 is processed, and the timing task triggering signaling (TriggerTaskReq) sent by the processing time task management module 206 is also received.
  • the database module is responsible for storing control information of the multimedia message, generally by
  • DB Large commercial database.
  • the scheduled task management is responsible for the scheduled task management of multimedia messages.
  • the real module (TASK) 206 is now fully scheduled for task management, including insertion, triggering, and deletion.
  • the data storage space inside the module consists of an array of seconds queues.
  • the present invention provides a method for processing a multimedia message timing task, comprising the steps of: controlling information processing steps, the message processing module (MESG) 202 receives the message submission signaling, and stores the control information to the database module (DB) 204.
  • MSG message processing module
  • the timed task management module (TASK) 206 storing the timed task And triggering, wherein the MESG 202 extracts the timing task information from the control information and stores it to the TASK 206, and the TASK 206 triggers the timing task to the MESG 202 to request processing according to the specified time.
  • Timing task into signaling InsertTaskReq
  • TriggerTaskReq the timing task trigger signaling
  • DeleteTaskReq 0
  • the MESG 202 Upon receiving the multimedia message submission signaling, the MESG 202 stores the control information in the DB 204, and the DB 204 returns the control information primary key. Then, the MESG 202 extracts each timing task required information from the control information, and sends it to the TASK 206 through the InsertTaskReq, thereby completing the stripping of the timing task. Based on the second queue mapping algorithm, the TASK 206 calculates a second queue to which the scheduled task belongs, and adds the scheduled task to the end of the queue of the corresponding second queue.
  • VOS 208 sends a second timer to TASK 206 every second.
  • the TASK 206 calculates the second queue corresponding to the current time of the system according to the second queue mapping algorithm, and the timing task in the second queue is sequentially sent to the MESG 202 through the TriggerTaskReq, and the scheduled task is deleted from the second queue after being sent.
  • the next scheduled task until the second queue is empty, and the exit processing waits for the next second timer.
  • the MESG 202 extracts the control information from the DB 204 according to the control information primary key in the received timed task, and then uses the control information to complete the message processing required by the task type in the scheduled task.
  • the deleted step silver is as follows: Under certain conditions, for example, when the message has been successfully acquired within the validity period or the user refuses, the timed task of the message expiration needs to be deleted, so as to prevent the timing task from triggering the expiration processing of the message, and the MESG 202 actively sends the DeleteTaskReq. Give TASK 206.
  • the TASK 206 calculates the second queue to which the scheduled task belongs, and deletes the scheduled task in the corresponding queue.
  • Timing task management ⁇ internal structure and external interface
  • Figure 3 is the storage structure and interface diagram of the timed task management module. The following is a detailed description of the internal storage structure and external interface of the timing task management.
  • the storage structure of TASK 206 internal data is defined as follows:
  • the default value of the validity period of the multimedia message in the current implementation is 48 hours. Considering some exception protection, the message has The maximum value of the effect value is set to 50 hours, so the data storage space of TASK 206 is composed of 180,000 (50 x 3600, which is the maximum number of seconds of the message) second queue array, the required storage capacity and system requirements.
  • the traffic of the message service is directly proportional, and the traffic of 200 bits/second requires 200M of data storage space.
  • the trigger time is UNIX time, which is the number of seconds since 1970.
  • MOD is a modulo operation, and the time is looped back by modulo, so that the finite-second queue array resource in TASK 206 is used repeatedly.
  • the length of the queue in the header node of the second queue ( length ) describes the number of scheduled tasks for the current second queue.
  • TASK 206 has three external interfaces: insert, trigger, delete; three interfaces are embodied as three signaling interactions with MESG 202: timing task insertion signaling (InsertTaskReq), timing task trigger signaling (TriggerTaskReq), timing task deletion letter Order (DeleteTaskReq). Each signaling contains three fields: trigger time, task type, and control information primary key. Insertion action: caused by the timing task insertion signaling (InsertTaskReq) sent by the message processing module (MESG) 202, the timed task management module (TASK) 206 receives the post-secondary queue mapping algorithm, and calculates the second queue to which the scheduled task belongs.
  • TSG message processing module
  • TASK timed task management module
  • the timed task management module (TASK) 206 receives the second queue that needs to be triggered by the current time according to the second queue mapping algorithm. If the second queue length to be triggered is 0, the processing is directly exited. If the second queue length to be triggered is not 0, it is sent to the message processing module (MESG) 202 through the timing task trigger signaling (TriggerTaskReq) in the order of first in first out (FIFO), and the timed task is cleared immediately after being sent out, and the length is reduced.
  • MSG message processing module
  • TriggerTaskReq timing task trigger signaling
  • Deletion action caused by the timed task deletion signaling (DeletaTaskReq) sent by the message processing module (MESG) 202.
  • TSK timed task management module
  • the second queue to which the scheduled task belongs is calculated. . If the owned second queue length is 0, the processing is directly exited. If the owned second queue length is not 0, the second queue is scanned. If the timing task is found, the second queue is then decremented by 1 from the second queue. If not found, the processing is directly exited.
  • Each multimedia message has a timing task, including: The sender can set the time of sending the message, and can customize the validity period of the message; The operator can set the default message validity period, set the timeout, and not obtain other systems for forwarding.
  • the time currently China Mobile is forwarding DreamWorks album, China Telecom is forwarding e-mail
  • the message of failed transmission is scheduled to be retransmitted according to the time policy. It can be seen that by scanning the message table to check so many conditions, the system efficiency cannot be improved.
  • the core idea of the present invention is to separate the timing task of the multimedia message from the control information of the multimedia message, and establish an independent and complete timing task management mechanism.
  • FIG. 4 is a typical service flow diagram of a multimedia message timing task processing system according to an embodiment of the present invention, and describes a service process for transmitting multimedia messages point-to-point between two mobile phone terminals belonging to the same MMSC.
  • the maximum system validity period of the MMSC is set to 60 hours.
  • the multimedia message terminal-to-terminal service processing includes four processes of submitting, annotating, acquiring, and delivering a report. As shown in FIG.
  • Step 1 August 1, 2006, 22: 00, mobile phone A to mobile phone B
  • a multimedia message (message Mm) is sent, and the message delivery time is 8:00 on August 2, 2006, and the validity period is 24 hours, and 4 advertisements are required to be delivered
  • the mobile phone A is immediately submitted to the MMSC exchange module through MMl_submit.REQ ( RELAY ) 102-2.
  • Step 2: RELAY 102-2 receives the message, the message content storage media (MmContent), generate a message identifier, and message submission back to handset
  • MmContent message content storage media
  • MMl_submit.RES message submission back to handset
  • MmContent message content storage media
  • Step Green 3 RELAY 102-2 then extracts the control information of the message (MmCtrllnfo), and the control information contains key information of the message, such as message processing status, MmContent storage location, message expiration time, etc., and is sent by internal submission signaling (MM2SubmitReq) MESG module 202 of SERVER 102-4. This achieves the separation of multimedia message media content (MmContent) and control information (MmCtrlInfo).
  • Step 4 The MESG 202 receives the control information and saves the control information to the DB 204 through the database insertion interface. In the implementation, the control information is stored in the multimedia message control information table of the database in a recording manner.
  • Step 5 The DB 204 automatically generates and returns the control information primary key so that the control information is saved in the database.
  • the MESG 202 checks the control information, and finds that the message is a timed transmission message, and the validity period is 24 hours. Then, the timing task insertion signaling (InsertTaskReq), the timing sending (taskl), the message expiration (task2), and the corresponding triggering are performed. The time, and the above control information primary key are sent to the TASK 206. This further separates the multimedia message control information (MmCtrlInfo) from the multimedia message timing task (MmTasklnfo).
  • MmCtrlInfo multimedia message control information
  • Step 7 Every second TASK 206 will receive the second timer sent by VOS. When the time is 8:00:00 on August 2, 2006, TASK 206 will send out the 136800 second queue processing, which will trigger taskl.
  • Step 8 Upon receiving the taskl, the MESG 202 first needs to obtain the control information, and then calls the database query interface to obtain the control information by controlling the primary key of the information in the scheduled task information. The timed task is to establish contact with the control information through the control information primary key.
  • Step 9 The DB 204 retrieves the control information from the database and returns it to the MESG 202.
  • Step 10 Because the task type in the task1 timing task information is sent periodically, the MESG 202 composes the notification according to the extracted control information, such as the control information primary key, the source destination mobile phone number, etc., and requests the RELAY 102 through the internal lower notification signaling (MM2NotificationReq). 2 issued a notice.
  • Step 11 RELAY 102-2 sends a notification (MMl_Notification.REQ) to mobile phone B via WAP.
  • Step - Step 12 Phone B returns an announcement response (MM1 - notification.RES).
  • Step 13 If the mobile phone B requests the acquisition of the message in time after receiving the notification, it will send the acquisition request signaling (MMl retrieve.REQ) to the RELAY 102-2.
  • Step 14 The MMSC delivers the message to the handset B (MMl_retrieve.RES).
  • Step 15 The mobile phone B obtains the message successfully, and informs the MMSC by acquiring the acknowledgement signaling (MMl_acknowledge.REQ).
  • Step 16 RELAY 102-2 sends an internal acquisition confirmation signaling (MM2AcknowledgeReq) to the MESG 202 of SERVER 102-4, which contains the control information primary key.
  • Step 17 After receiving the MESG 202, it is first necessary to change the processing status of the message, and then call the database query interface again to obtain the control information.
  • Step 18 The DB 204 retrieves the control information from the database according to the control information primary key, and returns to the MESG 202.
  • Step 19 If the message has been successfully acquired, the expiration processing will not be performed again, and the MESG 202 needs to delete the task2.
  • the MESG 202 sends the message expiration time from the control information to the TASK 206.
  • Step-like 20 MESG 202 CDR, migrates the message state to the termination state, and updates the database.
  • Step 21 The MESG 202 requests the RELAY 102-2 to send a delivery advertisement to the source user through the internal delivery report request signaling (MM2DeliveryRptReq).
  • Step 22 The RELAY 102-2 sends the delivery notification to the mobile phone A by means of the delivery request notification signaling (MMl_DeliveryReport.REQ), so that the source user knows whether the mobile phone B receives the message, and the message flow is completed.
  • Step 23 This step only occurs when the abnormality of the mobile phone B has not been obtained, that is, it jumps directly from step 11 to step 23.
  • the trigger (TriggerTaskReq) is sent to the MESG 202.
  • 3 megabytes is returned to step 17 to continue execution, that is, steps 17, 18, 20, 21, 22 are completed, and the message processing ends.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A system and a method for processing timing task of multimedia message are disclosed. The multimedia message timing task processing system includes: a message processing module for receiving signaling and calling a database module interface and timing task management module interface to complete the process of message; a database module for storing control message, generating control information and returning it to the message process module; a timing task management module for storing and triggering the timing task information; wherein, the message process module extracts the timing task information from the control information and stores in the timing task management module, the timing task management module triggers the message process module according to given time to process the timing task. The system and method can manage the multimedia message timing task completely, and process the timing task with high efficiency and instantaneity.

Description

多媒体消息定时任务处理系统及其方法 技术领域 本发明涉及多媒体消息通讯领域, 尤其涉及多媒体消息定时任 务处理系统及其方法。 背景技术 多媒体消息业务(MMS )是短消息业务( SMS )的进一步发展, 它不仅支持更大的容量、 支持多媒体信息内容, 而且支持更多的业 务交互模式。随着多媒体消息业务量的不断增长,将有可能成为 3G 时代的一种杀手级应用。 在多媒体消息的生命周期里有一些任务, 如发送消息、 重发消息、 超时未获取转发消息、 消息过期等。 根据 多媒体消息业务规范 (3GPP TS 22.140 )和运营商的要求, 这些任 务的处理时间是可以配置或者用户自定义的, 称之为多媒体消息的 定时任务。 多媒体消息定时任务的处理能力和效率直接影响到用户 的使用感受和运营商的经济效益,是构成多媒体消息中心( MMSC ) 处理能力的重要一环。 现有的多媒体消息定时任务处理技术是采用全表扫描处理方 法。 其具体故法是: 在消息处理模块(MESG ) 中分配固定处理时 隙 , 由系统的秒钟定时器触发, 对数据库模块( DB )的多媒体消息 控制信息表进行全表扫描, 检查发现满足触发时间条件的消息, 就 进行相应的任务处理; 当扫描时间超过了规定的处理时隙时, 停止 扫描, 等待下一个秒钟定时器来触发。 这种处理模式的主要缺点是处理效率低, 实时性差, 定时任务 功能扩展不够方便灵活。 原因如下: 首先, 因为无法知道当前时间 有无定时任务, 只能依靠在消息处理模块中分配固定的时隙进行全 表扫描, 这会造成瞬时的外部请求信令阻塞, 尤其当业务量繁忙时 会引起外部请求信令响应超时, 导致系统处理成功率下降; 其次, 一个中等规模 MMSC 的消息存储量都在百万级以上, 秒钟定时器 需要多次触发才能完成全表扫描, 这样定时任务的实时性被大大降 低。 另外, 现有技术中也没有对消息和消息相关的任务进行区分, 没有对定时任务提供完备的、 灵活的管理方法。 因此, 需要一种对多媒体消息定时任务进行完备管理、 并且可 以进行高效率、 高实时性处理的系统和方法。 发明内容 鉴于以上问题, 本发明的一个目的在于提供一种基于 MMSC 对多媒体消息定时任务进行高效率、 高实时性处理的系统。 本发明的采用的技术方案的核心思想是将多媒体消息定时任 务(以下简称定时任务)从多媒体消息控制信息(以下简称控制信 息) 中完全剥离出来, 建立一套独立、 完备、 功能可扩展的定时任 务存储和触发机制。 才艮据本发明的多媒体消息定时任务处理系统包括: 消息处理模 块,用于接收信令,调用数据库模块接口和定时任务管理模块接口, 完成对多媒体消息(以下简称消息) 的处理流程, 当接收信令为消 息提交信令时, 将控制信息存储到数据库模块, 将定时任务存储到 定时任务管理模块; 数据库模块, 用于存储控制信息, 并产生控制 信息的数据库唯一标识(以下筒称控制信息主键)返回给消息处理 模块; 定时任务管理模块, 用于对定时任务进行存储和触发, 其中, 消息处理模块从控制信息中提取定时任务信息存储到定时任务管 理模块, 定时任务管理模块将定时任务按照指定的时间触发给消息 处理模块请求处理。 在本发明中的上述系统中, 定时任务管理模块将同一秒触发时 间的定时任务存储在同一队列里 (秒队列), 定时任务管理模块的 数据存储空间就是由一组秒队列构成。 定时任务管理模块根据秒队 列映射算法, 计算出定时任务归属的秒队列, 并将接收到的定时任 务追加到相应秒队列的队列尾。 另外, 本发明的系统还可以包括系统支撑模块, 用于提供多媒 体消息定时任务处理系统所需的定时器, 并提供各模块间的底层通 讯。 在本发明的系统中, 优选的是, 定时任务管理模块用于接收系 统支撑模块发出的秒定时器信令, 根据秒队列映射算法, 计算出系 统当前时间对应的秒、队列。 在定时任务管理模块将当前时间对应的秒队列中的定时任务 依次通过定时任务触发信令发送到消息处理模块, 发送后从秒队列 删除定时任务, 然后继续处理下一个定时任务,直到该秒队列为空。 消息处理模块根据接收到的定时任务, 根据控制信息主键从数据库 模块中取出控制信息, 然后利用控制信息对定时任务进行处理。 在本发明的系统中, 在特定条件下, 消息处理模块主动发送定 时任务删除信令给定时任务管理模块, 定时任务管理模块根据秒队 列映射算法计算出定时任务归属的秒队列, 在相应秒队列中删除定 时任务。 在上述的系统中, 定时任务信息包括触发时间、 任务类型、 以 及控制信息主键。 在上述的系统中, 系统支撑模块每隔一秒向所述定时任务管理 器发送秒定时器信令。 本发明的一个目的在于提供一种多媒体消息定时任务处理方 法。 才艮据本发明的多媒体消息定时任务处理方法包括以下步骤: 控 制信息处理步骤, 消息处理模块接收到消息提交信令, 将控制信息 存储到数据库模块, 并获得控制信息主键; 定时任务管理步骤, 定 时任务管理模块对定时任务进行存储和触发, 其中, 消息处理模块 从控制信息中提取定时任务信息存储到定时任务管理模块, 定时任 务管理模块将定时任务按照指定的时间触发给消息处理模块请求 处理。 在本发明的上述方法中, 在该消息的后续信令处理过程中, 消 息处理模块可以根据上述的控制信息主键向数据库模块提取控制 信息进行消息处理。 在本发明的上述方法中, 定时任务管理模块根据秒队列映射算 法, 计算出定时任务归属的秒队列, 并将定时任务追加到相应秒队 列的队列尾。 在本发明的上述方法中, 定时任务管理模块根据接收到的秒定 时器信令, 才艮据秒队列映射算法, 计算出当前时间对应的秒队列。 另外, 优选的是, 将当前时间对应的秒队列中的定时任务依次 通过定时任务触发信令发送到消息处理模块 , 发送后从秒队列删除 所述定时任务, 然后继续处理下一个定时任务,直到该秒队列为空。 消息处理模块根据接收到的定时任务, 根据控制信息主键从数据库 模块中取出控制信息, 然后利用控制信息对定时任务进行处理。 在本发明的方法中, 在特定条件下, 消息处理模块主动发送定 时任务删除信令给定时任务管理模块 , 定时任务管理模块根据秒队 列映射算法计算出定时任务归属的秒队列, 在相应秒队列中删除定 时任务。 在上述的方法中, 定时任务信息包括触发时间、 任务类型、 以 及控制信息主键。 采用本发明所述系统和方法, 与现有技术相比, 在多媒体消息 媒体内容与控制信息的分离基础上, 进一步实现了控制信息与定时 任务的二次分离。 通过将定时任务从控制信息中剥离出来, 对定时 任务进行独立、 完备的管理, 使系统模块划分更为清晰明确, 使定 时任务功能扩展更为方便灵活; 通过将定时任务触发方式由百万数 量级的全表扫描转换为百数量级的秒队列检索, 极大提高了定时任 务的触发效率, 节省大量系统处理时间, 同时也无需占用消息处理 模块的固定时隙, 从而提高整个多媒体消息中心(MMSC ) 的处理 能力和效率。 附图说明 附图用来提供对本发明的进一步理解, 并且构成说明书的一部 分, 与本发明的实施例一起用于解释本发明, 并不构成对本发明的 限制。 在附图中: 图 1是根据本发明的多媒体消息业务环境的主要网络结构的示 意图; 图 2是根据本发明的多媒体消息定时任务处理系统的系统结构 的示意图; 图 3是根据本发明的定时任务管理模块存储结构和接口的示意 图; 以及 图 4是才 据本发明的一个实施例的多媒体消息定时任务处理系 统的典型业务 ¾u程图。 具体实施方式 以下结合附图对本发明的优选实施例进行说明, 应当理解, 此 处所描述的优选实施例仅用于说明和解释本发明, 并不用于限定本 发明。 TECHNICAL FIELD The present invention relates to the field of multimedia message communication, and in particular, to a multimedia message timing task processing system and method thereof. BACKGROUND OF THE INVENTION Multimedia Messaging Service (MMS) is a further development of Short Message Service (SMS), which not only supports larger capacity, supports multimedia information content, but also supports more business interaction modes. As the volume of multimedia messaging continues to grow, it will likely become a killer application in the 3G era. There are some tasks in the life cycle of a multimedia message, such as sending a message, resending a message, timeout not getting a forwarded message, expiring a message, and the like. According to the multimedia message service specification (3GPP TS 22.140) and the requirements of the operator, the processing time of these tasks is configurable or user-defined, which is called a timing task of multimedia messages. The processing capability and efficiency of the multimedia message timing task directly affects the user experience and the economic benefits of the operator, and is an important part of the processing capability of the multimedia message center (MMSC). The existing multimedia message timing task processing technology adopts a full table scan processing method. The specific method is as follows: A fixed processing time slot is allocated in the message processing module (MESG), triggered by the system's second timer, and a full table scan is performed on the multimedia message control information table of the database module (DB), and the check is found to satisfy the trigger. The message of the time condition is processed according to the corresponding task; when the scanning time exceeds the specified processing time slot, the scanning is stopped, and the next second timer is triggered to trigger. The main disadvantages of this processing mode are low processing efficiency, poor real-time performance, and insufficient and flexible expansion of the timing task function. The reasons are as follows: First, because there is no way to know whether there is a scheduled task at the current time, it can only rely on the fixed time slot allocated in the message processing module. Table scan, which causes instantaneous external request signaling blocking, especially when the traffic is busy, causing the external request signaling response to time out, resulting in a decrease in system processing success rate. Second, a medium-sized MMSC has a message storage capacity of one million. Above the level, the second timer needs multiple triggers to complete the full table scan, so the real-time performance of the timing task is greatly reduced. In addition, the prior art does not distinguish between messages and message related tasks, and does not provide a complete and flexible management method for timing tasks. Therefore, there is a need for a system and method for the complete management of multimedia message timing tasks and for efficient, high real-time processing. SUMMARY OF THE INVENTION In view of the above problems, it is an object of the present invention to provide a system for efficiently and highly real-time processing of multimedia message timing tasks based on MMSC. The core idea of the technical solution adopted by the present invention is to completely separate the multimedia message timing task (hereinafter referred to as the timing task) from the multimedia message control information (hereinafter referred to as the control information), and establish an independent, complete, and function scalable timing. Task storage and triggering mechanisms. The multimedia message timing task processing system according to the present invention comprises: a message processing module, configured to receive signaling, invoke a database module interface and a timed task management module interface, and complete a processing flow of a multimedia message (hereinafter referred to as a message), when receiving When the signaling submits signaling for the message, the control information is stored in the database module, and the timed task is stored in the timed task management module; the database module is used to store the control information, and the database unique identifier of the control information is generated (hereinafter referred to as the control information) The primary key is returned to the message processing module; the timed task management module is configured to store and trigger the timed task, wherein the message processing module extracts the timed task information from the control information and stores it to the timed task management module, and the timed task management module will time the task. Triggers the message processing module to request processing at the specified time. In the above system of the present invention, the timed task management module stores the timed tasks of the same second trigger time in the same queue (second queue), and the data storage space of the timed task management module is composed of a set of second queues. The timed task management module calculates the second queue to which the scheduled task belongs according to the second queue mapping algorithm, and appends the received timed task to the tail of the queue of the corresponding second queue. In addition, the system of the present invention may further include a system support module for providing a timer required for the multimedia message timing task processing system and providing underlying communication between the modules. In the system of the present invention, it is preferred that the timed task management module is configured to receive the second timer signaling sent by the system support module, and calculate a second and a queue corresponding to the current time of the system according to the second queue mapping algorithm. The timed task management module sends the timed task in the second queue corresponding to the current time to the message processing module through the timed task trigger signaling, and then deletes the timed task from the second queue after sending, and then continues to process the next timed task until the second queue Is empty. The message processing module extracts the control information from the database module according to the received control time key according to the received timing task, and then processes the timing task by using the control information. In the system of the present invention, under certain conditions, the message processing module actively sends the timing task deletion signaling to the timed task management module, and the timed task management module calculates the second queue to which the timed task belongs according to the second queue mapping algorithm, in the corresponding second queue. Delete the timed task. In the above system, the timing task information includes a trigger time, a task type, and a control information primary key. In the above system, the system support module sends the second timer signaling to the timed task manager every second. An object of the present invention is to provide a multimedia message timing task processing method. The multimedia message timing task processing method according to the present invention comprises the following steps: controlling information processing steps, the message processing module receives the message submission signaling, stores the control information in a database module, and obtains a control information primary key; a scheduled task management step, The timed task management module stores and triggers the timed task, wherein the message processing module extracts the timed task information from the control information and stores it to the timed task management module, and the timed task management module triggers the timed task to the message processing module to request processing according to the specified time. . In the above method of the present invention, in the subsequent signaling processing of the message, the message processing module may extract control information from the database module according to the control information primary key to perform message processing. In the above method of the present invention, the timed task management module calculates a second queue to which the scheduled task belongs according to the second queue mapping algorithm, and adds the timed task to the tail of the queue of the corresponding second queue. In the above method of the present invention, the timed task management module calculates the second queue corresponding to the current time according to the received second timer signaling. In addition, it is preferable that the timing task in the second queue corresponding to the current time is sequentially sent to the message processing module by using the timing task trigger signaling, and after the sending, the timing task is deleted from the second queue, and then the next timing task is continued to be processed until The second queue is empty. The message processing module extracts the control information from the database module according to the received control time key according to the received timing task, and then processes the timing task by using the control information. In the method of the present invention, under certain conditions, the message processing module actively sends a timing task deletion signaling to the timed task management module, and the timed task management module is based on the second team. The column mapping algorithm calculates the second queue to which the scheduled task belongs, and deletes the timing task in the corresponding second queue. In the above method, the timing task information includes a trigger time, a task type, and a control information primary key. Compared with the prior art, the system and method of the present invention further realizes the secondary separation of the control information and the timing task based on the separation of the multimedia message media content and the control information. By separating the timing tasks from the control information, the independent and complete management of the timing tasks makes the system module division clearer and clearer, and makes the timed task function expansion more convenient and flexible. By using the timing task trigger mode by millions of orders The full table scan is converted into a hundred-second-order second queue search, which greatly improves the triggering efficiency of the timing task, saves a lot of system processing time, and does not need to occupy the fixed time slot of the message processing module, thereby improving the entire multimedia message center (MMSC). Processing power and efficiency. The drawings are intended to provide a further understanding of the invention, and are intended to be a part of the description of the invention. 1 is a schematic diagram of a main network structure of a multimedia message service environment according to the present invention; FIG. 2 is a schematic diagram of a system structure of a multimedia message timing task processing system according to the present invention; FIG. 3 is a timing according to the present invention. Schematic diagram of the task management module storage structure and interface; 4 is a typical service diagram of a multimedia message timing task processing system in accordance with one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiments of the present invention are described with reference to the accompanying drawings.
1.系统存在的业务环境和系统的体系结构 图 1是多媒体消息业务环境(MMSE ) 的主要网络结构图, 为 了便于清楚描述后面的多媒体消息典型业务流程, 表 1对图 1 中的 网元功能和接口做了介绍。 表 1 网元名称 功能和接口 多媒体消息中 提供 MMS业务的支撑平台。 1. Service environment and system architecture of the system Figure 1 is the main network structure diagram of the multimedia message service environment (MMSE). In order to facilitate the clear description of the typical business process of the multimedia message, Table 1 shows the network element function in Figure 1. And the interface was introduced. Table 1 Name of the NE Name Function and Interface Provide a support platform for MMS services in the multimedia message.
心 102 ( MMSC ) Heart 102 ( MMSC )
包括交换模块 102-2 ( RELAY ) 和处理模 块 102-4 ( SERVER )。 交换模块 负责多媒体消息的接收、 路由、 存储, 实 102-2 ( RELAY ) 现通讯协议栈。  Includes switch module 102-2 (RELAY) and processing module 102-4 (SERVER). The switch module is responsible for the reception, routing, and storage of multimedia messages, and the real 102-2 (RELAY) communication protocol stack.
RELAY 102-2和 SERVER 102-4通过 MM2 接口交互。 处理模块 SERVER 102-4负责业务流程处理、数据库 102-4 ( SERVER ) 存储, 实现消息状态机。 无线应用网关 是用户代理 106 ( UA )和 MMSC 102之间RELAY 102-2 and SERVER 102-4 interact through the MM2 interface. The processing module SERVER 102-4 is responsible for business process processing, database 102-4 (SERVER) storage, and implements a message state machine. The wireless application gateway is between the user agent 106 (UA) and the MMSC 102
104 ( WAP ) 的无线承载。 用户代理 106 即用户手机终端。通过 MM1接口和 MMSC104 (WAP) radio bearer. User agent 106 is the user's mobile terminal. Through the MM1 interface and MMSC
( UA ) 102交互。 电子邮件服务 通过 MM3接口和 MMSC 102交互。 (UA) 102 interaction. The email service interacts with the MMSC 102 via the MM3 interface.
器 108 ( EMAIL ) 其他多媒体消 通过 MM4接口和 MMSC 102交互。 108 (EMAIL) Other multimedia cancellations interact with the MMSC 102 via the MM4 interface.
息中心 1010  Information Center 1010
( OTHER MMSC ) 增值业务服务 通过 MM7接口和 MMSC 102交互。 ( OTHER MMSC ) Value-added service services interact with MMSC 102 via the MM7 interface.
器 1012 ( VAS ) 图 2是根据本发明的多媒体消息定时任务处理系统的系统 200 的结构示意图, 本图同时也是处理模块 102-4的系统结构示意图, 详细的示出了多媒体消息定时任务处理系统 200的结构和内部各模 块间的关系。 如图 2所示, 多媒体消息定时任务处理系统 200包括消息处理 模块( MESG )202、数据库模块( DB )204、定时任务管理模块( TASK ) 206。 其中, MESG 202用于接收信令, 调用数据库模块接口和定时 任务管理模块接口, 完成对消息的处理流程, 当接收信令为消息提 交信令时, 将控制信息存储到 DB 204, 将定时任务存储到 TASK 206。  FIG. 2 is a schematic structural diagram of a system 200 of a multimedia message timing task processing system according to the present invention. The figure is also a system structure diagram of the processing module 102-4, and the multimedia message timing task processing system is shown in detail. The structure of 200 and the relationship between the internal modules. As shown in FIG. 2, the multimedia message timing task processing system 200 includes a message processing module (MESG) 202, a database module (DB) 204, and a timed task management module (TASK) 206. The MESG 202 is configured to receive signaling, invoke a database module interface and a timed task management module interface, and complete a process of processing the message. When the received signaling is a message submission signaling, the control information is stored in the DB 204, and the timing task is performed. Stored to TASK 206.
DB 204 用于存储控制信息, 并将自动产生控制信息主键作为 响应信息返回给 MESG 202, MESG 202可以才 据控制信息主键从 DB 204中获取控制信息。 TASK 206用于对定时任务进行存储和触发, MESG 202从控制 信息中提取定时任务信息存储到 TASK 206, TASK 206将定时任务 按照指定的时间触发给 MESG 202请求处理。 定时任务信息包括: 触发时间、 任务类型、 控制信息主键。 触 发时间是指定时任务被指定的执行时间, 以秒为单位。 任务类型是 指多媒体消息的各种定时任务类型, 包括定时发送、 定时重发、 超 时未获取转发、 消息过期等等, 并可以根据业务进行需要扩展。 定 时任务通过控制信息主键建立与具体控制信息的关联。 TASK 206 将同一秒触发时间的定时任务存储在同一秒队列, 而 TASK 206的 数据存储空间就是由这样的一組秒队列构成。 通过秒队列映射算 法, 可以确定定时任务被储存到哪一个秒队列中。 另夕卜, 多媒体消息定时任务处理系统 200还包括系统支撑模块 ( VOS ) 208, 用于提供多媒体消息定时任务处理系统所需的定时 器, 并提供各模块间的底层通讯。 以下表 2中对图 2中的模块功能和接口进行了说明。 表 2 模块名称 功能和接口 系统支撑模块 负责提供模块间的底层通讯, 并提供系统The DB 204 is configured to store the control information, and return the automatic generation control information primary key as the response information to the MESG 202, and the MESG 202 can acquire the control information from the DB 204 according to the control information primary key. The TASK 206 is used to store and trigger the timing task. The MESG 202 extracts the timing task information from the control information and stores it to the TASK 206. The TASK 206 triggers the timing task to the MESG 202 to request processing according to the specified time. The timed task information includes: trigger time, task type, and control information primary key. The trigger time is the execution time, in seconds, at which the task is specified at the time of the specified time. The task type refers to various types of timed tasks of the multimedia message, including timed sending, timed retransmission, timeout not obtained forwarding, message expiration, etc., and can be extended according to the service. The timing task establishes association with specific control information through the control information primary key. The TASK 206 stores the scheduled tasks of the same second trigger time in the same second queue, and the data storage space of the TASK 206 is composed of such a set of second queues. Through the second queue mapping algorithm, it can be determined in which second queue the scheduled task is stored. In addition, the multimedia message timing task processing system 200 further includes a system support module (VOS) 208 for providing timers required for the multimedia message timing task processing system and providing underlying communication between the modules. The module functions and interfaces in Figure 2 are described in Table 2 below. Table 2 Module Name Function and Interface System Support Module is responsible for providing the underlying communication between modules and providing the system.
( VOS ) 208 200需要的定时器。 图 2中定时任务管理模块 (VOS) 208 200 required timer. Timing task management module in Figure 2
206 收到的秒定时器, 就是系统支撑模块 208 才艮据系统配置发出的循环定时器。 消息处理模块 它是 SERVER 102-4的控制核心, 负责完 ( MESG ) 202 成对消息流程的控制和处理, 它调用数据库模 块接口和定时任务管理模块接口。 它不仅要接 收处理 RELAY 102-2发出的实时信令,还要接 收处理定时任务管理模块 206发送的定时任务 触发信令 (TriggerTaskReq)。 数据库模块 负责存储多媒体消息的控制信息, 一般由206 The received second timer is the loop timer issued by the system support module 208 according to the system configuration. The message processing module is the control core of SERVER 102-4. It is responsible for the control and processing of the MESG 202 paired message flow. It calls the database module interface and the timed task management module interface. It not only has to be connected The real-time signaling sent by the RELAY 102-2 is processed, and the timing task triggering signaling (TriggerTaskReq) sent by the processing time task management module 206 is also received. The database module is responsible for storing control information of the multimedia message, generally by
( DB ) 204 大型的商用数据库担当。 定时任务管理 负责多媒体消息的定时任务管理。 可以实 模块( TASK ) 206 现完备的定时任务管理, 包括插入、 触发、 删 除。 模块内部的数据存储空间由秒队列数组构 成。 此外, 本发明提出了一种多媒体消息定时任务的处理方法, 包 括以下步驟: 控制信息处理步骤, 消息处理模块 ( MESG ) 202 接 收到消息提交信令, 将控制信息存储到数据库模块 (DB ) 204, 并 获得控制信息主键; 在该消息的后续信令处理过程中, 根据控制信 息主键向 DB 204提取控制信息进行消息处理; 定时任务管理步骤, 定时任务管理模块( TASK ) 206对定时任务进行存储和触发,其中, MESG 202 从控制信息中提取定时任务信息存储到 TASK 206, TASK 206将定时任务按照指定的时间触发给 MESG 202请求处理。 上述方法的动作对应体现为模块间的三个信令: 定时任务插入 信令(InsertTaskReq ), 定时任务触发信令 (TriggerTaskReq), 以及定 时任务删除信令 ( DeleteTaskReq )0 (DB) 204 Large commercial database. The scheduled task management is responsible for the scheduled task management of multimedia messages. The real module (TASK) 206 is now fully scheduled for task management, including insertion, triggering, and deletion. The data storage space inside the module consists of an array of seconds queues. In addition, the present invention provides a method for processing a multimedia message timing task, comprising the steps of: controlling information processing steps, the message processing module (MESG) 202 receives the message submission signaling, and stores the control information to the database module (DB) 204. And obtaining a control information primary key; in the subsequent signaling processing of the message, extracting control information from the DB 204 according to the control information primary key for message processing; and timing task management step, the timed task management module (TASK) 206 storing the timed task And triggering, wherein the MESG 202 extracts the timing task information from the control information and stores it to the TASK 206, and the TASK 206 triggers the timing task to the MESG 202 to request processing according to the specified time. The method of operation of the corresponding signaling between embodied as three modules: a timing task into signaling (InsertTaskReq), the timing task trigger signaling (TriggerTaskReq), and a timing task is removed Signaling (DeleteTaskReq) 0
A. 插入的步骤如下: A. The steps to insert are as follows:
MESG 202收到多媒体消息提交信令, 便将控制信息存入 DB 204, DB 204返回控制信息主键。 然后 MESG 202从控制信息中提 取各个定时任务需要信息, 通过 InsertTaskReq发送到 TASK 206, 从而完成对定时任务剥离。 TASK 206根据秒队列映射算法, 计算出定时任务归属的秒队 列, 将该定时任务追加到相应秒队列的队列尾。 Upon receiving the multimedia message submission signaling, the MESG 202 stores the control information in the DB 204, and the DB 204 returns the control information primary key. Then, the MESG 202 extracts each timing task required information from the control information, and sends it to the TASK 206 through the InsertTaskReq, thereby completing the stripping of the timing task. Based on the second queue mapping algorithm, the TASK 206 calculates a second queue to which the scheduled task belongs, and adds the scheduled task to the end of the queue of the corresponding second queue.
B. 触发的步骤如下: 根据系统配置, VOS 208每隔一秒钟就向 TASK 206发送秒定 时器。 收到秒定时器后, TASK 206根据秒队列映射算法, 计算出 系统当前时间对应的秒队列, 将该秒队列中的定时任务依次通过 TriggerTaskReq发送到 MESG 202, 发送后从秒队列删除该定时任 务, 继续处理下一个定时任务, 直到秒队列为空, 退出处理等待下 一个秒定时器。 B. The steps to trigger are as follows: Depending on the system configuration, VOS 208 sends a second timer to TASK 206 every second. After receiving the second timer, the TASK 206 calculates the second queue corresponding to the current time of the system according to the second queue mapping algorithm, and the timing task in the second queue is sequentially sent to the MESG 202 through the TriggerTaskReq, and the scheduled task is deleted from the second queue after being sent. Continue processing the next scheduled task until the second queue is empty, and the exit processing waits for the next second timer.
MESG 202根据收到定时任务中的控制信息主键, 从 DB 204 取出控制信息, 然后利用控制信息完成定时任务中任务类型要求的 消息处理。 The MESG 202 extracts the control information from the DB 204 according to the control information primary key in the received timed task, and then uses the control information to complete the message processing required by the task type in the scheduled task.
C. 删除的步银如下: 在一定条件下, 例如消息已经在有效期内成功获取或者用户拒 绝时, 需要删除消息过期的定时任务, 以避免定时任务触发对消息 的过期处理, MESG 202主动发送 DeleteTaskReq给 TASK 206。 C. The deleted step silver is as follows: Under certain conditions, for example, when the message has been successfully acquired within the validity period or the user refuses, the timed task of the message expiration needs to be deleted, so as to prevent the timing task from triggering the expiration processing of the message, and the MESG 202 actively sends the DeleteTaskReq. Give TASK 206.
TASK 206根据秒队列映射算法, 计算出定时任务归属的秒队 列, 在相应 、队列中删除掉该定时任务。 Based on the second queue mapping algorithm, the TASK 206 calculates the second queue to which the scheduled task belongs, and deletes the scheduled task in the corresponding queue.
2.定时任务管理:^内部结构和外部接口 图 3是定时任务管理模块存储结构和接口图 , 下面对定时任务 管理的内部存储结构和外部接口进行设计实现中的详细说明。 2. Timing task management: ^ internal structure and external interface Figure 3 is the storage structure and interface diagram of the timed task management module. The following is a detailed description of the internal storage structure and external interface of the timing task management.
TASK 206 内部数据的存储结构是这样定义: 目前实现中多媒 体消息有效期的默认值为 48 小时, 考虑到一些异常保护, 消息有 效值的最大值设置为 50小时,因此 TASK 206的数据存储空间就由 180000个 ( 50 x 3600 即消息最大有效期的秒个数) 秒队列组成的 秒队列数组,所需存储容量与系统要求的消息业务流量成正比, 200 条 /秒的业务量需要 200M数据存储空间。 秒队列映射算法为: 秒队列数组位置 = 触发时间 MOD 180000 触发时间是 UNIX时间 , 即从 1970开始的秒个数。 MOD是取 模运算, 通过取模使时间回环, 这样 TASK 206内的有限秒队列数 组资源就得到了周而复始的利用。 秒队列的头节点中包含队列长度 ( length ) 描述当前秒队列定时任务的数量。 The storage structure of TASK 206 internal data is defined as follows: The default value of the validity period of the multimedia message in the current implementation is 48 hours. Considering some exception protection, the message has The maximum value of the effect value is set to 50 hours, so the data storage space of TASK 206 is composed of 180,000 (50 x 3600, which is the maximum number of seconds of the message) second queue array, the required storage capacity and system requirements. The traffic of the message service is directly proportional, and the traffic of 200 bits/second requires 200M of data storage space. The second queue mapping algorithm is: Second Queue Array Position = Trigger Time MOD 180000 The trigger time is UNIX time, which is the number of seconds since 1970. MOD is a modulo operation, and the time is looped back by modulo, so that the finite-second queue array resource in TASK 206 is used repeatedly. The length of the queue in the header node of the second queue ( length ) describes the number of scheduled tasks for the current second queue.
TASK 206有三个对外接口: 插入、 触发、 删除; 三个接口体 现为与 MESG 202 交互的三个信令: 定时任务插入信令 ( InsertTaskReq ), 定时任务触发信令 (TriggerTaskReq) , 定时任务删 除信令( DeleteTaskReq )。 每个信令都含有三个字段: 触发时间、 任务类型、 控制信息主键。 插入动作: 由消息处理模块 (MESG ) 202 发出的定时任务插 入信令 ( InsertTaskReq ) 引起, 定时任务管理模块(TASK ) 206收 到后^^据秒队列映射算法, 计算出定时任务归属的秒队列, 将定时 任务插入到相应秒队列的队列尾, 然后 length加 1。 触发动作: 由系统支撑模块 ( VOS ) 208发出的秒定时器信令 引起,定时任务管理模块(TASK ) 206收到后根据秒队列映射算法, 计算出系统 200当前时间需要触发的秒队列。 如果待触发的秒队列 length为 0 , 则直接退出处理。 如果待触发的秒队列 length不为 0, 按照先进先出 ( FIFO ) 的顺序依次通过定时任务触发信令 (TriggerTaskReq)发送到消息处理模块 ( MESG ) 202 , 定时任务发送 出去后立即清除, length减 1 , 直到 length为 0 , 、队列消息全部处 理完毕再退出处理, 再等待下一个秒定时器的到来。 删除动作: 由消息处理模块 (MESG ) 202 发出的定时任务删 除信令 ( DeleteTaskReq ) 引起, 定时任务管理模块 (TASK ) 206 收到后才艮据秒队列映射算法, 计算出定时任务归属的秒队列。 如果 归属的秒队列 length 为 0, 则直接退出处理。 如果归属的秒队列 length 不为 0, 扫描秒队列, 如果发现该定时任务则从秒队列中然 后 length减 1 , 如果没有发现则直接退出处理。 TASK 206 has three external interfaces: insert, trigger, delete; three interfaces are embodied as three signaling interactions with MESG 202: timing task insertion signaling (InsertTaskReq), timing task trigger signaling (TriggerTaskReq), timing task deletion letter Order (DeleteTaskReq). Each signaling contains three fields: trigger time, task type, and control information primary key. Insertion action: caused by the timing task insertion signaling (InsertTaskReq) sent by the message processing module (MESG) 202, the timed task management module (TASK) 206 receives the post-secondary queue mapping algorithm, and calculates the second queue to which the scheduled task belongs. , insert the timed task into the end of the queue of the corresponding second queue, then increase length by 1. The triggering action is caused by the second timer signaling sent by the system support module (VOS) 208. The timed task management module (TASK) 206 receives the second queue that needs to be triggered by the current time according to the second queue mapping algorithm. If the second queue length to be triggered is 0, the processing is directly exited. If the second queue length to be triggered is not 0, it is sent to the message processing module (MESG) 202 through the timing task trigger signaling (TriggerTaskReq) in the order of first in first out (FIFO), and the timed task is cleared immediately after being sent out, and the length is reduced. 1 , until length is 0, the queue message is processed and then exit processing, and then wait for the next second timer to arrive. Deletion action: caused by the timed task deletion signaling (DeletaTaskReq) sent by the message processing module (MESG) 202. After the timed task management module (TASK) 206 receives the second queue mapping algorithm, the second queue to which the scheduled task belongs is calculated. . If the owned second queue length is 0, the processing is directly exited. If the owned second queue length is not 0, the second queue is scanned. If the timing task is found, the second queue is then decremented by 1 from the second queue. If not found, the processing is directly exited.
3.典型的业务处理过程 每个多媒体消息都有定时任务, 包括: 对发送方可以设置定时 发送时间、 可以自定义消息有效期; 对运营商可以设置默认的消息 有效期、 设置超时未获取转发其他系统的时间 (现网中国移动是转 发梦网相册, 中国电信是转发电子邮箱)、 对发送失败的消息还要 根据时间策略进行定时重发。 由此可见, 通过扫描消息表来检查如 此多的条件, 系统效率是无法提高的。 而本发明的核心思想就是将 多媒体消息的定时任务从多媒体消息的控制信息中剥离出来, 建立 一套独立、 完备的定时任务管理机制。 图 4 是根据本发明的一个实施例的多媒体消息定时任务处理 系统的典型业务流程图, 描述的是属于同一 MMSC 的两个手机终 端间点到点发送多媒体消息的业务过程。 为了能够更清楚说明关键 的处理流程和定时任务的剥离方法, 这里只说明对定时发送和消息 过期两个定时任务的处理, 并对定时任务的触发时间进行了详细描 述。 MMSC的系统消息有效期最大值设置为 60小时。 多媒体消息 终端到终端业务处理包括提交、 通告、 获取、 投递报告四个过程, 如图 4所示, 具体的处理流程如下: 步骤 1 : 2006年 8月 1 日 22: 00, 手机 A给手机 B发送了一 条多媒体消息(消息 Mm ), 设置消息投递时间为 2006年 8月 2日 8 : 00 , 有效期为 24 小时, 要求投递 4艮告; 手机 A 通过 MMl_submit.REQ立即提交到 MMSC的交换模块(RELAY ) 102-2。 步骤 2 : RELAY 102-2 收到消息, 存储消息的媒体内容 ( MmContent ), 生成消息标识, 并返回给手机 A消息提交成功的 响应信令 ( MMl_submit.RES )0 在实现中因为 MmContent比较大, 所以是以文件方式存放在磁阵中。 步綠 3: RELAY 102-2接着提取消息的控制信息( MmCtrllnfo ), 控制信息包含消息的关键信息, 如消息处理状态、 MmContent存放 位置、 消息过期时间等, 通过内部提交信令(MM2SubmitReq )发 送给 SERVER 102-4的 MESG模块 202。这样就实现了多媒体消息 媒体内容(MmContent )和控制信息 (MmCtrllnfo ) 的分离。 步骤 4: MESG 202收到控制信息, 通过数据库插入接口将控 制信息保存到 DB 204。在实现中控制信息是以记录方式存放在数据 库的多媒体消息控制信息表中。 步骤 5: DB 204 自动产生并返回控制信息主键, 这样控制信 息就被保存数据库中。 MESG 202检查控制信息, 发现消息是一个 定时发送消息、 有效期为 24 小时, 于是通过定时任务插入信令 ( InsertTaskReq ), 将定时发送(taskl )、 消息过期 ( task2 ) 两个定 时任务、 相应的触发时间、 以及上述的控制信息主键发送到 TASK 206。 这样就进一步的实现了多媒体消息控制信息( MmCtrllnfo )与 多媒体消息定时任务 ( MmTasklnfo ) 的分离。 步骤 6: TASK 206收到定时任务, 通过秒队列映射算法首先计 算出 2006 年 8 月 2 日 8: 00: 00 的定时发送归属的秒队列: 1154476800 MOD 180000 = 136800, 将 taskl保存追力口第 136800 个秒队列队列尾; 然后计算出 2006年 8月 3 日 22: 00: 00的过期 消息归属的秒队列: 1154613600 MOD 180000 = 93600, 将 task2 保存追加第 93600个秒队列队列尾。 步骤 7: 每秒钟 TASK 206都会收到 VOS发来的秒定时器, 当 时间为 2006年 8月 2 日 8: 00: 00时, TASK 206耳又出第 136800 个秒队列处理, 将 taskl触发 ( TriggerTaskReq )给 MESG 202。 因 为 1秒钟只处理一个秒队列,保证了定时消息的检索效率和实时性。 步骤 8: MESG 202收到 taskl , 首先需要获得控制信息, 于是 通过定时任务信息中控制信息主键, 调用数据库查询接口获取控制 信息。 定时任务就是通过控制信息主键与控制信息建立联系的。 步骤 9: DB 204从数据库中取出控制信息,返回给 MESG 202。 步骤 10: 因为 taskl定时任务信息中的任务类型是定时发送, MESG 202根据取出的控制信息, 如控制信息主键、 源目的手机号 码等组成通告, 通过内部下通告信令 ( MM2NotificationReq )请求 RELAY 102-2下发通告。 步 骤 11 : RELAY 102-2 通 过 WAP 下 发 通 告 (MMl_Notification.REQ) 到手机 B。 步-骤 12: 手机 B返回通告响应 ( MM1— notification.RES )。 步骤 13: 如果手机 B在收到通告后, 及时请求获取消息, 就 会向 RELAY 102-2发出获取请求信令 ( MMl retrieve.REQ )。 步骤 14: MMSC将消息投递到手机 B ( MMl_retrieve.RES )。 步骤 15 : 手机 B 获取消息成功, 通过获取确认信令 ( MMl_acknowledge.REQ )告知 MMSC。 步骤 16: RELAY 102-2 发送 内 部获取确 认信令 ( MM2AcknowledgeReq )给 SERVER 102-4的 MESG 202, 信令中 含有控制信息主键。 步骤 17: MESG 202收到后,首先要需要更改消息的处理状态, 于是再次调用数据库查询接口获得控制信息。 步骤 18: DB 204根据控制信息主键从数据库中取出控制信息, 返回 MESG 202。 步骤 19: 如果消息已经获取成功, 就不会再进行过期处理了, 于是 MESG 202需要删除 task2。 MESG 202从控制信息中耳又出消息 过期时间, 通过定时任务删除信令 ( DeleteTaskReq )发送给 TASK 206, TASK 206根据过期时间 2006年 8月 3 曰 22: 00: 00计算出 task2 归属的秒队列: 1154613600 MOD 180000 = 93600 , 在第 93600个秒队列队中从头到尾查找, 找到后删除 task2, 这样过期消 息的定时任务就再也不会触发了, 避免了对消息的重复处理和计费 话单沖突。 如果消息此时已经过期, 则跳过此步。 步-像 20: MESG 202出话单, 将消息状态迁移到终止状态, 更 新数据库。 步骤 21 : MESG 202 请求通过内部投递报告请求信令 ( MM2DeliveryRptReq ), 请求 RELAY 102-2向源用户发送投递艮 告。 步骤 22: RELAY 102-2 再通过投递 4艮告请求信令 ( MMl_DeliveryReport. REQ )将投递才艮告发到手机 A, 这样源用 户获知手机 B是否收到消息, 消息流程处理完毕。 步驟 23: 本步骤只有在手机 B没有来一直获取消息的异常情 况才会出现, 即直接从步骤 11跳到步骤 23 , 这可能是因为终端关 机、 终端不支持等原因, 在现实情况中占总业务量的 30 %左右, 它 需要进行过期处理; 当前时间到达 2006年 8月 3 日 22: 00: 00时, 由秒定时器触发, TASK 206取出第 93600个秒队列处理, 将 task2 触发 ( TriggerTaskReq )发送给 MESG 202。 接下来将 3兆回到步骤 17继续执行, 即完成步骤 17、 18、 20、 21、 22、 消息处理结束。 按照上面的步驟, 在多媒体消息媒体内容与控制信息的分离基 础上, 进一步实现了多媒体消息控制信息与多媒体消息定时任务的 二次分离。 这样不仅提高系统的处理效率, 而且使系统对定时任务 功能扩展也变得非常灵活。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发 明, 对于本领域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进 等, 均应包含在本发明的保护范围之内。 3. Typical business process Each multimedia message has a timing task, including: The sender can set the time of sending the message, and can customize the validity period of the message; The operator can set the default message validity period, set the timeout, and not obtain other systems for forwarding. The time (currently China Mobile is forwarding DreamWorks album, China Telecom is forwarding e-mail), and the message of failed transmission is scheduled to be retransmitted according to the time policy. It can be seen that by scanning the message table to check so many conditions, the system efficiency cannot be improved. The core idea of the present invention is to separate the timing task of the multimedia message from the control information of the multimedia message, and establish an independent and complete timing task management mechanism. 4 is a typical service flow diagram of a multimedia message timing task processing system according to an embodiment of the present invention, and describes a service process for transmitting multimedia messages point-to-point between two mobile phone terminals belonging to the same MMSC. In order to more clearly illustrate the key processing flow and the stripping method of the timing task, only the processing of the timing tasks of the timing transmission and the message expiration is described, and the triggering time of the timing task is described in detail. The maximum system validity period of the MMSC is set to 60 hours. The multimedia message terminal-to-terminal service processing includes four processes of submitting, annotating, acquiring, and delivering a report. As shown in FIG. 4, the specific processing flow is as follows: Step 1: August 1, 2006, 22: 00, mobile phone A to mobile phone B A multimedia message (message Mm) is sent, and the message delivery time is 8:00 on August 2, 2006, and the validity period is 24 hours, and 4 advertisements are required to be delivered; the mobile phone A is immediately submitted to the MMSC exchange module through MMl_submit.REQ ( RELAY ) 102-2. Step 2: RELAY 102-2 receives the message, the message content storage media (MmContent), generate a message identifier, and message submission back to handset A successful response signaling (MMl_submit.RES) 0 MmContent In implementations because relatively large, So it is stored in the magnetic array as a file. Step Green 3: RELAY 102-2 then extracts the control information of the message (MmCtrllnfo), and the control information contains key information of the message, such as message processing status, MmContent storage location, message expiration time, etc., and is sent by internal submission signaling (MM2SubmitReq) MESG module 202 of SERVER 102-4. This achieves the separation of multimedia message media content (MmContent) and control information (MmCtrlInfo). Step 4: The MESG 202 receives the control information and saves the control information to the DB 204 through the database insertion interface. In the implementation, the control information is stored in the multimedia message control information table of the database in a recording manner. Step 5: The DB 204 automatically generates and returns the control information primary key so that the control information is saved in the database. The MESG 202 checks the control information, and finds that the message is a timed transmission message, and the validity period is 24 hours. Then, the timing task insertion signaling (InsertTaskReq), the timing sending (taskl), the message expiration (task2), and the corresponding triggering are performed. The time, and the above control information primary key are sent to the TASK 206. This further separates the multimedia message control information (MmCtrlInfo) from the multimedia message timing task (MmTasklnfo). Step 6: The TASK 206 receives the scheduled task, and firstly calculates the second queue of the scheduled transmission at 8:00:00 on August 2, 2006 by the second queue mapping algorithm: 1154476800 MOD 180000 = 136800, the taskl saves the chase 136800 seconds queue queue tail; then calculate the second queue of the expired message belonging to August 2, 2006 at 22: 00: 00: 1154613600 MOD 180000 = 93600, save task2 to append the 96000 second queue queue tail. Step 7: Every second TASK 206 will receive the second timer sent by VOS. When the time is 8:00:00 on August 2, 2006, TASK 206 will send out the 136800 second queue processing, which will trigger taskl. (TriggerTaskReq) to MESG 202. Because only one second queue is processed in one second, the retrieval efficiency and real-time of the timing message are guaranteed. Step 8: Upon receiving the taskl, the MESG 202 first needs to obtain the control information, and then calls the database query interface to obtain the control information by controlling the primary key of the information in the scheduled task information. The timed task is to establish contact with the control information through the control information primary key. Step 9: The DB 204 retrieves the control information from the database and returns it to the MESG 202. Step 10: Because the task type in the task1 timing task information is sent periodically, the MESG 202 composes the notification according to the extracted control information, such as the control information primary key, the source destination mobile phone number, etc., and requests the RELAY 102 through the internal lower notification signaling (MM2NotificationReq). 2 issued a notice. Step 11: RELAY 102-2 sends a notification (MMl_Notification.REQ) to mobile phone B via WAP. Step - Step 12: Phone B returns an announcement response (MM1 - notification.RES). Step 13: If the mobile phone B requests the acquisition of the message in time after receiving the notification, it will send the acquisition request signaling (MMl retrieve.REQ) to the RELAY 102-2. Step 14: The MMSC delivers the message to the handset B (MMl_retrieve.RES). Step 15: The mobile phone B obtains the message successfully, and informs the MMSC by acquiring the acknowledgement signaling (MMl_acknowledge.REQ). Step 16: RELAY 102-2 sends an internal acquisition confirmation signaling (MM2AcknowledgeReq) to the MESG 202 of SERVER 102-4, which contains the control information primary key. Step 17: After receiving the MESG 202, it is first necessary to change the processing status of the message, and then call the database query interface again to obtain the control information. Step 18: The DB 204 retrieves the control information from the database according to the control information primary key, and returns to the MESG 202. Step 19: If the message has been successfully acquired, the expiration processing will not be performed again, and the MESG 202 needs to delete the task2. The MESG 202 sends the message expiration time from the control information to the TASK 206. The TASK 206 calculates the second queue to which the task2 belongs according to the expiration time of August 3, 曰22: 00: 00. : 1154613600 MOD 180000 = 93600 , look up from the beginning to the end in the 93600 second queue team, delete the task2 after the discovery, so that the timed task of the expired message will never be triggered again, avoiding the repeated processing and charging of the message. Single conflict. If the message has expired at this time, skip this step. Step-like 20: MESG 202 CDR, migrates the message state to the termination state, and updates the database. Step 21: The MESG 202 requests the RELAY 102-2 to send a delivery advertisement to the source user through the internal delivery report request signaling (MM2DeliveryRptReq). Step 22: The RELAY 102-2 sends the delivery notification to the mobile phone A by means of the delivery request notification signaling (MMl_DeliveryReport.REQ), so that the source user knows whether the mobile phone B receives the message, and the message flow is completed. Step 23: This step only occurs when the abnormality of the mobile phone B has not been obtained, that is, it jumps directly from step 11 to step 23. This may be because the terminal is shut down, the terminal does not support, etc., which is in the actual situation. About 30% of the traffic, it needs to be expired; the current time reaches August 3, 2006 at 22: 00: 00, triggered by the second timer, TASK 206 takes out the 93600 second queue processing, will task2 The trigger (TriggerTaskReq) is sent to the MESG 202. Next, 3 megabytes is returned to step 17 to continue execution, that is, steps 17, 18, 20, 21, 22 are completed, and the message processing ends. According to the above steps, based on the separation of the multimedia message media content and the control information, the secondary separation of the multimedia message control information and the multimedia message timing task is further realized. This not only improves the processing efficiency of the system, but also makes the system very flexible for the expansion of the timing task function. 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 spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权利要求书 Claim
1. 一种多媒体消息定时任务处理系统, 其特征在于, 包括: 消息处理模块, 用于接收消息提交信令, 调用数据库模 块接口和定时任务管理模块接口, 完成对消息的处理流程; 所述数据库模块, 用于存储控制信息, 并产生控制信息 主键返回给所述消息处理模块; A multimedia message timing task processing system, comprising: a message processing module, configured to receive a message submission signaling, invoke a database module interface and a timed task management module interface, complete a process of processing a message; a module, configured to store control information, and generate a control information primary key to return to the message processing module;
所述定时任务管理模块, 用于对定时任务进行存储和触 发, 其中,  The timed task management module is configured to store and trigger a timed task, where
所述消息处理模块从所述控制信息中提取所述定时任务 信息存储到所述定时任务管理模块,所述定时任务管理模块将 所述定时任务按照指定的时间触发给所述消息处理模块请求 处理。  The message processing module extracts the timing task information from the control information to the timed task management module, and the timed task management module triggers the timed task to the message processing module to request processing according to a specified time. .
2. 根据权利要求 1所述的系统, 其特征在于, 所述定时任务管理 模块用于根据秒队列映射算法,计算出所述定时任务归属的秒 队列, 并将所述定时任务追加到相应秒队列的队列尾。 The system according to claim 1, wherein the timed task management module is configured to calculate a second queue to which the timed task belongs according to the second queue mapping algorithm, and add the timed task to the corresponding second. The tail of the queue.
3. 才艮据权利要求 1所述的系统, 其特征在于, 还包括系统支撑模 块, 用于提供所述多媒体消息定时任务处理系统所需的定时 器, 并提供各模块间的底层通讯。 3. The system of claim 1 further comprising a system support module for providing a timer required by said multimedia message timing task processing system and for providing underlying communication between the modules.
4. 根据权利要求 3所述的系统, 其特征在于, 所述定时任务管理 模块用于接收所述系统支撑模块发出的秒定时器信令,根据秒 队列映射算法, 计算出所述系统当前时间对应的秒队列。 The system according to claim 3, wherein the timed task management module is configured to receive a second timer signaling sent by the system support module, and calculate a current time of the system according to a second queue mapping algorithm. Corresponding seconds queue.
5. 根据权利要求 4所述的系统, 其特征在于,在所述定时任务管 发信令发送到所述消息处理模块,发送后从所述秒队列删除所 述定时任务, 然后继续处理下一个定时任务, 直到所述秒队列 为空。 5. The system according to claim 4, wherein the timed task manager sends a signaling to the message processing module, and after the sending, deletes from the second queue. The scheduled task is then processed to continue processing the next scheduled task until the second queue is empty.
6. 根据权利要求 5所述的系统,其特征在于, 所述消息处理模块 根据接收到的所述定时任务,根据所述控制信息主键从所述数 据库模块中取出所述控制信息,然后利用所述控制信息对所述 定时任务进行处理。 The system according to claim 5, wherein the message processing module extracts the control information from the database module according to the received control information primary key according to the received timing task, and then uses the The control information processes the timing task.
7. 根据权利要求 1所述的系统, 其特征在于, 在特定条件下, 所 述消息处理模块主动发送定时任务删除信令给所述定时任务 管理模块,所述定时任务管理模块根据秒队列映射算法计算出 所述定时任务归属的秒队列,在相应秒队列中删除所述定时任 务。 The system according to claim 1, wherein, under certain conditions, the message processing module actively sends a timing task deletion signaling to the timed task management module, and the timed task management module performs mapping according to a second queue. The algorithm calculates a second queue to which the scheduled task belongs, and deletes the scheduled task in the corresponding second queue.
8. 根据权利要求 1至 Ί中任一项所述的系统, 其特征在于, 所述 定时任务信息包括触发时间、任务类型、 以及所述控制信息主 键。 The system according to any one of claims 1 to 3, wherein the timed task information comprises a trigger time, a task type, and the control information primary key.
9. 根据权利要求 3至 6中任一项所述的系统, 其特征在于, 所述 系统支撑模块每隔一秒向所述定时任务管理器发送秒定时器 信令。 The system according to any one of claims 3 to 6, wherein the system support module sends second timer signaling to the timed task manager every second.
10. 一种多媒体消息定时任务处理方法, 其特征在于, 包括以下步 驟: 控制信息处理步骤, 消息处理模块接收到消息提交信令, 将控制信息存储到数据库模块, 并获得控制信息主键; 定时任务管理步骤, 定时任务管理模块对所述定时任务 进行存储和触发, 其中, 所述消息处理模块从所述控制信息中提取定时任务信息 存储到所述定时任务管理模块,所述定时任务管理模块将所述 定时任务按照指定的时间触发给所述消息处理模块来请求处 理。 A multimedia message timing task processing method, comprising the steps of: controlling information processing steps, the message processing module receives the message submission signaling, stores the control information in a database module, and obtains a control information primary key; a management step, the timed task management module stores and triggers the timed task, wherein the message processing module extracts the timed task information from the control information and stores the timed task information to the timed task management module, and the timed task management module Said The scheduled task is triggered to the message processing module to request processing at a specified time.
11. 根据权利要求 10所述的方法, 其特征在于, 所述定时任务管 理模块根据秒队列映射算法,计算出所述定时任务归属的秒队 列, 并将所述定时任务追加到相应秒队列的队列尾。 The method according to claim 10, wherein the timed task management module calculates a second queue to which the timed task belongs according to the second queue mapping algorithm, and adds the timed task to the corresponding second queue. The end of the queue.
12. 根据权利要求 10所述的方法, 其特征在于, 所述定时任务管 理模块根据接收到的秒定时器信令, 艮据秒队列映射算法, 计 算出当前时间对应的秒队列。 The method according to claim 10, wherein the timed task management module calculates a second queue corresponding to the current time according to the received second timer signaling according to the second queue mapping algorithm.
13. 根据权利要求 12所述的方法, 其特征在于, 将所述秒队列中 的所述定时任务依次通过定时任务触发信令发送到所述消息 处理模块,发送后从所述秒队列删除所述定时任务, 然后继续 处理下一个定时任务, 直到所述秒队列为空。 The method according to claim 12, wherein the timing task in the second queue is sent to the message processing module through timing task trigger signaling, and the second queue is deleted after being sent. The scheduled task is then processed to continue processing the next scheduled task until the second queue is empty.
14. 根据权利要求 13所述的方法, 其特征在于, 所述消息处理模 块根据接收到的所述定时任务,根据所述控制信息主键从所述 数据库模块中取出所述控制信息,然后利用所述控制信息对所 述定时任务进行处理。 The method according to claim 13, wherein the message processing module extracts the control information from the database module according to the received control information primary key according to the received timing task, and then uses the The control information processes the timing task.
15. 根据权利要求 10所述的方法, 其特征在于, 在特定条件下, 所述消息处理模块主动发送定时任务删除信令给所述定时任 务管理模块,所述定时任务管理模块根据秒队列映射算法计算 出所述定时任务归属的秒队列,在相应秒队列中删除所述定时 任务。 The method according to claim 10, wherein, under certain conditions, the message processing module actively sends a timing task deletion signaling to the timed task management module, and the timed task management module performs a second queue mapping according to the second. The algorithm calculates a second queue to which the scheduled task belongs, and deletes the scheduled task in the corresponding second queue.
16. 根据权利要求 11至 15中任一项所述的方法, 其特征在于, 所 述定时任务信息包括触发时间、任务类型、 以及所述控制信息 主键。 The method according to any one of claims 11 to 15, wherein the timed task information comprises a trigger time, a task type, and the control information primary key.
PCT/CN2006/002539 2006-09-27 2006-09-27 System for processing timing task of multimedia message and method thereof WO2008037117A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2006/002539 WO2008037117A1 (en) 2006-09-27 2006-09-27 System for processing timing task of multimedia message and method thereof
CN2006800550185A CN101467406B (en) 2006-09-27 2006-09-27 System and method for processing multimedia information timing task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2006/002539 WO2008037117A1 (en) 2006-09-27 2006-09-27 System for processing timing task of multimedia message and method thereof

Publications (1)

Publication Number Publication Date
WO2008037117A1 true WO2008037117A1 (en) 2008-04-03

Family

ID=39229699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002539 WO2008037117A1 (en) 2006-09-27 2006-09-27 System for processing timing task of multimedia message and method thereof

Country Status (2)

Country Link
CN (1) CN101467406B (en)
WO (1) WO2008037117A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188626B (en) * 2007-12-26 2011-02-02 华为技术有限公司 Data downloading system, device and method
CN102708171A (en) * 2012-05-02 2012-10-03 上海达梦数据库有限公司 Time-based method and time-based system for triggering execution of database task
CN108292236B (en) * 2015-11-30 2022-11-01 华为技术有限公司 Information processing method and device
CN106547626B (en) * 2016-11-23 2020-04-07 泰康保险集团股份有限公司 Method for balancing server in peer-to-peer architecture and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999049679A1 (en) * 1998-03-23 1999-09-30 Ericsson Inc. System and method for time defined delivery of short message service messages
CN1413043A (en) * 2001-10-11 2003-04-23 英业达集团(上海)电子技术有限公司 Mobile communication device with function of sending short message regularly and its method
CN1484456A (en) * 2002-09-20 2004-03-24 ��Ϊ�������޹�˾ Method for realizing timing transmitting short message
CN1630274A (en) * 2003-12-15 2005-06-22 乐金电子(中国)研究开发中心有限公司 Data packet transfer unit applied in instant communication service
CN1794832A (en) * 2005-12-30 2006-06-28 深圳市杰特电信控股有限公司 Method of transmitting short message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999049679A1 (en) * 1998-03-23 1999-09-30 Ericsson Inc. System and method for time defined delivery of short message service messages
CN1413043A (en) * 2001-10-11 2003-04-23 英业达集团(上海)电子技术有限公司 Mobile communication device with function of sending short message regularly and its method
CN1484456A (en) * 2002-09-20 2004-03-24 ��Ϊ�������޹�˾ Method for realizing timing transmitting short message
CN1630274A (en) * 2003-12-15 2005-06-22 乐金电子(中国)研究开发中心有限公司 Data packet transfer unit applied in instant communication service
CN1794832A (en) * 2005-12-30 2006-06-28 深圳市杰特电信控股有限公司 Method of transmitting short message

Also Published As

Publication number Publication date
CN101467406A (en) 2009-06-24
CN101467406B (en) 2011-11-23

Similar Documents

Publication Publication Date Title
EP2063590B1 (en) A method and system for transmitting email and a push mail server
FI111595B (en) Arrangements for the realization of multimedia messaging
US20030069031A1 (en) Short message distribution center
US20020181496A1 (en) Scalable architecture for transmission of messages over a network
US8675831B2 (en) Storage of data messages for later retrieval by the recipient
WO2006029563A1 (en) Method for multicasting short message
EP1927238B1 (en) System and method for transmitting messages to a wireless communication device
WO2006056791A1 (en) Telecommunications services apparatus and methods
WO2011137830A1 (en) Message pushing method of service delivery platform, relevant device and system
US7684553B2 (en) Method for transmitting data in a communication network
WO2009074064A1 (en) Method and system for sending multimedia message and multimedia message center
WO2009082980A1 (en) A billing method and corresponding system for short message value-added service, and data center for short message service
US8265673B2 (en) Short message distribution center
WO2010012221A1 (en) Method, device and system for sending short message
WO2008037117A1 (en) System for processing timing task of multimedia message and method thereof
EP1810533B1 (en) Telecommunications services apparatus and method
JP4230924B2 (en) Mail distribution device
WO2007033524A1 (en) A method for receiving/sending short message by a g net short message center for a cdma user and the short message gateway thereof
KR20120106881A (en) Message waiting notification to external message centers
WO2011057548A1 (en) Method, apparatus and system for controlling short message transmission
US20050181766A1 (en) Method and device for delivering messages to mobile terminal devices in accordance with a user selectable attainability status
CN100455049C (en) Method for processing message in multimedia message service system
WO2009103196A1 (en) System and method for sending multimedia message storage address
CN1901595B (en) Method for sending fax to radio fax device
JP2002111707A (en) Arrived mail informing system and mail distribution device

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200680055018.5

Country of ref document: CN

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

Ref document number: 06791128

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

Country of ref document: EP

Kind code of ref document: A1