CN100407808C - Message transmitting method - Google Patents

Message transmitting method Download PDF

Info

Publication number
CN100407808C
CN100407808C CN200510056867XA CN200510056867A CN100407808C CN 100407808 C CN100407808 C CN 100407808C CN 200510056867X A CN200510056867X A CN 200510056867XA CN 200510056867 A CN200510056867 A CN 200510056867A CN 100407808 C CN100407808 C CN 100407808C
Authority
CN
China
Prior art keywords
message
terminal
enter step
time threshold
gateway
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.)
Expired - Fee Related
Application number
CN200510056867XA
Other languages
Chinese (zh)
Other versions
CN1838784A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN200510056867XA priority Critical patent/CN100407808C/en
Publication of CN1838784A publication Critical patent/CN1838784A/en
Application granted granted Critical
Publication of CN100407808C publication Critical patent/CN100407808C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to the field of communication, particularly to a method for transmitting a short message, which comprises the following steps: A. a message center sends messages to an IP message gateway; B. the IP message gateway sends the messages to a terminal based on IP; C. the terminal based on IP receives the messages, and a step D can be taken if the terminal based on IP can not receive the messages; D. the IP message gateway sends the messages to the terminal based on IP again. The present invention can transmit the messages again by using an IP method after a failure of transmitting the message by using the IP method, and a waste of network resources caused by that another proper method is immediately selected for sending the short messages to the terminal according to the capacity of the terminal after the failure of transmitting the messages in the prior art can be avoided to exert the advantages of the IP transmission method further.

Description

