WO2012151866A1 - 一种彩信收发重试方法和装置 - Google Patents

一种彩信收发重试方法和装置 Download PDF

Info

Publication number
WO2012151866A1
WO2012151866A1 PCT/CN2011/081272 CN2011081272W WO2012151866A1 WO 2012151866 A1 WO2012151866 A1 WO 2012151866A1 CN 2011081272 W CN2011081272 W CN 2011081272W WO 2012151866 A1 WO2012151866 A1 WO 2012151866A1
Authority
WO
WIPO (PCT)
Prior art keywords
retry
mms
queue
configuration information
sending
Prior art date
Application number
PCT/CN2011/081272
Other languages
English (en)
French (fr)
Inventor
曹刚
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012151866A1 publication Critical patent/WO2012151866A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1867Arrangements specially adapted for the transmitter end

Definitions

  • the present invention relates to the field of data communication technologies, and in particular, to a method and a device for retrying a multimedia message. Background technique
  • MMS Multimedia Messaging Service
  • WAP Wireless Application Protocol
  • MMS is a mobile phone that delivers multimedia messaging services using the Wireless Application Protocol (WAP) as a carrier. Its biggest feature is the support of multimedia functions, capable of delivering comprehensive content and information, including text, images, sound, video and other multimedia formats.
  • MMS is equipped with rich color images, sounds, animations, vibrations, videos and other multimedia content in addition to basic text messages. It can also be equipped with live pictures of sports news, funny cartoons, Content-rich greeting cards, exciting animation games and other application content.
  • the MMS service can realize the instant multimedia information transmission from the mobile terminal to the mobile terminal, the mobile terminal to the Internet or the Internet to the mobile terminal.
  • Sending and receiving multimedia messages is one of the most important basic functions of mobile terminals.
  • the mobile terminal fails to send and receive MMS due to network failure or improper setting of parameters of the mobile terminal.
  • the existing mobile terminal usually has the function of transmitting and receiving retry of the MMS that fails to transmit and receive, so as to improve the success rate of MMS transmission and reception.
  • the existing MMS send and receive retry technology does not consider the specific reasons for the failure of MMS transmission and reception.
  • the prior art specifically includes:
  • the configuration information includes a sequence number of the MMS, a number of retries (adding the original retries value to 1), and a retry type (indicating whether the MMS is retransmitted or retransmitted); The number of retries of the MMS message reaches the set value, and the process ends.
  • the configuration information of the MMS is placed in a normal sending and receiving queue.
  • the normal sending and receiving queue monitoring timer reaches the set time, and checks whether the environment of the current mobile terminal allows the MMS to be sent and received. Specifically, it is checked whether the circuit switched (CS) domain and the packet switched (PS) domain of the current mobile terminal are normally connected. If the connection is normal, go to the next step; if there is no normal connection, restart the normal send and receive queue monitoring timer, and end the process.
  • CS circuit switched
  • PS packet switched
  • the MMS corresponding to the configuration information of the queue of the normal sending and receiving queue is called, and the MMS is re-received or retransmitted according to the content in the configuration information.
  • the corresponding multimedia message is retrieved according to the serial number in the configuration information, and the multimedia message is re-transmitted or retransmitted according to the retry type in the configuration information.
  • the above steps are repeated to re-receive or resend the MMS until the number of retries of the MMS reaches the set value or the retransmission or retransmission is successful.
  • the failure to send and receive MMS messages is that the number of successful retransmissions will not reach the purpose of successfully sending and receiving MMS.
  • the main purpose of the present invention is to provide a method and apparatus for retrying and retrieving a multimedia message, which can perform retransmission and retry of the MMS without wasting system resources, and improve the success rate of MMS transmission and reception.
  • the present invention provides a method for retrying a multimedia message transmission and reception, the method comprising:
  • the MMS According to the error information returned after the failure of the transmission and reception of the MMS, it is determined that the MMS can be retransmitted and retryed when the retry is performed.
  • the determining that the MMS can be sent and received retry is
  • the sending and receiving the MMS is retrying
  • the color trial configuration information in the retry queue is taken out and stored in the normal transmission and dispatch queue.
  • the retry configuration information that is queued at the head of the retry queue is taken out and stored in the tail of the normal transceiver queue.
  • the sending and receiving the MMS is retrying
  • the to-be-retry configuration information of the re-sending and sending queue head is taken out and stored in the queue of the normal sending and receiving queue.
  • the sending and receiving the MMS is retrying
  • the retry configuration information includes one or more of a retry interval, a number of retries, or a retry type.
  • the method further includes: determining whether the number of retries of the MMS reaches a set value, and if the number of retries does not reach a set value, the MMS Performing a retry and retry; if the number of retries reaches the set value, the MMS is not sent and received for retry.
  • the method further includes:
  • the error information is added in the fault database, and the retry flag corresponding to the error information is identified as retryable.
  • the method further includes: when the retry number reaches the set value, determining whether the retry is successful, if the retry is unsuccessful, changing the retry flag to not Retry, the set value is greater than 1.
  • the invention also provides a multimedia message transceiving retry device, the device comprising:
  • the retry judging unit is configured to judge whether the MMS can be retransmitted and retryed according to an error message returned after the MMS fails to send and receive;
  • a retry control unit configured to: when the retrying judgment unit determines that the multimedia message can be retransmitted and retried, the multimedia message is sent and received and retried.
  • the retry judging unit is configured to query the correspondence between the error information and the error information stored in the fault database and the retry flag, and the retry flag corresponding to the error information is heavy During the test, it is judged that the MMS can be sent and received for retry.
  • the retry control unit is specifically configured to set retry configuration information including a multimedia message serial number, and store the retry configuration information in a retry sending and receiving queue;
  • the retry control unit is further configured to: take out the retry configuration information of the queue of the retry queue, and store the retry configuration information in the queue of the normal transmission and reception queue.
  • the MMS transceiver retry device is located at the mobile terminal.
  • the present invention determines whether the multimedia message can be retransmitted and retryed based on the error information returned after the failure of the transmission and reception of the multimedia message, and the retry is performed on the multimedia message. In this way, it is possible to perform the retry of the MMS transmission and reception without wasting system resources, and improve the success rate of MMS transmission and reception.
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for retrying a multimedia message transmission and reception according to the present invention
  • Embodiment 2 is a flowchart of Embodiment 2 of a method for retrying retransmission of a multimedia message according to the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a method for retrying a multimedia message transmission and reception according to the present invention
  • Embodiment 4 is a flowchart of Embodiment 4 of a method for retrying a multimedia message transmission and reception according to the present invention
  • FIG. 5 is a schematic structural diagram of a first embodiment of a multimedia message transceiving retry device according to the present invention. detailed description
  • the method includes the following steps:
  • the fault database is set in advance, and the fault database can be set when the mobile terminal is shipped from the factory.
  • the fault database stores a correspondence between the error information and the retry mark.
  • the retry mark includes two types of retryable and non-retryable mark, that is, the retry mark corresponding to an error message is retryable or not retryable.
  • the correspondence between the error information and the retry flag can be set based on the known error information and the success rate of the retry of the MMS.
  • the returned error message is that when the mobile terminal parameter setting error is performed, the success rate of sending and receiving the retry of the MMS is 0, and the retry flag corresponding to the error information of the mobile terminal parameter setting error is set to be unavailable.
  • the retry queue is set in advance, and the retry queue is used to store retry configuration information of the MMS that failed to send and receive.
  • Step 101 the process begins.
  • Step 102 Determine, according to the error information returned after the failure of the MMS transmission and reception, whether the MMS can be retransmitted and retryed. If the retry is retryable, proceed to step 103. If the retry is not possible, proceed to step 104.
  • the query is performed in the corresponding relationship between the error information stored in the fault database and the retry flag based on the error information, and when the retry flag corresponding to the error information is retryable, determining that the multimedia message can be sent and received. Retry, otherwise, the MMS cannot be retransmitted for retry.
  • Step 103 Perform a retry on the multimedia message.
  • the retry configuration information including the serial number of the MMS is set, and the retry configuration information is stored in the retry sending and receiving queue; determining whether the normal sending and receiving queue is empty, and if the normal sending and receiving queue is empty, the retry is performed.
  • the retry configuration information in the sending and receiving queue is taken out and stored in the normal sending and receiving queue for retransmission and retry. If the normal sending and receiving queue is not empty, repeat the operation of determining whether the normal sending and receiving queue is empty.
  • Step 104 the process ends.
  • this embodiment includes the steps:
  • Step 201 starting the process.
  • Step 202 Determine, according to the error information returned after the failure of the MMS transmission and reception, whether the MMS can be retransmitted and retryed. If the retry is retryable, proceed to step 203; if the retry is not possible, proceed to step 211.
  • Step 203 Determine whether the number of retries of the MMS reaches the set value. If the number of retries does not reach the set value, proceed to step 204. If the number of retries reaches the set value, enter the step. 211.
  • the set value is an upper limit value of the retry, and may be set according to actual application conditions.
  • Step 204 Set retry configuration information including a sequence number, a number of retries, and a retry type of the MMS.
  • a corresponding serial number is set for the MMS; the initial value of the retry number is 0, and the retry number is incremented by 1 each time the retry configuration information of the MMS is set; the retry type is set to be heavy Receive or resend.
  • Step 205 Store the retry configuration information in the tail end of the retry sending and receiving queue.
  • Step 206 Determine whether the set retry interval is reached. If the set retry interval is reached, proceed to step 207. If the set retry interval has not been reached, proceed to step 210. Specifically, it is determined whether the retry interval is reached according to whether the retry queue monitoring timer reaches a set time.
  • Step 207 Determine whether the normal sending and receiving queue is empty. If it is empty, proceed to step 208; if not, go to step 210.
  • Step 208 Determine whether the retry queue is empty. If not, go to step 209; if it is empty, go to step 210.
  • Step 209 The retry configuration information arranged in the retrying queue queue head is taken out and stored in the tail end of the normal transmission and reception queue.
  • Step 210 Restart the retry and send queue monitoring timer.
  • Step 211 ending the processing flow.
  • the normal transceiver queue is operated to complete the retransmission and reception of the multimedia message.
  • the MMS when the MMS can be retransmitted and retryed according to the error message returned after the MMS fails to send and receive, the MMS can be sent and received for retry, which can save system resources. Moreover, when it is determined that the normal sending and receiving queue is empty, the retry configuration information of the re-sending and sending queue head is taken out and stored in the tail of the normal sending and receiving queue, so that the MMS stored in the normal sending and receiving queue is sent and received.
  • the MMS Before retrying, if there is a MMS or short message to be sent and received normally, the MMS can be Or the short message is placed in the normal sending and receiving queue, and is arranged in front of the retrying MMS, and the MMS or the short message is preferentially sent and received, so that the retry queue is sequentially performed without affecting the normal MMS or short message sending and receiving.
  • the multimedia message to be re-received is sent and received.
  • this embodiment includes the steps:
  • Step 301 starting the process.
  • Step 302 Determine, according to the error information returned after the failure of the MMS transmission and reception, whether the MMS can be retransmitted and retryed. If the retry is retryable, proceed to step 303. If the retry is not possible, proceed to step 306.
  • Step 303 Determine whether the number of retries of the MMS reaches the set value. If the number of retries does not reach the set value, proceed to step 304. If the number of retries reaches the set value, proceed to step 306.
  • Step 304 Set retry configuration information including the serial number, the number of retries, and the retry type of the MMS.
  • Step 305 Store the retry configuration information in a normal sending and receiving queue.
  • Step 306 ending the process.
  • the MMS when the MMS can be re-examined according to the error message returned after the failure of the MMS transmission and reception, the MMS can be retransmitted and retried, which can save system resources and improve the success rate of MMS.
  • this embodiment includes the steps:
  • Step 401 start the process.
  • Step 402 Determine, according to the error information returned after the failure of the MMS transmission and reception, whether the MMS can be retransmitted and retryed. If the retry is retrying, proceed to step 403. If the retry is not possible, proceed to step 411.
  • Step 403 Determine whether the number of retries of the MMS reaches the set value. If the number of retries does not reach the set value, proceed to step 404. If the number of retries reaches the set value, proceed to step 411.
  • Step 404 setting retry configuration information including the serial number of the MMS, the number of retries, and the retry type.
  • Step 405 Store the retry configuration information in the tail end of the retry sending and receiving queue.
  • Step 406 Determine whether the retry interval is reached. If the retry interval is reached, proceed to step 407. If the retry interval has not been reached, proceed to step 410. Specifically, it is determined whether the retry time interval is reached according to whether the retry queue monitoring timer reaches the set time.
  • Step 407 Determine whether there is any remaining space in the normal sending and receiving queue. If there is remaining space, go to step 408; if there is no remaining space, go to step 210.
  • Step 408 Determine whether the retry queue is empty. If not, go to step 409; if it is empty, go to step 410.
  • step 409 the retry configuration information of the queue of the retry queue is taken out and stored in the tail of the normal transmission queue.
  • Step 410 Restart the retry and send queue monitoring timer.
  • Step 411 ending the process.
  • the MMS when the MMS can be re-examined and retryed according to the error message returned after the MMS fails to send and receive, the MMS can be sent and received for retry, which can save system resources. Moreover, when it is determined that there is remaining space in the normal sending and receiving queue, the retry configuration information of the re-sending and sending queue head is taken out and stored in the tail of the normal sending and receiving queue, and can be followed without affecting the normal MMS or short message sending and receiving. Send and receive the MMS to be retried in the retry queue in sequence.
  • the method for retrieving and retrying the MMS of the present invention is performed by querying the corresponding relationship between the error information stored in the fault database and the retry flag based on the error information, and further includes: When the error information is queried in the barrier database, the error information is added in the fault database, and the retry flag corresponding to the error information is identified as retryable. After the retrying of the MMS message, the method further includes: determining whether the retry is successful, and if the retry is unsuccessful, changing the retry flag to not retrying.
  • the retry flag corresponding to the error information is marked as the retryable accuracy, and if the MMS is still unable to be successfully transmitted and received after the retry of the set number of times, the error information may be confirmed. MMS messages cannot be retried, so change the retry flag to not retry and update the fault database.
  • the MMS sending and retry method of the present invention can also directly store the MMS in the retry and receive queue.
  • the MMS transceiver retry device of this embodiment includes: a retry judging unit and a retry control unit. among them,
  • the retry judging unit is configured to judge whether the MMS can perform retransmission and retry according to the error information returned after the MMS fails to send and receive.
  • the retry judging unit is specifically configured to query the correspondence between the error information and the error information stored in the fault database and the retry flag, and when the retry flag corresponding to the error information is retryable, determine the location
  • the MMS can be sent and received for retry.
  • the retry control unit is configured to: when the retrying judgment unit determines that the multimedia message can be sent and received for retry, the multimedia message is sent and received for retry.
  • the retry control unit is specifically configured to set retry configuration information including a multimedia message serial number, and store the retry configuration information in a retry sending and receiving queue; and further, when the normal sending and receiving queue is empty, retry transmitting and receiving The retry configuration information in the queue is taken out and stored in the normal sending and receiving queue.
  • the MMS transceiver retry device includes: a retry determination unit and a retry control unit.
  • the retry judging unit is configured to judge the location according to the error information returned after the MMS fails to send and receive. Whether the MMS can be sent and received for retry.
  • the retry judging unit is further configured to determine whether the number of retries of the MMS reaches a set value.
  • the retry control unit is configured to: when the retrying judgment unit determines that the multimedia message can be sent and received retry, and the number of retry attempts of the multimedia message does not reach the set value, the multimedia message is sent and received and retried.
  • the retry control unit is specifically configured to set retry configuration information including a serial number, a retry number, and a retry type of the multimedia message, and store the retry configuration information in a tail end of the retry sending and receiving queue;
  • the retry configuration information of the first queue of the test and send queue is taken out and stored in the tail of the normal sending and receiving queue; when the normal sending and receiving queue is not empty, the retrying and sending queue monitoring timer is restarted; when the retrying and sending queue is empty, Start the retry queue monitoring timer.
  • the MMS transceiver retry device includes: a retry determination unit and a retry control unit.
  • the retry judging unit is configured to determine whether the MMS can perform retransmission and retry according to the error information returned after the MMS fails to send and receive.
  • the retry judging unit is further configured to determine whether the number of retries of the MMS reaches a set value.
  • the retry control unit is configured to: when the retrying judgment unit determines that the multimedia message can be sent and received retry, and the number of retry attempts of the multimedia message does not reach the set value, the multimedia message is sent and received and retried.
  • the retry control unit is specifically configured to set retry configuration information including a serial number of the MMS, a number of retries, and a retry type, and store the retry configuration information in a normal sending and receiving queue.
  • the MMS transceiver retry device includes: a retry determination unit and a retry control unit.
  • the retry judging unit is configured to judge the location according to the error information returned after the MMS fails to send and receive. Whether the MMS can be sent and received for retry.
  • the retry judging unit is further configured to determine whether the number of retries of the MMS reaches a set value.
  • the retry control unit is configured to: when the retrying judgment unit determines that the multimedia message can be sent and received retry, and the number of retry attempts of the multimedia message does not reach the set value, the multimedia message is sent and received and retried.
  • the retry control unit is specifically configured to set retry configuration information including a serial number, a retry number, and a retry type of the MMS, and store the retry configuration information in a tail end of the retry queue;
  • the retry queue monitoring timer is restarted; when the set retry interval is reached, and there is room for the normal transceiver queue, and the retry queue is not empty, it will be queued.
  • the retry configuration information of the retry queue is retrieved and stored in the tail of the normal transceiver queue.
  • the retry queue monitoring timer is restarted, when the retry queue is empty. , Restart the retry queue monitoring timer.
  • the MMS transceiver retry device of the present invention is located at a mobile terminal.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明提供了一种彩信收发重试方法,该方法包括:根据彩信收发失败后返回的错误信息,判定所述彩信可以进行收发重试时,对所述彩信进行收发重试。本发明还提供了一种彩信收发重试装置。本发明可以实现在不浪费系统资源的情况下进行彩信的收发重试,提高彩信收发的成功率。

