[go: up one dir, main page]

CN102811428A - Forward-shifting processing method and system for SP (Service Provider) access of USSDC (Unstructured Supplementary Service Data Center) - Google Patents

Forward-shifting processing method and system for SP (Service Provider) access of USSDC (Unstructured Supplementary Service Data Center) Download PDF

Info

Publication number
CN102811428A
CN102811428A CN2011101441614A CN201110144161A CN102811428A CN 102811428 A CN102811428 A CN 102811428A CN 2011101441614 A CN2011101441614 A CN 2011101441614A CN 201110144161 A CN201110144161 A CN 201110144161A CN 102811428 A CN102811428 A CN 102811428A
Authority
CN
China
Prior art keywords
ussdc
message
request
access
sending
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.)
Pending
Application number
CN2011101441614A
Other languages
Chinese (zh)
Inventor
魏学松
周志军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2011101441614A priority Critical patent/CN102811428A/en
Priority to PCT/CN2011/079750 priority patent/WO2012162980A1/en
Publication of CN102811428A publication Critical patent/CN102811428A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种USSDC处理SP接入的前转处理方法及系统,在移动终端MT发出接入请求起直至完成相应服务提供商SP业务接入期间,非结构化补充数据业务中心USSDC转发MT的请求和响应,并根据来自所述SP的操作消息,向MT发送与所述操作消息对应的响应,当SP发起请求时,所述USSDC作为服务端处理所述SP发起的请求。本发明通过修改USSDC和SP的接口协议,实现了USSDC完成接入和多次交互功能,解决了USSDC仅仅起到接入功能、其强大的交互功完全没有被使用的问题。

The invention discloses a forwarding processing method and system for USSDC to process SP access. From the time when a mobile terminal MT sends an access request until the corresponding service provider SP service access is completed, the unstructured supplementary data service center USSDC forwards the MT According to the operation message from the SP, send a response corresponding to the operation message to the MT. When the SP initiates a request, the USSDC acts as a server to process the request initiated by the SP. By modifying the interface protocol between USSDC and SP, the invention realizes the access and multiple interaction functions of USSDC, and solves the problem that USSDC only plays the access function and its powerful interaction function is not used at all.

Description

一种USSDC处理SP接入的前转处理方法及系统A forwarding processing method and system for USSDC processing SP access

技术领域 technical field

本发明涉及移动通信中非结构化补充业务技术,尤其涉及一种USSDC(Unstructured Supplementary Service Data Center,非结构化补充数据业务中心)处理SP(Service Provider,服务提供商)接入的前转处理方法及系统。The present invention relates to unstructured supplementary service technology in mobile communication, in particular to a forward processing method for USSDC (Unstructured Supplementary Service Data Center, unstructured supplementary data service center) to process SP (Service Provider, service provider) access and system.

背景技术 Background technique

智能网是一个用于产生和提供业务的体系结构,其最重要的特点是快速方便、灵活经济的提供各种特色增值业务。USSD(Unstructured SupplementaryService Data,非结构化补充数据)应用业务作为其中的预付费智能业务中的重要业务流程,在最近几年发展迅速,尤其随着OCS(Online Charging System,在线计费系统)业务的发展出现很多新的业务功能,特别是SP增值服务,为用户提供了更多更智能化的服务,也为运营商取得了不小的经济效益。The intelligent network is an architecture used to generate and provide services, and its most important feature is to provide various special value-added services quickly, conveniently, flexibly and economically. USSD (Unstructured Supplementary Service Data, unstructured supplementary data) application business, as an important business process in the prepaid intelligent business, has developed rapidly in recent years, especially with the OCS (Online Charging System, online charging system) business The development of many new business functions, especially SP value-added services, provides users with more and more intelligent services, and also achieves considerable economic benefits for operators.

USSD业务应用由于其方便,快捷,安全性等优点越来越多地被推广应用,特别是SP的增值服务被越来越多的应用,比如代缴费服务、银行服务、股票服务等等,极大的方便了广大用户的同时,也增加了运营商的经济效益。但是针对越来越多的SP应用服务,各个SP提供的内容是不相同的,各SP要求接入流程也不相同,传统的做法是SP的接入流程一般放在SP侧,USSDC仅仅完成接入功能,即USSDC收到用户请求后,将采用SMPP(Short Message Peer To Peer,短消息点对点)协议直接把用户的请求送给对应的SP服务器,至此USSDC的任务就结束了,SP服务器完成整个请求的所有功能。从中可以看出,USSDC的强大的交互功能完全没有被使用,仅仅起到接入功能。USSD business applications are more and more widely used due to its advantages of convenience, speed, security, etc., especially the value-added services of SP are more and more used, such as bill payment services, banking services, stock services, etc. While greatly facilitating the majority of users, it also increases the economic benefits of operators. However, for more and more SP application services, the content provided by each SP is different, and the access process required by each SP is also different. The traditional method is that the SP access process is generally placed on the SP side, and USSDC only completes the access process. Input function, that is, after USSDC receives the user's request, it will use the SMPP (Short Message Peer To Peer, short message point-to-point) protocol to directly send the user's request to the corresponding SP server. All features requested. It can be seen from this that the powerful interactive function of USSDC is not used at all, and it only plays an access function.

现在越来越多的SP应用,需要USSDC来完成接入和多次交互功能,这样USSDC就需要完成整个会话的接入流程的控制功能,针对各个SP的不同的接入控制需求,迫切需要USSDC能够提供一种处理比较复杂的SP接入控制处理方法。Now more and more SP applications require USSDC to complete the access and multiple interaction functions, so USSDC needs to complete the control function of the entire session access process. For the different access control requirements of each SP, USSDC is urgently needed A method for processing relatively complicated SP access control can be provided.

发明内容 Contents of the invention