A kind of message transfer method
Technical field
The present invention relates to the communications field, relate in particular to a kind of method that transmits short message.
Technical background
Along with the rise and the development of various IP access technologies, how with existing mobile network service, finishing becomes the business that the IP terminal can provide, and has become a target of third generation partner program (3GPP) standardization body.For example: short message (SMS) business is considered to one of most important and most widely used business in the current mobile network, but realizes short message service in the network based on the IP transmission, and good scheme is not then arranged as yet.Consider based on the network of IP access way more and more general, as wireless lan (wlan), next generation network (NGN) etc., multimode terminal to various IP terminals or support IP access way and mobile network access way, as WLAN and WCDMA/GSM multimode terminal, how to reuse existing mobile network short message business function entity and agreement as far as possible, and be linked into mobile core network by IP-based Access Network, also be each operator's question of common concern.
Fig. 1 is the network frame that the IP terminal of 3GPP proposition realizes short message service, and wherein short message equipment, Short Message Service Center (SM-SC), mobile switching centre's gateway/short message intercommunication mobile switching centre (GMSC/SMS-IWMSC), home signature user server/home location server (HSS/HLR) are the functional entitys that existing mobile network is realized the SMS business.SM-SC is used for storing short message; When GMSC is used for terminal reception short message, to HSS/HLR inquiry routing iinformation; SMS-IWMSC carries out authentication etc. when being used for terminal and sending SMS message.The short message service center that uses in the network all is that collection SM-SC, GMSC and three of SMS-IWMSC are the equipment of one at present, these three functional entitys is not realized as independent physical equipment.In Fig. 1, having only IP-MESSAGE-GW is newly-increased network entity, realizes the communication between IP client and the GMSC/SMS-IWMSC, need carry out the intercommunication between IP network messaging protocol (as IP Multimedia Message agreement) and the existing WCDMA/GSM short-message protocol.By the MAP communication, be similar to the communication modes between MSC and SGSN and the GMSC/SMS-IWMSC between IP-MESSAGE-GW and the GMSC/SMS-IWMSC; Pass through the IP communication between IP-MESSAGE-GW and the IP client.When the user who supports IP to insert uses short message service, must be registered to earlier on the IP-MESSAGE-GW, this user's of IP-MESSAGE-GW notice HSS login state and IP-MESSAGE-GW address, HSS preserves the IP-MESSAGE-GW address at User Status and user place.
Work as short message service center in the existing technical scheme and send message to the IP message gateway, the IP message gateway sends message to IP-based terminal, if send failure, promptly transmits failure reporting to short message service center's return messages; Short message service center selects other suitable method to send SMS message to terminal according to terminal capability then.
As the terminal that inserts based on IP, especially the terminal that inserts by modes such as WLAN, it is limited in one's ability to be easy to lose in one period very short time covering or terminal storage, cause message to send failure and reselect send mode, if this kind situation the emphasis network burden often occurs not only but also loses advantage and the meaning that transmits short message in the IP mode.
Summary of the invention
Purpose of the present invention just provides a kind of message transfer method, can effectively utilize the IP resource after transmitting message failure by the IP mode, and the present invention adopts following counting scheme for this reason:
A kind of message transfer method is characterized in that may further comprise the steps:
A, message center send message to the IP message gateway;
B, IP message gateway with described message to sending based on the IP terminal;
C, receive described message based on the IP terminal; If can't receive described message, enter step D based on the IP terminal;
D, IP message gateway are again to sending described message based on the IP terminal.
Among the described step D, described again to sending described message based on the IP terminal, have time restriction or restricted number.
Described step B also comprises step:
B11, startup first timer, and set very first time threshold value;
Described step D further may further comprise the steps:
D11, IP message gateway are to sending described message based on the IP terminal;
D12, judge whether described message sends success, if, enter step D13, if not, enter step D14;
D13, send successfully report to the message center return messages, program circuit finishes;
D14, judge whether very first time threshold value that surpass to set, if, enter step D15, if not, enter step D11;
D15, send failure reporting to the message center return messages.
Among the described step D11, also comprise step:
D111: start second timer, and set second time threshold;
Among the described step D14,, then enter step if do not surpass the very first time threshold value of setting:
D141, judge whether second time threshold that surpass to set, if, enter step D11, if not, then wait for the expiration of second time threshold, enter step D11.
Described step B also comprises step:
B21, startup first counter, described first counter is used for the IP message gateway is counted to the described message number of times that sends based on the IP terminal; And first amount threshold is set, described first amount threshold is that the IP message gateway is to the qualification that sends described message based on the IP terminal time numerical value;
Described step D further may further comprise the steps:
D21, IP message gateway are to sending described message based on the IP terminal;
D22, judge whether described message sends success, if, enter step D23, if not, enter step D24;
D23, send successfully report to the message center return messages, program circuit finishes;
D24, judge that whether the count value of this first counter surpasses first amount threshold of setting, if, enter step D25, if not, enter step D21;
D25, send failure reporting to the message center return messages.
Among the described step D21, also comprise step:
D211: start the 3rd timer, and set the 3rd time threshold;
Among the described step D24,, then enter step if do not surpass first amount threshold of setting:
D241, judge whether the 3rd time threshold that surpass to set, if, enter step D21, if not, then wait for the expiration of the 3rd time threshold, enter step D21 again.
Described step D further comprises:
D31, startup the 4th timer, and set the 4th time threshold;
D32, IP message gateway are to sending described message based on the IP terminal;
D33, judge whether described message sends success, if, enter step D34, if not, enter step D35;
D34, IP message gateway send successfully report to the message center return messages, and program circuit finishes;
D35, judge that whether this timer surpasses the 4th time threshold of setting, if, enter step D36, if not, return step D32;
D36, send failure reporting to the message center return messages.
Among the described step D32, also comprise step:
D321: start the 5th timer, and set the 5th time threshold;
Among the described step D35,, then enter step if do not surpass the 4th time threshold of setting:
D351, judge whether the 5th time threshold that surpass to set, if, enter step D32, if not, then wait for the expiration of the 5th time threshold, enter step D32 again.
Described step D further comprises:
D41, startup second counter, described second counter is used for the IP message gateway is counted to the described message number of times that sends based on the IP terminal; And set second amount threshold, described second amount threshold is that the IP message gateway is to the qualification that sends described message based on the IP terminal time numerical value;
D42, IP message gateway are to sending described message based on the IP terminal;
D43, judge whether described message sends success, if, enter step D44, if not, enter step D45;
D44, send successfully report to the message center return messages, program circuit finishes;
D45, judge that whether the count value of this second counter surpasses second amount threshold of setting, if, enter step D46, if not, return step D42;
D46, send failure reporting to the message center return messages.
Among the described step D42, also comprise step:
D421: start the 6th timer, and set the 6th time threshold;
Among the described step D45,, then enter step if do not surpass second amount threshold of setting:
D451, judge whether the 6th time threshold that surpass to set, if, enter step D42, if not, then wait for the expiration of the 6th time threshold, enter step D42 again.
The present invention is after message transmits failure by the IP mode, employing is reused the IP mode and is transmitted, avoided in the prior art, when message transmits the waste of network resources that failure back horse back selects other suitable method to send SMS message and caused to terminal according to terminal capability, further brought into play the advantage of IP load mode.
The present invention has set the time interval that a plurality of threshold values limit time of retransferring and number of times and retransfer in the process of message that retransfers, saved Internet resources.
Description of drawings
Fig. 1 is the network diagram that the IP terminal is supported short message service in the prior art;
Fig. 2 is the schematic flow sheet that short message sends failure in the prior art;
Fig. 3 is the main flow schematic diagram of message transfer method of the present invention;
Fig. 4 is the schematic flow sheet of the embodiment of the invention one;
Fig. 5 is the schematic flow sheet of the embodiment of the invention one when sending SMS message;
Fig. 6 is the embodiment of the invention one another schematic flow sheet when sending SMS message;
Fig. 7 is the schematic flow sheet of the embodiment of the invention two;
Fig. 8 is the schematic flow sheet of the embodiment of the invention two when sending SMS message;
Fig. 9 is the embodiment of the invention two another schematic flow sheet when sending SMS message;
Figure 10 is the schematic flow sheet of the embodiment of the invention three;
Figure 11 is the schematic flow sheet of the embodiment of the invention four.
Embodiment
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
Core concept of the present invention is can't receive the message of IP message gateway transmission based on the IP terminal time, repeats to send by the IP message gateway operation of message, transmits message to utilize IP-based mode to greatest extent.Thereby conserve network resources improves IP-based mode and transmits message rate.
As shown in Figure 3, be basic procedure schematic diagram of the present invention, as seen from the figure, the present invention mainly may further comprise the steps:
S1, message center send message to the IP message gateway;
When message center will be when sending message based on the IP terminal, it at first sends related news to the IP message gateway, by the IP message gateway with relevant information to sending based on the IP terminal.
Here, the type of this message can have multiple, such as being short message, also can be Multimedia Message etc.
S2, IP message gateway with described message to sending based on the IP terminal;
After the IP message gateway receives described message, with this message to sending based on the IP terminal.
Whether S3, judgement have received this message based on the IP terminal;
If receive described message success based on the IP terminal, then enter step S4; If can't receive described message based on the IP terminal, then illustrate based on the IP terminal problem to have occurred, enter step S5;
S4, send successfully report, can finish the flow process that this message sends to the message center return messages;
S5, IP message gateway are again to sending described message based on the IP terminal.
Can't receive described message based on the IP terminal in actual applications, has multiple situation, such as the terminal that inserts by modes such as WLAN, be easy in one period very short time, lose covering, in addition, owing to some reasons, sometimes also can cause message to send based on IP terminal self, such as full, can't receive new message etc. again based on the IP terminal memory.Under the above-mentioned situation, can cause message to send failure and reselect send mode, if this kind situation the emphasis network burden often occurs not only but also loses advantage and the meaning that transmits short message in the IP mode.The solution of the present invention has increased after message sends failure, reuses the IP message gateway and sends once or the step of this message of several times, makes can make full use of the IP load mode based on the IP terminal, reduces network burden.
Based on such scheme, the present invention can make multiple choices on embodiment, will further set forth below.
Embodiment one:
Present embodiment is by on the IP message gateway first timer being set, and regulation IP message gateway after terminal sends message failure, returns the transmission failure response to GMSC in the time that limits.And during this period of time the IP message gateway constantly attempts sending message, and the time interval that second timer regulation IP message gateway attempts sending to terminal message can also be set among this embodiment.
As shown in Figure 4, be the schematic flow sheet of present embodiment, as seen from the figure, present embodiment specifically may further comprise the steps:
S11, message center send message to the IP message gateway;
When sending message based on the IP terminal, message center sends this message to the IP message gateway earlier, is carried out the forwarding of message by the IP message gateway.
S12, startup first timer, and set very first time threshold value;
Here start a first timer, and set very first time threshold value, the setting of this time threshold can be set according to system requirements, does not do concrete qualification.
S13, IP message gateway with described message to sending based on the IP terminal;
S14, startup second timer are set second time threshold;
Here start a second timer, and set second time threshold, the setting of this time threshold can be set according to system requirements, does not do concrete qualification.
Whether S15, judgement can receive this message based on the IP terminal;
Judge describedly whether can receive this message,, enter step S16,, then enter step S17 if can not normally receive this message if can normally receive this message based on the IP terminal.
S16, receive described message, and return messages send successfully report;
If can receive this message, then send message and send successfully report based on the IP terminal.
S17, judge whether very first time threshold value that surpass to set;
If can't normally receive this message based on the IP terminal, then continue to judge whether to arrive the very first time threshold value of this setting, if, then enter step S18, if not, then enter step S19.
S18, send failure reporting to the message center return messages;
If arrive very first time threshold value, illustrate that the time that this message sends is overtime, have multiple reason, unreachable etc. such as terminal, this message sends and promptly fails, and sends failure reporting to message center.
S19, whether surpass second time threshold of setting;
If do not arrive the very first time threshold value of setting, illustrate that then this message transmission can also continue to operate again, need further judge whether to arrive second time threshold, if arrive second time threshold, illustrate with the last time interval that sends message of IP message gateway and reach requirement, continue to return step S13, again attempt message transmitting process, if do not arrive second time threshold, illustrate with the last time interval that sends message of IP message gateway not reach requirement, enter step S110.
S110, the expiration of wait second time threshold, and carry out the message transmission again.
After waiting for that second time threshold arrives, return step S13, attempt message transmitting process again.
In the present embodiment, set the very first time threshold value and second time threshold, its effect is different, very first time threshold value, be in message transmitting process, be used to limit the transmitting time cycle,, can occur to arrive based on the IP terminal because under some situation, and situation that can't process ends, such as based on the IP terminal not in the network service range, if Internet resources are obviously wasted in indefinite wait.
In the present embodiment, the setting of second time threshold is the time interval that repeats to send message in order to limit, and is resending this message after reaching the certain hour interval, can make the use of Internet resources more reasonable.
In the present embodiment, the start-up time of first timer and second timer, also can set flexibly, be not only to be limited to above-mentioned time starting point, such as can before message sends, starting, also can send startup simultaneously, can also send the back in message and start, can do different settings with system requirements in message.
As Fig. 5 and shown in Figure 6, be the concrete scheme of this kind scheme when sending SMS message, in the short message process of transmitting of this scheme, the time threshold of setting timer T1 is t.After short message sent failure for the first time in this scheme, the process that repeats to send, one of them process resend the back and send successfully, and another process repeats to send the back and sends failure, as seen, has mainly comprised following steps from Fig. 5 and Fig. 6:
S111, IP message gateway receive the short message that short message service center sends.
S112, IP message gateway initialization timing device T1=0, regulation is unsuccessful if send message to user terminal in time t, then sends failure reporting to the message center return messages; Start timer T1.
S113, IP message gateway send message to user terminal, receive the transmission failed message.
It is overtime that S114, IP message gateway judge that timer T1 does not have, and promptly judges T1<t.
S115, then the IP message gateway sends message to user terminal again, and receives message and send success response message.
S116, IP message gateway send message to short message service center and send successfully report.
The another one process is as follows:
S121, IP message gateway receive the note that short message service center sends.
S122, IP message gateway initialization timing device T1=0, regulation is unsuccessful if send message to user terminal in time t, then sends failure reporting to the message center return messages, and time t sets according to concrete needs; Start timer T1.
S123, IP message gateway send message to user terminal, receive the transmission failed message.
It is overtime that S124, IP message gateway judge that timer T1 does not have, and both judged T1<t.
S 125, then the IP message gateway sends message to user terminal again, receives the transmission failure response.
S126, IP message gateway judge that timer T1 is overtime, have both judged T1>=t.
S127, IP message gateway send message to short message service center and send failure reporting.
Embodiment two:
Present embodiment is by being provided with a counter on the IP message gateway, regulation IP message gateway sends message to terminal in the time that limits unsuccessful or after the transmission number of times that terminal is finished qualification is still failed, and returns the transmission failure response to GMSC.And during this period of time the IP message gateway constantly attempts sending message, stipulates also in this scheme that the trial of IP message gateway sends the number of times or the time interval to terminal.Can prevent from like this to lose reasons such as the area of coverage or memory are full and temporarily message can't be sent to UE and cause returning failure response, make message be sent to UE at once by other approach owing to the UE short time.
As shown in Figure 7, be the schematic flow sheet of present embodiment, as seen from the figure, present embodiment specifically may further comprise the steps:
S21, message center send message to the IP message gateway;
When sending message based on the IP terminal, message center sends this message to the IP message gateway earlier, is carried out the forwarding of message by the IP message gateway.
S22, startup first counter, and set first amount threshold;
Here start one first counter, and set first amount threshold, the setting of this amount threshold can be set according to system requirements, does not do concrete qualification.
S23, IP message gateway with described message to sending based on the IP terminal;
S24, startup the 3rd timer are set the 3rd time threshold;
Here start one the 3rd timer, and set the 3rd time threshold, the setting of this time threshold can be set according to system requirements, does not do concrete qualification.
Whether S25, judgement can receive this message based on the IP terminal;
Judge describedly whether can receive this message,, enter step S26,, enter step S27 if can not normally receive this message if can normally receive this message based on the IP terminal.
S26, receive described message, and send message and sends successfully and report
If can receive this message, then send message and send successfully report based on the IP terminal;
S27, judge whether first amount threshold that surpass to set;
If can't normally receive this message based on the IP terminal, then continue to judge whether to arrive first amount threshold of this setting, if, then enter step S28, if not, then enter step S29.
S28, send failure reporting to the message center return messages;
If arrive first amount threshold, illustrate that this message sends number of times and surpassed setting, this message sends and promptly fails, and sends failure reporting to message center.
S29, whether surpass the 3rd time threshold of setting;
If do not arrive first amount threshold of setting, illustrate that then this message transmission can also continue to operate again, need further judge whether to arrive the 3rd time threshold, if arrive the 3rd time threshold, illustrate with the last time interval that sends message of IP message gateway and reach requirement, continue to return step S23, again attempt message transmitting process, if do not arrive the 3rd time threshold, illustrate with the last time interval that sends message of IP message gateway not reach requirement, enter step S210.
S210, the expiration of wait the 3rd time threshold, and carry out the message transmission again.
Among this embodiment, the start-up time of first counter and the 3rd timer, also can set flexibly, be not only to be limited to above-mentioned time starting point, such as can before message sends, starting, also can send startup simultaneously, can also send the back in message and start, can do different settings with system requirements in message.
As Fig. 8 and shown in Figure 9, be the concrete scheme of this kind scheme when sending SMS message, in the short message process of transmitting of this scheme, the amount threshold of setting counter C is n.After short message sent failure for the first time in this scheme, the process that repeats to send, one of them process resend the back and send successfully, and another process repeats to send the back and sends failure, as seen from the figure, has mainly comprised following steps:
S211, IP message gateway receive the note that message center (short message service center or multimedia hub) sends.
S212, IP message gateways and starting counter C, regulation is still unsuccessful if send n message to user terminal, then sends failure reporting to the message center return messages, and frequency n is set according to concrete needs; Count initialized device C.Counter C initialization.
S213, IP message gateway send message to user terminal.Counter C does corresponding counting.
S214, judge that message sends whether success:
If the success of S215 message then sends successfully report to the message center return messages.
If S216 message sends unsuccessful, then judge whether overshoot value of counter C scope.
If S217 exceeds, then return the transmission failure reporting to message center;
If do not exceed, then return step S213, until counter C overshoot value scope.
The occupation mode of counter can be incremental counting or degression type counting among this embodiment, and the setting of amount threshold can be decided according to system requirements, does not here limit.
As shown in Figure 9, be to adopt the degression type counting mode to set counter, as seen from the figure, specifically may further comprise the steps:
S221, IP message gateway receive the note that short message service center sends.
S222, IP message gateways and starting counter C1 and initialization C1:=N, regulation is still unsuccessful if send n message to user terminal, then sends failure reporting to the message center return messages, and frequency n is set according to concrete needs.
S223, IP message gateway send message to user terminal.
S224, judge that message sends whether success:
If the S225 success then sends successfully report to the message center return messages;
If S226 is unsuccessful, counter C does corresponding counting, be made as in the present embodiment and successively decrease, and both C1:=C1-1, and judge whether overshoot value of counter C1 scope, promptly less than 1;
S227, judge whether overshoot value of counter scope;
If S228 exceeds, then return the transmission failure reporting to message center;
If do not exceed, then return step S223, until counter C overshoot value scope.
Embodiment three:
Present embodiment is by the 4th timer is set on the IP message gateway, regulation IP message gateway is after sending message failure to terminal, resend this message, if in the time of setting, resend this message and still this message can't be sent to terminal, then return the transmission failure response to GMSC based on IP.Set during this period of time in the IP message gateway constantly attempt sending message, the 5th timer regulation IP message gateway can also be set among this embodiment attempt time interval to terminal transmission message.
As shown in figure 10, be the schematic flow sheet of present embodiment, the present invention includes following steps as seen from the figure:
S31, message center send message to the IP message gateway;
When sending message based on the IP terminal, message center sends this message to the IP message gateway earlier, is carried out the forwarding of message by the IP message gateway.
S32, IP message gateway with described message to sending based on the IP terminal;
Whether S33, judgement can receive this message based on the IP terminal, if can receive this message, then enter step S34, if can't receive this message, then enter step S35.
S34, receive described message, and send message and sends successfully and report;
If can receive this message, then send message and send successfully report based on the IP terminal.
S35, startup the 4th timer, and set the 4th time threshold;
If can't normally receive this message based on the IP terminal here, then start the 4th timer, and set the 4th time threshold.The effect of the 4th timer is number of times or the time that repeats to send message in order to limit, effectively to utilize Internet resources.
S36, IP message gateway are again to sending described message based on the IP terminal;
The IP message gateway with this message again to sending based on the IP terminal.
S37, startup the 5th timer, and set the 5th time threshold;
Here start one the 5th timer, and set the 5th time threshold, the setting purpose of the 5th time threshold is the time interval that repeats to send message in order to limit.The setting of this time threshold can be set according to system requirements, does not do concrete qualification.
Whether S38, judgement can receive the message that this resends based on the IP terminal, if, enter step S34, if not, then enter step S39.
S39, judge whether the 4th time threshold that surpass to set;
If arrive the 4th time threshold, illustrate with the last time interval that sends message of IP message gateway to surpass setting the 4th time threshold, enter step S310, if do not reach the 4th time threshold of this setting, then enter step S311.
S310, send failure reporting to the message center return messages;
After reaching the 4th time threshold, illustrate with the last time interval that sends message of IP message gateway to surpass setting the 4th time threshold, need finish this message transmitting process, send failure reporting to the message center return messages.
S311, judge whether the 5th time threshold that surpass to set;
Here,, illustrate with the last time interval that sends message of IP message gateway not reach requirement, enter step S312 if do not arrive the 5th time threshold.If reached the 5th time threshold of setting, illustrate with the last time interval that sends message of IP message gateway to reach requirement, return step S36, resend the process of message.
S312, the expiration of wait the 5th time threshold;
If do not reach the 5th time threshold, wait for that then this time threshold reaches after, return step S36, resend the process of message.
In the present embodiment, the setting-up time of the 4th timer and the 4th time threshold, be after sending message failure for the first time, start when resending this message and set, can save Internet resources like this, only under the situation that sends message failure, start when resending message targetedly.
Embodiment four:
As shown in figure 11, be the schematic flow sheet of present embodiment, the present invention includes following steps as seen from the figure:
S41, message center send message to the IP message gateway;
When sending message based on the IP terminal, message center sends this message to the IP message gateway earlier, is carried out the forwarding of message by the IP message gateway.
S42, IP message gateway with described message to sending based on the IP terminal;
Whether S43, judgement can receive this message based on the IP terminal, if can receive this message, then enter step S44, if can't receive this message, then enter step S45.
S44, receive described message, and send message and sends successfully and report;
If can receive this message, then send message and send successfully report based on the IP terminal.
S45, startup second counter, and set second amount threshold;
If can't normally receive this message based on the IP terminal here, then start second counter, and set second amount threshold.The effect of this second counter is the number of times that repeats to send message in order to limit, effectively to utilize Internet resources.
S46, IP message gateway are again to sending described message based on the IP terminal;
The IP message gateway with this message again to sending based on the IP terminal.
S47, startup the 6th timer, and set the 6th time threshold;
Here start one the 6th timer, and set the 6th time threshold, the setting purpose of the 6th time threshold is the time interval that repeats to send message in order to limit.The setting of this time threshold can be set according to system requirements, does not do concrete qualification.
Whether S48, judgement can receive the message that this resends based on the IP terminal, if, enter step S44, if not, then enter step S49.
S49, judge whether second amount threshold that surpass to set;
If arrive second amount threshold, illustrate that the number of times that resends message with the IP message gateway above setting second amount threshold, enters step S410, if do not reach second amount threshold of this setting, then enter step S411.
S410, send failure reporting to the message center return messages;
After reaching second amount threshold, illustrating needs to finish this message transmitting process, sends failure reporting to the message center return messages.
S411, judge whether the 6th time threshold that surpass to set;
Here,, illustrate with the last time interval that sends message of IP message gateway not reach requirement, enter step S412 if do not arrive the 6th time threshold.If reached the 5th time threshold of setting, illustrate with the last time interval that sends message of IP message gateway to reach requirement, return step S46, resend the process of message.
S412, the expiration of wait second amount threshold;
If do not reach second amount threshold, wait for that then this time threshold reaches after, return step S46, resend the process of message.
In the present embodiment, the setting-up time of this second counter and second amount threshold, be after sending message failure for the first time, start when resending this message and set, can save Internet resources like this, only under the situation that sends message failure, start when resending message targetedly.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within the claim scope of the present invention.

