[go: up one dir, main page]

CN1301629C - A system and method for simulating request location information - Google Patents

A system and method for simulating request location information Download PDF

Info

Publication number
CN1301629C
CN1301629C CNB031536166A CN03153616A CN1301629C CN 1301629 C CN1301629 C CN 1301629C CN B031536166 A CNB031536166 A CN B031536166A CN 03153616 A CN03153616 A CN 03153616A CN 1301629 C CN1301629 C CN 1301629C
Authority
CN
China
Prior art keywords
module
message
standard communication
processing module
human
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.)
Expired - Fee Related
Application number
CNB031536166A
Other languages
Chinese (zh)
Other versions
CN1582042A (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.)
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 CNB031536166A priority Critical patent/CN1301629C/en
Publication of CN1582042A publication Critical patent/CN1582042A/en
Application granted granted Critical
Publication of CN1301629C publication Critical patent/CN1301629C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明涉及一种对移动定位系统进行测试的系统及方法,该系统包括:通过TCP/IP网络和七号信令网相连的模拟系统和定位系统,其中该模拟系统包括:人机交互模块、业务处理模块、标准通讯模块、信令网关模块以及运行支撑模块;该方法包括的步骤为:模拟系统初始化;模拟系统与定位系统建立通讯;人机交互模块命令参数设定;业务处理模块读取参数信息,并向标准通讯模块发送消息;标准通讯模块将收到的消息发送到定位系统;本发明可以模拟现场真实环境针对移动定位系统进行稳定性及性能测试。

Figure 03153616

The present invention relates to a system and method for testing a mobile positioning system. The system includes: a simulation system and a positioning system connected to the No. 7 signaling network through a TCP/IP network, wherein the simulation system includes: a human-computer interaction module, A business processing module, a standard communication module, a signaling gateway module, and an operation support module; the method includes the steps of: initializing the simulation system; establishing communication between the simulation system and the positioning system; setting command parameters of the human-computer interaction module; parameter information, and send a message to the standard communication module; the standard communication module sends the received message to the positioning system; the present invention can simulate the real environment of the site to test the stability and performance of the mobile positioning system.

Figure 03153616

Description

一种模拟请求位置信息的系统及方法A system and method for simulating request location information

技术领域technical field

本发明涉及通讯测试领域,特别是涉及一种对移动定位系统进行测试的系统及方法。The invention relates to the field of communication testing, in particular to a system and method for testing a mobile positioning system.

背景技术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, E-mail sending and receiving, MMS, and mobile positioning. 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 mobile positioning service is used to meet the needs of operators and mobile users. With the launch of the mobile positioning service, the increasing number of mobile users will inevitably put forward higher requirements for the stability and processing capacity of the mobile positioning system. Therefore, how to better test the stability and processing capability of the mobile positioning system is particularly important.

在进行一条完整的位置请求服务过程中,需要涉及到MS(MobileStation,移动台)、BSS(Base Station System,基站系统)、PDSS(PacketData Service Sytem,分组数据服务系统)、MSC/VLR/HLR(MSC:MobileSwitching Center,移动交换中心;VLR:Vistor Location Register,拜访位置寄存器;HLR:Home Location Register,归属位置寄存器)、MC(Message Center,短消息中心)、MPC(Mobile Position Center,移动定位中心)以及PDE(Positon Determination Entity,定位实体)等多套网络设备,只要其中的某个环节出现问题,则整个测试无法进行,严重影响了测试效率。另外,由移动台或位置服务客户端(LCSClient:LocationServer Client位置服务客户端)发起的位置请求消息比较单一,每次发送起来都是同类消息,不能调节各类参数,不能很好地对系统进行各种异常条件的测试,达不到各种异常测试的目的。而且,测试移动台数量有限,少则只有两三部,不能对系统进行大话务测试,无法做到测试移动定位系统处理能力的要求。再加上,移动台发起的消息类型不能灵活调节,不能按照各种类型消息不同比例进行发送消息。由于上述各种条件的限制,现有测试环境不能对移动定位系统进行真实有效的稳定性及性能测试,因此,寻找一种构造各种条件,模拟真实环境针对移动定位系统进行测试的技术势在必行,有了这个技术,就可解决上述各类问题并大大地提高工作效率。In the process of performing a complete location request service, MS (MobileStation, mobile station), BSS (Base Station System, base station system), PDSS (PacketData Service Sytem, packet data service system), MSC/VLR/HLR ( MSC: MobileSwitching Center, mobile switching center; VLR: Visitor Location Register, visiting location register; HLR: Home Location Register, home location register), MC (Message Center, short message center), MPC (Mobile Position Center, mobile positioning center) As well as multiple sets of network equipment such as PDE (Positon Determination Entity, positioning entity), as long as there is a problem in one of the links, the entire test cannot be carried out, which seriously affects the test efficiency. In addition, the location request message initiated by the mobile station or the location service client (LCSClient: LocationServer Client location service client) is relatively simple, and each time it is sent, it is the same kind of message, and various parameters cannot be adjusted, and the system cannot be well implemented. The tests of various abnormal conditions fail to achieve the purpose of various abnormal tests. Moreover, the number of test mobile stations is limited, at least two or three, and the system cannot be tested for large traffic, and the requirements for testing the processing capability of the mobile positioning system cannot be met. In addition, the types of messages initiated by the mobile station cannot be flexibly adjusted, and messages cannot be sent according to different proportions of 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 mobile positioning system. It must be done. With this technology, the above-mentioned problems can be solved and work efficiency can be greatly improved.

