WO2012139349A1 - Method and device for processing expired short message - Google Patents
Method and device for processing expired short message Download PDFInfo
- Publication number
- WO2012139349A1 WO2012139349A1 PCT/CN2011/077610 CN2011077610W WO2012139349A1 WO 2012139349 A1 WO2012139349 A1 WO 2012139349A1 CN 2011077610 W CN2011077610 W CN 2011077610W WO 2012139349 A1 WO2012139349 A1 WO 2012139349A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- short message
- expired
- user terminal
- message
- destination user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/216—Handling conversation history, e.g. grouping of messages in sessions or threads
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/58—Message adaptation for wireless communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Definitions
- the present invention relates to the field of communications, and in particular, to a method and apparatus for processing expired short messages. Background technique
- Short message service is one of the most important value-added services of mobile telecom operators, and it is also the most widely used and most frequently used service. In order to continuously improve the operational capabilities of the business, the short message center is constantly improving.
- the short message service is characterized by non-real time and timeliness.
- the short message service is different from the voice service.
- the voice service is real-time, and it is disconnected when it is not connected.
- the short message service is non-real-time.
- the source user sends a short message to the destination user.
- the destination user does not receive the message in real time but has a delay. If the destination user is in the state of shutdown or out of service, the short message center will cache the message and retry. When the destination user status is available again, the message can still be received.
- the short message validity period refers to the effective period of a short message.
- the source user can set the validity period for the short message. If the message cannot be successfully transmitted to the destination user within the validity period, the message will expire and cannot be delivered. Short message expiration often occurs, for example, the destination user is shut down, or the destination user is out of service, and so on.
- the default validity period of short messages is not too long, typically 2 to 3 days.
- the prior art has the following drawbacks: When the destination user can receive the message, for example, the destination user returns from abroad (ie, has been transferred back to the service area), or the mobile phone is damaged and repaired, etc. In other cases, since the previous short message has expired, the destination user can no longer receive these short messages, which may bring a certain degree of loss to the target user and reduce the user experience. Summary of the invention
- the embodiment of the invention provides a method and a device for processing an expired short message, which can be provided to a destination user terminal according to user requirements after the short message exceeds the expiration date.
- the present invention provides a method for processing an expired short message, the method comprising:
- the short message center stores the short message exceeding the expiration date of the source user terminal to the destination user terminal in the expired message pool; the expired message pool is a dedicated storage area of the expired short message; the short message center receives the destination user When the terminal sends an instruction for obtaining the expired short message, the expired short message corresponding to the instruction is obtained in the expired message pool, and the expired short message is sent to the destination user terminal.
- the short message center stores the short message of the expiration date of the source user terminal to the destination user terminal before the expired message pool, and the method further includes:
- the short message center receives a short message sent by the source user terminal to the destination user terminal; the short message center sends the short message to the destination user terminal, and determines that the destination user terminal fails to receive the short message;
- the short message center saves the short message to a waiting message queue and sets an expiration date of the short message.
- the method further includes:
- the short message center resends the short message to the destination user terminal according to a set period, and deletes the short message from the waiting message queue when the transmission is successful.
- the method further includes:
- the instruction for acquiring an expired short message includes a source address for uniquely identifying a target user terminal
- the instruction for acquiring the expired short message includes a source address for uniquely identifying the destination user terminal, and an initial submission time of the expired short message, an end submission time of the expired short message, and a keyword in the expired short message.
- a source address for uniquely identifying the destination user terminal
- an initial submission time of the expired short message for uniquely identifying the destination user terminal
- an end submission time of the expired short message for uniquely identifying the destination user terminal
- a keyword in the expired short message includes a keyword in the expired short message.
- the short message center receives an instruction for acquiring an expired short message sent by the destination user, and obtains an expired short message corresponding to the instruction in the expired message pool, including: the short message center is in the In the expired message pool, an expired short message is obtained that meets the query condition characterized by the parameters included in the instruction.
- the short message center detects the occupancy rate of the expired message pool during a specified period, and when the occupancy rate reaches a set threshold, the longest storage time in the expired message pool is The partial expired short message is deleted.
- the present invention further provides an apparatus for processing an expired short message, the apparatus comprising: a first processing unit, configured to store, by the source user terminal, a short message exceeding an expiration date of the destination user terminal into an expired message pool;
- the expired message pool is a dedicated storage area of expired short messages;
- a communication unit configured to receive an instruction for acquiring an expired short message sent by the destination user, where the second processing unit is configured to: according to the instruction sent by the destination user terminal, the expired message An expired short message corresponding to the instruction is obtained in the pool, and the expired short message is sent to the destination user terminal.
- the communication unit is further configured to receive a short message sent by the source user terminal to the destination user terminal, send the short message to the destination user terminal, and determine that the destination user terminal fails to receive the short message;
- the first processing unit is further configured to: determine, by the communication unit, that the destination user terminal receives the defeat The short message is saved to the waiting message queue, and the expiration date of the short message is set.
- the communication unit is further configured to resend the short message to the destination user terminal according to a set period within an expiration period set by the first processing unit, and notify the The first processing unit deletes the short message from the waiting message queue.
- the first processing unit is further configured to: when the communication unit determines that the destination user terminal resumes normal communication according to the network side notification, send the short message stored in the waiting message queue to the destination user terminal. .
- the instruction sent by the destination user terminal received by the communication unit for acquiring the expired short message is:
- a source address for uniquely identifying the destination user terminal or, including a source address for uniquely identifying the destination user terminal, and an initial submission time of the expired short message, an end submission time of the expired short message, and a key in the expired short message
- a source address for uniquely identifying the destination user terminal or, including a source address for uniquely identifying the destination user terminal, and an initial submission time of the expired short message, an end submission time of the expired short message, and a key in the expired short message
- the second processing unit is further configured to: in the expired message pool, obtain an expired short message that meets a query condition characterized by a parameter included in the instruction.
- the second processing unit is further configured to detect an occupancy rate of the expired message pool in a specified period, and when the occupancy rate is determined to reach a set threshold, the expired message pool is used. The longest saved part of the expired short message is deleted.
- the short message center does not directly delete the short message, but transfers to the expired message pool, and after receiving the instruction for acquiring the expired message sent by the destination user terminal, expires
- the message pool is searched for an expired message that satisfies the query condition included in the foregoing instruction, and the expired short message that meets the query condition is taken out from the expired message pool and sent to the destination user terminal.
- the expired short message is not directly deleted by the short message center, and is only sent to the short message center when the destination user terminal intentionally obtains, so that the short message can be sent to the user after the expiration of the validity period.
- the requirement is to provide the short message to the destination user terminal, thereby improving the service quality of the communication system, improving the user experience, and The expired short message is sent when requested by the user. Therefore, the performance impact on the short message center is very low, and the operation load of the short message center is not caused, and the service performance of the short message center is guaranteed.
- FIG. 1 is a schematic structural diagram of a communication system system according to an embodiment of the present invention.
- FIG. 2 is a schematic structural diagram of a short message center in an embodiment of the present invention.
- FIG. 3 is a flowchart of processing an expired short message by a short message center according to an embodiment of the present invention. detailed description
- a processing method and apparatus for processing a short-lived short message are proposed, so that the user terminal can selectively receive a short message that has passed the validity period without significantly increasing the service burden of the short message center.
- a valid period message pool (referred to as an expired message pool) is added to the short message center, and the short message that the source user terminal fails to send to the destination user terminal and has expired is stored in the expired message pool.
- the short message center does not retry the short message in the expired message pool, and only sends the short message in the expired message pool again at the request of the user terminal.
- the destination user terminal may send an instruction (eg, a short message, a voice instruction, etc.) of the specified format content to the short message center, and after receiving the instructions, the short message center obtains the short message that meets the conditions specified by the instruction from the expired message pool. And sent to the destination user terminal.
- an instruction eg, a short message, a voice instruction, etc.
- the communication system includes at least a short message center, and the short message exceeding the expiration date sent by the source user terminal to the destination user terminal is stored in the expired message pool; the so-called expired message The pool is a dedicated storage area of the expired short message. Then, when receiving the instruction for obtaining the expired short message sent by the destination user terminal, the short message center obtains the corresponding expired short message in the expired message pool, and expires Send a short message to the item User terminal.
- the short message center includes a first processing unit 20, a communication unit 21, and a second processing unit 22, where
- the first processing unit 20 is configured to store, by the source user terminal, the short message that exceeds the validity period of the destination user terminal into the expired message pool;
- the communication unit 21 is configured to receive an instruction sent by the destination user terminal to obtain an expired short message.
- the second processing unit 22 is configured to: obtain, according to the instruction sent by the destination user terminal, an expired short message corresponding to the instruction in the expired message pool, and send the expired short message to the destination user terminal by using the communication unit 20 .
- the communication unit is further configured to receive a short message sent by the source user terminal to the destination user terminal, send the short message to the destination user terminal, and determine that the destination user terminal fails to receive the short message; the first processing unit, And is further configured to save the short message that the communication unit determines that the destination user terminal receives the failure to the waiting message queue, and set an expiration date of the short message.
- the communication unit is further configured to resend the short message to the destination user terminal according to a set period within an expiration period set by the first processing unit, and notify the first process when the sending is successful.
- the unit deletes the short message from the waiting message queue.
- the first processing unit is further configured to: when the communication unit determines that the destination user terminal resumes normal communication according to the network side notification, send the short message stored in the waiting message queue to the destination user terminal.
- the instruction for acquiring the expired short message sent by the destination user terminal received by the communication unit includes: a source address for uniquely identifying the destination user terminal; or, a source address for uniquely identifying the destination user terminal, and expiration One or any combination of the start submission time of the short message, the end submission time of the expired short message, and the keywords in the expired short message.
- the second processing unit is further configured to acquire, in the expired message pool, a compliance An expired short message of the query condition represented by the parameter contained in the instruction.
- the second processing unit is further configured to detect an occupancy rate of the expired message pool during a specified period, and save the time in the expired message pool when determining that the occupancy rate reaches a set threshold The longest part of the expired short message is deleted.
- the expired message pool may be set in the short message center, as a built-in module of the short message center, or may be an independent device, such as a database server, and is not described herein.
- the user terminal A is the source user terminal
- the user terminal B is the destination user terminal.
- the detailed process of processing the expired short message in the short message center is as follows:
- Step 300 The short message center user terminal B fails to receive a short message sent by the user terminal A to it, which is called short message a.
- the short message a sent by the user terminal A to the user terminal B is sent to the short message center, and when the short message center sends the short message a to the user terminal B, the user terminal B fails to receive normally, for example, the user terminal If the short message center receives the terminal call response returned by the wireless side (for example, the base station), the short message center determines that the user terminal B is absent, that is, the short message a sent by the user terminal A cannot be normally received, that is, the short message a Failed to send.
- Step 310 The short message center caches the short message a in the waiting message queue and sets a corresponding expiration date.
- the short message a has a validity period of 2 to 3 days.
- the short message center will retry the transmission according to the configured retry policy, that is, periodically to the user terminal B according to a preset period. Resend the short message a. If the short message a retry is successfully sent within the expiration date, the short message center marks the short message a successfully processed, does not store in the expired message pool, and is deleted from the waiting message queue; If the short message a fails to be sent, the short message center will store the short message a in the expired message pool when the validity period expires.
- Step 320 The short message center stores the short message a exceeding the expiration date in the expired message pool. After the short message a is moved into the expired message pool, the short message center will no longer retry sending the short message a.
- the short message center may continue to receive the short message sent by the user terminal a or other user terminal to the user terminal B, and store the short message that failed to be sent into the waiting message queue and set a limited time limit, and the expiration date will be exceeded.
- the short message stores the expired message pool, which will not be described here.
- Step 330 The short message center determines that the user terminal B resumes normal communication.
- the user terminal B When the user terminal B resumes normal communication, for example, the user terminal B is powered on, or the user terminal B re-enters the service area (for example, the user terminal B enters the domestic service area from the foreign service area, or the signal shielding area performs the signal unshielded area. Or,), or the user terminal B is changed from the other unavailable state to the available state.
- the user terminal B will perform network registration. Therefore, the network side (for example, the base station) knows that the user terminal B has resumed normal communication. Then, the network side will notify the short message center of this situation, so that the short message center knows that the user terminal B can perform normal communication at this time.
- the short message center may be directly notified by the base station, or may be notified by the base station to the home location register (HLR, Home Location Register), and then notified by the HLR. Message Center.
- Step 340 The short message center determines that the user terminal B returns the normal communication, and sends the short message for the user terminal B buffered in the waiting queue message queue to the user terminal B.
- the short messages in the waiting message queue that can be cached are all short messages that have failed to be sent and have not exceeded the expiration date. Therefore, the short message center should immediately send these short messages to the user terminal B when it knows that the user terminal B resumes normal communication. For short messages in the expired message pool, although it is also a short message that fails to be sent, the short message center will not actively send the message, but the user terminal B should actively obtain the short message center, so that it can be reduced.
- the system is running negative Load, effectively save system overhead.
- Step 350 The short message center receives an instruction sent by the user terminal B to obtain the expired short message a.
- the instruction may also be sent in the form of a short message.
- the user can edit the above instruction in the specified format on the user terminal B to obtain the expired short message a.
- the editing format of the above instruction is as follows:
- Orig Addr can be used to uniquely identify user terminal B
- End Scst End submission time of expired short message, optional parameters
- Key Word The keyword in the expired short message content, optional parameters.
- the other three parameters may be one or any combination of the other parameters.
- the content included in the parameter Orig Addr is the identifier of the user terminal B. For example, when the user terminal B is a mobile phone, Orig—Addr is its mobile number. The default destination address of this command is the short message center address.
- the short message center After receiving the above instructions, the short message center will find out in the expired message pool whether there is an expired short message that meets the query condition represented by the parameter according to the parameters it contains.
- Step 360 After receiving the instruction of the expired short message a, the short message center obtains the corresponding expired short message a in the expired message pool, and sends the expired short message a to the user terminal B.
- expired short message there may be more than one expired short message for the user terminal B, so as long as it is an expired short message that meets the parameters set in the instruction sent by the user terminal B (ie, an expired short message that meets the query condition of each parameter representation)
- the description should be made from the expired message pool and sent to the user terminal B.
- only one expired short message a is taken as an example, but the implementation is not limited thereto.
- the short message center receives the short time sent by the user terminal B to obtain an expired short.
- the format of the instruction is checked. If it is correct, the short message center will obtain the short message a in the expired message and send it to the user terminal B. If not, the short message center will send the correct instruction.
- the prompt message is sent to the user terminal B.
- the function of the prompt message is mainly to indicate the error of the instruction format to the user terminal B, and prompt the correct format, so that the user terminal B corrects the instruction.
- the short message center fails to send the expired short message a extracted from the expired message pool, the retry transmission is not performed, and the retry is directly performed. Expired message pool.
- the short message center will detect the occupancy rate of the expired message pool according to a specified period (for example, every morning, or a low traffic period), when the occupancy rate reaches a set threshold.
- a specified period for example, every morning, or a low traffic period
- the expired short message exceeding the specified period is deleted, for example, the partially expired short message with the longest saved time is deleted to ensure a certain idle rate in the expired message pool.
- the short message center does not directly delete the short message center, but transfers to the expired message pool, and receives the instruction for acquiring the expired message sent by the destination user terminal. Then, it is found in the expired message pool whether there is an expired message that satisfies the query condition included in the above instruction, and the expired short message that meets the query condition is taken out from the expired message pool and sent to the destination user terminal.
- the expired short message is not directly deleted by the short message center, and is only sent to the short message center when the destination user terminal intentionally obtains, so that after the short message exceeds the expiration date, the short message can still be Provided to the user terminal according to the user's requirements, thereby improving the quality of service of the system, and because the expired short message is sent when requested by the user, the performance of the short message center is very low, and the short message center is not caused.
- the running load guarantees the service performance of the short message center.
- 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 can be executed by computing devices
- the program code of the lines is implemented so that they can be stored in the storage device by the computing device, or they can be made into individual integrated circuit modules, or a plurality of modules or steps can be made into a single integrated circuit module. to realise.
- the invention is not limited to any specific combination of hardware and software.
- the short message center stores the short message of the expiration date of the source user terminal to the destination user terminal in the expired message pool, and the short message center receives the short message sent by the destination user terminal for obtaining the expired short message.
- the instruction is executed, the expired short message corresponding to the instruction is obtained in the expired message pool, and the expired short message is sent to the destination user terminal.
- the short message can be further provided to the destination user terminal according to the user's requirement, thereby improving the service quality of the communication system, improving the user experience, and issuing the expiration short when the user requests.
- the message therefore, has a very low impact on the performance of the short message center, does not cause an operational load on the short message center, and guarantees the service performance of the short message center.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Information Transfer Between Computers (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
一种处理过期短消息的方法及装置 技术领域 Method and device for processing expired short message
本发明涉及通信领域, 特别涉及一种处理过期短消息的方法及装置。 背景技术 The present invention relates to the field of communications, and in particular, to a method and apparatus for processing expired short messages. Background technique
短消息业务是移动电信运营商最主要的增值业务之一, 也是使用最广 泛、 最频繁的业务。 为了不断提高业务运营能力, 短消息中心也在不断进 行改进。 Short message service is one of the most important value-added services of mobile telecom operators, and it is also the most widely used and most frequently used service. In order to continuously improve the operational capabilities of the business, the short message center is constantly improving.
短消息业务的特点是非实时, 同时又具有时效性。 短消息业务和语音 业务不同, 语音业务是实时的, 非接通即挂断。 短消息业务是非实时的, 源用户向目的用户发送一条短消息, 目的用户不会实时收到消息而是有一 定延时。 如果目的用户此时为关机或不在服务区等状态时, 短消息中心将 緩存消息, 并进行重试, 目的用户状态再次可用时, 仍然能够收到消息。 The short message service is characterized by non-real time and timeliness. The short message service is different from the voice service. The voice service is real-time, and it is disconnected when it is not connected. The short message service is non-real-time. The source user sends a short message to the destination user. The destination user does not receive the message in real time but has a delay. If the destination user is in the state of shutdown or out of service, the short message center will cache the message and retry. When the destination user status is available again, the message can still be received.
但是, 短消息中心不能无限制地緩存暂时无法下发的短消息。 因此, 需要给每条短消息设置时效, 即有效期。 短消息有效期指一条短消息的有 效期限。 源用户可以给短消息设置有效期, 如果在有效期内, 消息不能成 功传送给目的用户, 就会过期, 无法再下发。 短消息过期的情况经常出现, 例如, 目的用户关机, 或者, 目的用户不在服务区等等。 根据用户使用习 惯和短消息业务特点, 短消息的缺省有效期不会太长, 一般为 2至 3天。 However, the short message center cannot cache unrestricted short messages that cannot be delivered temporarily. Therefore, you need to set the time limit for each short message, that is, the expiration date. The short message validity period refers to the effective period of a short message. The source user can set the validity period for the short message. If the message cannot be successfully transmitted to the destination user within the validity period, the message will expire and cannot be delivered. Short message expiration often occurs, for example, the destination user is shut down, or the destination user is out of service, and so on. Depending on the user's usage and short message service characteristics, the default validity period of short messages is not too long, typically 2 to 3 days.
然而, 针对短消息业务的上述特点, 现有技术下, 存在以下缺陷: 当 目的用户能够接收消息时,例如, 目的用户从国外归来(即已转回服务区), 或, 手机损坏维修完毕等等情况, 由于之前的短消息已经过了有效期, 目 的用户无法再收到这些短消息, 这样, 很可能会给目的用户带来某种程度 的损失, 降低用户体验。 发明内容 However, in view of the above characteristics of the short message service, the prior art has the following drawbacks: When the destination user can receive the message, for example, the destination user returns from abroad (ie, has been transferred back to the service area), or the mobile phone is damaged and repaired, etc. In other cases, since the previous short message has expired, the destination user can no longer receive these short messages, which may bring a certain degree of loss to the target user and reduce the user experience. Summary of the invention
本发明实施例提供一种处理过期短消息的方法及装置, 用以在短消息 超过有效期限后, 仍可以按照用户需求提供给目的用户终端。 The embodiment of the invention provides a method and a device for processing an expired short message, which can be provided to a destination user terminal according to user requirements after the short message exceeds the expiration date.
本发明实施例提供的具体技术方案如下: The specific technical solutions provided by the embodiments of the present invention are as follows:
本发明提供了一种处理过期短消息的方法, 所述方法包括: The present invention provides a method for processing an expired short message, the method comprising:
短消息中心将源用户终端发往目的用户终端的超过有效期限的短消息 存储至过期消息池中; 所述过期消息池为过期短消息的专属存储区域; 所述短消息中心在接收到目的用户终端发送的用于获取过期短消息的 指令时, 在所述过期消息池中获取对应所述指令的过期短消息, 并将所述 过期短消息发送给所述目的用户终端。 The short message center stores the short message exceeding the expiration date of the source user terminal to the destination user terminal in the expired message pool; the expired message pool is a dedicated storage area of the expired short message; the short message center receives the destination user When the terminal sends an instruction for obtaining the expired short message, the expired short message corresponding to the instruction is obtained in the expired message pool, and the expired short message is sent to the destination user terminal.
在上述方案中, 所述短消息中心将源用户终端发往目的用户终端的超 过有效期限的短消息存储至过期消息池之前, 所述方法还包括: In the above solution, the short message center stores the short message of the expiration date of the source user terminal to the destination user terminal before the expired message pool, and the method further includes:
所述短消息中心接收源用户终端发往目的用户终端的短消息; 所述短消息中心向目的用户终端发送所述短消息, 并确定所述目的用 户终端接收短消息失败; The short message center receives a short message sent by the source user terminal to the destination user terminal; the short message center sends the short message to the destination user terminal, and determines that the destination user terminal fails to receive the short message;
所述短消息中心将所述短消息保存至等待消息队列中, 并设置所述短 消息的有效期限。 The short message center saves the short message to a waiting message queue and sets an expiration date of the short message.
在上述方案中, 所述短消息中心将所述短消息保存至等待消息队列中 , 并设置所述短消息的有效期限后, 所述方法还包括: In the above solution, after the short message center saves the short message to the waiting message queue, and after setting the expiration date of the short message, the method further includes:
在所述有效期限内, 短消息中心按照设定周期向所述目的用户终端重 新发送所述短消息, 并在发送成功时, 将所述短消息从所述等待消息队列 中删除。 During the expiration date, the short message center resends the short message to the destination user terminal according to a set period, and deletes the short message from the waiting message queue when the transmission is successful.
在上述方案中, 所述短消息中心将所述短消息保存至等待消息队列中 后, 所述方法还包括: In the above solution, after the short message center saves the short message to the waiting message queue, the method further includes:
在短消息中心根据网络侧通知确定所述目的用户终端恢复正常通信, 则将保存在所述等待消息队列中的短消息发往所述目的用户终端。 Determining, in the short message center, that the destination user terminal resumes normal communication according to the network side notification, Then, the short message saved in the waiting message queue is sent to the destination user terminal.
在上述方案中, 所述用于获取过期短消息的指令包含用于唯一标识目 的用户终端的源地址; In the above solution, the instruction for acquiring an expired short message includes a source address for uniquely identifying a target user terminal;
或者, 所述用于获取过期短消息的指令包含用于唯一标识目的用户终 端的源地址, 以及过期短消息的起始提交时间、 过期短消息的结束提交时 间和过期短消息中的关键字中的一种或任意组合。 Or the instruction for acquiring the expired short message includes a source address for uniquely identifying the destination user terminal, and an initial submission time of the expired short message, an end submission time of the expired short message, and a keyword in the expired short message. One or any combination.
在上述方案中, 所述短消息中心接收目的用户发送的用于获取过期短 消息的指令, 并在过期消息池中获取对应所述指令的过期短消息, 包括: 所述短消息中心在所述过期消息池中, 获取符合所述指令中所包含参 数表征的查询条件的过期短消息。 In the above solution, the short message center receives an instruction for acquiring an expired short message sent by the destination user, and obtains an expired short message corresponding to the instruction in the expired message pool, including: the short message center is in the In the expired message pool, an expired short message is obtained that meets the query condition characterized by the parameters included in the instruction.
在上述方案中, 所述短消息中心在指定时期对所述过期消息池的占用 率进行检测, 并在确定所述占用率达到设定阔值时, 将所述过期消息池中 保存时间最长的部分过期短消息删除。 In the above solution, the short message center detects the occupancy rate of the expired message pool during a specified period, and when the occupancy rate reaches a set threshold, the longest storage time in the expired message pool is The partial expired short message is deleted.
本发明还提供了一种处理过期短消息的装置, 所述装置包括: 第一处理单元, 用于将源用户终端发往目的用户终端的超过有效期限 的短消息存储至过期消息池中; 所述过期消息池为过期短消息的专属存储 区域; The present invention further provides an apparatus for processing an expired short message, the apparatus comprising: a first processing unit, configured to store, by the source user terminal, a short message exceeding an expiration date of the destination user terminal into an expired message pool; The expired message pool is a dedicated storage area of expired short messages;
通信单元, 用于接收所述目的用户发送的用于获取过期短消息的指令; 第二处理单元, 用于根据所述通信单元接收的、 所述目的用户终端发 送的指令, 在所述过期消息池中获取对应所述指令的过期短消息, 并将该 过期短消息发送给所述目的用户终端。 a communication unit, configured to receive an instruction for acquiring an expired short message sent by the destination user, where the second processing unit is configured to: according to the instruction sent by the destination user terminal, the expired message An expired short message corresponding to the instruction is obtained in the pool, and the expired short message is sent to the destination user terminal.
在上述方案中, 所述通信单元, 还用于接收源用户终端发往目的用户 终端的短消息, 向目的用户终端发送所述短消息, 并确定目的用户终端接 收短消息失败; In the above solution, the communication unit is further configured to receive a short message sent by the source user terminal to the destination user terminal, send the short message to the destination user terminal, and determine that the destination user terminal fails to receive the short message;
所述第一处理单元, 还用于将所述通信单元确定目的用户终端接收败 的短消息保存至等待消息队列中, 并设置所述短消息的有效期限。 The first processing unit is further configured to: determine, by the communication unit, that the destination user terminal receives the defeat The short message is saved to the waiting message queue, and the expiration date of the short message is set.
在上述方案中, 所述通信单元, 还用于在所述第一处理单元设置的有 效期限内, 按照设定周期向目的用户终端重新发送所述短消息, 并在发送 成功时, 通知所述第一处理单元将所述短消息从所述等待消息队列中删除。 In the above solution, the communication unit is further configured to resend the short message to the destination user terminal according to a set period within an expiration period set by the first processing unit, and notify the The first processing unit deletes the short message from the waiting message queue.
在上述方案中, 所述第一处理单元, 还用于在所述通信单元根据网络 侧通知确定目的用户终端恢复正常通信时, 将保存在等待消息队列中的短 消息发往所述目的用户终端。 In the above solution, the first processing unit is further configured to: when the communication unit determines that the destination user terminal resumes normal communication according to the network side notification, send the short message stored in the waiting message queue to the destination user terminal. .
在上述方案中, 所述通信单元接收的目的用户终端发送的用于获取过 期短消息的指令: In the above solution, the instruction sent by the destination user terminal received by the communication unit for acquiring the expired short message is:
包含用于唯一标识目的用户终端的源地址; 或者, 包含用于唯一标识 目的用户终端的源地址, 以及过期短消息的起始提交时间、 过期短消息的 结束提交时间和过期短消息中的关键字中的一种或任意组合。 Included as a source address for uniquely identifying the destination user terminal; or, including a source address for uniquely identifying the destination user terminal, and an initial submission time of the expired short message, an end submission time of the expired short message, and a key in the expired short message One or any combination of words.
在上述方案中, 所述第二处理单元, 还用于在所述过期消息池中, 获 取符合所述指令中所包含参数表征的查询条件的过期短消息。 In the above solution, the second processing unit is further configured to: in the expired message pool, obtain an expired short message that meets a query condition characterized by a parameter included in the instruction.
在上述方案中, 所述第二处理单元, 还用于在指定时期对所述过期消 息池的占用率进行检测, 并在确定所述占用率达到设定阔值时, 将所述过 期消息池中保存时间最长的部分过期短消息删除。 In the above solution, the second processing unit is further configured to detect an occupancy rate of the expired message pool in a specified period, and when the occupancy rate is determined to reach a set threshold, the expired message pool is used. The longest saved part of the expired short message is deleted.
本发明实施例中, 短消息过期后, 短消息中心不是将短消息直接删除, 而是转移到过期消息池中, 并在接收到目的用户终端发送的用于获取过期 消息的指令后, 到过期消息池中查找是否有满足上述指令所包含查询条件 的过期消息, 并将符合所述查询条件的过期短消息从过期消息池中取出下 发给目的用户终端。 显然, 本实施例中, 过期短消息不会被短消息中心直 接删除, 并且仅当目的用户终端有意获取时短消息中心才向其下发, 这样, 可以在短消息超过有效期限后, 按照用户需求将短消息再提供给目的用户 终端, 从而提高了通信系统的服务质量, 提升了用户体验, 并且, 由于在 用户要求时才下发过期短消息, 因此, 对短消息中心的性能影响非常低, 不会给短消息中心造成运行负荷, 保证了短消息中心的服务性能。 附图说明 In the embodiment of the present invention, after the short message expires, the short message center does not directly delete the short message, but transfers to the expired message pool, and after receiving the instruction for acquiring the expired message sent by the destination user terminal, expires The message pool is searched for an expired message that satisfies the query condition included in the foregoing instruction, and the expired short message that meets the query condition is taken out from the expired message pool and sent to the destination user terminal. Obviously, in this embodiment, the expired short message is not directly deleted by the short message center, and is only sent to the short message center when the destination user terminal intentionally obtains, so that the short message can be sent to the user after the expiration of the validity period. The requirement is to provide the short message to the destination user terminal, thereby improving the service quality of the communication system, improving the user experience, and The expired short message is sent when requested by the user. Therefore, the performance impact on the short message center is very low, and the operation load of the short message center is not caused, and the service performance of the short message center is guaranteed. DRAWINGS
图 1为本发明实施例中通信系统体系的架构示意图; 1 is a schematic structural diagram of a communication system system according to an embodiment of the present invention;
图 2为本发明实施例中短消息中心功能结构示意图; 2 is a schematic structural diagram of a short message center in an embodiment of the present invention;
图 3为本发明实施例中短消息中心处理过期短消息的流程图。 具体实施方式 FIG. 3 is a flowchart of processing an expired short message by a short message center according to an embodiment of the present invention. detailed description
本发明实施例中, 提出了一种处理过有效期短消息的处理方法及装置, 在不明显增加短消息中心业务负担的情况下, 使用户终端能够有选择地接 收已经过有效期的短消息。 In the embodiment of the present invention, a processing method and apparatus for processing a short-lived short message are proposed, so that the user terminal can selectively receive a short message that has passed the validity period without significantly increasing the service burden of the short message center.
为了实现上述目的, 本实施例中, 需要在短消息中心增加过有效期消 息池(简称为过期消息池), 将源用户终端向目的用户终端发送失败且已经 超过有效期的短消息存储于过期消息池中, 短消息中心不对过期消息池中 的短消息进行重试性发送, 只会应用户终端的要求, 再次发送过期消息池 中的短消息。 In this embodiment, in the embodiment, a valid period message pool (referred to as an expired message pool) is added to the short message center, and the short message that the source user terminal fails to send to the destination user terminal and has expired is stored in the expired message pool. The short message center does not retry the short message in the expired message pool, and only sends the short message in the expired message pool again at the request of the user terminal.
而目的用户终端可以发送指定格式内容的指令(如、 短消息, 语音指 令等等)到短消息中心, 短消息中心接收获取到这些指令后, 从过期消息 池中获取符合指令规定条件的短消息, 并下发给目的用户终端。 The destination user terminal may send an instruction (eg, a short message, a voice instruction, etc.) of the specified format content to the short message center, and after receiving the instructions, the short message center obtains the short message that meets the conditions specified by the instruction from the expired message pool. And sent to the destination user terminal.
下面结合附图对本发明优选的实施方式进行详细说明。 Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
参阅图 1 所示, 本发明实施例中, 通信系统内至少包括短消息中心, 用于将源用户终端发往目的用户终端的超过有效期限的短消息存储至过期 消息池中; 所谓的过期消息池为过期短消息的专属存储区域, 接着, 短消 息中心在接收到目的用户终端发送的用于获取过期短消息的指令时, 在上 述过期消息池中获取相应的过期短消息, 并将该过期短消息发送给所述目 的用户终端。 As shown in FIG. 1 , in the embodiment of the present invention, the communication system includes at least a short message center, and the short message exceeding the expiration date sent by the source user terminal to the destination user terminal is stored in the expired message pool; the so-called expired message The pool is a dedicated storage area of the expired short message. Then, when receiving the instruction for obtaining the expired short message sent by the destination user terminal, the short message center obtains the corresponding expired short message in the expired message pool, and expires Send a short message to the item User terminal.
参阅图 2所示, 本发明实施例中, 短消息中心包括第一处理单元 20、 通信单元 21和第二处理单元 22, 其中, Referring to FIG. 2, in the embodiment of the present invention, the short message center includes a first processing unit 20, a communication unit 21, and a second processing unit 22, where
第一处理单元 20, 用于将源用户终端发往目的用户终端的超过有效期 限的短消息存储至过期消息池中; The first processing unit 20 is configured to store, by the source user terminal, the short message that exceeds the validity period of the destination user terminal into the expired message pool;
通信单元 21 , 用于接收目的用户终端发送的用以获取过期短消息的指 令; The communication unit 21 is configured to receive an instruction sent by the destination user terminal to obtain an expired short message.
第二处理单元 22 , 用于根据目的用户终端发送的所述指令, 在上述过 期消息池中获取对应所述指令的过期短消息, 并将所述过期短消息通过通 信单元 20发送给目的用户终端。 The second processing unit 22 is configured to: obtain, according to the instruction sent by the destination user terminal, an expired short message corresponding to the instruction in the expired message pool, and send the expired short message to the destination user terminal by using the communication unit 20 .
其中, 所述通信单元, 还用于接收源用户终端发往目的用户终端的短 消息, 向目的用户终端发送所述短消息, 并确定目的用户终端接收短消息 失败; 所述第一处理单元, 还用于将所述通信单元确定目的用户终端接收 败的短消息保存至等待消息队列中, 并设置所述短消息的有效期限。 The communication unit is further configured to receive a short message sent by the source user terminal to the destination user terminal, send the short message to the destination user terminal, and determine that the destination user terminal fails to receive the short message; the first processing unit, And is further configured to save the short message that the communication unit determines that the destination user terminal receives the failure to the waiting message queue, and set an expiration date of the short message.
其中, 所述通信单元, 还用于在所述第一处理单元设置的有效期限内, 按照设定周期向目的用户终端重新发送所述短消息, 并在发送成功时, 通 知所述第一处理单元将所述短消息从所述等待消息队列中删除。 The communication unit is further configured to resend the short message to the destination user terminal according to a set period within an expiration period set by the first processing unit, and notify the first process when the sending is successful. The unit deletes the short message from the waiting message queue.
其中, 所述第一处理单元, 还用于在所述通信单元根据网络侧通知确 定目的用户终端恢复正常通信时, 将保存在等待消息队列中的短消息发往 所述目的用户终端。 The first processing unit is further configured to: when the communication unit determines that the destination user terminal resumes normal communication according to the network side notification, send the short message stored in the waiting message queue to the destination user terminal.
其中, 所述通信单元接收的目的用户终端发送的用于获取过期短消息 的指令: 包含用于唯一标识目的用户终端的源地址; 或者, 包含用于唯一 标识目的用户终端的源地址, 以及过期短消息的起始提交时间、 过期短消 息的结束提交时间和过期短消息中的关键字中的一种或任意组合。 The instruction for acquiring the expired short message sent by the destination user terminal received by the communication unit includes: a source address for uniquely identifying the destination user terminal; or, a source address for uniquely identifying the destination user terminal, and expiration One or any combination of the start submission time of the short message, the end submission time of the expired short message, and the keywords in the expired short message.
其中, 所述第二处理单元, 还用于在所述过期消息池中, 获取符合所 述指令中所包含参数表征的查询条件的过期短消息。 The second processing unit is further configured to acquire, in the expired message pool, a compliance An expired short message of the query condition represented by the parameter contained in the instruction.
其中, 所述第二处理单元, 还用于在指定时期对所述过期消息池的占 用率进行检测, 并在确定所述占用率达到设定阔值时, 将所述过期消息池 中保存时间最长的部分过期短消息删除。 The second processing unit is further configured to detect an occupancy rate of the expired message pool during a specified period, and save the time in the expired message pool when determining that the occupancy rate reaches a set threshold The longest part of the expired short message is deleted.
本实施例中, 过期消息池可以设置在短消息中心内, 作为短消息中心 的内置模块, 也可以是独立存在的装置, 如, 数据库服务器, 在此不再赘 述。 In this embodiment, the expired message pool may be set in the short message center, as a built-in module of the short message center, or may be an independent device, such as a database server, and is not described herein.
基于上述技术方案, 参阅图 3所示, 本发明实施例中, 以用户终端 A 为源用户终端, 用户终端 B为目的用户终端, 介绍短消息中心处理过期短 消息的详细流程如下: Based on the foregoing technical solution, as shown in FIG. 3, in the embodiment of the present invention, the user terminal A is the source user terminal, and the user terminal B is the destination user terminal. The detailed process of processing the expired short message in the short message center is as follows:
步骤 300: 短消息中心用户终端 B未能正常接收用户终端 A向其发送 的一条短消息, 称为短消息 a。 Step 300: The short message center user terminal B fails to receive a short message sent by the user terminal A to it, which is called short message a.
实际应用中, 用户终端 A发往用户终端 B的短消息 a发送至短消息中 心, 而短消息中心将该短消息 a发送给用户终端 B时, 用户终端 B未能正 常接收, 如, 用户终端 B关机或者不在服区, 则短消息中心接收到无线侧 (如, 基站)返回的终呼响应时, 确定用户终端 B缺席, 即无法正常接收 用户终端 A发送的短消息 a, 即短消息 a发送失败。 In the actual application, the short message a sent by the user terminal A to the user terminal B is sent to the short message center, and when the short message center sends the short message a to the user terminal B, the user terminal B fails to receive normally, for example, the user terminal If the short message center receives the terminal call response returned by the wireless side (for example, the base station), the short message center determines that the user terminal B is absent, that is, the short message a sent by the user terminal A cannot be normally received, that is, the short message a Failed to send.
步骤 310: 短消息中心将短消息 a緩存在等待消息队列中, 并设置相应 的有效期限。 Step 310: The short message center caches the short message a in the waiting message queue and sets a corresponding expiration date.
较佳的, 短消息 a的有效期限一般为 2到 3天, 在这段有效期限内, 短消息中心会根据配置的重试策略进行重试发送, 即按照预设的周期定期 向用户终端 B重新发送短消息 a,若在有效期限内 ,短消息 a重试发送成功 , 则短消息中心标记短消息 a处理成功, 不存入过期消息池, 并从等待消息 队列中删除; 若在有效期限内, 短消息 a重试发送失败, 则短消息中心会 在超过有效期限时, 将短消息 a存入过期消息池中。 步骤 320: 短消息中心将超过有效期限的短消息 a存入过期消息池。 将短消息 a移入过期消息池后,短消息中心将不再对短消息 a进行重试 发送。 Preferably, the short message a has a validity period of 2 to 3 days. During the validity period, the short message center will retry the transmission according to the configured retry policy, that is, periodically to the user terminal B according to a preset period. Resend the short message a. If the short message a retry is successfully sent within the expiration date, the short message center marks the short message a successfully processed, does not store in the expired message pool, and is deleted from the waiting message queue; If the short message a fails to be sent, the short message center will store the short message a in the expired message pool when the validity period expires. Step 320: The short message center stores the short message a exceeding the expiration date in the expired message pool. After the short message a is moved into the expired message pool, the short message center will no longer retry sending the short message a.
在此过程中, 短消息中心可以继续接收用户终端 a或者其他用户终端 向用户终端 B发送的短消息, 并将发送失败的短消息存入等待消息队列并 设置有限期限, 以及将超过有效期限的短消息存储过期消息池, 在此不再 赘述。 In this process, the short message center may continue to receive the short message sent by the user terminal a or other user terminal to the user terminal B, and store the short message that failed to be sent into the waiting message queue and set a limited time limit, and the expiration date will be exceeded. The short message stores the expired message pool, which will not be described here.
步骤 330: 短消息中心确定用户终端 B恢复正常通信。 Step 330: The short message center determines that the user terminal B resumes normal communication.
用户终端 B恢复正常通信时, 例如, 用户终端 B开机, 或者, 用户终 端 B重新进入服务区 (如, 用户终端 B由国外服务区进入国内服务区, 或 者, 由信号屏蔽地区进行信号非屏蔽地区等等), 或者, 用户终端 B由其他 不可用状态转为可用状态, 此时, 用户终端 B将会进行网络注册, 因此, 网络侧 (如, 基站)会获知用户终端 B 已恢复正常通信, 那么, 网络侧会 将这一情况通知短消息中心, 令短消息中心获知用户终端 B此时可以进行 正常通信。 When the user terminal B resumes normal communication, for example, the user terminal B is powered on, or the user terminal B re-enters the service area (for example, the user terminal B enters the domestic service area from the foreign service area, or the signal shielding area performs the signal unshielded area. Or,), or the user terminal B is changed from the other unavailable state to the available state. At this time, the user terminal B will perform network registration. Therefore, the network side (for example, the base station) knows that the user terminal B has resumed normal communication. Then, the network side will notify the short message center of this situation, so that the short message center knows that the user terminal B can perform normal communication at this time.
本实施例中, 网络侧向短消息中心通知用户终端 B恢复正常通信时, 可以由基站直接通知短消息中心, 也可以由基站通知归属位置寄存器 ( HLR , Home Location Register ), 再由 HLR通知短消息中心。 In this embodiment, when the network side notifies the user terminal B to resume normal communication, the short message center may be directly notified by the base station, or may be notified by the base station to the home location register (HLR, Home Location Register), and then notified by the HLR. Message Center.
步骤 340: 短消息中心确定用户终端 B恢复正常通信后, 将緩存在等 待队消息队列中的针对用户终端 B的短消息发往用户终端 B。 Step 340: The short message center determines that the user terminal B returns the normal communication, and sends the short message for the user terminal B buffered in the waiting queue message queue to the user terminal B.
能够緩存的等待消息队列中的短消息, 均是发送失败且未超过有效期 限的短消息, 因此, 短消息中心应当在获知用户终端 B恢复正常通信时, 立即将这些短消息发送给用户终端 B; 而对于过期消息池中的短消息, 虽 然也属于发送失败的短消息, 但是短消息中心不会主动进行下发, 而是应 当由用户终端 B主动向短消息中心进行获取, 这样, 可以降低系统运行负 荷, 有效节省系统开销。 The short messages in the waiting message queue that can be cached are all short messages that have failed to be sent and have not exceeded the expiration date. Therefore, the short message center should immediately send these short messages to the user terminal B when it knows that the user terminal B resumes normal communication. For short messages in the expired message pool, although it is also a short message that fails to be sent, the short message center will not actively send the message, but the user terminal B should actively obtain the short message center, so that it can be reduced. The system is running negative Load, effectively save system overhead.
步骤 350: 短消息中心接收用户终端 B发送的用于获取过期短消息 a 的指令; 本实施例中, 该指令也可以釆用短消息的形式发送。 Step 350: The short message center receives an instruction sent by the user terminal B to obtain the expired short message a. In this embodiment, the instruction may also be sent in the form of a short message.
本实施例中, 用户可以在用户终端 B上按照指定格式编辑上述指令, 用以获取过期短消息 a, 例如, 上述指令的编辑格式如下: In this embodiment, the user can edit the above instruction in the specified format on the user terminal B to obtain the expired short message a. For example, the editing format of the above instruction is as follows:
Orig Addr: 过期短消息的源地址, 必选参数, Orig Addr: Source address of the expired short message, required parameters,
Orig Addr可以用于唯一标识用户终端 B; Orig Addr can be used to uniquely identify user terminal B;
Begin— Sets: 过期短消息的起始提交时间, 可选参数; Begin—Sets: The initial submission time of the expired short message, optional parameters;
End Scst: 过期短消息的结束提交时间, 可选参数; End Scst: End submission time of expired short message, optional parameters;
Key Word: 过期短消息内容中的关键字, 可选参数。 Key Word: The keyword in the expired short message content, optional parameters.
其中,除 Orig— Addr为必选参数外,其他三种参数可以选择其中之一或 任意组合; 而参数 Orig Addr中包含的内容即是用户终端 B的标识, 如, 用户终端 B为手机时, Orig— Addr为其手机号码。该指令默认的目的地址为 短消息中心地址。 The other three parameters may be one or any combination of the other parameters. The content included in the parameter Orig Addr is the identifier of the user terminal B. For example, when the user terminal B is a mobile phone, Orig—Addr is its mobile number. The default destination address of this command is the short message center address.
短消息中心收到上述指令后, 会根据其包含的参数, 在过期消息池中 查找是否有符合所述参数所表征查询条件的过期短消息。 After receiving the above instructions, the short message center will find out in the expired message pool whether there is an expired short message that meets the query condition represented by the parameter according to the parameters it contains.
步骤 360:短消息中心接收到用户终端 B用以获取过期短消息 a的指令 后, 在过期消息池中获取对应的过期短消息 a, 并将过期短消息 a发往用户 终端 B。 Step 360: After receiving the instruction of the expired short message a, the short message center obtains the corresponding expired short message a in the expired message pool, and sends the expired short message a to the user terminal B.
实际应用中, 针对用户终端 B的过期短消息可能不止一条, 因此, 只 要是符合用户终端 B发送的指令中设置的各参数的过期短消息 (即符合各 参数表征的查询条件的过期短消息 ), 均应从过期消息池中提出并发送至用 户终端 B, 本实施例中, 仅以一条过期短消息 a为例进行说明, 但并不局限 于此一种实现方式。 In an actual application, there may be more than one expired short message for the user terminal B, so as long as it is an expired short message that meets the parameters set in the instruction sent by the user terminal B (ie, an expired short message that meets the query condition of each parameter representation) The description should be made from the expired message pool and sent to the user terminal B. In this embodiment, only one expired short message a is taken as an example, but the implementation is not limited thereto.
本实施例中, 短消息中心在接收到用户终端 B发送的用以获取过期短 消息 a 的指令时, 会检查该指令的格式是否正确, 若正确, 则短消息中心 会在过期消息中获取短消息 a并发往用户终端 B,若不正确,则短消息中心 会发送正确指令提示消息给用户终端 B , 提示消息的作用主要是向用户终 端 B指出指令格式的错误, 并提示正确格式, 以便于用户终端 B对指令进 行更正。 In this embodiment, the short message center receives the short time sent by the user terminal B to obtain an expired short. When the instruction of the message a is instructed, the format of the instruction is checked. If it is correct, the short message center will obtain the short message a in the expired message and send it to the user terminal B. If not, the short message center will send the correct instruction. The prompt message is sent to the user terminal B. The function of the prompt message is mainly to indicate the error of the instruction format to the user terminal B, and prompt the correct format, so that the user terminal B corrects the instruction.
另一方面, 为了避免系统产生不必要的开销, 较佳的, 若短消息中心 从过期消息池中提取出的过期短消息 a再次发送失败, 则不再进行重试发 送, 而直接再次存入过期消息池。 On the other hand, in order to avoid unnecessary overhead of the system, preferably, if the short message center fails to send the expired short message a extracted from the expired message pool, the retry transmission is not performed, and the retry is directly performed. Expired message pool.
基于上述实施例, 较佳的, 短消息中心将会按照指定时期 (例如, 每 天凌晨, 或者, 话务量低谷期), 对过期消息池的占用率进行检测, 当占用 率达到设定阔值时, 将超过指定期限的过期短消息进行删除, 如, 将保存 时间最久的部分过期短消息删除, 以保证过期消息池中有一定的空闲率。 Based on the above embodiment, preferably, the short message center will detect the occupancy rate of the expired message pool according to a specified period (for example, every morning, or a low traffic period), when the occupancy rate reaches a set threshold. When the expired short message exceeding the specified period is deleted, for example, the partially expired short message with the longest saved time is deleted to ensure a certain idle rate in the expired message pool.
综上所述, 本发明实施例中, 短消息过期后, 短消息中心不是将其直 接删除, 而是转移到过期消息池中, 并在接收到目的用户终端发送的用于 获取过期消息的指令后, 到过期消息池中查找是否有满足上述指令包含的 查询条件的过期消息, 并将符合查询条件的过期短消息从过期消息池中取 出下发给目的用户终端。 显然, 本实施例中, 过期短消息不会被短消息中 心直接删除, 并且仅当目的用户终端有意获取时短消息中心才向其下发, 这样, 可以在短消息超过有效期限后, 仍可以按照用户需求提供给目的用 户终端, 从而提高了系统的服务质量, 并且, 由于在用户要求时才下发过 期短消息, 因此, 对短消息中心的性能影响非常低, 不会给短消息中心造 成运行负荷, 保证了短消息中心的服务性能。 In summary, in the embodiment of the present invention, after the short message expires, the short message center does not directly delete the short message center, but transfers to the expired message pool, and receives the instruction for acquiring the expired message sent by the destination user terminal. Then, it is found in the expired message pool whether there is an expired message that satisfies the query condition included in the above instruction, and the expired short message that meets the query condition is taken out from the expired message pool and sent to the destination user terminal. Obviously, in this embodiment, the expired short message is not directly deleted by the short message center, and is only sent to the short message center when the destination user terminal intentionally obtains, so that after the short message exceeds the expiration date, the short message can still be Provided to the user terminal according to the user's requirements, thereby improving the quality of service of the system, and because the expired short message is sent when requested by the user, the performance of the short message center is very low, and the short message center is not caused. The running load guarantees the service performance of the short message center.
显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤 可以用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者 分布在多个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执 行的程序代码来实现, 从而, 可以将它们存储在存储装置中由计算装置来 执行, 或者将它们分别制作成各个集成电路模块, 或者将它们中的多个模 块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特 定的硬件和软件结合。 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 can be executed by computing devices The program code of the lines is implemented so that they can be stored in the storage device by the computing device, or they can be made into individual integrated circuit modules, or a plurality of modules or steps can be made into a single integrated circuit module. to realise. 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. within the spirit and scope of the invention are intended to be included within the scope of the invention. Industrial applicability
本发明中, 短消息中心将源用户终端发往目的用户终端的超过有效期 限的短消息存储至过期消息池中, 所述短消息中心在接收到目的用户终端 发送的用于获取过期短消息的指令时, 在所述过期消息池中获取对应所述 指令的过期短消息, 并将所述过期短消息发送给所述目的用户终端。 如此, 可以在短消息超过有效期限后, 按照用户需求将短消息再提供给目的用 户终端, 从而提高了通信系统的服务质量, 提升了用户体验, 并且, 由于 在用户要求时才下发过期短消息, 因此, 对短消息中心的性能影响非常低, 不会给短消息中心造成运行负荷, 保证了短消息中心的服务性能。 In the present invention, the short message center stores the short message of the expiration date of the source user terminal to the destination user terminal in the expired message pool, and the short message center receives the short message sent by the destination user terminal for obtaining the expired short message. When the instruction is executed, the expired short message corresponding to the instruction is obtained in the expired message pool, and the expired short message is sent to the destination user terminal. In this way, after the short message exceeds the expiration date, the short message can be further provided to the destination user terminal according to the user's requirement, thereby improving the service quality of the communication system, improving the user experience, and issuing the expiration short when the user requests. The message, therefore, has a very low impact on the performance of the short message center, does not cause an operational load on the short message center, and guarantees the service performance of the short message center.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2011100895412A CN102740243A (en) | 2011-04-11 | 2011-04-11 | Method and device for processing expired short message |
| CN201110089541.2 | 2011-04-11 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2012139349A1 true WO2012139349A1 (en) | 2012-10-18 |
Family
ID=46994856
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2011/077610 Ceased WO2012139349A1 (en) | 2011-04-11 | 2011-07-26 | Method and device for processing expired short message |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN102740243A (en) |
| WO (1) | WO2012139349A1 (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105337747B (en) * | 2015-11-17 | 2019-03-08 | 小米科技有限责任公司 | Group history message treatment method and device |
| CN105550299A (en) * | 2015-12-14 | 2016-05-04 | 镇江乐游网络科技有限公司 | Game user data management method |
| CN106878966A (en) * | 2017-02-21 | 2017-06-20 | 中国联合网络通信集团有限公司 | Short message sending method, short message center and short message sending system |
| CN107948056A (en) * | 2017-12-14 | 2018-04-20 | 浙江六课文化科技有限公司 | A kind of missed call information notice method |
| CN109241128B (en) * | 2018-07-16 | 2021-05-14 | 北京百度网讯科技有限公司 | A method and system for automatically triggering an expired event |
| CN109257192B (en) * | 2018-11-07 | 2020-09-29 | 北京小米移动软件有限公司 | Group information sharing method and device |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1226791A (en) * | 1997-08-07 | 1999-08-25 | 三星电子株式会社 | Method for managing short message by mobile communication terminal in GSM system |
| CN1405995A (en) * | 2001-09-13 | 2003-03-26 | 日本电气株式会社 | Short message transmitting system |
| CN101043646A (en) * | 2006-03-21 | 2007-09-26 | 联发科技股份有限公司 | Information Processing System and Method |
| CN101080059A (en) * | 2007-06-29 | 2007-11-28 | 深圳凯虹移动通信有限公司 | Mobile terminal with SMS intelligent inquiry and intelligent inquiry method of SMS |
| US20080200192A1 (en) * | 2006-11-01 | 2008-08-21 | Research In Motion Limited | Methods And Apparatus For Use In Forwarding Short Messages For Mobile Communication Devices |
| CN101873377A (en) * | 2009-04-20 | 2010-10-27 | 摩托罗拉公司 | By the method and apparatus of Wireless Telecom Equipment prevention from the message of transmit leg |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1968447B (en) * | 2006-11-27 | 2010-11-10 | 华为技术有限公司 | Short Message Center System and Its Message Storage and Transfer Method |
-
2011
- 2011-04-11 CN CN2011100895412A patent/CN102740243A/en active Pending
- 2011-07-26 WO PCT/CN2011/077610 patent/WO2012139349A1/en not_active Ceased
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1226791A (en) * | 1997-08-07 | 1999-08-25 | 三星电子株式会社 | Method for managing short message by mobile communication terminal in GSM system |
| CN1405995A (en) * | 2001-09-13 | 2003-03-26 | 日本电气株式会社 | Short message transmitting system |
| CN101043646A (en) * | 2006-03-21 | 2007-09-26 | 联发科技股份有限公司 | Information Processing System and Method |
| US20080200192A1 (en) * | 2006-11-01 | 2008-08-21 | Research In Motion Limited | Methods And Apparatus For Use In Forwarding Short Messages For Mobile Communication Devices |
| CN101080059A (en) * | 2007-06-29 | 2007-11-28 | 深圳凯虹移动通信有限公司 | Mobile terminal with SMS intelligent inquiry and intelligent inquiry method of SMS |
| CN101873377A (en) * | 2009-04-20 | 2010-10-27 | 摩托罗拉公司 | By the method and apparatus of Wireless Telecom Equipment prevention from the message of transmit leg |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102740243A (en) | 2012-10-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2012139349A1 (en) | Method and device for processing expired short message | |
| CN103929730B (en) | Method, device and system for triggering message sending | |
| US8903435B2 (en) | Method and system for short message termination traffic control | |
| US9197575B2 (en) | Handling of snapshot messages as a result of delivery failure in a two-way push connection | |
| WO2004066650A1 (en) | Method for controlling a media message upload through a wireless communication network | |
| WO2011116732A2 (en) | Method, equipment and communication system for mobile terminal accessing to a wireless network | |
| CN101998361A (en) | A calling method, device and system | |
| US8428624B2 (en) | Method and system for network support for optimized paging of communication devices | |
| CN103874041B (en) | Called voice service processing method based on Multi-mode dual-standby terminal, apparatus and system | |
| CN109728932B (en) | SDN setting method, controller, switch and computer readable storage medium | |
| WO2011140736A1 (en) | Network entity and method for protecting data in unstructured supplementary service data | |
| CN101500327B (en) | Switching on and shutting down state obtaining system for mobile terminal and method thereof | |
| US11108693B2 (en) | Control apparatus, communication control method, and program | |
| CN101325738B (en) | Method and apparatus for repairing fault of mobile communication core network register | |
| WO2011009336A1 (en) | Method for processing paging message and base station controller thereof | |
| CN111405498B (en) | Short message sending control method, device, control equipment, terminal and ISMG | |
| JPWO2008152681A1 (en) | Communication system, mobile terminal location search method in communication system, and program | |
| CN118803594A (en) | Message sending method, system and 5G message system | |
| EP2154929B1 (en) | Method and device for message passing | |
| CN100477832C (en) | Method for called user routing queries | |
| WO2014187366A1 (en) | Method and device for paging terminals | |
| WO2012097735A1 (en) | Method and system for resending short message | |
| CN120956675B (en) | CAN bus-based sliding window protocol data receiving and reorganizing method and device | |
| CN113676893B (en) | Communication method, base station and communication system | |
| WO2012027971A1 (en) | Method, system and location platform for transmitting location request to mobile terminal |
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: 11863595 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: 11863595 Country of ref document: EP Kind code of ref document: A1 |