[go: up one dir, main page]

CN100562147C - A message forwarding method - Google Patents

A message forwarding method Download PDF

Info

Publication number
CN100562147C
CN100562147C CNB2006101112279A CN200610111227A CN100562147C CN 100562147 C CN100562147 C CN 100562147C CN B2006101112279 A CNB2006101112279 A CN B2006101112279A CN 200610111227 A CN200610111227 A CN 200610111227A CN 100562147 C CN100562147 C CN 100562147C
Authority
CN
China
Prior art keywords
message
receipt
network device
intermediate network
center
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
CNB2006101112279A
Other languages
Chinese (zh)
Other versions
CN1921644A (en
Inventor
蒋玲利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2006101112279A priority Critical patent/CN100562147C/en
Publication of CN1921644A publication Critical patent/CN1921644A/en
Application granted granted Critical
Publication of CN100562147C publication Critical patent/CN100562147C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供了一种消息转发方法,该方法包括:A.主叫用户向短消息中心提交需要传输给被叫用户的消息,短消息中心将接收到的消息转发给中间网络设备,并请求返回回执;B.中间网络设备将接收到的消息成功发送至被叫用户后,将表明成功发送的回执以及所述消息的消息标识发送给短消息中心,短消息中心根据接收到的所述消息标识确定所述回执对应的消息以及主叫用户,并将回执发送给主叫用户;所述消息标识由所述短消息中心在转发所述消息给中间网络设备之前设置并在进行所述消息的转发时发送给所述中间网络设备,或者由所述中间网络设备在将所述消息发送给被叫用户之前设置并发送给所述短消息中心。本发明中的回执能够正确反映消息的传输情况。

Figure 200610111227

The present invention provides a message forwarding method, the method comprising: A. The calling user submits the message to be transmitted to the called user to the short message center, and the short message center forwards the received message to the intermediate network device, and requests to return Receipt; B. After the intermediate network device successfully sends the received message to the called user, it will send the receipt and the message identification of the message to the short message center indicating that it has been successfully sent, and the short message center will send the message according to the received message identification. Determine the message corresponding to the receipt and the calling user, and send the receipt to the calling user; the message identifier is set by the short message center before forwarding the message to the intermediate network device and forwarding the message The message is sent to the intermediate network device, or is set and sent to the short message center by the intermediate network device before sending the message to the called user. The receipt in the present invention can correctly reflect the transmission situation of the message.

Figure 200610111227

Description

一种消息转发方法 A message forwarding method

技术领域 technical field

本发明涉及消息处理技术,尤其涉及一种消息转发方法、系统及短消息中心。The invention relates to message processing technology, in particular to a message forwarding method, system and short message center.

背景技术 Background technique

随着电子及通讯技术的迅速更新,通信网络能够向用户提供越来越多的业务,并且这些业务给用户带来的体验也越来越好。以消息业务为例,目前数以亿计的用户将消息作为常用的交流工具。从用户终端的角度而言,主叫用户只需在所使用的诸如手机之类的终端上输入被叫用户的号码以及需要传输的消息内容,就可以通过有线或者无线通信网络,将消息内容送达被叫用户。从网络侧的角度而言,消息由主叫用户到达诸如短消息中心等消息存储转发设备后,经过包括业务网关或者互联网关等网络设备,到达业务提供商或者被叫用户所在的网络。With the rapid update of electronic and communication technologies, communication networks can provide users with more and more services, and the experience brought by these services to users is getting better and better. Take the messaging service as an example. Currently, hundreds of millions of users use messaging as a common communication tool. From the perspective of the user terminal, the calling user only needs to input the number of the called user and the content of the message to be transmitted on a terminal such as a mobile phone, and then the content of the message can be sent to the terminal through a wired or wireless communication network. to the called user. From the perspective of the network side, after the message arrives at the message storage and forwarding device such as the short message center from the calling user, it passes through network devices including service gateways or Internet gateways, and then reaches the service provider or the network where the called user is located.

图1示出了以短消息中心作为消息存储转发设备为例的消息转发方法的信令流程图。参见图1,该方法包括:FIG. 1 shows a signaling flow chart of a message forwarding method using a short message center as an example of a message store and forward device. Referring to Figure 1, the method includes:

在步骤101~102中,主叫用户向短消息中心提交需要传输的消息,短消息中心向主叫用户返回接收消息响应,指明收到主叫用户提交的消息。In steps 101-102, the calling user submits a message to be transmitted to the short message center, and the short message center returns a message reception response to the calling user, indicating that the message submitted by the calling user has been received.

在步骤103~105中,短消息中心将来自于主叫用户的消息转发给下级网络设备,下级网络设备向短消息中心返回接收消息响应,指明收到短消息中心提交的消息,并且下级网络设备将接收到的消息转发给业务提供商。In steps 103-105, the short message center forwards the message from the calling user to the lower-level network equipment, and the lower-level network equipment returns a response to receiving the message to the short message center, indicating that the message submitted by the short message center has been received, and the lower-level network equipment Forward the received message to the service provider.

在步骤106~107中,短消息中心接收到来自于下级网络设备的接收消息响应后,在自身生成回执,并发送给主叫用户,主叫用户再将接收回执响应返回给短消息中心。In steps 106-107, after receiving the message reception response from the lower-level network device, the short message center generates a receipt and sends it to the calling user, and the calling user returns the receipt response to the short message center.

至此,完成现有的消息转发流程。So far, the existing message forwarding process is completed.

在述流程中,短消息中心接收到来自于下级网络设备的接收消息响应后,立即向主叫用户回送回执,主叫用户收到回执后,认为消息已经发送给了被叫用户,而实际情况是在短消息中心发送回执之后,下级网络设备仍然在对网络资源、消息组包等进行调度,来自于主叫用户的消息并未到达被叫用户。这样,主叫用户接收到的回执无法真正表明消息已经传送至被叫用户,即该回执为虚假回执,无法向用户反映消息传输的真实情况,影响服务质量和用户体验。In the process described above, after receiving the received message response from the lower-level network equipment, the short message center immediately returns a receipt to the calling user. After receiving the receipt, the calling user thinks that the message has been sent to the called user, but the actual situation After the short message center sends the receipt, the lower-level network equipment is still scheduling network resources, message packets, etc., and the message from the calling user has not reached the called user. In this way, the receipt received by the calling user cannot truly indicate that the message has been delivered to the called user, that is, the receipt is a false receipt, which cannot reflect the real situation of message transmission to the user, affecting service quality and user experience.

发明内容 Contents of the invention

有鉴于此,本发明提供一种消息转发方法,能够准确反映消息传输的真实情况。In view of this, the present invention provides a message forwarding method that can accurately reflect the real situation of message transmission.

本发明中按照如下步骤进行消息的转发:Carry out the forwarding of message according to the following steps in the present invention:

A.主叫用户向短消息中心提交需要传输给被叫用户的消息,短消息中心将接收到的消息转发给中间网络设备,并请求返回回执;A. The calling user submits the message that needs to be transmitted to the called user to the short message center, and the short message center forwards the received message to the intermediate network device and requests a return receipt;

B.中间网络设备将接收到的消息成功发送至被叫用户后,将表明成功发送的回执以及所述消息的消息标识发送给短消息中心,短消息中心根据接收到的所述消息标识确定所述回执对应的消息以及主叫用户,并将回执发送给所确定的主叫用户。B. After the intermediate network device successfully sends the received message to the called user, it will send a receipt indicating that the message was successfully sent and the message identifier of the message to the short message center, and the short message center determines the received message according to the received message identifier. The message corresponding to the said receipt and the calling user, and send the receipt to the determined calling user.

其中,所述消息标识由所述短消息中心在转发所述消息给中间网络设备之前设置并在进行所述消息的转发时发送给所述中间网络设备,或者由所述中间网络设备在将所述消息发送给被叫用户之前设置并发送给所述短消息中心。Wherein, the message identifier is set by the short message center before forwarding the message to the intermediate network device and sent to the intermediate network device when forwarding the message, or the intermediate network device sends the message to the intermediate network device Set and send to the short message center before the message is sent to the called user.

其中,步骤A所述短消息中心将接收到的消息转发给中间网络设备,并请求返回回执为:短消息中心将来自于主叫用户的消息承载于发往所述中间网络设备的信令消息中,并将该信令消息中的回执相关信元设置为表示需要返回回执的数值;Wherein, the short message center in step A forwards the received message to the intermediate network device, and requests a return receipt as follows: the short message center carries the message from the calling user in the signaling message sent to the intermediate network device , and set the receipt-related information element in the signaling message to a value indicating that a receipt needs to be returned;

所述步骤A与步骤B之间进一步包括:中间网络设备从接收到的信令消息中解析出主叫用户的消息以及回执相关信元,并在该信元的取值为表示需要返回回执的数值时确定短消息中心需要返回回执。The step between step A and step B further includes: the intermediate network device parses out the message of the calling user and the information element related to the receipt from the received signaling message, and the value of the information element indicates that the receipt needs to be returned When the value is determined, the SMS center needs to return a receipt.

其中,所述信令消息:DELIVER_SM或者DATA_SM消息,所述回执相关信元为:注册传输registered_delivery信元。Wherein, the signaling message: DELIVER_SM or DATA_SM message, and the information element related to the receipt is: registered_delivery information element.

其中,所述步骤B包括:Wherein, the step B includes:

中间网络设备将来自于主叫用户的消息转发给被叫用户,被叫用户接收到中间网络设备发送的消息后,向所述中间网络设备指明消息成功到达;The intermediate network device forwards the message from the calling user to the called user, and the called user indicates to the intermediate network device that the message arrives successfully after receiving the message sent by the intermediate network device;

中间网络设备将表明成功发送的回执以及所述消息的消息标识发送给短消息中心;The intermediate network device sends the receipt indicating successful sending and the message identifier of the message to the short message center;

短消息中心根据接收到的所述消息标识确定所述回执对应的消息以及主叫用户,并将回执发送给所确定的主叫用户。The short message center determines the message corresponding to the return receipt and the calling user according to the received message identifier, and sends the return receipt to the determined calling user.

其中,所述中间网络设备为下级网络设备,所述被叫用户为与主叫用户处于相同网络的业务提供商,则所述向所述中间网络设备指明消息成功到达为:业务提供商向下级网络设备发送接收消息响应。Wherein, the intermediate network device is a lower-level network device, and the called user is a service provider in the same network as the calling user, then indicating that the message arrives successfully to the intermediate network device is: the service provider sends a message to the lower-level The network device sends a receive message response.

其中,所述中间网络设备为互联设备,所述被叫用户与主叫用户处于不同的网络,则所述中间网络设备将来自于主叫用户的消息转发给被叫用户为:互联设备将从短消息中心接收到的来自于主叫用户的消息发送给被叫用户所在网络,被叫用户所在网络将接收到的消息转发给被叫用户;Wherein, the intermediate network device is an interconnected device, and the called user and the calling user are in different networks, then the intermediate network device forwards the message from the calling user to the called user as follows: The message received by the short message center from the calling user is sent to the network where the called user is located, and the network where the called user is located forwards the received message to the called user;

所述被叫用户向所述中间网络设备指明消息成功到达为:被叫用户所在网络接收到表明消息成功到达被叫用户的响应后,向互联设备发送接收消息响应。The called user indicates to the intermediate network device that the message arrives successfully is: after the network where the called user resides receives a response indicating that the message has successfully arrived at the called user, sends a message reception response to the interconnection device.

其中,所述短消息中心将回执发送给主叫用户之前,进一步包括:短消息中心向中间网络设备发送接收回执响应,指明已收到回执;Wherein, before the short message center sends the receipt to the calling user, it further includes: the short message center sends a receipt response to the intermediate network device, indicating that the receipt has been received;

所述短消息中心将回执发送给主叫用户之后,进一步包括:主叫用户向短消息中心发送接收回执响应,指明已收到回执。After the short message center sends the receipt to the calling user, the method further includes: the calling user sends a receipt response to the short message center, indicating that the receipt has been received.

其中,所述短消息中心将接收到的消息转发给中间网络设备之前,进一步包括:Wherein, before the received message is forwarded to the intermediate network device by the short message center, it further includes:

短消息中心对接收到的消息进行合法性检查,在通过所述合法性检查时,继续执行所述转发给中间网络设备的操作;否则,结束本流程。The short message center checks the validity of the received message, and continues to perform the operation of forwarding to the intermediate network device if the message passes the legality check; otherwise, ends the process.

应用本发明,能够准确反映消息传输的真实情况。具体而言,本发明具有如下有益效果:The application of the present invention can accurately reflect the real situation of message transmission. Specifically, the present invention has the following beneficial effects:

本发明中短消息中心在向中间网络设备转发消息的同时,指明需要表明消息成功发送给被叫用户的回执,则中间网络设备在发送成功后,通过短消息中心将回执返回给主叫用户。可见,本发明中的回执为能够真正表示消息成功发送的准确回执。这样,主叫用户能够根据接收到的回执确定消息已到达被叫用户,从而有效地提高了网络服务质量和用户体验。In the present invention, when the short message center forwards the message to the intermediate network device, it indicates that a return receipt indicating that the message is successfully sent to the called user is required, and then the intermediate network device returns the return receipt to the calling user through the short message center after the successful transmission. It can be seen that the receipt in the present invention is an accurate receipt that can truly indicate that the message has been successfully sent. In this way, the calling user can confirm that the message has reached the called user according to the received receipt, thereby effectively improving the network service quality and user experience.

附图说明 Description of drawings

下面将通过参照附图详细描述本发明的示例性实施例,使本领域的普通技术人员更清楚本发明的上述及其它特征和优点,附图中:Exemplary embodiments of the present invention will be described in detail below with reference to the accompanying drawings, so that those of ordinary skill in the art will be more aware of the above-mentioned and other features and advantages of the present invention. In the accompanying drawings:

图1为现有的消息转发方法的信令流程图;FIG. 1 is a signaling flowchart of an existing message forwarding method;

图2为本发明中消息转发方法的示例性流程图;Fig. 2 is an exemplary flowchart of a message forwarding method in the present invention;

图3为本发明中消息转发系统的示例性结构示意图;FIG. 3 is a schematic structural diagram of an exemplary message forwarding system in the present invention;

图4为本发明实施例1中消息转发方法的流程图;FIG. 4 is a flowchart of a message forwarding method in Embodiment 1 of the present invention;

图5为本发明实施例2中消息转发方法的流程图;5 is a flowchart of a message forwarding method in Embodiment 2 of the present invention;

图6为本发明实施例2中消息转发系统的结构示意图。FIG. 6 is a schematic structural diagram of a message forwarding system in Embodiment 2 of the present invention.

具体实施方式 Detailed ways

为使本发明的目的、技术方案更加清楚明白,以下参照附图并举实施例,对本发明做进一步的详细说明。In order to make the purpose and technical solution of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

本发明为一种消息转发方法,其基本思想是:短消息中心在将来自于主叫用户的消息转发给中间网络设备时,指明需要返回回执,中间网络设备或者互联设备将消息成功转发给被叫用户后,向短消息中心发送回执。The present invention is a message forwarding method, the basic idea of which is: when the short message center forwards the message from the calling user to the intermediate network device, it indicates that a return receipt is required, and the intermediate network device or the interconnection device successfully forwards the message to the called party. After calling the user, send a receipt to the short message center.

图2示出了本发明中消息转发方法的示例性流程图,参见图2,该方法包括:Fig. 2 shows an exemplary flowchart of a message forwarding method in the present invention, referring to Fig. 2, the method includes:

在步骤201中,主叫用户向短消息中心提交需要传输给被叫用户的消息,短消息中心在将接收到的消息转发给中间网络设备时,请求返回回执;In step 201, the calling user submits the message that needs to be transmitted to the called user to the short message center, and the short message center requests a return receipt when forwarding the received message to the intermediate network device;

在步骤202中,中间网络设备在将接收到的消息成功发送至被叫用户后,将表明成功发送的回执通过短消息中心发送给主叫用户。In step 202, after the intermediate network device successfully sends the received message to the called user, it sends a receipt indicating successful sending to the calling user through the short message center.

图3示出了本发明中用于执行上述消息转发流程的系统。参见图3,该系统包括:短消息中心和中间网络设备,其中短消息中心用于接收来自于主叫用户的消息,将接收到的消息转发给中间网络设备并请求返回回执,接收来自于中间网络设备的回执,并转发给主叫用户;中间网络设备用于接收来自于短消息中心的消息以及表明返回回执的请求,将接收到的消息发送给被叫用户,并在发送成功后,向短消息中心发送回执。Fig. 3 shows a system for executing the above message forwarding process in the present invention. Referring to Fig. 3, the system includes: a short message center and an intermediate network device, wherein the short message center is used to receive the message from the calling user, forward the received message to the intermediate network device and request a return receipt, and receive the message from the intermediate The receipt of the network device, and forward it to the calling user; the intermediate network device is used to receive the message from the short message center and the request indicating the return receipt, send the received message to the called user, and send it to the called user after the sending is successful. The short message center sends a receipt.

本发明中,中间网络设备可以是下级网络设备或者互联设备。当被叫用户为与主叫用户处于相同网络的业务提供商时,短消息中心通过下级网络设备转发消息,下级网络设备再将接收到的消息发送给业务提供商;当被叫用户处于与主叫用户不同的网络中时,短消息中心通过互联设备转发消息,互联设备再将接收到的消息发送给被叫所在的网络。下面通过两个实施例对本发明的消息转发方法和系统进行说明。In the present invention, the intermediate network device may be a lower-level network device or an interconnection device. When the called user is a service provider in the same network as the calling user, the short message center forwards the message through the lower-level network equipment, and the lower-level network equipment sends the received message to the service provider; when the called user is in the same network as the calling user When the called user is in a different network, the short message center forwards the message through the interconnection device, and the interconnection device sends the received message to the network where the called party is located. The message forwarding method and system of the present invention will be described below through two embodiments.

实施例1Example 1

本实施例中,被叫用户为与主叫用户处于相同网络的业务提供商,业务提供商通过诸如业务网关、供业务接入的代理设备等的下级网络设备连接短消息中心。In this embodiment, the called user is a service provider in the same network as the calling user, and the service provider connects to the short message center through a lower-level network device such as a service gateway and a proxy device for service access.

图4示出了本实施例中消息转发方法的信令流程图。参见图4,该方法包括:Fig. 4 shows a signaling flowchart of the message forwarding method in this embodiment. Referring to Figure 4, the method includes:

在步骤401~402中,主叫用户向短消息中心提交需要传输的消息,短消息中心向主叫用户返回接收消息响应,指明收到主叫用户提交的消息。In steps 401-402, the calling user submits a message to be transmitted to the short message center, and the short message center returns a message reception response to the calling user, indicating that the message submitted by the calling user has been received.

这里的消息包括短消息的内容、信令控制信息等类型的消息。当主叫用户需要向被叫用户传送短消息时,主叫用户首先在所使用的终端上输入消息内容和表明被叫用户身份的被叫号码等,然后将该消息和被叫号码发送给网络侧。网络侧的短消息中心接收到消息和被叫号码后,向主叫用户返回表明短消息中心成功接收的接收消息响应。The message here includes short message content, signaling control information and other types of messages. When the calling user needs to send a short message to the called user, the calling user first enters the content of the message and the called number indicating the identity of the called user on the terminal used, and then sends the message and the called number to the network side. After receiving the message and the called number, the short message center on the network side returns to the calling user a response indicating that the short message center has successfully received the message.

在步骤403~404中,短消息中心将来自于主叫用户的消息转发给下级网络设备,并请求下级网络设备在成功传送消息后返回回执,下级网络设备向短消息中心返回接收消息响应,指明收到短消息中心提交的消息。In steps 403-404, the short message center forwards the message from the calling user to the lower-level network device, and requests the lower-level network device to return a receipt after the message is successfully transmitted, and the lower-level network device returns a message response to the short message center, indicating The message submitted by the short message center is received.

本实施例中为了能够准确反映消息的传送情况,当短消息中心向下级网络设备发送主叫用户的消息的同时,请求下级网络设备在成功传送消息后返回回执。这里,短消息中心可以将承载主叫用户消息的信令消息中的回执相关信元的取值设置为表示需要返回回执的数值。例如,当短消息中心通过SMPP协议的DELIVER_SM或者DATA_SM消息来进行消息的转发时,将上述消息中的注册传输(registered_delivery)信元的取值设置为表示需要返回回执的数值。具体而言,可以将该信元中的某一位确定为表示是否返回回执,并将这一位的取值设置为1,即可表示短消息中心需要回执。假设最后一位表示是否返回回执,则当该信元为0xxxxxxxx1时,表明短消息中心需要返回回执,其中的x表示在确定返回回执与否时,不对该位进行查看。In this embodiment, in order to accurately reflect the transmission of the message, when the short message center sends the caller's message to the lower-level network device, it requests the lower-level network device to return a receipt after successfully transmitting the message. Here, the short message center may set the value of the return receipt-related information element in the signaling message carrying the calling user's message as a value indicating that a return receipt needs to be returned. For example, when the short message center forwards the message through the DELIVER_SM or DATA_SM message of the SMPP protocol, the value of the registered delivery (registered_delivery) information element in the above message is set to a value indicating that a receipt needs to be returned. Specifically, a certain bit in the IE can be determined to indicate whether to return a receipt, and setting the value of this bit to 1 indicates that the short message center needs a receipt. Assuming that the last bit indicates whether to return a receipt, when the cell is 0xxxxxxxx1, it indicates that the short message center needs to return a receipt, and the x indicates that this bit is not to be checked when determining whether to return a receipt.

当下级网络设备接收到短消息中心的消息后,确定短消息中心需要返回回执,则为该消息分配消息标识(message_id),以便后续步骤中向短消息中心返回回执时,供短消息中心回执所针对的消息。然后,下级网络设备通过接收消息响应将该message_id发送给短消息中心。当然,也可以由短消息中心为主叫用户的消息分配message_id,并在向下级网络设备发送主叫用户的消息时,提交给下级网络设备。相应地,下级网络设备在返回接收消息响应时,也携带message_id,指明接收到了该message_id所对应的消息。After the subordinate network device receives the message of the short message center, it is determined that the short message center needs to return a receipt, and then assigns a message identifier (message_id) for the message, so that when the return receipt is returned to the short message center in the subsequent steps, it will be used for the receipt of the short message center. targeted message. Then, the lower-level network device sends the message_id to the short message center by receiving the message response. Certainly, the short message center may also assign a message_id to the calling user's message, and submit it to the lower-level network device when sending the calling user's message to the lower-level network device. Correspondingly, when the lower-level network device returns a message reception response, it also carries a message_id, indicating that the message corresponding to the message_id has been received.

另外,为了保证消息传输过程的安全性,短消息中心在接收到主叫用户的消息后,首先执行诸如鉴权等合法性检查,而后再进行转发。In addition, in order to ensure the safety of the message transmission process, after receiving the message from the calling user, the short message center first performs legality checks such as authentication, and then forwards it.

在步骤405~406中,下级网络设备将接收到的消息转发给业务提供商,业务提供商将接收消息响应返回给下级网络设备。In steps 405-406, the lower-level network device forwards the received message to the service provider, and the service provider returns a response to the received message to the lower-level network device.

本实施例中作为被叫用户的业务提供商连接在下级网络设备上,当业务提供商接收到下级网络设备发来的主叫用户的消息时,通过接收响应消息来向下级网络设备指明消息已成功到达业务提供商。In this embodiment, the service provider as the called user is connected to the lower-level network equipment. When the service provider receives the message of the calling user from the lower-level network equipment, it indicates to the lower-level network equipment that the message has been received by receiving the response message. Successfully reached the service provider.

在步骤407~408中,下级网络设备在接收到来自于业务提供商的接收消息响应后,生成该消息对应的回执,并将所生成的回执发送给短消息中心,短消息中心向下级网络设备返回接收回执响应,指明收到回执。In steps 407-408, after receiving the message response from the service provider, the lower-level network device generates a receipt corresponding to the message, and sends the generated receipt to the short message center, and the short message center sends the message to the lower-level network device. Return receipt response, indicating receipt.

这里下级网络设备在生成回执时,为了便于短消息中心区分回执所对应的消息,则将步骤403或404中为消息分配的message_id携带于回执中。Here, when the lower-level network device generates the receipt, in order to facilitate the short message center to distinguish the message corresponding to the receipt, the message_id assigned to the message in step 403 or 404 is carried in the receipt.

在步骤409~410中,短消息中心接收到来自于下级网络设备的回执后,确定该回执所对应的消息和主叫用户,并将接收到的回执发送给该主叫用户,主叫用户再将接收回执响应返回给短消息中心。In steps 409-410, after receiving the receipt from the lower-level network equipment, the short message center determines the message and the calling user corresponding to the receipt, and sends the received receipt to the calling user, and the calling user then Return the receipt response to the short message center.

当短消息中心收到下级网络设备发来的回执后,从该回执中解析出message_id,根据该message_id对应的消息以及发出该消息的主叫用户,然后将接收到的回执发送给所确定的主叫用户。这种情况下主叫用户收到的回执真正表示了所发出的消息已成功到达被叫用户。When the short message center receives the receipt sent by the lower-level network equipment, it parses the message_id from the receipt, and sends the received receipt to the determined caller according to the message corresponding to the message_id and the calling user who sent the message. Call the user. In this case, the receipt received by the calling user really indicates that the sent message has successfully reached the called user.

至此,完成本实施例中的消息转发流程。So far, the message forwarding process in this embodiment is completed.

本实施例中短消息中心在向下级网络设备转发消息的同时,指明需要表明消息成功发送给被叫用户的回执,则下级网络设备在发送成功后,通过短消息中心将回执返回给主叫用户。可见,本实施例中的回执为能够真正表示消息成功发送的准确回执。这样,主叫用户能够根据接收到的回执确定消息已到达被叫用户,从而有效地提高了网络服务质量和用户体验。In this embodiment, when the short message center forwards the message to the lower-level network equipment, it indicates that a receipt indicating that the message is successfully sent to the called user is required, and then the lower-level network equipment returns the receipt to the calling user through the short message center after the transmission is successful. . It can be seen that the receipt in this embodiment is an accurate receipt that can truly indicate that the message has been successfully sent. In this way, the calling user can confirm that the message has reached the called user according to the received receipt, thereby effectively improving the network service quality and user experience.

实施例2Example 2

本实施例中,被叫用户与主叫用户处于不同的网络,被叫用户所在的网络通过诸如互联网关或者具有互联功能的实体等互联设备与短消息中心连接。In this embodiment, the called user and the calling user are in different networks, and the network where the called user is located is connected to the short message center through an interconnection device such as an Internet gateway or an entity with an interconnection function.

图5示出了本实施例中消息转发方法的信令流程图。参见图5,该方法包括:Fig. 5 shows a signaling flowchart of the message forwarding method in this embodiment. Referring to Figure 5, the method includes:

在步骤501~502中,主叫用户向短消息中心提交需要传输的消息,短消息中心向主叫用户返回接收消息响应,指明收到主叫用户提交的消息。In steps 501-502, the calling user submits a message to be transmitted to the short message center, and the short message center returns a message reception response to the calling user, indicating that the message submitted by the calling user has been received.

在步骤503~504中,短消息中心将来自于主叫用户的消息转发给互联设备,并请求互联设备在成功传送消息后返回回执,互联设备向短消息中心返回接收消息响应,指明收到短消息中心提交的消息。In steps 503-504, the short message center forwards the message from the calling user to the interconnected device, and requests the interconnected device to return a receipt after the message is successfully transmitted, and the interconnected device returns a message response to the short message center, indicating that the short message has been received. A message submitted by the message center.

本实施例中当互联设备接收到短消息中心的消息后,也像实施例1那样由短消息中心或者互联设备为该消息分配message_id,以便后续步骤中向短消息中心返回回执时,供短消息中心回执所针对的消息。In this embodiment, after the interconnected device receives the message from the short message center, the message is allocated message_id by the short message center or the interconnected device as in embodiment 1, so that when returning a receipt to the short message center in the subsequent steps, the short message can be provided. The message that the hub returns for.

在步骤505~506中,互联设备将接收到的消息转发给被叫用户所在网络,被叫用户所在网络在消息传送给被叫用户后,将接收消息响应返回给互联设备。In steps 505-506, the interconnected device forwards the received message to the network where the called user resides, and the network where the called user resides returns a message response to the interconnected device after the message is transmitted to the called user.

本实施例中由于被叫用户位于其他网络中,因此消息首先从互联设备到达被叫用户所在网络,而后再由被叫用户所在网络继续转发给被叫用户。只有在被叫所在网络确定被叫用户收到该消息后,才向互联设备返回接收消息响应。In this embodiment, since the called user is located in another network, the message first arrives at the network where the called user resides from the interconnected device, and then is forwarded to the called user by the network where the called user resides. Only after the network where the called party is located determines that the called user has received the message, does the response of receiving the message be returned to the interconnected device.

在步骤507~508中,互联设备在接收到来自于被叫用户所在网络的接收消息响应后,生成该消息对应的回执,并将所生成的回执发送给短消息中心,短消息中心向互联设备返回接收回执响应,指明收到回执。In steps 507-508, after receiving the message response from the network where the called user is located, the interconnected device generates a receipt corresponding to the message, and sends the generated receipt to the short message center, and the short message center sends a message to the interconnected device Return receipt response, indicating receipt.

这里互联设备在生成回执时,为了便于短消息中心区分回执所对应的消息,则将步骤504中为消息分配的message_id携带于回执中。Here, when the interconnected device generates the receipt, in order to facilitate the short message center to distinguish the message corresponding to the receipt, the message_id assigned to the message in step 504 is carried in the receipt.

在步骤509~510中,短消息中心接收到来自于互联设备的回执后,确定该回执所对应的消息和主叫用户,并将接收到的回执发送给该主叫用户,主叫用户再将接收回执响应返回给短消息中心。In steps 509-510, after receiving the receipt from the interconnected device, the short message center determines the message corresponding to the receipt and the calling user, and sends the received receipt to the calling user, and the calling user sends the The receipt response is returned to the short message center.

此处的操作与实施例1中的步骤409~410完全相同。The operations here are exactly the same as steps 409-410 in Embodiment 1.

至此,完成本实施例中的消息转发流程。So far, the message forwarding process in this embodiment is completed.

与实施例1相似,本实施例中的回执也能够真正表示消息成功发送。这样,主叫用户能够根据接收到的回执确定消息已到达被叫用户,从而有效地提高了网络服务质量和用户体验。Similar to Embodiment 1, the receipt in this embodiment can also truly indicate that the message is sent successfully. In this way, the calling user can confirm that the message has reached the called user according to the received receipt, thereby effectively improving the network service quality and user experience.

图6示出了执行上述两个实施例的流程的消息转发系统的详细结构示意图。参见图6,该系统中的短消息中心包括:消息接收模块、消息转发模块、等待回执模块、接收回执模块、回执处理模块和回执转发模块。上述各个模块的作用如下:FIG. 6 shows a schematic diagram of a detailed structure of a message forwarding system that executes the processes of the above two embodiments. Referring to Fig. 6, the short message center in the system includes: a message receiving module, a message forwarding module, a waiting receipt module, a receiving receipt module, a receipt processing module and a receipt forwarding module. The functions of the above modules are as follows:

消息接收模块用于通过网络接收来自于主叫用户的消息,并将接收到的消息发送给消息转发模块;The message receiving module is used to receive the message from the calling user through the network, and send the received message to the message forwarding module;

消息转发模块用于将接收到的消息以及需要返回回执的请求发送给中间网络设备,接收来自于中间网络设备的表示消息到达该中间网络设备的响应,将接收到的主叫用户信息发送给等待回执模块;The message forwarding module is used to send the received message and the request for return receipt to the intermediate network device, receive the response from the intermediate network device indicating that the message has arrived at the intermediate network device, and send the received caller information to the waiting Receipt module;

等待回执模块用于接收来自于消息转发模块的主叫用户信息,并进行存储;The waiting receipt module is used to receive and store the caller information from the message forwarding module;

接收回执模块用于接收来于中间网络设备的回执,并将接收到的回执发送给回执处理模块;The receiving receipt module is used to receive the receipt from the intermediate network device, and send the received receipt to the receipt processing module;

回执处理模块用于接收来自于接收回执模块的回执,根据接收到的回执检索等待回执模块,确定该回执对应的主叫用户信息,并将该主叫用户信息和回执发送给回执转发模块;The receipt processing module is used to receive the receipt from the receiving receipt module, retrieve the waiting receipt module according to the received receipt, determine the calling user information corresponding to the receipt, and send the calling user information and receipt to the receipt forwarding module;

回执转发模块用于接收来自于回执处理模块的回执和主叫用户信息,并根据该主叫用户信息将回执发送给主叫用户。The receipt forwarding module is used to receive the receipt and calling user information from the receipt processing module, and send the receipt to the calling user according to the calling user information.

在采用message_id来区分回执对应的消息的情况下,上述各个模块的功能以及连接关系也因message_id的采用而发生变化。当短消息中心分配message_id时,消息转发模块为来自于主叫用户的消息分配message_id,将该message_id发送给等待回执模块和中间网络设备;等待回执模块进一步用于对来自于消息转发模块的message_id进行存储,并提供给回执处理模块。当中间网络设备分配message_id时,消息转发模块进一步用于接收来自于中间网络设备的message_id,并将接收到的message_id发送给等待回执模块;等待回执模块进一步用于对来自于消息转发模块的message_id进行存储,并提供给回执处理模块。In the case of using message_id to distinguish the messages corresponding to the receipt, the functions and connection relationships of the above modules also change due to the use of message_id. When the short message center distributes message_id, the message forwarding module distributes message_id for the message from the calling user, and sends the message_id to the waiting receipt module and intermediate network equipment; the waiting receipt module is further used to perform message_id from the message forwarding module Stored and provided to the receipt processing module. When the intermediate network device distributes message_id, the message forwarding module is further used to receive the message_id from the intermediate network device, and sends the received message_id to the waiting receipt module; the waiting receipt module is further used to perform message_id from the message forwarding module Stored and provided to the receipt processing module.

另外,为了保证消息转发过程的安全性,这里的短消息中心还包括消息处理模块,用于从消息接收模块接收消息,对该消息进行合法性检查,在通过合法性检查后,将该消息发送给消息转发模块。In addition, in order to ensure the safety of the message forwarding process, the short message center here also includes a message processing module, which is used to receive a message from the message receiving module, check the validity of the message, and send the message after passing the legality check. To the message forwarding module.

本发明中主叫用户可以通过诸如全球移动通信系统(GSM)、通用分组无线业务(GPRS)、码分多址(CDMA)以及时分多址(TDMA)等通信系统与短消息中心通信,中间网络设备可以通过诸如GSM、GPRS、CDMA、TDMA以及互联网等网络与被叫用户通信。In the present invention, the calling user can communicate with the short message center through communication systems such as Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA) and Time Division Multiple Access (TDMA), and the intermediate network The device can communicate with the called user through networks such as GSM, GPRS, CDMA, TDMA and the Internet.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (8)