本发明的目的在于提供一种USSDC处理SP接入的前转处理方法及系统,解决了以下问题:一、USSDC仅仅起到接入功能、其强大的交互功能完全没有被使用;二、各个SP的各种应用接入困难。The purpose of the present invention is to provide a forwarding processing method and system for USSDC processing SP access, which solves the following problems: 1. USSDC only plays an access function, and its powerful interactive function is not used at all; 2. Each SP It is difficult to access various applications.

根据本发明的一个方面,提供了一种USSDC处理SP接入的前转处理方法,包括以下步骤:According to one aspect of the present invention, a forwarding processing method for USSDC processing SP access is provided, including the following steps:

A、在移动终端MT发出接入请求起直至完成相应服务提供商SP业务接入期间,非结构化补充数据业务中心USSDC转发MT的请求和响应,并根据来自所述SP的操作消息,向MT发送与所述操作消息对应的响应;A. During the period from when the mobile terminal MT sends an access request until the service access of the corresponding service provider SP is completed, the unstructured supplementary data service center USSDC forwards the request and response of the MT, and sends a message to the MT according to the operation message from the SP. sending a response corresponding to the operation message;

B、当SP发起请求时,所述USSDC作为服务端处理所述SP发起的请求。B. When an SP initiates a request, the USSDC acts as a server to process the request initiated by the SP.

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

当所述SP发起用来向MT发送通知消息的请求时,所述USSDC根据来自所述SP的用来发送通知消息的操作消息,把所述通知消息发送给所述MT。When the SP initiates a request for sending a notification message to the MT, the USSDC sends the notification message to the MT according to the operation message from the SP for sending the notification message.

其中,步骤B还包括:Wherein, step B also includes:

当所述SP仅仅发起接入USSDC业务请求时,所述USSDC根据所述请求,向所述SP回送与该请求相应的响应。When the SP only initiates a request to access the USSDC service, the USSDC returns a response corresponding to the request to the SP according to the request.

优选的,preferred,

所述USSDC和所述SP之间的接口协议中包含接收消息和发送消息;The interface protocol between the USSDC and the SP includes receiving messages and sending messages;

所述接收消息和发送消息分别包括以下参数:操作类型,用于指示操作类型的指示字。The receiving message and sending message respectively include the following parameters: operation type, a pointer used to indicate the operation type.

优选的,preferred,

所述接收消息中的操作类型包括以下类型:请求、通知、计费、切换、结束、错误、异常;The operation types in the received message include the following types: request, notification, billing, switching, end, error, exception;

所述发送消息中的操作类型包括以下类型:开始、响应、错误、异常。The operation types in the sending message include the following types: start, response, error, and exception.

优选的,preferred,

所述接收消息和发送消息还分别包括以下参数:The receiving message and sending message also include the following parameters respectively:

会话号,用于指示SP和USSDC之间会话索引的指示字;Session number, used to indicate the pointer of the session index between SP and USSDC;

状态,用于指示错误码的指示字。Status, a pointer used to indicate the error code.

优选的,preferred,

所述接收消息还包括以下参数:The received message also includes the following parameters:

业务代码,用于指示业务接入码的指示字;Service code, used to indicate the pointer of the service access code;

切换模式,用于指示切换模式的指示字。Switch Mode, a pointer to indicate the switch mode.

根据本发明的另一个方面,提供了一种USSDC处理SP接入的前转处理系统,所述系统包括:According to another aspect of the present invention, a forwarding processing system for USSDC processing SP access is provided, and the system includes:

移动终端MT,用于经USSDC向SP发送请求并经USSDC接收SP的响应;The mobile terminal MT is used to send a request to the SP via the USSDC and receive a response from the SP via the USSDC;

服务提供商SP,用于响应所述MT的请求或者向USSDC发起请求;The service provider SP is used to respond to the request of the MT or initiate a request to the USSDC;

非结构化补充数据业务中心USSDC,用于在所述MT发出接入请求起直至完成相应服务提供商SP业务接入期间,转发MT的请求和响应,并根据来自所述SP的操作消息,向MT发送与所述操作消息对应的响应,或者用于当SP发起请求时,处理所述SP发起的请求。The unstructured supplementary data service center USSDC is used to forward the request and response of the MT from the time when the MT sends out the access request until the service access of the corresponding service provider SP is completed, and according to the operation message from the SP, to the The MT sends a response corresponding to the operation message, or is used to process the request initiated by the SP when the request is initiated by the SP.

优选的,preferred,

所述USSDC和所述SP之间的接口协议中包含接收消息和发送消息;The interface protocol between the USSDC and the SP includes receiving messages and sending messages;

所述接收消息和发送消息分别包括以下参数:操作类型,用于指示操作类型的指示字。The receiving message and sending message respectively include the following parameters: operation type, a pointer used to indicate the operation type.

优选的,preferred,

所述接收消息和发送消息还分别包括以下参数:The receiving message and sending message also include the following parameters respectively:

会话号,用于指示SP和USSDC之间会话索引的指示字;Session number, used to indicate the pointer of the session index between SP and USSDC;

状态,用于指示错误码的指示字。Status, a pointer used to indicate the error code.

与现有技术相比较,本发明的有益效果在于:扩展了USSD业务在接入多SP应用方面的能力,有利于运营商的增值业务的应用和推广。Compared with the prior art, the invention has the advantages of expanding the ability of the USSD service to access multi-SP applications, which is beneficial to the application and promotion of value-added services of operators.

附图说明 Description of drawings

图1是本发明实施例提供的SP接入处理的前转处理方法的流程图;Fig. 1 is a flow chart of a forwarding processing method for SP access processing provided by an embodiment of the present invention;

图2是本发明实施例提供的MT主动发起请求的SP接入处理的前转处理方法的流程图;2 is a flowchart of a forwarding processing method for SP access processing that an MT actively initiates a request provided by an embodiment of the present invention;

