CN1553738A - A method and system for testing short message center functions - Google Patents
A method and system for testing short message center functions Download PDFInfo
- Publication number
- CN1553738A CN1553738A CNA031383939A CN03138393A CN1553738A CN 1553738 A CN1553738 A CN 1553738A CN A031383939 A CNA031383939 A CN A031383939A CN 03138393 A CN03138393 A CN 03138393A CN 1553738 A CN1553738 A CN 1553738A
- Authority
- CN
- China
- Prior art keywords
- short message
- test device
- message center
- interface
- gateway
- 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
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种对短消息中心功能进行测试的方法,该方法为:由第一测试装置通过接口与短消息中心建立连接,并登录到该短消息中心;在该第一测试装置中填写短消息并将其提交到短消息中心;以及由该第一测试装置接收短消息中心返回的响应消息,以从该响应消息中获得测试所需字段信息。本发明还公开了一种用于测试短消息系统功能的测试装置和一种短消息系统功能的测试系统。本发明能大大提高测试的效率,克服了现有技术中进行短消息测试时操作繁琐和效率低的缺点。
The invention discloses a method for testing the function of a short message center. The method is as follows: a first test device establishes a connection with the short message center through an interface, and logs in to the short message center; fills in the first test device and submit the short message to the short message center; and the first test device receives the response message returned by the short message center to obtain field information required for testing from the response message. The invention also discloses a test device for testing the function of the short message system and a test system for the function of the short message system. The invention can greatly improve the efficiency of testing, and overcomes the shortcomings of cumbersome operation and low efficiency in short message testing in the prior art.
Description
技术领域technical field
本发明涉及通信领域中的信息传输技术,尤指一种对短消息中心功能进行测试的方法及系统。The invention relates to information transmission technology in the field of communication, in particular to a method and system for testing the function of a short message center.
背景技术Background technique
在现在的移动通信中,短消息已是一种非常通用的通信方式,且通过短消息中心发送的短消息量也在与日俱增,为保证短消息能从一个移动终端正确及时地发送到另一个移动终端,建立一个功能强大且稳定的短消息中心就显得尤为必要。In current mobile communications, short messages are already a very common communication method, and the amount of short messages sent through the short message center is also increasing day by day. In order to ensure that short messages can be sent from one mobile terminal to another in a timely manner Terminal, it is particularly necessary to establish a powerful and stable short message center.
为达上述目的,就很有必要对短消息中心进行功能测试。在现有技术中,大多数测试都是通过测试人员手工操作手机或信息话机进行短消息收发来进行的,很明显,这种测试方法操作烦琐,速度慢,容易出现差错;同时,由于短消息中以的许多参数对于测试者来说是不透明的,无法对短消息系统进行灵活的测试。In order to achieve the above-mentioned purpose, it is necessary to carry out a functional test on the short message center. In the prior art, most tests are carried out by testers manually operating mobile phones or information phones to send and receive short messages. Obviously, this test method is cumbersome to operate, slow in speed, and prone to errors; at the same time, due to short message Many parameters are opaque to the tester, and it is impossible to test the short message system flexibly.
可见,如何设计一种自动化程度高且测试完善的测试方法及系统是现有技术中极需解决的问题。It can be seen that how to design a testing method and system with a high degree of automation and complete testing is an urgent problem to be solved in the prior art.
发明内容Contents of the invention
本发明提供一种对短消息中心功能进行测试的方法及系统,以解决现有技术因采用人工测试方式引起的测试效率低的问题。The invention provides a method and a system for testing the function of the short message center to solve the problem of low testing efficiency caused by manual testing in the prior art.
为解决上述问题,本发明提供如下的技术方案:In order to solve the above problems, the present invention provides the following technical solutions:
一种对短消息中心功能进行测试的方法,包括步骤:A method for testing the short message center function, comprising steps:
A、由第一测试装置与短消息中心建立连接,并登录到该短消息中心;A. Establish a connection with the short message center by the first test device, and log in to the short message center;
B、在该第一测试装置中填写短消息并将其提交到短消息中心;以及B. fill in a short message in the first test device and submit it to the short message center; and
C、该第一测试装置接收短消息中心返回的响应消息,以从该响应消息中获得测试所需字段。C. The first test device receives the response message returned by the short message center, so as to obtain the fields required for testing from the response message.
所述方法还包括步骤:The method also includes the steps of:
D、短消息中心根据短消息中的目的号码将该短消息下发到源网关;D. The short message center sends the short message to the source gateway according to the destination number in the short message;
E、源网关通过接口向第二测试装置发送计费请求消息,由该第二测试装置模拟业务控制点进行相应的计费处理。E. The source gateway sends a charging request message to the second test device through the interface, and the second test device simulates the service control point to perform corresponding charging processing.
F、源网关将短消息转发到目的网关;F. The source gateway forwards the short message to the destination gateway;
G、目的网关通过接口将该短消息转发给第三测试装置,第三测试装置模拟因特网内容提供商或短信业务提供商处理短消息内容表示的业务,并将处理结果返回给目的网关;G, destination gateway forwards this short message to the 3rd testing device through interface, and the 3rd testing device simulates the business that Internet content provider or short message service provider handles short message content representation, and processing result is returned to destination gateway;
H、目的网关收到第三测试装置的响应消息后产生移动用户发起的短消息(SMO)话单,并产生状态报告发送给源网关;H, the target gateway generates the short message (SMO) call list initiated by the mobile user after receiving the response message of the third test device, and generates a status report to send to the source gateway;
I、源网关接收到状态报告后产生移动用户发起并由网关前转的短消息(SMOF)话单,并向第二测试装置发送计费确认消息,由第二测试装置完成计费处理。1. After the source gateway receives the status report, it generates the short message (SMOF) bill that the mobile user initiates and is forwarded by the gateway, and sends a billing confirmation message to the second test device, and the second test device completes the billing process.
所述第一测试装置采用SMPP协议、SMEI协议或CMPP协议与短消息中心交互。The first testing device interacts with the short message center by using SMPP protocol, SMEI protocol or CMPP protocol.
一种对短消息中心功能进行测试的装置,包括:A device for testing the function of a short message center, comprising:
用于信息处理的处理器;Processors for information processing;
用于存储信息的存储器;memory for storing information;
用于处理TCP/IP连接中的服务端事务的服务端处理模块;A server-side processing module for processing server-side transactions in a TCP/IP connection;
用于处理TCP/IP连接中的客户端事务的客户端处理模块;A client processing module for processing client transactions in a TCP/IP connection;
用于接口事务处理的接口处理模块;An interface processing module for interface transaction processing;
用于处理短消息、增减用户和处理业务相关功能的消息处理模块;A message processing module for processing short messages, adding and deleting users, and handling business-related functions;
用于完成SMPP协议、CMPP协议、内部协议之间消息的格式转换编解码的编解码模块;A codec module used to complete the format conversion codec of messages between SMPP protocol, CMPP protocol, and internal protocols;
用于启动服务端处理模块、客户端处理模块、消息处理模块、接口处理模块和编解码模块,并进行初始化和退出处理的程序调度模块;A program scheduling module for starting the server processing module, client processing module, message processing module, interface processing module and codec module, and performing initialization and exit processing;
用于提供操作界面并接收输入信息,以及根据输入命令启动动态链接库模块的测试程序模块。The test program module is used to provide an operation interface, receive input information, and start the dynamic link library module according to the input command.
一种短消息中心系统功能的测试系统,包括:短消息中心,用于与短消息中心设备配合转发短消息的网关,其结构特点在于还包括第一测试装置,该第一测试装置通过接口与所述短消息中心连接,用于向该短消息中心发送短消息或从该短消息中心接收短消息。A test system for the function of a short message center system, comprising: a short message center, a gateway for cooperating with short message center equipment to forward short messages, and its structural feature is that it also includes a first test device, and the first test device passes through the interface It is connected with the short message center and is used for sending a short message to the short message center or receiving a short message from the short message center.
所述测试系统还包括与第一测试装置相同的第二测试装置,该第二测试装置通过接口与网关相连,用于模拟业务控制点处理网关上报的计费请求和计费确认请求。The test system also includes a second test device identical to the first test device, which is connected to the gateway through an interface, and is used to simulate the service control point to process the charging request and charging confirmation request reported by the gateway.
所述测试系统还包括与第一测试装置相的第三测试装置,该第三测试装置通过接口与一网关相连,用于模拟用户发送/接收短消息。The test system also includes a third test device corresponding to the first test device, the third test device is connected to a gateway through an interface, and is used for simulating a user sending/receiving a short message.
所述的短消息中心为GSM短消息中心、CDMA短消息中心或固网短消息中心。The short message center is a GSM short message center, a CDMA short message center or a fixed network short message center.
本发明可以方便灵活的在一台PC机上实现短消息设备的绝大多数功能测试,无论是厂家自己组织的内部测试还是由行业主管部门组织的统一测试,都可采用本发明来大大提高测试的效率,从而克服了现有技术中单一的使用手机或信息话机进行短消息测试的缺点是操作繁琐,效率低,参数无法灵活设置,需要一套完整的无线通信设备的缺点。使用本发明后,对短消息系统的相关设备如短消息中心、短消息网关的测试可以由设备厂商或行业主管部门独立进行功能正确性测试和性能测试,从而省去了购买和维护无线通信设备、智能网设备的大量资金,极大的节约了短消息设备的测试成本。The present invention can conveniently and flexibly realize most of the functional tests of the short message equipment on a PC, whether it is an internal test organized by the manufacturer itself or a unified test organized by the competent department of the industry, the present invention can be used to greatly improve the testing efficiency. Efficiency, thereby overcoming the shortcomings of single use of mobile phones or information phones for short message testing in the prior art, which are cumbersome operations, low efficiency, inability to flexibly set parameters, and the need for a complete set of wireless communication equipment. After using the present invention, the test of the relevant equipment of the short message system such as the short message center and the short message gateway can be independently carried out by the equipment manufacturer or the industry authority to perform the function correctness test and performance test, thereby eliminating the need to purchase and maintain wireless communication equipment , A large amount of funds for intelligent network equipment, greatly saving the test cost of short message equipment.
附图说明Description of drawings
图1为本发明测试装置与短消息中心连接的示意图;Fig. 1 is the schematic diagram that testing device of the present invention is connected with short message center;
图2、图3为测试装置内测试工具结构图;Figure 2 and Figure 3 are structural diagrams of the test tool in the test device;
图4为对短消息中心进行测试的流程图;Fig. 4 is the flowchart that short message center is tested;
图5为本发明测试系统的结构示意图。Fig. 5 is a schematic structural diagram of the testing system of the present invention.
具体实施方式Detailed ways
参阅图1,测试装置由一台普通配置的微型计算机的硬件结构和存储在该计算机内的测试工具模块构成。测试工具模块运行在Microsoft Windows操作系统上。测试装置通过SOCKET接口(一种网络应用编程接口)与短消息中心(还可以是短消息梦网网关、短消息互联网关等)连接,相互之间采用标准的短消息国标协议、短消息点对点(Short Message Peer To Peer,SMPP)协议、或中国移动点对点(China Mobile Peer To Peer,CMPP)协议交互。Referring to Fig. 1, the test device is composed of the hardware structure of a commonly configured microcomputer and the test tool modules stored in the computer. The test tool module runs on the Microsoft Windows operating system. The test device is connected to the short message center (it can also be a short message Monternet gateway, a short message Internet gateway, etc.) through a SOCKET interface (a network application programming interface). Short Message Peer To Peer, SMPP) protocol, or China Mobile Peer To Peer (China Mobile Peer To Peer, CMPP) protocol interaction.
参阅图2,测试工具模块包括测试程序模块和由多个功能模块封装成的动态连接库模块SMEIDLL.DLL。测试程序模块用于提供操作界面并接收输入信息,并根据输入命令调用动态链接库程序模块。Referring to Fig. 2, the test tool module includes a test program module and a dynamic link library module SMEIDLL.DLL encapsulated by multiple function modules. The test program module is used to provide an operation interface and receive input information, and call the dynamic link library program module according to the input command.
参阅图3,动态链接库SMEIDLL.DLL中封装了诸如底层通信连接、消息收发、出错处理、握手保持长连接、登录处理、发送短消息、替换短消息等输出函数,测试程序在编写时直接调用动态库中相应的函数即可实现相关功能。Referring to Figure 3, the dynamic link library SMEIDLL.DLL encapsulates output functions such as underlying communication connection, message sending and receiving, error handling, handshaking to maintain a long connection, login processing, sending short messages, replacing short messages, etc., and the test program is directly called when writing The corresponding functions in the dynamic library can realize the relevant functions.
动态链接库SMEIDLL.DLL由程序调度模块、服务端处理、客户端处理、消息处理、接口处理模块、编解码模块、注册表处理等模块构成。The dynamic link library SMEIDLL.DLL is composed of program scheduling module, server processing, client processing, message processing, interface processing module, codec module, registry processing and other modules.
程序调度模块:该模块是整个动态链接库的控制模块,动态库的初始化和退出处理都在该模块中实现。Program scheduling module: This module is the control module of the entire dynamic link library, and the initialization and exit processing of the dynamic library are all implemented in this module.
服务端处理模块:该模块是用来处理TCP/IP连接中的服务端事务,如生成服务器,侦听连接,连接维护,网络出错处理,发送接收数据,数据库缓冲区管理等。Server-side processing module: This module is used to handle server-side transactions in TCP/IP connections, such as generating servers, listening to connections, connection maintenance, network error handling, sending and receiving data, database buffer management, etc.
客户端处理模块:该模块是用来处理TCP/IP连接中的客户端事务,如向服务器请求连接,握手请求,网络出错处理,发送接收数据,数据库缓冲区管理等。Client processing module: This module is used to process client affairs in TCP/IP connection, such as requesting connection to the server, handshake request, network error processing, sending and receiving data, database buffer management, etc.
消息处理模块:该模块用来完成短消息的拼装,短消息的发送/接收,替换短消息,查询短消息,增加用户,删除用户等和业务相关的功能。Message processing module: This module is used to assemble short messages, send/receive short messages, replace short messages, query short messages, add users, delete users and other business-related functions.
接口处理模块:该模块用来维护接口的初始化、连接、应答处理、消息缓冲区忙闲判断、读消息回调、出错处理回调、自动重连等功能。Interface processing module: This module is used to maintain interface initialization, connection, response processing, message buffer busy/busy judgment, read message callback, error processing callback, automatic reconnection and other functions.
编解码模块:该模块用来完成SMPP协议、CMPP协议、内部协议之间消息的格式转换编解码工作。Codec module: This module is used to complete the format conversion codec work of messages between SMPP protocol, CMPP protocol and internal protocol.
注册表处理模块:该模块完成对Windows注册表项的读、写、添加、删除等操作,使得上次测试时的相关信息如短消息中心IP地址等可以存储在注册表中,增强了测试工具的可操作性。Registry processing module: This module completes operations such as reading, writing, adding, and deleting Windows registry entries, so that relevant information such as the IP address of the short message center during the last test can be stored in the registry, and the test tool is enhanced operability.
测试装置在使用中是用来模拟和短消息系统通信的若干实体如:扩展短消息实体(ESME)、业务控制点(SCP)、因特网内容提供商(ICP)等,因此其功能也顺从相关的规范《900/1800MHz TDMA数字蜂窝移动通信网扩展短消息实体到短消息中心的接口协议规范》和《移动梦网短信业务信令流程规范》。The test device is used to simulate several entities communicating with the short message system, such as: Extended Short Message Entity (ESME), Service Control Point (SCP), Internet Content Provider (ICP), etc., so its functions also comply with relevant Specifications "900/1800MHz TDMA Digital Cellular Mobile Communication Network Extended Short Message Entity to Short Message Center Interface Protocol Specification" and "Monternet Short Message Service Signaling Process Specification".
测试程序模块调用动态连接库模块使测试装置主要实现以下功能:The test program module calls the dynamic link library module to make the test device mainly realize the following functions:
(1)测试装置的Socket接口具有自动重连功能。测试装置首先必须通过TCP/IP协议来和被测试系统建立连接,然后才能进行消息的交互。通过在测试程序模块提供的界面上指定IP地址、TCP端口号和协议类型,可以和被测系统建立一个具有自动重连功能的Socket接口并绑定接口的协议类型。该接口在断连后会周期性的和被测设备进行重连而不用再重新手工建立连接,方便测试。(1) The Socket interface of the test device has the function of automatic reconnection. The test device must first establish a connection with the system under test through the TCP/IP protocol, and then exchange messages. By specifying the IP address, TCP port number and protocol type on the interface provided by the test program module, a Socket interface with automatic reconnection function can be established with the system under test and the protocol type of the interface can be bound. After the interface is disconnected, it will periodically reconnect with the device under test without having to re-establish the connection manually, which is convenient for testing.
(2)测试装置采用灵活的登录短消息中心的方式。测试装置通过选择不同的登录方式分别以SMPP协议和短消息国标协议所规定的Transmitter型接口、Receiver型接口和Tranceiver型接口登录到短消息中心,登录时通过输入正确的账号和密码来保证登录短消息中心的身份鉴别。这些接口是建立在SOCKET接口之上的上层接口,在SOCKET接口建立后才能创建。(2) The test device adopts a flexible way of logging into the short message center. The test device logs in to the short message center by selecting different login methods through the Transmitter interface, Receiver interface and Tranceiver interface stipulated in the SMPP protocol and the short message national standard protocol. Identity authentication of the message center. These interfaces are upper-layer interfaces built on top of the SOCKET interface, and can only be created after the SOCKET interface is established.
因为根据欧洲电信标准委员会(European Telecommunications StandardsInstitute,ETSI)短消息协议和短消息国标协议的规定,ESME在和短消息中心建立底层TCP/IP连接后,要能和短消息中心进行消息交互,必须以短消息中心注册的合法账号和密码登录到短消息中心,所以测试装置满足此规定。Because according to the European Telecommunications Standards Institute (ETSI) short message protocol and short message national standard protocol, ESME must use The legal account number and password registered in the short message center log in to the short message center, so the test device meets this requirement.
(3)在成功建立底层TCP/IP连接并正确登录了短消息中心以后,就可以执行向短消息中心提交消息,从短消息中心接收消息等等测试动作。通过在界面上进行选择还可以分别发送普通短消息和高优先级短消息,在发送消息时在软件界面上填写短消息的如下参数:源地址、目的地址、号码类型(TON)、编号方案(NPI)、有效期、定时下发时间、调度方式(存储转发、数据报、事务)、状态报告要求标志(SRR)、预定义短消息ID等。(3) After the underlying TCP/IP connection is successfully established and the short message center is correctly logged in, test actions such as submitting messages to the short message center and receiving messages from the short message center can be performed. Ordinary short messages and high-priority short messages can also be sent separately by selecting on the interface. When sending a message, fill in the following parameters of the short message on the software interface: source address, destination address, number type (TON), numbering scheme ( NPI), validity period, scheduled sending time, scheduling mode (store and forward, datagram, transaction), status report request flag (SRR), predefined short message ID, etc.
(4)通过在界面上选择短消息内容为二进制流格式,将短消息内容有头结构(UDHI)标志置位,在短消息内容中填写十六进制数据,以支持发送增强型短消息(EMS)。(4) By selecting the content of the short message on the interface as a binary stream format, the content of the short message has a header structure (UDHI) flag is set, and the hexadecimal data is filled in the content of the short message to support sending the enhanced short message ( EMS).
(5)通过在界面上打开自动接收开关并在短消息设备中将下发路由指向此测试装置,测试装置可以自动接收短消息并进行计数。如果测试时想观察某条特殊消息的内容和参数,可以关闭自动接收,使用手工接收功能显示消息内容。(5) By turning on the automatic receiving switch on the interface and directing the sending route to the test device in the short message device, the test device can automatically receive short messages and count them. If you want to observe the content and parameters of a special message during testing, you can turn off automatic receiving and use the manual receiving function to display the message content.
(6)如果短消息由于某种原因未能成功下发而是暂存在短消息中心的内存中,可以查询内存中的短消息详细信息,可以使用新的消息替换原消息,可以取消原消息。(6) If the short message fails to be delivered for some reason but is temporarily stored in the memory of the short message center, you can query the detailed information of the short message in the memory, replace the original message with a new message, or cancel the original message.
(7)通过测试装置具有用户管理功能,可以用它来为短消息中心添加注册用户、删除注册用户、修改注册用户和查询注册用户,为方便测试和使用,还可进行用户批增、批删、批改。(7) The test device has user management functions, which can be used to add registered users, delete registered users, modify registered users and query registered users for the short message center. For the convenience of testing and use, users can also be added and deleted in batches , correction.
(8)采用测试装置模拟业务控制点(SCP)与短消息中心之间的协议来和短消息设备进行交互。由于预付费用户发送短消息是实时计费的,短消息中心、梦网网关、互联网关等短消息设备和SCP之间需要有协议交互。因此,在不具备SCP的条件下,采用测试装置。(8) The test device is used to simulate the protocol between the service control point (SCP) and the short message center to interact with the short message device. Since the short message sent by the prepaid user is charged in real time, there needs to be protocol interaction between the short message center, Monternet gateway, Internet gateway and other short message devices and the SCP. Therefore, in the absence of SCP, the test device was used.
(9)测试装置可模拟因特网内容提供商(ICP)连接到短消息设备(短消息中心或短消息网关),与短消息设备进行消息交互。(9) The test device can simulate an Internet content provider (ICP) to connect to a short message device (short message center or short message gateway), and perform message interaction with the short message device.
随着移动梦网和联通在信等业务的开展,众多的ICP将自行开发的短消息业务都挂在短消息设备上,为了测试短消息设备对业务的支持能力,测试装置通过模拟收发移动梦网点对点协议(CMPP)格式的消息和联通在信网关互联协议(SGIP)格式的消息,以实现ICP功能。With the development of China Mobile Monternet and China Unicom's services, many ICPs hang their self-developed short message services on short message devices. In order to test the ability of short message devices to support services, the test device simulates sending and receiving Messages in the format of the Network Point-to-Point Protocol (CMPP) and messages in the format of China Unicom's Gateway Interconnection Protocol (SGIP) to realize the ICP function.
参阅图4所示:对短消息中心的测试过程如下:Referring to shown in Figure 4: the test process to the short message center is as follows:
1、在测试工具中设置好短消息中心的IP地址和侦听端口号,使测试装置通过SOCKET接口和短消息中心建立连接。短消息中心为服务器端,测试工具作为客户端去连接短消息中心。如果连接不成功,提示网络连接出错信息,对IP地址和端口号等进行检查。1. Set the IP address and listening port number of the short message center in the test tool, so that the test device can establish a connection with the short message center through the SOCKET interface. The short message center is the server side, and the test tool is used as the client to connect to the short message center. If the connection is unsuccessful, a network connection error message is prompted, and the IP address and port number are checked.
2、测试装置提供登录短消息中心所需的账号名和密码,登录短消息中心。2. The test device provides the account name and password required for logging in to the short message center, and logs in to the short message center.
如果登录不成功,则提示登录出错信息,并对帐号和口令等进行检查后继续登录。If the login is unsuccessful, it will prompt a login error message, and continue to log in after checking the account number and password.
3、在测试工具中填写包括源地址、目的地址、编码方案、短消息内容等参数的短消息,并提交到短消息中心。3. Fill in the short message including source address, destination address, encoding scheme, short message content and other parameters in the test tool, and submit it to the short message center.
如果测试工具提示参数不合法,则需检查参数填写是否正确。If the test tool prompts that the parameters are invalid, you need to check whether the parameters are filled in correctly.
4、测试装置接短消息中心返回的响应消息,通过测试工具察看跟踪信息、分析协议正确性等。4. The test device receives the response message returned by the short message center, checks the tracking information and analyzes the correctness of the protocol through the test tool.
如果收到短消息中心返回的提交失败信息,则需检查短消息中心返回消息中结果字段的值以确定失败原因;如果提交成功,也需通过检查短消息中心返回消息中的各个字段是否正确。If you receive the submission failure information returned by the short message center, you need to check the value of the result field in the message returned by the short message center to determine the cause of the failure; if the submission is successful, you also need to check whether each field in the message returned by the short message center is correct.
参阅图5,使用第一测试装置模拟手机用户、使用第二测试装置模拟业务控制点(SCP)、使用第三测试装置模拟因特网内容提供商(ICP),通过对各测试点消息进行观察,以完成对短消息梦网业务测试。Referring to Fig. 5, use the first test device to simulate the mobile phone user, use the second test device to simulate the service control point (SCP), use the third test device to simulate the Internet content provider (ICP), by observing each test point message, with Completed the test of SMS Monternet service.
图中各部件之间的连接协议如下:短消息中心和梦网网关之间采用SMPP协议连接;梦网网关和第二测试装置(模拟的业务控制点)之间采用增强的短消息点对点(EMPP:Enhanced Mes sage Peer To Peer)协议连接;多个梦网网关之间采用CMPP协议连接;梦网网关和第三测试装置(模拟的ICP)之间采用CMPP协议连接。其中短消息中心和CMPP网关为待测设备。The connection protocol between the components in the figure is as follows: the SMPP protocol is used to connect between the short message center and the Monternet gateway; the enhanced short message point-to-point (EMPP) is adopted between the Montnets gateway and the second test device (simulated service control point). : Enhanced Message Peer To Peer) protocol connection; CMPP protocol connection is adopted between multiple Monternet gateways; CMPP protocol connection is adopted between Monternet gateway and the third test device (simulated ICP). Among them, the short message center and the CMPP gateway are the devices to be tested.
第一测试装置通过供账号和密码方式登录短消息中心,第二、第三测试装置通过供账号和密码方式登录梦网网关。The first test device logs into the short message center by providing an account number and a password, and the second and third test devices log in to the Montnets gateway by providing an account number and a password.
其测试过程如下:The testing process is as follows:
(1)第一测试装置模拟的神州行用户提交短消息到短消息中心,目的号码为ICP的服务代码。该测试装置使用SMPP协议的“提交短消息(submit_sm)”命令。(1) The Shenzhouxing user simulated by the first testing device submits a short message to the short message center, and the destination number is the service code of the ICP. The test set uses the "submit_sm" command of the SMPP protocol.
(2)短消息中心根据短消息的目的号码把短消息路由到源CMPP网关,使用SMPP协议的“下发短消息deliver_sm”命令;(2) the short message center routes the short message to the source CMPP gateway according to the destination number of the short message, and uses the "send short message deliver_sm" command of the SMPP protocol;
(3)源CMPP网关向其接入的第二测试装置(模拟的SCP)发送神州行用户的计费请求,使用EMPP协议的“短消息扣费(sm-chg)”命令;(请对第二测试装置的处理过程描述详细些?)(3) the source CMPP gateway sends the billing request of the Shenzhouxing user to the second test device (simulated SCP) of its access, using the "short message deduction (sm-chg)" command of the EMPP agreement; Describe the handling process of the test device in detail?)
(4)源CMPP网关把短信转发给目的ICP接入的目的CMPP网关,使用CMPP协议的“消息前转(Cmpp_Fwd)”命令;(4) The source CMPP gateway forwards the message to the destination CMPP gateway of the destination ICP access, using the "message forward (Cmpp_Fwd)" command of the CMPP protocol;
(5)目的CMPP网关把短信传递给第三测试装置(模拟的ICP),使用CMPP协议的“消息提交(Cmpp_Submit)”命令,模拟ICP的第三测试装置通过对传递过来的短信内容的分析,处理短信内容表示的业务,把处理结果返回给目的CMPP网关,使用CMPP协议的“消息下发(Cmpp_Deliver)”命令;(5) purpose CMPP gateway delivers short message to the 3rd test device (simulated ICP), uses " message submits (Cmpp_Submit) " order of CMPP agreement, the 3rd test device of simulated ICP is by the analysis to the content of the short message delivered, Process the business represented by the content of the short message, return the processing result to the destination CMPP gateway, and use the "message delivery (Cmpp_Deliver)" command of the CMPP protocol;
(6)目的CMPP网关在接收到第三测试装置的响应消息后,产生移动用户提交的短消息(SMO)话单,并且生成一个状态报告,发送给源CMPP网关,使用CMPP协议的“消息前转(Cmpp_Fwd)”命令;(6) The destination CMPP gateway, after receiving the response message of the third test device, generates the short message (SMO) bill submitted by the mobile user, and generates a status report, sends it to the source CMPP gateway, and uses the "before message" of the CMPP protocol Turn (Cmpp_Fwd)" command;
(7)源CMPP网关接收到状态报告后,查找对应的原来的短信的发送请求,找到后产生移动用户提交并由网关前转的短消息(SMOF)话单,同时向其接入的第二测试装置(模拟的SCP)发送对神州行用户的计费确认请求,使用EMPP协议的“短消息扣费确认(sm-cnfm)”命令。(7) After the source CMPP gateway receives the status report, it searches for the sending request of the corresponding original short message, generates the short message (SMOF) call list submitted by the mobile user and forwarded by the gateway after finding it, and simultaneously accesses the second short message (SMOF) bill to it The test device (simulated SCP) sends a billing confirmation request to the Shenzhouxing user, using the "short message deduction confirmation (sm-cnfm)" command of the EMPP protocol.
Claims (19)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN031383939A CN100407836C (en) | 2003-05-26 | 2003-05-26 | A method and system for testing short message center functions |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN031383939A CN100407836C (en) | 2003-05-26 | 2003-05-26 | A method and system for testing short message center functions |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1553738A true CN1553738A (en) | 2004-12-08 |
| CN100407836C CN100407836C (en) | 2008-07-30 |
Family
ID=34323722
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN031383939A Expired - Fee Related CN100407836C (en) | 2003-05-26 | 2003-05-26 | A method and system for testing short message center functions |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100407836C (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100389627C (en) * | 2005-10-25 | 2008-05-21 | 中国移动通信集团公司 | Testing equipment of short message interface |
| WO2010145260A1 (en) * | 2009-10-22 | 2010-12-23 | 中兴通讯股份有限公司 | System and method for monitoring a short message service center |
| CN1992751B (en) * | 2005-12-27 | 2011-06-22 | 上海移动通信有限责任公司 | Charging note complete monitoring warning system and operation method |
| CN102331952A (en) * | 2010-07-14 | 2012-01-25 | 鸿富锦精密工业(深圳)有限公司 | Embedded device testing system and method |
| CN103037329A (en) * | 2011-09-29 | 2013-04-10 | 北京神州泰岳软件股份有限公司 | Short message function testing platform and short message function testing method |
| CN104158701A (en) * | 2014-08-18 | 2014-11-19 | 中国联合网络通信集团有限公司 | Gateway function testing method and device |
| CN111225402A (en) * | 2018-11-26 | 2020-06-02 | 卓望数码技术(深圳)有限公司 | Charging middleware testing system and method |
| CN115915239A (en) * | 2022-09-21 | 2023-04-04 | 阿里巴巴(中国)有限公司 | Short message gateway long connection performance test processing method and device |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5579372A (en) * | 1994-12-12 | 1996-11-26 | Telefonaktiebolaget Lm Ericsson | Flow control method for short message service - busy subscriber |
| JP2001320765A (en) * | 2000-05-09 | 2001-11-16 | Nec Corp | Testing system and test method of short message |
| DE10028029A1 (en) * | 2000-06-08 | 2001-12-20 | Acterna Muenchen Gmbh | Text message transmission capability testing method for mobile radio device uses testing device providing test text message transmitted to mobile radio device |
| CN1217553C (en) * | 2001-11-14 | 2005-08-31 | 中兴通讯股份有限公司 | Short message original calling control gateway |
-
2003
- 2003-05-26 CN CN031383939A patent/CN100407836C/en not_active Expired - Fee Related
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100389627C (en) * | 2005-10-25 | 2008-05-21 | 中国移动通信集团公司 | Testing equipment of short message interface |
| CN1992751B (en) * | 2005-12-27 | 2011-06-22 | 上海移动通信有限责任公司 | Charging note complete monitoring warning system and operation method |
| WO2010145260A1 (en) * | 2009-10-22 | 2010-12-23 | 中兴通讯股份有限公司 | System and method for monitoring a short message service center |
| CN102331952A (en) * | 2010-07-14 | 2012-01-25 | 鸿富锦精密工业(深圳)有限公司 | Embedded device testing system and method |
| CN103037329A (en) * | 2011-09-29 | 2013-04-10 | 北京神州泰岳软件股份有限公司 | Short message function testing platform and short message function testing method |
| CN103037329B (en) * | 2011-09-29 | 2015-12-16 | 北京神州泰岳软件股份有限公司 | SMS test platform and SMS method of testing |
| CN104158701A (en) * | 2014-08-18 | 2014-11-19 | 中国联合网络通信集团有限公司 | Gateway function testing method and device |
| CN111225402A (en) * | 2018-11-26 | 2020-06-02 | 卓望数码技术(深圳)有限公司 | Charging middleware testing system and method |
| CN115915239A (en) * | 2022-09-21 | 2023-04-04 | 阿里巴巴(中国)有限公司 | Short message gateway long connection performance test processing method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN100407836C (en) | 2008-07-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112788128B (en) | Business information pushing method and device, storage medium and electronic device | |
| CN1197297C (en) | A platform information switch | |
| CN1473417A (en) | Method and system for information exchange between communication networks | |
| CN100499473C (en) | Method for realizing business request and on-line instruction system | |
| CN108429739A (en) | A kind of method, system and the terminal device of identification honey jar | |
| CN114401284A (en) | Real-time data acquisition and transmission system and method for fixed pollution source control conditions | |
| CN1553738A (en) | A method and system for testing short message center functions | |
| CN1901538A (en) | Multiple interface multiple protocol detecting method based on WAP/MMS service | |
| CN1303832C (en) | Authentication method and system for short message value-added service | |
| CN1889535A (en) | Method and system for processing multi-media value-added business information and utilized gate equipment | |
| CN1581907A (en) | System and method for realizing VPN short-mumber short-message business | |
| CN101110989A (en) | Service access gateway, MMS access system and access method using the gateway | |
| CN106102027A (en) | Note based on MapReduce batch submits method to | |
| CN104640093B (en) | Business processing device | |
| CN1553724A (en) | Method and system for improving performance of multimedia message system for processing multimedia messages | |
| CN1301629C (en) | A system and method for simulating request location information | |
| CN1277431C (en) | Service charge system and method of unstructured service data supplement | |
| CN101156400B (en) | A method and system for processing messages in multimedia message service | |
| CN103188612B (en) | A kind of system and method for sending grouped short message | |
| CN1553682A (en) | Short message signaling simulation test system and test method | |
| CN1567841A (en) | An equipment and method for implementing information forwarding | |
| CN1394033A (en) | Method for managing intelligent network by open interface of service management site | |
| CN114615696A (en) | Automatic dial test method, device, system, server and storage medium | |
| CN1567823A (en) | Method for customizing intelligent network services through gateway website | |
| CN1571571A (en) | A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving 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 | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080730 Termination date: 20140526 |