Description

一种彩信收发重试方法和装置 技术领域
本发明涉及数据通信技术领域, 尤其涉及一种彩信收发重试方法和装 置。 背景技术
多媒体信息服务(MMS, Multimedia Messaging Service ), 通常又称 为彩信, 是移动运营商推出的以无线应用协议(WAP, Wireless Application Protocol ) 为载体, 传送多媒体的短信业务。 它最大的特色就是支持多媒体 功能, 能够传递功能全面的内容和信息, 这些信息包括文字、 图像、 声音、 视频等各种多媒体格式的信息。 彩信与原有的普通短信比较, 除基本的文 字信息以外, 更配有丰富的彩色图像、 声音、 动画、 振动、 视频等多媒体 内容, 还可以配有现场图片的体育新闻、 有趣的卡通漫画、 内容丰富的贺 卡、 精彩的动画游戏等应用内容。 彩信业务可实现即时的移动终端到移动 终端、 移动终端到互联网或互联网到移动终端的多媒体信息传送。
收发彩信是移动终端一项最重要的基本功能。 由于网络故障或移动终 端的参数设置不当等原因会导致移动终端收发彩信失败。
现有的移动终端通常具有对收发失败的彩信进行收发重试的功能, 以 提高彩信收发的成功率。 但是, 现有彩信收发重试技术不考虑彩信收发失 败的具体原因都进行收发重试。 现有技术具体包括:
首先, 判断收发失败的彩信的重试次数是否达到设定值。
然后, 如果收发失败的彩信的重试次数没有达到设定值, 设置所述彩 信的配置信息。 所述配置信息包括所述彩信的序列号、 重试次数(将原重 试次数值加 1 )和重试类型 (标明是重收还是重发该彩信); 如果收发失败 的彩信的重试次数达到设定值, 结束本次流程。
然后, 将所述彩信的配置信息放入正常收发队列。
然后, 正常收发队列监控定时器到达设定的时间, 检查当前移动终端 的环境是否允许进行彩信收发。具体的,检查当前移动终端的电路交换( CS ) 域和分组交换(PS )域是否正常连接。 如果正常连接, 进入下一步; 如果 没有正常连接, 重新启动正常收发队列监控定时器, 结束本次处理流程。
然后, 判断正常收发队列是否为空, 如果不为空, 进入下一步; 如果 为空, 重新启动正常收发队列监控定时器, 结束本次处理流程。
接着, 调出排在正常收发队列队首的配置信息对应的彩信, 根据配置 信息中的内容对该彩信进行重收或重发操作。 具体的, 根据配置信息中的 序列号调取其对应的彩信, 根据配置信息中的重试类型, 重收或重发该彩 信。
最后, 操作结束后, 重新启动正常收发队列监控定时器, 结束本次处 理流程。
重复上述步驟对所述彩信进行重收或重发操作, 直到所述彩信的重试 次数达到设定值或者重收或重发成功。
而对于有些原因 (例如移动终端参数设置错误)造成的彩信收发失败 是无论重新收发多少次也不会达到成功收发彩信的目的的。
无效的彩信收发重试会占用移动终端有限的系统资源, 影响移动终端 其他功能的正常运行。 发明内容
有鉴于此, 本发明的主要目的在于提供一种彩信收发重试方法和装置, 可以实现在不浪费系统资源的情况下进行彩信的收发重试, 提高彩信收发 的成功率。
为达到上述目的, 本发明的技术方案是这样实现的: 本发明提供了一种彩信收发重试方法, 该方法包括:
根据彩信收发失败后返回的错误信息, 判定所述彩信可以进行收发重 试时, 对所述彩信进行收发重试。
较佳的 , 所述判定所述彩信可以进行收发重试为 ,
基于所述错误信息在预先设置的故障数据库内存储的错误信息与重试 标记的对应关系中进行查询, 当所述错误信息对应的重试标记为可重试时, 判定所述彩信可以进行收发重试。
较佳的, 所述对所述彩信进行收发重试为,
设置包括所述彩信的序列号的重试配置信息, 将所述重试配置信息存 入重试收发队列中;
判断正常收发队列是否为空, 如果正常收发队列为空, 将重试收发队 列中的重试配置信息取出, 存入正常收发队列中。
较佳的, 所述将重试收发队列中的彩重试配置信息取出, 存入正常收 发队列中为,
将排在重试收发队列队首的重试配置信息取出, 存入正常收发队列的 队尾。
较佳的, 所述对所述彩信进行收发重试为,
设置包括所述彩信的序列号的重试配置信息, 将所述重试配置信息存 入重试收发队列中;
判断正常收发队列是否有剩余空间, 如果正常收发队列有剩余空间, 将排在重试收发队列队首的待重试配置信息取出, 存入正常收发队列的队 尾。
较佳的, 所述对所述彩信进行收发重试为,
设置包括所述彩信的序列号的重试配置信息, 将所述重试配置信息存 入正常收发队列中。 较佳的, 所述重试配置信息, 还包括重试时间间隔、 重试次数、 或重 试类型中的一种或几种。
较佳的, 所述判定所述彩信可以进行收发重试之后, 该方法还包括: 判断所述彩信的重试次数是否达到设定值, 如果重试次数没有达到设 定值, 对所述彩信进行收发重试; 如果重试次数达到设定值, 不对所述彩 信进行收发重试。
较佳的 , 所述基于所述错误信息在故障数据库内存储的错误信息与重 试标记的对应关系中进行查询之后, 该方法还包括:
当故障数据库内没有存储所述错误信息时, 在故障数据库内添加所述 错误信息, 并所述错误信息对应的重试标记标识为可重试。
较佳的, 所述对所述彩信进行收发重试之后, 该方法还包括: 当重试 次数达到设定值时, 判断重试是否成功, 如果重试不成功, 将重试标记改 为不可重试, 所述设定值大于 1。
本发明还提供了一种彩信收发重试装置, 该装置包括:
重试判断单元, 用于根据彩信收发失败后返回的错误信息, 判断所述 彩信是否可以进行收发重试;
重试控制单元, 用于当重试判断单元的判断结果为所述彩信可以进行 收发重试时, 对所述彩信进行收发重试。
较佳的, 所述重试判断单元, 具体用于将所述错误信息与故障数据库 内存储的错误信息与重试标记的对应关系进行查询, 当所述错误信息对应 的重试标记为可重试时, 判断所述彩信可以进行收发重试。
较佳的, 所述重试控制单元, 具体用于设置包括彩信序列号的重试配 置信息, 将所述重试配置信息存入重试收发队列中;
还用于判断正常收发队列是否为空, 如果正常收发队列为空, 将重试 收发队列中的重试配置信息取出, 存入正常收发队列中。 较佳的, 所述重试控制单元, 还具体用于将排在重试收发队列队首的 重试配置信息取出, 存入正常收发队列的队尾。
较佳的, 所述彩信收发重试装置位于移动终端。
由上可知, 本发明根据彩信收发失败后返回的错误信息, 判断所述彩 信是否可以进行收发重试, 是, 对所述彩信进行收发重试。 如此, 可以实 现在不浪费系统资源的情况下进行彩信的收发重试, 提高彩信收发的成功 率。 附图说明
图 1为本发明的彩信收发重试方法的实施例一的流程图;
图 2为本发明的彩信收发重试方法的实施例二的流程图;
图 3为本发明的彩信收发重试方法的实施例三的流程图;
图 4为本发明的彩信收发重试方法的实施例四的流程图;
图 5为本发明的彩信收发重试装置的第一实施例的结构示意图。 具体实施方式
下面对本发明提供的彩信收发重试方法的实施例一进行介绍, 如图 1 所示, 包括步驟:
预先设置故障数据库, 所述故障数据库可以在移动终端出厂时设置。 所述故障数据库内存储错误信息与重试标记的对应关系, 重试标记包括可 重试和不可重试两种标记, 即一个错误信息对应的重试标记是可重试或者 是不可重试。 可以根据已知的错误信息与对彩信进行收发重试的成功率的 情况, 设定错误信息与重试标记的对应关系。 例如, 发送彩信失败后, 返 回的错误信息为移动终端参数设置错误时, 对该彩信进行收发重试的成功 率为 0,则将移动终端参数设置错误的错误信息对应的重试标记设置为不可 重试。 预先设置重试收发队列, 所述重试收发队列用于存储收发失败的彩信 的重试配置信息。
步驟 101 , 流程开始。
步驟 102 ,根据彩信收发失败后返回的错误信息, 判断所述彩信是否可 以进行收发重试, 如果可以进行收发重试, 则进入步驟 103 ; 如果不可以进 行收发重试, 则进入步驟 104。
具体为 , 基于所述错误信息在故障数据库内存储的错误信息与重试标 记的对应关系中进行查询, 当所述错误信息对应的重试标记为可重试时, 判断所述彩信可以进行收发重试, 否则, 所述彩信不可以进行收发重试。
步驟 103 , 对所述彩信进行收发重试。
具体为, 设置包括所述彩信的序列号的重试配置信息, 将所述重试配 置信息存入重试收发队列中; 判断正常收发队列是否为空, 如果正常收发 队列为空, 将重试收发队列中的重试配置信息取出, 存入正常收发队列中, 以进行收发重试。 如果正常收发队列不为空, 重复判断正常收发队列是否 为空的操作。
步驟 104, 结束流程。
下面对本发明彩信收发重试方法的实施例二进行详细的介绍。参考图 2 所示, 本实施例包括步驟:
预先设置故障数据库和重试收发队列。
步驟 201 , 开始流程。
步驟 202 ,根据彩信收发失败后返回的错误信息, 判断所述彩信是否可 以进行收发重试, 如果可以进行收发重试, 则进入步驟 203 ; 如果不可以进 行收发重试, 则进入步驟 211。
步驟 203 , 判断所述彩信的重试次数是否达到设定值,如果重试次数没 有达到设定值, 则进入步驟 204; 如果重试次数达到设定值, 则进入步驟 211。所述设定值为重试的上限值,具体可以根据实际应用的情况进行设置。 步驟 204,设置包括所述彩信的序列号、 重试次数和重试类型的重试配 置信息。
具体的, 为所述彩信设置一个相对应的序列号; 重试次数初始值为 0, 每次设置所述彩信的重试配置信息时, 将重试次数值加 1 ; 设置重试类型为 重收或是重发。
步驟 205 , 将所述重试配置信息存入重试收发队列的队尾。
步驟 206, 判断是否到达设定的重试时间间隔,如果到达设定的重试时 间间隔, 则进入步驟 207; 如果没有到达设定的重试时间间隔, 则进入步驟 210。 具体的, 根据重试收发队列监控定时器是否到达设定的时间来判断是 否到达重试时间间隔。
步驟 207, 判断正常收发队列是否为空, 如果为空, 则进入步驟 208; 如果不为空, 进入步驟 210。
步驟 208 , 判断重试收发队列是否为空, 如果不为空, 进入步驟 209; 如果为空, 进入步驟 210。
步驟 209,将排在重试收发队列队首的重试配置信息取出,存入正常收 发队列的队尾。
步驟 210, 重新启动重试收发队列监控定时器。
步驟 211 , 结束本次处理流程。
按照现有技术对正常收发队列进行操作, 完成彩信的重收发。
综上, 根据彩信收发失败后返回的错误信息判断所述彩信可以进行收 发重试时, 才对所述彩信进行收发重试, 可以节省系统资源。 而且在判断 正常收发队列为空时, 才将排在重试收发队列队首的重试配置信息取出, 存入正常收发队列的队尾, 这样在对存入正常收发队列队尾的彩信进行收 发重试之前, 如果有要进行正常收发的彩信或短消息时, 可以将所述彩信 或短消息放入正常收发队列中, 排在所述重试彩信的前面, 优先对述彩信 或短消息进行收发, 实现在不影响正常彩信或短信息收发的情况下按照顺 序对重试队列中的待重试彩信进行收发。
下面对本发明彩信收发重试方法的实施三例进行详细的介绍。参考图 3 所示, 本实施例包括步驟:
步驟 301 , 开始流程。
步驟 302 ,根据彩信收发失败后返回的错误信息, 判断所述彩信是否可 以进行收发重试, 如果可以进行收发重试, 则进入步驟 303 ; 如果不可以进 行收发重试, 则进入步驟 306。
步驟 303 , 判断所述彩信的重试次数是否达到设定值,如果重试次数没 有达到设定值, 则进入步驟 304; 如果重试次数达到设定值, 则进入步驟 306。
步驟 304,设置包括所述彩信的序列号、 重试次数和重试类型的重试配 置信息。
步驟 305 , 将所述重试配置信息存入正常收发队列中。
步驟 306, 结束流程。
综上, 根据彩信收发失败后返回的错误信息判断所述彩信可以进行收 发重试时, 才对所述彩信进行收发重试, 可以节省系统资源, 提高彩信收 发的成功率。
下面对本发明彩信收发重试方法的实施例四进行详细的介绍。参考图 4 所示, 本实施例包括步驟:
步驟 401 , 开始流程。
步驟 402 ,根据彩信收发失败后返回的错误信息, 判断所述彩信是否可 以进行收发重试, 如果可以进行收发重试, 则进入步驟 403 ; 如果不可以进 行收发重试, 则进入步驟 411。 步驟 403 , 判断所述彩信的重试次数是否达到设定值,如果重试次数没 有达到设定值, 则进入步驟 404; 如果重试次数达到设定值, 则进入步驟 411。
步驟 404,设置包括所述彩信的序列号、 重试次数和重试类型的重试配 置信息。
步驟 405 , 将所述重试配置信息存入重试收发队列的队尾。
步驟 406, 判断是否到达重试时间间隔, 如果到达重试时间间隔, 则进 入步驟 407; 如果没有到达重试时间间隔, 则进入步驟 410。 具体的, 根据 重试收发队列监控定时器是否到达设定的时间来判断是否到达重试时间间 隔。
步驟 407, 判断正常收发队列是否有剩余空间, 如果有剩余空间, 则进 入步驟 408; 如果没有剩余空间, 进入步驟 210。
步驟 408 , 判断重试收发队列是否为空, 如果不为空, 进入步驟 409; 如果为空, 进入步驟 410。
步驟 409,将排在重试收发队列队首的重试配置信息取出,存入正常收 发队列的队尾。
步驟 410, 重新启动重试收发队列监控定时器。
步驟 411 , 结束流程。
综上, 根据彩信收发失败后返回的错误信息判断所述彩信可以进行收 发重试时, 才对所述彩信进行收发重试, 可以节省系统资源。 而且在判断 正常收发队列有剩余空间时, 将排在重试收发队列队首的重试配置信息取 出, 存入正常收发队列的队尾, 可以在不影响正常彩信或短消息收发的情 况下按照顺序对重试队列中的待重试彩信进行收发。
此外, 本发明的彩信收发重试方法的基于所述错误信息在故障数据库 内存储的错误信息与重试标记的对应关系中进行查询, 还包括: 当未在故 障数据库内查询到所述错误信息时, 在故障数据库内添加所述错误信息, 并将所述错误信息对应的重试标记标识为可重试。 所述对所述彩信进行收 发重试之后, 还包括, 判断重试是否成功, 如果重试不成功, 将重试标记 改为不可重试。 由此, 对将所述错误信息对应的重试标记标识为可重试的 准确性进行校正, 如果经过设定次数的重试后该彩信依然不能成功收发, 则可以确认该错误信息反映的情况是彩信不可重试, 因此将重试标记改为 不可重试, 更新故障数据库。
当然, 本发明的彩信收发重试方法也可以直接将所述彩信存入重试收 发队列中。
下面对本发明彩信收发重试装置的第一实施例进行介绍。 参考图 5 所 示, 本实施例的彩信收发重试装置包括: 重试判断单元和重试控制单元。 其中,
所述重试判断单元用于根据彩信收发失败后返回的错误信息, 判断所 述彩信是否可以进行收发重试。
所述重试判断单元具体用于将所述错误信息与故障数据库内存储的错 误信息与重试标记的对应关系进行查询, 当所述错误信息对应的重试标记 为可重试时, 判断所述彩信可以进行收发重试。
所述重试控制单元用于当重试判断单元的判断结果为所述彩信可以进 行收发重试时, 对所述彩信进行收发重试。
所述重试控制单元具体用于设置包括彩信序列号的重试配置信息, 将 所述重试配置信息存入重试收发队列中; 还用于当正常收发队列为空时, 将重试收发队列中的重试配置信息取出, 存入正常收发队列中。
下面对本发明彩信收发重试装置的第二实施例进行介绍。
该彩信收发重试装置包括: 重试判断单元和重试控制单元。 其中, 所述重试判断单元用于根据彩信收发失败后返回的错误信息, 判断所 述彩信是否可以进行收发重试。
所述重试判断单元还用于判断所述彩信的重试次数是否达到设定值。 所述重试控制单元用于当重试判断单元的判断结果为所述彩信可以进 行收发重试, 且所述彩信的重试次数没有达到设定值时, 对所述彩信进行 收发重试。
所述重试控制单元具体用于设置包括彩信的序列号、 重试次数和重试 类型的重试配置信息, 将所述重试配置信息存入重试收发队列的队尾; 还 用于在没有到达重试时间间隔时, 重新启动重试收发队列监控定时器; 在 到达设定的重试时间间隔时, 且正常收发队列为空时, 且重试收发队列不 为空, 将排在重试收发队列队首的重试配置信息取出, 存入正常收发队列 的队尾; 当正常收发队列不为空时, 重新启动重试收发队列监控定时器; 在重试收发队列为空时, 重新启动重试收发队列监控定时器。
下面对本发明彩信收发重试装置的第三实施例进行介绍。
该彩信收发重试装置包括: 重试判断单元和重试控制单元。 其中, 所述重试判断单元用于根据彩信收发失败后返回的错误信息, 判断所 述彩信是否可以进行收发重试。
所述重试判断单元还用于判断所述彩信的重试次数是否达到设定值。 所述重试控制单元用于当重试判断单元的判断结果为所述彩信可以进 行收发重试, 且所述彩信的重试次数没有达到设定值时, 对所述彩信进行 收发重试。
所述重试控制单元具体用于设置包括彩信的序列号、 重试次数和重试 类型的重试配置信息, 将所述重试配置信息存入正常收发队列中。
下面对本发明彩信收发重试装置的第四实施例进行介绍。
该彩信收发重试装置包括: 重试判断单元和重试控制单元。 其中, 所述重试判断单元用于根据彩信收发失败后返回的错误信息, 判断所 述彩信是否可以进行收发重试。
所述重试判断单元还用于判断所述彩信的重试次数是否达到设定值。 所述重试控制单元用于当重试判断单元的判断结果为所述彩信可以进 行收发重试, 且所述彩信的重试次数没有达到设定值时, 对所述彩信进行 收发重试。
所述重试控制单元具体用于设置包括彩信的序列号、 重试次数和重试 类型的重试配置信息, 将所述重试配置信息存入重试收发队列的队尾; 还 用于当没有到达重试时间间隔时, 重新启动重试收发队列监控定时器; 当 到达设定的重试时间间隔时, 且正常收发队列有剩余空间时, 且重试收发 队列不为空时, 将排在重试收发队列队首的重试配置信息取出, 存入正常 收发队列的队尾; 当正常收发队列不为空时, 重新启动重试收发队列监控 定时器, 当重试收发队列为空时, 重新启动重试收发队列监控定时器。
本发明彩信收发重试装置位于移动终端。
此外, 重试时间间隔可以根据彩信的重试次数进行设定, 例如重试时 间间隔 =A*重试次数。 其中, A是时间调节因子, 大于 1。 这样, 彩信重试 次数越多, 对其进行重试的重试时间间隔越大, 减少重试收发彩信对正常 收发彩信或短消息的响应。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。

