CN101888610A - Method, system and device for realizing short message service - Google Patents

Method, system and device for realizing short message service Download PDF

Info

Publication number
CN101888610A
CN101888610A CN2010102199187A CN201010219918A CN101888610A CN 101888610 A CN101888610 A CN 101888610A CN 2010102199187 A CN2010102199187 A CN 2010102199187A CN 201010219918 A CN201010219918 A CN 201010219918A CN 101888610 A CN101888610 A CN 101888610A
Authority
CN
China
Prior art keywords
short message
message service
service center
master
setting
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.)
Pending
Application number
CN2010102199187A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2010102199187A priority Critical patent/CN101888610A/en
Priority to PCT/CN2010/077715 priority patent/WO2012003672A1/en
Publication of CN101888610A publication Critical patent/CN101888610A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

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

Abstract

The invention discloses a method, a system and a device for realizing a short message service and a statistical method for the success rate of the short message service. The method for realizing the short message service comprises the following step that: when a link of a main short message center is normal, but the success rate of the short message service is lower than a set threshold value, a short message center switching device realizes the short message service by utilizing a standby short message center. The method for realizing the short message service of the invention detects whether the short message center goes wrong or not by detecting the success rate of transmitting a short message by the short message center and effectively switches a service of transmitting the short message to the standby short message center in time when the main short message center goes wrong so as to guarantee the success rate of transmitting the short message and avoid short message loss caused by congestion or paralysis of the short message center.

Description

