WO2008003217A1 - A method and appratus and system for transfering short message - Google Patents

A method and appratus and system for transfering short message Download PDF

Info

Publication number
WO2008003217A1
WO2008003217A1 PCT/CN2007/001776 CN2007001776W WO2008003217A1 WO 2008003217 A1 WO2008003217 A1 WO 2008003217A1 CN 2007001776 W CN2007001776 W CN 2007001776W WO 2008003217 A1 WO2008003217 A1 WO 2008003217A1
Authority
WO
WIPO (PCT)
Prior art keywords
short message
message
connection
gateway
management unit
Prior art date
Application number
PCT/CN2007/001776
Other languages
French (fr)
Chinese (zh)
Inventor
Jitang Sun
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2008003217A1 publication Critical patent/WO2008003217A1/en

Links

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]

Definitions

  • the present invention relates to the field of network communication technologies, and in particular, to a short message transmission method, apparatus, and system. Background technique
  • the short message is a short piece of text, a picture, etc., and people can use the short message center to send a short message to communicate with the mobile phone.
  • the SP is a service provider that can provide short message service services, and implements application-to-point and point-to-application services through short message gateways and short message centers.
  • the SP is a service provider that can provide short message service services, and implements application-to-point and point-to-application services through short message gateways and short message centers.
  • various operators in China are carrying out such services.
  • the SP login to the short message gateway is usually in two modes: long connection and short connection.
  • the long connection is: the two parties establish a TCP connection in a client-server manner for mutual submission of the mutual information.
  • the two communication parties should send a link detection message every time C to maintain the connection.
  • the link detection message is sent after the time T is not received, the link detection message should be sent immediately. Disconnect this connection after it has been sent N-1 times without continuous response.
  • the short connection is: The two parties establish a TCP connection in a client-server manner, and the response and request are completed in the same connection.
  • the system uses the client/server mode, the operation initiates a connection request in a client-driven manner, and closes the connection after completing an operation.
  • the feature is that the short message gateway is not connected for a long time.
  • the connection between the SP and the short message gateway is disconnected, the message sent to the SP is retransmitted several times, and the message is discarded after failing after multiple retransmissions.
  • the embodiment of the invention provides a short message transmission method, device and system, and the SP does not need to log in to the short message gateway for a long time; the message is not lost during the disconnection, the processing capability of the short message gateway is not wasted, and the signaling processing is saved.
  • An embodiment of the present invention provides a short message transmission system, including a sender system, a short message gateway, and a receiver system, where the short message gateway includes the connection management unit and the receiver system and the message scheduling unit, and is used for recording and receiving. a connection state of the party system, and sending a short message to the receiver system according to the connection state, or storing the short message to the message storage unit via the message scheduling unit;
  • the message scheduling unit is connected to the sender system, the connection management unit, and the message storage unit, and configured to receive the short message sent by the sender system, and forward the short message to the connection management according to the connection status of the receiver system recorded by the connection management unit. Unit, or store a short message to a message storage unit.
  • An embodiment of the present invention provides a short message transmission method, where a short message gateway is set in the system, including the following steps:
  • the short message gateway records a connection status with the receiver system
  • the embodiment of the invention further provides a short message gateway, which comprises a connection management unit, a message scheduling unit and a message storage unit.
  • a message scheduling unit configured to receive a short message sent by the sender system, according to the recorded short
  • the connection status of the message gateway and the receiver system indicates that the short message is sent or saved
  • the connection management unit is configured to record a connection status between the short message gateway and the receiver system, and send a short message according to the status;
  • the message storage unit is configured to store the received short message according to the indication of the message scheduling unit.
  • the SP does not need to log in to the short message gateway for a long time, and may stop the service operation for a short time, or may stop the service for a long time, and may delay the service time without stopping the service rejection;
  • the message will not be lost during the connection, and the processing capability of the short message gateway will not be wasted. It will only occupy more disk space and save signaling processing.
  • Providing SP differentiated service can classify the SP and require the amount of messages that can be stored. Enhance operators' differentiated services for SPs. DRAWINGS
  • FIG. 1 is a structural block diagram of a short message transmission system according to an embodiment of the present invention.
  • FIG. 2 is a flow chart of a short message transmission method according to an embodiment of the present invention. detailed description
  • the short message transmission system system in the embodiment of the present invention includes: a short message gateway 101: connected to the receiver system 102 and the sender system 107, for forwarding a short between the sender system and the receiver system Message
  • Short message gateway 101 is connected for receiving and processing short messages from sender system 107 forwarded by the short message gateway;
  • the connection management unit 103 is located on the short message gateway 101, and is connected to the receiver system 102 and the message scheduling unit 104, and is configured to record the connection status of the receiver system 102, and send a short message to the receiver system 102 according to the connection status. Or storing the short message to the message storage unit 105 via the message scheduling unit 104;
  • the message scheduling unit 104 is located on the short message gateway 101, and is connected to the sender system 107, the connection management unit 103, and the message storage unit 105 for receiving and transmitting by the sender system 107.
  • the short message is forwarded to the connection management unit 103 according to the connection status of the recipient system 102 recorded by the connection management unit 103, or the short message is stored to the message storage unit 105.
  • the message storage unit 105 is located on the short message gateway 101 and is connected to the message scheduling unit 104 for storing short messages.
  • the status register 106 is located on the connection management unit 103 for recording the connection status of the recipient system 102 and the connection management unit 103;
  • the sender system 107 is coupled to the short message gateway 101 for transmitting short messages to the recipient system 102.
  • the recipient system 102 establishes an account on the connection management unit 103 and logs in.
  • the connection management unit 103 receives the login message and verifies the username and password, and the verification passes. After the recipient system 102 successfully logs in, the status register 106 is obtained.
  • the connection state of the record receiving system 102 and the connection management unit 103 is an unstable state, and is set to transmit a short message; after the unstable state lasts for 10 minutes, the status register 106 records the recipient system 102 and the connection management unit 103.
  • the connection state is a steady state, and the short message gateway simultaneously sets a level code 2 corresponding to the receiver system 102 on the message storage unit 105, which stipulates that the sender system 107 can only store 100 short messages on the message storage unit 105.
  • the level code is set for different receiver systems, one connection management unit is for multiple receiver systems, and each receiver system has a level code in the connection management unit, when the connection management unit and multiple receiver systems When it is in a steady state or an unstable state but can send a short message, the connection management unit preferentially sends a short message to the receiver system whose rank code is in the front.
  • the connection management unit determines the number of storable pieces of the short message that can be sent to the recipient system based on the level code. In this example, the number of short message storages corresponding to level code 2 is 100.
  • the sender system 107 sends a short message to the recipient system 102 via the short message gateway 101.
  • the message scheduling unit 104 sends an instruction to the status register 106, and the status register 106 is informed of the connection of the recipient system 102.
  • the state is an unstable state, and a short message can be sent or the connection state is a steady state
  • the message scheduling unit 104 sends a short message to the connection management unit 103, and the connection management unit 103 transmits the short message to the recipient system 102 while retaining a copy. ⁇ and wait for the recipient system 102 to answer.
  • connection management unit 103 waits for the recipient system 102 to answer, the recipient system 102 disconnects due to the machine restart, and the connection management unit 103 does not receive the response from the recipient system 102 within a predetermined waiting time, such as 10 minutes, confirming The connection with the recipient system 102 has been disconnected, and the status register 106 resets the connection status of the recipient system 102 to the disconnected state, and sends the short message to the message storage unit 105 via the message scheduling unit 104 for storage.
  • a predetermined waiting time such as 10 minutes
  • the message storage unit 105 determines, according to the identifier of the receiver system 102 in the short message, that the number of short messages to be sent to the receiver system 102 stored in the unit is 50, and the number of packets allowed to exceed the level is 100, and the new generation is stored.
  • the incoming short message and record the storage time of the short message or the priority level of the short message.
  • the recipient system 102 logs back in to the connection management unit 103.
  • the status register 106 resets the connection status of the recipient system 102 to an unstable state and can send a short message to the message scheduling unit 104, requesting that The short message to the recipient system 102 in the message storage unit 105 is taken out and resent to the connection management unit 103.
  • the message storage unit 105 transmits a short message to the connection management unit 103 based on the order of storage time of the short message recorded in the unit or the priority level of the short message.
  • connection management unit 103 sends the short message to the recipient system 102.
  • the connection management unit 103 receives the response message from the recipient system 102, confirms that the short message is successfully sent to the recipient system 102, and the deletion is stored in the message storage unit 105 and has been sent. Successful short message, the system running process ends.
  • the structure of the short message transmission system in the embodiment of the present invention is as shown in FIG. 1.
  • the status register 106 records that the connection state of the receiver system 102 and the connection management unit 103 is unstable. And is set to not send a short message; the short message gateway simultaneously sets a level code 2 corresponding to the receiver system 102 on the message storage unit 105, which stipulates that the sender system 107 can only store 100 short messages on the message storage unit 105. .
  • the description of the level code is the same as the first embodiment.
  • the sender system 107 sends a short message to the receiver system 102 through the short message gateway 101. After the short message enters the message scheduling unit 105, the message scheduling unit 104 sends the message to the status register 106. Sending an instruction, the query status register 106 knows that the connection status of the receiver system 102 is unstable, and cannot send a short message; or the connection status of the receiver system 102 is disconnected, the short message is sent to the message storage unit. 105 save.
  • the message storage unit 105 determines, according to the identifier of the receiver system 102 in the short message, that the number of short messages to be sent to the receiver system 102 stored in the unit is 50, and the number of packets allowed to exceed the level is 100, and the new generation is stored.
  • the incoming short message and record the storage time of the short message or the priority level of the short message.
  • the message storage unit 105 discards the short message.
  • the status register 106 resets the connection state of the receiver system 102 to an unstable state and can send a short message to the message scheduling unit 104.
  • the short message to the recipient system 102 in the message storage unit 105 is required to be retrieved and resent to the connection management unit 103.
  • the message storage unit 105 transmits a short message to the connection management unit 103 in accordance with the order of storage time of the short message recorded in this unit or the priority level of the short message.
  • connection management unit 103 sends the short message to the recipient system 102, retains the backup of the short message, and the connection management unit 103 receives the response message from the recipient system 102, confirming that the short message is successfully sent to the recipient system 102, and notifying the message storage.
  • the unit 105 deletes the short message that it has saved and has successfully sent, and the system running process ends.
  • the short message transmission method in this embodiment mainly includes the following steps: Step 201: The short message gateway records the connection status with the receiver system: The short message gateway establishes a connection to the receiver system successfully or finds that If the receiving system successfully logs in, the short message gateway records that the connection state is unstable; if the unstable state is maintained for a period of time, the short message gateway records the connection state to a stable state; if the receiving system and the short message gateway are all When the connection is disconnected, the short message gateway records the connection status as disconnected.
  • Step 202 The short message gateway determines the connection status: if it is in an unstable state, determining, according to the configuration, whether to send the short message sent by the sender system to the receiver system System, if the short message gateway is configured to send a short message, the short message gateway sends the short message to the receiver system;
  • Step 203 If the short message gateway is configured to not send the short message, store the short message, and the short message gateway records the time when the stored short message enters the short message gateway according to the receiver system identifier or determines each short message.
  • the priority of the short message gateway depends on the level of the storage receiver system to determine the number of short messages that the receiver system can store. If the short message of the receiver system newly entering the short message gateway exceeds the number allowed by its level, The short message gateway will discard the short message;
  • Step 204 If the state is an unstable state, and the short message gateway is configured to send a short message, the stored short message is taken out and sent to the receiver system; if the short message gateway is connected to the receiver system After the unstable state is changed to the stable state, the stored short message is taken out and sent to the receiving system;
  • Step 205 Store the short message sent by the sender system if it is in the disconnected state; Step 206: If it is in the steady state, send the short message sent by the sender system to the receiver system.
  • Step 207 After the short message gateway sends the short message to the receiver system, if the short message gateway does not receive the response of the receiver system, the short message is stored; if the short message gateway receives the response of the receiver system, delete A short message has been sent successfully; the short message gateway sends a short message to the recipient system according to the priority. All steps of this method are completed.
  • the embodiment of the invention further provides a short message gateway, comprising: a connection management unit, a message scheduling unit and a message storage unit;
  • a message scheduling unit configured to receive a short message sent by the sender system, and send or save the short message according to the recorded connection status indication of the short message gateway and the receiver system;
  • the connection management unit is configured to record a connection status between the short message gateway and the receiver system, and send a short message according to the status;
  • the message storage unit is configured to store the received short message according to the indication of the message scheduling unit.
  • connection management unit sends the short message sent by the sender system to the receiver system; If the connection status is an unstable state, the configuration determines whether to send the short message sent by the sender system to the receiver system, and if the connection management unit is configured to send a short message, Sending the short message to the receiver system; if the connection management unit is configured to be unable to send a short message, the message scheduling unit stores the short message to a message storage unit;
  • connection status is a disconnected state
  • the short message sent by the sender system is stored to the message storage unit.
  • the message storage unit records the time when the stored short message enters the short message gateway according to the receiver system identifier, or determines the priority of each short message, and the connection management unit enters the short message gateway according to the time or priority
  • the sequence sends short messages.
  • the service provider SP does not need to log in to the short message gateway for a long time, can stop the service operation for a short time, can also stop the service for a long time, can delay the service time without stopping the service rejection; During the period, the message will not be lost, the processing capability of the short message gateway will not be wasted, and only some disk space will be occupied, which will save signaling processing.
  • the SP differentiated service can be used to classify the SP and require the amount of messages that can be stored. Enhance the operator's differentiation of the SP ⁇ 1 service.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and system for transferring short message is disclosed in the present invention, the method comprises a short message gateway recording connection status with receiving side system; judging whether the connection status is steady; and determining whether the short message from transmitting side system transfers to the receiving side system or stores the short message according to situation of connection status. The system comprises transmitting side system, short message gateway and receiving side system, in which the short message gateway comprises connection management unit, message scheduling unit and message storage unit; which records the connection status of receiving side system, and transfers the short message to the receiving side system according to the connection status of the receiving side system, the message scheduling unit receives the short message from the transmitting side system, and forwards the short message to the connection management unit according to the connection status of the receiving side system recorded, or stores the short message in the message storage unit. According to the present invention SP may not logging in the short message gateway for long time, and don't lose the message during disconnection, and don't waste processing capability of the short message gateway, and may provide difference service for SP to provider.