Claims

权利要求书
1、 一种彩信收发重试方法, 其特征在于, 该方法包括:
根据彩信收发失败后返回的错误信息, 判定所述彩信可以进行收发重 试时, 对所述彩信进行收发重试。
2、 根据权利要求 1所述的方法, 其特征在于, 所述判定所述彩信可以 进行收发重试为,
基于所述错误信息在预先设置的故障数据库内存储的错误信息与重试 标记的对应关系中进行查询, 当所述错误信息对应的重试标记为可重试时, 判定所述彩信可以进行收发重试。
3、 根据权利要求 1所述的方法, 其特征在于, 所述对所述彩信进行收 发重试为,
设置包括所述彩信的序列号的重试配置信息, 将所述重试配置信息存 入重试收发队列中;
判断正常收发队列是否为空, 如果正常收发队列为空, 将重试收发队 列中的重试配置信息取出, 存入正常收发队列中。
4、 根据权利要求 3所述的方法, 其特征在于, 所述将重试收发队列中 的彩重试配置信息取出, 存入正常收发队列中为,
将排在重试收发队列队首的重试配置信息取出, 存入正常收发队列的 队尾。
5、 根据权利要求 1所述的方法, 其特征在于, 所述对所述彩信进行收 发重试为,
设置包括所述彩信的序列号的重试配置信息, 将所述重试配置信息存 入重试收发队列中;
判断正常收发队列是否有剩余空间, 如果正常收发队列有剩余空间, 将排在重试收发队列队首的待重试配置信息取出, 存入正常收发队列的队 尾。
6、 根据权利要求 1所述的方法, 其特征在于, 所述对所述彩信进行收 发重试为,
设置包括所述彩信的序列号的重试配置信息, 将所述重试配置信息存 入正常收发队列中。
7、 根据权利要求 3、 4、 5或 6中任意一项所述的方法, 其特征在于, 所述重试配置信息, 还包括重试时间间隔、 重试次数、 或重试类型中的一 种或几种。
8、 根据权利要求 1至 6任意一项所述的方法, 其特征在于, 所述判定 所述彩信可以进行收发重试之后, 该方法还包括:
判断所述彩信的重试次数是否达到设定值, 如果重试次数没有达到设 定值, 对所述彩信进行收发重试; 如果重试次数达到设定值, 不对所述彩 信进行收发重试。
9、 根据权利要求 1至 6任意一项所述的方法, 其特征在于, 所述基于 所述错误信息在故障数据库内存储的错误信息与重试标记的对应关系中进 行查询之后, 该方法还包括:
当故障数据库内没有存储所述错误信息时, 在故障数据库内添加所述 错误信息, 并所述错误信息对应的重试标记标识为可重试。
10、 根据权利要求 1至 6任意一项所述的方法, 其特征在于, 所述对 所述彩信进行收发重试之后, 该方法还包括:
当重试次数达到设定值时, 判断重试是否成功, 如果重试不成功, 将 重试标记改为不可重试, 所述设定值大于 1。
11、 一种彩信收发重试装置, 其特征在于, 该装置包括:
重试判断单元, 用于根据彩信收发失败后返回的错误信息, 判断所述 彩信是否可以进行收发重试; 重试控制单元, 用于当重试判断单元的判断结果为所述彩信可以进行 收发重试时, 对所述彩信进行收发重试。
12、 根据权利要求 11所述的装置, 其特征在于,
所述重试判断单元, 具体用于将所述错误信息与故障数据库内存储的 错误信息与重试标记的对应关系进行查询, 当所述错误信息对应的重试标 记为可重试时, 判断所述彩信可以进行收发重试。
13、 根据权利要求 11所述的装置, 其特征在于,
所述重试控制单元, 具体用于设置包括彩信序列号的重试配置信息, 将所述重试配置信息存入重试收发队列中;
还用于判断正常收发队列是否为空, 如果正常收发队列为空, 将重试 收发队列中的重试配置信息取出, 存入正常收发队列中。
14、 根据权利要求 11所述的装置, 其特征在于,
所述重试控制单元, 还具体用于将排在重试收发队列队首的重试配置 信息取出, 存入正常收发队列的队尾。
15、 根据权利要求 11至 14中任意一项所述的装置, 其特征在于, 所 述彩信收发重试装置位于移动终端。
PCT/CN2011/081272 2011-07-20 2011-10-25 一种彩信收发重试方法和装置 WO2012151866A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110203488.4 2011-07-20
CN2011102034884A CN102237993A (zh) 2011-07-20 2011-07-20 一种彩信收发重试方法和装置