图3是本发明实施例提供的SP主动发起请求的SP接入处理的前转处理方法的流程图;3 is a flow chart of a forwarding processing method for SP access processing of an SP actively initiating a request provided by an embodiment of the present invention;

图4是本发明实施例提供的多SP应用流程的USSDC-SP协议接收消息参数表;Fig. 4 is the USSDC-SP protocol receiving message parameter table of the multi-SP application process provided by the embodiment of the present invention;

图5是本发明实施例提供的多SP应用流程的USSDC-SP协议发送消息参数表;Fig. 5 is the USSDC-SP protocol sending message parameter table of the multi-SP application flow that the embodiment of the present invention provides;

图6是本发明实施例提供的前转处理的SP信息表;FIG. 6 is an SP information table for forwarding processing provided by an embodiment of the present invention;

图7是本发明实施例提供的SP接入处理的前转处理系统的结构图。FIG. 7 is a structural diagram of a forwarding processing system for SP access processing provided by an embodiment of the present invention.

具体实施方式 Detailed ways

以下结合附图对本发明的优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described below are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

图1是本发明实施例提供的SP接入处理的前转处理方法的流程图,如图1所示,该方法包括以下步骤:Fig. 1 is the flow chart of the forwarding processing method of SP access processing that the embodiment of the present invention provides, as shown in Fig. 1, this method comprises the following steps:

步骤S101,在MT(Mobile Terminated,移动终端)发出接入请求起直至完成相应SP业务接入期间,USSDC转发MT的请求和响应,并根据来自所述SP的操作消息,向MT发送与所述操作消息对应的响应。Step S101, from the time when the MT (Mobile Terminated, mobile terminal) sends an access request until the corresponding SP service access period is completed, the USSDC forwards the request and response of the MT, and sends a message related to the MT to the MT according to the operation message from the SP. The response corresponding to the operation message.

步骤S102,当SP发起请求时,所述USSDC作为服务端处理所述SP发起的请求。Step S102, when the SP initiates a request, the USSDC acts as a server to process the request initiated by the SP.

图2是本发明实施例提供的MT主动发起请求的SP接入处理的前转处理方法的流程图,如图2所示,该方法具体流程如下:Fig. 2 is a flow chart of the forwarding processing method of the SP access processing that the MT actively initiates the request provided by the embodiment of the present invention, as shown in Fig. 2, the specific flow of the method is as follows:

步骤S201,定制SP服务的用户通过移动终端向USSDC发送接入请求,其中请求消息中包括USSD接入码*123#。In step S201, the user who subscribes to the SP service sends an access request to the USSDC through a mobile terminal, wherein the request message includes the USSD access code *123#.

步骤S202,USSDC收到用户的请求后,进行接入码解析,当USSDC分析出用户的请求是SP应用请求服务接入码,便将该请求转发给对应的SP服务器。In step S202, after receiving the user's request, the USSDC analyzes the access code, and when the USSDC analyzes that the user's request is an SP application request service access code, the USSDC forwards the request to the corresponding SP server.

步骤S203,SP服务器接收到请求后,调出相应的菜单或者回复返回给USSDC。In step S203, after receiving the request, the SP server invokes a corresponding menu or returns a reply to the USSDC.

步骤S204,USSDC收到SP服务器的响应后,把菜单内容推送给用户。In step S204, the USSDC pushes the menu content to the user after receiving the response from the SP server.

步骤S205,用户收到菜单后根据菜单内容选择查询账户余额,并将查询余额的请求发送给USSDC。Step S205, after receiving the menu, the user chooses to check the account balance according to the menu content, and sends the request for checking the balance to USSDC.

步骤S206,USSDC将查询余额的请求再次前转给SP服务器处理。In step S206, the USSDC forwards the balance inquiry request to the SP server again.

步骤S207,SP服务器收到用户查询余额的请求后,发送收集账号的消息给USSDC。In step S207, the SP server sends a message of collecting account numbers to the USSDC after receiving the request from the user to check the balance.

步骤S208,USSDC把接收到的收集账号的消息推送给用户。In step S208, the USSDC pushes the received message about collecting accounts to the user.

步骤S209,用户根据提示,输入查询的账号,并将账号发送给USSDC。Step S209, the user enters the account number to be queried according to the prompt, and sends the account number to the USSDC.

步骤S210,USSDC把账号信息转发给SP服务器。In step S210, the USSDC forwards the account information to the SP server.

步骤S211,SP服务器继续要求用户输入密码,并向USSDC发送请求密码的消息。In step S211, the SP server continues to ask the user to input a password, and sends a password request message to USSDC.

步骤S212,USSDC将请求密码的消息转发给用户。In step S212, the USSDC forwards the message requesting the password to the user.

步骤S213,用户输入密码,并将密码发送给USSDC。In step S213, the user inputs a password and sends the password to USSDC.

步骤S214,USSDC将密码转发给SP服务器。In step S214, the USSDC forwards the password to the SP server.

步骤S215,SP服务器完成全部的流程控制和参数收集处理,查询出用户的余额,并将账户余额发送给USSDC。In step S215, the SP server completes all flow control and parameter collection processing, queries the user's balance, and sends the account balance to the USSDC.

步骤S216,USSDC将账户余额转发给用户。Step S216, USSDC forwards the account balance to the user.

步骤S217,SP最后也可选择再发送一条余额短信给用户,此步骤是可选的。In step S217, the SP may choose to send another short message on the balance to the user at the end, and this step is optional.

图3是本发明实施例提供的SP主动发起请求的SP接入处理的前转处理方法的流程图,如图3所示,该方法具体流程如下:Fig. 3 is a flow chart of the forwarding processing method of the SP access processing that the SP actively initiates the request provided by the embodiment of the present invention. As shown in Fig. 3, the specific flow of the method is as follows:

步骤S301,SP服务器主动发送通知性消息给USSDC。In step S301, the SP server actively sends an informative message to the USSDC.

步骤S302,USSDC接收到该消息后,根据接口协议,解析出该消息是主动通知性消息,于是将该消息发送给用户。In step S302, after receiving the message, the USSDC parses out that the message is an active notification message according to the interface protocol, and then sends the message to the user.

步骤S303,用户接收到消息后,如果该通知性消息是需要用户确认的消息,则用户确认后,将响应消息发送给USSDC。Step S303, after the user receives the message, if the informative message is a message requiring confirmation by the user, the user sends a response message to the USSDC after confirmation.

步骤S304,USSDC再将用户响应发送给SP服务器。In step S304, the USSDC sends the user response to the SP server.

步骤S305,SP服务器收到用户的响应消息后,进行对应的处理,并通知USSDC结束该流程。In step S305, after receiving the response message from the user, the SP server performs corresponding processing, and notifies the USSDC to end the process.

从上面的流程图可以看出,USSDC主要完成交互功能,并不进行SP前置业务的逻辑处理。所有的逻辑处理都是由SP服务器完成,USSDC只需要进行转发。在这种模式中,最重要的是USSDC和SP之间的接口协议,底层协议本身采用TCP/IP进行通讯,因此如何定义上层接口至关重要。It can be seen from the above flow chart that USSDC mainly completes the interactive function, and does not perform logical processing of SP front-end services. All logical processing is done by the SP server, and USSDC only needs to forward. In this mode, the most important thing is the interface protocol between USSDC and SP. The underlying protocol itself uses TCP/IP for communication, so how to define the upper layer interface is very important.

图4是本发明实施例提供的多SP应用流程的USSDC-SP协议接收消息参数表,如图4所示,USSDC的接收消息包括以下参数:SessionID字段、MsIsdn字段、OpType字段、Status字段、ServiceCode字段、UssdString字段、SwitchMode字段、Chargeinfo1字段等。Fig. 4 is the USSDC-SP protocol receiving message parameter table of the multi-SP application process provided by the embodiment of the present invention. As shown in Fig. 4, the receiving message of USSDC includes the following parameters: SessionID field, MsIsdn field, OpType field, Status field, ServiceCode field, UssdString field, SwitchMode field, Chargeinfo1 field, etc.

SessionID字段,即会话号,是USSDC接口机和SP接口机保持会话的唯一索引,该会话号可以全部由SP侧接口机产生,USSDC端接口机接收到后原样返回。The SessionID field, that is, the session number, is the unique index for maintaining the session between the USSDC interface machine and the SP interface machine. The session ID can be all generated by the SP-side interface machine, and the USSDC-side interface machine returns it as it is after receiving it.

MsIsdn字段,即用户ID,是用户的唯一标志。MsIsdn字段对应的值包含用户号码。The MsIsdn field, that is, the user ID, is the unique identifier of the user. The value corresponding to the MsIsdn field contains the user number.

OpType字段,即操作类型,包括1请求、2通知、3计费、4切换、100错误、101异常六种类型。其中,1请求,表示需要和用户交互,一般是收集参数用。2通知,表明该消息是一个通知消息,直接推送给用户即可,不需要收集参数,通知消息一般是USSDC最后一次响应消息给用户。3计费,表示本次操作需要进行计费,可能动作是出话单,准备计费。4切换,表明需要切换到其它的SP服务器上,进而完成剩余操作,切换消息一般用于多SP服务器共同完成的操作。5结束,指明本次操作可以正常结束。100错误,表明SP收到一个错误请求或不能正确处理的请求,USSDC需要将此错误码发送给SP服务器,由SP服务器进一步响应处理。101异常,USSDC如果收到异常操作类型,则可以释放会话,结束本次操作。The OpType field, that is, the operation type, includes six types: 1 request, 2 notification, 3 billing, 4 switching, 100 error, and 101 exception. Among them, 1 request indicates the need to interact with the user, which is generally used to collect parameters. 2 Notification, indicating that the message is a notification message, which can be directly pushed to the user without collecting parameters. The notification message is generally the last response message of USSDC to the user. 3 Billing, indicating that this operation needs to be billed, and the possible action is to issue a bill and prepare for billing. 4 Switching indicates that it needs to be switched to other SP servers to complete the remaining operations. The switching message is generally used for operations completed jointly by multiple SP servers. 5 End, indicating that the operation can end normally. 100 error, indicating that the SP has received a wrong request or a request that cannot be processed correctly. USSDC needs to send this error code to the SP server, and the SP server will further respond and process it. 101 exception, if USSDC receives an abnormal operation type, it can release the session and end this operation.

Status字段,即状态,该字段只有当操作类型字段为100错误或者101异常时才有意义,此时Status字段表示错误码。The Status field is the state. This field is meaningful only when the operation type field is 100 error or 101 exception. At this time, the Status field indicates the error code.

ServiceCode字段,即业务代码,是指示接入某个SP的指示字段。The ServiceCode field, that is, the service code, is an indication field indicating access to a certain SP.

UssdString字段,即交互消息内容,比如菜单内容。The UssdString field is the interactive message content, such as menu content.

SwitchMode字段,即切换模式,通常根据具体需要定义,比如由通知消费切换到计费。The SwitchMode field, that is, the switching mode, is usually defined according to specific needs, such as switching from notification consumption to billing.

Chargeinfol字段,即计费字段,一般是一些需要USSDC给出相关话单的参数字段。The Chargeinfo field, that is, the charging field, is generally some parameter fields that require USSDC to provide relevant bills.

图5是本发明实施例提供的多SP应用流程的USSDC-SP协议发送消息参数表,如图5所示,USSDC的发送消息参数包括以下字段:SessionID字段、OpType字段、Status字段、UssdString字段及MsIsdn字段。Fig. 5 is the USSDC-SP protocol sending message parameter table of the multi-SP application flow that the embodiment of the present invention provides, as shown in Fig. 5, the sending message parameter of USSDC includes following fields: SessionID field, OpType field, Status field, UssdString field and MsIsdn field.

