[go: up one dir, main page]

CN1571571A - A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving method - Google Patents

A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving method Download PDF

Info

Publication number
CN1571571A
CN1571571A CNA031317073A CN03131707A CN1571571A CN 1571571 A CN1571571 A CN 1571571A CN A031317073 A CNA031317073 A CN A031317073A CN 03131707 A CN03131707 A CN 03131707A CN 1571571 A CN1571571 A CN 1571571A
Authority
CN
China
Prior art keywords
sending
message
simulating
short messages
module
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
Application number
CNA031317073A
Other languages
Chinese (zh)
Other versions
CN1330211C (en
Inventor
初传波
李仲
吴祖胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haimen Science And Technology Development General 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 CNB031317073A priority Critical patent/CN1330211C/en
Publication of CN1571571A publication Critical patent/CN1571571A/en
Application granted granted Critical
Publication of CN1330211C publication Critical patent/CN1330211C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

一种模拟移动终端收发短消息的系统及模拟收发方法,属于测试领域。模拟移动终端收发短消息的系统,包括支撑通讯模块、业务处理模块和人机命令模块。模拟收发短消息的方法,其发送短消息的步骤为:系统初始化;模拟系统与短消息中心建立通讯;人机命令参数设定;业务消息处理和发送;支撑消息发送。接收短消息的方法是与上述步骤的逆过程。本发明通过模拟移动终端直接向短消息中心进行发送短消息,可以节省成本,另外,由于模拟移动终端系统自动化程度高,对于重复测试,可以提高效率。可以灵活地调节各类参数,模拟各种复杂情况,针对短消息中心进行各类异常测试和性能测试,可以提高短消息中心的稳定性测试和性能测试。

Figure 03131707

The invention discloses a system for simulating mobile terminals to send and receive short messages and a method for simulating sending and receiving, belonging to the field of testing. A system for simulating mobile terminals sending and receiving short messages, including a supporting communication module, a service processing module and a man-machine command module. The method for simulating sending and receiving short messages, the steps of sending short messages are: system initialization; establishing communication between the simulation system and the short message center; man-machine command parameter setting; business message processing and sending; support message sending. The method of receiving short messages is the reverse process of the above steps. The present invention directly sends short messages to the short message center by simulating the mobile terminal, which can save costs. In addition, because the simulating mobile terminal system has a high degree of automation, it can improve efficiency for repeated testing. Various parameters can be flexibly adjusted, various complex situations can be simulated, and various abnormal tests and performance tests can be performed on the short message center, which can improve the stability test and performance test of the short message center.

Figure 03131707

Description

一种模拟移动终端收发短消息的系统及模拟收发方法A system for simulating a mobile terminal to send and receive short messages and a method for simulating sending and receiving

技术领域technical field

本发明属于测试领域,具体的说,是一种通过模拟移动终端向短消息中心进行收发短消息的技术。The invention belongs to the field of testing, specifically a technology for sending and receiving short messages to a short message center by simulating a mobile terminal.

背景技术Background technique

随着电信业务的不断发展,移动用户越来越不满足于简单的语音通话业务,要求系统提供诸如银行服务、证券交易、E-MAIL收发等各种增值服务。为了提高服务质量,吸引用户,进而能在激烈的市场竞争中立于不败之地,网络运营商必须不断引进新的业务种类。短消息业务正是用于满足运营商和移动用户的这种需求。然而,随着移动用户的不断增多,短消息业务量的不断增大,势必对短消息中心系统的稳定性及处理能力提出了更高的要求。因此,如何更好地测试短消息中心系统的稳定性以及处理能力则显得尤为重要。With the continuous development of telecommunication services, mobile users are increasingly dissatisfied with simple voice call services, and require the system to provide various value-added services such as banking services, securities transactions, and E-MAIL sending and receiving. In order to improve service quality, attract users, and then be invincible in the fierce market competition, network operators must constantly introduce new types of services. The short message service is used to meet the needs of operators and mobile users. However, with the continuous increase of mobile users and the continuous increase of short message traffic, higher requirements are bound to be placed on the stability and processing capacity of the short message center system. Therefore, how to better test the stability and processing capability of the short message center system is particularly important.

本发明所述的一种模拟移动终短收发短消息的系统就是为了解决如何更好地测试短消息中心系统的稳定性及处理能力为目的而发明的。The system for simulating short message sending and receiving of mobile terminals described in the present invention is invented for the purpose of solving how to better test the stability and processing capability of the short message center system.

在进行一条完整的短消息收发过程中,需要涉及到手机、BSS(Base StationSystem,基站系统)、MSC/VLR(MSC:Mobile Switching Center,移动交换中心;VRL:Vistor Location Register,拜访位置寄存器)、HLR(Home Location Register,归属位置寄存器)以及短消息中心等多套网络设备,只要其中的某个环节出现问题,则整个测试无法进行,严重影响了测试效率。另外,由手机发起的短消息结构比较单一,每次发送起来都是同类消息,不能调节各类参数,不能很好地对系统进行各种异常条件的测试,达不到各种异常测试的目的。而且,测试手机数量有限,少则只有两三部,不能对系统进行大话务测试,无法做到测试短消息中心系统处理能力的要求。再加上,手机发起的消息类型不能灵活调节,不能按照各种类型消息不同比例进行发送消息。由于上述各种条件的限制,现有测试环境不能对短消息中心系统进行真实有效的稳定性及性能测试。因此,寻找一种构造各种条件,模拟真实环境针对短消息中心系统进行测试的系统势在必行,有了这个系统,就可解决上述各类问题并大大地提高工作效率。In the process of sending and receiving a complete short message, it needs to involve the mobile phone, BSS (Base Station System, base station system), MSC/VLR (MSC: Mobile Switching Center, mobile switching center; VRL: Visitor Location Register, visitor location register), HLR (Home Location Register, home location register) and multiple sets of network equipment such as short message center, as long as there is a problem in one of the links, the whole test cannot be carried out, which seriously affects the test efficiency. In addition, the structure of the short message initiated by the mobile phone is relatively simple, and each time it is sent, it is the same message, and various parameters cannot be adjusted, and the system cannot be well tested for various abnormal conditions, and the purpose of various abnormal tests cannot be achieved. . Moreover, the number of test mobile phones is limited, at least two or three, so it is impossible to test the system with large traffic, and it is impossible to meet the requirements of testing the processing capacity of the short message center system. In addition, the types of messages initiated by the mobile phone cannot be flexibly adjusted, and messages cannot be sent in different proportions according to various types of messages. Due to the limitations of the above-mentioned various conditions, the existing test environment cannot conduct real and effective stability and performance tests on the short message center system. Therefore, it is imperative to find a system that constructs various conditions and simulates the real environment to test the short message center system. With this system, the above-mentioned problems can be solved and the work efficiency can be greatly improved.

发明内容Contents of the invention

本发明提供了一种通过模拟移动终端进行收发短消息的系统,通过这个模拟系统,可以直接针对短消息中心发送不同类型、不同负荷的消息,以达到模拟现场真实环境针对短消息中心进行稳定性及性能测试的目的。The invention provides a system for sending and receiving short messages by simulating a mobile terminal. Through this simulating system, messages of different types and different loads can be directly sent to the short message center, so as to stabilize the real environment of the simulated site for the short message center. purpose of sex and performance testing.

本发明的模拟移动终端收发短消息的系统,包括支撑通讯模块、业务处理模块和人机命令模块;所述支撑通讯模块完成全局变量的初始化,时钟初始化,建立系统与短消息中心的通讯,并完成短消息中心系统消息与业务处理模块消息之间的转发;所述业务处理模块完成模拟移动终端进行收发短消息的业务功能,并负责将消息下发到支撑通讯模块,以及接收来自支撑通讯模块的消息处理;所述人机命令模块完成参数的设定,定时器的设定以及消息的选择。The system for simulating mobile terminal sending and receiving short messages of the present invention includes a supporting communication module, a business processing module and a man-machine command module; the supporting communication module completes the initialization of global variables, clock initialization, and establishes communication between the system and the short message center, And complete the forwarding between the short message center system message and the business processing module message; the business processing module completes the business function of simulating the mobile terminal to send and receive short messages, and is responsible for sending the message to the supporting communication module, and receiving messages from the supporting Message processing of the communication module; the man-machine command module completes parameter setting, timer setting and message selection.

本发明的模拟收发短消息的方法,其发送短消息的步骤为:The method for simulating sending and receiving short messages of the present invention, its step of sending short messages is:

2.1系统初始化;2.1 System initialization;

2.2模拟系统与短消息中心建立通讯;2.2 The simulation system establishes communication with the short message center;

2.3人机命令参数设定;2.3 Man-machine command parameter setting;

2.4业务消息处理和发送;2.4 Business message processing and sending;

2.5支撑消息发送。2.5 Support message sending.

接收短消息的方法是与上述步骤的逆过程。The method of receiving short messages is the reverse process of the above steps.

在上述模拟收发短消息的方法中,所述模拟系统与短消息中心建立通讯,是通过所述支撑通讯模块通过读取预先设定的配置文件,来获取需要连接的链路信息,通过TCP/IP建立与短消息中心之间的消息通道。所述人机命令参数的设定,是指通过提供一个人工操作界面的接口,更改各种参数,设定各类消息比例以及消息类型等参数,并保存在一个配置文件中以供业务处理模块使用。所述业务消息处理和发送,是指业务处理模块读取人机命令模块设定的参数,并进行编码,构造需要发送的消息,并发送到支撑业务模块。所述支撑消息的发送,是指支撑通讯模块收到业务处理模块发来的消息后,利用建立的通讯通道通过TCP/IP协议将消息传输到短消息中心系统。In the above method for simulating sending and receiving short messages, the simulation system establishes communication with the short message center by reading the preset configuration file through the support communication module to obtain the link information to be connected, and through the TCP /IP establishes a message channel with the short message center. The setting of the man-machine command parameters refers to changing various parameters, setting various message ratios and message types and other parameters by providing an interface of a manual operation interface, and saving them in a configuration file for the business processing module use. The business message processing and sending means that the business processing module reads the parameters set by the man-machine command module, encodes them, constructs the message to be sent, and sends it to the supporting business module. The sending of the support message refers to that the support communication module transmits the message to the short message center system through the TCP/IP protocol through the established communication channel after receiving the message from the service processing module.

本发明通过模拟移动终端直接向短消息中心进行发送短消息,可以节省MSC/VRL/HLR//MS(MS:Mobile Station,移动台)等设备,为我们的测试节约了大量成本,另外,由于模拟移动终端系统自动化程度高,对于重复测试,只需按一个命令即可,大大提高了我们的工作效率。The present invention directly sends short message to short message center by simulating mobile terminal, can save equipments such as MSC/VRL/HLR//MS (MS: Mobile Station, mobile station), has saved a large amount of cost for our test, in addition, because The simulated mobile terminal system has a high degree of automation. For repeated tests, only one command is required, which greatly improves our work efficiency.

更加值得一提的是,本发明可以灵活地调节各类参数,模拟各种复杂情况,针对短消息中心进行各类异常测试和性能测试,大大提高了短消息中心的稳定性测试和性能测试,给产品的稳定带来了巨大的好处。What is more worth mentioning is that the present invention can flexibly adjust various parameters, simulate various complex situations, and conduct various abnormal tests and performance tests for the short message center, which greatly improves the stability test and performance test of the short message center. It has brought huge benefits to the stability of the product.

本发明所述的一种模拟移动终端收发短消息的系统最多只需要一台普通PC机即可运行,成本非常低。The system for simulating mobile terminal sending and receiving short messages described in the present invention only needs one ordinary PC at most to operate, and the cost is very low.

附图说明Description of drawings

图1是应用本发明的系统模拟移动终端收发短消息的系统网络结构图Fig. 1 is the system network structure diagram of applying the system simulation mobile terminal of the present invention to send and receive short messages

图2是本发明的系统的模块结构图Fig. 2 is a block diagram of the system of the present invention

图3是本发明的模拟方法流程图Fig. 3 is the simulation method flow chart of the present invention

图4是应用本发明完成一条消息发送的流程图Fig. 4 is a flow chart of applying the present invention to complete a message sending

具体实施方式Detailed ways

本发明所述的一种模拟移动终端收发短消息的系统遵循IS41D以及IS637标准。本发明所述一种模拟移动终端收发短消息的系统与短消息中心系统之间采用TCP/IP(TCP:Transmission ControlProtocol,传输控制协议;IP:InternetProtocol,网际协议)进行通讯,系统主要由支撑通讯模块、业务处理模块以及人机命令模块共三部分组成。A system for simulating mobile terminals sending and receiving short messages in the present invention complies with IS41D and IS637 standards. Adopt TCP/IP (TCP: Transmission Control Protocol, Transmission Control Protocol; IP: Internet Protocol, Internet Protocol) to carry out communication between a kind of system of simulating mobile terminal sending and receiving short message of the present invention and short message center system, system is mainly supported by Communication module, business processing module and man-machine command module are composed of three parts.

所述支撑通讯模块主要完成两大功能,一是通过TCP/IP建立与短消息中心之间的消息通道;二是作为一个消息传输的通道,将来自短消息中心的消息发往业务处理模块,另一方面,将来自业务处理模块的消息通过TCP/IP下发到短消息中心。The supporting communication module mainly completes two major functions, one is to establish a message channel with the short message center through TCP/IP; the other is to send messages from the short message center to the service processing module as a channel for message transmission, On the other hand, send the message from the service processing module to the short message center through TCP/IP.

所述业务处理模块主要完成模拟移动终端进行收发短消息的各项业务功能,包括单条消息发送、大话务消息发送,并负责将消息下发到支撑通讯模块,以及接收来自支撑通讯模块的消息处理。The business processing module mainly completes various business functions of simulating a mobile terminal to send and receive short messages, including sending a single message and sending a large traffic message, and is responsible for sending the message to the supporting communication module, and receiving messages from the supporting communication module. message processing.

所述人机命令模块主要通过提供一个人工操作界面的接口,通过更改各种参数,设定各类消息比例以及消息类型等参数,并保存在一个配置文件中以供业务处理模块使用。The man-machine command module mainly provides an interface of a manual operation interface, changes various parameters, sets various message ratios and message types and other parameters, and saves them in a configuration file for use by the business processing module.

本发明所述的一种模拟移动终端收发短消息的系统实现仿真过程大致如下:启动本模拟移动终端系统,系统会通过支撑通讯模块自动建立起与短消息中心之间的通讯,此时可以通过人机命令模拟手机进行消息发送。The simulation process of a system for simulating mobile terminal sending and receiving short messages according to the present invention is roughly as follows: start this simulating mobile terminal system, and the system will automatically set up communication with the short message center by supporting the communication module. Simulate mobile phones to send messages through man-machine commands.

下面结合附图对本发明的模拟移动终端收发短消息系统的实施方式进行详尽的阐述。The implementation of the system for sending and receiving short messages by analog mobile terminals of the present invention will be described in detail below in conjunction with the accompanying drawings.

图1是本发明所述的一种模拟移动终端收发短消息的系统的网络结果图,囿于篇幅,该图只画出最简单的短消息收发涉及到的网络实体,并将MSC/VRL/HLR合而为一示意,从图中知道,该发明所述的模拟系统替代了MSC/VRL/HLR、BSS以及MS设备,通过模拟各种真实情况,直接向短消息中心收发消息。Fig. 1 is the network result figure of a kind of system of simulating mobile terminal receiving and dispatching short message described in the present invention, limited by space, this figure only draws the network entity that the simplest short message sending and receiving involves, and MSC/VRL /HLR combined into one schematic, as known from the figure, the simulation system described in the invention replaces MSC/VRL/HLR, BSS and MS equipment, and directly sends and receives messages to the short message center by simulating various real situations.

本模拟系统在物理上可以作为一个单独的节点存在,也可以通过增加本发明系统的一个IP地址,与短消息中心合在同一个物理节点上。可以根据条件和测试要求进行不同的设置,使用起来非常灵活。例如,需要对短消息中心进行性能测试,测试短消息中心每秒处理短消息能力,此时需要考虑将本模拟系统与短消息中心分离;如果是进行某种条件的异常测试,则可以将本模拟系统与短消息中心在物理上合一,从而可以减少设备,节省测试成本。The simulation system can physically exist as a separate node, and can also be combined with the short message center on the same physical node by adding an IP address of the system of the present invention. Different settings can be made according to conditions and test requirements, and it is very flexible to use. For example, it is necessary to perform a performance test on the short message center to test the ability of the short message center to process short messages per second. At this time, it is necessary to consider separating the simulation system from the short message center; The simulation system and the short message center are physically integrated, so that the equipment can be reduced and the test cost can be saved.

图2是本发明所述的一种模拟移动终端收发短消息的系统模块结构图。从图中可以知道,本发明共有三大模块组成:支撑通讯模块、业务处理模块和人机命令模块。支撑通讯模块完成全局变量的初始化,时钟初始化,并通过读取预先设定的配置文件,来获取需要连接的链路信息,建立与短消息中心系统的通讯,还完成来自短消息中心系统消息以及业务处理模块消息的转发。业务处理模块完成读取人机命令设定的参数,发送消息到支撑通讯模块以及处理来自支撑通讯模块的消息,另外还可以通过人机命令设定的定时器,定时向短消息中心发送大话务消息。人机命令模块完成各了参数的设定,定时器的设定以及消息的选择等等。Fig. 2 is a block diagram of a system module for simulating mobile terminals sending and receiving short messages according to the present invention. It can be seen from the figure that the present invention consists of three major modules: a support communication module, a service processing module and a man-machine command module. The supporting communication module completes the initialization of global variables, clock initialization, and obtains the link information to be connected by reading the preset configuration file, establishes communication with the short message center system, and completes messages from the short message center system and Forwarding of business processing module messages. The business processing module reads the parameters set by the man-machine command, sends messages to the supporting communication module and processes the messages from the supporting communication module. In addition, it can send messages to the short message center regularly through the timer set by the man-machine command. business news. The man-machine command module completes the setting of each parameter, the setting of the timer and the selection of the message and so on.

本模拟系统的支撑通讯模块、业务处理模块和人机命令模块三者在逻辑上相互独立,互不依赖,在功能上互相关联,联系紧密。三模块在逻辑上的独立,这种设计加强了模块化,有利于维护以及错误的排查,同时也有利于软件的移植。The supporting communication module, business processing module and man-machine command module of this simulation system are logically independent and not dependent on each other, but functionally related and closely linked. The three modules are logically independent. This design strengthens the modularity, which is conducive to maintenance and error checking, and is also conducive to software transplantation.

图3是本发明所述的一种模拟移动终端收发短消息的系统的程序流程图。过程如下:Fig. 3 is a program flow chart of a system for simulating mobile terminals sending and receiving short messages according to the present invention. The process is as follows:

1系统初始化。1 System initialization.

2建立通讯2 establish communication

3人机命令参数设定3 Man-machine command parameter setting

4业务消息处理4 business message processing

5业务消息发送5 business message sending

6支撑消息发送6Support message sending

下面结合图3将详细介绍该系统的程序流程。The program flow of the system will be introduced in detail below in conjunction with FIG. 3 .

系统开始启动,进行系统初始化,该过程主要完成全局变量初始化,时钟初始化,进程初始化,以及建立与短消息中心系统之间的通讯通道。如果该过程失败,系统将自动退出,重新启动系统。否则系统进入任务就绪状态,业务处理模开和人机命令模块也都处于工作就绪状态。The system starts and performs system initialization. This process mainly completes global variable initialization, clock initialization, process initialization, and the establishment of a communication channel with the short message center system. If the process fails, the system will automatically exit and restart the system. Otherwise, the system enters the task-ready state, and the business processing module and the man-machine command module are also in the work-ready state.

系统消息的触发可以通过人机命令模块实现,通过人机命令模块更改参数,发出命令之后,业务处理模块读取人机命令模块设定的参数,并进行编码,构造需要发送的消息,将消息发送到支撑通讯模块。The triggering of the system message can be realized through the man-machine command module. The parameters are changed through the man-machine command module. Sent to the supporting communication module.

系统消息的触发也可以通过定时器任务来实现,定时器是在人机命令模块中设定,可以设定不同的时间间隔,也可以根据不同的消息设定不同的定时器。定时器到后,业务消息的处理与人机命令模块触发的消息处理类似,也是通过读取设定的参数,并进行编码,构造需要发送的消息,将消息发送到支撑通讯模块。The triggering of the system message can also be realized through the timer task. The timer is set in the man-machine command module. Different time intervals can be set, and different timers can be set according to different messages. After the timer expires, the processing of the business message is similar to the message processing triggered by the man-machine command module. It also reads the set parameters, encodes them, constructs the message to be sent, and sends the message to the supporting communication module.

支撑通讯模块收到业务处理模块发来的消息后,不对消息进行处理,直接利用建立的通讯通道通过TCP/IP协议将消息传输到短消息中心系统。After the supporting communication module receives the message from the business processing module, it does not process the message, but directly uses the established communication channel to transmit the message to the short message center system through the TCP/IP protocol.

从阐述图2和图3的描述中可以看出,本发明所述的一种模拟移动终端收发短消息系统的结构与功能非常清晰,模块化强,支撑通讯模块、业务处理模块和人机命令模块分别完成不同的任务,分别为其它的模块服务,正是这三模块间的既相互独立由相互协调,才使得本系统配置灵活、功能强大、可移植性强等优点。As can be seen from the descriptions of Fig. 2 and Fig. 3, the structure and function of a system for sending and receiving short messages by analog mobile terminals described in the present invention are very clear, strong in modularization, and support communication modules, business processing modules and man-machine The command modules complete different tasks and serve other modules respectively. It is the independence and coordination among these three modules that make the system flexible in configuration, powerful in function, and strong in portability.

附图4是本发明所述的一种模拟移动终端收发短消息系统完成一条消息发送的流程图。主要是通过举例说明,本系统是如何通过模拟移动终端发送消息到短消息中心系统的,以及系统涉及到的处理流程。Accompanying drawing 4 is a flow chart of sending and receiving a message by a system for sending and receiving short messages of an analog mobile terminal according to the present invention. It mainly illustrates how the system sends a message to the short message center system by simulating a mobile terminal, and the processing flow involved in the system through an example.

本发明所述的模拟系统主要功能就在于能够模拟移动终端收发短消息,下面举例说明。The main function of the simulation system of the present invention is to simulate the sending and receiving of short messages by the mobile terminal, which will be described with an example below.

假定两个移动终端A和B,需要从终端A发送一条短消息到终端B。Suppose there are two mobile terminals A and B, and it is necessary to send a short message from terminal A to terminal B.

首先准备好测试环境,只需包括一套短消息中心系统和一套本发明所述的模拟系统即可,且短消息中心系统处于工作就绪状态。Firstly, the test environment is prepared, which only needs to include a set of short message center system and a set of simulation system of the present invention, and the short message center system is in a ready state for work.

启动本发明所述的模拟系统,系统开始初始化工作,初始化完毕,系统进入工作就绪状态。Start the simulation system of the present invention, the system starts initialization work, and after the initialization is completed, the system enters the ready state for work.

通过人机命令输入源移动终端A,目的终端B,输入各项必须参数,然后根据需要输入各项可选参数,最后发送指令到业务处理模块。Input source mobile terminal A and destination terminal B through human-machine commands, input various necessary parameters, then input various optional parameters as required, and finally send instructions to the business processing module.

业务处理模块接收到人机命令模块发送的指令后,读取参数信息,包括源移动终端A、目的移动终端B、消息内容、消息类型等,并对消息机进行编码,填写相关内容,构造需要发送的消息,然后将消息发送到支撑通讯模块。After the business processing module receives the instruction sent by the man-machine command module, it reads the parameter information, including source mobile terminal A, destination mobile terminal B, message content, message type, etc., and encodes the message machine, fills in relevant content, and constructs the required send the message, and then send the message to the supporting communication module.

支撑通讯模块收到消息后,不对消息进行处理,直接通过预先建立的TCP/IP通讯通道传输到短消息中心系统。After receiving the message, the supporting communication module does not process the message, but directly transmits it to the short message center system through the pre-established TCP/IP communication channel.

短消息中心收到来自模拟系统移动终端A发起的消息后,进行短消息中心自己的业务处理,然后终呼到模拟系统的移动用户终端B。After receiving the message initiated by the mobile terminal A of the analog system, the short message center performs its own business processing, and then makes a final call to the mobile user terminal B of the analog system.

首先是模拟系统的支撑通讯模块收到消息,支撑通讯模块将收到的消息上发到业务处理模块。First, the support communication module of the simulation system receives the message, and the support communication module sends the received message to the business processing module.

业务处理模块将收到的终呼消息进行解码,并传送到人机命令模块,人机命令模块将显示出移动终端A发送到移动终端B的消息,包括:源移动终端A、目的移动终端B、消息内容、消息类型、发送时间等等。The service processing module decodes the received terminal call message and sends it to the man-machine command module. The man-machine command module will display the message sent from mobile terminal A to mobile terminal B, including: source mobile terminal A, destination mobile terminal B , message content, message type, sending time, etc.

至此,整个发送过程完毕,主要涉及到的流程有:So far, the entire sending process is completed, and the main processes involved are:

1系统初始化。1 System initialization.

2建立通讯2 establish communication

3人机命令参数设定3 Man-machine command parameter setting

4业务消息处理4 business message processing

5业务消息发送5 business message sending

6支撑消息发送6Support message sending

7支撑收到消息7 support received message

8业务收到消息8 The business received the message

9业务收到消息处理9 business received message processing

10人机命令模块消息显示10 Man-machine command module message display

终上所述,本发明所述的一种模拟移动终短收发消息的系统具有模块化强、可扩充性以及可移植性好等优点。经过实际使用证明,该发明解决了许多不需要现实环境就能做到的问题,模拟出许多复杂情况,对短消息中心进行了有效的异常测试及性能测试,并且本发明使用起来非常方便快捷,因此大大节省了测试成本,提高了测试效率。As mentioned above, the system for simulating mobile terminal sending and receiving messages according to the present invention has the advantages of strong modularization, scalability and portability. It has been proved by actual use that the invention solves many problems that can be done without the need for a real environment, simulates many complicated situations, and conducts effective abnormality tests and performance tests on the short message center, and the invention is very convenient and quick to use, Therefore, the test cost is greatly saved and the test efficiency is improved.

Claims (6)

1、一种模拟移动终端收发短消息的系统,包括支撑通讯模块、业务处理模块和人机命令模块;1. A system for simulating mobile terminals sending and receiving short messages, including a supporting communication module, a service processing module and a man-machine command module; 所述支撑通讯模块完成全局变量的初始化,时钟初始化,建立系统与短消息中心的通讯,并完成短消息中心系统消息与业务处理模块消息之间的转发;The supporting communication module completes the initialization of global variables, clock initialization, establishes the communication between the system and the short message center, and completes the forwarding between the short message center system message and the service processing module message; 所述业务处理模块完成模拟移动终端进行收发短消息的业务功能,并负责将消息下发到支撑通讯模块,以及接收来自支撑通讯模块的消息处理;The business processing module completes the business function of simulating the mobile terminal to send and receive short messages, and is responsible for sending the message to the supporting communication module, and receiving the message processing from the supporting communication module; 所述人机命令模块完成参数的设定,定时器的设定以及消息的选择。The man-machine command module completes parameter setting, timer setting and message selection. 2、用权利要求1所述的模拟移动终端收发短消息的系统模拟收发短消息的方法,其发送短消息的步骤为:2, with the method for the system simulation sending and receiving short messages of the simulated mobile terminal sending and receiving short messages according to claim 1, the step of sending short messages is: 2.1系统初始化;2.1 System initialization; 2.2模拟系统与短消息中心建立通讯;2.2 The simulation system establishes communication with the short message center; 2.3人机命令参数设定;2.3 Man-machine command parameter setting; 2.4业务消息处理和发送;2.4 Business message processing and sending; 2.5支撑消息发送。2.5 Support message sending. 接收短消息的方法是与上述步骤的逆过程。The method of receiving short messages is the reverse process of the above steps. 3、权利要求2所述的模拟收发短消息的方法,其特征在于,所述模拟系统与短消息中心建立通讯,是通过所述支撑通讯模块通过读取预先设定的配置文件,来获取需要连接的链路信息,通过TCP/IP建立与短消息中心之间的消息通道。3. The method for simulating sending and receiving short messages according to claim 2, characterized in that, establishing communication between the simulation system and the short message center is obtained by reading a preset configuration file through the supporting communication module. Link information that needs to be connected, establishes a message channel with the short message center through TCP/IP. 4、权利要求2所述的模拟收发短消息的方法,其特征在于:所述人机命令参数的设定,是指通过提供一个人工操作界面的接口,更改各种参数,设定各类消息比例以及消息类型等参数,并保存在一个配置文件中以供业务处理模块使用。4. The method for simulating sending and receiving short messages according to claim 2, characterized in that: the setting of the man-machine command parameters refers to changing various parameters and setting various parameters by providing an interface of a manual operation interface. Parameters such as message ratio and message type are stored in a configuration file for use by the business processing module. 5、权利要求2所述的模拟收发短消息的方法,其特征在于:所述业务消息处理和发送,是指业务处理模块读取人机命令模块设定的参数,并进行编码,构造需要发送的消息,并发送到支撑业务模块。5. The method for simulating sending and receiving short messages according to claim 2, characterized in that: said business message processing and sending means that the business processing module reads the parameters set by the man-machine command module and encodes them. The sent message is sent to the supporting business module. 6、权利要求2所述的模拟收发短消息的方法,其特征在于:所述支撑消息的发送,是指支撑通讯模块收到业务处理模块发来的消息后,利用建立的通讯通道通过TCP/IP协议将消息传输到短消息中心系统。6. The method for simulating sending and receiving short messages according to claim 2, characterized in that: the sending of the supporting message means that after the supporting communication module receives the message sent by the business processing module, it uses the established communication channel to pass the TCP The /IP protocol transmits the message to the short message center system.
CNB031317073A 2003-07-17 2003-07-17 A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving method Expired - Fee Related CN1330211C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031317073A CN1330211C (en) 2003-07-17 2003-07-17 A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031317073A CN1330211C (en) 2003-07-17 2003-07-17 A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving method

Publications (2)

Publication Number Publication Date
CN1571571A true CN1571571A (en) 2005-01-26
CN1330211C CN1330211C (en) 2007-08-01

Family

ID=34469766

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031317073A Expired - Fee Related CN1330211C (en) 2003-07-17 2003-07-17 A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving method

Country Status (1)

Country Link
CN (1) CN1330211C (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100389627C (en) * 2005-10-25 2008-05-21 中国移动通信集团公司 Testing equipment of short message interface
CN100441015C (en) * 2005-06-13 2008-12-03 中兴通讯股份有限公司 A test system and test method for simulating continuous positioning of a mobile station
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
CN103973519A (en) * 2014-05-27 2014-08-06 天津七一二通信广播有限公司 Simulation testing system of switching center based on PC (Personal Computer) platform
CN117939002A (en) * 2024-03-15 2024-04-26 深圳百沃彰世科技有限公司 Performance stability testing method and system for mobile phone communication equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001320765A (en) * 2000-05-09 2001-11-16 Nec Corp Testing system and test method of short message
WO2003015430A1 (en) * 2001-08-08 2003-02-20 Purple Ace Pte. Ltd. A method of and apparatus for communication of advertisements
US20030097246A1 (en) * 2001-11-16 2003-05-22 Tsutomu Hara Circuit simulation method
CN1151632C (en) * 2002-04-25 2004-05-26 金子建 Short message receiving-transmitting platform system based on paging platform for fixed telephones and its working method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100441015C (en) * 2005-06-13 2008-12-03 中兴通讯股份有限公司 A test system and test method for simulating continuous positioning of a mobile station
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
CN103973519A (en) * 2014-05-27 2014-08-06 天津七一二通信广播有限公司 Simulation testing system of switching center based on PC (Personal Computer) platform
CN103973519B (en) * 2014-05-27 2017-09-22 天津七一二通信广播股份有限公司 A kind of switching centre's emulation test system and method based on PC platforms
CN117939002A (en) * 2024-03-15 2024-04-26 深圳百沃彰世科技有限公司 Performance stability testing method and system for mobile phone communication equipment
CN117939002B (en) * 2024-03-15 2024-05-28 深圳百沃彰世科技有限公司 Performance stability testing method and system for mobile phone communication equipment

Also Published As

Publication number Publication date
CN1330211C (en) 2007-08-01

Similar Documents

Publication Publication Date Title
CN101043384A (en) System and method for network test
CN101247276B (en) Large traffic simulation test tool and test method for WiMAX system
CN1848878A (en) Method for realizing one card multi-number business in mobile communication system
CN101068274A (en) IMS system large telephone traffic call automatic testing method and device
CN111522727B (en) Simulation object test method, device and system
CN1571571A (en) A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving method
CN1476191A (en) Simulationi realizing method based on grouping data business process and system
CN1747505A (en) Display method of dialing user identity
CN1145317C (en) Method for Realizing Dynamic Loading of Service Voice on Intelligent Network and System Networking
CN1301629C (en) A system and method for simulating request location information
CN1905725A (en) System and method for testing speech service
CN101035346A (en) Method and device for large traffic simulation test of packet data service
CN1518386A (en) Service method and system for mobile terminal
CN1780334A (en) Remote testing device and method for telephone connection service of mobile communication terminals
CN204362313U (en) A kind of multi mode multi band terminal test system
CN1553738A (en) A method and system for testing short message center functions
CN1819684A (en) Scene mode setting method of mobile communication terminal
CN105760204A (en) Method and equipment for installing application program
CN1929629A (en) Method, system for triggering intelligent business and signal processing device
CN1630317A (en) A system and method for realizing air interface big traffic simulation
CN101137181B (en) A load testing method and device
CN1553682A (en) Short message signaling simulation test system and test method
CN108170493A (en) A kind of loading method of system module, system and device
CN1838618A (en) Method for testing transmission control protocol client
CN1722675A (en) Method for on-line tracking of service flow

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
ASS Succession or assignment of patent right

Owner name: HAIMEN TECHNOLOGY DEVELOPMENT CORP.

Free format text: FORMER OWNER: ZTE CORPORATION

Effective date: 20130508

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 226144 NANTONG, JIANGSU PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20130508

Address after: 226144, No. 600, Beijing Road, Haimen, Jiangsu, Nantong province (room 0212 of administrative center)

Patentee after: Haimen science and Technology Development General Corporation

Address before: 518057 Department of law, Zhongxing building, South Science and technology road, Nanshan District hi tech Industrial Park, Shenzhen

Patentee before: ZTE Corporation

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070801

Termination date: 20160717