CN103856917A - USSD (Unstructured Supplementary Service Data) service implementation method based on USSD AGW (Access Gateway) - Google Patents
USSD (Unstructured Supplementary Service Data) service implementation method based on USSD AGW (Access Gateway) Download PDFInfo
- Publication number
- CN103856917A CN103856917A CN201210495534.7A CN201210495534A CN103856917A CN 103856917 A CN103856917 A CN 103856917A CN 201210495534 A CN201210495534 A CN 201210495534A CN 103856917 A CN103856917 A CN 103856917A
- Authority
- CN
- China
- Prior art keywords
- ussd
- message
- network element
- session
- asp
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 99
- 230000011664 signaling Effects 0.000 claims abstract description 34
- 238000006243 chemical reaction Methods 0.000 claims abstract description 8
- 230000003993 interaction Effects 0.000 claims description 35
- 238000013507 mapping Methods 0.000 claims description 10
- 230000002159 abnormal effect Effects 0.000 claims description 7
- 238000011143 downstream manufacturing Methods 0.000 claims description 6
- 238000011144 upstream manufacturing Methods 0.000 claims description 5
- 238000002167 anodic stripping potentiometry Methods 0.000 abstract description 5
- 206010003664 atrial septal defect Diseases 0.000 abstract description 5
- 239000000344 soap Substances 0.000 abstract 2
- 230000006870 function Effects 0.000 description 10
- 238000007726 management method Methods 0.000 description 8
- 238000011161 development Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提供了一种USSD AGW、USSD网关以及基于USSD AGW的USSD业务的实现方法,其中,该USSD AGW包括:接口模块,用于为ASP网元提供基于网页服务的SOAP接口,以及完成USSD业务流程中与ASP网元交互的SOAP信令和与USSD GW交互的SMPP信令之间的转换;接入认证管理模块,用于对ASP网元提供认证,对上行消息进行接入码匹配和路由,以及对所述ASP网元的业务接入访问次数进行控制;以及会话控制管理模块,用于对所述ASP网元或终端发起的USSD的会话数据进行管理和控制。本发明对ASP提供了相对较为方便的网页服务的接入方式,降低了ASP的USSD业务接入的技术门槛。
The present invention provides a USSD AGW, a USSD gateway, and a method for realizing USSD services based on the USSD AGW, wherein the USSD AGW includes: an interface module for providing an ASP network element with a SOAP interface based on a web page service, and completing the USSD service Conversion between SOAP signaling interacting with ASP network elements and SMPP signaling interacting with USSD GW in the process; access authentication management module, used to provide authentication for ASP network elements, and perform access code matching and routing for uplink messages , and controlling the service access times of the ASP network element; and a session control management module, configured to manage and control the session data of the USSD initiated by the ASP network element or terminal. The present invention provides a relatively convenient web service access mode for ASPs, and reduces the technical threshold of ASP's USSD service access.
Description
技术领域technical field
本发明涉及通信行业的US SD(Unstructured Supplementary Service Data,非结构化补充数据业务)增值业务,尤其涉及一种USSD接入网关(AGW)、USSD网关(GW)系统以及基于USSD AGW的USSD业务的实现方法。The present invention relates to the USSD (Unstructured Supplementary Service Data, unstructured supplementary data service) value-added service in the communication industry, in particular to a USSD access gateway (AGW), a USSD gateway (GW) system, and a USSD service based on the USSD AGW Implementation.
背景技术Background technique
非结构化补充数据(Unstructured Supplementary Service Data,USSD)业务,是一种基于全球移动通信系统(GSM)网络的交互式数据业务。典型的应用场景是:使用手机键盘输入一些网络已预先制定的数字或者符号比如“*”、“#”等,再按拨号(send)键向网络侧的业务提供商(ASP)发送一条指令,ASP根据指令选择相关的服务内容返回给终端,终端收到ASP的服务内容后,可再次发送指令继续该后面的业务,依此类推,业务可持续数个回合。Unstructured Supplementary Service Data (USSD) service is an interactive data service based on the Global System for Mobile Communications (GSM) network. A typical application scenario is: use the mobile phone keyboard to input some numbers or symbols that have been pre-established by the network, such as "*", "#", etc., and then press the dial (send) key to send an instruction to the service provider (ASP) on the network side. The ASP selects the relevant service content according to the instruction and returns it to the terminal. After the terminal receives the service content of the ASP, it can send the instruction again to continue the subsequent business, and so on, and the business can last for several rounds.
目前业内比较成熟的USSD网关(GW),大都是向ASP提供基于点对点短消息(short message peer to peer,SMPP)协议的接口,对于目前发展较快的互联网ASP而言,该接口的接入门槛较高,业务流程较为复杂,不利于USSD业务的发展,因此目前急需一种能够提供较为简单接入接口USSD业务网关。At present, most mature USSD gateways (GW) in the industry provide ASPs with interfaces based on the short message peer to peer (SMPP) protocol. For Internet ASPs that are currently developing rapidly, the access threshold for this interface is It is relatively high, and the business process is relatively complicated, which is not conducive to the development of USSD business. Therefore, there is an urgent need for a USSD service gateway that can provide a relatively simple access interface.
发明内容Contents of the invention
本发明实施例提供了一种USSD AGW、USSD GW系统以及基于USSDAGW的USSD业务的实现方法,以克服现有的USSD网关对ASP提供的接口接入门槛较高的缺陷。The embodiment of the present invention provides a USSD AGW, a USSD GW system, and a method for implementing USSD services based on the USSD AGW, so as to overcome the defect that the existing USSD gateway has a relatively high access threshold for the interface provided by the ASP.
本发明实施例提供了一种非结构化补充数据(USSD)接入网关(AGW),该USSD AGW包括:The embodiment of the present invention provides an unstructured supplementary data (USSD) access gateway (AGW), and the USSD AGW includes:
接口模块,用于为应用和服务提供商(ASP)网元提供基于网页服务(WebService)的简单对象访问协议(SOAP)接口,以及完成USSD业务流程中与所述ASP网元交互的SOAP信令和与USSD网关(GW)交互的点对点短消息(SMPP)信令之间的转换;The interface module is used to provide an application and service provider (ASP) network element with a web service (WebService)-based Simple Object Access Protocol (SOAP) interface, and to complete the SOAP signaling for interaction with the ASP network element in the USSD service process Conversion between point-to-point short message (SMPP) signaling interacting with the USSD gateway (GW);
接入认证管理模块,用于对所述ASP网元提供认证,对上行消息进行接入码匹配和路由,以及对所述ASP网元的业务接入访问次数进行控制;以及An access authentication management module, configured to provide authentication for the ASP network element, perform access code matching and routing for uplink messages, and control the number of service access visits of the ASP network element; and
会话控制管理模块,用于对所述ASP网元或终端发起的USSD的会话数据进行管理和控制。The session control management module is used to manage and control the session data of the USSD initiated by the ASP network element or the terminal.
优选地,所述接口模块,具体用于和所述ASP网元进行所述ASP网元主动发起的USSD会话的下行流程接口消息、所述ASP网元主动结束的USSD会话的下行流程接口消息、所述终端主动发起的USSD会话的上行流程接口消息、所述USSD会话内所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口消息和所述USSD会话内通知所述ASP网元会话结束的上行流程会话内接口消息的交互。Preferably, the interface module is specifically configured to perform, with the ASP network element, a downlink process interface message of a USSD session initiated by the ASP network element, a downlink process interface message of a USSD session actively terminated by the ASP network element, The uplink process interface message of the USSD session initiated by the terminal, the uplink process intra-session interface message of the service information interaction between the ASP network element and the terminal in the USSD session, and the notification of the ASP in the USSD session Interaction of interface messages in the uplink process session of the network element session ended.
优选地,所述ASP主动发起的USSD会话业务的下行流程接口消息包括对应的请求消息和回复消息,所述对应的请求消息中包含表示终端号码的字段和表示USSD消息内容的字段,所述对应的回复消息中包含表示USSD会话标识(ID)的字段;Preferably, the downstream process interface message of the USSD session service initiated by the ASP includes a corresponding request message and a reply message, and the corresponding request message includes a field representing a terminal number and a field representing a USSD message content, and the corresponding Include the field representing USSD session identification (ID) in the reply message;
所述ASP主动结束的USSD会话的下行流程接口消息包括对应的请求消息和回复消息,所述对应的请求消息中包含表示USSD消息内容的字段和表示USSD会话ID的字段,所述对应的回复消息为空;The downstream process interface message of the USSD session that the ASP actively ends includes a corresponding request message and a reply message, and the corresponding request message includes a field representing the content of the USSD message and a field representing the USSD session ID, and the corresponding reply message Is empty;
所述终端主动发起的USSD会话的上行流程接口消息包括对应的请求消息和回复消息,所述对应的请求消息中包含表示USSD会话ID的字段、表示所述终端号码的字段、表示ASP的业务接入码的字段和表示所述终端发送给所述ASP网元的USSD消息内容的字段,所述对应的回复消息中包含表示所述ASP网元返回给所述终端的USSD消息内容的字段和表示是否需要保持会话的字段;The upstream process interface message of the USSD session initiated by the terminal includes a corresponding request message and a reply message, and the corresponding request message includes a field representing the USSD session ID, a field representing the terminal number, and a service connection representing the ASP. The coded field and the field indicating the content of the USSD message sent by the terminal to the ASP network element, and the corresponding reply message includes the field indicating the content of the USSD message returned by the ASP network element to the terminal and indicating Do you need to keep the session field;
所述USSD会话内所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口消息包括对应的请求消息和回复消息,所述对应的请求消息中包含表示USSD会话ID的字段、表示终端号码的字段和表示所述终端发给所述ASP网元的USSD消息内容的字段,所述对应的回复消息中包含表示所述ASP网元返回给所述终端的USSD消息内容的字段和表示是否需要保持会话的字段;The uplink intra-session interface message for service information interaction between the ASP network element and the terminal in the USSD session includes a corresponding request message and a reply message, and the corresponding request message includes a field representing a USSD session ID, A field representing the terminal number and a field representing the content of the USSD message sent by the terminal to the ASP network element, and the corresponding reply message includes a field representing the content of the USSD message returned by the ASP network element to the terminal and A field indicating whether to keep the session;
所述USSD会话内通知所述ASP网元会话结束的上行流程会话内接口消息包括对应的请求消息和回复消息,所述对应的请求消息中包含表示USSD会话ID的字段和表示USSD会话结束原因的字段,所述对应的回复消息为空。The uplink flow intra-session interface message notifying the end of the ASP network element session in the USSD session includes a corresponding request message and a reply message, and the corresponding request message includes a field representing a USSD session ID and a field representing a USSD session end reason field, the corresponding reply message is empty.
优选地,所述接口模块,具体用于通过以下的映射关系完成所述SOAP信令和所述SMPP信令之间的转换:Preferably, the interface module is specifically configured to complete the conversion between the SOAP signaling and the SMPP signaling through the following mapping relationship:
所述SOAP信令的所述ASP主动发起的USSD会话的下行流程接口消息与所述SMPP的短信下行请求消息相对应;The downlink process interface message of the USSD session initiated by the ASP in the SOAP signaling is corresponding to the downlink request message of the SMPP;
所述SOAP信令的所述终端主动发起的USSD会话的上行流程接口对应的请求消息与所述SMPP的短信上行请求消息相对应;The SOAP signaling request message corresponding to the uplink process interface of the USSD session initiated by the terminal is corresponding to the SMPP short message uplink request message;
所述SOAP信令的所述终端主动发起的USSD会话的上行流程接口对应的回复消息与所述SMPP的短信下行请求消息相对应;The reply message corresponding to the uplink process interface of the USSD session initiated by the terminal of the SOAP signaling corresponds to the downlink request message of the SMPP short message;
所述SOAP信令的所述USSD会话内所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口对应的请求消息与所述SMPP的短信上行请求消息相对应;In the USSD session of the SOAP signaling, the request message corresponding to the interface in the uplink flow session of service information interaction between the ASP network element and the terminal corresponds to the SMPP short message uplink request message;
所述SOAP信令的所述USSD会话内所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口对应的回复消息与所述SMPP的短信下行请求消息相对应;In the USSD session of the SOAP signaling, the reply message corresponding to the interface in the uplink process session of the service information interaction between the ASP network element and the terminal corresponds to the SMPP short message downlink request message;
所述SOAP信令的所述ASP主动结束的USSD会话的下行流程接口消息与所述SMPP的短信下行请求消息相对应;以及The downlink process interface message of the USSD session actively terminated by the ASP in the SOAP signaling corresponds to the downlink request message of the SMPP short message; and
所述SOAP信令的所述USSD会话内通知所述ASP网元会话结束的上行流程会话内接口消息与所述SMPP的短信上行请求消息相对应。The uplink flow intra-session interface message in the USSD session of the SOAP signaling notifying the ASP network element of the end of the session corresponds to the SMPP short message uplink request message.
本发明实施例还提供了一种非结构化补充数据(USSD)网关(GW)系统,包括相连的应用和服务提供商(ASP)网元和USSD GW,其特征在于,该系统还包括位于所述ASP网元和所述USSD GW之间的USSD接入网元(AGW),该USSD AGW为权利要求1-4任一权利要求所述的USSD AGW。The embodiment of the present invention also provides a kind of Unstructured Supplementary Data (USSD) Gateway (GW) system, comprises the connected application and service provider (ASP) network element and USSD GW, it is characterized in that, the system also includes The USSD access network element (AGW) between the ASP network element and the USSD GW, the USSD AGW is the USSD AGW described in any one of claims 1-4.
本发明实施例还提供了一种基于上述USSD AGW的USSD业务的实现方法,该方法包括:The embodiment of the present invention also provides a method for realizing the USSD service based on the above-mentioned USSD AGW, the method comprising:
USSD AGW通过与ASP网元和USSD GW进行交互,将下行起呼或上行起呼的第一USSD消息发送给终端;The USSD AGW interacts with the ASP network element and the USSD GW, and sends the first USSD message of the downlink or uplink call to the terminal;
所述USSD AGW将来自所述USSD GW的消息发送给所述ASP网元;The USSD AGW sends the message from the USSD GW to the ASP network element;
所述USSD AGW通过与所述ASP网元和所述USSD GW进行交互,将所述ASP网元提交的第二USSD消息发送给所述终端;The USSD AGW sends the second USSD message submitted by the ASP network element to the terminal by interacting with the ASP network element and the USSD GW;
所述USSD AGW通过与所述ASP网元和所述USSD GW进行交互,完成多次USSD交互信息;The USSD AGW completes multiple USSD interaction information by interacting with the ASP network element and the USSD GW;
所述USSD AGW通过与所述ASP网元和所述USSD GW进行交互,结束所述USSD会话,并将所述ASP网元发送的最终消息通知所述终端。The USSD AGW interacts with the ASP network element and the USSD GW, ends the USSD session, and notifies the terminal of the final message sent by the ASP network element.
优选地,所述USSD AGW通过与ASP网元和USSD GW进行交互,将下行起呼的第一USSD消息发送给终端,包括:Preferably, the USSD AGW sends the first USSD message for downlink calling to the terminal by interacting with the ASP network element and the USSD GW, including:
所述USSD AGW接收所述ASP网元发送的下行建立USSD会话请求消息,建立USSD会话,并向USSD GW发起基于SMPP协议的短信下行请求消息,所述短信下行请求消息中携带第一USSD消息且由所述USSG GW通过相关中继网元发送给终端;或者The USSD AGW receives the downlink establishment USSD session request message sent by the ASP network element, establishes a USSD session, and initiates an SMPP protocol-based short message downlink request message to the USSD GW, wherein the short message downlink request message carries the first USSD message and sent to the terminal by the USSG GW through the relevant relay network element; or
所述USSD AGW通过与ASP网元和USSD GW进行交互,将上行起呼的第一USSD消息发送给终端,包括:The USSD AGW interacts with the ASP network element and the USSD GW, and sends the first USSD message of the uplink call to the terminal, including:
所述USSD AGW接收所述USSD GW发送的携带USSD起呼消息的基于SMPP协议的短信上行请求消息,建立USSD会话,根据所述短信上行请求消息中的业务接入码进行接入码匹配,找到对应的ASP网元,向所述ASP网元发送携带USSD起呼消息的所述终端主动发起的USSD会话的上行流程接口请求消息;The USSD AGW receives the SMS uplink request message based on the SMPP protocol carrying the USSD call message sent by the USSD GW, establishes a USSD session, performs access code matching according to the service access code in the SMS uplink request message, and finds The corresponding ASP network element sends, to the ASP network element, an uplink flow interface request message of a USSD session initiated by the terminal that carries a USSD call message;
所述USSD AGW将所述ASP发送的第一USSD消息映射为基于SMPP协议的短信下行请求消息发送给所述USSD GW,以便所述USSD GW通过中继网元转发到所述终端。The USSD AGW maps the first USSD message sent by the ASP into an SMPP protocol-based short message downlink request message and sends it to the USSD GW, so that the USSD GW forwards it to the terminal through a relay network element.
优选地,所述USSD AGW将来自所述USSD GW的消息发送给所述ASP网元,包括:Preferably, the USSD AGW sends a message from the USSD GW to the ASP network element, including:
所述USSD AGW接收所述USSD GW发送的携带所述消息的基于SMPP协议的短信上行请求消息,将所述短信上行请求消息映射为所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口请求消息,发送给所述ASP网元。The USSD AGW receives the SMS uplink request message based on the SMPP protocol that carries the message sent by the USSD GW, and maps the SMS uplink request message to an uplink service information interaction between the ASP network element and the terminal The interface request message in the process session is sent to the ASP network element.
优选地,所述消息包括所述终端的回复消息和所述第二USSD消息。Preferably, the message includes a reply message of the terminal and the second USSD message.
优选地,所述USSD AGW通过与所述ASP网元和所述USSD GW进行交互,将所述ASP网元提交的第二USSD消息发送给终端,包括:Preferably, the USSD AGW sends the second USSD message submitted by the ASP network element to the terminal by interacting with the ASP network element and the USSD GW, including:
所述USSD AGW将所述ASP网元提交的第二USSD消息重新映射为基于SMPP协议的短信下行请求消息,将所述ASP网元提交的所述第二USSD消息由所述USSG GW通过相关中继网元发送给所述终端。The USSD AGW remaps the second USSD message submitted by the ASP network element into a short message downlink request message based on the SMPP protocol, and passes the second USSD message submitted by the ASP network element through the relevant center Then the network element sends it to the terminal.
优选地,所述USSD AGW通过与所述ASP网元进行交互,完成多次USSD交互信息,包括:Preferably, the USSD AGW completes multiple USSD interaction information by interacting with the ASP network element, including:
所述USSD AGW通过所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口请求消息完成多次USSD交互信息。The USSD AGW completes multiple USSD interaction information through an uplink intra-session interface request message for service information interaction between the ASP network element and the terminal.
优选地,所述USSD AGW通过与所述ASP网元和所述USSD GW进行交互,结束所述USSD会话,并将所述ASP网元发送的最终消息通知所述终端,包括:Preferably, the USSD AGW terminates the USSD session by interacting with the ASP network element and the USSD GW, and notifies the terminal of the final message sent by the ASP network element, including:
所述USSD AGW接收所述ASP网元发送的最后一个所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口请求消息,结束所述USSD会话,并向所述USSD GW发送所述短信下行请求消息,以便所述USSD GW通知所述终端并结束所述USSD会话。The USSD AGW receives the last interface request message in the uplink process session for service information interaction between the ASP network element and the terminal sent by the ASP network element, ends the USSD session, and sends the message to the USSD GW The short message downlink request message, so that the USSD GW notifies the terminal and ends the USSD session.
优选地,所述方法还包括:Preferably, the method also includes:
所述USSD AGW接收所述USSD GW发送的所述短信上行请求消息,结束所述USSD会话,所述短信上行请求消息中携带终端挂机的信息或网络侧异常信息;The USSD AGW receives the short message uplink request message sent by the USSD GW, ends the USSD session, and the short message uplink request message carries terminal hang-up information or network side abnormal information;
所述USSD AGW将所述短信上行请求消息中携带的信息映射为所述USSD会话内通知所述ASP网元会话结束的上行流程会话内接口请求消息并发送至所述ASP网元。The USSD AGW maps the information carried in the short message uplink request message into an uplink process intra-session interface request message in the USSD session notifying the ASP network element that the session ends, and sends it to the ASP network element.
优选地,所述方法还包括:Preferably, the method also includes:
所述USSD AGW接收所述ASP网元发送的所述ASP网元主动结束USSD会话的下行流程接口请求消息,结束所述USSD会话;The USSD AGW receives the downlink process interface request message of the ASP network element actively ending the USSD session sent by the ASP network element, and ends the USSD session;
所述USSD AGW将所述ASP网元主动结束USSD会话的下行流程接口请求消息映射为基于SMPP的短信下行请求消息,向所述USSD GW发送所述短信下行请求消息。The USSD AGW maps the downlink process interface request message of the ASP network element actively ending the USSD session into an SMPP-based short message downlink request message, and sends the short message downlink request message to the USSD GW.
本发明实施例,对ASP提供了相对较为方便的Web Service的接入方式,降低了ASP的USSD业务接入的技术门槛;该接入方式与目前普遍使用的ParlayX标准相类似,符合行业的发展趋势;同时对AS提供接入认证和管理功能,功能丰富,业务功能完整,具有大规模开发使用的应用前景。The embodiment of the present invention provides a relatively convenient Web Service access method for ASP, which reduces the technical threshold for ASP's USSD service access; this access method is similar to the currently commonly used ParlayX standard, and conforms to the development of the industry trend; at the same time, it provides access authentication and management functions for AS, with rich functions and complete business functions, and has application prospects for large-scale development and use.
附图说明Description of drawings
图1a是本发明USSD AGW实施例的结构示意图;Fig. 1 a is a schematic structural diagram of a USSD AGW embodiment of the present invention;
图1b是本发明USSD网关系统实施例的结构示意图;Fig. 1 b is a schematic structural diagram of an embodiment of the USSD gateway system of the present invention;
图2是本发明USSD业务下行起呼实施例的信令流程图;Fig. 2 is the signaling flow diagram of the embodiment of USSD service downlink calling of the present invention;
图3是本发明USSD业务上行起呼实施例的信令流程图;Fig. 3 is the signaling flow diagram of the embodiment of USSD service uplink calling of the present invention;
图4是本发明USSD业务网络侧终端主动挂机实施例的信令流程图;Fig. 4 is the signaling flowchart of the embodiment of active hang-up of the USSD service network side terminal of the present invention;
图5是本发明USSD业务网络侧异常实施例的信令流程图;Fig. 5 is a signaling flowchart of an abnormal embodiment of the USSD service network side of the present invention;
图6是本发明USSD业务侧ASP主动结束会话实施例的信令流程图。Fig. 6 is a signaling flow chart of an embodiment of an active termination of a session by an ASP at the USSD service side according to the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明白,下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。In order to make the purpose, technical solution and advantages of the present invention more clear, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other.
本发明实施例提供了一种USSD AGW,如图1a所示,该USSD AGW包括:An embodiment of the present invention provides a USSD AGW, as shown in Figure 1a, the USSD AGW includes:
接口模块11,用于为应用和服务提供商(ASP)网元提供基于网页服务(Web Service)的简单对象访问协议(SOAP)接口,以及完成USSD业务流程中与所述ASP网元交互的SOAP信令和与USSD网关(GW)交互的点对点短消息(SMPP)信令之间的转换;Interface module 11, is used for providing the Simple Object Access Protocol (SOAP) interface based on Web Service (Web Service) for application and service provider (ASP) network element, and completes the SOAP that interacts with described ASP network element in the USSD business process Conversion between signaling and point-to-point short message (SMPP) signaling interacting with the USSD gateway (GW);
接入认证管理模块12,用于对所述ASP网元提供认证,对上行消息进行接入码匹配和路由,以及对所述ASP网元的业务接入访问次数进行控制;以及An access authentication management module 12, configured to provide authentication for the ASP network element, perform access code matching and routing for uplink messages, and control the number of service access visits of the ASP network element; and
会话控制管理模块13,用于对所述ASP网元或终端发起的USSD的会话数据进行管理和控制。The session control management module 13 is configured to manage and control the session data of the USSD initiated by the ASP network element or the terminal.
另外,本发明还提供了一种USSD网关系统,如图1b所示,其中,如图1a所示结构和功能的USSD AGW处于ASP网元(简称ASP)和USSD GW之间,对ASP开放基于网页服务(Web Service)的简单对象访问协议(SOAP)协议接口,和USSD GW之间采用SMPP协议进行对接,提供如下功能:In addition, the present invention also provides a USSD gateway system, as shown in Figure 1b, wherein, the USSD AGW with the structure and function shown in Figure 1a is between the ASP network element (abbreviated as ASP) and the USSD GW, and is open to the ASP based on The Simple Object Access Protocol (SOAP) protocol interface of the web service (Web Service) uses the SMPP protocol to connect with the USSD GW, providing the following functions:
1)ASP的接入和认证管理功能,针对ASP提供相关接入密码、IP状态、签约关系认证,同时对上行消息(终端发给ASP的消息)进行接入码匹配和路由,对ASP的业务接入访问次数进行控制;1) ASP access and authentication management functions, providing relevant access passwords, IP status, and contract relationship authentication for ASPs, and at the same time performing access code matching and routing for uplink messages (messages sent by terminals to ASPs), and for ASP business Control the number of access visits;
2)USSD会话控制和管理,即对ASP或终端发起的USSD的会话数据进行管理和控制;2) USSD session control and management, that is, to manage and control the session data of USSD initiated by ASP or terminal;
3)USSD业务信令转换,提供USSD业务流程中,与ASP交互的SOAP信令和与USSD GW交互的SMPP信令之间的转换。3) USSD service signaling conversion, providing conversion between SOAP signaling interacting with ASP and SMPP signaling interacting with USSD GW in the USSD business process.
1、根据SOAP协议的特点,本USSD网关系统对ASP开放的针对USSD业务的SOAP接口定义如下:1. According to the characteristics of the SOAP protocol, the SOAP interface for the USSD service opened by the USSD gateway system to the ASP is defined as follows:
SOAP接口字段:采用了XML(Extensible Markup Language可扩展标记语言)和部分ParlayX标准中的结构定义,对这部分结构定义,不做赘述。SOAP interface field: XML (Extensible Markup Language) and part of the structure definition in the ParlayX standard are adopted, and this part of the structure definition will not be described in detail.
(1)下行流程SOAP头(Header)定义如下(用于ASP向USSD AGW发起的请求消息makeUssd和endUssd接口中):(1) The SOAP header (Header) of the downstream process is defined as follows (used in the makeUssd and endUssd interfaces of the request message initiated by ASP to USSD AGW):
表1下行流程SOAP Header结构定义Table 1 Downstream process SOAP Header structure definition
(2)上行流程SOAP Header,定义如下(用于USSD AGW向ASP发起的请求消息handleUssd、handleUssdContinue和notifyUssdEnd接口中):(2) The SOAP Header of the upstream process is defined as follows (used in the handleUssd, handleUssdContinue and notifyUssdEnd interfaces of the request messages initiated by the USSD AGW to the ASP):
表2上行流程SOAP Header结构定义Table 2 Upstream process SOAP Header structure definition
(3)下行流程接口makeUssd,用于ASP主动发起USSD会话的业务流程;Input message:makeUssdRequest(请求消息):(3) The downstream process interface makeUssd is used for the business process of ASP actively initiating USSD sessions; Input message: makeUssdRequest (request message):
表3makeUssd接口请求消息结构定义Table 3 MakeUssd interface request message structure definition
Output message:makeUssdResponse(回复消息):Output message: makeUssdResponse (reply message):
表4makeUssd接口回复消息结构定义Table 4 makeUssd interface reply message structure definition
(4)下行流程接口(endUssd,简称eU),用于ASP主动结束USSD会话的业务流程;(4) Downlink process interface (endUssd, referred to as eU), used for the ASP to actively end the service process of the USSD session;
Input message:endUssdRequest(请求消息):Input message: endUssdRequest (request message):
表5endUssd接口请求消息结构定义Table 5 endUssd interface request message structure definition
Output message:endUssdResponse(回复消息),消息字段接口为空:Output message: endUssdResponse (reply message), the message field interface is empty:
(5)上行流程接口(handleUssd,简称hU),用于终端主动发起USSD会话的业务流程。(5) Uplink process interface (handleUssd, hU for short), used for the service process of the terminal actively initiating a USSD session.
Input message:handleUssdRequest(请求消息):Input message: handleUssdRequest (request message):
表6handleUssd接口请求消息结构定义Table 6 handleUssd interface request message structure definition
Output message:handleUssdResponse(回复消息):Output message: handleUssdResponse (reply message):
表7handleUssd接口回复消息结构定义Table 7 handleUssd interface reply message structure definition
其中,struct UssdResult结构定义如下:Among them, the structure of struct UssdResult is defined as follows:
表8UssdResult结构定义Table 8 UssdResult structure definition
(6)上行流程会话内接口(handleUssdContinue,简称hUC),用于会话内ASP和终端之间的业务信息交互;(6) In-session interface (handleUssdContinue, referred to as hUC) for uplink process, used for service information interaction between the ASP and the terminal in the session;
Input message:handleUssdContinueRequest(请求消息):Input message: handleUssdContinueRequest (request message):
表9handleUssdContinue接口请求消息结构定义Table 9 handleUssdContinue interface request message structure definition
Output message:handleUssdContinueResponse(回复消息):Output message: handleUssdContinueResponse (reply message):
表10handleUssdContinue接口请求消息结构定义Table 10 handleUssdContinue interface request message structure definition
结构定义:struct UssdResult详见表8。Structure definition: struct UssdResult see Table 8 for details.
(7)上行流程会话内接口(notifyUssdEnd,简称nUE),用于会话内通知ASP会话结束;(7) Upstream process intra-session interface (notifyUssdEnd, nUE for short), used to notify the end of the ASP session within the session;
Input message:notifyUssdEndRequest(请求消息):Input message: notifyUssdEndRequest (request message):
表11notifyUssdEnd接口请求消息结构定义Table 11 notifyUssdEnd interface request message structure definition
Output message:notifyUssdEndResponse(回复消息),消息字段接口为空;Output message: notifyUssdEndResponse (reply message), the message field interface is empty;
结构定义:parlayx_common_xsd:ServiceError,该结构为ParlayX标准中定义的结构,具体结构定义如下:Structure definition: parlayx_common_xsd: ServiceError, this structure is defined in the ParlayX standard, the specific structure is defined as follows:
表12notifyUssdEnd接口回复消息结构定义Table 12 NotifyUssdEnd interface reply message structure definition
基于图1a和图1b所示的结构,本发明实施例还提供了一种USSD业务的实现方法,该方法包括:Based on the structure shown in Figure 1a and Figure 1b, the embodiment of the present invention also provides a method for implementing a USSD service, the method comprising:
步骤一、USSD AGW通过与ASP网元和USSD AGW进行交互,将下行起呼或上行起呼的第一USSD消息发送给终端;Step 1. The USSD AGW interacts with the ASP network element and the USSD AGW, and sends the first USSD message of the downlink or uplink call to the terminal;
步骤二、所述USSD AGW将来自所述USSD GW的消息发送给所述ASP网元;Step 2, the USSD AGW sends the message from the USSD GW to the ASP network element;
该步骤二具体为:所述USSD AGW接收所述USSD GW发送的携带消息的基于SMPP协议的短信上行请求消息,将所述短信上行请求消息映射为所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口请求消息,发送给所述ASP网元;The second step is specifically: the USSD AGW receives the message-carrying SMS uplink request message based on the SMPP protocol sent by the USSD GW, and maps the SMS uplink request message to a service between the ASP network element and the terminal Send an interface request message in an uplink process session of information interaction to the ASP network element;
步骤三、所述USSD AGW通过与所述ASP网元和所述USSD GW进行交互,将所述ASP网元提交的第二USSD消息发送给所述终端;Step 3, the USSD AGW sends the second USSD message submitted by the ASP network element to the terminal by interacting with the ASP network element and the USSD GW;
该步骤三具体为:所述USSD AGW将所述ASP网元提交的第二USSD消息重新映射为基于SMPP协议的短信下行请求消息,所述第二USSD消息由所述USSG GW通过相关中继网元发送给终端;This step three is specifically: the USSD AGW remaps the second USSD message submitted by the ASP network element into a short message downlink request message based on the SMPP protocol, and the second USSD message is passed by the USSG GW through the relevant relay network sent to the terminal;
步骤四、所述USSD AGW通过与所述ASP网元进行交互,完成多次USSD交互信息;Step 4, the USSD AGW completes multiple USSD interaction information by interacting with the ASP network element;
该步骤四具体为:所述USSD AGW通过所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口请求消息完成多次USSD交互信息;This step 4 is specifically: the USSD AGW completes multiple USSD interaction information through the uplink flow intra-session interface request message of service information interaction between the ASP network element and the terminal;
步骤五、所述USSD AGW通过与所述ASP网元和所述USSD GW进行交互,结束所述USSD会话,并将所述ASP网元发送的最终消息通知所述终端。Step 5, the USSD AGW interacts with the ASP network element and the USSD GW, ends the USSD session, and notifies the terminal of the final message sent by the ASP network element.
该步骤五具体为:所述USSD AGW接收所述ASP网元发送的最后一个所述ASP网元和所述终端之间业务信息交互的上行流程会话内接口请求消息后,结束USSD会话,并向所述USSD GW发送所述短信下行请求消息,以便所述USSD GW通知所述终端并结束所述USSD会话。This step five is specifically: after the USSD AGW receives the last interface request message in the uplink process session for service information interaction between the ASP network element and the terminal sent by the ASP network element, it ends the USSD session, and sends The USSD GW sends the SMS downlink request message, so that the USSD GW notifies the terminal and ends the USSD session.
另外,在终端和ASP网元正常交互的过程中,还可以包括因终端挂机、网络侧出现异常、ASP网元主动结束会话等情况而结束USSD会话的流程。In addition, during the normal interaction process between the terminal and the ASP network element, it may also include the process of ending the USSD session due to the terminal hanging up, abnormality on the network side, or the ASP network element voluntarily ending the session.
下面从USSD业务的SOAP和SMPP协议映射流程进行描述,为了描述方便,下述实施例中将ASP网元简称为ASP:The following describes the SOAP and SMPP protocol mapping process of the USSD service. For the convenience of description, the ASP network element is referred to as ASP in the following embodiments:
(1)USSD下行起呼流程,协议映射关系如下:(1) USSD downlink calling process, the protocol mapping relationship is as follows:
如图2所示,为USSD下行起呼(应用侧ASP发起USSD呼叫),流程说明如下:As shown in Figure 2, it is a USSD downlink call (the application side ASP initiates a USSD call), and the process description is as follows:
步骤201、ASP向USSD AGW接入网关发送下行makeUssd请求消息,要求建立USSD会话,并向终端发送USSD消息;Step 201, the ASP sends a downlink makeUssd request message to the USSD AGW access gateway, requesting to establish a USSD session, and sends a USSD message to the terminal;
步骤202、USSD AGW收到ASP的请求后,建立USSD会话,并向USSDGW业务网关发起基于SMPP协议的短信下行(data_sm或submit)请求消息,携带USSD消息,消息类型为USSR request(ussd_servcie_op=2);Step 202: After the USSD AGW receives the request from the ASP, it establishes a USSD session, and initiates a SMPP protocol-based SMS downlink (data_sm or submit) request message to the USSDGW service gateway, carrying a USSD message, and the message type is USSR request (ussd_servcie_op=2) ;
步骤203、USSD GW向USSD AGW返回data sm或submit成功回复消息;Step 203, USSD GW returns data sm or submit success reply message to USSD AGW;
步骤204、USSD GW向ASP发送makeUssd成功回复消息;Step 204, USSD GW sends makeUssd success reply message to ASP;
步骤205、USSG GW通过相关中继网元(核心网)将第一个USSD消息发送给终端;Step 205, USSG GW sends the first USSD message to the terminal through the relevant relay network element (core network);
步骤206、终端收到USSD消息后进行回复,通过相关中继网元(核心网),该回复消息发送给USSD GW;Step 206, the terminal replies after receiving the USSD message, and sends the reply message to the USSD GW through the relevant relay network element (core network);
步骤207、USSD GW收到终端的回复消息后,向USSD AGW发送SMPP协议短信上行(data_sm或delivery)请求消息,携带终端的回复消息,消息类型为USSR confirm(ussd_servcie_op=18);Step 207, after the USSD GW receives the terminal's reply message, it sends an SMPP protocol short message uplink (data_sm or delivery) request message to the USSD AGW, carrying the terminal's reply message, and the message type is USSR confirm (ussd_servcie_op=18);
步骤208、USSD AGW向USSD GW返回data_sm或delivery回复消息;Step 208, USSD AGW returns data_sm or delivery reply message to USSD GW;
步骤209、USSD AGW将终端的USSD回复消息,映射为上行handleUssdContinue请求消息,发送给ASP;Step 209, the USSD AGW maps the USSD reply message of the terminal to an uplink handleUssdContinue request message, and sends it to the ASP;
步骤210、ASP收到终端的回复消息后,按照终端的要求,再次做出回应,向USSD AGW返回handleUssdContinue回复消息;Step 210, after the ASP receives the reply message from the terminal, it responds again according to the requirements of the terminal, and returns a handleUssdContinue reply message to the USSD AGW;
步骤211、USSD AGW将ASP提交的USSD消息,重新映射为data_sm或submit请求消息发送给USSD GW,消息类型为USSR request(ussd_servcie_op=2);Step 211, USSD AGW remaps the USSD message submitted by ASP as data_sm or submit request message and sends it to USSD GW, the message type is USSR request (ussd_servcie_op=2);
步骤212、USSD GW向USSD AGW返回data_sm或submit成功回复消息;Step 212, USSD GW returns data_sm or submit success reply message to USSD AGW;
步骤213、USSD GW通过中继网元(核心网),转发USSD消息到终端;Step 213, USSD GW forwards the USSD message to the terminal through the relay network element (core network);
步骤214、终端收到ASP的第二次消息后,再次做出回应,继续返回回复消息;Step 214, after receiving the second message from the ASP, the terminal responds again, and continues to return the reply message;
步骤215、后续USSD AGW通过上行handleUssdContinue消息,映射了终端和ASP之间的多次USSD交互信息,具体的流程与上述流程相仿;Step 215, the subsequent USSD AGW maps multiple USSD interaction information between the terminal and the ASP through the uplink handleUssdContinue message, and the specific process is similar to the above process;
步骤216、USSD业务流程交互结束,ASP给USSD AGW发送最后一个handleUssdContinue回复消息,将ussdReturnRequest字段置为False;Step 216, the USSD business process interaction ends, the ASP sends the last handleUssdContinue reply message to the USSD AGW, and sets the ussdReturnRequest field to False;
步骤217、USSD AGW结束USSD会话,并向USSD GW发送data_sm或submit请求消息,消息类型为esme_handup(ussd_servcie_op=68);Step 217, the USSD AGW ends the USSD session, and sends a data_sm or submit request message to the USSD GW, the message type is esme_handup(ussd_servcie_op=68);
步骤218、USSD GW向USSD AGW返回data sm或submit成功回复消息;Step 218, USSD GW returns data sm or submit success reply message to USSD AGW;
步骤219、USSD GW将ASP发送的最终消息发送给终端,并结束整个USSD业务流程。Step 219, the USSD GW sends the final message sent by the ASP to the terminal, and ends the entire USSD service process.
(2)USSD上行起呼流程,协议映射关系如下:(2) USSD uplink calling process, the protocol mapping relationship is as follows:
如图3所示,为USSD上行起呼(网络侧终端发起USSD呼叫),流程说明如下:As shown in Figure 3, for USSD uplink call (the network side terminal initiates a USSD call), the process description is as follows:
步骤301、终端通过中继网元(核心网)向USSD GW发送USSD起呼消息,消息内容中包括业务接入码;Step 301, the terminal sends a USSD call-initiating message to the USSD GW through the relay network element (core network), and the message content includes a service access code;
步骤302、USSD GW收到终端的起呼消息后,向USSD AGW发送SMPP协议data_sm或delivery请求消息,消息类型为PSSR indication(ussd_servcie_op=1);Step 302, after the USSD GW receives the calling message of the terminal, it sends the SMPP protocol data_sm or delivery request message to the USSD AGW, and the message type is PSSR indication (ussd_servcie_op=1);
步骤303、USSD AGW向USSD GW发送data_sm或delivery成功回复消息;Step 303, USSD AGW sends data_sm or delivery success reply message to USSD GW;
步骤304、USSD AGW建立USSD会话,进行接入码匹配,找到对应的目标ASP的URL地址,向ASP发送上行handleUssd请求消息,转发终端发送的USSD起呼消息;Step 304, the USSD AGW establishes a USSD session, performs access code matching, finds the URL address of the corresponding target ASP, sends an uplink handleUssd request message to the ASP, and forwards the USSD initiation message sent by the terminal;
步骤305、ASP接收终端的消息后,经过相应处理后,向USSD AGW发送handleUssd回复消息,携带发送给终端的回复消息;Step 305, after the ASP receives the message from the terminal, after corresponding processing, it sends a handleUssd reply message to the USSD AGW, carrying the reply message sent to the terminal;
步骤306、USSD AGW将ASP提交的USSD消息,映射为data_sm或submit请求消息发送给USSD GW,消息类型为USSR request(ussd_servcie_op=2);Step 306. The USSD AGW maps the USSD message submitted by the ASP into a data_sm or submit request message and sends it to the USSD GW. The message type is USSR request (ussd_servcie_op=2);
步骤307、USSD GW向USSD AGW返回data_sm或submit成功回复消息;Step 307, USSD GW returns data_sm or submit success reply message to USSD AGW;
步骤308、USSD GW通过中继网元(核心网),转发USSD消息到终端;Step 308, USSD GW forwards the USSD message to the terminal through the relay network element (core network);
步骤309、终端收到来自ASP的USSD消息后,再次向ASP发送USSD消息;Step 309, after receiving the USSD message from the ASP, the terminal sends the USSD message to the ASP again;
步骤310、USSD GW收到终端的消息后,向USSD AGW发送SMPP协议data_sm或delivery请求消息,携带终端的回复消息,消息类型为USSRconfirm(ussd_servcie_op=18);Step 310, after the USSD GW receives the message from the terminal, it sends an SMPP protocol data_sm or delivery request message to the USSD AGW, carrying a reply message from the terminal, and the message type is USSRconfirm(ussd_servcie_op=18);
步骤311、USSD AGW向USSD返回data_sm或delivery回复消息。Step 311, the USSD AGW returns a data_sm or delivery reply message to the USSD.
步骤312、USSD AGW将终端的USSD消息,映射为上行handleUssdContinue请求消息,发送给ASP;Step 312, the USSD AGW maps the USSD message of the terminal to an uplink handleUssdContinue request message, and sends it to the ASP;
步骤313、ASP收到终端的回复消息后,按照终端的要求,再次做出回应,向USSD AGW返回handleUssdContinue回复消息;Step 313, after the ASP receives the reply message from the terminal, it responds again according to the requirements of the terminal, and returns a handleUssdContinue reply message to the USSD AGW;
步骤314、USSD AGW将上行handleUssdContinue消息,映射为SMPP协议,详情参考图2中的步骤211-215,后续终端和ASP之间通过handleUssdContinue消息做多次USSD交互信息,具体流程与上述流程相仿;Step 314, the USSD AGW maps the uplink handleUssdContinue message to the SMPP protocol. For details, refer to steps 211-215 in FIG. 2 , and the subsequent terminal and the ASP perform multiple USSD interaction information through the handleUssdContinue message, and the specific process is similar to the above process;
步骤315-318、USSD业务流程结束后,终端做挂机处理,后续流程315-318与图2中的步骤216和219相同。Steps 315-318, after the USSD service process ends, the terminal performs on-hook processing, and the subsequent processes 315-318 are the same as steps 216 and 219 in FIG. 2 .
(3)USSD会话内终端挂机流程,协议映射关系如下:(3) The on-hook process of the terminal in the USSD session, the protocol mapping relationship is as follows:
如图4所示,为USSD业务终端挂机流程,流程说明如下:As shown in Figure 4, it is the on-hook process of the USSD service terminal, and the process description is as follows:
步骤401、上行或下行起呼的USSD业务流程,终端和ASP正常交互;Step 401, the USSD service flow of uplink or downlink calling, the terminal and the ASP interact normally;
步骤402、终端做挂机操作,结束本次USSD交互;Step 402, the terminal performs an on-hook operation, and ends this USSD interaction;
步骤403、USSD GW收到中继网元(核心网)发来的终端挂机的信息后,向USSD AGW发起data_sm或delivery请求消息,消息类型为handup(ussd_servcie_op=65);Step 403, after the USSD GW receives the terminal hang-up information sent by the relay network element (core network), it initiates a data_sm or delivery request message to the USSD AGW, and the message type is handup (ussd_servcie_op=65);
步骤404、USSD AGW向USSD GW返回data_sm或delivery回复消息;Step 404, USSD AGW returns data_sm or delivery reply message to USSD GW;
步骤405、USSD AGW结束USSD会话,并将终端的挂机信号映射为上行notifyUssdEnd请求消息(错误码指定为终端挂机);Step 405, the USSD AGW ends the USSD session, and maps the on-hook signal of the terminal to an uplink notifyUssdEnd request message (the error code is specified as the terminal on-hook);
步骤406、ASP向USSD AGW返回notifyUssdEnd回复消息,USSD业务流程结束。Step 406, the ASP returns a notifyUssdEnd reply message to the USSD AGW, and the USSD business process ends.
(4)USSD会话内网络侧异常流程,协议映射关系如下、(4) The abnormal flow of the network side in the USSD session, the protocol mapping relationship is as follows,
如图5所示,为USSD业务网络侧异常流程,流程说明如下:As shown in Figure 5, it is the abnormal process of the USSD service network side, and the process description is as follows:
步骤501、上行或下行起呼的USSD业务流程,终端和ASP正常交互;Step 501, the USSD service flow of uplink or downlink calling, and the normal interaction between the terminal and the ASP;
步骤502、网络侧发生异常(终端或是中继网元产生异常);Step 502, abnormality occurs on the network side (terminal or relay network element generates abnormality);
步骤503、USSD GW感知到网络侧异常信息后,向USSD AGW发起data_sm或delivery请求消息,消息类型为falure(ussd_servcie_op=66),此处的failure可以简写为F;Step 503, after the USSD GW perceives the abnormal information on the network side, it initiates a data_sm or delivery request message to the USSD AGW, and the message type is failure (ussd_servcie_op=66), where failure can be abbreviated as F;
步骤504、USSD AGW向USSD GW返回data_sm或delivery回复消息;Step 504, USSD AGW returns data_sm or delivery reply message to USSD GW;
步骤505、USSD AGW结束USSD会话,并将网络侧异常信号映射为上行notifyUssdEnd请求消息(错误码指定为业务流程异常);Step 505, the USSD AGW ends the USSD session, and maps the abnormal signal on the network side to an uplink notifyUssdEnd request message (the error code is specified as a business process exception);
步骤506、ASP向USSD AGW返回notifyUssdEnd回复消息,USSD业务流程结束。Step 506, the ASP returns a notifyUssdEnd reply message to the USSD AGW, and the USSD business process ends.
(4)USSD业务侧ASP主动结束会话流程,协议映射关系如下:(4) The ASP on the USSD service side actively terminates the session process, and the protocol mapping relationship is as follows:
如图6所示,为USSD业务侧ASP主动结束会话,流程说明如下:As shown in Figure 6, the ASP on the USSD service side actively terminates the session. The process description is as follows:
步骤601、上行或下行起呼的USSD业务流程,终端和ASP正常交互;Step 601, the USSD service flow of uplink or downlink calling, the terminal and the ASP interact normally;
步骤602、业务侧ASP要求主动结束会话,ASP给USSD AGW发送endUssd请求消息;Step 602, the service side ASP requests to actively end the session, and the ASP sends an endUssd request message to the USSD AGW;
步骤603、USSD AGW给ASP发送endUssd回复消息;Step 603, USSD AGW sends endUssd reply message to ASP;
步骤604、USSD AGW结束本次会话,并向USSD GW发起data_sm或submit请求消息,消息类型为esme_handup(ussd_servcie_op=68);Step 604, USSD AGW ends this session, and initiates a data_sm or submit request message to USSD GW, and the message type is esme_handup (ussd_servcie_op=68);
步骤605、USSD GW向USSD AGW返回data sm或submit回复消息;Step 605, USSD GW returns data sm or submit reply message to USSD AGW;
步骤606、USSD GW向网络侧中继网元或终端发送相关信息,结束本次USSD业务流程。Step 606, the USSD GW sends relevant information to the relay network element or terminal on the network side, and ends this USSD service process.
由此可见,SOAP和SMPP消息接口关键字段映射关系如下:It can be seen that the mapping relationship between the key fields of the SOAP and SMPP message interfaces is as follows:
表13SOAP和SMPP消息接口关键字段映射关系Table 13 SOAP and SMPP message interface key field mapping relationship
上述接入网关,对ASP提供了相对较为方便的Web Service的接入方式,降低了ASP的USSD业务接入的技术门槛;该接入方式与目前普遍使用的ParlayX标准相类似,符合行业的发展趋势;同时对AS提供接入认证和管理功能,功能丰富,业务功能完整,具有大规模开发使用的应用前景。The above-mentioned access gateway provides a relatively convenient Web Service access method for ASP, which lowers the technical threshold for ASP's USSD service access; this access method is similar to the currently widely used ParlayX standard and conforms to the development of the industry trend; at the same time, it provides access authentication and management functions for AS, with rich functions and complete business functions, and has application prospects for large-scale development and use.
实施例Example
下面介绍一个典型的上行起呼USSD业务流程,该流程的业务场景是,终端用户向ASP发送消息,要求订购某项服务,ASP要求终端用户选择服务种类,用户返回服务种类后,ASP回复订购成功消息;该过程包括:The following describes a typical uplink call USSD business process. The business scenario of this process is that the end user sends a message to the ASP to order a certain service. The ASP asks the end user to select the service type. After the user returns the service type, the ASP replies that the order is successful. message; the process includes:
步骤1、终端向USSD GW发送USSD消息,消息内容为“#124*1#”;Step 1. The terminal sends a USSD message to the USSD GW, and the content of the message is "#124*1#";
步骤2、USSD GW向USSD AGW发起data_sm请求消息,关键字段如下:Step 2. USSD GW sends a data_sm request message to USSD AGW. The key fields are as follows:
ussd_servcie_op=0(PSSR indication)ussd_servcie_op=0 (PSSR indication)
message_payload=”#124*order#”message_payload="#124*order#"
receipted_message_id=”%L0T?SI,755#PP+C$S,#,U+C<V,3.”received_message_id="%LOT? SI, 755#PP+C$S, #, U+C<V, 3."
步骤3、USSD AGW向USSD GW返回成功的data sm回复消息;Step 3, USSD AGW returns a successful data sm reply message to USSD GW;
步骤4、USSD AGW对USSD消息内容中的接入码“124”进行接入码匹配,找到对应的ASP的URL地址,向ASP发送上行handleUssd请求消息,相关关键字段如下:Step 4. The USSD AGW matches the access code "124" in the USSD message content, finds the URL address of the corresponding ASP, and sends an uplink handleUssd request message to the ASP. The relevant key fields are as follows:
ussdMessage=“order“ussdMessage="order"
ussdIdentifier=“000123“(USSD AGW产生的会话ID)ussdIdentifier="000123" (session ID generated by USSD AGW)
步骤5、ASP收到终端的请求后,做出回应,向USSD AGW发送handleUssd回复消息,关键字段如下:Step 5. After ASP receives the request from the terminal, it responds and sends a handleUssd reply message to USSD AGW. The key fields are as follows:
ussdMessage=“1football;2basketball”ussdMessage="1football; 2basketball"
ussdIdentifier=“000123”ussdIdentifier="000123"
步骤6:USSD AGW向USSD GW发送data sm请求消息,关键字段如下:Step 6: USSD AGW sends a data sm request message to USSD GW, the key fields are as follows:
ussd_servcie_op=2(US SR request)ussd_servcie_op=2(US SR request)
message_payload=“1football;2basketball”message_payload="1football; 2basketball"
receipted_message_id=“%L0T?SI,755#PP+C$S,#,U+C<V,3.”received_message_id="%LOT? SI, 755#PP+C$S, #, U+C<V, 3."
步骤7、USSD GW向USSD AGW返回成功的data sm回复消息;Step 7, USSD GW returns a successful data sm reply message to USSD AGW;
步骤8、USSD GW向终端转发ASP的USSD消息内容;Step 8, the USSD GW forwards the ASP's USSD message content to the terminal;
步骤9、终端再次做出回应,发送消息到网络侧;Step 9, the terminal responds again and sends a message to the network side;
步骤10、USSD GW向USSD AGW发送data_sm请求消息,关键字段如下:Step 10, USSD GW sends a data_sm request message to USSD AGW, the key fields are as follows:
ussd_servcie_op=18(USSR confirm)ussd_servcie_op=18(USSR confirm)
message_payload=”2”message_payload="2"
receipted_message_id=”%L0T?SI,755#PP+C$S,#,U+C<V,3.”received_message_id="%LOT? SI, 755#PP+C$S, #, U+C<V, 3."
步骤11、USSD AGW向ASP发送上行handleUssdContinue请求消息,相关关键字段如下:Step 11. The USSD AGW sends an uplink handleUssdContinue request message to the ASP. The relevant key fields are as follows:
ussdMessage=“2“ussdMessage="2"
ussdIdentifier=“000123“ussdIdentifier="000123"
步骤12、ASP做出回复,向USSD AGW发送handleUssdContinue回复消息,相关关键字段如下:Step 12. ASP makes a reply and sends a handleUssdContinue reply message to USSD AGW. The relevant key fields are as follows:
ussdMessage=“success“ussdMessage="success"
ussdIdentifier=“000123“ussdIdentifier="000123"
ussdReturnRequest=FalseussdReturnRequest=False
步骤13、USSD AGW向USSD GW发送data_sm请求消息,然后结束会话,关键字段如下:Step 13. USSD AGW sends a data_sm request message to USSD GW, and then ends the session. The key fields are as follows:
ussd_servcie_op=68(esme_handup)ussd_servcie_op=68(esme_handup)
message_payload=”success”message_payload="success"
receipted_message_id=”%L0T?SI,755#PP+C$S,#,U+C<V,3.”received_message_id="%LOT? SI, 755#PP+C$S, #, U+C<V, 3."
步骤14、USSD GW向USSD AGW返回成功的data sm回复消息;Step 14, USSD GW returns a successful data sm reply message to USSD AGW;
步骤15、USSD GW向终端转发ASP最后的USSD消息内容,结束整个会话。Step 15. The USSD GW forwards the last USSD message content of the ASP to the terminal, ending the entire session.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。Those skilled in the art can understand that all or part of the steps in the above method can be completed by instructing related hardware through a program, and the above program can be stored in a computer-readable storage medium, such as a read-only memory, a magnetic disk or an optical disk, and the like. Optionally, all or part of the steps in the foregoing embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiments may be implemented in the form of hardware, or may be implemented in the form of software function modules. The present invention is not limited to any specific combination of hardware and software.
以上实施例仅用以说明本发明的技术方案而非限制,仅仅参照较佳实施例对本发明进行了详细说明。本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。The above embodiments are only used to illustrate the technical solutions of the present invention rather than limit them, and the present invention is described in detail with reference to preferred embodiments. Those skilled in the art should understand that the technical solutions of the present invention can be modified or equivalently replaced without departing from the spirit and scope of the technical solutions of the present invention, and all should be covered by the claims of the present invention.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210495534.7A CN103856917B (en) | 2012-11-28 | 2012-11-28 | The implementation method of USSD business based on USSD AGW |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210495534.7A CN103856917B (en) | 2012-11-28 | 2012-11-28 | The implementation method of USSD business based on USSD AGW |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103856917A true CN103856917A (en) | 2014-06-11 |
CN103856917B CN103856917B (en) | 2018-03-02 |
Family
ID=50864038
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210495534.7A Expired - Fee Related CN103856917B (en) | 2012-11-28 | 2012-11-28 | The implementation method of USSD business based on USSD AGW |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103856917B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105050065A (en) * | 2015-08-07 | 2015-11-11 | 北京思特奇信息技术股份有限公司 | USSD (Unstructured Supplementary Service Data) business hall gateway and USSD-based telecommunications business handling method |
CN113810224A (en) * | 2018-06-26 | 2021-12-17 | 华为技术有限公司 | Information processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101437002A (en) * | 2007-11-16 | 2009-05-20 | 中国移动通信集团公司 | Mobile proxy server system |
CN101536450A (en) * | 2006-11-03 | 2009-09-16 | 艾利森电话股份有限公司 | Accessing a communications network |
CN102695149A (en) * | 2006-11-03 | 2012-09-26 | 艾利森电话股份有限公司 | Access communication network |
WO2012134330A1 (en) * | 2011-03-25 | 2012-10-04 | Общество С Ограниченной Ответственностью "Аилайн Кэмьюникейшнс Снг" | Method for presenting information when conducting distributed transactions and structure for implementing same |
-
2012
- 2012-11-28 CN CN201210495534.7A patent/CN103856917B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101536450A (en) * | 2006-11-03 | 2009-09-16 | 艾利森电话股份有限公司 | Accessing a communications network |
CN102695149A (en) * | 2006-11-03 | 2012-09-26 | 艾利森电话股份有限公司 | Access communication network |
CN101437002A (en) * | 2007-11-16 | 2009-05-20 | 中国移动通信集团公司 | Mobile proxy server system |
WO2012134330A1 (en) * | 2011-03-25 | 2012-10-04 | Общество С Ограниченной Ответственностью "Аилайн Кэмьюникейшнс Снг" | Method for presenting information when conducting distributed transactions and structure for implementing same |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105050065A (en) * | 2015-08-07 | 2015-11-11 | 北京思特奇信息技术股份有限公司 | USSD (Unstructured Supplementary Service Data) business hall gateway and USSD-based telecommunications business handling method |
CN113810224A (en) * | 2018-06-26 | 2021-12-17 | 华为技术有限公司 | Information processing method and device |
US11595810B2 (en) | 2018-06-26 | 2023-02-28 | Huawei Technologies Co., Ltd. | Information processing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN103856917B (en) | 2018-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114945159B (en) | Direct communication processing method, device, relay terminal and remote terminal | |
WO2020147760A1 (en) | Local area network communication method, device, and system | |
US9288828B2 (en) | Method, apparatus and system for accessing service by mobile station | |
WO2012055134A1 (en) | Method and system for group sending short message | |
CN113206753A (en) | Information configuration method and management unit | |
CN104969516B (en) | Calling clearing end in OTT networks | |
CN103533505B (en) | A kind of note transmission method, server, system and mobile terminal | |
CN102307334B (en) | Handle the method and system and relevant device of value-added service short message | |
CN101997846A (en) | Session handling method and device as well as communication system | |
CN103856917B (en) | The implementation method of USSD business based on USSD AGW | |
CN101106754B (en) | A method of sending short message to gateway in mobile network | |
CN101170734B (en) | Method and device for realizing service interworking between different networks | |
CN103533001A (en) | Communication method and communication system based on HTTP multi-proxy, and intermediate proxy server | |
CN102802197A (en) | Method and device for transmitting application data | |
CN104426746A (en) | Client message pushing method, client message pushing device and server | |
CN114615321A (en) | Traffic processing method and device | |
JP6807952B2 (en) | Methods and devices for determining the communication network that provides communication services to terminal communication devices | |
KR101378254B1 (en) | Method and System for Adaptive Messaging | |
CN101820400B (en) | Based on the communication transfer method of personal network and equipment and personal network's system | |
CN107172600B (en) | Information transmission method and device | |
CN101383881A (en) | Voice and web page transmission coordination method, device and system | |
CN106878141A (en) | A kind of instant communicating method based on msrp agreements | |
CN104284370B (en) | A kind of soft switchcall server transmits the method for information and corresponding system to user agent | |
CN112910823B (en) | Routing method of call service and network edge computing platform | |
CN104717122B (en) | A kind of business information exchange method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180302 |
|
CF01 | Termination of patent right due to non-payment of annual fee |