Description

一种短消息传输方法、 装置及系统 本申请要求于 2006 年 06 月 28 日提交中国专利局、 申请号为 200610061396.6、 发明名称为 "一种短消息传输系统及方法" 的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域  Short message transmission method, device and system The present application claims priority to Chinese patent application filed on June 28, 2006, the Chinese Patent Office, Application No. 200610061396.6, entitled "A Short Message Transmission System and Method" The entire contents of which are incorporated herein by reference. Technical field
本发明涉及网絡通信技术领域, 尤其涉及一种短消息传输方法、 装置 及系统。 背景技术  The present invention relates to the field of network communication technologies, and in particular, to a short message transmission method, apparatus, and system. Background technique
短消息就是简短的一段文本, 一个图片等, 人们可以利用在手机通过 短消息中心发送短消息进行筒单的交流。  The short message is a short piece of text, a picture, etc., and people can use the short message center to send a short message to communicate with the mobile phone.
SP就是服务提供商,可以提供短消息业务服务,通过短消息网关和短 信中心实现应用到点、 点到应用的业务, 目前中国各个运营商都在开展这 种业务。  The SP is a service provider that can provide short message service services, and implements application-to-point and point-to-application services through short message gateways and short message centers. Currently, various operators in China are carrying out such services.
SP登录到短消息网关的连接通常是两种模式: 长连接和短连接。  The SP login to the short message gateway is usually in two modes: long connection and short connection.
长连接就是:通信双方以客户-服务器方式建立 TCP连接,用于双方信 息的相互提交。 当信道上没有数据传输时, 通信双方应每隔时间 C发送链 路检测消息以维持此连接,当链路检测消息发出超过时间 T后未收到应答, 应立即再发送链路检测消息, 再连续发送 N-1次后仍未得到应答则断开此 连接。  The long connection is: the two parties establish a TCP connection in a client-server manner for mutual submission of the mutual information. When there is no data transmission on the channel, the two communication parties should send a link detection message every time C to maintain the connection. When the link detection message is sent after the time T is not received, the link detection message should be sent immediately. Disconnect this connection after it has been sent N-1 times without continuous response.
短连接就是: 通信双方以客户-服务器方式建立 TCP连接, 应答与请 求在同一个连接中完成。 系统釆用客户 /服务器模式, 操作以客户端驱动 方式发起连接请求, 完成一次操作后关闭此连接。  The short connection is: The two parties establish a TCP connection in a client-server manner, and the response and request are completed in the same connection. The system uses the client/server mode, the operation initiates a connection request in a client-driven manner, and closes the connection after completing an operation.
特点是不长时间都连接在短消息网关上,当 SP和短消息网关的连接断 开时,发送到 SP的消息就要经过若干次重发, 多次重发之后还失败则消息 丟弃。  The feature is that the short message gateway is not connected for a long time. When the connection between the SP and the short message gateway is disconnected, the message sent to the SP is retransmitted several times, and the message is discarded after failing after multiple retransmissions.
由此可见, 现有技术中, 对当前出现的较多的企业短信业务或者行业 应用, 这些 SP不是长时间登录在网关或者因为机器重启等原因, 出现 SP 断连时间较长, 断连期间用户发送的短消息业务中断, 不能提供服务; 不 能体现客户的优惠差异化服务, 增强运营商对 SP的等级管理; i应用 的特点,一般情况下不会较短时间内恢复,这样就会产生大量的重发消息, 浪费短消息网关的处理能力资源以及磁盘空间资源 , 影响正常的消息处 理。 发明内容 It can be seen that in the prior art, for many enterprise short message services or industrial applications that are currently appearing, these SPs are not long-time login at the gateway or because the machine is restarted, etc., the SP disconnection time is long, and the user is disconnected during the disconnection period. The short message service sent is interrupted and cannot provide services; It can reflect the customer's preferential service and enhance the operator's level management of the SP. The characteristics of the application will not be recovered in a short period of time. This will generate a large number of resend messages and waste the processing of the short message gateway. Capability resources and disk space resources affect normal message processing. Summary of the invention
本发明实施例提供一种短消息传输方法、装置及系统, SP不用长时间 登录在短消息网关上; 对于断连期间不会丟失消息, 不会浪费短消息网关 的处理能力, 节省信令处理; 提供 SP的差异化服务, 增强运营商对 SP的 差异化服务。  The embodiment of the invention provides a short message transmission method, device and system, and the SP does not need to log in to the short message gateway for a long time; the message is not lost during the disconnection, the processing capability of the short message gateway is not wasted, and the signaling processing is saved. Provide differentiated services for SPs and enhance operators' differentiated services for SPs.
本发明实施例提供一种短消息传输系统, 包括发送方系统、短消息网 关和接收方系统,所述短消息网关包括所述连接管理单元与接收方系统和 消息调度单元相连, 用于记录接收方系统的连接状态, 并根据所述连接状 态向接收方系统发送短消息,或者经由消息调度单元将短消息存储到消息 存储单元;  An embodiment of the present invention provides a short message transmission system, including a sender system, a short message gateway, and a receiver system, where the short message gateway includes the connection management unit and the receiver system and the message scheduling unit, and is used for recording and receiving. a connection state of the party system, and sending a short message to the receiver system according to the connection state, or storing the short message to the message storage unit via the message scheduling unit;
所述消息调度单元与发送方系统、 连接管理单元和消息存储单元相 连, 用于接收发送方系统发送的短消息,根据连接管理单元记录的接收方 系统的连接状态转发所述短消息到连接管理单元,或者将短消息存储到消 息存储单元。  The message scheduling unit is connected to the sender system, the connection management unit, and the message storage unit, and configured to receive the short message sent by the sender system, and forward the short message to the connection management according to the connection status of the receiver system recorded by the connection management unit. Unit, or store a short message to a message storage unit.
本发明实施例提供一种短消息传输方法, 在系统中设置有短消息网 关, 包括以下步骤:  An embodiment of the present invention provides a short message transmission method, where a short message gateway is set in the system, including the following steps:
所述短消息网关记录与接收方系统的连接状态;  The short message gateway records a connection status with the receiver system;
判断所述连接状态是否稳定,  Determining whether the connection state is stable,
如果所述连接状态为不稳定状态,则将来自发送方系统的短消息发送 到接收方系统或者将所述短消息存储;  Sending a short message from the sender system to the recipient system or storing the short message if the connection state is an unstable state;
如果为断连状态, 则将来自发送方系统的短消息存储;  If it is disconnected, the short message from the sender system is stored;
如果为稳定状态, 则将来自发送方系统的短消息发送到接收方系统。 If it is in a steady state, a short message from the sender system is sent to the recipient system.
本发明实施例还提供一种短消息网关, 包括连接管理单元、 消息调度 单元和消息存储单元,  The embodiment of the invention further provides a short message gateway, which comprises a connection management unit, a message scheduling unit and a message storage unit.
消息调度单元, 用于接收发送方系统发送的短消息, 根据所记录的短 消息网关与接收方系统的连接状态指示发送或保存所述短消息; a message scheduling unit, configured to receive a short message sent by the sender system, according to the recorded short The connection status of the message gateway and the receiver system indicates that the short message is sent or saved;
所述连接管理单元, 用于记录短消息网关与接收方系统的连接状态, 并根据所述状态发送短消息;  The connection management unit is configured to record a connection status between the short message gateway and the receiver system, and send a short message according to the status;
所述消息存储单元,用于根据所述消息调度单元的指示存储所接收的 短消息。  The message storage unit is configured to store the received short message according to the indication of the message scheduling unit.
本发明实施例提供的技术方案中, SP 不用长时间登录在短消息网关 上, 可以短时间停止服务运行, 也可以较长时间停止服务, 可以延迟服务 的时间而不会停止拒绝服务; 对于断连期间不会丟失消息, 不会浪费短消 息网关的处理能力, 只会多占用一些磁盘空间, 节省信令处理; 提供 SP 的差异化服务, 可以对 SP分等级, 要求可以存储的消息量。 增强运营商 对 SP的差异化服务。 附图说明  In the technical solution provided by the embodiment of the present invention, the SP does not need to log in to the short message gateway for a long time, and may stop the service operation for a short time, or may stop the service for a long time, and may delay the service time without stopping the service rejection; The message will not be lost during the connection, and the processing capability of the short message gateway will not be wasted. It will only occupy more disk space and save signaling processing. Providing SP differentiated service can classify the SP and require the amount of messages that can be stored. Enhance operators' differentiated services for SPs. DRAWINGS
图 1为本发明实施例中的短消息传输系统的结构框图;  1 is a structural block diagram of a short message transmission system according to an embodiment of the present invention;
图 2为本发明实施例中的短消息传输方法流程框图。 具体实施方式  FIG. 2 is a flow chart of a short message transmission method according to an embodiment of the present invention. detailed description
为使本发明的原理、特性和优点更加清楚, 下面结合具体实施例对本 发明进行详细描述。  In order to make the principles, features, and advantages of the present invention more comprehensible, the invention will be described in detail below in conjunction with the specific embodiments.
实施例一  Embodiment 1
如图 1所示, 本发明实施例中的短消息传输系统系统包括: 短消息网关 101: 与接收方系统 102和发送方系统 107相连,用于转 发发送方系统与接收方系统之间的短消息;  As shown in FIG. 1, the short message transmission system system in the embodiment of the present invention includes: a short message gateway 101: connected to the receiver system 102 and the sender system 107, for forwarding a short between the sender system and the receiver system Message
接收方系统 102: 短消息网关 101相连, 用于接收并处理由短消息网 关转发的来自发送方系统 107的短消息;  Receiver system 102: Short message gateway 101 is connected for receiving and processing short messages from sender system 107 forwarded by the short message gateway;
连接管理单元 103: 位于短消息网关 101上, 与接收方系统 102和消 息调度单元 104相连, 用于记录接收方系统 102的连接状态, 并根据所述 连接状态向接收方系统 102发送短消息,或者经由消息调度单元 104将短 消息存储到消息存储单元 105;  The connection management unit 103 is located on the short message gateway 101, and is connected to the receiver system 102 and the message scheduling unit 104, and is configured to record the connection status of the receiver system 102, and send a short message to the receiver system 102 according to the connection status. Or storing the short message to the message storage unit 105 via the message scheduling unit 104;
消息调度单元 104: 位于短消息网关 101上, 与发送方系统 107、 连 接管理单元 103和消息存储单元 105相连,用于接收发送方系统 107发送 的短消息,根据连接管理单元 103记录的接收方系统 102的连接状态转发 所述短消息到连接管理单元 103 ,或者将短消息存储到消息存储单元 105。 The message scheduling unit 104 is located on the short message gateway 101, and is connected to the sender system 107, the connection management unit 103, and the message storage unit 105 for receiving and transmitting by the sender system 107. The short message is forwarded to the connection management unit 103 according to the connection status of the recipient system 102 recorded by the connection management unit 103, or the short message is stored to the message storage unit 105.
消息存储单元 105: 位于短消息网关 101上, 与消息调度单元 104相 连, 用于存放短消息;  The message storage unit 105 is located on the short message gateway 101 and is connected to the message scheduling unit 104 for storing short messages.
状态寄存器 106:位于连接管理单元 103上,用于记录接收方系统 102 与连接管理单元 103的连接状态;  The status register 106 is located on the connection management unit 103 for recording the connection status of the recipient system 102 and the connection management unit 103;
发送方系统 107: 与短消息网关 101相连, 用于发送短消息到接收方 系统 102。  The sender system 107: is coupled to the short message gateway 101 for transmitting short messages to the recipient system 102.
在本实施例中,接收方系统 102在连接管理单元 103上建立帐号并登 录, 连接管理单元 103接收到登录消息并验证用户名、 密码, 验证通过, 接收方系统 102登录成功后,状态寄存器 106记录接收方系统 102与连接 管理单元 103的连接状态为不稳定状态, 并被设置为可以发送短消息; 所 述不稳定状态持续 10分钟后, 状态寄存器 106记录接收方系统 102与连 接管理单元 103的连接状态为稳定状态,短消息网关同时在消息存储单元 105上设置与接收方系统 102对应的等级码 2, 规定发送方系统 107只能 在消息存储单元 105上存储 100条短消息。  In this embodiment, the recipient system 102 establishes an account on the connection management unit 103 and logs in. The connection management unit 103 receives the login message and verifies the username and password, and the verification passes. After the recipient system 102 successfully logs in, the status register 106 is obtained. The connection state of the record receiving system 102 and the connection management unit 103 is an unstable state, and is set to transmit a short message; after the unstable state lasts for 10 minutes, the status register 106 records the recipient system 102 and the connection management unit 103. The connection state is a steady state, and the short message gateway simultaneously sets a level code 2 corresponding to the receiver system 102 on the message storage unit 105, which stipulates that the sender system 107 can only store 100 short messages on the message storage unit 105.
等级码是针对不同的接收方系统设置的,一个连接管理单元会针对多 个接收方系统,每个接收方系统在连接管理单元中都有一个等級码, 当连 接管理单元与多个接收方系统同时处于稳定状态或者不稳定状态但可发 送短消息时, 连接管理单元优先向等级码在前的接收方系统发送短消息。 当连接管理单元与多个接收方系统处于断连状态或者不稳定状态且不可 发送短消息时,连接管理单元根据等级码决定可以发往接收方系统的短消 息的可存储条数。 本例中, 等级码 2对应的短消息存储条数为 100。  The level code is set for different receiver systems, one connection management unit is for multiple receiver systems, and each receiver system has a level code in the connection management unit, when the connection management unit and multiple receiver systems When it is in a steady state or an unstable state but can send a short message, the connection management unit preferentially sends a short message to the receiver system whose rank code is in the front. When the connection management unit is disconnected or unstable from the plurality of recipient systems and the short message cannot be transmitted, the connection management unit determines the number of storable pieces of the short message that can be sent to the recipient system based on the level code. In this example, the number of short message storages corresponding to level code 2 is 100.
发送方系统 107通过短消息网关 101向接收方系统 102发送短消息, 短消息进入消息调度单元 105后,消息调度单元 104向状态寄存器 106发 送指令,查询状态寄存器 106得知接收方系统 102的连接状态为不稳定状 态, 而且可以发送短消息或者连接状态为稳定状态, 消息调度单元 104就 发送短消息到连接管理单元 103 , 连接管理单元 103将短消息发送到接收 方系统 102, 同时保留一份 ^分并等待接收方系统 102应答。 在连接管理单元 103等待接收方系统 102应答时,接收方系统 102由 于机器重启, 断开连接, 连接管理单元 103在预定的等待时间, 如 10分 钟内没有收到接收方系统 102的应答,确认与接收方系统 102连接已经断 开,则状态寄存器 106重新设置该接收方系统 102的连接状态为断连状态, 将短消息经由消息调度单元 104送到消息存储单元 105保存。 The sender system 107 sends a short message to the recipient system 102 via the short message gateway 101. After the short message enters the message scheduling unit 105, the message scheduling unit 104 sends an instruction to the status register 106, and the status register 106 is informed of the connection of the recipient system 102. The state is an unstable state, and a short message can be sent or the connection state is a steady state, the message scheduling unit 104 sends a short message to the connection management unit 103, and the connection management unit 103 transmits the short message to the recipient system 102 while retaining a copy. ^ and wait for the recipient system 102 to answer. When the connection management unit 103 waits for the recipient system 102 to answer, the recipient system 102 disconnects due to the machine restart, and the connection management unit 103 does not receive the response from the recipient system 102 within a predetermined waiting time, such as 10 minutes, confirming The connection with the recipient system 102 has been disconnected, and the status register 106 resets the connection status of the recipient system 102 to the disconnected state, and sends the short message to the message storage unit 105 via the message scheduling unit 104 for storage.
消息存储单元 105根据短消息中接收方系统 102的标识判断存储在本 单元中要发往接收方系统 102的短消息数为 50, 没有超过其等级所允许 的个数范围 100, 则存储新发来的短消息, 并记录短消息的存储时间或者 短消息的优先級别。  The message storage unit 105 determines, according to the identifier of the receiver system 102 in the short message, that the number of short messages to be sent to the receiver system 102 stored in the unit is 50, and the number of packets allowed to exceed the level is 100, and the new generation is stored. The incoming short message, and record the storage time of the short message or the priority level of the short message.
半个小时后, 接收方系统 102重新登录到连接管理单元 103 , 状态寄 存器 106重新设置该接收方系统 102的连接状态为不稳定状态且可以发送 短消息, 发指令给消息调度单元 104, 要求将消息存储单元 105中的到该 接收方系统 102的短消息取出 , 重新发送到连接管理单元 103。  After half an hour, the recipient system 102 logs back in to the connection management unit 103. The status register 106 resets the connection status of the recipient system 102 to an unstable state and can send a short message to the message scheduling unit 104, requesting that The short message to the recipient system 102 in the message storage unit 105 is taken out and resent to the connection management unit 103.
消息存储单元 105 才艮据本单元中记录的短消息的存储时间的先后或 者短消息的优先级别 , 向连接管理单元 103发送短消息。  The message storage unit 105 transmits a short message to the connection management unit 103 based on the order of storage time of the short message recorded in the unit or the priority level of the short message.
连接管理单元 103发送该短消息到接收方系统 102,连接管理单元 103 收到接收方系统 102的应答消息,确认短消息成功发送到接收方系统 102, 删除存储在消息存储单元 105中且已经发送成功的短消息,本次系统运行 过程结束。  The connection management unit 103 sends the short message to the recipient system 102. The connection management unit 103 receives the response message from the recipient system 102, confirms that the short message is successfully sent to the recipient system 102, and the deletion is stored in the message storage unit 105 and has been sent. Successful short message, the system running process ends.
实施例二  Embodiment 2
本发明实施例中的短消息传输系统的结构, 如图 1所示。  The structure of the short message transmission system in the embodiment of the present invention is as shown in FIG. 1.
图 2为本实施例的流程图,在本实施例中, 连接管理单元 103建立连 接到接收方系统成功后,状态寄存器 106记录接收方系统 102与连接管理 单元 103的连接状态为不稳定状态, 并被设置为不可以发送短消息; 短消 息网关同时在消息存储单元 105上设置与接收方系统 102对应的等级码 2, 规定发送方系统 107只能在消息存储单元 105上存储 100条短消息。  2 is a flowchart of the embodiment. In this embodiment, after the connection management unit 103 establishes a connection to the receiver system successfully, the status register 106 records that the connection state of the receiver system 102 and the connection management unit 103 is unstable. And is set to not send a short message; the short message gateway simultaneously sets a level code 2 corresponding to the receiver system 102 on the message storage unit 105, which stipulates that the sender system 107 can only store 100 short messages on the message storage unit 105. .
等级码的说明同第一实施方式。  The description of the level code is the same as the first embodiment.
发送方系统 107通过短消息网关 101向接收方系统 102发送短消息, 短消息进入消息调度单元 105后,消息调度单元 104向状态寄存器 106发 送指令,查询状态寄存器 106得知接收方系统 102的连接状态为不稳定状 态,而且不可以发送短消息;或者接收方系统 102的连接状态为断连状态, 则将短消息送到消息存储单元 105保存。 The sender system 107 sends a short message to the receiver system 102 through the short message gateway 101. After the short message enters the message scheduling unit 105, the message scheduling unit 104 sends the message to the status register 106. Sending an instruction, the query status register 106 knows that the connection status of the receiver system 102 is unstable, and cannot send a short message; or the connection status of the receiver system 102 is disconnected, the short message is sent to the message storage unit. 105 save.
消息存储单元 105根据短消息中接收方系统 102的标识判断存储在本 单元中要发往接收方系统 102的短消息数为 50, 没有超过其等级所允许 的个数范围 100, 则存储新发来的短消息, 并记录短消息的存储时间或者 短消息的优先级别。  The message storage unit 105 determines, according to the identifier of the receiver system 102 in the short message, that the number of short messages to be sent to the receiver system 102 stored in the unit is 50, and the number of packets allowed to exceed the level is 100, and the new generation is stored. The incoming short message, and record the storage time of the short message or the priority level of the short message.
特别的, 如果存储在本单元中要发往接收方系统 102 的短消息数为 100, 则再增加一条短消息即超过了等级码所允许的存储范围, 消息存储 单元 105将本条短消息抛弃。  Specifically, if the number of short messages to be sent to the recipient system 102 stored in the unit is 100, then adding a short message exceeds the storage range allowed by the level code, and the message storage unit 105 discards the short message.
半个小时后, 连接管理单元 103再次建立连接到接收方系统成功后, 状态寄存器 106重新设置该接收方系统 102的连接状态为不稳定状态且可 以发送短消息, 发指令给消息调度单元 104, 要求将消息存储单元 105中 的到该接收方系统 102的短消息取出, 重新发送到连接管理单元 103。  After half an hour, after the connection management unit 103 establishes the connection to the receiver system again, the status register 106 resets the connection state of the receiver system 102 to an unstable state and can send a short message to the message scheduling unit 104. The short message to the recipient system 102 in the message storage unit 105 is required to be retrieved and resent to the connection management unit 103.
消息存储单元 105 根据本单元中记录的短消息的存储时间的先后或 者短消息的优先级别, 向连接管理单元 103发送短消息。  The message storage unit 105 transmits a short message to the connection management unit 103 in accordance with the order of storage time of the short message recorded in this unit or the priority level of the short message.
连接管理单元 103发送该短消息到接收方系统 102, 保留所述短消息 的备份, 连接管理单元 103收到接收方系统 102的应答消息, 确认短消息 成功发送到接收方系统 102, 通知消息存储单元 105删除其保存且已经发 送成功的短消息, 本次系统运行过程结束。  The connection management unit 103 sends the short message to the recipient system 102, retains the backup of the short message, and the connection management unit 103 receives the response message from the recipient system 102, confirming that the short message is successfully sent to the recipient system 102, and notifying the message storage. The unit 105 deletes the short message that it has saved and has successfully sent, and the system running process ends.
实施例三  Embodiment 3
如图 2所示, 本实施例中短消息传输方法, 主要包括以下步骤: 步骤 201、 短消息网关记录与所述接收方系统的连接状态: 短消息网 关建立连接到接收方系统成功或发现有接收方系统成功登录,则短消息网 关记录连接状态为不稳定状态; 如果所述不稳定状态维持一段时间, 则短 消息网关记录连接状态转变为稳定状态;如果接收方系统和短消息网关的 所有连接断开时, 短消息网关记录连接状态为断连状态。  As shown in FIG. 2, the short message transmission method in this embodiment mainly includes the following steps: Step 201: The short message gateway records the connection status with the receiver system: The short message gateway establishes a connection to the receiver system successfully or finds that If the receiving system successfully logs in, the short message gateway records that the connection state is unstable; if the unstable state is maintained for a period of time, the short message gateway records the connection state to a stable state; if the receiving system and the short message gateway are all When the connection is disconnected, the short message gateway records the connection status as disconnected.
步骤 202、 短消息网关判断所述的连接状态: 如果为不稳定状态, 则 根据配置决定是否将所述发送方系统发送的短消息发送到所述接收方系 统, 如果短消息网关被配置为可以发送短消息, 则短消息网关将所述短消 息发送到所述接收方系统; Step 202: The short message gateway determines the connection status: if it is in an unstable state, determining, according to the configuration, whether to send the short message sent by the sender system to the receiver system System, if the short message gateway is configured to send a short message, the short message gateway sends the short message to the receiver system;
步骤 203、 如果短消息网关被配置为不可发送短消息, 则将所述短消 息存储,短消息网关根据接收方系统标识来记录所存储的短消息进入短消 息网关的时间或者确定每个短消息的优先级;短消息网关依靠存储接收方 系统的等级来决定接收方系统可以存储的短消息的个数,如果接收方系统 新进入短消息网关的短消息超过其等级所允许的个数范围,短消息网关将 抛弃所述短消息;  Step 203: If the short message gateway is configured to not send the short message, store the short message, and the short message gateway records the time when the stored short message enters the short message gateway according to the receiver system identifier or determines each short message. The priority of the short message gateway depends on the level of the storage receiver system to determine the number of short messages that the receiver system can store. If the short message of the receiver system newly entering the short message gateway exceeds the number allowed by its level, The short message gateway will discard the short message;
步骤 204、 如果所述状态为不稳定状态, 并且短消息网关被配置为可 以发送短消息, 则将存储的短消息取出, 发送到接收方系统; 如果短消息 网关与所述接收方系统的连接由不稳定状态转变为稳定状态,则将存储的 短消息取出, 发送到接收方系统;  Step 204: If the state is an unstable state, and the short message gateway is configured to send a short message, the stored short message is taken out and sent to the receiver system; if the short message gateway is connected to the receiver system After the unstable state is changed to the stable state, the stored short message is taken out and sent to the receiving system;
步驟 205、如果为断连状态,则将所述发送方系统发送的短消息存储; 步驟 206、 如果为稳定状态, 则将所述发送方系统发送的短消息发送 到所述接收方系统。  Step 205: Store the short message sent by the sender system if it is in the disconnected state; Step 206: If it is in the steady state, send the short message sent by the sender system to the receiver system.
步骤 207、 短消息网关向接收方系统发送短消息后 , 如果短消息网关 没有收到接收方系统的响应, 则将所述短消息存储; 如果短消息网关收到 接收方系统的响应, 则删除已经发送成功的短消息; 短消息网关按所述优 先级向接收方系统发送短消息。 本方法所有步骤执行完毕。  Step 207: After the short message gateway sends the short message to the receiver system, if the short message gateway does not receive the response of the receiver system, the short message is stored; if the short message gateway receives the response of the receiver system, delete A short message has been sent successfully; the short message gateway sends a short message to the recipient system according to the priority. All steps of this method are completed.
本发明实施例还提供一种短消息网关, 包括: 连接管理单元、 消息调 度单元和消息存储单元;  The embodiment of the invention further provides a short message gateway, comprising: a connection management unit, a message scheduling unit and a message storage unit;
消息调度单元, 用于接收发送方系统发送的短消息,根据所记录的短 消息网关与接收方系统的连接状态指示发送或保存所述短消息;  a message scheduling unit, configured to receive a short message sent by the sender system, and send or save the short message according to the recorded connection status indication of the short message gateway and the receiver system;
所述连接管理单元, 用于记录短消息网关与接收方系统的连接状态, 并根据所述状态发送短消息;  The connection management unit is configured to record a connection status between the short message gateway and the receiver system, and send a short message according to the status;
所述消息存储单元,用于根据所述消息调度单元的指示存储所接收的 短消息。  The message storage unit is configured to store the received short message according to the indication of the message scheduling unit.
若所述记录的连接状态为稳定状态,则所述连接管理单元将发送方系 统发送的短消息发送到接收方系统; 如果所述连接状态为不稳定状态,则 ~据配置决定是否将所述发送方 系统发送的短消息发送到所述接收方系统 ,如果所述连接管理单元被配置 为可以发送短消息, 则将所述短消息发送到所述接收方系统; 如果所述连 接管理单元被配置为不可发送短消息,则所述消息调度单元将所述短消息 存储到消息存储单元; If the connected connection status is a stable state, the connection management unit sends the short message sent by the sender system to the receiver system; If the connection status is an unstable state, the configuration determines whether to send the short message sent by the sender system to the receiver system, and if the connection management unit is configured to send a short message, Sending the short message to the receiver system; if the connection management unit is configured to be unable to send a short message, the message scheduling unit stores the short message to a message storage unit;
如果所述连接状态为断连状态,则将所述发送方系统发送的短消息存 储到消息存储单元。  If the connection status is a disconnected state, the short message sent by the sender system is stored to the message storage unit.
所述消息存储单元根据接收方系统标识记录所存储的短消息进入短 消息网关的时间, 或者, 确定每个短消息的优先级, 所述连接管理单元按 所述进入短消息网关的时间或优先級顺序发送短消息。  The message storage unit records the time when the stored short message enters the short message gateway according to the receiver system identifier, or determines the priority of each short message, and the connection management unit enters the short message gateway according to the time or priority The sequence sends short messages.
由上述实施例可知,服务提供商 SP不用长时间登录在短消息网关上, 可以短时间停止服务运行, 也可以较长时间停止服务, 可以延迟服务的时 间而不会停止拒绝服务; 对于断连期间不会丢失消息, 不会浪费短消息网 关的处理能力, 只会多占用一些磁盘空间, 节省信令处理; 提供 SP的差 异化服务, 可以对 SP分等级, 要求可以存储的消息量。 增强运营商对 SP 的差异化^ 1良务。  It can be seen from the above embodiment that the service provider SP does not need to log in to the short message gateway for a long time, can stop the service operation for a short time, can also stop the service for a long time, can delay the service time without stopping the service rejection; During the period, the message will not be lost, the processing capability of the short message gateway will not be wasted, and only some disk space will be occupied, which will save signaling processing. The SP differentiated service can be used to classify the SP and require the amount of messages that can be stored. Enhance the operator's differentiation of the SP ^ 1 service.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离 本发明的精神和范围。 这样, 倘若对本发明的这些修改和变型属于本发明 权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型 在内。  It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Therefore, it is intended that the present invention cover the modifications and variations of the invention as claimed.