SessionID字段,即会话号,是SP接口机和USSDC接口机会话保持的唯一索引,初始时,可以填写:0xFFFFFFFF,然后由SP侧接口机产生一个会话号,USSDC端接口机接收到后原样返回。The SessionID field, that is, the session number, is the only index maintained by the session between the SP interface machine and the USSDC interface machine. Initially, it can be filled with: 0xFFFFFFFF, and then the SP-side interface machine generates a session number, and the USSDC-side interface machine returns it as it is after receiving it.

OpType字段,即操作类型,包括50开始、51响应、100错误、101异常四种类型。其中,50开始,表明收到用户初始请求后,转发初始请求给SP服务器。51响应,表明USSDC收到用户的响应,并将该响应传递给SP服务器,响应消息一般与请求消息对应,用户收集用户输入的参数信息传递给SP服务器。100错误,表示USSDC侧发送一个错误,需要SP侧指示进一步操作。101异常,表示USSDC发现一个异常,需要SP侧立即结束。The OpType field, that is, the operation type, includes four types: 50 Start, 51 Response, 100 Error, and 101 Abnormal. Among them, starting with 50 indicates that after receiving the initial request from the user, the initial request is forwarded to the SP server. 51 response, indicating that USSDC has received the user's response and passed the response to the SP server. The response message generally corresponds to the request message, and the user collects the parameter information input by the user and sends it to the SP server. 100 error, which means that the USSDC side sends an error, and the SP side needs to instruct further operations. 101 abnormality, which means that USSDC has found an abnormality and needs to end immediately on the SP side.

Status、UssdString及MsIsdn字段的意义和接收消息相同。The meanings of the Status, UssdString and MsIsdn fields are the same as those of the received message.

图6是本发明实施例提供的前转处理的SP信息表,如图6所示,SP信息包括以下字段:Spid字段、Funcid字段、Spnum字段、smscon字段、Serid字段、Sptype字段、messagetype字段。其中,Spid字段表示的是Sp代码;Funcid字段表示的是功能索引;Spnum字段表示SP接入号;smscon字段表示短信内容;Serid字段表示业务代码;Sptype字段表示Sp类型;messagetype字段表示的是消息类型,当sptype=1时,界面提示必须选择:0-ussd,1-sms,2-bothussd and sms,当sptype不是1时,界面不显示任何选择,默认插入0。FIG. 6 is an SP information table for forwarding processing provided by an embodiment of the present invention. As shown in FIG. 6, the SP information includes the following fields: Spid field, Funcid field, Spnum field, smscon field, Serid field, Sptype field, and messagetype field. Among them, the Spid field represents the Sp code; the Funcid field represents the function index; the Spnum field represents the SP access number; the smscon field represents the SMS content; the Serid field represents the service code; the Sptype field represents the Sp type; the messagetype field represents the message Type, when sptype=1, the interface prompts to choose: 0-ussd, 1-sms, 2-bothussd and sms, when sptype is not 1, the interface does not display any selection, and 0 is inserted by default.

工作时,USSDC首先从SP信息表中读取SP的相关数据,进而与SP进行通讯。When working, USSDC first reads the relevant data of the SP from the SP information table, and then communicates with the SP.

图7是本发明实施例提供的SP接入处理的前转处理系统的结构图,如图7所示,该系统包括移动终端MT1,非结构化补充数据业务中心USSDC2和服务提供商SP服务器3。Fig. 7 is a structural diagram of a forwarding processing system for SP access processing provided by an embodiment of the present invention. As shown in Fig. 7, the system includes a mobile terminal MT1, an unstructured supplementary data service center USSDC2 and a service provider SP server 3 .

工作时,MT1向USSDC2发送接入请求,USSDC2将该请求转发给SP服务器3。MT1向USSDC2发送接入码*123#,USSDC2收到请求后,进行接入码解析。当USSDC2分析出请求是SP应用请求服务接入码,便将该请求转发给对应的SP服务器3。When working, MT1 sends an access request to USSDC2, and USSDC2 forwards the request to SP server 3. MT1 sends the access code *123# to USSDC2, and USSDC2 analyzes the access code after receiving the request. When USSDC2 analyzes that the request is an SP application request service access code, it forwards the request to the corresponding SP server 3 .

SP服务器3接收到请求后,调出相应的菜单或者回复返回给USSDC2,USSDC2收到SP3的响应后,把菜单内容推送给MT1。MT1收到后根据菜单内容,选择查询账本余额操作,USSDC2收到MT1选择后,把该内容再次前转给SP服务器3处理。After receiving the request, the SP server 3 calls out the corresponding menu or returns a reply to USSDC2, and USSDC2 pushes the menu content to MT1 after receiving the response from SP3. After receiving it, MT1 selects the operation of querying the account balance according to the menu content. After receiving MT1's selection, USSDC2 forwards the content to the SP server 3 for processing.

SP服务器3收到用户查询余额的请求后,发送收集账号的消息给USSDC2,USSDC2把该消息推送给MT1。MT1根据提示,输入查询的账号,USSDC2把MT1输入的账号透传给SP服务器3,SP服务器3继续要求MT1输入密码,当MT1输入密码后,SP服务器3完成全部的流程控制和参数收集处理,查询出用户的余额,并经USSDC2返回给MT1,当然最后SP3也可以选择直接发送短信给MT1。After the SP server 3 receives the user's request to check the balance, it sends a message to collect the account number to USSDC2, and USSDC2 pushes the message to MT1. MT1 enters the query account according to the prompt, and USSDC2 transparently transmits the account entered by MT1 to SP server 3, and SP server 3 continues to ask MT1 to enter the password. After MT1 enters the password, SP server 3 completes all process control and parameter collection processing. Query the user's balance and return it to MT1 via USSDC2. Of course, SP3 can also choose to send a short message to MT1 directly.