发明内容Contents of the invention

本发明要解决的技术问题是提供一种模拟请求位置信息的系统及方法,通过模拟移动终端或位置服务客户端进行请求位置信息,可以直接针对移动定位系统发送不同类型、不同负荷的消息,以达到模拟现场真实环境针对移动定位系统进行稳定性及性能测试的目的,解决了现有测试环境不能对移动定位系统进行真实有效的稳定性及性能测试的问题。The technical problem to be solved by the present invention is to provide a system and method for simulating requesting location information. By simulating a mobile terminal or a location service client to request location information, messages of different types and different loads can be directly sent to the mobile positioning system. It achieves the purpose of testing the stability and performance of the mobile positioning system by simulating the real environment of the site, and solves the problem that the existing test environment cannot perform real and effective stability and performance tests on the mobile positioning system.

为达到上述目的,本发明可通过如下方式实现:To achieve the above object, the present invention can be realized in the following ways:

一种模拟请求位置信息的系统,包括通过TCP/IP网络和NO.7信令网相连的模拟系统和定位系统,该模拟系统包括:人机交互模块、业务处理模块、标准通讯模块、信令网关模块以及运行支撑模块;A system for simulating and requesting location information, including a simulation system and a positioning system connected to the NO.7 signaling network through a TCP/IP network. The simulation system includes: a human-computer interaction module, a business processing module, a standard communication module, a signaling Gateway module and operation support module;

所述的人机交互模块,用于完成该模拟系统的数据输入输出,通过相关接口将数据提供给标准通讯模块和业务处理模块;The human-computer interaction module is used to complete the data input and output of the simulation system, and provide data to the standard communication module and business processing module through relevant interfaces;

所述的业务处理模块,用于完成业务流程控制,对业务消息进行编/解码以及对该模拟系统的资源进行管理;The business processing module is used to complete business process control, encode/decode business messages and manage resources of the simulation system;

所述的标准通讯模块,用于完成该模拟系统同TCP/IP网络的消息交互并同人机交互模块、业务处理模块和运行支撑模块之间进行消息交互,完成TCP/IP链路的管理、SOCKET资源的管理、TCP/IP消息的接收和发送;The standard communication module is used to complete the message interaction between the simulation system and the TCP/IP network and carry out message interaction with the human-computer interaction module, the business processing module and the operation support module, and complete the management of the TCP/IP link, SOCKET Resource management, receiving and sending of TCP/IP messages;

所述的信令网关模块,用于转发NO.7信令消息,还用于完成至少一个业务处理模块的消息分发;The signaling gateway module is used to forward the No. 7 signaling message, and is also used to complete the message distribution of at least one business processing module;

所述的运行支撑模块,用于将来自信令网关模块的消息发送到业务处理模块,同时将来自业务处理模块的消息发送到信令网关模块。The operation support module is used to send messages from the signaling gateway module to the service processing module, and at the same time send messages from the service processing module to the signaling gateway module.

所述的该人机交互模块提供的数据输入包括:标准通讯数据输入、单条消息数据输入、大话务消息数据输入;提供的数据输出包括:链路状态信息输出、系统调试信息输出。The data input provided by the human-computer interaction module includes: standard communication data input, single message data input, and large traffic message data input; the data output provided includes: link status information output, system debugging information output.