1、一种消息转发方法,其特征在于,该方法包括:1. A message forwarding method, characterized in that the method comprises: A.主叫用户向短消息中心提交需要传输给被叫用户的消息,短消息中心将接收到的消息转发给中间网络设备,并请求返回回执;A. The calling user submits the message that needs to be transmitted to the called user to the short message center, and the short message center forwards the received message to the intermediate network device and requests a return receipt; B.中间网络设备将接收到的消息成功发送至被叫用户后,将表明成功发送的回执以及所述消息的消息标识发送给短消息中心,短消息中心根据接收到的所述消息标识确定所述回执对应的消息以及主叫用户,并将回执发送给所确定的主叫用户;B. After the intermediate network device successfully sends the received message to the called user, it will send a receipt indicating that the message was successfully sent and the message identifier of the message to the short message center, and the short message center determines the received message according to the received message identifier. Describe the message corresponding to the receipt and the calling user, and send the receipt to the determined calling user; 其中,所述消息标识由所述短消息中心在转发所述消息给中间网络设备之前设置并在进行所述消息的转发时发送给所述中间网络设备,或者由所述中间网络设备在将所述消息发送给被叫用户之前设置并发送给所述短消息中心。Wherein, the message identifier is set by the short message center before forwarding the message to the intermediate network device and sent to the intermediate network device when forwarding the message, or the intermediate network device sends the message to the intermediate network device Set and send to the short message center before the message is sent to the called user. 2、如权利要求1所述的方法,其特征在于,步骤A所述短消息中心将接收到的消息转发给中间网络设备,并请求返回回执为:短消息中心将来自于主叫用户的消息承载于发往所述中间网络设备的信令消息中,并将该信令消息中的回执相关信元设置为表示需要返回回执的数值;2. The method according to claim 1, wherein the short message center in step A forwards the received message to the intermediate network device, and requests a return receipt as follows: the short message center forwards the message from the calling user carried in the signaling message sent to the intermediate network device, and setting the return receipt-related information element in the signaling message as a value indicating that the receipt needs to be returned; 所述步骤A与步骤B之间进一步包括:中间网络设备从接收到的信令消息中解析出主叫用户的消息以及回执相关信元,并在该信元的取值为表示需要返回回执的数值时确定短消息中心需要返回回执。The step between step A and step B further includes: the intermediate network device parses out the message of the calling user and the information element related to the receipt from the received signaling message, and the value of the information element indicates that the receipt needs to be returned When the value is determined, the SMS center needs to return a receipt. 3、如权利要求2所述的方法,其特征在于,所述信令消息为:DELIVER_SM或者DATA_SM消息,所述回执相关信元为:注册传输registered_delivery信元。3. The method according to claim 2, wherein the signaling message is a DELIVER_SM or DATA_SM message, and the receipt-related information element is a registered_delivery information element. 4、如权利要求1所述的方法,其特征在于,所述步骤B包括:4. The method according to claim 1, wherein said step B comprises: 中间网络设备将来自于主叫用户的消息转发给被叫用户,被叫用户接收到中间网络设备发送的消息后,向所述中间网络设备指明消息成功到达;The intermediate network device forwards the message from the calling user to the called user, and the called user indicates to the intermediate network device that the message arrives successfully after receiving the message sent by the intermediate network device; 中间网络设备将表明成功发送的回执以及所述消息的消息标识发送给短消息中心;The intermediate network device sends the receipt indicating successful sending and the message identifier of the message to the short message center; 短消息中心根据接收到的所述消息标识确定所述回执对应的消息以及主叫用户,并将回执发送给所确定的主叫用户。The short message center determines the message corresponding to the return receipt and the calling user according to the received message identifier, and sends the return receipt to the determined calling user. 5、如权利要求4所述的方法,其特征在于,所述中间网络设备为下级网络设备,所述被叫用户为与主叫用户处于相同网络的业务提供商,则所述向所述中间网络设备指明消息成功到达为:业务提供商向下级网络设备发送接收消息响应。5. The method according to claim 4, wherein the intermediate network device is a lower-level network device, and the called user is a service provider on the same network as the calling user, The network device indicates that the message arrives successfully: the service provider sends a response to receiving the message to the lower-level network device. 6、如权利要求4所述的方法,其特征在于,所述中间网络设备为互联设备,所述被叫用户与主叫用户处于不同的网络,则所述中间网络设备将来自于主叫用户的消息转发给被叫用户为:互联设备将从短消息中心接收到的来自于主叫用户的消息发送给被叫用户所在网络,被叫用户所在网络将接收到的消息转发给被叫用户;6. The method according to claim 4, wherein the intermediate network device is an interconnection device, and the called user and the calling user are in different networks, and the intermediate network device will be from the calling user Forwarding the message to the called user is as follows: the interconnected device sends the message from the calling user received from the short message center to the network where the called user is located, and the network where the called user resides forwards the received message to the called user; 所述被叫用户向所述中间网络设备指明消息成功到达为:被叫用户所在网络接收到表明消息成功到达被叫用户的响应后,向互联设备发送接收消息响应。The called user indicates to the intermediate network device that the message arrives successfully is: after the network where the called user resides receives a response indicating that the message has successfully arrived at the called user, sends a message reception response to the interconnection device. 7、如权利要求5或6所述的方法,其特征在于,所述短消息中心将回执发送给主叫用户之前,进一步包括:短消息中心向中间网络设备发送接收回执响应,指明已收到回执;7. The method according to claim 5 or 6, characterized in that before the short message center sends the receipt to the calling user, it further comprises: the short message center sends a receipt response to the intermediate network device, indicating that it has received the receipt receipt; 所述短消息中心将回执发送给主叫用户之后,进一步包括:主叫用户向短消息中心发送接收回执响应,指明已收到回执。After the short message center sends the receipt to the calling user, the method further includes: the calling user sends a receipt response to the short message center, indicating that the receipt has been received. 8、如权利要求1所述的方法,其特征在于,所述短消息中心将接收到的消息转发给中间网络设备之前,进一步包括:8. The method according to claim 1, wherein before the short message center forwards the received message to the intermediate network device, further comprising: 短消息中心对接收到的消息进行合法性检查,在通过所述合法性检查时,继续执行所述转发给中间网络设备的操作;否则,结束本流程。The short message center checks the validity of the received message, and continues to perform the operation of forwarding to the intermediate network device if the message passes the legality check; otherwise, ends the process.
CNB2006101112279A 2006-08-15 2006-08-15 A message forwarding method Expired - Fee Related CN100562147C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101112279A CN100562147C (en) 2006-08-15 2006-08-15 A message forwarding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101112279A CN100562147C (en) 2006-08-15 2006-08-15 A message forwarding method