USSDC和SP之间通讯时,USSDC接收消息包括以下参数:SessionID字段、MsIsdn字段、OpType字段、Status字段、ServiceCode字段、UssdString字段、SwitchMode字段、Chargeinfol字段等。During communication between USSDC and SP, USSDC receives the message including the following parameters: SessionID field, MsIsdn field, OpType field, Status field, ServiceCode field, UssdString field, SwitchMode field, Chargeinfo field, etc.

SessionID字段,即会话号,是USSDC接口机和SP接口机保持会话的唯一索引,该会话号可以全部由SP侧接口机产生,USSDC端接口机接收到后原样返回。The SessionID field, that is, the session number, is the unique index for maintaining the session between the USSDC interface machine and the SP interface machine. The session ID can be all generated by the SP-side interface machine, and the USSDC-side interface machine returns it as it is after receiving it.

MsIsdn字段,即用户ID,是用户的唯一标志。MsIsdn字段对应的值包含用户号码。The MsIsdn field, that is, the user ID, is the unique identifier of the user. The value corresponding to the MsIsdn field contains the user number.

OpType字段,即操作类型,包括1请求、2通知、3计费、4切换、100错误、101异常六种类型。其中,1请求,表示需要和用户交互,一般是收集参数用。2通知,表明该消息是一个通知消息,直接推送给用户即可,不需要收集参数,通知消息一般是USSDC最后一次响应消息给用户。3计费,表示本次操作需要进行计费,可能动作是出话单,准备计费。4切换,表明需要切换到其它的SP服务器上,进而完成剩余操作,切换消息一般用于多SP服务器共同完成的操作。5结束,指明本次操作可以正常结束。100错误,表明SP收到一个错误请求或不能正确处理的请求,USSDC需要将此错误码发送给SP服务器,由SP服务器进一步响应处理。101异常,USSDC如果收到异常操作类型,则可以释放会话,结束本次操作。The OpType field, that is, the operation type, includes six types: 1 request, 2 notification, 3 billing, 4 switching, 100 error, and 101 exception. Among them, 1 request indicates the need to interact with the user, which is generally used to collect parameters. 2 Notification, indicating that the message is a notification message, which can be directly pushed to the user without collecting parameters. The notification message is generally the last response message of USSDC to the user. 3 Billing, indicating that this operation needs to be billed, and the possible action is to issue a bill and prepare for billing. 4 Switching indicates that it needs to be switched to other SP servers to complete the remaining operations. The switching message is generally used for operations completed jointly by multiple SP servers. 5 End, indicating that the operation can end normally. 100 error, indicating that the SP has received a wrong request or a request that cannot be processed correctly. USSDC needs to send this error code to the SP server, and the SP server will further respond and process it. 101 exception, if USSDC receives an abnormal operation type, it can release the session and end this operation.

Status字段,即状态,该字段只有当操作类型字段为100错误或者101异常时才有意义,此时Status字段表示错误码。The Status field is the state. This field is meaningful only when the operation type field is 100 error or 101 exception. At this time, the Status field indicates the error code.

ServiceCode字段,即业务代码,是指示接入某个SP的指示字段。The ServiceCode field, that is, the service code, is an indication field indicating access to a certain SP.

UssdString字段,即交互消息内容,比如菜单内容。The UssdString field is the interactive message content, such as menu content.

SwitchMode字段,即切换模式,通常根据具体需要定义,比如由通知消费切换到计费。The SwitchMode field, that is, the switching mode, is usually defined according to specific needs, such as switching from notification consumption to billing.

Chargeinfol字段,即计费字段,一般是一些需要USSDC给出相关话单的参数字段。The Chargeinfo field, that is, the charging field, is generally some parameter fields that require USSDC to provide relevant bills.

USSDC发送消息参数包括以下字段:SessionID字段、OpType字段、Status字段、UssdString字段及MsIsdn字段。The message parameters sent by USSDC include the following fields: SessionID field, OpType field, Status field, UssdString field and MsIsdn field.

SessionID字段,即会话号,是SP接口机和USSDC接口机会话保持的唯一索引,初始时,可以填写:0xFFFFFFFF,然后由SP侧接口机产生一个会话号,USSDC端接口机接收到后原样返回。The SessionID field, that is, the session number, is the only index maintained by the session between the SP interface machine and the USSDC interface machine. Initially, it can be filled with: 0xFFFFFFFF, and then the SP-side interface machine generates a session number, and the USSDC-side interface machine returns it as it is after receiving it.

OpType字段,即操作类型,包括50开始、51响应、100错误、101异常四种类型。其中,50开始,表明收到用户初始请求后,转发初始请求给SP服务器。51响应,表明USSDC收到用户的响应,并将该响应传递给SP服务器,响应消息一般与请求消息对应,用户收集用户输入的参数信息传递给SP服务器。100错误,表示USSDC侧发送一个错误,需要SP侧指示进一步操作。101异常,表示USSDC发现一个异常,需要SP侧立即结束。The OpType field, that is, the operation type, includes four types: 50 Start, 51 Response, 100 Error, and 101 Abnormal. Among them, starting with 50 indicates that after receiving the initial request from the user, the initial request is forwarded to the SP server. 51 response, indicating that USSDC has received the user's response and passed the response to the SP server. The response message generally corresponds to the request message, and the user collects the parameter information input by the user and sends it to the SP server. 100 error, which means that the USSDC side sends an error, and the SP side needs to instruct further operations. 101 abnormality, which means that USSDC has found an abnormality and needs to end immediately on the SP side.