一种模拟请求位置信息的方法,该方法包括如下步骤:A method for simulating requesting location information, the method comprising the steps of:

步骤1,模拟系统初始化;Step 1, simulation system initialization;

步骤2,模拟系统与定位系统建立通讯;Step 2, establishing communication between the simulation system and the positioning system;

步骤3,人机交互模块命令参数设定;Step 3, human-computer interaction module command parameter setting;

步骤4,业务处理模块读取参数信息,并向标准通讯模块发送消息;Step 4, the business processing module reads the parameter information, and sends a message to the standard communication module;

步骤5,标准通讯模块将收到的消息发送到定位系统。Step 5, the standard communication module sends the received message to the positioning system.

所述的方法还包括一个接收位置信息的步骤。The method also includes a step of receiving location information.

所述的该接收位置信息的步骤包括:The described step of receiving location information includes:

步骤61,定位系统处理消息后返回消息到标准通讯模块;Step 61, the positioning system returns the message to the standard communication module after processing the message;

步骤62,标准通讯模块将收到的消息发送到业务处理模块;Step 62, the standard communication module sends the received message to the business processing module;

步骤63,业务处理模块将消息解码为位置信息并传送到人机交互模块;Step 63, the business processing module decodes the message into location information and sends it to the human-computer interaction module;

步骤64,人机交互模块显示位置信息。Step 64, the human-computer interaction module displays the location information.

所述的模拟系统初始化的步骤,是指读取通讯配置文件,完成全局变量初始化,时钟初始化,进程初始化。The steps of initializing the simulation system refer to reading the communication configuration file, completing global variable initialization, clock initialization, and process initialization.

所述的模拟系统与定位系统建立通讯的步骤,是通过标准通讯模块通过读取预先设定的配置文件,获取需要连接的链路信息,通过TCP/IP建立与定位系统之间的消息通道。The step of establishing communication between the simulation system and the positioning system is to obtain the link information to be connected by reading the preset configuration file through the standard communication module, and establish a message channel with the positioning system through TCP/IP.

所述的人机交互模块命令参数设定的步骤,是指通过提供一个人工操作界面的接口,更改各种参数,设定各类消息比例以及消息类型等参数,并保存在一个配置文件中以供业务处理模块使用。The step of setting the command parameters of the human-computer interaction module 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 to It is used by the business processing module.

所述的业务处理模块读取参数信息,并向标准通讯模块发送消息的步骤,是指业务处理模块读取人机交互模块设定的参数,并进行编码,构造需要发送的消息,并发送到标准通讯模块。The step of the business processing module reading parameter information and sending a message to the standard communication module means that the business processing module reads the parameters set by the human-computer interaction module, encodes them, constructs a message to be sent, and sends it to Standard communication module.

所述的标准通讯模块将收到的消息发送到定位系统的步骤,是指标准通讯模块收到业务处理模块发来的消息后,利用建立的通讯通道通过TCP/IP协议将消息传输到定位系统。The step that the standard communication module sends the received message to the positioning system means that after the standard communication module receives the message from the business processing module, it uses the established communication channel to transmit the message to the positioning system through the TCP/IP protocol .

本发明的优点在于:The advantages of the present invention are:

本发明通过模拟移动终端和位置服务客户端直接向移动定位系统发送位置信息请求,可以节省MSC/VLR/HLR/BSS/PDSS/MS等设备,为我们的测试节约了大量成本,另外,由于模拟移动终端系统自动化程度高,对于重复测试,只需按一个命令即可,大大提高了我们的工作效率。The present invention directly sends location information requests to the mobile positioning system by simulating the mobile terminal and the location service client, which can save equipment such as MSC/VLR/HLR/BSS/PDSS/MS, and save a lot of cost for our test. In addition, due to the simulation The mobile terminal system has a high degree of automation. For repeated testing, 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 mobile positioning system, which greatly improves the stability test and performance test of the mobile positioning system. It has brought huge benefits to the stability of the product.

本发明所述的一种模拟请求位置信息的系统及方法最少只需要一台普通PC机和简型机即可运行,成本非常低。The system and method for simulating and requesting position information described in the present invention only need a common PC and a simple computer to operate at least, and the cost is very low.

附图说明Description of drawings

