

技术领域technical field
本发明涉及移动通信领域,特别涉及短信系统,具体地讲涉及一种短信系统中实现二次下发短信的方法及其系统。The invention relates to the field of mobile communication, in particular to a short message system, in particular to a method and system for realizing secondary delivery of short messages in the short message system.
背景技术Background technique
如图1所示,为现有技术中短信系统下发短信的消息流程图。目前短信系统下发短消息给终端用户,如果终端用户出现临时故障时,短信下发将不成功,短信系统将保留该短消息,等待一段时间后,然后尝试下发。目前短信中心默认的短信有效期为2天。As shown in FIG. 1 , it is a message flowchart of sending short messages under the short message system in the prior art. At present, the short message system sends short messages to end users. If the end user has a temporary failure, the short message delivery will not be successful. The short message system will keep the short message, wait for a period of time, and then try to send it. Currently, the default SMS validity period of the SMS center is 2 days.
上述方法的缺陷在于,如果用户终端的故障在两天之内没有恢复,系统将不再保留上述短消息。用户终端故障在该情况下将导致用户无法接收短信。The disadvantage of the above method is that if the failure of the user terminal is not recovered within two days, the system will no longer retain the above short message. In this case, the failure of the user terminal will cause the user to be unable to receive the short message.
目前为了解决上述方法中存在的缺陷,短信系统为该终端用户设置特殊的有效期等其他属性。At present, in order to solve the defects in the above method, the short message system sets other attributes such as a special validity period for the terminal user.
将特定用户的有效期设置为超过2天以上的时间,这样即使用户终端发生故障超过两天,如送检、换零件,短信系统将按照用户设定的有效期时间为用户保留短信。在保留短信期间,短信系统将按照一定的规则为用户尝试下发短信,如果用户终端在此期间恢复,将成功收到短信;否则直到用户设定的有效期到期后,系统才会将用户短信删除。Set the validity period of a specific user to more than 2 days, so that even if the user terminal fails for more than two days, such as sending for inspection or replacing parts, the SMS system will keep the SMS for the user according to the validity period set by the user. During the period of keeping short messages, the short message system will try to send short messages for the user according to certain rules. If the user terminal recovers during this period, the short message will be successfully received; otherwise, the system will not send the short message to the user until the validity period set by the user expires. delete.
虽然采用上述方法可以减少用户的损失,但是,由于终端客户数量巨大,为每个用户设置一个有效期是不太现实的事情;虽然短信系统可以按照号段的最大匹配来完成配置工作量,但是那也是比较复杂的情况。Although the above method can reduce the loss of users, due to the huge number of end customers, it is unrealistic to set a validity period for each user; although the SMS system can complete the configuration workload according to the maximum matching of number segments, but that It is also more complicated.
发明内容Contents of the invention
鉴于现有技术中存在的问题,本发明提供一种短信系统中实现二次下发短信的方法及其系统。当下发短信失败时,系统自动为用户尝试第二种途径,即将短信自动发送到用户的邮箱中去,从而提高短信系统的服务质量;减轻短信系统的负载压力。In view of the problems existing in the prior art, the present invention provides a method and system for realizing secondary sending of short messages in a short message system. When sending short messages fails, the system automatically tries the second method for the user, that is, the short messages are automatically sent to the user's mailbox, thereby improving the service quality of the short message system and reducing the load pressure on the short message system.
本发明提供一种短信系统中实现二次下发短信的方法,短信系统中设置有调度单元和分发消息单元,其中,设置二次调度单元,当短信系统发现用户终端未正确接收短信时,所述调度单元通知所述二次调度单元重新选择二次路由,通过分发消息单元将所述短信发送至用户的邮箱。The present invention provides a method for sending short messages twice in a short message system. The short message system is provided with a scheduling unit and a message distribution unit, wherein the secondary scheduling unit is set. When the short message system finds that the user terminal has not received the short message correctly, the The scheduling unit notifies the secondary scheduling unit to reselect the secondary route, and sends the short message to the mailbox of the user through the message distribution unit.
所述短信系统发现用户终端未正确接收短信是指:短信系统发送短信失败或短信系统下发短信成功但用户终端或网络返回错误。The short message system discovering that the user terminal does not receive the short message correctly refers to: the short message system fails to send the short message or the short message system sends the short message successfully but the user terminal or the network returns an error.
用户通过服务供应商开通所述邮箱,并且服务供应商将用户终端和邮箱进行绑定。The user opens the mailbox through the service provider, and the service provider binds the user terminal and the mailbox.
所述分发消息单元将短信发送至用户的邮箱,包括步骤:The message distribution unit sends the short message to the user's mailbox, including steps:
分发消息单元将所述短信转给服务供应商;The distributing message unit transfers the short message to the service provider;
服务供应商收到短信后,直接将该短信送至用户对应的邮箱。After receiving the short message, the service provider directly sends the short message to the mailbox corresponding to the user.
所述二次调度单元根据预先设定的预制条件重新选择二次路由。The secondary scheduling unit reselects the secondary route according to preset prefabricated conditions.
所述预先设定的预制条件是指:短信系统针对用户配置的条件进行参数的设置,并根据用户配置的条件决定是否使用所述二次路由。The preset prefabricated conditions refer to: the short message system sets parameters according to the conditions configured by the user, and decides whether to use the secondary route according to the conditions configured by the user.
用户配置的条件是指短信系统下发短信失败和短信系统下发消息成功但是用户终端或网络返回错误。The conditions configured by the user refer to the failure of the short message system to send a short message and the success of the short message system to send a message but the user terminal or the network returns an error.
本发明还提供一种实现二次下发短信的短信系统,包括有一调度单元和分发消息单元,其中,还包括二次调度单元,与所述调度单元连接,当短信系统发现用户终端未正确接收短信时,所述调度单元通知二次调度单元重新选择二次路由,通过分发消息单元将所述短信发送至用户的邮箱。The present invention also provides a short message system for sending short messages twice, including a dispatching unit and a message distribution unit, wherein the second dispatching unit is connected to the dispatching unit, and when the short message system finds that the user terminal has not correctly received When sending a short message, the dispatching unit notifies the secondary dispatching unit to reselect the secondary route, and sends the short message to the mailbox of the user through the message distribution unit.
用户终端未正确接收短信是指:短信系统发送短信失败或短信系统下发短信成功但用户终端或网络返回错误。The failure of the user terminal to receive the short message refers to: the short message system fails to send the short message or the short message system sends the short message successfully but the user terminal or the network returns an error.
用户通过服务供应商开通所述邮箱,并且服务供应商将用户终端和邮箱进行绑定。The user opens the mailbox through the service provider, and the service provider binds the user terminal and the mailbox.
所述分发消息单元将短信发送至用户的邮箱,包括:The message distribution unit sends the short message to the user's mailbox, including:
分发消息单元将所述短信转给服务供应商;The distributing message unit transfers the short message to the service provider;
服务供应商收到该短信后,直接将该短信送至该用户对应的邮箱。After receiving the short message, the service provider directly sends the short message to the mailbox corresponding to the user.
本发明的有益效果在于,当下发短信失败时,短信系统直接将短信自动发送到用户的邮箱中去,从而提高短信系统的服务质量、减轻短信系统的负载压力、减少用户的损失。The beneficial effect of the present invention is that, when sending a short message fails, the short message system directly and automatically sends the short message to the user's mailbox, thereby improving the service quality of the short message system, reducing the load pressure of the short message system, and reducing user losses.
该方法不但可以将无线下发失败的消息转发给服务供应商(SP:ServiceProvider),同样也将下发失败给SP的消息前转给用户的手机终端,前转的条件灵活设置,这样可以满足用户的多种需要。This method can not only forward the message of wireless delivery failure to the service provider (SP: ServiceProvider), but also forward the message of failure to the SP to the user's mobile phone terminal. The forwarding condition can be flexibly set, so that it can satisfy Various needs of users.
另外,随着用户3G业务的开展,用户以后在3G和2G的网络中平滑接入,该功能同样可以支持短消息的传接功能。In addition, with the development of the user's 3G service, the user can smoothly access the 3G and 2G networks in the future, and this function can also support the short message transmission function.
附图说明Description of drawings
图1为现有技术中短信系统下发短信的消息流程图;Fig. 1 is the message flowchart of sending short message under short message system in the prior art;
图2为本发明实施例的短信二次下发的组网示意图;FIG. 2 is a schematic diagram of a network for secondary sending of short messages according to an embodiment of the present invention;
图3为本发明实施例的短信二次下发的数据设定示意图;FIG. 3 is a schematic diagram of data setting for secondary sending of short messages according to an embodiment of the present invention;
图4为本发明实施例的短信二次下发的短信系统示意图。FIG. 4 is a schematic diagram of a short message system for secondary delivery of short messages according to an embodiment of the present invention.
具体实施方式Detailed ways
以下参照附图对本发明进行详细说明。The present invention will be described in detail below with reference to the accompanying drawings.
本发明提供一种短信系统中实现二次下发短信的方法,所述短信系统中至少设置有调度单元和分发消息单元;其中,还设置二次调度单元,当短信系统发现用户终端未正确接收短信时,所述调度单元通知二次调度单元重新选择二次路由,通过分发消息单元将所述短信发送至用户的邮箱。The present invention provides a method for sending short messages twice in a short message system. The short message system is at least provided with a scheduling unit and a message distribution unit; wherein, a secondary scheduling unit is also set. When the short message system finds that the user terminal has not received correctly When sending a short message, the dispatching unit notifies the secondary dispatching unit to reselect the secondary route, and sends the short message to the mailbox of the user through the message distribution unit.
所述短信系统发现用户终端未正确接收短信是指:短信系统发送短信失败或短信系统下发短信成功但用户终端或网络返回错误。The short message system discovering that the user terminal does not receive the short message correctly refers to: the short message system fails to send the short message or the short message system sends the short message successfully but the user terminal or the network returns an error.
在短信系统通过分发消息单元将短信发送至用户的邮箱之前,首先用户需要通过服务供应商(SP)C开通邮箱,并且还需要预先进行设定。Before the short message system sends the short message to the user's mailbox through the message distribution unit, the user first needs to open the mailbox through the service provider (SP) C, and also needs to pre-set.
首先,要求每个用户通过服务供应商(SP)C开通所述邮箱,对应的服务供应商C使用普通的短消息对等协议(smpp:short message peer to peerprotocol)登陆短信系统。First, each user is required to open the mailbox through a service provider (SP) C, and the corresponding service provider C uses a common short message peer-to-peer protocol (smpp: short message peer to peer protocol) to log into the short message system.
其次,短信系统在进行系统参数设置时为无线网络下发短信失败的用户终端进行特殊的处理,系统参数的设置主要为,为该类型的用户下发短信指定默认下发路径(通常为7号信令),以及备用下发路径,即二次路由(secondroute)。短信系统可以根据用户配置的错误条件来决定是否使用备用下发路径;其中,Secondly, when setting system parameters, the short message system performs special processing for user terminals that fail to send short messages through the wireless network. The setting of system parameters is mainly to specify the default sending path (usually No. signaling), and the backup delivery path, that is, the secondary route (secondroute). The SMS system can decide whether to use the backup delivery path according to the error conditions configured by the user; among them,
错误条件分两种情况,短信系统发送短信失败,短信系统下发短信成功但是目的用户或者网络返回错误。短信系统可以针对上述具体的错误值进行设置。如果客户进行了设置,并且在对应的服务供应商C上进行开户操作。那么系统在运行过程中一旦发现用户手机终端没有正确的接收短信(原因可能为消息发送失败,或者系统收到错误),该情况表明在系统指定的默认路由上消息已经下发失败,此时系统将根据用户是否设置了二次路由,以及当前的系统错误是否满足启动二次路由的情况,将消息按照二次路由进行下发,即立刻自动的将消息转到对应的服务供应商C上,由服务供应商C将消息发送给用户所注册的邮箱,如果发送成功,该消息直接从短信系统删除;如果下发失败,则表明系统在二次路由进行尝试依然不成功,系统在剩下的时段将按照默认路由的方式继续接受系统的调度处理。There are two types of error conditions. The short message system fails to send the short message, and the short message system sends the short message successfully but the destination user or the network returns an error. The short message system can be set according to the specific error value mentioned above. If the customer has set up and opened an account on the corresponding service provider C. Then, once the system finds that the user's mobile phone terminal has not received the SMS correctly during operation (the reason may be that the message has failed to be sent, or the system has received an error), this situation indicates that the message has failed to be delivered on the default route specified by the system. At this time, the system According to whether the user has set up a secondary route and whether the current system error meets the conditions for starting the secondary route, the message will be delivered according to the secondary route, that is, the message will be automatically transferred to the corresponding service provider C immediately, The service provider C will send the message to the mailbox registered by the user. If the message is sent successfully, the message will be deleted from the SMS system directly; Time slots will continue to be scheduled by the system in the manner of the default route.
用户通过服务供应商C开通自己的邮箱服务方法为:该服务供应商C将用户终端和用户开通的邮箱进行绑定;当短信系统转给用户的消息出现失败时,即短信系统发送短信失败或短信系统下发短信成功但用户终端或网络返回错误,短信系统将根据用户的设定将用户终端的短信转给服务供应商C,此时服务供应商C将短信送至用户所绑定的邮箱中,待用户日后查看。The method for the user to open his own mailbox service through the service provider C is as follows: the service provider C binds the user terminal and the mailbox opened by the user; when the message sent by the SMS system to the user fails, that is, the SMS system fails to send the message The short message system sends the short message successfully but the user terminal or the network returns an error, the short message system will transfer the short message of the user terminal to the service provider C according to the user's settings, and the service provider C will send the short message to the mailbox bound by the user , to be viewed by the user at a later date.
通过以下实施例对本发明的短信二次下发的分发进行说明。如图2所示为本发明短信二次下发的组网图。本实施例中,假定用户A通过手机发短信到用户B,其中,用户A的号码为8613000130001;用户B的号码为8613000130002。并且上述用户均通过服务供应商C开通了邮箱。The distribution of the secondary delivery of short messages of the present invention is described through the following embodiments. As shown in FIG. 2 , it is a network diagram of the secondary delivery of short messages in the present invention. In this embodiment, it is assumed that user A sends a short message to user B through a mobile phone, wherein user A's number is 8613000130001; user B's number is 8613000130002. And the above-mentioned users have all opened mailboxes through the service provider C.
如图3所示,为短信二次下发的数据设定示意图。图中设定用户A,号码为8613000130001,到用户B,号码为8613000130002首次使用帐号Gateway,该帐号表示使用无线网络传递短信;As shown in FIG. 3 , it is a schematic diagram of data setting for secondary sending of short messages. In the figure, user A, whose number is 8613000130001, goes to user B, whose number is 8613000130002, who uses the account Gateway for the first time, which indicates that the wireless network is used to transmit SMS messages;
同时在数据设定中指定了备用帐号功能,通过配置可以看到,启用备用帐号的条件很多。本实施例中,帐号8888表示某个服务供应商C通过该帐号和短信中心相连。At the same time, the standby account function is specified in the data setting. Through the configuration, it can be seen that there are many conditions for enabling the standby account. In this embodiment, the account number 8888 indicates that a certain service provider C is connected to the SMS center through this account number.
其中通过无线网络传送短信的方法与现有技术相同,此处不再赘述。The method for transmitting the short message through the wireless network is the same as that of the prior art, and will not be repeated here.
但是,在无线网络和短信中心出现断连,拥塞,错误等情况下,短信系统都可以将短信转给备用帐号下发;并且在使用无线网络错误转发消息的条件中还可以针对错误码进行具体的设置,这样可以灵活的控制使用备用帐号下发消息。However, in the case of disconnection, congestion, error, etc. in the wireless network and SMS center, the SMS system can transfer the SMS to the backup account for delivery; In this way, you can flexibly control the use of alternate accounts to send messages.
如果手机A通过无线网络下发短信到手机B,此时B用户处于用户不在服务区,系统可以根据无线网络返回的这一错误配置而启动备用帐号,按照图3中所示,此时短信系统将短信转给帐号8888对应的服务供应商C,该服务供应商C收到此短信后,将该短信直接送往B用户对应的邮箱,这样就可以保证用户在未来的某个时间登陆SP可以看到这些短信。If mobile phone A sends a short message to mobile phone B through the wireless network, and the user of B is not in the service area at this time, the system can activate the backup account according to the wrong configuration returned by the wireless network. As shown in Figure 3, the short message system at this time Transfer the SMS to the service provider C corresponding to the account number 8888. After receiving the SMS, the service provider C will directly send the SMS to the mailbox corresponding to the user B, so that the user can log in to the SP at a certain time in the future. See these text messages.
此外,本发明不但可以将无线下发失败的短信转发给服务供应商C,同样,也会将下发失败的给服务供应商C的短信前转给用户的手机终端,前转的条件灵活设置,这样可以满足用户的多种需要。另外随着用户3G业务的开展,用户以后在3G和2G的网络中平滑接入,该功能同样可以支持短信的传接功能。In addition, the present invention can not only forward the failed short messages to the service provider C, but also forward the failed short messages to the service provider C to the user's mobile terminal, and the forwarding conditions can be flexibly set , which can meet the various needs of users. In addition, with the development of the user's 3G service, the user can smoothly access the 3G and 2G networks in the future, and this function can also support the transmission and reception of short messages.
本发明还提供一种实现二次下发短信的短信系统,如图4所示,新增了二次调度单元,用于对用户终端未正确接收的短信重新选择二次路由,并通过分发消息单元将该短信发送至用户的邮箱。即,二次调度单元在分发消息阶段,当消息下发出现错误的时候,调度单元通知二次调度单元,该二次调度单元将根据事先设定的逻辑规范,重新选择二次路由送往分发消息单元进行消息的二次下发。下发的方法如上所述,此处不再赘述。The present invention also provides a short message system for sending short messages twice. As shown in FIG. The unit sends the short message to the mailbox of the user. That is to say, when the secondary dispatching unit is in the stage of distributing messages, when an error occurs in sending the message, the dispatching unit will notify the secondary dispatching unit, and the secondary dispatching unit will reselect the secondary route according to the pre-set logic specification to send the message to the dispatching unit. The message unit sends the message twice. The delivery method is as described above, and will not be repeated here.
目前,针对下发中出现的错误,通常让下发失败的消息在延迟一段时间之后重新下发,但是下发时仍然使用原来的路由目的帐号。而二次下发可重新选择二次路由下发消息,一方面可以兼容业界的做法,也可以使消息在下发的过程更加安全和可靠。At present, for errors that occur during the delivery, the message that fails to be delivered is usually re-delivered after a period of delay, but the original routing destination account is still used when delivering. The secondary delivery can re-select the secondary route to deliver the message. On the one hand, it can be compatible with the practice of the industry, and can also make the process of message delivery more secure and reliable.
上述实施例仅用于说明本发明,而非用于限定本发明。The above-mentioned embodiments are only used to illustrate the present invention, but not to limit the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006100663490ACN100391276C (en) | 2006-03-30 | 2006-03-30 | Method and system for realizing secondary sending of short messages in short message system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2006100663490ACN100391276C (en) | 2006-03-30 | 2006-03-30 | Method and system for realizing secondary sending of short messages in short message system |
| Publication Number | Publication Date |
|---|---|
| CN1848975A CN1848975A (en) | 2006-10-18 |
| CN100391276Ctrue CN100391276C (en) | 2008-05-28 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2006100663490AExpired - Fee RelatedCN100391276C (en) | 2006-03-30 | 2006-03-30 | Method and system for realizing secondary sending of short messages in short message system |
| Country | Link |
|---|---|
| CN (1) | CN100391276C (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1269034A (en)* | 1997-06-17 | 2000-10-04 | 克兰贝里资产有限公司 | Electronic mail distribution system for integrated electronic communications |
| CN1409540A (en)* | 2001-09-28 | 2003-04-09 | 西门子信息及通讯网络公司 | Telephone call control using personal digit assistant with radio interlink |
| US6628937B1 (en)* | 1997-08-11 | 2003-09-30 | Nokia Networks Oy | Voice mail service of a closed user group in a mobile communication system |
| US20060010210A1 (en)* | 2002-09-17 | 2006-01-12 | Walter Keller | Method for automatically handling undesired electronic mail in communication networks at the recipient end |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1269034A (en)* | 1997-06-17 | 2000-10-04 | 克兰贝里资产有限公司 | Electronic mail distribution system for integrated electronic communications |
| US6628937B1 (en)* | 1997-08-11 | 2003-09-30 | Nokia Networks Oy | Voice mail service of a closed user group in a mobile communication system |
| CN1409540A (en)* | 2001-09-28 | 2003-04-09 | 西门子信息及通讯网络公司 | Telephone call control using personal digit assistant with radio interlink |
| US20060010210A1 (en)* | 2002-09-17 | 2006-01-12 | Walter Keller | Method for automatically handling undesired electronic mail in communication networks at the recipient end |
| Publication number | Publication date |
|---|---|
| CN1848975A (en) | 2006-10-18 |
| Publication | Publication Date | Title |
|---|---|---|
| JP4948525B2 (en) | Instant message transmission method and system for mobile communication terminal | |
| CN1960516B (en) | Duplicate notification message processing method in terminal | |
| US8019823B2 (en) | Method, system and device for increasing multimedia messaging service system capacity | |
| CN102143444B (en) | A service distribution platform message push method, related equipment and system | |
| CN101350942A (en) | System and method for multimedia message transmission and multimedia message service gateway | |
| CN101047880B (en) | A message transmission method and system | |
| CN101018349A (en) | A method for sending the SMS of the mobile phone number to the Internet program | |
| WO2024098815A1 (en) | Data transmission processing method and device, storage medium, and electronic device | |
| CN101110789B (en) | Method for sending instant message report in instant message system | |
| JP5476975B2 (en) | Inter-network data distribution system, information communication terminal, content distribution server | |
| CN100391276C (en) | Method and system for realizing secondary sending of short messages in short message system | |
| CN116488712B (en) | Non-real-time relay communication method based on improved store-and-forward protocol | |
| CN102611639B (en) | System for sending instant message report in instant message system | |
| CN101277468A (en) | A method, device, and system for group message transmission | |
| WO2010009666A1 (en) | Method, system and device for implementing multimedia service | |
| CN102056101A (en) | Intercepting system and method of multimedia information | |
| CN101026787A (en) | Method for transmitting short message given to telephone numbers to Inter net programme | |
| JP4374027B2 (en) | Mail proxy server device | |
| JP2003173313A (en) | Mail transfer protocol conversion system, conversion system management server, conversion system control program, storage medium storing this program, mail using device, mail using device control program | |
| CN104703152A (en) | Short message processing method and short message processing device | |
| CN100358375C (en) | Method for implementing content adaption | |
| CN100421429C (en) | A Method for Reducing Time Delay of Multimedia Message Service | |
| KR100958518B1 (en) | Short message processing system and method to control overload | |
| CN119521147A (en) | A short message routing communication method and system | |
| JP4360939B2 (en) | Causal Order Preserving Broadcast Communication Method and System |
| 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 | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20080528 Termination date:20160330 | |
| CF01 | Termination of patent right due to non-payment of annual fee |