WO2009010015A1 - Procédé et dispositif de passage de message - Google Patents

Procédé et dispositif de passage de message Download PDF

Info

Publication number
WO2009010015A1
WO2009010015A1 PCT/CN2008/071682 CN2008071682W WO2009010015A1 WO 2009010015 A1 WO2009010015 A1 WO 2009010015A1 CN 2008071682 W CN2008071682 W CN 2008071682W WO 2009010015 A1 WO2009010015 A1 WO 2009010015A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
service
information
trigger
traversal
Prior art date
Application number
PCT/CN2008/071682
Other languages
English (en)
French (fr)
Inventor
Ning Chen
Xiaolong Hou
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 AT08773212T priority Critical patent/ATE530045T1/de
Priority to BRPI0814429-0A2A priority patent/BRPI0814429A2/pt
Priority to EP08773212A priority patent/EP2154929B1/en
Publication of WO2009010015A1 publication Critical patent/WO2009010015A1/zh
Priority to US12/687,998 priority patent/US20100115044A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/234Monitoring or handling of messages for tracking messages

Definitions

  • the present invention relates to communication technologies, and in particular, to a method and an apparatus for message transmission. Background technique
  • the message forwarding service refers to a message forwarding service similar to "call forwarding", such as: the user does not receive the message and sends all the messages sent to himself. To a specified number; or do not receive messages sent by certain specific numbers, and send these messages to a specified number without affecting the user receiving messages sent by other numbers.
  • the message CC service refers to a message service similar to "message copying", such as:
  • a message sent by a user to a user can be received not only by the user but also by another number set by the user.
  • the above two types of services can be triggered separately (called nested trigger services), so it is easy to cause closed loop loops.
  • messages that can be nested to trigger services are more and more widely used, messages are cyclically transmitted. The problem also emerged. For example: The user sends a message to the user, user B sets the message to the user C, and the user C sets the message back to B.
  • a sends a message to B the message will be looped between B and C; or, if user B sets the message to the user.
  • user C sets the message CC back to B, then when A sends a message to B, the message will be continuously copied between B and C; or, if user B sets the message to call User C, user C sets the message to B back, then when A sends a message to B, the message will be cyclically called and copied between B and C.
  • FIG. 1 shows a flow chart of the short message call service in the calling home network.
  • the Short Message Service Centre (SMS) is a short message dispatching center that performs the basic sending and receiving characteristics of short messages and saves the user registration service identifier.
  • the DCS Data Center for Short Message Service
  • Step 101 User A submits a short message sent to User B to its belonging SMSC.
  • Step 102 The SMSC sends a response message to User A.
  • Step 103 The SMSC queries whether User A and User B have subscribed to the SMS value-added service. If the value-added service is ordered, the original submitted message is forwarded to the DCS for processing. In this example, assume that the query to the user (User A and/or User B) subscribes to value-added services.
  • step 104 the SMSC forwards the original submission message to DCS A.
  • step 105 the DCS A returns a response, notifying the SMSC that the message is processed by the DCS A.
  • Step 106 DCS A finds that user B is a non-local home user, and sends a service query request message to user B's home DCS, that is, DCS B.
  • Step 107 The DCS B queries the call forwarding number that the user B subscribes to the call forwarding service, and the call forwarding service The code is c.
  • Step 108 DCS B returns a service query response message to DCS A.
  • Step 109 DCS A finds that user C is a non-local home user, and sends a service query request message to user C to belong to DCS, that is, DCS C.
  • step 110 the DCS C queries the user C to subscribe to the call forwarding service, and the call forwarding number is set to B.
  • DCS A returns to step 106 to send the service query request message to DCS B again, and thus steps 106 to 111 are performed cyclically. It can be seen that when the cyclic transmission of the above message occurs, not only the network resources are greatly wasted, but also the user's expenses are repeatedly deducted due to the repeated loop triggering, thereby causing unnecessary loss to the user.
  • a technical problem to be solved by embodiments of the present invention is to provide a method for message transmission and a device for message transmission to prevent message loop transmission.
  • the method for transmitting a message according to the embodiment of the present invention includes: performing cyclic detection on a message that is received by the nestable trigger service, and stopping the service triggering of the message when the detection fails.
  • the device for transmitting the message includes: a service triggering unit, configured to receive a message of a nestable trigger service, and provide information of the received message to a cyclicity detecting unit; and receive the signal from the cyclic detecting unit The detection result, when the detection result is that the detection fails, the service triggering of the message is stopped;
  • the cyclicity detecting unit is configured to perform cyclic detection on the message of the nestable trigger service according to the information of the message from the service triggering unit, and feed back the detection result to the service triggering unit.
  • the received message of the nestable trigger service is cyclically detected, and when the detection fails, the service triggering of the message is stopped, thereby avoiding the cyclic transmission of the message and saving Network resources.
  • FIG. 1 is a flow chart of a short message call service in a calling home network in the prior art
  • FIG. 2 is an exemplary flowchart of a message transmitting method in an embodiment of the present invention
  • FIG. 3 is a message transmitting apparatus according to an embodiment of the present invention
  • FIG. 4 is an internal structural view of the cyclic detecting unit in the device shown in FIG. 3
  • FIG. 5 is another internal structural view of the circulating detecting unit in the device shown in FIG.
  • FIG. 7 is a flowchart of a message transmission service according to Embodiment 2 of the present invention
  • FIG. 8 is a flowchart of a message transmission service according to Embodiment 3 of the present invention.
  • the received message (short message or multimedia message) of the nestable trigger service is cyclically detected, and when the detection fails, the service triggering of the message is stopped, and the message is sent.
  • the current user terminal refers to an object triggered by the current service. For example, user A sends a message to user B, user B sets a message to user C, and user C sets a message call back to user B, which is responsible for the message service data center triggered by user B service (such as short message service).
  • DCS B Calling the message to the responsible user C service trigger
  • the message service data center such as DCS C in the short message service
  • the message service data center performs the cyclic detection without passing the detection
  • the message is no longer triggered by the message service data center triggered by the user C service and is returned to the responsible user B service.
  • the message service data center can be directly sent to the user C.
  • the user C is the current user terminal.
  • the loop detection method may be various. For example, according to the message and user information that can be nested to trigger the service, it is determined whether the nestable trigger service of the message has a backhaul. If yes, the detection fails.
  • the user information may be user information in the network, or user information shared between different operators' networks.
  • the traversal information of the message that can be nested to trigger the service can be recorded.
  • the cyclicity detection may be: matching the trigger information of the received message that can be nested to trigger the service with the recorded traversal information, and when there is matching traversal information, determining that the detection fails.
  • the traversal information may be: a traversal number and/or a number of triggers, etc.
  • the trigger information may be: a current trigger number and/or a threshold number of triggers, etc.
  • the matching traversal information corresponding may be: The same number and/or number of triggers as the current trigger number reaches the trigger threshold.
  • the foregoing traversal information may be carried in a message that can be nested to trigger a service, or the traversal information may be fixedly stored in a message service data center.
  • FIG. 2 is an exemplary flowchart of a message transmission method according to an embodiment of the present invention.
  • the process includes the following steps: Step 201: Receive a message of a currently nestable triggerable service.
  • Step 202 Match the trigger information of the received nestable trigger service message with the recorded traversal information, and determine whether there is matching traversal information. If yes, determine that the detection fails, and perform step 203; otherwise, After the determination is passed, step 204 is performed.
  • Method 1 A message traversal field may be preset, and the traversal information of the message that can be nested to trigger the service is stored, when the nestable trigger service is triggered.
  • the message carries the message traversal field corresponding to the nestable trigger service.
  • the recorded traversal information is traversal information populated into the message traversal field.
  • the calling user's home location such as the service data center to which the calling user belongs
  • the service such as the called user or the service triggers the user's home service.
  • the data query request message carries the message traversal field, and correspondingly, the message traversal field is filled with the primary and called numbers or the primary, called, and first service trigger numbers.
  • the message traversal field may be carried in the service query response message, and correspondingly, the message traversal field is filled with the master and the The first service trigger number or the primary, called, first service trigger, and second service trigger number are called. It can be seen that the message traversal field can be carried in the service query message.
  • the message traversal field may be carried in the service forward message, and correspondingly, the message The traversal field is populated with the primary and called numbers.
  • the message traversal field may be carried in the service pre-transmission message, and correspondingly, the message traversal field is filled with the main, called, and service trigger numbers. It can be seen that the message traversal field can be carried in the service preamble message.
  • the message information storage area may be set in advance in a service data center that triggers a message that can be nested to trigger a service, and is used to store traversal information of a message that can be nested to trigger a service, when sending a message that can be nested to trigger a service, The traversal information corresponding to the message of the nestable trigger service is stored in the set storage area.
  • the recorded traversal information is traversal information populated into the message information storage area.
  • the traversal information may be a traversal number of a message that can be nested to trigger a service.
  • the traversal information may include a calling number, a called number, and a traversed call forwarding number; and/or traversing information. It can also be the number of triggers.
  • the traversal information may include the current number of call forwardings.
  • the traversal information of the message that triggers the business When the trigger information of the received nested trigger service message is matched with the recorded traversal information, if the traversal information includes the traversal number, the trigger information should include the current trigger number, and correspondingly, whether the traversal number can be matched. There is a number that is the same as the current trigger number. If yes, it is determined that the detection fails. Otherwise, the detection can be determined. If the traversal information includes the number of triggers, the trigger information should be included. Including the threshold of the number of triggers, correspondingly, whether the number of triggers can reach the threshold of the number of triggers, and if so, it is determined that the detection fails, otherwise, the detection can be determined to pass.
  • the trigger information may include a current trigger number and a trigger threshold. When the traversal number has the same number as the current trigger number and/or the number of triggers reaches the trigger threshold, the detection is determined. Do not pass, otherwise, the test can be determined to pass. If the traversal information includes both the traversal number and the number of triggers, the trigger information may include only one of the current trigger number and the threshold of the number of triggers. When the traversal number has the same number or the number of triggers as the current trigger number When the threshold is triggered, it is determined that the detection does not pass. Otherwise, the detection can be determined to pass. Step 203: Stop the service triggering of the currently submitted message of the nestable trigger service, and end the process.
  • the service triggering of the currently submitted nested trigger service message is stopped, for example, for the message of the call forwarding service, the call forwarding operation of the message is stopped.
  • the method may further include: deleting the currently submitted nested trigger service message, or not performing any processing on the message, or sending the message to the current user terminal. And further, the traversal information corresponding to the message can be deleted.
  • Step 204 Store the traversal information of the currently submitted message that can be nested to trigger the service, and continue the service trigger of the current message.
  • the traversal information of the currently submitted nestable trigger service message is stored in the message traversal field, and the service trigger of the current message is continued, and the message traversal field is carried.
  • the currently submitted nestable trigger service message is stored in the message information storage area, and the service trigger of the current message is continued. If the traversal information includes the traversal number, if the traversal information is stored in the message traversal field or the message information storage area, if the message traversal field or the message information storage area is empty, the calling number, the called number, and the current need to be added.
  • the trigger number is not empty, that is, the calling number, the called number, and the traversed trigger number are already stored, you only need to add the current trigger number. If the traversal information includes the number of triggers, when the number of triggers is stored in the message traversal field or the message information storage area, it is only necessary to update the current number of triggers each time.
  • FIG. 3 is an exemplary structural diagram of a message transmitting apparatus according to an embodiment of the present invention.
  • the device includes: a service trigger unit 301 and a cyclicity detecting unit 302.
  • the service triggering unit 301 is configured to receive the message of the nestable trigger service, provide the information of the received message to the cyclicity detecting unit 302, and receive the detection result from the cyclicity detecting unit 302, where the detection result is that the detection fails. When, the business trigger for the message is stopped.
  • the cyclicity detecting unit 302 is configured to perform cyclic detection on the message that can be nested to trigger the service according to the information of the message from the service triggering unit 301, and feed back the detection result to the service triggering unit 301.
  • the cyclicity detecting unit 302 can have various specific implementation forms, and two of them are listed below:
  • FIG. 4 is an internal structural diagram of the cyclicity detecting unit 302. As shown in FIG. 4, the cyclability detecting unit 302 includes: an information extracting module 401 and a detecting judging module 402.
  • the information extraction module 401 is configured to extract traversal information of a message that can be nested to trigger a service, and query the touch of the message from the stored user service data. Sending the information, and providing the extracted traversal information and the queried trigger information to the detection and determination module 402.
  • the detection determining module 402 is configured to match the trigger information of the message that can be nested to trigger the service with the traversal information. When there is matching traversal information, it is determined that the detection fails, otherwise, the detection is determined, and the detection result is fed back to the service triggering unit. 301.
  • the service triggering unit 301 further performs service triggering by carrying the traversal information of the message that can be nested to trigger the service when the detection result is passed.
  • FIG. 5 is still another internal structural diagram of the cyclicity detecting unit 302.
  • the cyclicity detecting unit 302 includes: an information storage module 501, an information extraction module 502, and a detection determination module 503.
  • the information storage module 501 is configured to store traversal information of the message that is cyclically detected.
  • the information extraction module 502 is configured to extract traversal information of the message that can be nested to trigger the service from the information storage module 501, query trigger information of the message from the stored user service data, and extract the traversed information and the query.
  • the trigger information is provided to the detection judging module 503.
  • the detection determining module 503 is configured to match the trigger information of the message that can be nested to trigger the service with the traversal information. When there is matching traversal information, it is determined that the detection fails, otherwise, the detection is determined, and the detection result is fed back to the service. Trigger unit 301.
  • the service triggering unit 301 further provides the traversal information of the message to the information storage module 501 when the detection result is passed.
  • the message sending apparatus may be set in the short message service data center DCS, or may be set in the multimedia service data center or the like.
  • the specific operational procedures of the various functional units in the apparatus shown in Figure 3 may be consistent with the steps described in the above methods.
  • the method and apparatus for message transmission in the embodiments of the present invention are described in detail above. Below The short message service is taken as an example, and assuming that there is a case of a forward paging call back in the short message service, the method and device for transmitting the message in the embodiment of the present invention are described in detail in conjunction with a specific application embodiment.
  • FIG. 6 is a flowchart of a short message transmission service according to Embodiment 1 of the present invention. As shown in Figure 6, the process includes the following steps:
  • Step 601 User A submits the short message sent to User B to its belonging SMSC A.
  • Step 602 SMSC A sends a response message to User A.
  • Step 603 SMSC A queries whether User A and User B have subscribed to the SMS value-added service.
  • the original submitted message is forwarded to the DCS for processing.
  • H ⁇ queries the user to subscribe to value-added services.
  • SMSC A forwards the original submission message to DCS A.
  • the DCS A returns a response to the SMSC A, informing the SMSC A that the message is processed by the DCS A.
  • Step 606 The DCS A finds that the user B is a non-local home user, and sends a service query request message to the user B home DCS, that is, DCS B.
  • the ForwardTrace field is carried in the service query request message, and the field is filled with: the calling number and the called number, such as [A-B].
  • Step 607 DCS B queries that user B subscribes to the call forwarding service, and the call forwarding number of the call forwarding service is C.
  • the DCS B matches the content of the ForwardTrace field and the call forwarding number C that is queried this time. If the same number is not found, step 608 is performed.
  • Step 608 DCS B returns a service query response message to DCS A.
  • the ForwardTrace field is carried in the service query response message, and the call forwarding number C is continuously filled in the field, that is, the field content may be [A-B-C].
  • Step 609 DCS A finds that user C is a non-local home user, and sends a service query request message to user C to belong to DCS, that is, DCS C.
  • the DCS A carries the ForwardTrace field in the service query request, and the field is filled with the calling number, the called number, and the call forwarding number C, that is, the field content may be [A-B-C].
  • Step 610 DCS C queries to user C to subscribe to the call forwarding service, and the call forwarding number is set to B.
  • the DCS C matches the content of the ForwardTrace field and the call forwarding number B that is queried this time. If the same number B is found, it is determined that the detection fails, the call forwarding process is stopped, and step 611 can be performed. In step 611, the DCS C submits the short message to the SMSC C. In step 612, SMSC C returns a commit response to DCS C.
  • step 613 the SMSC C sends the short message to the user C.
  • Step 614 User C returns a correct reception response to SMSC C.
  • FIG. 7 is a flowchart of a short message transmission service according to Embodiment 2 of the present invention. As shown in Figure 7, the process includes the following steps:
  • Step 701 User A submits the short message sent to User B to its belonging SMSC A.
  • Step 702 SMSC A sends a reply message to User A.
  • Step 703 SMSC A queries whether User A and User B have subscribed to the SMS value-added service.
  • the original submitted message is forwarded to the DCS for processing.
  • H ⁇ queries the user to subscribe to value-added services.
  • SMSC A forwards the original submission message to DCS A.
  • Step 705 DCS A returns a response to SMSC A, notifying SMSC A that the message is processed by DCS A.
  • Step 706 The DCS A finds that the user B is a non-local home user, and sends a service pre-transmission message to the user B to the DCS, and the service message is forwarded to the DCS B.
  • the ForwardTrace field is carried in the service pre-transmission message, and the field is filled with: the calling number and the called number, such as [AB].
  • Step 707 DCS B returns a forward response message to DCS A.
  • Step 708 DCS B queries that user B subscribes to the call forwarding service, and the call forwarding number of the call forwarding service is C.
  • the DCS B matches the content of the ForwardTrace field and the call forwarding number C that is queried this time. If the same number is not found, step 709 is performed.
  • step 709 the DCS B finds that the user C is a non-local home user, and sends a service pre-transmission message to the user C to the DCS, and the service message is forwarded to the DCS C.
  • the DCS B carries the ForwardTrace field in the service pre-transmission message, and the field is filled with the calling number, the called number, and the call forwarding number C, that is, the field content may be [A-B-C].
  • step 710 the DCS C returns a response message to the DCS B.
  • Step 711 The DCS C queries the user C to subscribe to the call forwarding service, and the call forwarding number of the call forwarding service is B.
  • the DCS C matches the content of the ForwardTrace field and the call forwarding number B that is queried this time. If the same number B is found, it is determined that the detection fails, and the call forwarding process is stopped, and then step 712 can be performed. Step 712, DCS C submits the short message to SMSC C.
  • SMSC C returns a response to DCS C.
  • step 714 the SMSC C sends the short message to the user C.
  • step 715 user C returns a correct reception response to SMSC C.
  • Application Example 3
  • FIG. 8 is a flowchart of a short message transmission service according to Embodiment 3 of the present invention. As shown in Figure 8, the process includes the following steps:
  • step 801 user A submits the short message sent to user B to his home SMSC A.
  • step 802 SMSC A sends a reply message to User A.
  • Step 803 SMSC A queries whether User A and User B have subscribed to the SMS value-added service.
  • H ⁇ queries that user A only subscribes to the call forwarding service, and user B is the external network user, and step 804 is performed.
  • Step 804 The SMSC A delivers the original message to the Interworking Gateway (SMGW) to process the value-added service subscribed by the user.
  • SMGW Interworking Gateway
  • the interworking gateway is a bridge for short messages to be exchanged between different operators or different networks.
  • the message is forwarded by the interworking gateway, and the difference between the network type and the protocol type can be masked.
  • Step 805 The interworking gateway returns a response to the SMSC A.
  • Step 806 The interworking gateway submits the message to the called home SMSC, that is, SMSC B.
  • Step 807 SMSC B returns a response to the interworking gateway.
  • SMSC B queries that User B has subscribed to the value-added service.
  • SMSC B forwards the original submission message to DCS B for processing.
  • Step 810 DCS B returns a response notification to SMSC B, notifying SMSC B that the message is received by DCS
  • Step 811 DCS B finds that user B subscribes to the call forwarding service, and the caller is eight.
  • Step 812 DCS B submits a service message to SMSC B, and the called user fills in as caller user A.
  • the DCS B carries the ForwardTrace field in the service submission message, and the field is filled with the calling number, the called number, and the call forwarding number A, that is, the field content may be [A-B-A].
  • SMSC B returns a response to DCS B.
  • step 814 the SMSC B queries the user A as the external network user, and the SMSC B sends the message of the replacement destination number to the interworking gateway for processing.
  • the SMSC B carries a ForwardTrace field filled with the calling number, the called number, and the call forwarding number, where the field content is [A-B-A].
  • Step 815 the interworking gateway returns a response to the SMSC B.
  • Step 816 The interworking gateway submits the message to the SMSC A to which the user A belongs.
  • the service submission message carries a ForwardTrace field filled with the calling number, the called number, and the call forwarding number.
  • SMSC A returns a response to the interworking gateway.
  • SMSC A queries User A to subscribe to the value-added service.
  • SMSC A forwards the message to DCS A for processing.
  • the message carries a caller number, a called number, and a call forwarding number. ForwardTrace field.
  • Step 820 DCS A returns a response notification to SMSC A, notifying SMSC A that the message is sent by DCS
  • Step 821 DCS A finds that user A subscribes to the call forwarding service, and the caller is B.
  • the DCS A matches the content of the ForwardTrace field and the call forwarding number B that is queried this time. If the same number B is found, it is determined that the detection fails, the call forwarding process is stopped, and step 822 can be performed.
  • Step 822 DCS A submits the short message to SMSC A.
  • SMSC A returns a response to DCS A.
  • step 824 the SMSC A sends the short message to the user A.
  • Step 825 User A returns a correct reception response to SMSC C.
  • the traversal information is used as the traversal number as an example.
  • the traversal information is the number of triggers
  • the operation of carrying the ForwardTrace field is changed to carry the number of triggers.
  • the field can be, for example, the ForwardTimes field can be set to fill the number of triggers, as shown in Table 2:
  • the operation of filling the new traversal number is modified to update the number of triggers in the ForwardTimes field, and the operation of matching the current trigger number with the traversal number is modified to use the preset trigger threshold.
  • the ForwardTimes field and the ForwardTimes field may be carried at the same time, and when the matching is performed, a double judgment is required, and if any one of the two has matching traversal information, the check is determined. The test failed.
  • the situation regarding setting the message information storage area in the service data center is similar to the above case, and is not repeated here.
  • the internal structure of the DCS in each of the above-described application embodiments may be identical to the internal structure of the device described in FIGS. 3 to 5.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)
  • Digital Computer Display Output (AREA)