图1是本发明所述的一种模拟请求位置信息的系统及方法的网络结构图;Fig. 1 is a network structure diagram of a system and method for simulating requesting location information according to the present invention;

图2是本发明所述的一种模拟请求位置信息的系统的模块结构图;Fig. 2 is a module structure diagram of a system for simulating and requesting location information according to the present invention;

图3是本发明所述的一种模拟请求位置信息的方法的程序流程图;Fig. 3 is a program flow chart of a method for simulating requesting location information according to the present invention;

图4是本发明所述的一种模拟请求位置信息的方法完成一次典型位置信息请求的流程图。FIG. 4 is a flowchart of a typical location information request completed by a method for simulating location information requesting in the present invention.

具体实施方式Detailed ways

本发明所述的一种模拟请求位置信息的系统及方法主要采用模块化结构技术,各模块在逻辑上相互独立,功能上互为关联。本系统还可以在此模块化基础上进行功能扩充以及功能移植等等。A system and method for simulating and requesting location information according to the present invention mainly adopts a modular structure technology, and each module is logically independent and functionally interrelated. The system can also carry out function expansion and function transplantation on the basis of this modularization.

下面结合附图对本发明的模拟请求位置信息系统的实施方式进行详尽的阐述。The implementation of the simulation request location information system of the present invention will be described in detail below in conjunction with the accompanying drawings.

图1是本发明所述的一种模拟请求位置信息系统及方法的网络结构图,其中,模拟请求位置信息系统包括:被测系统1,模拟系统2,被模拟对象3,七号信令网4,TCP/IP网络5。囿于篇幅,该图只画出最简单的一次位置信息请求涉及到的网络实体,并将被模拟对象BSS/MSC/VLR/HLR/PDSS/LCSClient/MS合而为一示意,从图中知道,该发明所述的模拟系统替代了BSS/MSC/VLR/HLR/PDSS/LCSClient/MS等设备,通过模拟各种真实情况,直接向被测对象定位系统(MPC&&PDE)请求位置信息。Fig. 1 is a network structure diagram of a simulation request location information system and method according to the present invention, wherein the simulation request location information system includes: a system under test 1, a simulation system 2, a simulated object 3, and a No. 7 signaling network 4. TCP/IP network5. Due to limited space, this figure only draws the network entities involved in the simplest location information request, and combines the simulated objects BSS/MSC/VLR/HLR/PDSS/LCSClient/MS into one schematic diagram. From the figure, we know , the simulation system described in this invention replaces equipment such as BSS/MSC/VLR/HLR/PDSS/LCSClient/MS, and directly requests position information from the measured object positioning system (MPC&&PDE) by simulating various real situations.

本模拟系统在物理上由两个实体构成,一个是连接N0.7号信令的简型机,一个是连接TCP/IP的业务处理机,其中业务处理机可以是多个模块,且多业务处理机共享一个简型机,可以根据条件和测试要求进行不同的设置,使用起来非常灵活。例如,需要对定位系统进行性能测试,测试定位系统每秒处理短消息能力,此时需要考虑将本模拟系统多业务处理机设置;如果是进行某种条件的异常测试,则只需要一个业务处理机即可,从而可以减少设备,节省测试成本。The simulation system is physically composed of two entities, one is a simplified machine connected to No. The processors share a simple machine, which can be set differently 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 positioning system, and to test the ability of the positioning system to process short messages per second. At this time, it is necessary to consider setting up the multi-service processor of the simulation system; if it is an abnormal test under certain conditions, only one service processing is required. Only one machine is enough, so that the equipment can be reduced and the test cost can be saved.