Claims (10)

1. message transfer method is characterized in that may further comprise the steps:
A, message center send message to the IP message gateway;
B, IP message gateway with described message to sending based on the IP terminal;
C, receive described message based on the IP terminal; If can't receive described message, enter step D based on the IP terminal;
D, IP message gateway are again to sending described message based on the IP terminal.
2. the method for claim 1 is characterized in that among the described step D, and is described again to sending described message based on the IP terminal, has time restriction or restricted number.
3. method as claimed in claim 1 or 2 is characterized in that:
Described step B also comprises step:
B11, startup first timer, and set very first time threshold value;
Described step D further may further comprise the steps:
D11, IP message gateway are to sending described message based on the IP terminal;
D12, judge whether described message sends success, if, enter step D13, if not, enter step D14;
D13, send successfully report to the message center return messages, program circuit finishes;
D14, judge whether very first time threshold value that surpass to set, if, enter step D15, if not, enter step D11;
D15, send failure reporting to the message center return messages.
4. method as claimed in claim 3 is characterized in that also comprising step among the described step D11:
D111: start second timer, and set second time threshold;
Among the described step D14,, then enter step if do not surpass the very first time threshold value of setting:
D141, judge whether second time threshold that surpass to set, if, enter step D11, if not, then wait for the expiration of second time threshold, enter step D11.
5. method as claimed in claim 1 or 2 is characterized in that:
Described step B also comprises step:
B21, startup first counter, described first counter is used for the IP message gateway is counted to the described message number of times that sends based on the IP terminal; And first amount threshold is set, described first amount threshold is that the IP message gateway is to the qualification that sends described message based on the IP terminal time numerical value;
Described step D further may further comprise the steps:
D21, IP message gateway are to sending described message based on the IP terminal;
D22, judge whether described message sends success, if, enter step D23, if not, enter step D24;
D23, send successfully report to the message center return messages, program circuit finishes;
D24, judge that whether the count value of this first counter surpasses first amount threshold of setting, if, enter step D25, if not, enter step D21;
D25, send failure reporting to the message center return messages.
6. method as claimed in claim 5 is characterized in that also comprising step among the described step D21:
D211: start the 3rd timer, and set the 3rd time threshold;
Among the described step D24,, then enter step if do not surpass first amount threshold of setting:
D241, judge whether the 3rd time threshold that surpass to set, if, enter step D21, if not, then wait for the expiration of the 3rd time threshold, enter step D21 again.
7. method as claimed in claim 1 or 2 is characterized in that described step D further comprises:
D31, startup the 4th timer, and set the 4th time threshold;
D32, IP message gateway are to sending described message based on the IP terminal;
D33, judge whether described message sends success, if, enter step D34, if not, enter step D35;
D34, IP message gateway send successfully report to the message center return messages, and program circuit finishes;
D35, judge that whether this timer surpasses the 4th time threshold of setting, if, enter step D36, if not, return step D32;
D36, send failure reporting to the message center return messages.
8. method as claimed in claim 7 is characterized in that also comprising step among the described step D32:
D321: start the 5th timer, and set the 5th time threshold;
Among the described step D35,, then enter step if do not surpass the 4th time threshold of setting:
D351, judge whether the 5th time threshold that surpass to set, if, enter step D32, if not, then wait for the expiration of the 5th time threshold, enter step D32 again.
9. method as claimed in claim 1 or 2 is characterized in that described step D further comprises:
D41, startup second counter, described second counter is used for the IP message gateway is counted to the described message number of times that sends based on the IP terminal; And set second amount threshold, described second amount threshold is that the IP message gateway is to the qualification that sends described message based on the IP terminal time numerical value;
D42, IP message gateway are to sending described message based on the IP terminal;
D43, judge whether described message sends success, if, enter step D44, if not, enter step D45;
D44, send successfully report to the message center return messages, program circuit finishes;
D45, judge that whether the count value of this second counter surpasses second amount threshold of setting, if, enter step D46, if not, return step D42;
D46, send failure reporting to the message center return messages.
10. method as claimed in claim 9 is characterized in that also comprising step among the described step D42:
D421: start the 6th timer, and set the 6th time threshold;
Among the described step D45,, then enter step if do not surpass second amount threshold of setting:
D451, judge whether the 6th time threshold that surpass to set, if, enter step D42, if not, then wait for the expiration of the 6th time threshold, enter step D42 again.
CN200510056867XA 2005-03-25 2005-03-25 Message transmitting method Expired - Fee Related CN100407808C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200510056867XA CN100407808C (en) 2005-03-25 2005-03-25 Message transmitting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200510056867XA CN100407808C (en) 2005-03-25 2005-03-25 Message transmitting method