Publications (2)

Publication Number Publication Date
CN1921644A CN1921644A (en) 2007-02-28
CN100562147C true CN100562147C (en) 2009-11-18

Family

ID=37779173

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101112279A Expired - Fee Related CN100562147C (en) 2006-08-15 2006-08-15 A message forwarding method

Country Status (1)

Country Link
CN (1) CN100562147C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420667B (en) * 2007-10-24 2012-07-04 中兴通讯股份有限公司 Method for short message gateway processing waiting receipt message
CN101409872B (en) * 2008-11-19 2014-08-20 中兴通讯股份有限公司南京分公司 Method for processing color message group send acknowledgement
CN101754114B (en) * 2008-12-12 2012-09-26 中兴通讯股份有限公司 Method for realizing state consistency of multimedia message and system thereof
CN115802298B (en) * 2022-10-31 2023-07-07 广州市玄武无线科技股份有限公司 Method and system for processing short message submitting report and receipt report

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Digital cellular telecommunications system(Phase2+),Interface protocols for the connection of ShortMessageService Centres(SMSCs) to Short MessageEntities(SMEs)(GSM 03.39 version 7.0.0 Release 1998). ETSI TR 101 632 V7.0.0. 2000 *

Also Published As

Publication number Publication date
CN1921644A (en) 2007-02-28