Description

一种消息传送的方法及装置 本申请要求于 2007年 7月 19日提交中国专利局、申请号为 200710137777.2、 发明名称为 "一种消息传送的方法及装置" 的中国专利申请的优先权, 其全部 内容通过引用结合在本申请中。 技术领域
本发明涉及通信技术, 尤其涉及一种消息传送的方法及装置。 背景技术
随着移动通信技术的迅猛发展, 作为一种成熟可靠的无线数据业务, 短消 息及多媒体消息等得到了越来越广泛的应用。 与此同时, 消息业务的服务种类也越来越多, 如多种多样的消息增值业务。 以其中的消息呼转业务和消息抄送业务为例, 消息呼转业务指的是类似于 "呼 叫转移" 的消息前传业务, 如: 用户自己不接收消息而将所有发给自己的消息 都发送到一个指定的号码; 或者自己不接收某些特定号码发送过来的消息, 而 将这些消息发送给一个指定的号码, 同时不影响用户接收其它号码发送过来的 消息等。 消息抄送业务指的是类似于 "消息抄送" 的消息业务, 如: 别人发给 用户的消息不但用户自己可以收到, 同时也可以发送到用户设定的另外一个号 码等。 但上述两类业务是可以分别嵌套触发的 (称为可嵌套触发业务), 因此^艮容 易造成闭环循环, 随着可嵌套触发业务的消息越来越广泛的应用, 消息循环传 送的问题也随之突现出来。 例如: 用户 Α发消息给用户 Β, 用户 B设置了消息 呼转到用户 C,用户 C又设置了消息呼转回 B。这样当 A给 B发送一条消息后, 消息就会在 B和 C间不停地循环呼转; 或者, 若用户 B设置了消息抄送到用户 C, 用户 C又设置了消息抄送回 B , 则当 A给 B发送一条消息后, 消息就会在 B和 C间不停地循环抄送; 又或者, 若用户 B设置了消息呼转到用户 C, 用户 C又设置了消息抄送回 B, 则当 A给 B发送一条消息后, 消息就会在 B和 C间 不停地循环呼转和抄送。
以短消息业务为例, 图 1 示出了主叫归属网络中短消息呼转业务的一个流 程图。 其中, 短消息服务中心( Short Message Service Centre , SMSC )为短消息 的调度中心, 完成短消息的基本收发特性, 并保存用户注册业务标识。 短信业 务数据中心( DCS , Data Center for Short Message Service )保存用户终端的增值 业务详细注册业务数据, 提供面向用户终端的短信增值业务, 即负责增值业务 的触发。 如图 1所示, 该流程包括如下步骤: 步骤 101 , 用户 A将发送给用户 B的短消息提交到其归属的 SMSC。
步骤 102, SMSC向用户 A回送应答消息。 步骤 103, SMSC查询用户 A和用户 B是否定购了短信增值业务。 其中, 如果订购了增值业务, 则将原始提交消息转发给 DCS处理。 本示例 中, 假设查询到用户 (用户 A和 /或用户 B )订购了增值业务。 步骤 104, SMSC将原始提交消息转发给 DCS A。 步骤 105, DCS A返回应答, 通知 SMSC该条消息由 DCS A来进行业务处 理。
步骤 106, DCS A发现用户 B为非本地归属用户, 则发送业务查询请求消 息给用户 B归属 DCS, 即 DCS B。
步骤 107, DCS B查询到用户 B订购了呼转业务, 并且呼转业务的呼转号 码为 c。 步骤 108, DCS B向 DCS A返回业务查询响应消息。 步骤 109, DCS A发现用户 C为非本地归属用户, 则发送业务查询请求消 息给用户 C归属 DCS, 即 DCS C。 步骤 110, DCS C查询到用户 C订购了呼转业务, 并且呼转号码设置为 B。 步骤 111 , DCS C向 DCS A返回业务查询响应消息。 之后, DCS A返回执行步骤 106, 再次发送业务查询请求消息给 DCS B, 如此循环执行步骤 106至步骤 111。 可见, 当发生上述消息的循环传送时, 不仅大大浪费网络资源, 而且由于 重复循环触发, 用户的费用也会随之重复扣除, 给用户带来不必要的损失。
发明内容
本发明实施例所要解决的技术问题在于, 提供一种消息传送的方法以及一 种消息传送的装置, 以防止消息循环传送。 本发明实施例中提供的消息传送的方法, 包括: 对接收到的可嵌套触发业务的消息进行循环性检测, 在检测不通过时, 停 止对该消息的业务触发。
本发明实施例中提供的消息传送的装置, 包括: 业务触发单元, 用于接收可嵌套触发业务的消息, 将所述接收的消息的信 息提供给循环性检测单元; 接收来自循环性检测单元的检测结果, 在检测结果 为检测不通过时, 停止对该消息的业务触发; 循环性检测单元, 用于根据来自业务触发单元的消息的信息, 对所述可嵌 套触发业务的消息进行循环性检测, 将检测结果反馈给业务触发单元。
从上述方案可以看出, 本发明实施例中对接收到的可嵌套触发业务的消息 进行循环性检测, 在检测不通过时, 停止对该消息的业务触发, 从而避免消息 的循环传送, 节约了网络资源。 附图说明
图 1为现有技术中主叫归属网络中短消息呼转业务的流程图; 图 2为本发明实施例中消息传送方法的示例性流程图; 图 3为本发明实施例中消息传送装置的示例性结构图; 图 4为图 3所示装置中循环性检测单元的一种内部结构图; 图 5为图 3所示装置中循环性检测单元的又一种内部结构图; 图 6为本发明应用实施例一中消息传送业务的流程图; 图 7为本发明应用实施例二中消息传送业务的流程图; 图 8为本发明应用实施例三中消息传送业务的流程图。 具体实施方式
本发明实施例中, 对接收到的可嵌套触发业务的消息 (短消息或多媒体消 息)进行循环性检测, 在检测不通过时, 停止对该消息的业务触发, 并可将该 消息下发给当前用户终端, 或者将该消息删除。 其中, 当前用户终端指的是当 前业务触发的对象。 例如, 用户 A发消息给用户 B , 用户 B设置了消息呼转到 用户 C, 用户 C又设置了消息呼转回用户 B , 当负责用户 B业务触发的消息业 务数据中心 (如短消息业务中的 DCS B )将消息呼转到负责用户 C业务触发的 消息业务数据中心 (如短消息业务中的 DCS C ) 时, 进行循环性检测而未通过 该检测, 则该消息不再由负责用户 C业务触发的消息业务数据中心呼转回负责 用户 B业务触发的消息业务数据中心, 而可以直接将该消息下发给用户 C, 此 时, 用户 C即为当前用户终端。 具体实现时, 循环性检测方法可有多种, 例如: 可根据可嵌套触发业务的 消息及用户信息, 判断该消息的可嵌套触发业务是否存在回传, 如果是, 则检 测不通过。 其中, 用户信息可以是网内的用户信息, 也可以是不同运营商网间 共享的用户信息等。 又如: 可在检测通过时, 将可嵌套触发业务的消息的遍历 信息进行记录。 则循环性检测可以是: 将接收到的可嵌套触发业务的消息的触 发信息与已记录的遍历信息进行匹配, 当存在匹配的遍历信息时, 确定检测不 通过。 其中, 遍历信息可以是: 遍历号码和 /或触发次数等, 相应地触发信息可以 是: 当前触发号码和 /或触发次数门限等, 则存在匹配的遍历信息相对应的可以 是: 遍历号码中存在与当前触发号码相同的号码和 /或触发次数达到触发次数门 限等。
具体实现时, 可以在可嵌套触发业务的消息中携带上述遍历信息, 也可以 将遍历信息固定存储在消息业务数据中心中。 为使本发明的目的、 技术方案和优点更加清楚明白, 下面结合实施例和附 图, 对本发明进一步详细说明。
图 2为本发明实施例中消息传送方法的示例性流程图。 如图 2所示, 该流 程包括如下步骤: 步骤 201 , 接收当前提交的可嵌套触发业务的消息。 本步骤中, 具体实现时, 可以是短信业务数据中心, 或者是多媒体业务数 据中心接收当前提交的可嵌套触发业务的消息。 步骤 202,将所接收的可嵌套触发业务的消息的触发信息与已记录的遍历信 息进行匹配, 判断是否存在匹配的遍历信息, 如果存在, 则确定检测不通过, 执行步骤 203; 否则, 可确定检测通过, 执行步骤 204。 为了对遍历信息进行记录, 本实施例中至少可采用如下两种方式: 方式一: 可预先设置消息遍历字段, 用于存储可嵌套触发业务的消息的遍 历信息, 当触发可嵌套触发业务的消息时, 携带对应于该可嵌套触发业务的消 息遍历字段。
相应地, 已记录的遍历信息为填充到消息遍历字段中的遍历信息。 例如: 对于主叫归属网络来说, 当主叫用户归属地(如主叫用户归属的业 务数据中心) 向被叫用户或业务触发用户的归属地(如被叫用户或业务触发用 户归属的业务数据中心)发送业务查询请求消息时, 可在业务查询请求消息中 携带上述消息遍历字段, 并且相应地, 消息遍历字段中填充有主、 被叫号码或 主、 被叫及第一业务触发号码。 当被叫用户或业务触发用户的归属地向主叫用 户归属地返回业务查询响应消息时, 可在业务查询响应消息中携带上述消息遍 历字段, 并且相应地, 消息遍历字段中填充有主、 被叫及第一业务触发号码或 主、 被叫、 第一业务触发及第二业务触发号码。 可见, 消息遍历字段可携带在 业务查询消息中。
又如: 对于被叫归属网络来说, 当主叫用户归属地(如主叫用户归属的业 务数据中心) 向被叫用户归属地(如被叫用户归属的业务数据中心)发送业务 前传消息时, 可在业务前传消息中携带上述消息遍历字段, 并且相应地, 消息 遍历字段中填充有主、 被叫号码。 当被叫归属地向业务触发用户归属地发送业 务前传消息时, 可在业务前传消息中携带上述消息遍历字段, 并且相应地, 消 息遍历字段中填充有主、 被叫及业务触发号码。 可见, 消息遍历字段可携带在 业务前传消息中。
再如: 对于不同网络或不同运营商来说, 当不同网络或不同运营商之间的 互通网关向消息服务中心发送业务提交消息时, 消息服务中心向业务数据中心 发送业务前传消息时, 可在消息中携带上述消息遍历字段, 并且相应地, 消息 遍历字段中填充有主、 被叫及业务触发号码。 方式二: 可预先在触发可嵌套触发业务的消息的业务数据中心设置消息信 息存储区, 用于存储可嵌套触发业务的消息的遍历信息, 当发送可嵌套触发业 务的消息时, 将对应于该可嵌套触发业务的消息的遍历信息存储在所设置的存 储区中。 相应地, 已记录的遍历信息为填充到消息信息存储区中的遍历信息。 其中, 遍历信息可以是可嵌套触发业务的消息的遍历号码, 以呼转业务为 例, 遍历信息可包括主叫号码、 被叫号码及所遍历过的呼转号码; 和 /或, 遍历 信息也可以是触发次数, 以呼转业务为例, 遍历信息可包括当前的呼转次数。 本步骤中, 进行循环检测时, 对于方式一, 可从所接收的消息中获取可嵌 套触发业务的消息的遍历信息, 对于方式二, 可从业务数据中心的消息信息存 储区中获取可嵌套触发业务的消息的遍历信息。 将接收到的可嵌套触发业务的消息的触发信息与已记录的遍历信息进行匹 配时, 若遍历信息中包括遍历号码, 则触发信息应包括当前触发号码, 相应的, 可匹配遍历号码中是否有与当前触发号码相同的号码, 如果有, 则确定检测不 通过, 否则, 可确定检测通过; 若遍历信息中包括触发次数, 则触发信息应包 括触发次数门限, 相应地, 可匹配触发次数是否达到触发次数门限, 如果达到, 则确定检测不通过, 否则, 可确定检测通过。 若遍历信息中同时包括遍历号码 和触发次数, 则触发信息可包括当前触发号码和触发次数门限, 当遍历号码中 存在与当前触发号码相同的号码和 /或触发次数达到触发次数门限时, 确定检测 不通过, 否则, 可确定检测通过。 其中, 若遍历信息中同时包括遍历号码和触 发次数, 则触发信息也可只包括当前触发号码和触发次数门限二者之一, 则当 遍历号码中存在与当前触发号码相同的号码或触发次数达到触发次数门限时, 确定检测不通过, 否则, 可确定检测通过。 步骤 203 , 停止对当前提交的可嵌套触发业务的消息的业务触发, 并结束本 流程。
本步骤中, 停止对当前提交的可嵌套触发业务的消息的业务触发, 如对于 进行呼转业务的消息, 则停止对该消息的呼转操作。 同时, 可进一步包括: 删 除该当前提交的可嵌套触发业务的消息, 或者不对该消息进行任何处理, 或者, 将该消息下发给当前用户终端。 并且进一步地, 可删除与该消息对应的遍历信 息。
步骤 204, 将当前提交的可嵌套触发业务的消息的遍历信息进行存储, 并继 续当前消息的业务触发。
本步骤中, 对于步骤 202 中描述的方式一, 则将当前提交的可嵌套触发业 务的消息的遍历信息存储在消息遍历字段中, 并继续当前消息的业务触发, 同 时携带该消息遍历字段进行发送; 对于步骤 202 中描述的方式二, 则将当前提 交的可嵌套触发业务的消息存储在消息信息存储区中, 并继续当前消息的业务 触发。 其中, 若遍历信息中包括遍历号码, 则在消息遍历字段或消息信息存储区 中存储遍历信息时, 若消息遍历字段或消息信息存储区为空, 则需要添加主叫 号码、 被叫号码及当前触发号码, 若不为空, 即已存储有主叫号码、 被叫号码 及遍历过的触发号码, 则只需追加当前触发号码即可。 若遍历信息中包括触发次数, 则在消息遍历字段或消息信息存储区中存储 触发次数时, 只需每次更新当前触发次数即可。
至此, 本流程结束。 以上对本发明实施例中消息传送的方法进行了详细描述, 下面再对本发明 实施例中消息传送的装置进行详细描述。 图 3为本发明实施例中消息传送装置的示例性结构图。 如图 3所示, 该装 置包括: 业务触发单元 301和循环性检测单元 302。
其中, 业务触发单元 301 用于接收可嵌套触发业务的消息, 将所接收的消 息的信息提供给循环性检测单元 302;接收来自循环性检测单元 302的检测结果, 在检测结果为检测不通过时, 停止对该消息的业务触发。
循环性检测单元 302用于根据来自业务触发单元 301的消息的信息, 对可 嵌套触发业务的消息进行循环性检测, 将检测结果反馈给业务触发单元 301。 具体实现时, 循环性检测单元 302可有多种具体实现形式, 下面列举其中 两种: 图 4为循环性检测单元 302的一种内部结构图。 如图 4所示, 循环性检测 单元 302包括: 信息提取模块 401和检测判断模块 402。
其中, 信息提取模块 401 用于从可嵌套触发业务的消息的信息中提取可嵌 套触发业务的消息的遍历信息, 从已存储的用户业务数据中查询所述消息的触 发信息, 将所提取的遍历信息及所查询的触发信息提供给检测判断模块 402。 检测判断模块 402 用于将可嵌套触发业务的消息的触发信息与遍历信息进 行匹配, 当存在匹配的遍历信息时, 确定检测不通过, 否则, 确定检测通过, 将检测结果反馈给业务触发单元 301。
业务触发单元 301 进一步在检测结果为通过时, 携带可嵌套触发业务的消 息的遍历信息进行业务触发。
图 5为循环性检测单元 302的又一种内部结构图。 如图 5所示, 循环性检 测单元 302包括: 信息存储模块 501、 信息提取模块 502和检测判断模块 503。 其中, 信息存储模块 501用于存储通过循环性检测的消息的遍历信息。 信息提取模块 502用于从信息存储模块 501 中提取可嵌套触发业务的消息 的遍历信息, 从已存储的用户业务数据中查询所述消息的触发信息, 将所提取 的遍历信息及所述查询的触发信息提供给检测判断模块 503。
检测判断模块 503 用于将可嵌套触发业务的消息的触发信息与所述遍历信 息进行匹配, 当存在匹配的遍历信息时, 确定检测不通过, 否则, 确定检测通 过, 将检测结果反馈给业务触发单元 301。
业务触发单元 301 进一步在检测结果为通过时, 将所述消息的遍历信息提 供给信息存储模块 501。 具体实现时, 上述消息传送装置可以设置在短信业务数据中心 DCS , 或者 也可以设置在多媒体业务数据中心等。 图 3所示装置中各功能单元的具体操作过程可以与上述方法中的描述的步 骤一致。 以上对本发明实施例中的消息传送的方法及装置进行了详细描述。 下面以 短消息业务为例, 并假设短消息业务中存在前传呼转回传的情况为例, 结合具 体应用实施例对本发明实施例中消息传送的方法及装置进行详细描述。
下述应用实施例中均以增加可携带发送的消息遍历字段的情况为例, 并假 设消息遍历字段记为 ForwardTrace字段, 如表一所示:
Figure imgf000013_0002
Figure imgf000013_0001
应用实施例一:
本应用实施例中,以主叫归属网络中存在呼转循环的情况为例, H殳用户 A 发送短消息给用户 B, 用户 B设置了呼转用户 C, 用户 C又设置了呼转回用户 B。 并且本应用实施例中只关注与呼转相关的操作, 而忽略短消息中心的其它操 作, 如鉴权、 扣费等。 图 6为本发明应用实施例一中短消息传送业务的流程图。 如图 6所示, 该 流程包括如下步骤:
步骤 601 , 用户 A将发送给用户 B的短消息提交到其归属的 SMSC A。 步骤 602, SMSC A向用户 A回送应答消息。
步骤 603, SMSC A查询用户 A和用户 B是否定购了短信增值业务。
其中, 如果订购了增值业务, 则将原始提交消息转发给 DCS处理。 本示例 中, H殳查询到用户订购了增值业务。
步骤 604, SMSC A将原始提交消息转发给 DCS A。 步骤 605, DCS A向 SMSC A返回应答, 通知 SMSC A该条消息由 DCS A 来进行业务处理。
步骤 606, DCS A发现用户 B为非本地归属用户, 则发送业务查询请求消 息给用户 B归属 DCS, 即 DCS B。
本步骤中, 在业务查询请求消息中携带 ForwardTrace字段, 且在字段中填 充: 主叫号码和被叫号码, 如可以为 [A-B]。
步骤 607, DCS B查询到用户 B订购了呼转业务, 并且呼转业务的呼转号 码为 C。
DCS B根据 ForwardTrace字段的内容和本次查询到的呼转号码 C进行匹配, 未发现相同的号码, 则执行步骤 608。
步骤 608, DCS B向 DCS A返回业务查询响应消息。
本步骤中, 在业务查询响应消息中携带 ForwardTrace字段, 且在字段中继 续填充呼转号码 C, 即字段内容可以为 [A-B-C]。
步骤 609, DCS A发现用户 C为非本地归属用户, 则发送业务查询请求消 息给用户 C归属 DCS, 即 DCS C。
本步骤中, DCS A在业务查询请求中携带 ForwardTrace字段, 且字段中填 充有主叫号码、 被叫号码和呼转号码 C, 即字段内容可以为 [A-B-C]。
步骤 610, DCS C查询到用户 C订购了呼转业务, 并且呼转号码设置为 B。
DCS C根据 ForwardTrace字段的内容和本次查询到的呼转号码 B进行匹配, 发现有相同的号码 B,则确定检测不通过,停止呼转流程,进而可执行步骤 611。 步骤 611 , DCS C将短消息提交给 SMSC C。 步骤 612, SMSC C向 DCS C返回提交响应。
步骤 613, SMSC C将短消息下发给用户 C。
步骤 614, 用户 C向 SMSC C返回正确接收应答。
应用实施例二:
本应用实施例中,以被叫归属网络中存在呼转循环的情况为例,假设用户 A 发送短消息给用户 B, 用户 B设置了呼转用户 C, 用户 C又设置了呼转回用户 B。 并且本应用实施例中只关注与呼转相关的操作, 而忽略短消息中心的其它操 作, 如鉴权、 扣费等。 图 7为本发明应用实施例二中短消息传送业务的流程图。 如图 7所示, 该 流程包括如下步骤:
步骤 701 , 用户 A将发送给用户 B的短消息提交到其归属的 SMSC A。 步骤 702, SMSC A向用户 A回送应答消息。
步骤 703, SMSC A查询用户 A和用户 B是否定购了短信增值业务。
其中, 如果订购了增值业务, 则将原始提交消息转发给 DCS处理。 本示例 中, H殳查询到用户订购了增值业务。
步骤 704, SMSC A将原始提交消息转发给 DCS A。
步骤 705, DCS A向 SMSC A返回应答, 通知 SMSC A该条消息由 DCS A 来进行业务处理。
步骤 706, DCS A发现用户 B为非本地归属用户, 则发送业务前传消息给 用户 B归属 DCS, 即将业务消息前传给 DCS B。 本步骤中, 在业务前传消息中携带 ForwardTrace字段, 且在字段中填充: 主叫号码和被叫号码, 如可以为 [A-B]。
步骤 707, DCS B向 DCS A返回前传响应消息。
步骤 708, DCS B查询到用户 B订购了呼转业务, 并且呼转业务的呼转号 码为 C。
DCS B根据 ForwardTrace字段的内容和本次查询到的呼转号码 C进行匹配, 未发现相同的号码, 则执行步骤 709。
步骤 709, DCS B发现用户 C为非本地归属用户, 则发送业务前传消息给 用户 C归属 DCS, 即将业务消息前传给 DCS C。 本步骤中, DCS B在业务前传消息中携带 ForwardTrace字段, 且字段中填 充有主叫号码、 被叫号码和呼转号码 C, 即字段内容可以为 [A-B-C]。
步骤 710, DCS C向 DCS B返回响应消息。
步骤 711 , DCS C查询到用户 C订购了呼转业务, 并且呼转业务的呼转号 码为 B。
DCS C根据 ForwardTrace字段的内容和本次查询到的呼转号码 B进行匹配, 发现有相同的号码 B,则确定检测不通过,停止呼转流程,进而可执行步骤 712。 步骤 712, DCS C将短消息提交给 SMSC C。
步骤 713, SMSC C向 DCS C返回提交响应。
步骤 714, SMSC C将短消息下发给用户 C。
步骤 715, 用户 C向 SMSC C返回正确接收应答。 应用实施例三:
本应用实施例中, 以不同网络或不同运营商之间存在呼转循环的情况为例, 假设用户 A发送短消息给用户 B, 用户 B设置了呼转用户 A, 用户 A又设置了 呼转回用户 B。并且本应用实施例中只关注与呼转相关的操作, 而忽略短消息中 心的其它操作, 如鉴权、 扣费等。
图 8为本发明应用实施例三中短消息传送业务的流程图。 如图 8所示, 该 流程包括如下步骤:
步骤 801 , 用户 A将发送给用户 B的短消息提交到其归属的 SMSC A。 步骤 802, SMSC A向用户 A回送应答消息。
步骤 803, SMSC A查询用户 A和用户 B是否定购了短信增值业务。
本示例中, H殳查询到用户 A只订购了呼转业务, 用户 B为外网用户, 则 执行步骤 804。
步骤 804, SMSC A将原始消息下发给互通网关(SMGW )处理用户订购的 增值业务。
其中, 互通网关为短消息在不同运营商或不同网络之间互通的桥梁, 起到 消息转发的作用, 消息通过互通网关进行转发, 可屏蔽掉网络类型和协议类型 的差异。
步骤 805, 互通网关向 SMSC A返回应答。
步骤 806, 互通网关将消息提交给被叫归属 SMSC, 即 SMSC B。
步骤 807, SMSC B向互通网关返回应答。
步骤 808, SMSC B查询到用户 B订购了增值业务。 步骤 809, SMSC B将原始提交消息转发给 DCS B处理。
步骤 810, DCS B向 SMSC B返回应答通知,通知 SMSC B该条消息由 DCS
B来进行业务处理。
步骤 811 , DCS B查找到用户 B订制了呼转业务, 呼转方为八。
步骤 812, DCS B提交业务消息给 SMSC B, 被叫用户填写为呼转用户 A。 本步骤中, DCS B在业务提交消息中携带 ForwardTrace字段, 且字段中填 充有主叫号码、 被叫号码和呼转号码 A, 即字段内容可以为 [A-B-A]。
步骤 813, SMSC B向 DCS B返回应答。
步骤 814, SMSC B查询到用户 A为外网用户,则 SMSC B将替换目的号码 的消息下发给互通网关处理。
本步骤中, SMSC B 携带填充有主叫号码、 被叫号码和呼转号码的 ForwardTrace字段进行发送, 其中字段内容为 [ A-B- A]。
步骤 815, 互通网关向 SMSC B返回应答。 步骤 816, 互通网关将消息提交给用户 A归属的 SMSC A。
本步骤中, 业务提交消息中携带有填充有主叫号码、 被叫号码和呼转号码 的 ForwardTrace字段。
步骤 817, SMSC A向互通网关返回应答。
步骤 818, SMSC A查询用户 A订购了增值业务。 步骤 819, SMSC A将该消息转发给 DCS A处理。 本步骤中, 消息中携带有填充有主叫号码、 被叫号码和呼转号码的 ForwardTrace字段。
步骤 820, DCS A向 SMSC A返回应答通知,通知 SMSC A该条消息由 DCS
A来进行业务处理。
步骤 821 , DCS A查找到用户 A订制了呼转业务, 呼转方为 B。
DCS A根据 ForwardTrace字段的内容和本次查询到的呼转号码 B进行匹配, 发现有相同的号码 B,则确定检测不通过,停止呼转流程,进而可执行步骤 822。
步骤 822, DCS A将短消息提交给 SMSC A。
步骤 823, SMSC A向 DCS A返回提交响应。
步骤 824, SMSC A将短消息下发给用户 A。
步骤 825, 用户 A向 SMSC C返回正确接收应答。
上述三个应用实施例中均以遍历信息为遍历号码的情况为例进行了描述, 实际应用中, 当遍历信息为触发次数时, 情况类似, 只需将携带 ForwardTrace 字段的操作改为携带触发次数的字段即可, 例如, 可设置 ForwardTimes字段来 填充触发次数, 如表二所示:
Figure imgf000019_0002
Figure imgf000019_0001
则每次填充新的遍历号码的操作相应的修改为更新 ForwardTimes字段中的 触发次数即可, 而利用当前触发号码与遍历号码进行匹配的操作相应的修改为 利用预设的触发次数门限。
此夕卜, 还可同时携带 ForwardTimes字段和 ForwardTimes字段, 则进行匹配 时, 需要进行双重判断, 只要二者中任何一个存在匹配的遍历信息, 则确定检 测不通过。 最后, 关于在业务数据中心设置消息信息存储区的情况与上述情况类似, 此处不再——赘述。 上述各应用实施例中的 DCS的内部结构可与图 3至图 5中描述的装置的内 部结构一致。 通过以上的实施方式的描述, 本领域的技术人员可以清楚地了解到本发明 可借助软件加必需的硬件平台的方式来实现, 当然也可以全部通过硬件来实施。 基于这样的理解, 本发明的技术方案对背景技术做出贡献的全部或者部分可以 以软件产品的形式体现出来, 该计算机软件产品可以存储在存储介质中, 如 ROM/RAM, 磁碟、 光盘等, 包括若干指令用以使得一台计算机设备(可以是个 人计算机, 服务器, 或者网络设备等)执行本发明各个实施例或者实施例的某 些部分所述的方法。
以上所述的具体实施例, 对本发明的目的、 技术方案和有益效果进行了进 一步详细说明, 所应理解的是, 以上所述仅为本发明的较佳实施例而已, 并非 用于限定本发明的保护范围, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求
1、 一种消息传送的方法, 其特征在于, 该方法包括:
对接收到的可嵌套触发业务的消息进行循环性检测, 在检测不通过时, 停 止对该消息的业务触发。
2、 如权利要求 1所述的方法, 其特征在于, 还包括: 在检测通过时, 记录 所述可嵌套触发业务的消息的遍历信息;
所述进行循环性检测具体包括: 将接收到的可嵌套触发业务的消息的触发 信息与所述已记录的遍历信息进行匹配, 当存在匹配的遍历信息时, 确定检测 不通过。
3、 如权利要求 2所述的方法, 其特征在于, 还包括: 设置可携带发送的消 息遍历字段;
所述记录可嵌套触发业务的消息的遍历信息为: 在所述消息遍历字段中填 充所述可嵌套触发业务的消息的遍历信息;
所述已记录的遍历信息为: 从携带所述消息遍历字段的消息中获取所述消 息遍历字段, 从所述消息遍历字段中获取所述已填充的遍历信息。
4、 如权利要求 3所述的方法, 其特征在于, 所述携带消息遍历字段的消息 为: 业务查询消息、 业务前传消息或业务提交消息。
5、 如权利要求 2所述的方法, 其特征在于, 还包括: 在触发所述可嵌套触 发业务的消息的业务数据中心设置消息信息存储区;
所述记录可嵌套触发业务的消息的遍历信息为: 在所述消息信息存储区中 存储所述可嵌套触发业务的消息的遍历信息;
所述已记录的遍历信息为: 从所述消息信息存储区中获取所述已存储的遍 历信息。
6、如权利要求 2至 5中任一项所述的方法, 其特征在于, 所述遍历信息为: 遍历号码, 所述触发信息为: 当前触发号码, 所述存在匹配的遍历信息为: 所 述遍历号码中存在与所述当前触发号码相同的号码;
和 /或, 所述遍历信息为: 触发次数, 所述触发信息为: 触发次数门限, 所 述存在匹配的遍历信息为: 所述触发次数达到所述触发次数门限。
7、 如权利要求 1至 5中任一项所述的方法, 其特征在于, 还包括: 在检测 不通过时, 将所述消息下发给当前用户终端, 或者将所述消息删除。
8、 如权利要求 7所述的方法, 其特征在于, 还包括: 在检测不通过时, 将 所述消息的遍历信息删除。
9、 如权利要求 1至 5任一项所述的方法, 其特征在于, 所述可嵌套触发业 务为消息呼转业务或消息抄送业务。
10、 一种消息传送的装置, 其特征在于, 该装置包括业务触发单元、 循环 性检测单元, 其中:
所述业务触发单元, 用于接收可嵌套触发业务的消息, 将所述接收的消息 的信息提供给所述循环性检测单元; 接收来自所述循环性检测单元对所述可嵌 套触发业务的消息进行循环性检测的检测结果, 在检测结果为检测不通过时, 停止对该消息的业务触发;
所述循环性检测单元, 用于根据来自所述业务触发单元的消息的信息, 对 所述可嵌套触发业务的消息进行循环性检测, 将检测结果反馈给业务触发单元。
11、 如权利要求 10所述的装置, 其特征在于, 所述循环性检测单元包括信 息提取模块、 检测判断模块, 其中:
所述信息提取模块, 用于从所述消息的信息中提取所述消息的遍历信息, 从已存储的用户业务数据中查询所述消息的触发信息, 将所述提取的遍历信息 及所述查询的触发信息提供给所述检测判断模块;
所述检测判断模块, 用于将所述可嵌套触发业务的消息的触发信息与所述 遍历信息进行匹配, 当存在匹配的遍历信息时, 确定检测不通过, 否则, 确定 检测通过, 将检测结果反馈给所述业务触发单元;
所述业务触发单元进一步在检测结果为通过时, 携带所述消息的遍历信息 进行业务触发。
12、 如权利要求 10所述的装置, 其特征在于, 所述循环性检测单元包括信 息存储模块、 信息提取模块、 检测判断模块, 其中:
所述信息存储模块, 用于存储通过循环性检测的消息的遍历信息; 所述信息提取模块, 用于从所述信息存储模块中提取所述可嵌套触发业务 的消息的遍历信息, 从已存储的用户业务数据中查询所述消息的触发信息, 将 所述提取的遍历信息及所述查询的触发信息提供给所述检测判断模块;
所述检测判断模块, 用于将所述可嵌套触发业务的消息的触发信息与所述 遍历信息进行匹配, 当存在匹配的遍历信息时, 确定检测不通过, 否则, 确定 检测通过, 将检测结果反馈给所述业务触发单元;
所述业务触发单元进一步在检测结果为通过时, 将所述消息的遍历信息提 供给信息存储模块。
13、 如权利要求 10至 12中任一项所述的装置, 其特征在于, 所述可嵌套 触发业务为消息呼转业务或消息抄送业务。
14、 如权利要求 10至 12中任一项所述的装置, 其特征在于, 所述装置设 置于短信业务数据中心, 或者设置于多媒体业务数据中心。
PCT/CN2008/071682 2007-07-19 2008-07-17 Procédé et dispositif de passage de message WO2009010015A1 (fr)