Status、UssdString及MsIsdn字段的意义和接收消息相同。The meanings of the Status, UssdString and MsIsdn fields are the same as those of the received message.

综上所述,本发明通过修改USSDC和SP的接口协议,实现了USSDC完成接入和多次交互功能,解决了USSDC仅仅起到接入功能、其强大的交互功完全没有被使用的问题。To sum up, the present invention realizes the access and multiple interaction functions of USSDC by modifying the interface protocol between USSDC and SP, and solves the problem that USSDC only performs the access function and its powerful interaction function is not used at all.

尽管上文对本发明进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。Although the present invention has been described in detail above, the present invention is not limited thereto, and various modifications can be made by those skilled in the art based on the principle of the present invention. Therefore, any modifications made according to the principles of the present invention should be understood as falling within the protection scope of the present invention.

Claims (10)

1.一种USSDC处理SP接入的前转处理方法,其特征在于,包括以下步骤:1. A USSDC processes the forwarding processing method of SP access, is characterized in that, comprises the following steps: A、在移动终端MT发出接入请求起直至完成相应服务提供商SP业务接入期间,非结构化补充数据业务中心USSDC转发MT的请求和响应,并根据来自所述SP的操作消息,向MT发送与所述操作消息对应的响应;A. During the period from when the mobile terminal MT sends an access request until the service access of the corresponding service provider SP is completed, the unstructured supplementary data service center USSDC forwards the request and response of the MT, and sends a message to the MT according to the operation message from the SP. sending a response corresponding to the operation message; B、当SP发起请求时,所述USSDC作为服务端处理所述SP发起的请求。B. When an SP initiates a request, the USSDC acts as a server to process the request initiated by the SP. 2.根据权利要求1所述的方法,其特征在于,步骤B包括:2. The method according to claim 1, wherein step B comprises: 当所述SP发起用来向MT发送通知消息的请求时,所述USSDC根据来自所述SP的用来发送通知消息的操作消息,把所述通知消息发送给所述MT。When the SP initiates a request for sending a notification message to the MT, the USSDC sends the notification message to the MT according to the operation message from the SP for sending the notification message. 3.根据权利要求2所述的方法,其特征在于,步骤B还包括:3. method according to claim 2, is characterized in that, step B also comprises: 当所述SP仅仅发起接入USSDC业务请求时,所述USSDC根据所述请求,向所述SP回送与该请求相应的响应。When the SP only initiates a request to access the USSDC service, the USSDC returns a response corresponding to the request to the SP according to the request. 4.根据权利要求1至3任一项所述的方法,其特征在于,4. The method according to any one of claims 1 to 3, characterized in that, 所述USSDC和所述SP之间的接口协议中包含接收消息和发送消息;The interface protocol between the USSDC and the SP includes receiving messages and sending messages; 所述接收消息和发送消息分别包括以下参数:操作类型,用于指示操作类型的指示字。The receiving message and sending message respectively include the following parameters: operation type, a pointer used to indicate the operation type. 5.根据权利要求4所述的方法,其特征在于,5. The method of claim 4, wherein, 所述接收消息中的操作类型包括以下类型:请求、通知、计费、切换、结束、错误、异常;The operation types in the received message include the following types: request, notification, billing, switching, end, error, exception; 所述发送消息中的操作类型包括以下类型:开始、响应、错误、异常。The operation types in the sending message include the following types: start, response, error, and exception. 6.根据权利要求4所述的方法,其特征在于,所述接收消息和发送消息还分别包括以下参数:6. The method according to claim 4, wherein the receiving message and the sending message also include the following parameters respectively: 会话号,用于指示SP和USSDC之间会话索引的指示字;Session number, used to indicate the pointer of the session index between SP and USSDC; 状态,用于指示错误码的指示字。Status, a pointer used to indicate the error code. 7.根据权利要求4所述的方法,其特征在于,所述接收消息还包括以下参数:7. The method according to claim 4, wherein the received message further comprises the following parameters: 业务代码,用于指示业务接入码的指示字;Service code, used to indicate the pointer of the service access code; 切换模式,用于指示切换模式的指示字。Switch Mode, a pointer to indicate the switch mode. 8.一种USSDC处理SP接入的前转处理系统,其特征在于,所述系统包括:8. A forwarding processing system for USSDC processing SP access, characterized in that the system includes: 移动终端MT,用于经USSDC向SP发送请求并经USSDC接收SP的响应;The mobile terminal MT is used to send a request to the SP via the USSDC and receive a response from the SP via the USSDC; 服务提供商SP,用于响应所述MT的请求或者向USSDC发起请求;The service provider SP is used to respond to the request of the MT or initiate a request to the USSDC; 非结构化补充数据业务中心USSDC,用于在所述MT发出接入请求起直至完成相应服务提供商SP业务接入期间,转发MT的请求和响应,并根据来自所述SP的操作消息,向MT发送与所述操作消息对应的响应,或者用于当SP发起请求时,处理所述SP发起的请求。The unstructured supplementary data service center USSDC is used to forward the request and response of the MT from the time when the MT sends out the access request until the service access of the corresponding service provider SP is completed, and according to the operation message from the SP, to the The MT sends a response corresponding to the operation message, or is used to process the request initiated by the SP when the request is initiated by the SP. 9.根据权利要求8所述的系统,其特征在于,9. The system of claim 8, wherein: 所述USSDC和所述SP之间的接口协议中包含接收消息和发送消息;The interface protocol between the USSDC and the SP includes receiving messages and sending messages; 所述接收消息和发送消息分别包括以下参数:操作类型,用于指示操作类型的指示字。The receiving message and sending message respectively include the following parameters: operation type, a pointer used to indicate the operation type. 10.根据权利要求8所述的系统,其特征在于,所述接收消息和发送消息还分别包括以下参数:10. The system according to claim 8, wherein the receiving message and the sending message further comprise the following parameters: 会话号,用于指示SP和USSDC之间会话索引的指示字;Session number, used to indicate the pointer of the session index between SP and USSDC; 状态,用于指示错误码的指示字。Status, a pointer used to indicate the error code.
CN2011101441614A 2011-05-31 2011-05-31 Forward-shifting processing method and system for SP (Service Provider) access of USSDC (Unstructured Supplementary Service Data Center) Pending CN102811428A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011101441614A CN102811428A (en) 2011-05-31 2011-05-31 Forward-shifting processing method and system for SP (Service Provider) access of USSDC (Unstructured Supplementary Service Data Center)
PCT/CN2011/079750 WO2012162980A1 (en) 2011-05-31 2011-09-16 Forward processing method and system for ussdc to process sp access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101441614A CN102811428A (en) 2011-05-31 2011-05-31 Forward-shifting processing method and system for SP (Service Provider) access of USSDC (Unstructured Supplementary Service Data Center)