Claims

权 利 要 求 Rights request
1、 一种短消息传输系统, 包括发送方系统、 短消息网关和接收方系 统, 其特征在于, 所述短消息网关包括: 连接管理单元、 消息调度单元和 消息存储单元; A short message transmission system, including a sender system, a short message gateway, and a receiver system, wherein the short message gateway includes: a connection management unit, a message scheduling unit, and a message storage unit;
所述连接管理单元与接收方系统和消息调度单元相连,用于记录接收 方系统的连接状态, 并根据所述连接状态向接收方系统发送短消息, 或者 经由消息调度单元将短消息存储到消息存储单元;  The connection management unit is connected to the receiver system and the message scheduling unit, and is configured to record a connection status of the receiver system, and send a short message to the receiver system according to the connection status, or store the short message to the message via the message scheduling unit. Storage unit
所述消息调度单元与发送方系统、 连接管理单元和消息存储单元相 连, 用于接收发送方系统发送的短消息, 根据连接管理单元记录的接收方 系统的连接状态转发所述短消息到连接管理单元,或者将短消息存储到消 息存储单元。  The message scheduling unit is connected to the sender system, the connection management unit, and the message storage unit, and configured to receive the short message sent by the sender system, and forward the short message to the connection management according to the connection status of the receiver system recorded by the connection management unit. Unit, or store a short message to a message storage unit.
2、 如权利要求 1所述的短消息传输系统, 其特征在于, 所述连接管 理单元包括状态寄存器, 用于记录接收方系统与连接管理单元的连接状 态。  The short message transmission system according to claim 1, wherein said connection management unit includes a status register for recording a connection state of the recipient system and the connection management unit.
3、 如权利要求 2所述的短消息传输系统, 其特征在于, 当所述连接 管理单元建立连接到接收方系统成功或所述连接管理单元发现有接收方 系统成功登录时, 在所述状态寄存器中记录所述连接状态为不稳定状态; 当所述不稳定状态持续预定的一段时间时,记录所述连接状态为稳定 状态;  3. The short message transmission system according to claim 2, wherein when the connection management unit establishes a connection to the recipient system successfully or the connection management unit finds that the receiver system successfully logs in, in the state Recording, in the register, the connection state is an unstable state; when the unstable state continues for a predetermined period of time, recording the connection state to a stable state;
当接收方系统和连接管理单元的所有连接断开时,记录所述连接状态 为断连状态。  When all the connections of the recipient system and the connection management unit are disconnected, the connection state is recorded as the disconnected state.
4、 如权利要求 3所述的短消息传输系统, 其特征在于, 所述消息调 度单元用于向状态寄存器发送指令,查询接收方系统与连接管理单元连接 状态。  The short message transmission system according to claim 3, wherein the message scheduling unit is configured to send an instruction to the status register to query a connection state between the receiver system and the connection management unit.
5、 如权利要求 3所述的短消息传输系统, 其特征在于, 当接收到发 送方系统发送的短消息时,所述消息调度单元判断所述连接管理单元记录 的接收方系统的连接状态,  The short message transmission system according to claim 3, wherein when receiving the short message sent by the sender system, the message scheduling unit determines the connection status of the receiver system recorded by the connection management unit,
如果所述连接状态为不稳定状态,且连接管理单元被配置为可以发送 短消息, 则将所述短消息发送到连接管理单元; 如果连接管理单元被配置 为不可发送短消息, 则将所述短消息发送到消息存储单元; 如果所述连接状态为断连状态, 则将所述短消息、发送到消息存储单 元; If the connection status is an unstable state, and the connection management unit is configured to send a short message, send the short message to the connection management unit; if the connection management unit is configured If the short message is not sent, the short message is sent to the message storage unit; if the connection state is disconnected, the short message is sent to the message storage unit;
如果所述连接状态为稳定状态, 则将所述短消息发送到连接管理单 元。  If the connection status is a steady state, the short message is sent to the connection management unit.
6、 如权利要求 3所述的短消息传输系统, 其特征在于, 所述消息调 度单元在确认所述连接管理单元与所述接收方系统的连接处于稳定状态 时, 将存储在消息存储单元中的短消息取出, 转发给连接管理单元。  The short message transmission system according to claim 3, wherein the message scheduling unit is stored in the message storage unit when confirming that the connection between the connection management unit and the receiver system is in a stable state. The short message is retrieved and forwarded to the connection management unit.
7、 如权利要求 3所述的短消息传输系统, 其特征在于, 所述消息调 度单元在确认所述连接管理单元与所述接收方系统的连接处于不稳定状 态且连接管理单元被配置为可以发送短消息时,将存储在消息存储单元中 的短消息取出, 转发给连接管理单元。  7. The short message transmission system according to claim 3, wherein the message scheduling unit confirms that the connection of the connection management unit and the receiver system is in an unstable state and the connection management unit is configured to be When the short message is sent, the short message stored in the message storage unit is taken out and forwarded to the connection management unit.
8、 如权利要求 7所述的短消息传输系统, 其特征在于, 所述连接管 理单元在发送所述短消息到接收方系统, 保留所述短消息的备份, 等待接 收方系统的响应,  8. The short message transmission system according to claim 7, wherein the connection management unit transmits the short message to the receiver system, reserves a backup of the short message, and waits for a response of the receiver system.
如果没有收到接收方系统的响应,则经由消息调度单元将所述短消息 存储到消息存储单元;  If the response of the recipient system is not received, storing the short message to the message storage unit via the message scheduling unit;
如果收到接收方系统的响应, 则将所述短消息的备份删除。  If a response from the recipient system is received, the backup of the short message is deleted.
9、 如权利要求 1所述的短消息传输系统, 其特征在于, 所述消息存 储单元, 记录所存储的短消息进入的时间或者确定每个短消息的优先级; 所述连接管理单元按短消息在消息存储单元中记录的时序或优先级向接 收方系统发送短消息。  The short message transmission system according to claim 1, wherein the message storage unit records a time when the stored short message enters or determines a priority of each short message; the connection management unit is short The message sends a short message to the recipient system at the timing or priority recorded in the message storage unit.
10、 如权利要求 1所述的短消息传输系统, 其特征在于, 所述消息存 储单元,根据接收方系统的等级标识来判断接收方系统可以存储的短消息 的个数,如果接收方系统新进入消息存储单元的短消息的个数超过接收方 系统等级所允许的个数范围, 将该短消息抛弃。  The short message transmission system according to claim 1, wherein the message storage unit determines the number of short messages that the receiver system can store according to the level identifier of the receiver system, if the receiver system is new The number of short messages entering the message storage unit exceeds the number of allowed ranges of the receiver system level, and the short message is discarded.
11、一种短消息传输方法,在系统中设置有短消息网关,其特征在于, 包括以下步驟:  11. A short message transmission method, wherein a short message gateway is provided in the system, and the method comprises the following steps:
所述短消息网关记录与接收方系统的连接状态; 判断所述连接状态是否稳定, The short message gateway records a connection status with the receiver system; Determining whether the connection state is stable,
如果所述连接状态为不稳定状态,则将来自发送方系统的短消息发送 到接收方系统或者将所述短消息存储;  Sending a short message from the sender system to the recipient system or storing the short message if the connection state is an unstable state;
如果为断连状态, 则将来自发送方系统的短消息存储;  If it is disconnected, the short message from the sender system is stored;
如果为稳定状态, 则将来自发送方系统的短消息发送到接收方系统。 If it is in a steady state, a short message from the sender system is sent to the recipient system.
12、 如权利要求 11所述的短消息传输方法, 其特征在于, 包括: 当短消息网关已建立连接到接收方系统或发现有接收方系统成功登 录, 短消息网关记录连接状态为不稳定状态; 12. The short message transmission method according to claim 11, comprising: when the short message gateway has established connection to the receiver system or found that the receiver system successfully logs in, the short message gateway records that the connection state is unstable. ;
当所述不稳定状态持续预定的一段时间,短消息网关记录连接状态转 变为稳定状态;  When the unstable state continues for a predetermined period of time, the short message gateway records that the connection state transitions to a stable state;
当接收方系统与短消息网关的所有连接断开,短消息网关记录连接状 态为断连状态。  When all connections between the receiver system and the short message gateway are disconnected, the short message gateway records the connection status as disconnected.
13、 如权利要求 11所述的短消息传输方法, 其特征在于, 如果所述 连接状态处于不稳定状态,  The short message transmission method according to claim 11, wherein if the connection state is in an unstable state,
当短消息网关被配置为可以发送短消息,短消息网关将所述短消息发 送到所述接收方系统;  When the short message gateway is configured to send a short message, the short message gateway sends the short message to the recipient system;
当短消息网关被配置为不可发送短消息, 将所述短消息存储。  When the short message gateway is configured to be unable to send a short message, the short message is stored.
14、 如权利要求 13所述的短消息传输方法, 其特征在于, 当短消息 网关与所述接收方系统的连接由不稳定状态转变为稳定状态,将存储的短 消息取出, 发送到接收方系统。  The short message transmission method according to claim 13, wherein when the connection between the short message gateway and the receiver system changes from an unstable state to a stable state, the stored short message is taken out and sent to the receiver. system.
15、 如权利要求 11所述的短消息传输方法, 其特征在于, 当所述连 接状态为不稳定状态, 并且短消息网关被配置为可以发送短消息, 将存储 的短消息取出, 发送到接收方系统。  15. The short message transmission method according to claim 11, wherein when the connection state is an unstable state, and the short message gateway is configured to transmit a short message, the stored short message is taken out, sent to receive Party system.
16、如权利要求 11、 13、 14和 15中任意一项所述的短消息传输方法, 其特征在于, 短消息网关向接收方系统发送短消息后,  The short message transmission method according to any one of claims 11, 13, 14 and 15, wherein after the short message gateway sends the short message to the receiver system,
短消息网关没有收到接收方系统的响应, 将所述短消息存储; 短消息网关收到接收方系统的响应, 则将所述短消息删除。  The short message gateway does not receive a response from the receiver system, and stores the short message. When the short message gateway receives the response from the receiver system, the short message is deleted.
17、 如权利要求 11所述的短消息传输方法, 其特征在于, 包括: 短消息网关根据接收方系统标识来记录所存储的短消息进入短消息 网关的时间或者; The short message transmission method according to claim 11, comprising: the short message gateway recording the stored short message into the short message according to the receiver system identifier The time of the gateway or
确定每个短消息的优先级所述短消息网关按所述优先级向接收方系 统发送短消息。  Determining the priority of each short message The short message gateway sends a short message to the recipient system at the priority level.
18、 如权利要求 11所述的短消息传输方法, 其特征在于, 短消息网 关基于存储接收方系统的等级确定接收方系统存储短消息的个数,当进入 短消息网关的短消息数量超过其等级所允许的个数,短消息网关将所述短 消息丟弃。  18. The short message transmission method according to claim 11, wherein the short message gateway determines the number of short messages stored by the receiver system based on the level of the storage receiver system, and the number of short messages entering the short message gateway exceeds The number of allowed levels, the short message gateway discards the short message.
19、 一种短消息网关, 其特征在于, 包括连接管理单元、 消息调度单 元和消息存储单元;  19. A short message gateway, comprising: a connection management unit, a message scheduling unit, and a message storage unit;
消息调度单元, 用于接收发送方系统发送的短消息,根据所记录的短 消息网关与接收方系统的连接状态指示发送或保存所述短消息;  a message scheduling unit, configured to receive a short message sent by the sender system, and send or save the short message according to the recorded connection status indication of the short message gateway and the receiver system;
所述连接管理单元, 用于记录短消息网关与接收方系统的连接状态, 并根据所述状态发送短消息;  The connection management unit is configured to record a connection status between the short message gateway and the receiver system, and send a short message according to the status;
所述消息存储单元,用于根据所述消息调度单元的指示存储所接收的 短消息。  The message storage unit is configured to store the received short message according to the indication of the message scheduling unit.
20、 如权利要求 19所述的短消息网关, 其特征在于,  20. The short message gateway of claim 19, wherein:
若所述记录的连接状态为稳定状态,则所述连接管理单元将发送方系 统发送的短消息发送到接收方系统;  If the connected connection status is a steady state, the connection management unit sends the short message sent by the sender system to the receiver system;
如果所述连接状态为不稳定状态,则根据配置决定是否将所述发送方 系统发送的短消息发送到所述接收方系统,如果所述连接管理单元被配置 为可以发送短消息, 则将所述短消息发送到所述接收方系统; 如果所述连 接管理单元被配置为不可发送短消息,则所述消息调度单元将所述短消息 存储到消息存储单元;  If the connection state is an unstable state, determining, according to the configuration, whether to send a short message sent by the sender system to the receiver system, and if the connection management unit is configured to send a short message, Transmitting the short message to the receiver system; if the connection management unit is configured to be unable to send a short message, the message scheduling unit stores the short message to the message storage unit;
如果所述连接状态为断连状态,则将所述发送方系统发送的短消息存 储到消息存储单元。  If the connection status is a disconnected state, the short message sent by the sender system is stored to the message storage unit.
21、 如权利要求 19所述的短消息网关, 其特征在于,  21. The short message gateway of claim 19, wherein:
所述消息存储单元根据接收方系统标识记录所存储的短消息进入短消息 网关的时间, 或者, 确定每个短消息的优先级, 所述连接管理单元按所述 进入短消息网关的时间或优先级顺序发送短消息。 The message storage unit records the time when the stored short message enters the short message gateway according to the receiver system identifier, or determines the priority of each short message, and the connection management unit enters the short message gateway according to the time or priority The sequence sends short messages.
PCT/CN2007/001776 2006-06-28 2007-06-05 A method and appratus and system for transfering short message WO2008003217A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2006100613966A CN101001213B (en) 2006-06-28 2006-06-28 Short message transmission system and method
CN200610061396.6 2006-06-28