Priority Applications (4)

Application Number Priority Date Filing Date Title
AT08773212T ATE530045T1 (de) 2007-07-19 2008-07-17 Verfahren und vorrichtung zur nachrichtenübermittlung
BRPI0814429-0A2A BRPI0814429A2 (pt) 2007-07-19 2008-07-17 Método e dispositivo transferir uma mensagem
EP08773212A EP2154929B1 (en) 2007-07-19 2008-07-17 Method and device for message passing
US12/687,998 US20100115044A1 (en) 2007-07-19 2010-01-15 Method and device for transferring a message

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710137777.2 2007-07-19
CNA2007101377772A CN101350951A (zh) 2007-07-19 2007-07-19 一种消息传送的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/687,998 Continuation US20100115044A1 (en) 2007-07-19 2010-01-15 Method and device for transferring a message

Publications (1)

Publication Number Publication Date
WO2009010015A1 true WO2009010015A1 (fr) 2009-01-22

Family

ID=40259323

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/071682 WO2009010015A1 (fr) 2007-07-19 2008-07-17 Procédé et dispositif de passage de message

Country Status (6)

Country Link
US (1) US20100115044A1 (zh)
EP (1) EP2154929B1 (zh)
CN (1) CN101350951A (zh)
AT (1) ATE530045T1 (zh)
BR (1) BRPI0814429A2 (zh)
WO (1) WO2009010015A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012100820A1 (en) * 2011-01-26 2012-08-02 Nokia Siemens Networks Oy Short message service application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1385989A (zh) * 2001-05-16 2002-12-18 华为技术有限公司 一种控制短消息转发次数的方法
US20050036457A1 (en) 2003-08-14 2005-02-17 Nokia Corporation Messaging services offered in mobile communication systems
CN1917538A (zh) * 2006-08-01 2007-02-21 华为技术有限公司 一种多媒体消息发送方法
CN101001411A (zh) 2007-01-19 2007-07-18 华为技术有限公司 一种消息传送的方法、装置和消息中心

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1385989A (zh) * 2001-05-16 2002-12-18 华为技术有限公司 一种控制短消息转发次数的方法
US20050036457A1 (en) 2003-08-14 2005-02-17 Nokia Corporation Messaging services offered in mobile communication systems
CN1917538A (zh) * 2006-08-01 2007-02-21 华为技术有限公司 一种多媒体消息发送方法
CN101001411A (zh) 2007-01-19 2007-07-18 华为技术有限公司 一种消息传送的方法、装置和消息中心

