CN103067895A - Retransmission method of long text message and communication terminal - Google Patents

Retransmission method of long text message and communication terminal Download PDF

Info

Publication number
CN103067895A
CN103067895A CN2013100023687A CN201310002368A CN103067895A CN 103067895 A CN103067895 A CN 103067895A CN 2013100023687 A CN2013100023687 A CN 2013100023687A CN 201310002368 A CN201310002368 A CN 201310002368A CN 103067895 A CN103067895 A CN 103067895A
Authority
CN
China
Prior art keywords
short message
message fragment
retransmissions
maximum number
weight
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.)
Granted
Application number
CN2013100023687A
Other languages
Chinese (zh)
Other versions
CN103067895B (en
Inventor
张星东
朱峰结
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201310002368.7A priority Critical patent/CN103067895B/en
Publication of CN103067895A publication Critical patent/CN103067895A/en
Application granted granted Critical
Publication of CN103067895B publication Critical patent/CN103067895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Communication Control (AREA)

Abstract

The invention belongs to the communication technology field and provides a retransmission method of a long text message. The retransmission method of the long text message comprises the following steps: determining retransmission weight of every text message fragment of the long text message; calculating maximum retransmission time of the every text message fragment according to the retransmission weight; and conducting retransmission according to the maximum retransmission time of the every text message fragment when a certain text message fragment fails in sending. Correspondingly, the invention further provides a communication terminal. With the adoption of the communication terminal, retransmission success rate of the long text message can be effectively improved, consequently, cost is saved for users, and user experience can be enhanced.

Description

The repeating method of long SMS and communication terminal
Technical field
The present invention relates to communication technical field, relate in particular to a kind of repeating method and communication terminal of long SMS.
Background technology
Along with popularizing of the communication terminals such as smart mobile phone, the user is more and more higher to the functional requirement of communication terminal.Note is used a core application as communication terminal, use that all can be a large amount of in user's daily life.Along with the development of each carrier network devices and communication terminal, communication terminal is from only supporting normal short message (70 Chinese characters or 140 English characters) to the sending and receiving of supporting long SMS (a lot of maximum 800 Chinese characters of terminal support).
That long SMS is split into many short message fragments (being equivalent to normal short message) in the process of transmitting of long SMS, corresponding fragment number can be set in every short message fragment, be that short message fragment will preserve first if judge when the recipient receives temporarily, wait for that all short message fragments have received to be assembled into again complete long SMS and to show.But in sending each short message fragment process of long SMS, may be because of note reception, network quality, Modem(Modulator Demodulator, modulator-demodulator) the of short duration factor such as unusual sends unsuccessfully, if a short message fragment of long SMS has sent unsuccessfully, the whole piece long SMS has just sent unsuccessfully.For sending successful short message fragment, operator can normally collect the charges, and the user does not have the successful complete long SMS of transmission, and the recipient can only see incomplete short message fragment.
In the existing scheme long SMS being sent unsuccessfully, only have simple repeating transmission logic, only is to retransmit several times every several seconds after note sends unsuccessfully, network without serve and situation that modem is unusual under meeting directly demonstration send unsuccessfully, at mortality height in some cases.And, the transmission logic of long SMS is to domestic consumer and opaque at present, the user does not also know that long SMS does not send successfully yet and can charge according to the mode that sends successful short message fragment and count * normal short message expense, so wasted user's telephone expenses, affected user's experience.
In summary, the retransmission technique of existing long SMS obviously exists inconvenience and defective, in actual use so be necessary to be improved.
Summary of the invention
For above-mentioned defective, the object of the present invention is to provide a kind of repeating method of long SMS and communication whole
End, the repeating transmission success rate that it can the Effective Raise long SMS, thus for the user has saved expense, improved user's experience.
To achieve these goals, the invention provides a kind of repeating method of long SMS, comprise that step has:
Determine the repeating transmission weight of each short message fragment in the long SMS;
According to described repeating transmission weight, calculate the maximum number of retransmissions of each described short message fragment;
When certain short message fragment sends unsuccessfully, retransmit according to the described maximum number of retransmissions of described short message fragment.
According to the repeating method of long SMS of the present invention, the step of the repeating transmission weight of each short message fragment comprises in described definite long SMS:
According to the sequence of positions of each described short message fragment in described long SMS, for each described short message fragment distributes a segments;
According to the described segments of described short message fragment, determine that first of each described short message fragment retransmits weight, and described segments is proportional with described the first repeating transmission weight;
Described according to retransmitting weight, the step of calculating the maximum number of retransmissions of each described short message fragment comprises:
Described the first retry weight with each described short message fragment multiplies each other with the acquiescence number of retries respectively, to calculate the first maximum reattempt times of each described short message fragment.
According to the repeating method of long SMS of the present invention, the step of the repeating transmission weight of each short message fragment comprises in described definite long SMS:
Analyze the content importance of each described short message fragment in the described long SMS;
According to the described content importance of described short message fragment, determine that second of each described short message fragment retransmits weight, and described content importance is proportional with described the second repeating transmission weight;
Described according to retransmitting weight, the step of calculating the maximum number of retransmissions of each described short message fragment comprises:
Described the second retry weight with each described short message fragment multiplies each other with the acquiescence number of retries respectively, to calculate the second maximum reattempt times of each described short message fragment.
According to the repeating method of long SMS of the present invention, described when certain short message fragment sends unsuccessfully, the step of retransmitting according to the described maximum number of retransmissions of described short message fragment further comprises:
When certain short message fragment sends unsuccessfully, judge whether the sending times of described short message fragment surpasses the maximum number of retransmissions of described short message fragment;
If described short message fragment surpasses described maximum number of retransmissions, then mark described long SMS and send unsuccessfully;
If described short message fragment does not surpass described maximum number of retransmissions, then described short message fragment is retransmitted.
According to the repeating method of long SMS of the present invention, if described short message fragment does not surpass described maximum number of retransmissions, the step of then described short message fragment being retransmitted comprises:
If described short message fragment, is judged the Fisrt fault state whether the transmission failure cause of described short message fragment is scheduled to above described maximum number of retransmissions;
If described transmission failure cause is described Fisrt fault state, judge then whether described Fisrt fault state recovers normal condition in predetermined recovery time in the threshold value;
If recover normal condition in described recovery time in the threshold value, then retransmit described short message fragment;
If do not recover normal condition in described recovery time in the threshold value, then mark described long SMS and send unsuccessfully;
Perhaps,
If described short message fragment does not surpass described maximum number of retransmissions, judge whether the repeating transmission time of described short message fragment surpasses predetermined repeating transmission time threshold;
If do not surpass described repeating transmission time threshold, then retransmit described short message fragment;
If surpass described repeating transmission time threshold, then mark described long SMS and send unsuccessfully.
The present invention also provides a kind of communication terminal, includes:
Retransmit the weight determination module, be used for determining the repeating transmission weight of each short message fragment of long SMS;
The sending times computing module is used for according to described repeating transmission weight, calculates the maximum number of retransmissions of each described short message fragment;
The retransmission process module is used for retransmitting according to the described maximum number of retransmissions of described short message fragment when certain short message fragment sends unsuccessfully.
According to communication terminal of the present invention, described repeating transmission weight determination module comprises:
Distribution sub module is used for according to the sequence of positions of each described short message fragment at described long SMS, for each described short message fragment distributes a segments;
First determines submodule, is used for the described segments according to described short message fragment, determines that first of each described short message fragment retransmitted weight, and described segments is proportional with described the first repeating transmission weight;
Described sending times computing module comprises:
The first calculating sub module is used for respectively the described first retry weight of each described short message fragment is multiplied each other with the acquiescence number of retries, to calculate the first maximum reattempt times of each described short message fragment.
According to communication terminal of the present invention, described repeating transmission weight determination module comprises:
Analyze submodule, be used for analyzing the content importance of described each described short message fragment of long SMS;
Second determines submodule, is used for the described content importance according to described short message fragment, determines that second of each described short message fragment retransmitted weight, and it is proportional that described content importance and described second is retransmitted weight;
Described sending times computing module comprises:
The second calculating sub module is used for respectively the described second retry weight of each described short message fragment is multiplied each other with the acquiescence number of retries, to calculate the second maximum reattempt times of each described short message fragment.
According to communication terminal of the present invention, described retransmission process module also comprises:
Number of times is judged submodule, is used for when certain short message fragment sends unsuccessfully, judges whether the sending times of described short message fragment surpasses the maximum number of retransmissions of described short message fragment;
The mark submodule is if when being used for described short message fragment above described maximum number of retransmissions, marking described long SMS and send unsuccessfully;
The retransmission subpacket module is if when being used for described short message fragment above described maximum number of retransmissions, retransmit described short message fragment.
According to communication terminal of the present invention, described retransmission process module further comprises:
First judges submodule, if when being used for described short message fragment and surpassing described maximum number of retransmissions, the transmission failure cause of judging described short message fragment is predetermined Fisrt fault state whether;
Second judges submodule, if when being used for described transmission failure cause and being described Fisrt fault state, judge whether described Fisrt fault state recovers normal condition in predetermined recovery time in the threshold value;
Described retransmission subpacket module is retransmitted described short message fragment if be used for when recovering normal condition in the threshold value described recovery time;
Described mark submodule marks described long SMS and sends unsuccessfully when not recovering normal condition in the threshold value described recovery time if be used for; Perhaps,
The 3rd judges submodule, if when being used for described short message fragment above described maximum number of retransmissions, judges whether the repeating transmission time of described short message fragment surpasses predetermined repeating transmission time threshold;
Described retransmission subpacket module is if when being used for not surpassing described repeating transmission time threshold, retransmit described short message fragment;
Described mark submodule is if when being used for surpassing described repeating transmission time threshold, marking described long SMS and send unsuccessfully.
For the retransmission process logic that solves present long SMS simple, the repeating transmission mortality is high, the problem of waste customer charge, the present invention determines first the repeating transmission weight of each short message fragment in the long SMS, preferably determine its repeating transmission weight according to position or the content of each short message fragment, and according to described repeating transmission weight, calculate the maximum number of retransmissions of each described short message fragment and retransmit.Whereby, the present invention can Effective Raise the repeating transmission success rate of long SMS, thereby for the user has saved expense, improved user's experience.
Description of drawings
Fig. 1 is the structural representation of communication terminal of the present invention;
Fig. 2 is the structural representation of preferred communication terminal of the present invention;
Fig. 3 is the flow chart of the repeating method of long SMS of the present invention;
Fig. 4 is the flow chart of the repeating method of long SMS in the first embodiment of the invention;
Fig. 5 is the flow chart of the repeating method of long SMS in the second embodiment of the invention;
Fig. 6 is the flow chart of the repeating method of long SMS in the third embodiment of the invention;
Fig. 7 is the flow chart of the repeating method of long SMS in the fourth embodiment of the invention; And
Fig. 8 is the flow chart of the repeating method of long SMS in the fifth embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 is the structural representation of communication terminal of the present invention, described communication terminal 100 can be mobile phone, PDA(Personal Digital Assistant, personal digital assistant), panel computer etc., and described communication terminal 100 includes retransmits weight determination module 10, sending times computing module 20 and retransmission process module 30, wherein:
Described repeating transmission weight determination module 10 is for the repeating transmission weight of determining each short message fragment of long SMS.Here, can determine according to predetermined policies such as the position of short message fragment or contents the repeating transmission weight of each short message fragment.
Described sending times computing module 20 is used for according to described repeating transmission weight, calculates the maximum number of retransmissions of each described short message fragment.Described repeating transmission weight is larger, and then described maximum number of retransmissions is larger.
Described retransmission process module 30 is used for retransmitting according to the maximum number of retransmissions of short message fragment when certain short message fragment sends unsuccessfully.Preferably, if described short message fragment surpasses described maximum number of retransmissions, then mark described long SMS and send unsuccessfully, otherwise described short message fragment is retransmitted.
Fig. 2 is the structural representation of preferred communication terminal of the present invention, and described communication terminal 100 can include retransmits weight determination module 10, sending times computing module 20 and retransmission process module 30, wherein:
Preferably, described repeating transmission weight determination module 10 comprises:
Distribution sub module 11 is used for according to the sequence of positions of each short message fragment at long SMS, for each short message fragment distributes a segments.If one the long SMS of 400 Chinese characters is divided into 6 short message fragments, these 6 short message fragments are corresponding segments several 1,2,3,4,5,6 respectively.
First determines submodule 12, is used for the segments according to short message fragment, determines that first of each short message fragment retransmitted weight, and segments is proportional with the first repeating transmission weight.For example, the short message fragment 1 that segments is forward and 2 the repeating transmission weight be made as 1, segments is made as 2 by middle short message fragment 3 and 4 repeating transmission weight, the short message fragment 5 after segments is leaned on and 6 repeating transmission weight are made as 3.Because segments charges paid forward and that sent successful short message fragment, the short message fragment after segments more leans on sends and does not go out, and more wastes user's communication cost, and the repeating transmission weight of the short message fragment after therefore more leaning on should be higher.
Described sending times computing module 20 comprises:
The first calculating sub module 21 is used for respectively the first retry weight of each short message fragment is multiplied each other with the acquiescence number of retries, to calculate the first maximum reattempt times of each short message fragment.
Here, according to the segments position of long SMS the repeating transmission weight of each short message fragment is set, calculates maximum number of retransmissions according to retransmitting weight * acquiescence sending times.For example, note acquiescence sending times is 2 times, if the long SMS of 800 Chinese characters is divided into 12 short message fragments, short message fragment 1 ~ 4 is retransmitted 2 times at most, and short message fragment 5 ~ 8 is retransmitted 4 times at most, and short message fragment 9 ~ 12 is retransmitted 6 times at most.
Described retransmission process module 30 is used for retransmitting according to the first maximum number of retransmissions of short message fragment when certain short message fragment sends unsuccessfully.
Be more preferably, described repeating transmission weight determination module 10 comprises:
Analyze submodule 13, be used for analyzing the content importance of each short message fragment of long SMS.Preferably, determine content importance by the semanteme of analyzing each short message fragment, perhaps determine each short message fragment content importance according to keyword.For example, the content of certain long SMS be as " near season finally; work overtime always, is not moving for a long time, going ahead together when free; going for together you with regard to I and wave-wave of 7:00 after coming off duty today; looking for an individual place to play badminton ", then this long SMS is carried out semantic analysis, the content that will contain " time, personage, action " is regarded as important content, the important content that comprises when certain short message fragment is more, and is then more important.Here, the content of " I and wave-wave of 7:00 goes for you together after coming off duty today " and " looking for a place to play badminton " is important.
Second determines submodule 14, is used for the content importance according to short message fragment, determines that second of each short message fragment retransmitted weight, and content importance is proportional with the second repeating transmission weight.Here, the second repeating transmission weight of short message fragment that comprises " I and wave-wave of 7:00 goes for you together after coming off duty today " and " looking for a place to play badminton " is higher.
Described sending times computing module 20 comprises:
The second calculating sub module 22 is used for respectively the second retry weight of each short message fragment is multiplied each other with the acquiescence number of retries, to calculate the second maximum reattempt times of each short message fragment.
Described retransmission process module 30 is used for retransmitting according to the second maximum number of retransmissions of short message fragment when certain short message fragment sends unsuccessfully.
In an embodiment of the present invention, described retransmission process module 30 also comprises number of times judgement submodule 31, mark submodule 32 and retransmission subpacket module 33, wherein:
Described number of times is judged submodule 31, is used for when certain short message fragment sends unsuccessfully, judges whether the sending times of short message fragment surpasses the maximum number of retransmissions of short message fragment.
Described mark submodule 32, if when being used for short message fragment above maximum number of retransmissions, the mark long SMS sends unsuccessfully.
Described retransmission subpacket module 33 is if when being used for short message fragment above maximum number of retransmissions, retransmit short message fragment.
In another embodiment of the present invention, described retransmission process module 30 comprises that also first judges submodule 34, the second judgement submodule 35, wherein:
Described number of times is judged submodule 31, is used for when certain short message fragment sends unsuccessfully, judges whether the sending times of short message fragment surpasses the maximum number of retransmissions of short message fragment.
Described first judges submodule 34, if when being used for short message fragment above maximum number of retransmissions, and the Fisrt fault state whether the transmission failure cause of judgement short message fragment is scheduled to.It is unusual or Modem is unusual that described Fisrt fault state is preferably network service, unusually waits the transmission failure cause not belong to the Fisrt fault state and receive note.And then can judge retransmission policy according to sending failure cause.
Described second judges submodule 35, if when being used for sending failure cause and being the Fisrt fault state, judge whether the Fisrt fault state recovers normal condition in the recovery time of being scheduled in the threshold value.Described recovery time, threshold value can be by system default setting or User Defined setting.
Described retransmission subpacket module 32 is retransmitted short message fragment if be used for when recovering normal condition in the threshold value recovery time.When the Fisrt fault state does not recover normal condition in described recovery time in the threshold value, represent that this Fisrt fault state is temporary fault, and recovered normal that can retransmit short message fragment this moment, can improve the repeating transmission success rate like this.
Described mark submodule 33, if be used for when not recovering normal condition in the threshold value recovery time, the mark long SMS sends unsuccessfully.When the Fisrt fault state does not recover normal condition in described recovery time in the threshold value, represent that this Fisrt fault state is not temporary fault, if retransmit short message fragment this moment, mortality can be very high, therefore judge and mark long SMS to send unsuccessfully, no longer retransmit this short message fragment.
To be preferably network service unusual or Modem is unusual when the Fisrt fault state.
For example, if it is unusual to judge the failed transmission reason of this short message fragment and be network side " network is without service ", and the maximum number of retransmissions that does not surpass this short message fragment, then send the network service monitoring information to network, preferred timed sending network service monitoring information, and the overtime timer that network service recovers is set.If network service recovers in (such as 5 minutes) in the first recovery time threshold value, then continue to send short message fragment, if network service surpass first recovery time threshold value do not recover yet, then mark long SMS and send unsuccessfully.The network service monitoring information is a kind of monitoring information that arranges in communication terminal 100 exploitations, and whether normal, usually realize at ccf layer if being used for monitoring network.
For example, if it is unusual to judge the failed transmission reason of this short message fragment and be communication terminal 100 sides " Modem is without response ", and the maximum number of retransmissions that does not surpass this short message fragment, then send the Modem monitoring information to Modem, preferred timed sending Modem monitoring information, also regularly inquire about the operating state of Modem, and the overtime timer that Modem recovers is set.If it is normal that Modem recovers in (such as 5 minutes) in the second recovery time threshold value, then continue to send short message fragment, if Modem surpass second recovery time threshold value do not recover yet normally then to mark long SMS and send unsuccessfully.Whether the Modem monitoring information is a kind of monitoring information that arranges in communication terminal 100 exploitations, be used for monitoring Modem and work.
In further embodiment of this invention, described retransmission process module 30 comprises that also the 3rd judges submodule 36, wherein:
Described number of times is judged submodule 31, is used for when certain short message fragment sends unsuccessfully, judges whether the sending times of this short message fragment surpasses the maximum number of retransmissions of short message fragment.
The described the 3rd judges submodule 36, if when being used for short message fragment above maximum number of retransmissions, judges whether the repeating transmission time of short message fragment surpasses predetermined repeating transmission time threshold.Described repeating transmission time threshold can be by system default setting or User Defined setting.
Described retransmission subpacket module 32 if be used for not surpassing when retransmitting time threshold, is retransmitted short message fragment.
Described mark submodule 33, if be used for surpassing when retransmitting time threshold, the mark long SMS sends unsuccessfully; Perhaps, surpass maximum number of retransmissions if be used for short message fragment, then mark long SMS and send unsuccessfully.
Fig. 3 is the flow chart of the repeating method of long SMS of the present invention, and it can pass through to realize such as Fig. 1 or communication terminal 100 shown in Figure 2, comprise that step has:
Step S301 determines the repeating transmission weight of each short message fragment in the long SMS.Here, can determine according to predetermined policies such as the position of short message fragment or contents the repeating transmission weight of each short message fragment.
Step S302 according to retransmitting weight, calculates the maximum number of retransmissions of each short message fragment.Described repeating transmission weight is larger, and then described maximum number of retransmissions is larger.
Step S303 when certain short message fragment sends unsuccessfully, retransmits according to the maximum number of retransmissions of short message fragment.Preferably, if described short message fragment surpasses described maximum number of retransmissions, then mark described long SMS and send unsuccessfully, otherwise described short message fragment is retransmitted.
Fig. 4 is the flow chart of the repeating method of long SMS in the first embodiment of the invention, and it can be realized by communication terminal shown in Figure 2 100, comprise that step has:
Step S401 is according to the sequence of positions of each short message fragment in long SMS, for each short message fragment distributes a segments.If one the long SMS of 400 Chinese characters is divided into 6 short message fragments, these 6 short message fragments are corresponding segments several 1,2,3,4,5,6 respectively.
Step S402 according to the segments of short message fragment, determine that first of each short message fragment retransmits weight, and segments is proportional with the first repeating transmission weight.For example, the short message fragment 1 that segments is forward and 2 repeating transmission weight are made as 1, and segments is made as 2 by middle short message fragment 3 and 4 repeating transmission weight, and the short message fragment 5 after segments is leaned on and 6 repeating transmission weight are made as 3.Because segments charges paid forward and that sent successful short message fragment, the short message fragment after segments more leans on sends and does not go out, and more wastes user's communication cost, and the repeating transmission weight of the short message fragment after therefore more leaning on should be higher.
Step S403, the first retry weight with each short message fragment multiplies each other with the acquiescence number of retries respectively, to calculate the first maximum reattempt times of each short message fragment.For example, according to the segments position of long SMS the repeating transmission weight of each short message fragment is set, calculates maximum number of retransmissions according to retransmitting weight * acquiescence sending times.For example, note acquiescence sending times is 2 times, if the long SMS of 800 Chinese characters is divided into 12 short message fragments, short message fragment 1 ~ 4 is retransmitted 2 times at most, and short message fragment 5 ~ 8 is retransmitted 4 times at most, and short message fragment 9 ~ 12 is retransmitted 6 times at most.
Step S404 when certain short message fragment sends unsuccessfully, retransmits according to the first maximum number of retransmissions of short message fragment.
Fig. 5 is the flow chart of the repeating method of long SMS in the second embodiment of the invention, and it can be realized by communication terminal shown in Figure 2 100, comprise that step has:
Step S501, the content importance of each short message fragment in the analysis long SMS.Preferably, determine content importance by the semanteme of analyzing each short message fragment, perhaps determine each short message fragment content importance according to keyword.For example, the content of certain long SMS be as " near season finally; work overtime always, is not moving for a long time, going ahead together when free; going for together you with regard to I and wave-wave of 7:00 after coming off duty today; looking for an individual place to play badminton ", then this long SMS is carried out semantic analysis, the content that will contain " time, personage, action " is regarded as important content, the important content that comprises when certain short message fragment is more, and is then more important.Here, the content of " I and wave-wave of 7:00 goes for you together after coming off duty today " and " looking for a place to play badminton " is important.
Step S502 according to the content importance of short message fragment, determine that second of each short message fragment retransmits weight, and content importance is proportional with the second repeating transmission weight.Here, the second repeating transmission weight of short message fragment that comprises " I and wave-wave of 7:00 goes for you together after coming off duty today " and " looking for a place to play badminton " is higher.
Step S503, the second retry weight with each short message fragment multiplies each other with the acquiescence number of retries respectively, to calculate the second maximum reattempt times of each short message fragment.
Step S504 when certain short message fragment sends unsuccessfully, retransmits according to the second maximum number of retransmissions of short message fragment.
Fig. 6 is the flow chart of the repeating method of long SMS in the third embodiment of the invention, and it can be realized by communication terminal shown in Figure 2 100, comprise that step has:
Step S601 determines the repeating transmission weight of each short message fragment in the long SMS.
Step S602 according to retransmitting weight, calculates the maximum number of retransmissions of each short message fragment.
Step S603 when certain short message fragment sends unsuccessfully, judges that whether the sending times of short message fragment surpasses the maximum number of retransmissions of short message fragment, if execution in step S604 then, otherwise execution in step S605.
Step S604 if short message fragment surpasses maximum number of retransmissions, then marks long SMS and sends unsuccessfully.
Step S605 if short message fragment does not surpass maximum number of retransmissions, then retransmits short message fragment.
Fig. 7 is the flow chart of the repeating method of long SMS in the fourth embodiment of the invention, and it can be realized by communication terminal shown in Figure 2 100, comprise that step has:
Step S701 determines the repeating transmission weight of each short message fragment in the long SMS.
Step S702 according to retransmitting weight, calculates the maximum number of retransmissions of each short message fragment.
Step S703 when certain short message fragment sends unsuccessfully, judges that whether the sending times of short message fragment surpasses the maximum number of retransmissions of short message fragment, if execution in step S704 then, otherwise execution in step S705.
Step S704 if short message fragment surpasses maximum number of retransmissions, then marks long SMS and sends unsuccessfully.
Step S705, if short message fragment surpasses maximum number of retransmissions, the transmission failure cause of judging short message fragment is predetermined Fisrt fault state whether, if execution in step S707 then, otherwise execution in step S706.It is unusual or Modem is unusual that described Fisrt fault state is preferably network service, unusually waits the transmission failure cause not belong to the Fisrt fault state and receive note.And then can judge retransmission policy according to sending failure cause.
Step S706 is not the Fisrt fault state if send failure cause, then retransmits short message fragment.If the transmission failure cause of described short message fragment is that other are unusual, it is unusual for example to receive note, and does not surpass the maximum number of retransmissions of this short message fragment, then retransmits this short message fragment.
Step S707 is the Fisrt fault state if send failure cause, judges then whether the Fisrt fault state recovers normal condition in predetermined recovery time in the threshold value, if execution in step S708 then, otherwise execution in step S709.Described recovery time, threshold value can be by system default setting or User Defined setting.
Step S708 if recover normal condition in recovery time in the threshold value, then retransmits short message fragment.When the Fisrt fault state does not recover normal condition in described recovery time in the threshold value, represent that this Fisrt fault state is temporary fault, and recovered normal that can retransmit short message fragment this moment, can improve the repeating transmission success rate like this.
Step S709 if do not recover normal condition in recovery time in the threshold value, then marks long SMS and sends unsuccessfully.When the Fisrt fault state does not recover normal condition in described recovery time in the threshold value, represent that this Fisrt fault state is not temporary fault, if retransmit short message fragment this moment, mortality can be very high, therefore judge and mark long SMS to send unsuccessfully, no longer retransmit this short message fragment.
Present embodiment provides a kind of energy Effective Raise long SMS to send the communication terminal of success rate, in sending the long SMS process according to sending failure cause, the retransmission policy of intelligent set short message fragment, thereby greatly reduce because the of short duration factor such as unusual of note, network quality, Modem of receiving causes long SMS to send unsuccessfully, for the user has saved expense, improved simultaneously user's experience.
To be preferably network service unusual or Modem is unusual when the Fisrt fault state.
For example, be network side " network is without service " if judge the failed transmission reason of this short message fragment
Unusually, and not above the maximum number of retransmissions of this short message fragment, then send the network service monitoring information to network, preferred timed sending network service monitoring information, and the overtime timer that network service recovers is set.If network service recovers in (such as 5 minutes) in the first recovery time threshold value, then continue to send short message fragment, if network service surpass first recovery time threshold value do not recover yet, then mark long SMS and send unsuccessfully.The network service monitoring information is a kind of monitoring information that arranges in communication terminal 100 exploitations, and whether normal, usually realize at ccf layer if being used for monitoring network.
For example, if it is unusual to judge the failed transmission reason of this short message fragment and be communication terminal 100 sides " Modem is without response ", and the maximum number of retransmissions that does not surpass this short message fragment, then send the Modem monitoring information to Modem, preferred timed sending Modem monitoring information, the operating state of also regularly inquiring about Modem
And the overtime timer that Modem recovers is set.If it is normal that Modem recovers in (such as 5 minutes) in the second recovery time threshold value, then continue to send short message fragment, if Modem surpass second recovery time threshold value do not recover yet normally then to mark long SMS and send unsuccessfully.Whether the Modem monitoring information is a kind of monitoring information that arranges in communication terminal 100 exploitations, be used for monitoring Modem and work.
Fig. 8 is the flow chart of the repeating method of long SMS in the fifth embodiment of the invention, and it can be realized by communication terminal shown in Figure 2 100, comprise that step has:
Step S801 determines the repeating transmission weight of each short message fragment in the long SMS.
Step S802 according to retransmitting weight, calculates the maximum number of retransmissions of each short message fragment.
Step S803, certain short message fragment sends unsuccessfully.
Step S804 judges that whether the sending times of short message fragment surpasses the maximum number of retransmissions of short message fragment, if execution in step S805 then, otherwise execution in step S806.
Step S805 if short message fragment surpasses maximum number of retransmissions, then marks long SMS and sends unsuccessfully.
Step S806 if short message fragment surpasses maximum number of retransmissions, judges whether the repeating transmission time of short message fragment surpasses the repeating transmission time threshold of being scheduled to, if execution in step S807 then, otherwise execution in step S808.Described repeating transmission time threshold can be by system default setting or User Defined setting.
Step S807 if the repeating transmission time surpasses predetermined repeating transmission time threshold, then marks long SMS and sends unsuccessfully.
Step S808 if the repeating transmission time does not surpass predetermined repeating transmission time threshold, then retransmits short message fragment.
In sum, for the retransmission process logic that solves present long SMS simple, the repeating transmission mortality is high, the problem of waste customer charge, the present invention determines first the repeating transmission weight of each short message fragment in the long SMS, preferably determine its repeating transmission weight according to position or the content of each short message fragment, and according to described repeating transmission weight, calculate the maximum number of retransmissions of each described short message fragment and retransmit.Whereby, the present invention can Effective Raise the repeating transmission success rate of long SMS, thereby for the user has saved expense, improved user's experience.
Certainly; the present invention also can have other various embodiments; in the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. the repeating method of a long SMS is characterized in that, comprises that step has:
Determine the repeating transmission weight of each short message fragment in the long SMS;
According to described repeating transmission weight, calculate the maximum number of retransmissions of each described short message fragment;
When certain short message fragment sends unsuccessfully, retransmit according to the described maximum number of retransmissions of described short message fragment.
2. the repeating method of described long SMS according to claim 1 is characterized in that the step of the repeating transmission weight of each short message fragment comprises in described definite long SMS:
According to the sequence of positions of each described short message fragment in described long SMS, for each described short message fragment distributes a segments;
According to the described segments of described short message fragment, determine that first of each described short message fragment retransmits weight, and described segments is proportional with described the first repeating transmission weight;
Described according to retransmitting weight, the step of calculating the maximum number of retransmissions of each described short message fragment comprises:
Described the first retry weight with each described short message fragment multiplies each other with the acquiescence number of retries respectively, to calculate the first maximum reattempt times of each described short message fragment.
3. the repeating method of described long SMS according to claim 1 is characterized in that the step of the repeating transmission weight of each short message fragment comprises in described definite long SMS:
Analyze the content importance of each described short message fragment in the described long SMS;
According to the described content importance of described short message fragment, determine that second of each described short message fragment retransmits weight, and described content importance is proportional with described the second repeating transmission weight;
Described according to retransmitting weight, the step of calculating the maximum number of retransmissions of each described short message fragment comprises:
Described the second retry weight with each described short message fragment multiplies each other with the acquiescence number of retries respectively, to calculate the second maximum reattempt times of each described short message fragment.
4. the repeating method of each described long SMS is characterized in that according to claim 1 ~ 3, and is described when certain short message fragment sends unsuccessfully, and the step of retransmitting according to the described maximum number of retransmissions of described short message fragment further comprises:
When certain short message fragment sends unsuccessfully, judge whether the sending times of described short message fragment surpasses the maximum number of retransmissions of described short message fragment;
If described short message fragment surpasses described maximum number of retransmissions, then mark described long SMS and send unsuccessfully;
If described short message fragment does not surpass described maximum number of retransmissions, then described short message fragment is retransmitted.
5. the repeating method of described long SMS according to claim 4 is characterized in that, if described short message fragment surpasses described maximum number of retransmissions, the step of then described short message fragment being retransmitted comprises:
If described short message fragment, is judged the Fisrt fault state whether the transmission failure cause of described short message fragment is scheduled to above described maximum number of retransmissions;
If described transmission failure cause is described Fisrt fault state, judge then whether described Fisrt fault state recovers normal condition in predetermined recovery time in the threshold value;
If recover normal condition in described recovery time in the threshold value, then retransmit described short message fragment;
If do not recover normal condition in described recovery time in the threshold value, then mark described long SMS and send unsuccessfully;
Perhaps,
If described short message fragment does not surpass described maximum number of retransmissions, judge whether the repeating transmission time of described short message fragment surpasses predetermined repeating transmission time threshold;
If do not surpass described repeating transmission time threshold, then retransmit described short message fragment;
If surpass described repeating transmission time threshold, then mark described long SMS and send unsuccessfully.
6. a communication terminal is characterized in that, includes:
Retransmit the weight determination module, be used for determining the repeating transmission weight of each short message fragment of long SMS;
The sending times computing module is used for according to described repeating transmission weight, calculates the maximum number of retransmissions of each described short message fragment;
The retransmission process module is used for retransmitting according to the described maximum number of retransmissions of described short message fragment when certain short message fragment sends unsuccessfully.
7. described communication terminal according to claim 6 is characterized in that described repeating transmission weight determination module comprises:
Distribution sub module is used for according to the sequence of positions of each described short message fragment at described long SMS, for each described short message fragment distributes a segments;
First determines submodule, is used for the described segments according to described short message fragment, determines that first of each described short message fragment retransmitted weight, and described segments is proportional with described the first repeating transmission weight;
Described sending times computing module comprises:
The first calculating sub module is used for respectively the described first retry weight of each described short message fragment is multiplied each other with the acquiescence number of retries, to calculate the first maximum reattempt times of each described short message fragment.
8. described communication terminal according to claim 6 is characterized in that described repeating transmission weight determination module comprises:
Analyze submodule, be used for analyzing the content importance of described each described short message fragment of long SMS;
Second determines submodule, is used for the described content importance according to described short message fragment, determines that second of each described short message fragment retransmitted weight, and it is proportional that described content importance and described second is retransmitted weight;
Described sending times computing module comprises:
The second calculating sub module is used for respectively the described second retry weight of each described short message fragment is multiplied each other with the acquiescence number of retries, to calculate the second maximum reattempt times of each described short message fragment.
9. each described communication terminal is characterized in that according to claim 6 ~ 8, and described retransmission process module also comprises:
Number of times is judged submodule, is used for when certain short message fragment sends unsuccessfully, judges whether the sending times of described short message fragment surpasses the maximum number of retransmissions of described short message fragment;
The mark submodule is if when being used for described short message fragment above described maximum number of retransmissions, marking described long SMS and send unsuccessfully;
The retransmission subpacket module is if when being used for described short message fragment above described maximum number of retransmissions, retransmit described short message fragment.
10. described communication terminal according to claim 9 is characterized in that described retransmission process module further comprises:
First judges submodule, if when being used for described short message fragment and surpassing described maximum number of retransmissions, the transmission failure cause of judging described short message fragment is predetermined Fisrt fault state whether;
Second judges submodule, if when being used for described transmission failure cause and being described Fisrt fault state, judge whether described Fisrt fault state recovers normal condition in predetermined recovery time in the threshold value;
Described retransmission subpacket module is retransmitted described short message fragment if be used for when recovering normal condition in the threshold value described recovery time;
Described mark submodule marks described long SMS and sends unsuccessfully when not recovering normal condition in the threshold value described recovery time if be used for; Perhaps,
The 3rd judges submodule, if when being used for described short message fragment above described maximum number of retransmissions, judges whether the repeating transmission time of described short message fragment surpasses predetermined repeating transmission time threshold;
Described retransmission subpacket module is if when being used for not surpassing described repeating transmission time threshold, retransmit described short message fragment;
Described mark submodule is if when being used for surpassing described repeating transmission time threshold, marking described long SMS and send unsuccessfully.
CN201310002368.7A 2013-01-04 2013-01-04 The repeating method of long SMS and communication terminal Active CN103067895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310002368.7A CN103067895B (en) 2013-01-04 2013-01-04 The repeating method of long SMS and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310002368.7A CN103067895B (en) 2013-01-04 2013-01-04 The repeating method of long SMS and communication terminal

Publications (2)

Publication Number Publication Date
CN103067895A true CN103067895A (en) 2013-04-24
CN103067895B CN103067895B (en) 2015-11-25

Family

ID=48110323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310002368.7A Active CN103067895B (en) 2013-01-04 2013-01-04 The repeating method of long SMS and communication terminal

Country Status (1)

Country Link
CN (1) CN103067895B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358164A (en) * 2016-09-05 2017-01-25 中国联合网络通信集团有限公司 Super-long short message receiving method and receiving terminal
CN107548039A (en) * 2016-06-24 2018-01-05 中兴通讯股份有限公司 A kind of short message retries processing method and processing device, system
CN107682826A (en) * 2017-09-28 2018-02-09 努比亚技术有限公司 A kind of information transferring method, sms center, terminal and storage medium
CN109391692A (en) * 2018-10-23 2019-02-26 深圳壹账通智能科技有限公司 Batch data centralization processing method and system based on buffer pool strategy
CN109697113A (en) * 2018-12-29 2019-04-30 广州华多网络科技有限公司 Request method, apparatus, equipment and the readable storage medium storing program for executing retried

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1929633A (en) * 2006-08-07 2007-03-14 华为技术有限公司 Short message automatic repeating transmission system and method
US20070136484A1 (en) * 2005-12-09 2007-06-14 Mitch Kuninsky Transmit request management in a distributed shared storage system
CN102612007A (en) * 2011-01-19 2012-07-25 中国电信股份有限公司 Flow control method and device for short messages

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070136484A1 (en) * 2005-12-09 2007-06-14 Mitch Kuninsky Transmit request management in a distributed shared storage system
CN1929633A (en) * 2006-08-07 2007-03-14 华为技术有限公司 Short message automatic repeating transmission system and method
CN102612007A (en) * 2011-01-19 2012-07-25 中国电信股份有限公司 Flow control method and device for short messages

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107548039A (en) * 2016-06-24 2018-01-05 中兴通讯股份有限公司 A kind of short message retries processing method and processing device, system
CN106358164A (en) * 2016-09-05 2017-01-25 中国联合网络通信集团有限公司 Super-long short message receiving method and receiving terminal
CN107682826A (en) * 2017-09-28 2018-02-09 努比亚技术有限公司 A kind of information transferring method, sms center, terminal and storage medium
CN109391692A (en) * 2018-10-23 2019-02-26 深圳壹账通智能科技有限公司 Batch data centralization processing method and system based on buffer pool strategy
CN109697113A (en) * 2018-12-29 2019-04-30 广州华多网络科技有限公司 Request method, apparatus, equipment and the readable storage medium storing program for executing retried
CN109697113B (en) * 2018-12-29 2021-06-01 广州方硅信息技术有限公司 Method, device and equipment for requesting retry and readable storage medium

Also Published As

Publication number Publication date
CN103067895B (en) 2015-11-25

Similar Documents

Publication Publication Date Title
CN103067895B (en) The repeating method of long SMS and communication terminal
CN101315706A (en) Attendance checking method, attendance sending terminal, attendance server and mobile terminal
CN102088697A (en) Method and system for processing spam
CN109413762A (en) A kind of awakening method and device of vehicle-mounted Tbox
CN106407065A (en) Password keyboard USB communication abnormality recovery method and system
CN101814971A (en) Method for transmitting mobile phone file
CN103684974B (en) Email processing method and system
CN106067847A (en) A kind of voice data transmission method and device
CN101507318B (en) Radio communication device and method used in mobile communication system
CN103716130A (en) Physical layer self-adaption processing method for improving network transmission reliability
CN103152716A (en) Automatic recharge method and mobile communication terminal thereof
CN107567107A (en) A kind of method and device for transmitting data
CN102611531A (en) One-way data transmission method
CN101562507B (en) Data transmission method
CN102075886B (en) Question-and-answer method and system based on short message
CN101601219A (en) The method and apparatus that is used for improved re-transmission
CN104427551A (en) A business message transmitting method and apparatus
CN101001213B (en) Short message transmission system and method
CN102612001A (en) Method for realizing short message mass-sending through transfer by utilizing short message mass-sending platform server
CN103684837A (en) Back-up processing method, system and back-up processing server for communication information
CN103873533A (en) Method, device and system used for pushing information
JP3445427B2 (en) Data transmission control method and data transmission device
WO2015039462A1 (en) Method, server and terminal for sending messages
KR101373343B1 (en) Method for read-confirmation of short message service in mobile phone
CN107064959A (en) The enhanced forwarding engine apparatus and its implementation of Beidou satellite navigation system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant