[go: up one dir, main page]

CN1332543C - Method for quick sending short message in public telephone network short message system - Google Patents

Method for quick sending short message in public telephone network short message system Download PDF

Info

Publication number
CN1332543C
CN1332543C CNB02136026XA CN02136026A CN1332543C CN 1332543 C CN1332543 C CN 1332543C CN B02136026X A CNB02136026X A CN B02136026XA CN 02136026 A CN02136026 A CN 02136026A CN 1332543 C CN1332543 C CN 1332543C
Authority
CN
China
Prior art keywords
short message
module
sending
terminal
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB02136026XA
Other languages
Chinese (zh)
Other versions
CN1467964A (en
Inventor
汪鹏
李振刚
李德
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CNB02136026XA priority Critical patent/CN1332543C/en
Publication of CN1467964A publication Critical patent/CN1467964A/en
Application granted granted Critical
Publication of CN1332543C publication Critical patent/CN1332543C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明提供的一种公共电话网短消息系统中快速下发短消息的方法,包括:首先短消息平台根据短消息所带的目的地址与终端建立好连接;短消息平台中的存储转发模块向下发模块下发一条短消息;下发模块向终端下发一条短消息;终端收到短消息后向下发模块发送下发结果消息,下发模块保持与终端的连接,同时向存储转发模块转发下发结果消息;存储转发模块接收到下发结果消息后,检查存储区,查找是否有目的地址相同的短消息,如果有,存储转发模块向下发模块发送目的地址相同的短消息,再下发给终端,否则下发模块切断与终端的连接。采用本发明所述方法,提高了短消息的发送效率,可以尽快将短消息发送给用户,避免造成短消息在平台上的积压。

Figure 02136026

A method for quickly sending short messages in the short message system of the public telephone network provided by the present invention comprises: at first the short message platform establishes a connection with the terminal according to the destination address carried by the short message; the storage and forwarding module in the short message platform sends The sending module sends a short message; the sending module sends a short message to the terminal; the terminal sends the sending result message to the sending module after receiving the short message, and the sending module maintains the connection with the terminal, and at the same time sends the message to the storage and forwarding module Forward and issue the result message; after the store and forward module receives the issue result message, check the storage area to find whether there is a short message with the same destination address, if there is, the store and forward module sends the same short message with the destination address to the module, and then Send it to the terminal, otherwise the sending module cuts off the connection with the terminal. By adopting the method of the invention, the sending efficiency of the short message is improved, the short message can be sent to the user as soon as possible, and the backlog of the short message on the platform is avoided.

Figure 02136026

Description

公共电话网短消息系统中快速下发短消息的方法Method for Quickly Sending Short Messages in Short Message System of Public Telephone Network

技术领域technical field

本发明涉及公共电话网的短消息系统,具体地说,涉及一种提高从公共电话网短消息平台向终端下发短消息速度的方法。The invention relates to a short message system of a public telephone network, in particular to a method for increasing the speed of sending a short message from a short message platform of a public telephone network to a terminal.

背景技术Background technique

公共电话网短消息是一项新的电信业务,其功能是向公共电话网(PSTN)的用户提供短消息服务。在公共电话网中实现短消息发送的方式是基于话路的,公共电话网的短消息平台在每一次向用户发送短消息时,需首先和用户终端建立连接,然后再将短消息发送到终端,发送完成后切断与用户终端的连接。但是,如果每发送一条短消息都要按上述建链、下发、断链三步骤来完成,则会存在下列问题:首先是效率低下,因为从下发单条短消息来讲,上述建链和断链步骤所需的时间大于下发的时间,如果发往一个用户的短消息很多,那么需要频繁地建链和断链,效率显然很低;其次从用户的角度来看,当他在接收多条短消息时,由于每条短消息都需要上述三个步骤,必然会造成下发时间的延长,对用户使用终端造成不便。因此在公共电话网短消息中规定了在线下发的概念,即一次建链可以下发多条短消息,其步骤是建链、下发短消息1、下发短消息2、……下发短消息n、断链。The public telephone network short message is a new telecommunication service, and its function is to provide short message service to the users of the public telephone network (PSTN). The method of sending short messages in the public telephone network is based on the voice channel. Every time the short message platform of the public telephone network sends a short message to a user, it needs to establish a connection with the user terminal first, and then send the short message to the terminal. , cut off the connection with the user terminal after sending. However, if every time a short message is sent, it must be completed according to the above three steps of link building, sending, and link breaking, and there will be the following problems: first, it is inefficient, because from the point of view of sending a single short message, the above-mentioned link building and The time required for the link disconnection step is longer than the delivery time. If there are many short messages sent to a user, the link needs to be established and disconnected frequently, and the efficiency is obviously very low; secondly, from the user's point of view, when he is receiving When there are multiple short messages, because each short message needs the above three steps, it will inevitably cause the prolongation of the delivery time and cause inconvenience to the user in using the terminal. Therefore, the concept of online delivery is stipulated in the short message of the public telephone network, that is, multiple short messages can be delivered once a link is established, and the steps are link establishment, delivery of short message 1, delivery of short message 2, ... delivery Short message n, broken link.

图1是公共电话网短消息系统的示意图。终端作为短消息的收发装置,通过用户线接入公共电话网中;短消息平台主要包括存储转发模块和下发模块;下发模块用于下发短消息,通过基于TCP/IP协议的SMPP(Short Message Peer toPeer)协议与存储转发模块通信,通过中继接入公共电话网;存储转发模块用于完成短消息的存储转发,通过基于TCP/IP协议的SMPP协议与下发模块通信。Fig. 1 is a schematic diagram of the short message system of the public telephone network. The terminal, as a short message sending and receiving device, is connected to the public telephone network through a subscriber line; the short message platform mainly includes a storage and forwarding module and a delivery module; the delivery module is used to send a short message, through the SMPP ( The Short Message Peer to Peer) protocol communicates with the store-and-forward module, and accesses the public telephone network through a relay; the store-and-forward module is used to complete the store and forward of short messages, and communicates with the delivery module through the SMPP protocol based on the TCP/IP protocol.

目前一种实现公共电话网中短消息下发的方法是,首先短消息平台与用户终端建立连接,短消息平台向终端下发第一条短消息,同时,平台中的存储转发模块通过标志告诉下发模块是否存在后续短消息等待发送,如果标志为存在,则下发模块在下发完第一条短消息后,等待存储转发模块发送下一条短消息;如果标志为不存在,则下发模块在下发完第一条短消息后,切断与用户终端的连接。At present, a method for delivering short messages in the public telephone network is as follows: firstly, the short message platform establishes a connection with the user terminal, and the short message platform sends the first short message to the terminal; at the same time, the store-and-forward module in the platform tells Whether there is a follow-up short message waiting to be sent by the sending module, if the flag is present, the sending module waits for the store and forward module to send the next short message after sending the first short message; if the flag is not present, the sending module After sending the first short message, cut off the connection with the user terminal.

该方法虽然可以提高从短消息平台向终端下发短消息的速度,但是存在以下缺陷。首先,该方法无法实现在一次连接中将尽可能多的短消息下发到终端。因为短消息下发模块是在短消息下发完成后根据标志值来保持或切断与终端的连接的,而标志是随短消息下发时更新的,当标志为没有,并且下发模块在下发短消息时,存储转发模块收到一条目的地址相同的短消息时,标志无法更新,这样的话,当短消息下发完成后,下发模块根据已有标志(没有)切断和终端的连接,但事实上平台还有后续的短消息。其次,增大了平台设备的投入。由于平台需要频繁地与终端建立或切断连接,造成中继资源无法充分利用,所以必须增加平台的中继资源。同时,由于平台须暂存短消息,增加了平台的存储容量。Although this method can increase the speed of sending short messages from the short message platform to the terminal, it has the following defects. First, this method cannot realize sending as many short messages as possible to the terminal in one connection. Because the short message sending module maintains or cuts off the connection with the terminal according to the flag value after the short message is sent, and the flag is updated when the short message is sent, when the flag is not, and the sending module is sending In the case of short messages, when the store-and-forward module receives a short message with the same destination address, the flag cannot be updated. In this way, after the short message is sent, the sending module cuts off the connection with the terminal according to the existing flag (no). In fact, there are follow-up short messages on the platform. Secondly, the investment in platform equipment has been increased. Since the platform needs to establish or disconnect the connection with the terminal frequently, the relay resources cannot be fully utilized, so the relay resources of the platform must be increased. At the same time, since the platform must temporarily store short messages, the storage capacity of the platform is increased.

发明内容Contents of the invention

本发明所要解决的技术问题在于提供一种公共电话网短消息系统中快速下发短消息的方法,可以使得短消息平台在与终端一次建立连接后将尽可能多的短消息下发到终端,同时减少对短消息平台设备的投入。The technical problem to be solved by the present invention is to provide a method for quickly sending short messages in the short message system of the public telephone network, which can make the short message platform send as many short messages as possible to the terminal after establishing a connection with the terminal once, At the same time, the investment on short message platform equipment is reduced.

本发明快速下发短消息的方法,包括以下步骤:The method for quickly issuing short messages of the present invention comprises the following steps:

一、短消息平台中的存储转发模块向下发模块下发一条短消息;1. The store-and-forward module in the short message platform sends a short message to the sending module;

二、下发模块根据短消息所带的目的地址与终端建立连接;2. The sending module establishes a connection with the terminal according to the destination address carried in the short message;

三、下发模块向终端下发一条短消息;3. The sending module sends a short message to the terminal;

四、终端收到短消息后向下发模块发送下发结果消息,下发模块保持与终端的连接,同时向存储转发模块转发下发结果消息;4. After receiving the short message, the terminal sends a delivery result message to the delivery module, and the delivery module maintains the connection with the terminal, and simultaneously forwards the delivery result message to the store-and-forward module;

五、存储转发模块接收到下发结果消息后,检查存储区,查找是否有目的地址相同的短消息,如果有,转至步骤六,否则转至步骤七;5. After the store-and-forward module receives the sending result message, it checks the storage area to find whether there is a short message with the same destination address. If there is, go to step six, otherwise go to step seven;

六、存储转发模块向下发模块发送目的地址相同的短消息,转入步骤三;6. The store-and-forward module sends short messages with the same destination address to the sender module, and proceeds to step 3;

七、下发模块切断与终端的连接。7. The delivery module cuts off the connection with the terminal.

本发明所述下发短消息的方法,提高了短消息的发送效率,可以尽快将短消息发送给用户,避免造成短消息在平台上的积压;同时在一次连接期间,可以发送尽可能多的短消息,无需频繁占用中继资源,也减少了对平台的存储容量的要求。The method for sending short messages in the present invention improves the sending efficiency of short messages, and can send short messages to users as soon as possible, avoiding the backlog of short messages on the platform; at the same time, during a connection, as many messages as possible can be sent Short messages do not need to frequently occupy relay resources, and also reduce the requirements on the storage capacity of the platform.

附图说明Description of drawings

图1是公共电话网中短消息系统的示意图。Fig. 1 is a schematic diagram of a short message system in a public telephone network.

图2是本发明下发短消息方法的流程图。Fig. 2 is a flow chart of the method for sending a short message in the present invention.

图3是下发模块的处理流程图。Fig. 3 is a processing flowchart of the delivery module.

图4是存储转发模块的和下发模块之间的交互处理流程图。Fig. 4 is a flow chart of interaction processing between the store-and-forward module and the delivery module.

具体实施方式Detailed ways

下面结合附图和实施例,进一步具体说明本发明的方法。The method of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

如图1所示,下发模块和存储转发模块是短消息平台中的两个功能实体,实现向终端发送短消息。其中,下发模块完成的功能是:与终端建立连接、向终端下发短消息、接收终端的下发结果消息、切断和终端的连接、接收存储转发模块下发的短消息、向存储转发模块转发下发结果消息等;存储转发模块则完成暂存短消息、向下发模块发送短消息、接收下发模块转发的下发结果消息等功能。一个短消息平台可以接有多个终端。As shown in FIG. 1 , the delivery module and the store-and-forward module are two functional entities in the short message platform, and realize sending short messages to terminals. Among them, the functions completed by the sending module are: establish a connection with the terminal, send a short message to the terminal, receive the result message sent by the terminal, cut off the connection with the terminal, receive the short message sent by the store-and-forward module, send a short message to the store-and-forward module Forwarding the delivery result message, etc.; the storage and forwarding module completes the functions of temporarily storing short messages, sending short messages to the delivery module, and receiving the delivery result message forwarded by the delivery module. A short message platform can be connected to multiple terminals.

本发明所述方法的具体流程图如图2所示。当下发模块接收到存储转发模块下发的短消息后,根据目的地址查找相应的终端,如果短消息平台与该终端已经建立了连接,那么就直接向该终端下发短消息;如果短消息平台与该终端没有建立连接,则短消息平台先和该终端建立连接,然后下发短消息。在下发模块接收到终端的下发结果消息后,将该下发结果消息转发到存储转发模块,存储转发模块收到转发的下发结果消息后检查其存储区,如果存储区中暂存有目的地址相同的短消息,则立即向下发模块下发,下发模块继续向终端发送短消息,否则下发模块切断平台和终端的连接,结束本次下发短消息。The specific flowchart of the method of the present invention is shown in FIG. 2 . After the sending module receives the short message sent by the store and forward module, it searches for the corresponding terminal according to the destination address. If the short message platform has established a connection with the terminal, then it directly sends the short message to the terminal; if the short message platform If no connection is established with the terminal, the short message platform first establishes a connection with the terminal, and then sends a short message. After the sending module receives the sending result message from the terminal, it forwards the sending result message to the store-and-forward module, and the store-and-forward module checks its storage area after receiving the forwarded sending result message. Short messages with the same address will be sent to the sending module immediately, and the sending module will continue to send short messages to the terminal, otherwise the sending module will cut off the connection between the platform and the terminal, and end this short message sending.

在一次下发短消息的过程中,下发模块收到存储转发模块下发的短消息后,检查短消息的目的地址。如果短消息平台已经和对应的终端建立连接,则直接下发短消息;如果平台还没有和终端建立连接,则先建立连接,然后下发短消息。当下发短消息结束后,下发模块等待终端应答的下发结果消息,收到后向存储转发模块进行转发。其具体过程如图3所示。In a process of delivering a short message, the sending module checks the destination address of the short message after receiving the short message sent by the store and forward module. If the short message platform has established a connection with the corresponding terminal, it will directly send a short message; if the platform has not yet established a connection with the terminal, it will first establish a connection and then send a short message. After sending the short message, the sending module waits for the sending result message answered by the terminal, and forwards it to the store-and-forward module after receiving it. The specific process is shown in Figure 3.

而对存储转发模块来说,在向下发模块下发了短消息后,就等待下发模块转发的下发结果消息,当收到该下发结果消息后,存储转发模块马上检查是否还有目的地址相同的短消息需要下发,如果有,则立即向下发模块下发该消息;如果没有则结束此次短消息下发。存储转发模块的具体处理流程如图4。For the store-and-forward module, after sending a short message to the down-delivery module, it waits for the delivery result message forwarded by the delivery module. After receiving the delivery result message, the store-and-forward module immediately checks whether there is any The short message with the same destination address needs to be sent, if there is, the message will be sent to the sending module immediately; if not, the short message sending will end. The specific processing flow of the store-and-forward module is shown in Figure 4.

Claims (1)

1、一种公共电话网短消息系统中快速下发短消息的方法,其特征在于,包括以下步骤:1, a method for sending short message fast in the public telephone network short message system, is characterized in that, comprises the following steps: 一、短消息平台中的存储转发模块向下发模块下发一条短消息;1. The store-and-forward module in the short message platform sends a short message to the sending module; 二、下发模块根据短消息所带的目的地址与终端建立连接;2. The sending module establishes a connection with the terminal according to the destination address carried in the short message; 三、下发模块向终端下发一条短消息;3. The sending module sends a short message to the terminal; 四、终端收到短消息后向下发模块发送下发结果消息,下发模块保持与终端的连接,同时向存储转发模块转发下发结果消息;4. After receiving the short message, the terminal sends a delivery result message to the delivery module, and the delivery module maintains the connection with the terminal, and simultaneously forwards the delivery result message to the store-and-forward module; 五、存储转发模块接收到下发结果消息后,检查存储区,查找是否有目的地址相同的短消息,如果有,转至步骤六,否则转至步骤七;5. After the store-and-forward module receives the sending result message, it checks the storage area to find whether there is a short message with the same destination address. If there is, go to step six, otherwise go to step seven; 六、存储转发模块向下发模块发送目的地址相同的短消息,转入步骤三;6. The store-and-forward module sends short messages with the same destination address to the sender module, and proceeds to step 3; 七、下发模块切断与终端的连接。7. The delivery module cuts off the connection with the terminal.
CNB02136026XA 2002-07-12 2002-07-12 Method for quick sending short message in public telephone network short message system Expired - Fee Related CN1332543C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB02136026XA CN1332543C (en) 2002-07-12 2002-07-12 Method for quick sending short message in public telephone network short message system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB02136026XA CN1332543C (en) 2002-07-12 2002-07-12 Method for quick sending short message in public telephone network short message system

Publications (2)

Publication Number Publication Date
CN1467964A CN1467964A (en) 2004-01-14
CN1332543C true CN1332543C (en) 2007-08-15

Family

ID=34146271

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB02136026XA Expired - Fee Related CN1332543C (en) 2002-07-12 2002-07-12 Method for quick sending short message in public telephone network short message system

Country Status (1)

Country Link
CN (1) CN1332543C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100341346C (en) * 2004-08-25 2007-10-03 华为技术有限公司 Method for realizing short message pretransmission
CN101583096B (en) * 2009-06-16 2012-02-08 中兴通讯股份有限公司 Multimedia Messaging Service (MMS) center and method thereof for caching mobile paper messages

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996038010A1 (en) * 1995-05-23 1996-11-28 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for supporting delivery of short message service messages to sleeping mobile stations in a cellular communications system
CN1210656A (en) * 1996-02-05 1999-03-10 诺基亚电信公司 Short Message Queuing Mechanism
CN1279864A (en) * 1997-11-19 2001-01-10 艾利森电话股份有限公司 Retention of radio resource connection for short message service message delivery in a cellular telephone network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1996038010A1 (en) * 1995-05-23 1996-11-28 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for supporting delivery of short message service messages to sleeping mobile stations in a cellular communications system
CN1210656A (en) * 1996-02-05 1999-03-10 诺基亚电信公司 Short Message Queuing Mechanism
CN1279864A (en) * 1997-11-19 2001-01-10 艾利森电话股份有限公司 Retention of radio resource connection for short message service message delivery in a cellular telephone network

Also Published As

Publication number Publication date
CN1467964A (en) 2004-01-14

Similar Documents

Publication Publication Date Title
US8649314B2 (en) Peer-to-peer mobile data transfer method and device
CN102143444B (en) Method, relevant equipment and system for pushing service delivery platform message
US6678517B2 (en) Method and system for providing continuous voice and packet data services to a mobile station
CN101272544B (en) Method and system for implementing amalgamation of short message and instant message
CN100539749C (en) Short message service center and method for sending short message
CN105409257A (en) System and method for delivering multimedia information to mobile devices
WO2006131079A1 (en) Communication method, system and client based on groups
SE519638C2 (en) Method and apparatus for connecting to a telecommunications network
CN108990122A (en) A kind of call handover method and system
CN101345922B (en) System and method for forwarding and filtering between multimedia message networks
CN101247242B (en) A communication method, service server and system
CN100373960C (en) A method for mass sending of short messages
CN1332543C (en) Method for quick sending short message in public telephone network short message system
CN101010970B (en) System and method for transmitting voice messages
KR20030027556A (en) A call processing apparaus and method for internet phone using H.323 and SIP protocol
CN100481979C (en) Method for converting speech into SMS based on cell-phone SMS network and intelligent network
CN100512521C (en) Apparatus and method for multimedia message processing
WO2006034617A1 (en) Method and system for guaranteeing the arrival of voice message
US20040242214A1 (en) Call saving method and telephone switchboard used in telephone switching system
CN100499704C (en) Call route system based on subscriber presentation state and method thereof
CN1313699A (en) A processing method and processing device for information generated in mobile communication
KR100676228B1 (en) How to provide outgoing information for an incoming call
TW200529641A (en) Short message server
CN100391276C (en) Method and system for realizing secondary sending of short messages in short message system
CN106209834A (en) A kind of realize mobile phone remote communication and monitor the method with multicast in real time

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070815

Termination date: 20190712

CF01 Termination of patent right due to non-payment of annual fee