图2是本发明所述的一种模拟请求位置信息的系统及方法模块结构图。其中,F代表系统内的重要接口,G代表支撑。从图中可以知道,本发明共有五大部分组成:人机交互模块21、业务处理模块22、标准通讯模块23、信令网关模块24以及运行支撑模块25。人机交互模块21主要完成本系统的各项数据输入输出,通过相关接口将数据提供给标准通讯模块23和业务处理模块22,以完成模拟系统的各类业务功能。业务处理模块22主要完成业务流程控制,对各类消息进行编解码以及系统资源的管理,业务处理模块22是本系统的主处理系统。标准通讯模块23用于完成系统同TCP/IP网络的消息交互以及同其它模块之间的消息交互。信令网关模块24主要完成NO.7信令消息的转发功能,除此之外,信令网关模块24完成多模块消息分发功能,以实现本系统对多模块功能的支持。运行支撑模块25是其它模块运行的支撑平台,运行支撑模块25作为一个消息传输的通道,将来自信令网关模块24的消息发送到业务处理模块22,同时将来自业务处理模块22的消息发送到信令网关模块24。FIG. 2 is a block diagram of a system and method for simulating requesting location information according to the present invention. Among them, F represents an important interface in the system, and G represents support. It can be seen from the figure that the present invention consists of five major parts: a human-computer interaction module 21 , a service processing module 22 , a standard communication module 23 , a signaling gateway module 24 and an operation support module 25 . The human-computer interaction module 21 mainly completes various data input and output of the system, and provides data to the standard communication module 23 and business processing module 22 through relevant interfaces to complete various business functions of the simulation system. The business processing module 22 mainly completes business process control, encodes and decodes various messages, and manages system resources. The business processing module 22 is the main processing system of the system. The standard communication module 23 is used to complete the message interaction between the system and the TCP/IP network and message interaction with other modules. The signaling gateway module 24 mainly completes the No. 7 signaling message forwarding function. In addition, the signaling gateway module 24 completes the multi-module message distribution function to realize the support of the multi-module function in this system. The operation support module 25 is a support platform for other modules to operate. The operation support module 25 is used as a message transmission channel to send the message from the signaling gateway module 24 to the service processing module 22, and simultaneously send the message from the service processing module 22 to the signaling module. Make the gateway module 24.

本模拟系统的人机交互模块21、业务处理模块22、标准通讯模块23、信令网关模块24以及运行支撑模块25在逻辑上相互独立,互不依赖,在功能上互相关联,联系紧密。五部分在逻辑上的独立,这种设计加强了模块化,有利于维护以及错误的排查,同时也有利于软件的移植。The human-computer interaction module 21, business processing module 22, standard communication module 23, signaling gateway module 24, and operation support module 25 of this simulation system are logically independent and independent of each other, but functionally related and closely linked. The five parts are logically independent, and 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 method for simulating requesting location information according to the present invention. The process is as follows:

301 系统初始化,包括读取通讯配置文件,完成全局变量初始化,时钟初始化,进程初始化;301 System initialization, including reading communication configuration files, completing global variable initialization, clock initialization, and process initialization;

302 建立与移动定位系统之间的通讯通道(七号信令链路和TCP/IP链路);302 Establish a communication channel with the mobile positioning system (Signaling No. 7 link and TCP/IP link);

303 业务处理模块的消息处理与发送;303 Message processing and sending of the business processing module;

304 运行支撑模块的消息发送;304 Sending messages of the running support module;

305 信令网关模块的消息发送;305 Message sending by the signaling gateway module;

306 标准通讯模块的消息发送。306 Message sending of standard communication module.

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

系统开始启动,进行系统初始化,该过程主要是读取通讯配置文件,完成全局变量初始化,时钟初始化,进程初始化,之后建立与移动定位系统之间的通讯通道(七号信令链路和TCP/IP链路)。如果该过程失败,系统将自动退出,重新启动系统。否则系统进入任务就绪状态,业务处理模块22和人机交互模块21也都处于工作就绪状态。The system starts up and performs system initialization. This process is mainly to read the communication configuration file, complete global variable initialization, clock initialization, process initialization, and then establish a communication channel with the mobile positioning system (Signaling 7 link and TCP/ IP link). 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 22 and the human-computer interaction module 21 are also in the work-ready state.

系统消息的触发可以通过人机交互模块21实现,通过人机交互模块21更改参数,发出命令之后,业务处理模块22读取人机交互模块21设定的参数,并进行编码,构造需要发送的消息,将消息发送到标准通讯模块23。The triggering of the system message can be realized through the human-computer interaction module 21. After changing the parameters through the human-computer interaction module 21 and issuing the command, the business processing module 22 reads the parameters set by the human-computer interaction module 21 and encodes them to construct the message that needs to be sent. message, send the message to the standard communication module 23.

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