Publications (1)

Publication Number Publication Date
WO2012151866A1 true WO2012151866A1 (zh) 2012-11-15

Family

ID=44888253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/081272 WO2012151866A1 (zh) 2011-07-20 2011-10-25 一种彩信收发重试方法和装置

Country Status (2)

Country Link
CN (1) CN102237993A (zh)
WO (1) WO2012151866A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104507059B (zh) * 2014-12-19 2018-01-16 广东欧珀移动通信有限公司 一种彩信发送管理方法和彩信发送管理装置
CN105848114B (zh) * 2016-04-29 2019-11-19 维沃移动通信有限公司 一种彩信的处理方法及移动终端
CN113823025B (zh) * 2021-08-24 2023-04-21 广州市瑞立德信息系统有限公司 一种命令重试方法、系统、设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050213533A1 (en) * 2004-03-24 2005-09-29 Lg Electronics Inc. System and method for transmitting units of messages in a mobile communication system
CN101056421A (zh) * 2007-06-15 2007-10-17 中兴通讯股份有限公司 一种优化Push通告消息的方法
CN101304561A (zh) * 2008-06-17 2008-11-12 中国移动通信集团江苏有限公司 一种获取彩信用户状态的方法
CN101938716A (zh) * 2010-08-26 2011-01-05 中国农业大学 彩信定时发送方法及其系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050213533A1 (en) * 2004-03-24 2005-09-29 Lg Electronics Inc. System and method for transmitting units of messages in a mobile communication system
CN101056421A (zh) * 2007-06-15 2007-10-17 中兴通讯股份有限公司 一种优化Push通告消息的方法
CN101304561A (zh) * 2008-06-17 2008-11-12 中国移动通信集团江苏有限公司 一种获取彩信用户状态的方法
CN101938716A (zh) * 2010-08-26 2011-01-05 中国农业大学 彩信定时发送方法及其系统