Publications (2)

Publication Number Publication Date
CN1838784A CN1838784A (en) 2006-09-27
CN100407808C true CN100407808C (en) 2008-07-30

Family

ID=37016015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200510056867XA Expired - Fee Related CN100407808C (en) 2005-03-25 2005-03-25 Message transmitting method

Country Status (1)

Country Link
CN (1) CN100407808C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815265B (en) 2010-02-10 2012-09-05 播思通讯技术(北京)有限公司 Widget information transmission method and widget information transmission system
CN105934964B (en) * 2014-12-30 2019-11-29 华为技术有限公司 Information reporting device and method, data sending device and method
CN104618074A (en) * 2014-12-30 2015-05-13 合肥金星机电科技发展有限公司 Data communication method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487602B1 (en) * 1999-08-17 2002-11-26 Ericsson Inc. System and method for accessing the internet in an internet protocol-based cellular network
US20040048629A1 (en) * 2002-09-11 2004-03-11 Ki-Heon Yoon Server and method for short message service in private wireless network interworkig with public land mobile network
US20050050148A1 (en) * 2003-06-18 2005-03-03 Said Mohammadioun System and method for providing notification on remote devices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6487602B1 (en) * 1999-08-17 2002-11-26 Ericsson Inc. System and method for accessing the internet in an internet protocol-based cellular network
US20040048629A1 (en) * 2002-09-11 2004-03-11 Ki-Heon Yoon Server and method for short message service in private wireless network interworkig with public land mobile network
US20050050148A1 (en) * 2003-06-18 2005-03-03 Said Mohammadioun System and method for providing notification on remote devices