标准通讯模块23收到业务处理模块22发来的消息后,不对消息进行处理,直接利用建立的通讯通道通过TCP/IP协议将消息传输到移动定位系统,运行支撑模块25处理也一样,将收到的业务处理模块22消息直接通过发送到信令网关模块24,信令网关模块24也不作处理,直接透明传输,利用建立的通讯通道通过No.7号协议传送到移动定位系统。After the standard communication module 23 receives the message sent by the business processing module 22, it does not process the message, and directly utilizes the established communication channel to transmit the message to the mobile positioning system through the TCP/IP protocol, and the operation support module 25 processes the same. The message received from the service processing module 22 is directly sent to the signaling gateway module 24, and the signaling gateway module 24 does not process it, and directly transmits it transparently, and uses the established communication channel to transmit it to the mobile positioning system through the No. 7 protocol.

从阐述图2和图3的描述中可以看出,本发明所述的一种模拟请求位置信息系统及方法的结构与功能非常清晰,模块化强,人机交互模块21、业务处理模块22、标准通讯模块23、信令网关模块24以及运行支撑模块25分别完成不同的任务,分别为其它的模块服务,正是这种各模块间的既相互独立又相互协调,才使得本系统配置灵活、功能强大、可移植性强等优点。As can be seen from the description of Fig. 2 and Fig. 3, the structure and function of a kind of simulation request location information system and method described in the present invention are very clear, modularization is strong, human-computer interaction module 21, business processing module 22, The standard communication module 23, the signaling gateway module 24 and the operation support module 25 respectively complete different tasks and serve other modules respectively. It is this kind of mutual independence and mutual coordination among the modules that makes the configuration of the system flexible and It has the advantages of powerful functions and strong portability.

附图4是本发明所述的一种模拟请求位置信息的方法完成一次典型位置信息请求的流程图(Java/Brew方式定位)。主要是通过举例说明,本系统是如何通过模拟移动终端发送请求位置信息到移动定位系统的,以及系统涉及到的处理流程。Accompanying drawing 4 is a flow chart of a typical location information request completed by a method of simulating requesting location information according to the present invention (Java/Brew mode positioning). It mainly illustrates how the system sends request location information to the mobile positioning system by simulating a mobile terminal, and the processing flow involved in the system is mainly illustrated by examples.

本发明所述的模拟系统主要功能就在于能够模拟移动终端和模拟位置服务客户端请求位置信息,下面以模拟终端为例说明。The main function of the simulation system of the present invention is to be able to simulate mobile terminals and simulate location service clients to request location information. The simulation terminal is used as an example to illustrate below.

假定移动终端,终端需要请求自己的位置信息。Assuming a mobile terminal, the terminal needs to request its own location information.

首先准备好测试环境,只需包括一套移动定位系统和一套本发明所述的模拟系统即可,且移动定位系统处于工作就绪状态。Firstly, the test environment is prepared, which only needs to include a set of mobile positioning system and a set of simulation system according to the present invention, and the mobile positioning system is in a working ready state.

启动本发明所述的模拟系统,系统开始初始化工作,初始化完毕,系统进入工作就绪状态。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.

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

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

标准通讯模块23收到消息后,不对消息进行处理,直接通过预先建立的TCP/IP通讯通道传输到移动定位系统。After receiving the message, the standard communication module 23 does not process the message, but directly transmits it to the mobile positioning system through the pre-established TCP/IP communication channel.

移动定位系统收到来自模拟系统移动终端发起的消息后,进行自己的业务处理,最后将位置信息结果返回到模拟系统,模拟系统通过人机交互模块21将结果显示出来。After receiving the message initiated by the mobile terminal of the simulation system, the mobile positioning system performs its own business processing, and finally returns the position information result to the simulation system, and the simulation system displays the result through the human-computer interaction module 21 .

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

业务处理模块22将收到的终呼消息进行解码,并传送到人机交互模块21,人机交互模块21将显示出移动终端的当前位置信息,包括:经纬度、应用类型、定位时间、定位精度等等。The service processing module 22 decodes the received terminal call message and sends it to the human-computer interaction module 21. The human-computer interaction module 21 will display the current location information of the mobile terminal, including: latitude and longitude, application type, positioning time, and positioning accuracy etc.

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

401 系统初始化。401 System initialization.

402 建立通讯402 establish communication

403 人机命令参数设定403 HMI command parameter setting

404 业务处理模块读取参数信息404 The business processing module reads parameter information

405 业务处理模块向标准通讯模块发送消息405 The business processing module sends a message to the standard communication module

406 标准通讯模块将收到的消息发送到移动定位系统406 The standard communication module sends the received message to the mobile positioning system