A kind of mthods, systems and devices of realizing short message service
Technical field
The present invention relates to the communications field, especially a kind of mthods, systems and devices of realizing short message service.
Background technology
Multimedia messaging service, MMS (MMS, Multimedia Messaging Service) be a kind of can be between mobile phone and the mobile phone, between service provider and the mobile phone and the messenger service that transmits content of multimedia between other application servers such as mobile phone and Email server.Multimedia messaging service, MMS needs the common cooperation in multimedia messaging service, MMS center (MMSC) and short message service center (SMSC, Short Message Service Center) to realize.Wherein the user divides according to the operator of its ownership and the zone at place in the multimedia messaging service, MMS, provides multimedia messaging service, MMS by the Multimedia Message center of user attaching for this user.Short message service center, realize the functions such as reception, storage, forwarding and short message condition report of short message, short message service center also comprise operating maintenance module and and network between pass-along message, select to send the gateway module of route.
The realization of multimedia messaging service, MMS is example with the MMS, if the multimedia message recipient is the cellphone subscriber, then the Multimedia Message center is before distributing multimedia message, earlier issue a notifying messages by short message service center, notify the user to obtain multimedia message, comprising concrete URL(uniform resource locator) (URL) address that obtains multimedia message.Therefore the success rate that issues of this notifying messages directly has influence on the success rate of MMS.
In the present existing network environment, in case be easy to occur under the situation that congested or paralysis appear in certain short message service center, other short message service centers can not be in time found and switch at the multimedia messaging service, MMS center, cause a large amount of notes to be lost, thus the situation that the MMS success rate is had a strong impact on.When this situation takes place, can not effectively remind simultaneously the user.Therefore, need provide a kind of method of switching short message service center, solve this problem.
Summary of the invention
The technical problem to be solved in the present invention provides the method that a kind of short message service center switches, under main situation about breaking down with short message service center, business with transmitting short message switches to backup short message service center effectively and timely, guarantee the success rate of transmitting short message, avoid because short message service center is congested or paralysis the problem that causes note to be lost.
In order to solve the problems of the technologies described above, the invention provides a kind of method that realizes short message service, it is characterized in that:
Main link with short message service center is normal but the short message service success rate is lower than setting threshold, and then short message service center's switching device shifter utilizes standby short message service center to realize short message service.
Further, this short message service center's switching device shifter also timing detects main state with short message service center, comprises that detecting this master uses the Link State of short message service center and the success rate of short message service;
As this master unusual or interruption with Link State of short message service center, the setting state that then will lead with short message service center is unusual, utilizes this standby short message service center to realize short message service;
Normal as this main Link State with short message service center, the setting state that then will lead with short message service center is normal, detect the success rate of this master again, be higher than setting threshold, then utilize this master to realize short message service with short message service center as this success rate with the short message service of short message service center; Be lower than this setting threshold as this success rate, the state that also will lead with short message service center is made as middle wait state.
Further, when this master is the centre wait state with short message service center, this short message service center's switching device shifter is also in setting duration, set the number of the short message service that this master can carry out with short message service center according to the short message service amount, utilize this master to carry out the short message service of this setting number, exceed this setting number as the short message service amount and then utilize this standby short message service center to carry out short message service with short message service center;
This setting-up time expires, this short message service center's switching device shifter resets the number of the short message service that time and this master can carry out with short message service center, utilize this master to carry out the short message service of this setting number with short message service center, utilize this standby short message service center to exceed the short message service of setting number, and detect the state of this master again with short message service center.
Further, this short message service center's switching device shifter is in setting duration, the number of setting the short message service that this master can carry out with short message service center according to the short message service amount is a Configuration Values, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sets 10%~50% of short message service amount in duration.
Further, this short message service center's switching device shifter is set duration at every turn, also detect the success rate of interior this master of this setting duration with short message service center's short message service, as the detection threshold of this success rate greater than setting, the state that then will lead with short message service center is made as normally, otherwise keeping this master is middle wait state with short message service center;
This short message service center's switching device shifter detects interior this master of this setting duration and realizes in the following manner with the success rate that short message service center carries out short message service:
After this short message service center's switching device shifter is set duration, the note of all or part of quantity in the short message service that this master can be carried out with short message service center is as the sample note, request message to described note identifies, the number of statistics described request message, and set corresponding response time, and in this response time, the number of statistics described request message corresponding response, and the number of the response of short message service success in the described response, this response time is not less than this setting duration;
In this response time, the number that this short message service center's switching device shifter counts on described request message corresponding response is identical with the number of the described request message of transmission and all equal the number of this sample note, then stop to add up the number of described response and described successful response, with the ratio of the number of the response of short message service success in the described response and this sample note number success rate as short message service;
Otherwise, this response time then after, with the ratio of the number of the number of the described successful response that counts on and described request message as the success rate of this master with short message service center's short message service.
In order to solve the problems of the technologies described above, the present invention also provides a kind of statistical method of short message service success rate, it is characterized in that:
Start one first timer, in this first timer time, with the note of setting quantity is the sample note, request message to described sample note identifies, the number of statistics described request message, and start one with corresponding second timer of this first timer, the duration of this second timer is not less than this first timer, in this second timer time, the number of statistics described request message corresponding response, and the number of the response of short message service success in the described response; The quantity of this sample note was not more than in this first timer time, the short message service amount of short message service center;
In this second timer time, count on the number of described response and the identical number that all equals this sample note of number of described request message, then stop this second timer, with the ratio of the number of described successful response and this sample note number success rate as short message service;
Otherwise, this second timer then after, with the ratio of the number of described successful response and the described request message number that counts in this first timer time success rate as short message service.
In order to solve the problems of the technologies described above, the system that the present invention also provides a kind of short message service to realize is characterized in that comprising primary and backup short message service center, and the short message service center's switching device shifter that is connected with this primary and backup short message service center, wherein:
This short message service center's switching device shifter when being used for the normal but short message service success rate of main link with short message service center and being lower than setting threshold, utilizes this standby short message service center realization short message service;
This master uses short message service center, is used for realizing this short message service under this short message service center's switching device shifter indication;
This standby short message service center is used for realizing this short message service under this short message service center's switching device shifter indication.
Further, this short message service center's switching device shifter also is used for timing and detects main state with short message service center, comprises that detecting this master uses the Link State of short message service center and the success rate of short message service; As this master unusual or interruption with Link State of short message service center, the setting state that then will lead with short message service center is unusual, realizes short message service by this standby short message service center; Normal as this main Link State with short message service center, the setting state that then will lead with short message service center is normal, detect the success rate of this master again, be higher than setting threshold, then utilize this master to realize short message service with short message service center as this success rate with the short message service of short message service center; Be lower than this setting threshold as this success rate, the state that also will lead with short message service center is made as middle wait state.
Further, this short message service center's switching device shifter also be used for this master with short message service center be in the middle of during wait state, in setting duration, set the number of the short message service that this master can carry out with short message service center according to the short message service amount, utilize this master to carry out the short message service of this setting number, exceed this setting number as the short message service amount and then utilize this standby short message service center to carry out short message service with short message service center; This setting-up time expires, reset the number of the short message service that time and this master can carry out with short message service center, utilize this master to carry out the short message service of this setting number with short message service center, utilize this standby short message service center to exceed the short message service of setting number, and detect the state of this master again with short message service center.
Further, this short message service center's switching device shifter is in setting duration, the number of setting the short message service that this master can carry out with short message service center according to the short message service amount is a Configuration Values, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sets 10%~50% of short message service amount in duration.
Further, this short message service center's switching device shifter also is used for setting duration at every turn and detects the success rate of interior this master of this setting duration with short message service center's short message service, as the detection threshold of this success rate greater than setting, then should lead and be made as normal condition with short message service center, otherwise keeping this master is middle wait state with short message service center;
This short message service center's switching device shifter detects interior this master of this setting duration and comprises with the success rate that short message service center carries out short message service:
After this short message service center's switching device shifter is set duration, the note of all or part of quantity of the short message service that this master of being provided with can be carried out with short message service center is as the sample note, request message to described note identifies, the number of the described request message that statistics sends, and set corresponding response time, in this response time, the number of statistics described request message corresponding response, and the number of the response of short message service success in the described response, this response time is not less than this setting duration;
In this response time, the number of the described request message corresponding response that this short message service center's switching device shifter counts on is identical with the number of described request message and all equal the number of this sample note, then stop to add up the number of described response and described successful response, with the ratio of the number of the response of short message service success in the described response and this sample note number success rate as short message service;
Otherwise, this response time then after, with the ratio of the number of the number of the described successful response that counts on and described request message as the success rate of this master with short message service center's short message service.
In order to solve the problems of the technologies described above, the present invention also provides a kind of device of realizing short message service, it is characterized in that comprising that short message service center's state handover module and note issue module, wherein:
This short message service center's state handover module is used to detect the main state notifying note that also will lead with short message service center with the state of short message service center and issues module;
This note issues module, and it is normal but the short message service success rate is lower than setting threshold to be used for main link with short message service center, then utilizes the realization short message service of standby short message service center.
Further, this short message service center's state handover module also is used for timing and detects main state with short message service center, comprises that detecting this master uses the Link State of short message service center and the success rate of short message service; As this master unusual or interruption with Link State of short message service center, the setting state that then will lead with short message service center is unusual; Normal as this main Link State with short message service center, the setting state that then will lead with short message service center is normal, detect the success rate of this master again with the short message service of short message service center, be lower than this setting threshold as this success rate, the state that also will lead with short message service center is made as middle wait state;
This note issues module, when also being used for the abnormal state of this master's usefulness short message service center, utilizes this standby short message service center to realize short message service; Main state with short message service center normally and this success rate when being higher than setting threshold utilizes this master to realize short message service with short message service center.
Further, this note issues module, also be used for this master with the state of short message service center be in the middle of during wait state, in setting duration, set the number of the short message service that this master can carry out with short message service center according to the short message service amount, utilize this master to carry out the short message service of this setting number, exceed this setting number as the short message service amount and then utilize this standby short message service center to carry out short message service with short message service center; This setting-up time expires, reset time and this master can send note with short message service center number, utilize this master to carry out the short message service of this setting number with short message service center, utilize this standby short message service center to exceed the short message service of setting number, and detect the state of this master again with short message service center.
Further, this note issues module in setting duration, the number of setting the short message service that this master can carry out with short message service center according to the short message service amount is a Configuration Values, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sets 10%~50% of short message service amount in duration.
Further, this short message service center's state handover module also is used in this note issues the duration of module settings, detect the success rate of interior this master of this setting duration with short message service center's short message service, as the detection threshold of this success rate greater than setting, the state that then will lead with short message service center is made as normally, otherwise keeping this master is middle wait state with short message service center;
This short message service center's state handover module detects in this setting duration this master with the success rate that short message service center carries out short message service, comprising:
This short message service center's state handover module is after this note issues the module settings duration, the note of all or part of quantity of the short message service that this master of being provided with can be carried out with short message service center is as the sample note, request message to described note identifies, issue module by this note and send or receive described request message, the number of statistics described request message, and set corresponding response time, in this response time, add up this note and issue that module is received or the number of the described request message corresponding response that sends, and the number of the response of short message service success in the described response, this response time is not less than this setting duration;
This short message service center's state handover module, as detect in this response time, the number that this note issues the described request message corresponding response that module counts on is identical with the number of described request message and all equal the number of this sample note, then stop to add up the number of described response and described successful response, with the ratio of the number of the response of short message service success in the described response and this sample note number success rate as short message service; As detecting this response time then, the ratio of the described successful response number that then will add up and the number of described request message is as the success rate of this master with short message service center's short message service.
The present invention is by detecting the success rate of short message service center's transmitting short message, whether detect short message service center breaks down, when the master is broken down with short message service center, business with transmitting short message switches to backup short message service center effectively and timely, guaranteed the success rate of transmitting short message, avoided causing note to be lost because short message service center is congested or paralysis.
Description of drawings
Fig. 1 is the structural representation of present embodiment short message service center switched system;
Fig. 2 is the structural representation of present embodiment short message service center switching device shifter;
Fig. 3 is the method schematic diagram of present embodiment statistics transmitting short message success rate;
Fig. 4 is the method schematic diagram of present embodiment transmitting short message.
Embodiment
Below in conjunction with drawings and Examples technical scheme of the present invention is described in detail.
As shown in Figure 1, short message service center's switched system of present embodiment comprises short message service center's switching device shifter, and the multimedia messaging service, MMS center that is connected with this short message service center's switching device shifter, main with the A of short message service center, the standby B of short message service center and warning system, wherein:
The multimedia messaging service, MMS center is used to that multi-media SMS is arranged (as multimedia message) when the user issues, send the request of the note of issuing a notice by short message service center's switching device shifter to short message service center, comprise information such as the message content of needs transmission and message receiver in this request.
Short message service center's switching device shifter, with all send agreement (SMPP) between the primary and backup short message service center and be connected by point-to-point short message, be used to detect main state with short message service center, receive the request of the note of issuing a notice of this multimedia messaging service, MMS center transmission, state according to short message service center, should ask by the SMPP protocol code, send to corresponding short message service center, as it is unusual to detect main Link State with short message service center, the transmitting short message business is switched to standby short message service center, as it is normal to detect main Link State with short message service center, also detect the success rate of this master, greater than setting threshold, then utilize this master to send SMS message with short message service center as success rate with short-message sending under the short message service center, less than setting threshold, then utilize this standby short message service center to send SMS message as success rate.When detecting this master normal but success rate short-message sending down be less than setting threshold with short message service center's link, start one and send timer, set this master can send note with short message service center number according to the short message service amount, this sets this master is a Configuration Values with the number that short message service center can send note, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sends 10%~50% of short message service amount in timer time; This sends timer in the time, utilize this master to carry out the short message service of this Configuration Values number with short message service center, exceeding this Configuration Values as the short message service amount then utilizes this standby short message service center to carry out short message service, this transmission timer expires and then resets this transmission timer and this quota value, utilize this master to carry out the short message service of this Configuration Values quantity with short message service center, utilize this standby short message service center to exceed the short message service of setting number, and detect the state of this master again with short message service center.
The master uses short message service center, is used for realizing this short message service under this short message service center's switching device shifter indication.
Standby short message service center is used for realizing this short message service under this short message service center's switching device shifter indication, and as main backup with short message service center.
Warning system, same as the prior art, be used to provide alarm function.
Short message service center's switching device shifter detects main state with short message service center, comprise that detecting this installs the main state of using the link of short message service center, and, detect the message transmission success rate of this master with short message service center this main using under short message service center's link normal condition.Concrete; short message service center's switching device shifter detects this and installs and main create success again with the success of link link setup or the link of short message service center; then thinking main is normal condition with short message service center, unusual or chain rupture occur as this link, and then thinking main is abnormality with short message service center.This short message service center's switching device shifter is as judging the main short message service center's abnormal state of using, then the business with transmitting short message switches to standby short message service center, as judge main normally with short message service center's recovering state, the business of transmitting short message is switched to this master use short message service center.
This short message service center's switching device shifter is used under short message service center's node normal condition main, also regularly obtain the success rate of transmitting short message, check whether this success rate is lower than the threshold value of setting, as be lower than this threshold value that then setting this master is middle wait state with short message service center's state.
This short message service center's switching device shifter detects interior this master of this transmission timer time and comprises with the success rate that short message service center carries out short message service:
After this short message service center's switching device shifter is set duration, with the note of all or part of quantity that sends to this master usefulness short message service center that is provided with as the sample note, request message to described note identifies, send described request message, the number of the described request message that statistics sends, and according to the corresponding response time of SMPP agreement regulation setting, in this response time, the number of the described request message corresponding response that statistics is received, and the number of the response of short message service success in the described response, this response time is not less than this setting duration;
In this response time, the number of the described request message corresponding response that this short message service center's switching device shifter is received is identical with the number of the described request message of transmission and all equal the number of this sample note, then stop to add up the number of described response and described successful response, with the ratio of the number of the response of short message service success in the described response and this sample note number success rate as short message service;
Otherwise, this response time then after, with the ratio of the number of the described request message of the number of the described successful response of receiving and transmission as the success rate of this master with short message service center's short message service.
This short message service center's switching device shifter regularly obtains the success rate of transmitting short message, similar with this master in this transmission timer time of detection with the success rate that short message service center carries out short message service, be that the request message that starts the note that one first timer issues needs in the time at this timer in buffer memory is labeled as the sample request message, or the request message of choosing the note that the needs of setting quantity issue in this first timer time in this buffer memory is labeled as the sample request message, start and corresponding second timer of this first timer, in this second timer, wait for the response of described sample message, the number of the normal response of short message service in the number of statistics response and the described response.In this second timer time, the identical number that all equals this sample request message of number of the response number of receiving and the sample request message of transmission thinks that then all responses all return, and stops this second timer; Otherwise, continue to wait for the response of described sample message, then up to this second timing.After second timer of this short message service center's switching device shifter stops timing or timing then, state is the response number of short message service success in the response that calculating is received, with the ratio of the number of the sample request message of the response number of this short message service success and transmission as the success rate value, judge whether this success rate value surpasses the detection threshold that is provided with, in this way, then will lead with short message service center's state and be made as normally, as denying, think that then main sms center state still is middle state undetermined, restarts this first timer and handles equally.
This short message service center's switching device shifter can be an independent device, also the function of short message service center's switching device shifter can be realized in multimedia messaging service, MMS center or short message service center.
Present embodiment short message service center switching device shifter comprises that note issues module, short message service center's state handover module and alarm module as shown in Figure 2, wherein:
Alarm module is used for the master with short message service center's abnormal state or under the situation of middle abnormality, and the third party software that provides to the user sends alarm, such as alarm subsystem, alarm message etc.
Short message service center's state handover module is used to detect the main state notifying note that also will lead with short message service center with the state of short message service center and issues module;
Timing detects main state with short message service center, comprises that detecting this master uses the Link State of short message service center and the success rate of short message service; As this master unusual or interruption with Link State of short message service center, the setting state that then will lead with short message service center is unusual; Normal as this main Link State with short message service center, the setting state that then will lead with short message service center is normal, detect the success rate of this master again with the short message service of short message service center, be lower than this setting threshold as this success rate, the state that also will lead with short message service center is made as middle wait state.
This short message service center's state handover module also is used in this note issues the duration of module settings, detect the success rate of interior this master of this setting duration with short message service center's short message service, as the detection threshold of this success rate greater than setting, the state that then will lead with short message service center is made as normally, otherwise keeping this master is middle wait state with short message service center;
This short message service center's state handover module detects in this setting duration this master with the success rate that short message service center carries out short message service, comprising:
This short message service center's state handover module is after this note issues the module settings duration, with the note of all or part of quantity that sends to this master usefulness short message service center that is provided with as the sample note, request message to described note identifies, issue module by this note and send described request message, the number of the described request message that statistics sends, and set corresponding response time, in this response time, add up this note and issue the number of the described request message corresponding response that module receives, and the number of the response of short message service success in the described response, this response time is not less than this setting duration;
This short message service center's state handover module, as detect in this response time, the number that this note issues the described request message corresponding response that module receives is identical with the number of the described request message of transmission and all equal the number of this sample note, then stop to add up the number of described response and described successful response, with the ratio of the number of the response of short message service success in the described response and this sample note number success rate as short message service; As detecting this response time then, the ratio of the number of the number of the described successful response that then will receive and the described request message of transmission is as the success rate of this master with short message service center's short message service.
Note issues module, be used to receive the request that the multimedia messaging service, MMS center sends, according to the SMPP agreement this request is encoded, the request behind this coding of sending is to corresponding short message service center, main link with short message service center is normal but the short message service success rate is lower than setting threshold, then utilizes standby short message service center to realize short message service; When this master uses the abnormal state of short message service center, utilize this standby short message service center to realize short message service; Main state with short message service center normally and this success rate when being higher than setting threshold utilizes this master to realize short message service with short message service center.
This note issues module, also be used for this master with the state of short message service center be in the middle of during wait state, in setting duration, set this master can send note with short message service center number according to the short message service amount, utilize this master to carry out the short message service of this setting number, exceed this setting number as the short message service amount and then utilize this standby short message service center to carry out short message service with short message service center; This setting-up time expires, reset time and this master can send note with short message service center number, utilize this master to carry out the short message service of this setting number with short message service center, utilize this standby short message service center to exceed the short message service of setting number, and detect the state of this master again with short message service center.
This note issues module in setting duration, setting this master according to the short message service amount is a Configuration Values with the number that short message service center can send note, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sets 10%~50% of short message service amount in duration.
The method that present embodiment short message service center switches has active and standbyly with introducing short message service center's switching device shifter in the system of short message service center, active and standbyly links to each other by point-to-point short message transmission agreement (SMPP) with short message service center with described.In multimedia short message service, the method that present embodiment short message service center switches, this short message service center's switching device shifter is this main using under short message service center's normal condition, regularly obtain the transmitting short message success rate and comprise that also this short message service center's switching device shifter receives the SMS notification request that the multimedia messaging service, MMS center sends, comprise information such as message content that needs send, message receiver in this request, according to the SMPP agreement this request is encoded, and the request after will encoding sends to corresponding short message service center.
This short message service center's switching device shifter detects main state with short message service center, as detects main abnormal state with short message service center, and the transmitting short message business is switched to standby short message service center.As main link with short message service center is normal but the short message service success rate is lower than setting threshold, then short message service center's switching device shifter utilizes the realization short message service of standby short message service center.
This short message service center's switching device shifter detects main state with short message service center, comprise that detecting this installs the main state of using the link of short message service center, and, detect the short message service success rate of this master with short message service center this main using under short message service center's normal condition.
Concrete, short message service center's switching device shifter detects this and installs and main create success again with the success of link link setup or the link of short message service center, then thinking main is normal condition with short message service center, unusual chain rupture occurs as this link, and then thinking main is abnormality with short message service center.This short message service center's switching device shifter is as judging the main short message service center's abnormal state of using, then the business with transmitting short message switches to standby short message service center, as judge main normally with short message service center's recovering state, the business of transmitting short message is switched to this master use short message service center.
This short message service center's switching device shifter detects the success rate of this master with the following short-message sending of short message service center this main using under short message service center's normal condition, is the success rate of regularly obtaining transmitting short message, checks whether this success rate is lower than the threshold value of setting.The success rate that this short message service center's switching device shifter of present embodiment regularly detects transmitting short message is to set one to send timer, and the method for calculating the interior transmitting short message success rate of this transmissions timer may further comprise the steps as shown in Figure 3:
Step 301: in this sends timer, in buffer memory, will set note that number needs will issue as the sample note, this request message that issues described note is identified, send the request message of described note, the number of the request message of the described note that statistics sends, and according to SMPP agreement regulation startup one and the corresponding response timer of this transmission timer, this response timer duration is not shorter than this transmission timer duration;
The quantity of this sample note was not more than in this transmission timer time, the short message service amount of short message service center.
Step 302: in the time, wait for the response of the request message of described sample note at this response timer, add up the number of the request message corresponding response of the described note of receiving respectively, and the number of the response of short message service success in the described response;
Step 303: judge the request message corresponding response number of the described note receive, whether identical with the number of the request message of the described note that sends and all equal the quantity of this sample note, be to think that then all responses all arrive, execution in step 304; Otherwise, execution in step 305;
Step 304: stop this response timer, the number of the response of short message service success in the described response that statistics is received, the success rate that issues as note with the ratio of this sample note quantity, judge whether this success rate surpasses the threshold value that is provided with, be, then execution in step 307, otherwise execution in step 308;
Step 305: continue to wait for described response, send timer and response timer all then up to this;
Step 306: the success rate that the ratio of the number of the described request message of the number of the response of short message service success and transmission issues with short message service center's note as this master in the described response that will receive, judge whether this success rate value surpasses the threshold value that is provided with, be, then execution in step 307, otherwise execution in step 308;
Step 307: it is normal condition that main state with short message service center is set, and finishes;
Step 308: it is middle state undetermined that main state with short message service center is set, and finishes.
This sends timer to after date, still is middle state undetermined as this main state with short message service center, then restarts this transmission timer, resets the quantity of sample note, handles equally according to the step of step 301-308.
When this master is centre state undetermined with short message service center's state in the step 308, this short message service center's switching device shifter also resets one and sends timer, simultaneously set this master can send note with short message service center number according to the short message service amount, utilize this master to carry out the short message service of this setting number, exceed this setting number as the short message service amount and then utilize this standby short message service center to carry out short message service with short message service center.This short message service center's switching device shifter is in setting duration, setting this master according to the short message service amount is a Configuration Values with the number that short message service center can send note, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sets 10%~50% of short message service amount in duration.
This sends in the timer, and this short message service center's switching device shifter also detects the success rate of this master with short message service center's transmitting short message again.This short message service center's switching device shifter detects the mode of this master with the success rate of short message service center's transmitting short message again, and the success rate that regularly detects transmitting short message with this short message service center's switching device shifter is similar.Difference only be in the step 301 be in this transmission timer time with buffer memory in the note of this Configuration Values quantity, or part of short message wherein is as the sample note, the request message that issues this note is labeled as the sample request message, or the request message of choosing the note that the needs of setting quantity issue in this transmission timer time in this buffer memory is labeled as the sample request message.
Present embodiment as shown in Figure 4, may further comprise the steps based on the method for described short message service center switched system transmitting short message:
Step 401: short message service center's switching device shifter is received the request that sends notifying messages from the multimedia messaging service, MMS center, comprises the information such as message content, message receiver of needs transmission in this request;
Step 402: according to the SMPP agreement this request is encoded, judge whether the main short message service center's state of using is normal, in this way, execution in step 404 is as denying execution in step 403;
Step 403: the request after will encoding sends to standby short message service center, by this standby short message service center note of issuing a notice, finishes;
Step 404: whether the success rate of judging this master's usefulness short message service center transmitting short message is greater than setting threshold, and in this way, execution in step 405 is as denying execution in step 406;
Step 405: the request after will encoding sends to the main short message service center that use, utilizes mainly with short message service center's note of issuing a notice, and finishes;
Step 406: setting this master is a Configuration Values with can the send SMS message quota of number of short message, judge whether main with short message service center be in the middle of state undetermined and the current quota that sends greater than 0, in this way, execution in step 407 is as denying execution in step 403;
It is a Configuration Values with the number that short message service center can send note that this quota value is set this master according to the short message service amount, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, this sends 10%~50% of interior short message service amount of timer time, when being some seconds as the duration of this transmission timer, when this Configuration Values can be set to this master and is higher than setting threshold with short message service center's normal condition and short message service success rate, the short message service amount in 1 second.
Step 407: this quota is subtracted 1, execution in step 405.
Above-mentioned steps 406 and 407 only utilizes this master to carry out the short message service of this setting number with short message service center for realizing, exceeding this setting number as the short message service amount then utilizes this standby short message service center to carry out a kind of mode of short message service, those skilled in the art can predict, and can also adopt adds up or deduct other values waits other counting modes to realize.
When this master was centre state undetermined with short message service center, this short message service center's switching device shifter sent alarm to third party's alarm device that the user provides, and this third party's alarm device comprises alarm subsystem and alarm message etc.
Present embodiment is by regularly detecting main success rate with short message service center's short message service, can obtain this master with the whether congested information of short message service center, as congested, then utilize standby short message service center to carry out short message service, as the main short message service center's relieve congestion of using, then short message service is switched back this master and use short message service center, can effectively improve the success rate of short message service.
Present embodiment is an example with the short message issuing business of multimedia short message service, and those skilled in the art can predict, and for other short message services, is suitable for too as methods of the present invention such as short message reception business, is not limited to the short message issuing business.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (16)