Similar Documents

Publication Publication Date Title
JP5158890B2 (en) Method and apparatus for parent controlled short message service
CN100525238C (en) Method, system, mobile terminal and network equipment for processing packet data
US8527007B2 (en) Multimedia message system and method for sending multimedia message
US8712865B2 (en) Method for exchanging data concerning an electronic transaction
JP5826187B2 (en) Management of SMS spoofing using the SMPP protocol
CN100512314C (en) A method for optimizing Push notice message
US8478315B2 (en) System and method for determining an SMS message retransmission schedule
CN102047742A (en) Method and apparatus for multiplexing different traffic types based on a common communication session
US20060068761A1 (en) System and method for prioritizing a store-and-forward message
CN100562147C (en) A message forwarding method
CN101647253B (en) Submission report processing in SMSIP
US8913594B2 (en) Routing of a CDMA MS initiated USSD request
US20050181766A1 (en) Method and device for delivering messages to mobile terminal devices in accordance with a user selectable attainability status
JP2003179691A (en) Method, device and software for extending information flow during message transmission
WO2012062051A1 (en) Method and system for delivering multimedia messages
US8204523B1 (en) Cost effective notifications with delivery guarantee
US7346362B2 (en) Method for sending batch download messages
CN103096273B (en) Method, equipment and the system that a kind of up short message sends
WO2010009666A1 (en) Method, system and device for implementing multimedia service
CN102137445B (en) Method and device for controlling data service flow of telecommunication network as well as communication system
CN102300230A (en) Method, device and system for realizing monitoring of Internet information
CN100366102C (en) MMS message transmission method and system
KR100604723B1 (en) Method and system for providing multimedia data acknowledgment and read acknowledgment service using data burst message
KR101681759B1 (en) System and method for tranmitting message
CN101035127B (en) Method for transferring the report message to the service provider in the multimedia message service

Legal Events

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

Granted publication date: 20091118

Termination date: 20130815