407 移动定位系统处理后返回消息到标准通讯模块407 The mobile positioning system returns the message to the standard communication module after processing

408 标准通讯模块将收到的消息发送到业务处理模块408 The standard communication module sends the received message to the business processing module

409 业务处理模块将消息解码为位置信息并传送到人机交互模块409 The business processing module decodes the message into location information and sends it to the human-computer interaction module

410 人机交互模块显示位置信息410 human-computer interaction module display location information

终上所述,本发明所述的一种模拟请求位置信息的系统具有模块化强、可扩充性以及可移植性好等优点。经过实际使用证明,该发明解决了许多不需要现实环境就能做到的问题,模拟出许多复杂情况,对移动定位系统进行了有效的异常测试及性能测试,并且本发明使用起来非常方便快捷,因此大大节省了测试成本,提高了测试效率。As mentioned above, the system for simulating and requesting location information 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 mobile positioning system, and the invention is very convenient and quick to use. Therefore, the test cost is greatly saved and the test efficiency is improved.

Claims (9)

1, a kind of system of simulating request position information, comprise the analogue system and the navigation system that link to each other with the NO.7 signaling network by the TCP/IP network, it is characterized in that this analogue system comprises: human-computer interaction module, Service Processing Module, standard communication module, SGW module and operation supporting module;
Described human-computer interaction module is used to finish the data input and output of this analogue system, by relevant interface data is offered standard communication module and Service Processing Module;
Described Service Processing Module is used to finish operation flow control, and service message is carried out coding/decoding and the resource of this analogue system is managed;
Described standard communication module, be used to finish this analogue system with carrying out interacting message between the interacting message of TCP/IP network and same human-computer interaction module, Service Processing Module and the operation supporting module, finish the management of TCP/IP link, the management of SOCKET resource, the reception and the transmission of TCP/IP message;
Described SGW module is used to transmit the NO.7 signaling message, also is used to finish the message distribution of at least one Service Processing Module;
Described operation supporting module is used for the message from the signaling gateway module is sent to Service Processing Module, will send to the SGW module from the message of Service Processing Module simultaneously.
2, the system of simulation request position information as claimed in claim 1 is characterized in that, the data input that this human-computer interaction module provides comprises: the input of standard communication data, the input of single message data, big traffic message data input; The data output that provides comprises: link-state information output, the output of system debug information.
3, a kind of method of utilizing the described system of claim 1 to simulate request position information is characterized in that this method comprises the steps:
Step 1, the analogue system initialization;
Step 2, analogue system and navigation system are set up communication;
Step 3, the human-computer interaction module command parameter is set;
Step 4, Service Processing Module reads parameter information, encodes, and structure needs the message of transmission, sends to the standard communication module;
Step 5, the standard communication module sends to navigation system with the message of receiving.
4, the method for simulation request position information as claimed in claim 3 is characterized in that, described method also comprises the step 6) receiving position information.
5, the method for simulation request position information as claimed in claim 4 is characterized in that, described step 6) receiving position information further comprises:
Step 61, return messages are to the standard communication module after the navigation system processing messages;
Step 62, the standard communication module sends to Service Processing Module with the message of receiving;
Step 63, Service Processing Module are positional information with source codec and are sent to human-computer interaction module;
Step 64, human-computer interaction module display position information.
6, the method for simulation request position information as claimed in claim 3 is characterized in that, the initialized step of described analogue system is meant and reads the communication configuration file, finishes the global variable initialization, clock initialization, process initialization.
7, the method for simulation request position information as claimed in claim 3, it is characterized in that, described analogue system and navigation system are set up the step of communication, be by the configuration file of standard communication module by reading pre-set, obtain the link information that needs connection, by the message channel between TCP/IP foundation and the navigation system.
8, the method for simulation request position information as claimed in claim 3, it is characterized in that, the step that described human-computer interaction module command parameter is set, be meant by the interface of an artificial operation interface is provided, change various parameters, set various types of messages ratio and type of message parameter, and be kept in the configuration file and use for Service Processing Module.
9, the method for simulation request position information as claimed in claim 3, it is characterized in that, described standard communication module sends to the message of receiving the step of navigation system, after the standard communication module of being meant is received the message that Service Processing Module sends, utilize the communication channel set up by ICP/IP protocol with transmission of messages to navigation system.
CNB031536166A 2003-08-15 2003-08-15 A system and method for simulating request location information Expired - Fee Related CN1301629C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031536166A CN1301629C (en) 2003-08-15 2003-08-15 A system and method for simulating request location information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031536166A CN1301629C (en) 2003-08-15 2003-08-15 A system and method for simulating request location information