1. method that realizes short message service is characterized in that:
Main link with short message service center is normal but the short message service success rate is lower than setting threshold, and then short message service center's switching device shifter utilizes standby short message service center to realize short message service.
2. the method for claim 1 is characterized in that:
This short message service center's switching device shifter also timing detects main state with short message service center, comprises that detecting this master uses the Link State of short message service center and the success rate of short message service;
As this master unusual or interruption with Link State of short message service center, the setting state that then will lead with short message service center is unusual, utilizes this standby short message service center to realize short message service;
Normal as this main Link State with short message service center, the setting state that then will lead with short message service center is normal, detect the success rate of this master again, be higher than setting threshold, then utilize this master to realize short message service with short message service center as this success rate with the short message service of short message service center; Be lower than this setting threshold as this success rate, the state that also will lead with short message service center is made as middle wait state.
3. method as claimed in claim 2 is characterized in that:
When this master is the centre wait state with short message service center, this short message service center's switching device shifter is also in setting duration, set the number of the short message service that this master can carry out with short message service center according to the short message service amount, utilize this master to carry out the short message service of this setting number, exceed this setting number as the short message service amount and then utilize this standby short message service center to carry out short message service with short message service center;
This setting-up time expires, this short message service center's switching device shifter resets the number of the short message service that time and this master can carry out with short message service center, utilize this master to carry out the short message service of this setting number with short message service center, utilize this standby short message service center to exceed the short message service of setting number, and detect the state of this master again with short message service center.
4. method as claimed in claim 3 is characterized in that:
This short message service center's switching device shifter is in setting duration, the number of setting the short message service that this master can carry out with short message service center according to the short message service amount is a Configuration Values, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sets 10%~50% of short message service amount in duration.
5. method as claimed in claim 3 is characterized in that:
This short message service center's switching device shifter is set duration at every turn, also detect the success rate of interior this master of this setting duration with short message service center's short message service, as the detection threshold of this success rate greater than setting, the state that then will lead with short message service center is made as normally, otherwise keeping this master is middle wait state with short message service center;
This short message service center's switching device shifter detects interior this master of this setting duration and realizes in the following manner with the success rate that short message service center carries out short message service:
After this short message service center's switching device shifter is set duration, the note of all or part of quantity in the short message service that this master can be carried out with short message service center is as the sample note, request message to described note identifies, the number of statistics described request message, and set corresponding response time, and in this response time, the number of statistics described request message corresponding response, and the number of the response of short message service success in the described response, this response time is not less than this setting duration;
In this response time, the number that this short message service center's switching device shifter counts on described request message corresponding response is identical with the number of the described request message of transmission and all equal the number of this sample note, then stop to add up the number of described response and described successful response, with the ratio of the number of the response of short message service success in the described response and this sample note number success rate as short message service;
Otherwise, this response time then after, with the ratio of the number of the number of the described successful response that counts on and described request message as the success rate of this master with short message service center's short message service.
6. the statistical method of a short message service success rate is characterized in that:
Start one first timer, in this first timer time, with the note of setting quantity is the sample note, request message to described sample note identifies, the number of statistics described request message, and start one with corresponding second timer of this first timer, the duration of this second timer is not less than this first timer, in this second timer time, the number of statistics described request message corresponding response, and the number of the response of short message service success in the described response; The quantity of this sample note was not more than in this first timer time, the short message service amount of short message service center;
In this second timer time, count on the number of described response and the identical number that all equals this sample note of number of described request message, then stop this second timer, with the ratio of the number of described successful response and this sample note number success rate as short message service;
Otherwise, this second timer then after, with the ratio of the number of described successful response and the described request message number that counts in this first timer time success rate as short message service.
7. the system that short message service realizes is characterized in that comprising primary and backup short message service center, and the short message service center's switching device shifter that is connected with this primary and backup short message service center, wherein:
This short message service center's switching device shifter when being used for the normal but short message service success rate of main link with short message service center and being lower than setting threshold, utilizes this standby short message service center realization short message service;
This master uses short message service center, is used for realizing this short message service under this short message service center's switching device shifter indication;
This standby short message service center is used for realizing this short message service under this short message service center's switching device shifter indication.
8. system as claimed in claim 7 is characterized in that:
This short message service center's switching device shifter also is used for timing and detects main state with short message service center, comprises that detecting this master uses the Link State of short message service center and the success rate of short message service; As this master unusual or interruption with Link State of short message service center, the setting state that then will lead with short message service center is unusual, realizes short message service by this standby short message service center; Normal as this main Link State with short message service center, the setting state that then will lead with short message service center is normal, detect the success rate of this master again, be higher than setting threshold, then utilize this master to realize short message service with short message service center as this success rate with the short message service of short message service center; Be lower than this setting threshold as this success rate, the state that also will lead with short message service center is made as middle wait state.
9. system as claimed in claim 8 is characterized in that:
This short message service center's switching device shifter also be used for this master with short message service center be in the middle of during wait state, in setting duration, set the number of the short message service that this master can carry out with short message service center according to the short message service amount, utilize this master to carry out the short message service of this setting number, exceed this setting number as the short message service amount and then utilize this standby short message service center to carry out short message service with short message service center; This setting-up time expires, reset the number of the short message service that time and this master can carry out with short message service center, utilize this master to carry out the short message service of this setting number with short message service center, utilize this standby short message service center to exceed the short message service of setting number, and detect the state of this master again with short message service center.
10. system as claimed in claim 8 is characterized in that:
This short message service center's switching device shifter is in setting duration, the number of setting the short message service that this master can carry out with short message service center according to the short message service amount is a Configuration Values, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sets 10%~50% of short message service amount in duration.
11. system as claimed in claim 9 is characterized in that:
This short message service center's switching device shifter also is used for setting duration at every turn and detects the success rate of interior this master of this setting duration with short message service center's short message service, as the detection threshold of this success rate greater than setting, then should lead and be made as normal condition with short message service center, otherwise keeping this master is middle wait state with short message service center;
This short message service center's switching device shifter detects interior this master of this setting duration and comprises with the success rate that short message service center carries out short message service:
After this short message service center's switching device shifter is set duration, the note of all or part of quantity of the short message service that this master of being provided with can be carried out with short message service center is as the sample note, request message to described note identifies, the number of the described request message that statistics sends, and set corresponding response time, in this response time, the number of statistics described request message corresponding response, and the number of the response of short message service success in the described response, this response time is not less than this setting duration;
In this response time, the number of the described request message corresponding response that this short message service center's switching device shifter counts on is identical with the number of described request message and all equal the number of this sample note, then stop to add up the number of described response and described successful response, with the ratio of the number of the response of short message service success in the described response and this sample note number success rate as short message service;
Otherwise, this response time then after, with the ratio of the number of the number of the described successful response that counts on and described request message as the success rate of this master with short message service center's short message service.
12. a device of realizing short message service is characterized in that comprising that short message service center's state handover module and note issue module, wherein:
This short message service center's state handover module is used to detect the main state notifying note that also will lead with short message service center with the state of short message service center and issues module;
This note issues module, and it is normal but the short message service success rate is lower than setting threshold to be used for main link with short message service center, then utilizes the realization short message service of standby short message service center.
13. device as claimed in claim 12 is characterized in that:
This short message service center's state handover module also is used for timing and detects main state with short message service center, comprises that detecting this master uses the Link State of short message service center and the success rate of short message service; As this master unusual or interruption with Link State of short message service center, the setting state that then will lead with short message service center is unusual; Normal as this main Link State with short message service center, the setting state that then will lead with short message service center is normal, detect the success rate of this master again with the short message service of short message service center, be lower than this setting threshold as this success rate, the state that also will lead with short message service center is made as middle wait state;
This note issues module, when also being used for the abnormal state of this master's usefulness short message service center, utilizes this standby short message service center to realize short message service; Main state with short message service center normally and this success rate when being higher than setting threshold utilizes this master to realize short message service with short message service center.
14. device as claimed in claim 13 is characterized in that:
This note issues module, also be used for this master with the state of short message service center be in the middle of during wait state, in setting duration, set the number of the short message service that this master can carry out with short message service center according to the short message service amount, utilize this master to carry out the short message service of this setting number, exceed this setting number as the short message service amount and then utilize this standby short message service center to carry out short message service with short message service center; This setting-up time expires, reset time and this master can send note with short message service center number, utilize this master to carry out the short message service of this setting number with short message service center, utilize this standby short message service center to exceed the short message service of setting number, and detect the state of this master again with short message service center.
15. device as claimed in claim 14 is characterized in that:
This note issues module in setting duration, the number of setting the short message service that this master can carry out with short message service center according to the short message service amount is a Configuration Values, the span of this Configuration Values is this master when normal and short message service success rate is higher than this setting threshold with short message service center's state, and this sets 10%~50% of short message service amount in duration.
16. device as claimed in claim 14 is characterized in that:
This short message service center's state handover module also is used in this note issues the duration of module settings, detect the success rate of interior this master of this setting duration with short message service center's short message service, as the detection threshold of this success rate greater than setting, the state that then will lead with short message service center is made as normally, otherwise keeping this master is middle wait state with short message service center;
This short message service center's state handover module detects in this setting duration this master with the success rate that short message service center carries out short message service, comprising:
This short message service center's state handover module is after this note issues the module settings duration, the note of all or part of quantity of the short message service that this master of being provided with can be carried out with short message service center is as the sample note, request message to described note identifies, issue module by this note and send or receive described request message, the number of statistics described request message, and set corresponding response time, in this response time, add up this note and issue that module is received or the number of the described request message corresponding response that sends, and the number of the response of short message service success in the described response, this response time is not less than this setting duration;
This short message service center's state handover module, as detect in this response time, the number that this note issues the described request message corresponding response that module counts on is identical with the number of described request message and all equal the number of this sample note, then stop to add up the number of described response and described successful response, with the ratio of the number of the response of short message service success in the described response and this sample note number success rate as short message service; As detecting this response time then, the ratio of the described successful response number that then will add up and the number of described request message is as the success rate of this master with short message service center's short message service.
CN2010102199187A 2010-07-06 2010-07-06 Method, system and device for realizing short message service Pending CN101888610A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2010102199187A CN101888610A (en) 2010-07-06 2010-07-06 Method, system and device for realizing short message service
PCT/CN2010/077715 WO2012003672A1 (en) 2010-07-06 2010-10-13 Method, system and device for realizing short message service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102199187A CN101888610A (en) 2010-07-06 2010-07-06 Method, system and device for realizing short message service