Also Published As

Publication number Publication date
BRPI0814429A2 (pt) 2015-01-06
EP2154929B1 (en) 2011-10-19
EP2154929A4 (en) 2010-08-25
US20100115044A1 (en) 2010-05-06
ATE530045T1 (de) 2011-11-15
EP2154929A1 (en) 2010-02-17
CN101350951A (zh) 2009-01-21

Similar Documents

Publication Publication Date Title
KR101440962B1 (ko) 미디어 파일의 인텔리전트 캐싱
WO2006017979A1 (fr) Systeme de messages multimedia et procede de transmission de messages multimedia
WO2006029563A1 (fr) Procede de multidiffusion de messages courts
US20080095337A1 (en) Storage of data messages for later retrieval by the recipient
WO2008134944A1 (fr) Procede de rappel d'appel manque, systeme et dispositif de service mobile
TW201211815A (en) Method for legally unlocking a SIM card lock, unlocking server, and unlocking system
WO2008040248A1 (fr) Procédé et système de transmission de courrier électronique et serveur de courrier électronique poussé
JP2004537922A (ja) メッセージング・システム
JP2016517664A (ja) モバイルデバイスにマルチメディア情報を配信するためのシステム及び方法
WO2009082980A1 (fr) Procédé de facturation et système correspondant pour service de messages courts à valeur ajoutée, et centre de données pour service de messages courts
WO2012055134A1 (zh) 一种短信群发方法和系统
JP2008011572A (ja) 無線lan上でマルチメディアメッセージサービスを確立するための無線通信方法およびシステム
WO2010057395A1 (zh) 彩信群发回执的处理方法及其系统
KR100657825B1 (ko) 다중모드 단말을 이용한 대용량 데이터 전송 방법
US9467823B2 (en) Method and device for processing value-added service for short message service
JP5363342B2 (ja) セルラ電話のメッセージを濾波するシステム及び方法
WO2012062070A1 (zh) 反馈接收端状态的方法、系统和服务器
WO2009115033A1 (zh) 多媒体消息业务的实现方法、系统及相关设备
WO2011140904A1 (zh) 一种消息处理方法、装置和应用服务器
WO2012062051A1 (zh) 一种下发多媒体消息的方法和系统
WO2009010015A1 (fr) Procédé et dispositif de passage de message
WO2009103196A1 (zh) 多媒体消息存储地址发送系统及方法
WO2006081733A1 (fr) Méthode d’intégration de la retransmission de courts messages
WO2022089357A1 (zh) 中心主叫的短信服务化实现方法和系统
WO2011153772A1 (zh) 一种获取多个即时信息的方法和系统

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: 08773212

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 4533/KOLNP/2009

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: 2008773212

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: PI0814429

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20100119