Publications (2)

Publication Number Publication Date
CN1582042A CN1582042A (en) 2005-02-16
CN1301629C true CN1301629C (en) 2007-02-21

Family

ID=34580118

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031536166A Expired - Fee Related CN1301629C (en) 2003-08-15 2003-08-15 A system and method for simulating request location information

Country Status (1)

Country Link
CN (1) CN1301629C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100431370C (en) * 2005-05-11 2008-11-05 中兴通讯股份有限公司 Simulated mobile station system, simulated mobile station positioning test system and test method
CN100441015C (en) * 2005-06-13 2008-12-03 中兴通讯股份有限公司 A test system and test method for simulating continuous positioning of a mobile station
CN108260154B (en) * 2016-12-29 2020-11-17 千寻位置网络有限公司 Automatic function test method and system for AGNSS user plane location service
CN107749808A (en) * 2017-10-30 2018-03-02 北京车万家科技有限公司 Simulate implementation method, the apparatus and system of request

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240788A (en) * 1997-02-26 1998-09-11 Nec Corp Method for simulating semiconductor integrated circuit
CN1287309A (en) * 1999-11-04 2001-03-14 深圳市中兴通讯股份有限公司 Universal protocol testing method for embedded system
EP0954810B1 (en) * 1997-01-21 2002-06-12 Siemens Aktiengesellschaft Method for initializing a simulated behavior of a technical installation and simulation system for a technical installation
CN1355656A (en) * 2000-11-28 2002-06-26 深圳市中兴通讯股份有限公司 Method and system for simulating part of services in signaling No.7 transaction application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0954810B1 (en) * 1997-01-21 2002-06-12 Siemens Aktiengesellschaft Method for initializing a simulated behavior of a technical installation and simulation system for a technical installation
JPH10240788A (en) * 1997-02-26 1998-09-11 Nec Corp Method for simulating semiconductor integrated circuit
CN1287309A (en) * 1999-11-04 2001-03-14 深圳市中兴通讯股份有限公司 Universal protocol testing method for embedded system
CN1355656A (en) * 2000-11-28 2002-06-26 深圳市中兴通讯股份有限公司 Method and system for simulating part of services in signaling No.7 transaction application

Also Published As

Publication number Publication date
CN1582042A (en) 2005-02-16

Similar Documents

Publication Publication Date Title
CN110875840B (en) A network element management method, device, system and storage medium
CN111522727B (en) Simulation object test method, device and system
CN1631051A (en) Device for testing packet-switched cellular radio network
CN1492637A (en) Meta-service selector, meta-service selector protocol, network access server and system
EP2851795A1 (en) Device and method of driving multi-pdp data communication for mobile broadband device
CN1301629C (en) A system and method for simulating request location information
CN1476191A (en) Simulationi realizing method based on grouping data business process and system
CN1901538A (en) Multiple interface multiple protocol detecting method based on WAP/MMS service
CN1571571A (en) A short message sending-receiving method for simulative mobile terminal and simulative sending-receiving method
CN1905725A (en) System and method for testing speech service
CN101005411B (en) Circuit-type data service automatic test system, device and method
CN1553738A (en) A method and system for testing short message center functions
CN1622674A (en) Real-time simulation developing method and system for SIM toolkit
CN204362313U (en) A kind of multi mode multi band terminal test system
CN101207525B (en) System and apparatus for testing wireless network controller signaling processing module
CN1553682A (en) Short message signaling simulation test system and test method
CN1332592A (en) Base station side business imitating system and method
CN1809200A (en) Automatic performance test system for heavy traffic environment
CN1630317A (en) A system and method for realizing air interface big traffic simulation
CN1722675A (en) Method for on-line tracking of service flow
CN1805579A (en) Method of operating and maintaining equipment in telecom network by means of mobile station and its mobile network management system
CN1838618A (en) Method for testing transmission control protocol client
CN101198138B (en) Large speech affairs test simulation system and method
CN1567841A (en) An equipment and method for implementing information forwarding
CN1713777A (en) Location service platform integrating positioning and business functions and sector optimization 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070221

Termination date: 20140815

EXPY Termination of patent right or utility model