Also Published As

Publication number Publication date
CN1838784A (en) 2006-09-27

Similar Documents

Publication Publication Date Title
CN110582995B (en) Method, electronic device and memory for session release in wireless communication
CN101202757B (en) An always-on wireless internet protocol communication
CN101998521B (en) Improved buffering for flow control
US6466552B1 (en) Group transmission in a packet radio network
US8503300B2 (en) Efficient messaging over internet protocol
JP4243599B2 (en) How to monitor paging channel for packet switching service
FI111595B (en) Arrangements for the realization of multimedia messaging
WO1999059355A2 (en) Point-to-multipoint transmission on a mobile communication system
JP4080471B2 (en) Data push service system and method through heterogeneous network
US20060116151A1 (en) Method and apparatus for management of paging resources associated with a push-to-talk communication session
US8798651B2 (en) Method, system and apparatus for alternate data service provisioning
CN112219380A (en) Mooring strategy for cellular networks
WO2013004300A2 (en) Direct message delivery mechanism for short message service (sms) over ip
US7277706B2 (en) Provision of service contexts in a communication system
US20080080370A1 (en) Method and apparatus for buffering packets in a network
CN100421527C (en) Method for reinforcing equivalent public mobile network function
CN107005792A (en) The support of Mobile Termination application service in a mobile system
WO2005114912A1 (en) Message routing method and system
CN100407808C (en) Message transmitting method
CN101998513B (en) Method and system for controlling policy and charging rules function (PCRF) load balance and redirect diameter routing agent (DRA)
US7209742B2 (en) Wireless mobile station loss prevention in multi-network communication systems
CN100544386C (en) Utilize the method for session initiation protocol retrieval and transmission Multimedia Message
US20050181766A1 (en) Method and device for delivering messages to mobile terminal devices in accordance with a user selectable attainability status
WO2002093945A2 (en) Communication service provisioning method
EP2510742A1 (en) Network entity for mobile communications

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080730

Termination date: 20130325