Also Published As

Publication number Publication date
CN102237993A (zh) 2011-11-09

Similar Documents

Publication Publication Date Title
US10623146B2 (en) Method and arrangements in a telecommunication system for handling status information of data units
CN101132259B (zh) 一种用于无线网络中最后重传时刻控制数据重传的方法
CN101753277B (zh) 无线链路控制层报文状态报告的发送方法
EP1768296A2 (en) Method and apparatus for transmitting signaling data messages in a wireless communications system
KR20100087035A (ko) 무선 통신 시스템에서 데이터 블록 전송 방법
WO2009143756A1 (zh) 一种实现消息业务的方法及装置
US7995517B2 (en) System and method for transmitting units of messages in a mobile communication system
WO2012151866A1 (zh) 一种彩信收发重试方法和装置
KR101018685B1 (ko) 광대역 무선통신시스템에서 자동 재송 요구 리셋을제어하기 위한 장치 및 방법
KR100608841B1 (ko) Mms 메시지의 분할 전송 및 자동 재전송 방법
WO2014194493A1 (zh) 一种减少传输控制层确认报文的方法、装置和系统
CN109391593B (zh) 用于媒体会话的重试时间确定方法及装置、存储介质、终端
CN117040692A (zh) 一种业务数据传输的方法及装置、电子设备、存储介质
WO2012062051A1 (zh) 一种下发多媒体消息的方法和系统
JP5142413B2 (ja) 適応型メッセージ再送信のためのシステムおよび方法
JPH1070523A (ja) パケット伝送方法及び装置
EP3633900B1 (en) Method and device for transmitting voice signaling
CN101626287A (zh) 状态报告发送的方法和装置
CN101594596B (zh) 短消息存储器可用通告消息的处理方法以及移动终端
JP2010044673A (ja) インスタントメッセージサーバおよびインスタントメッセージ通信方法
JP2011055435A (ja) 再送制御装置及び再送制御方法
WO2010015146A1 (zh) 一种gtp消息的传输方法、系统及装置
KR20100060853A (ko) 무선 링크 제어 프로토콜에서의 상태 보고 방법 및 시스템

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

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

Country of ref document: EP

Kind code of ref document: A1