Publications (1)

Publication Number Publication Date
CN102811428A true CN102811428A (en) 2012-12-05

Family

ID=47234979

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101441614A Pending CN102811428A (en) 2011-05-31 2011-05-31 Forward-shifting processing method and system for SP (Service Provider) access of USSDC (Unstructured Supplementary Service Data Center)

Country Status (2)

Country Link
CN (1) CN102811428A (en)
WO (1) WO2012162980A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017173967A1 (en) * 2016-04-06 2017-10-12 中兴通讯股份有限公司 Redirection method, service provider, unstructured supplementary service data center, and system
CN108462944A (en) * 2017-02-22 2018-08-28 中兴通讯股份有限公司 A kind of method and apparatus of information processing, USSDGW

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592430A (en) * 2003-08-27 2005-03-09 华为技术有限公司 Method for realizing service transfer in unstructured service data supplement service application
WO2007134689A1 (en) * 2006-05-18 2007-11-29 Esmertec Ag Method and apparatus for delivering advertisements to mobile users
CN101330662A (en) * 2008-07-30 2008-12-24 华为技术有限公司 Service content information query method, system and service provider platform
CN101340631A (en) * 2008-08-28 2009-01-07 杭州东信北邮信息技术有限公司 System and method for sending prompt information to customer combined with customized ring back tone
CN101951576A (en) * 2010-09-19 2011-01-19 中兴通讯股份有限公司 Method for implementing USSD (Unstructured Supplementary Service Data) application service and USSD centre

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1176556C (en) * 2001-07-04 2004-11-17 华为技术有限公司 Mobile data service network system and its communication method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1592430A (en) * 2003-08-27 2005-03-09 华为技术有限公司 Method for realizing service transfer in unstructured service data supplement service application
WO2007134689A1 (en) * 2006-05-18 2007-11-29 Esmertec Ag Method and apparatus for delivering advertisements to mobile users
CN101330662A (en) * 2008-07-30 2008-12-24 华为技术有限公司 Service content information query method, system and service provider platform
CN101340631A (en) * 2008-08-28 2009-01-07 杭州东信北邮信息技术有限公司 System and method for sending prompt information to customer combined with customized ring back tone
CN101951576A (en) * 2010-09-19 2011-01-19 中兴通讯股份有限公司 Method for implementing USSD (Unstructured Supplementary Service Data) application service and USSD centre

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017173967A1 (en) * 2016-04-06 2017-10-12 中兴通讯股份有限公司 Redirection method, service provider, unstructured supplementary service data center, and system
CN107277864A (en) * 2016-04-06 2017-10-20 中兴通讯股份有限公司 Reorientation method, service provider, unstructured supplementary data traffic center and system
CN108462944A (en) * 2017-02-22 2018-08-28 中兴通讯股份有限公司 A kind of method and apparatus of information processing, USSDGW
WO2018153231A1 (en) * 2017-02-22 2018-08-30 中兴通讯股份有限公司 Information processing method and device, and storage medium

Also Published As

Publication number Publication date
WO2012162980A1 (en) 2012-12-06

Similar Documents

Publication Publication Date Title
CN101111071B (en) Method for implementing unstructured user data function in CDMA intelligent network business
CN105635487B (en) Mobile Internet traffic statistics and display method, device and mobile phone
US20110070871A1 (en) Mobile Communications Facilitated by Interactive Menus
SE535546C2 (en) Method and apparatus for verifying a telephone number
CN101702793A (en) Implementation method, system and equipment of USSD service in CDMA network
JP2012517725A5 (en)
CN103715724A (en) Charging control method and charging control device
CN103327464A (en) Charging method and system of MTC communication and message processing entity
EP1802028B2 (en) A charging network , charging agent apparatus as well and the charging method thereof
CN101951576B (en) Method for implementing USSD (Unstructured Supplementary Service Data) application service and USSD centre
CN102143462A (en) Mobile data service platform, system and method for providing value-added service
WO2015131561A1 (en) Method and device for implementing short message forwarding as instant messaging
CN103929731B (en) The booking method and device of value-added service
CN102811428A (en) Forward-shifting processing method and system for SP (Service Provider) access of USSDC (Unstructured Supplementary Service Data Center)
CN101217708B (en) Method and system for realizing WAP push service authentication by short message center
CN1575611A (en) Mobile phone telephony
CN101247562B (en) Method and system for implementing CDMA wireless intelligent network MAP short message
CN103002563B (en) User profile register method and system
CN105208536A (en) Short message sending method and device
CN104104662B (en) Method and device for processing session service connection
KR101378254B1 (en) Method and System for Adaptive Messaging
CN103906019B (en) History menu function realizing method and server based on USSD
CN101809985A (en) Information communication method for prepaid service subscribers
CN101471927A (en) Method and device for processing document transmission and document transmission system
WO2010139264A1 (en) Network element registration subsystem, telecommunication value-added service system and network element registration method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20121205