Publications (1)

Publication Number Publication Date
CN101888610A true CN101888610A (en) 2010-11-17

Family

ID=43074283

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102199187A Pending CN101888610A (en) 2010-07-06 2010-07-06 Method, system and device for realizing short message service

Country Status (2)

Country Link
CN (1) CN101888610A (en)
WO (1) WO2012003672A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012129899A1 (en) * 2011-04-01 2012-10-04 中兴通讯股份有限公司 Method and apparatus for realizing message shunting
CN106028299A (en) * 2016-06-30 2016-10-12 上海斐讯数据通信技术有限公司 Method and system for selecting short message transmitting channel
WO2016197633A1 (en) * 2016-01-07 2016-12-15 中兴通讯股份有限公司 Mobile positioning method and system, control platform, and positioning subsystem
CN106488416A (en) * 2015-08-26 2017-03-08 中国联合网络通信集团有限公司 Industry short message sending method and device
CN108093424A (en) * 2018-01-12 2018-05-29 广东睿江云计算股份有限公司 A kind of detection inaccessible method of short message
CN108174349A (en) * 2016-12-07 2018-06-15 腾讯科技(深圳)有限公司 A kind of detection method and network server of short message channel quality
CN110677825A (en) * 2019-09-19 2020-01-10 上海易点时空网络有限公司 Processing method and device based on short promotion message reach rate and storage medium
CN113821313A (en) * 2020-12-28 2021-12-21 京东科技控股股份有限公司 Task scheduling method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453979A (en) * 2002-04-23 2003-11-05 华为技术有限公司 Short message system
CN1464396A (en) * 2002-06-27 2003-12-31 深圳市中兴通讯股份有限公司 Method for realizing backup between servers

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070091803A (en) * 2006-03-07 2007-09-12 에스케이 텔레콤주식회사 System for providing short message service of integrated structure

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1453979A (en) * 2002-04-23 2003-11-05 华为技术有限公司 Short message system
CN1464396A (en) * 2002-06-27 2003-12-31 深圳市中兴通讯股份有限公司 Method for realizing backup between servers

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012129899A1 (en) * 2011-04-01 2012-10-04 中兴通讯股份有限公司 Method and apparatus for realizing message shunting
CN106488416A (en) * 2015-08-26 2017-03-08 中国联合网络通信集团有限公司 Industry short message sending method and device
CN106488416B (en) * 2015-08-26 2020-02-07 中国联合网络通信集团有限公司 Industry short message sending method and device
WO2016197633A1 (en) * 2016-01-07 2016-12-15 中兴通讯股份有限公司 Mobile positioning method and system, control platform, and positioning subsystem
CN106953885A (en) * 2016-01-07 2017-07-14 中兴通讯股份有限公司 Location method and system, control platform and positioning subsystem
CN106028299A (en) * 2016-06-30 2016-10-12 上海斐讯数据通信技术有限公司 Method and system for selecting short message transmitting channel
CN108174349A (en) * 2016-12-07 2018-06-15 腾讯科技(深圳)有限公司 A kind of detection method and network server of short message channel quality
CN108174349B (en) * 2016-12-07 2020-10-16 腾讯科技(深圳)有限公司 Short message channel quality detection method and network server
CN108093424A (en) * 2018-01-12 2018-05-29 广东睿江云计算股份有限公司 A kind of detection inaccessible method of short message
CN110677825A (en) * 2019-09-19 2020-01-10 上海易点时空网络有限公司 Processing method and device based on short promotion message reach rate and storage medium
CN113821313A (en) * 2020-12-28 2021-12-21 京东科技控股股份有限公司 Task scheduling method and device and electronic equipment