Publications (1)

Publication Number Publication Date
WO2008003217A1 true WO2008003217A1 (en) 2008-01-10

Family

ID=38693025

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001776 WO2008003217A1 (en) 2006-06-28 2007-06-05 A method and appratus and system for transfering short message

Country Status (2)

Country Link
CN (1) CN101001213B (en)
WO (1) WO2008003217A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546808B (en) * 2012-01-17 2014-06-25 深圳天源迪科信息技术股份有限公司 Interactive processing method based on TCP (Transmission Control Protocol) of server
US9143253B2 (en) * 2012-05-11 2015-09-22 Intel Corporation Techniques for delivering emergency payloads for non-voice emergency services
CN102724662A (en) * 2012-06-05 2012-10-10 中国联合网络通信集团有限公司 Method and device for providing differentiated services in broadband wireless network
CN103561396A (en) * 2013-10-30 2014-02-05 宇龙计算机通信科技(深圳)有限公司 Short message transmitting method, system and terminal
CN107465757B (en) * 2017-08-24 2021-04-02 金蝶软件(中国)有限公司 Receipt processing method and related business system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330474A (en) * 2000-06-15 2002-01-09 国际商业机器公司 Short message gateway, system and method supply information service for mobile phone
CN1405595A (en) * 2001-08-06 2003-03-26 雅马哈株式会社 Optical apparatus not affected by force and its production method
CN1497915A (en) * 2002-10-10 2004-05-19 Lg������ʽ���� System and method for supplying short message in high-speed packet data system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1217553C (en) * 2001-11-14 2005-08-31 中兴通讯股份有限公司 Short message original calling control gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1330474A (en) * 2000-06-15 2002-01-09 国际商业机器公司 Short message gateway, system and method supply information service for mobile phone
CN1405595A (en) * 2001-08-06 2003-03-26 雅马哈株式会社 Optical apparatus not affected by force and its production method
CN1497915A (en) * 2002-10-10 2004-05-19 Lg������ʽ���� System and method for supplying short message in high-speed packet data system