Also Published As

Publication number Publication date
WO2012003672A1 (en) 2012-01-12

Similar Documents

Publication Publication Date Title
CN101888610A (en) Method, system and device for realizing short message service
CA2707467C (en) Extended messaging platform
US9491591B2 (en) Method and apparatus for reliably transmitting group multicast using a cell broadcasting technique in a mobile communication system
CN100512128C (en) Method and system for protecting multicast repeat path and service router
RU2449474C1 (en) Method of protecting readdressing messages from duplication during multimedia message interaction and multimedia message gateway
CN101977396B (en) System and method for realizing network element service switching in multimedia messaging service
CN109756846A (en) The benefit packet method and system of group communication
CN104243199A (en) Data transmission method and protection device of packet transport network
CN101720035A (en) Disaster-recovery method and equipment in video monitoring scene
KR101504254B1 (en) Base station, wireless end device, and transmission barring methods thereof
CN101304544A (en) Service maintaining method as well as communication system and related equipment
CN101282200A (en) Method and apparatus for feedback of information in multimedia multicast/broadcast service
CN102104534B (en) Method and system for protecting multicast service
CN101695049A (en) Method and device for processing businesses in monitoring system
CN101686199B (en) Method, device and system for processing control message in Ethernet protection system
CN101640853B (en) The processing method of multimedia message notification message and device, multimedia message receiving system
CN103209213A (en) Data transmission method and system for data subscription
CN111405615A (en) Communication data transmission method, device and storage medium
JP5441144B2 (en) Report receiving system, report receiving method, and report receiving program
CN103313219A (en) Short message processing method, terminal and home location register
CN102917322B (en) A kind of method and device realizing multimedia information service system disaster recovery
US20240040342A1 (en) Enhanced short message service memory management support by mobility management components of devices communicating via mobile wireless networks
EP4109792A1 (en) Method and apparatus for switching length of bidirectional forwarding detection packet, and storage medium
CN101436982A (en) Method for sending and receiving control information and apparatus, transmission system thereof
CN102984665A (en) Method and system and terminal of multimedia information forwarding

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101117