Also Published As

Publication number Publication date
CN101001213A (en) 2007-07-18
CN101001213B (en) 2010-10-27

Similar Documents

Publication Publication Date Title
JP5108778B2 (en) Voice instant messaging between mobile and computing devices
JP4884924B2 (en) Terminal and its message processing method
WO2009074035A1 (en) File transmission system, apparatus and method
EP1655915B1 (en) Method for managing duplicated arrival notification messages in multimedia messaging services
WO2011137830A1 (en) Message pushing method of service delivery platform, relevant device and system
US8116782B2 (en) Communication quality control system
WO2008040248A1 (en) A method and system for transmitting email and a push mail server
US20060268916A1 (en) Reliable short messaging service
WO2007033549A1 (en) An offline message transmission method
WO2013064058A1 (en) Instant messaging method, system and device
CN102196384A (en) Automatic switching system and method based on cellular mobile communication network and Internet protocol (IP) network
WO2012079414A1 (en) Method and system for processing voice mailbox
US7043233B2 (en) Messaging protocol over internet protocol
WO2008003217A1 (en) A method and appratus and system for transfering short message
US20070115917A1 (en) MTOM data transfer via TCP
WO2011160378A1 (en) Method and apparatus for processing call failure
US10063648B2 (en) Relaying mobile communications
WO2013044715A1 (en) Information processing method and device in instant communication
US20070005741A1 (en) Facilitating radio communications in a mobile device
WO2012122843A1 (en) Processing method for media message feedback and device with gateway function
WO2008080325A1 (en) A system and a method for transmitting and enhancing message in a wireless communication network
CN108881774B (en) Calling system and method for multimedia network call
CN112887190A (en) Solution method for cross-network multi-party communication and cooperation of fusion platform for cloud video
WO2014008808A1 (en) Information acquiring method, system and imap client
JP4261395B2 (en) Server device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07721349

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: RU

122 Ep: pct application non-entry in european phase

Ref document number: 07721349

Country of ref document: EP

Kind code of ref document: A1