CN108260154A - The automated function test method and its system of a kind of AGNSS user planes positioning service - Google Patents

The automated function test method and its system of a kind of AGNSS user planes positioning service Download PDF

Info

Publication number
CN108260154A
CN108260154A CN201611248607.7A CN201611248607A CN108260154A CN 108260154 A CN108260154 A CN 108260154A CN 201611248607 A CN201611248607 A CN 201611248607A CN 108260154 A CN108260154 A CN 108260154A
Authority
CN
China
Prior art keywords
data
agnss
user planes
pseudo
terminal
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
CN201611248607.7A
Other languages
Chinese (zh)
Other versions
CN108260154B (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.)
Qianxun Position Network Co Ltd
Original Assignee
Qianxun Position Network Co Ltd
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 Qianxun Position Network Co Ltd filed Critical Qianxun Position Network Co Ltd
Priority to CN201611248607.7A priority Critical patent/CN108260154B/en
Publication of CN108260154A publication Critical patent/CN108260154A/en
Application granted granted Critical
Publication of CN108260154B publication Critical patent/CN108260154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses the automated function test methods and its system of a kind of AGNSS user planes positioning service.This method comprises the following steps:Create pseudo-terminal;Based on SUPL, RRLP or LLP agreement, interaction positioning assistance data and location information between pseudo-terminal and AGNSS user planes;The data and the data of disparate databases that AGNSS user planes are returned are compared, so as to verify the integrality of the service data of AGNSS user planes and correctness.The test method and its system of the present invention does not depend on true mobile terminal, supports the test of all kinds of abnormal scenes of simulation, and testing efficiency is high.

Description

The automated function test method and its system of a kind of AGNSS user planes positioning service
Technical field
The present invention relates to communication data processing technology field, more particularly to a kind of AGNSS user planes positioning service it is automatic Change functional test technology.
Background technology
GNSS positioning principles are the positions that user is obtained using GNSS satellite, and mobile terminal (MS) must at least acquisition and tracking Four and more than satellite, then demodulate temporal information, almanac data (EPH) and clock correction information.What tracking channel obtained As a result every satellite can be calculated to the pseudo-range information of user, almanac data and clock correction data are used for calculating the position of satellite It puts.According to pseudo-range information and the satellite of satellite, by algorithm for estimating such as least squares, can calculate user location information and Temporal information.Temporal information, almanac data and clock correction modulates information need receiver user tenacious tracking to believe in navigation message Number and correctly demodulate textual information and can just obtain.The almanac data of GPS, GLONASS and BDS repeat to broadcast every 30s, because This theoretically at least needs 30s that could obtain complete temporal information, almanac data and clock correction information.That is, it moves For dynamic terminal when cold start-up, the TTFF of user will not be less than 30s, leverage the experience of user.The hair of AGNSS technologies Exhibition accelerates user TTFF so that the booting of second grade, which positions, to be possibly realized.
AGNSS positioning includes control plane localization method and user interface positioning method.The network-side service master of control plane positioning It to be provided by major operator.User plane positioning is run on the application layer, is not required for when positioning using user plane Terminal supports control plane positioning, and the server of network side is SLP, and the friendship of location related information is carried out using SUPL agreements and UE Mutually.Several companies provide AGNSS user plane positioning services, such as the supl.google.com of Google, promise in the whole world at present The supl.nokia.com of base Asia.Terminal user and AGNSS server-sides are communicated by general standard agreement, as SUPL, RRLP, LPP etc..The reliability of AGNSS positioning services and the integrality of function directly affect the experience of terminal user.
Test for AGNSS user plane service quality, existing test method rely on true mobile terminal and true mostly Real environment, testing efficiency is low, and can not simulate many mobile terminal exception scenes, it is difficult to cover user plane commercial service items work( It can testing requirement.
Invention content
Automated function test method and test the purpose of the present invention is to provide a kind of AGNSS user planes positioning service System will rely on true mobile terminal and true environment with the test for solving current AGNSS user planes service quality and test is imitated The problem of rate is low.
In the present invention, first aspect provides a kind of automated function test method of AGNSS user planes positioning service, Include the following steps:
Create pseudo-terminal;
Based on SUPL, RRLP or LLP agreement, interaction positioning assistance data between the pseudo-terminal and AGNSS user planes And location information;
The data and the data of disparate databases that the AGNSS user planes are returned are compared, described so as to verify The integrality and correctness of the service data of AGNSS user planes.
Second aspect of the present invention provides a kind of automated function test system of AGNSS user planes positioning service, including:
Creation module, for creating pseudo-terminal;
Interactive module is handed over for being based on SUPL, RRLP or LLP agreement between the pseudo-terminal and AGNSS user planes Mutual positioning assistance data and location information;
Comparison module, data and the data of disparate databases for the AGNSS user planes to be returned are compared, from And verify the integrality and correctness of the service data of the AGNSS user planes.
Compared with prior art, the main distinction and its effect are embodiment of the present invention:
The present invention provides a kind of automated function test methods of AGNSS user planes positioning service and test system, survey Comprising a test platform and a series of test case in test system, run on common PC, do not depend on true movement Terminal supports the test of all kinds of abnormal scenes of simulation, and testing efficiency is high, while test platform supports regression test.
Further, test system further includes:Initialization module, can be with initialization test platform;First link block, can To establish TCP or TLS connections between the pseudo-terminal and AGNSS user planes;Handshake module, can be in the pseudo-terminal It establishes and shakes hands between the AGNSS user planes.
Further, test system further includes:Closedown module can close TCP or TLS connections;Test platform is gone initially Change module, it can be with deinitialization test platform.
Further, interactive module includes:Request to create submodule, can be used for pseudo-terminal create based on SUPL, The AGNSS request of data of RRLP or LLP agreements;Request submodule is sent, can be used for pseudo-terminal and sent to AGNSS user planes The AGNSS request of data.
Further, the first authentication module includes multiple judging submodules and multiple connection submodules, can realize first The function of authentication module.
Further, the second authentication module includes transform subblock and multiple judging submodules, can realize the second verification The function of module.
Further, test system further includes:Extraction module can extract the pseudo-terminal from interactive message flow The data item that the data item of request and the AGNSS user planes return;Second judgment module, it can be determined that the pseudo-terminal please Whether the data item that the data item asked and the AGNSS user planes return meets protocol logic.
It should be understood that within the scope of the present invention, above-mentioned each technical characteristic of the invention and have in below (eg embodiment) It can be combined with each other between each technical characteristic of body description, so as to form new or preferred technical solution.As space is limited, exist This is no longer repeated one by one.
Description of the drawings
Fig. 1 is the flow diagram of the automated function test method in first embodiment of the invention.
Fig. 2 is the flow diagram of the automated function test method in second embodiment of the invention.
Fig. 3 is the flow diagram of the automated function test method in third embodiment of the invention.
Fig. 4 is the flow diagram of the automated function test method in four embodiment of the invention.
Fig. 5 is the flow diagram of the automated function test method in fifth embodiment of the invention.
Fig. 6 is the flow diagram of the automated function test method in sixth embodiment of the invention.
Fig. 7 is the flow diagram of the automated function test method in seventh embodiment of the invention.
Fig. 8 is the structure diagram of the automated function test system in eighth embodiment of the invention.
Fig. 9 is the structure diagram of the automated function test system in ninth embodiment of the invention.
Figure 10 is the structure diagram of the automated function test system in tenth embodiment of the invention.
Figure 11 is the structure diagram of the automated function test system in eleventh embodiment of the invention.
Figure 12 is the structure diagram of the automated function test system in twelveth embodiment of the invention.
Figure 13 is the structure diagram of the automated function test system in thirteenth embodiment of the invention.
Figure 14 is the structure diagram of the automated function test system in fourteenth embodiment of the invention.
Specific embodiment
In the following description, in order to make the reader understand this application better, many technical details are proposed.But this Even if the those of ordinary skill in field is appreciated that without these technical details and many variations based on the following respective embodiments And modification, it can also realize the application technical solution claimed.
Term
GNSS:Global navigation satellite system GPSs
AGNSS:Aiding GNSS assisted GNSS technologies
MS:Mobile Station mobile terminals
UE:User Equipment user equipmenies
TCP:Transmission Control Protocol transmission control protocols (TCP) be it is a kind of it is connection-oriented, can Transport layer communication protocol lean on, based on byte stream
TLS:Transport Layer Security safe transmissions layer protocols (TLS) are in two communication application programs Between confidentiality and data integrity are provided
SUPL:Secure User Plane Location secure user planes (SUPL) interface
SLP (SUPL Location Platform) is responsible for all SUPL message of processing
RRLP:Radio resource location services (LCS) protocol radio resource location services (LCS) agreement
LPP:Peer layer in LTE Positioning Protocol LTE systems between terminal and location-server is determined Bit protocol
TTFF:Time TO First Fix, that is, primary positioning time
EPH:Ephemeris almanac datas
IGS:TheInternational GNSS Service world GNSS are serviced
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with implementation of the attached drawing to the present invention Mode is described in further detail.
First embodiment of the invention is related to a kind of automated function test method of AGNSS user planes positioning service, Fig. 1 It is the flow diagram of this method.
As shown in the figure, step 101:Create pseudo-terminal.
Hereafter it is transferred to step 102:Based on SUPL, RRLP or LLP agreement, between the pseudo-terminal and AGNSS user planes Interaction positioning assistance data and location information.
Hereafter it is transferred to step 103:The data and the data of disparate databases that the AGNSS user planes are returned compare Compared with so as to verify the integrality and correctness of the service data of the AGNSS user planes.
Second embodiment of the invention is related to a kind of automated function test method of AGNSS user planes positioning service, Fig. 2 It is the flow diagram of this method.
As shown in the figure, step 201:Initialization test platform.
Hereafter it is transferred to step 202:Pseudo-terminal is created, this step is identical with step 101.
Hereafter it is transferred to step 203:TCP or TLS connections are established between the pseudo-terminal and AGNSS user planes.
Hereafter it is transferred to step 204:It establishes and shakes hands between the pseudo-terminal and the AGNSS user planes.
Hereafter it is transferred to step 205:The pseudo-terminal creates the AGNSS data based on SUPL, RRLP or LLP agreement please It asks.
Hereafter it is transferred to step 206:The pseudo-terminal sends the AGNSS request of data to AGNSS user planes.
Hereafter it is transferred to step 207:The data and the data of disparate databases that the AGNSS user planes are returned compare Compared with so as to verify the integrality and correctness of the service data of the AGNSS user planes, this step is identical with step 103.
In present embodiment, a series of pseudo-terminals for connecting AGNSS user planes service to be measured are test cases, according to not Same test purpose, can develop different test cases, and be added step-wise in automated function test system.
Test platform is the basis for developing test case, provides all kinds of test configurations needed for each class testing-case Interface.
Test platform mainly includes:
Protocol encoding and decoding module is used to implement all kinds of protocol messages of construction;
The communication module connected with closing TCP or TLS is established with the service of AGNSS user planes, for establishing user plane transmission Layer connection;
Agreement code stream module is sended and received with AGNSS user plane service interactions, for controlling each protocol message It sends and receivees;
AGNSS service data correction verification modules, for checking the integrality of service data that AGNSS user planes provide and correct Property;
For managing the log information of interaction in measuring executing process, TCP is established including test platform for log management module Or result information of the handshaking information of TLS connections, the code stream information sent and received, data check etc.;
Automatic test control module, for the batch processing of all test cases to be controlled to perform, statistical data result is simultaneously converged Total test report and regression test.
Test case can simulate all kinds of terminal iidentifications, and all kinds of protocol versions, all kinds of auxiliary positioning datas, mould are asked in simulation Intend connecting all kinds of serve ports, simulation uses all kinds of transport protocols, simulates all kinds of normal and abnormal communication process etc..Test Use-case diversification can sound assurance AGNSS user planes location service function test integrality.
Meanwhile each test case is self-existent, is also unrelated loose coupling between each module of test platform. In test process, different test cases can be combined into as playing with building blocks.Entire test system all runs on common PC On, do not depend on true mobile terminal.Test method testing efficiency based on this test system is high, supports regression test, and It and can be according to different testing requirements, constantly newly-increased test case, the correctness and integrality tested with assurance function.
Third embodiment of the invention is related to a kind of automated function test method of AGNSS user planes positioning service, Fig. 3 It is the flow diagram of this method.
As shown in the figure, step 301:Initialization test platform.
Hereafter it is transferred to step 302:Pseudo-terminal is created, this step is identical with step 202.
Hereafter it is transferred to step 303:TCP or TLS connections are established between the pseudo-terminal and AGNSS user planes, this step Suddenly it is identical with step 203.
Hereafter it is transferred to step 304:Establish and shake hands between the pseudo-terminal and the AGNSS user planes, this step with Step 204 is identical.
Hereafter it is transferred to step 305:The pseudo-terminal creates the AGNSS data based on SUPL, RRLP or LLP agreement please It asks, this step is identical with step 205.
Hereafter it is transferred to step 306:The pseudo-terminal sends the AGNSS request of data, this step to AGNSS user planes It is identical with step 206.
Hereafter it is transferred to step 307:The data and the data of disparate databases that the AGNSS user planes are returned compare Compared with so as to verify the integrality and correctness of the service data of the AGNSS user planes, this step is identical with step 207.
Hereafter it is transferred to step 308:Close TCP or TLS connections.
Hereafter it is transferred to step 309:Deinitialization test platform.
In present embodiment, initialization test platform includes:Daily record initialization and pseudo-terminal configuration initialization are (comprising eventually Hold id, protocol version, terminal ability information etc.).
Deinitialization test platform includes:Daily record recycling filing, discriminating test success or failure and system reducing.
Four embodiment of the invention is related to a kind of automated function test method of AGNSS user planes positioning service, Fig. 4 It is the flow diagram of this method.
As shown in the figure, step 401:Pseudo-terminal is created, this step is identical with step 202.
Hereafter it is transferred to step 402:The pseudo-terminal creates the AGNSS data based on SUPL, RRLP or LLP agreement please It asks, this step is identical with step 205.
Hereafter it is transferred to step 403:The pseudo-terminal sends the AGNSS request of data, this step to AGNSS user planes It is identical with step 206.
Hereafter it is transferred to step 404:Judge whether the pseudo-terminal can connect and the AGNSS initial data of service is provided Library if it is, performing step 405, otherwise performs step 406.
In step 405, read the data in the raw data base and with the data that the AGNSS user planes return into Row compares, so as to verify the integrality and correctness of the service data of the AGNSS user planes.
In a step 406, the data for reading third-party reference data and being returned with the AGNSS user planes are compared Compared with so as to verify the integrality and correctness of the service data of the AGNSS user planes.
Step 405 and step 406 can realize the function of step 207.
Fifth embodiment of the invention is related to a kind of automated function test method of AGNSS user planes positioning service, Fig. 5 It is the flow diagram of this method.
As shown in the figure, step 501:Pseudo-terminal is created, this step is identical with step 401.
Hereafter it is transferred to step 502:The pseudo-terminal creates the AGNSS data based on SUPL, RRLP or LLP agreement please It asks, this step is identical with step 402.
Hereafter it is transferred to step 503:The pseudo-terminal sends the AGNSS request of data, this step to AGNSS user planes It is identical with step 403.
Hereafter it is transferred to step 504:Judge whether the pseudo-terminal can connect and the AGNSS initial data of service is provided Library, this step is identical with step 404, if it is, performing step 505, otherwise performs step 506.
In step 506, the data for reading third-party reference data and being returned with the AGNSS user planes are compared Compared with so as to verify the integrality and correctness of the service data of the AGNSS user planes, this step is identical with step 406.
In step 505, judge whether the pseudo-terminal requests reference position, reference time service, if it is, Step 507 is performed, otherwise performs step 508.
In step 507, connect and read reference position and reference time database.
Hereafter it is transferred to step 509:Judge whether is data in data and the database that the AGNSS user planes return Unanimously, if it is, performing step 508, step 510 is otherwise performed.
In step 510, judge check errors.
In step 508, judge whether the pseudo-terminal requests almanac, ionosphere model parameters, navigation ephemeris mould Shape parameter, UTC model parameter services if it is, performing step 512, otherwise perform step 511.
In step 511, judgement verification passes through.
In step 512, it connects and reads almanac, ionosphere model parameters, navigation ephemeris model parameters, UTC models ginseng Number database.
Hereafter it is transferred to step 513:Judge whether is data in data and the database that the AGNSS user planes return Unanimously, if it is, performing step 511, step 510 is otherwise performed.
Step 505, step 507, step 508, step 509, step 510, step 511, step 512 and step 513 can be with Realize the function of step 405.
Sixth embodiment of the invention is related to a kind of automated function test method of AGNSS user planes positioning service, Fig. 6 It is the flow diagram of this method.
As shown in the figure, step 601:Pseudo-terminal is created, this step is identical with step 401.
Hereafter it is transferred to step 602:The pseudo-terminal creates the AGNSS data based on SUPL, RRLP or LLP agreement please It asks, this step is identical with step 402.
Hereafter it is transferred to step 603:The pseudo-terminal sends the AGNSS request of data, this step to AGNSS user planes It is identical with step 403.
Hereafter it is transferred to step 604:Judge whether the pseudo-terminal can connect and the AGNSS initial data of service is provided Library, this step is identical with step 404, if it is, performing step 605, otherwise performs step 606.
In step 605, read the data in the raw data base and with the data that the AGNSS user planes return into Row compares, and so as to verify the integrality and correctness of the service data of the AGNSS user planes, this step is identical with step 405.
In step 606, judge whether the pseudo-terminal requests almanac, ionosphere model parameters, navigation ephemeris mould Shape parameter, UTC model parameter services if it is, performing step 607, otherwise perform step 608.
In step 608, judgement verification passes through.
In step 607, the GNSS data of third party IGS data centers publication is obtained, is converted into almanac, ionospheric model Parameter, navigation ephemeris model parameters, UTC model parameter datas.
Hereafter it is transferred to step 609:Judge whether the data that the AGNSS user planes return are consistent with the supplemental characteristic, If it is, performing step 608, step 610 is otherwise performed.
In step 610, judge check errors.
Step 606, step 607, step 608, step 609 and step 610 can realize the function of step 406.
Seventh embodiment of the invention is related to a kind of automated function test method of AGNSS user planes positioning service, Fig. 7 It is the flow diagram of this method.
As shown in the figure, step 701:Pseudo-terminal is created, this step is identical with step 401.
Hereafter it is transferred to step 702:The pseudo-terminal creates the AGNSS data based on SUPL, RRLP or LLP agreement please It asks, this step is identical with step 402.
Hereafter it is transferred to step 703:The pseudo-terminal sends the AGNSS request of data, this step to AGNSS user planes It is identical with step 403.
Hereafter it is transferred to step 704:The data item of pseudo-terminal request and described is extracted from interactive message flow The data item that AGNSS user planes return.
Hereafter it is transferred to step 705:Judge the number that the data item of the pseudo-terminal request and the AGNSS user planes return Whether meet protocol logic according to item, if it is, performing step 706, otherwise perform step 707.
In step 707, check errors are judged.
In step 706, judge whether the pseudo-terminal can connect and the AGNSS raw data bases of service are provided, this Step is identical with step 404, if it is, performing step 708, otherwise performs step 709.
In step 708, read the data in the raw data base and with the data that the AGNSS user planes return into Row compares, and so as to verify the integrality and correctness of the service data of the AGNSS user planes, this step is identical with step 405.
In step 709, the data for reading third-party reference data and being returned with the AGNSS user planes are compared Compared with so as to verify the integrality and correctness of the service data of the AGNSS user planes, this step is identical with step 406.
Eighth embodiment of the invention is related to a kind of automated function test system of AGNSS user planes positioning service, Fig. 8 It is the structure diagram of the system.
As shown in the figure, a kind of automated function test system of AGNSS user planes positioning service, including:
Creation module 801, for creating pseudo-terminal;
Interactive module 802, for being based on SUPL, RRLP or LLP agreement in the pseudo-terminal and AGNSS user planes 800 Between interaction positioning assistance data and location information;
Comparison module 803, for the data that return to the AGNSS user planes 800 and disparate databases 834 data into Row compares, so as to verify the integrality and correctness of the service data of the AGNSS user planes 800.
First embodiment is can to implement with the corresponding method embodiment of present embodiment, present embodiment with first Mode is worked in coordination implementation.The relevant technical details mentioned in first embodiment are still effective in the present embodiment, in order to It reduces and repeats, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the first implementation In mode.
Ninth embodiment of the invention is related to a kind of automated function test system of 800 positioning service of AGNSS user planes, Fig. 9 is the structure diagram of the system.
Present embodiment is improved on the basis of the 8th embodiment, is mainly theed improvement is that:
The test system of present embodiment further includes:Initialization module 804, can be with initialization test platform;First connection Module 805 can establish TCP or TLS connections between the pseudo-terminal and AGNSS user planes 800;Handshake module 806, can It is shaken hands with being established between the pseudo-terminal and the AGNSS user planes 800.
Specifically:
As shown in the figure, the test system of present embodiment further includes:
Initialization module 804, for initialization test platform;
First link block 805 connects for establishing TCP or TLS between the pseudo-terminal and AGNSS user planes 800 It connects;
Handshake module 806 is shaken hands for being established between the pseudo-terminal and the AGNSS user planes 800.
The interactive module 802 of present embodiment includes:
Request to create submodule 807, creating the AGNSS data based on SUPL, RRLP or LLP agreement for pseudo-terminal please It asks;
Request submodule 808 is sent, the AGNSS request of data is sent to AGNSS user planes 800 for pseudo-terminal.
Second embodiment is can to implement with the corresponding method embodiment of present embodiment, present embodiment with second Mode is worked in coordination implementation.The relevant technical details mentioned in second embodiment are still effective in the present embodiment, in order to It reduces and repeats, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the second implementation In mode.
Tenth embodiment of the invention is related to a kind of automated function test system of 800 positioning service of AGNSS user planes, Figure 10 is the structure diagram of the system.
Present embodiment is improved on the basis of the 9th embodiment, is mainly theed improvement is that:
The test system of present embodiment further includes:Closedown module 809 can close TCP or TLS connections;Test platform Deinitialization module 810804, can be with deinitialization test platform.
Specifically:
As shown in the figure, the test system of present embodiment further includes:
Closedown module 809, for closing TCP or TLS connections;
Test platform deinitialization module 810804, for deinitialization test platform.
Third embodiment is can to implement with the corresponding method embodiment of present embodiment, present embodiment with third Mode is worked in coordination implementation.The relevant technical details mentioned in third embodiment are still effective in the present embodiment, in order to It reduces and repeats, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in third implementation In mode.
Eleventh embodiment of the invention is related to a kind of automated function test system of 800 positioning service of AGNSS user planes System, Figure 11 is the structure diagram of the system.
Present embodiment is improved on the basis of the 8th embodiment, is mainly theed improvement is that:
The interactive module 802 of present embodiment includes:Request to create submodule 807 can be used for pseudo-terminal and create base In the AGNSS request of data of SUPL, RRLP or LLP agreement;Request submodule 808 is sent, can be used for pseudo-terminal to AGNSS User plane 800 sends the AGNSS request of data.
Specifically:
As shown in the figure, the interactive module 802 of present embodiment includes:
Request to create submodule 807, creating the AGNSS data based on SUPL, RRLP or LLP agreement for pseudo-terminal please It asks;
Request submodule 808 is sent, the AGNSS request of data is sent to AGNSS user planes 800 for pseudo-terminal.
The test system of present embodiment further includes:
First judgment module 811 provides the AGNSS initial data of service for judging whether pseudo-terminal can connect Library;
First authentication module 812, for when pseudo-terminal can connect the raw data base for providing AGNSS services, reading The data for taking the data in the raw data base and being returned with the AGNSS user planes 800 are compared, described so as to verify The integrality and correctness of the service data of AGNSS user planes 800;
Second authentication module 813, for when pseudo-terminal cannot connect provide AGNSS service raw data base when, The data for reading third-party reference data and being returned with the AGNSS user planes 800 are compared, described so as to verify The integrality and correctness of the service data of AGNSS user planes 800.
4th embodiment is can to implement with the corresponding method embodiment of present embodiment, present embodiment with the 4th Mode is worked in coordination implementation.The relevant technical details mentioned in 4th embodiment are still effective in the present embodiment, in order to It reduces and repeats, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the 4th implementation In mode.
Twelveth embodiment of the invention is related to a kind of automated function test system of 800 positioning service of AGNSS user planes System, Figure 12 is the structure diagram of the system.
Present embodiment is improved on the basis of the 11st embodiment, is mainly theed improvement is that:
First authentication module 812 of present embodiment includes multiple judging submodules and multiple connection submodules, Ke Yishi The function of existing first authentication module 812.
Specifically:
As shown in the figure, the first authentication module 812 of present embodiment includes:
First judging submodule 814, for judging whether pseudo-terminal requests reference position, reference time service;
First connection submodule 815, for when pseudo-terminal requests reference position, reference time service, connection to be simultaneously Read reference position and reference time database;
Second judgment submodule 816, for when pseudo-terminal does not ask reference position, reference time service, judging Whether the pseudo-terminal requests almanac, ionosphere model parameters, navigation ephemeris model parameters, UTC model parameter services;
Third judging submodule 817, for judging in the data and reference time database of the return of AGNSS user planes 800 Data it is whether consistent;
4th judging submodule, for working as the data in the data and reference time database of the return of AGNSS user planes 800 When consistent, judge whether pseudo-terminal requests almanac, ionosphere model parameters, navigation ephemeris model parameters, UTC model parameters Service;
First decision sub-module 819, for working as in the data and reference time database of the return of AGNSS user planes 800 When data are inconsistent, check errors are judged;
Second decision sub-module 820 does not ask almanac, ionosphere model parameters, navigation ephemeris for working as pseudo-terminal When model parameter, the service of UTC model parameters, judgement verification passes through;
Second connection submodule 821 requests almanac, ionosphere model parameters, navigation ephemeris mould for working as pseudo-terminal It when shape parameter, the service of UTC model parameters, connects and reads almanac, ionosphere model parameters, navigation ephemeris model parameters, UTC moulds Shape parameter database;
5th judging submodule 822, for judging in the data and the parameter database of the return of AGNSS user planes 800 Data it is whether consistent;
Third decision sub-module 823, for working as in the data and the parameter database of the return of AGNSS user planes 800 When data are inconsistent, check errors are judged;
4th decision sub-module 824, for working as in the data and the parameter database of the return of AGNSS user planes 800 When data are consistent, judgement verification passes through.
In present embodiment, the 4th judging submodule is same module with second judgment submodule 816, and third judges submodule 823 and first decision sub-module 819 of block is same module, and the 4th decision sub-module 824 is same with the second decision sub-module 820 Module.
5th embodiment is can to implement with the corresponding method embodiment of present embodiment, present embodiment with the 5th Mode is worked in coordination implementation.The relevant technical details mentioned in 5th embodiment are still effective in the present embodiment, in order to It reduces and repeats, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the 5th implementation In mode.
Thirteenth embodiment of the invention is related to a kind of automated function test system of 800 positioning service of AGNSS user planes System, Figure 13 is the structure diagram of the system.
Present embodiment is improved on the basis of the 11st embodiment, is mainly theed improvement is that:
The second authentication module 813 in present embodiment includes transform subblock 827 and multiple judging submodules, Ke Yishi The function of existing second authentication module 813.
Specifically:
As shown in the figure, the second authentication module 813 in present embodiment includes:
6th judging submodule 825, for judging whether pseudo-terminal requests almanac, ionosphere model parameters, navigation Ephemeris model parameters, UTC model parameter services;
5th decision sub-module 826 does not ask almanac, ionosphere model parameters, navigation ephemeris for working as pseudo-terminal When model parameter, the service of UTC model parameters, judgement verification passes through;
Transform subblock 827 requests almanac, ionosphere model parameters, navigation ephemeris model ginseng for working as pseudo-terminal When number, the service of UTC model parameters, the GNSS data of third party IGS data centers publication is obtained, is converted into almanac, ionosphere mould Shape parameter, navigation ephemeris model parameters, UTC model parameter datas;
7th judging submodule 828, for judging whether are data and the supplemental characteristic that AGNSS user planes 800 return Unanimously;
6th decision sub-module 829, for the data that are returned when AGNSS user planes 800 it is consistent with the supplemental characteristic when, Judgement verification passes through;
7th decision sub-module 830, it is inconsistent for working as the data of the return of AGNSS user planes 800 and the supplemental characteristic When, judge check errors.
In present embodiment, the 6th decision sub-module 829 and the 5th decision sub-module 826 are same module.
Sixth embodiment is can to implement with the corresponding method embodiment of present embodiment, present embodiment with the 6th Mode is worked in coordination implementation.The relevant technical details mentioned in sixth embodiment are still effective in the present embodiment, in order to It reduces and repeats, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the 6th implementation In mode.
Fourteenth embodiment of the invention is related to a kind of automated function test system of 800 positioning service of AGNSS user planes System, Figure 14 is the structure diagram of the system.
Present embodiment is improved on the basis of the 11st embodiment, is mainly theed improvement is that:
The test system of present embodiment further includes:Extraction module 831 can extract the mould from interactive message flow Intend the data item that the data item of terminal request and the AGNSS user planes 800 return;Second judgment module 832, it can be determined that institute State whether the data item that the data item of pseudo-terminal request and the AGNSS user planes 800 return meets protocol logic.
Specifically:
As shown in the figure, the test system of present embodiment further includes:
Extraction module 831, for extracting the data item of pseudo-terminal request and described from interactive message flow The data item that AGNSS user planes 800 return;
Second judgment module 832, for judging the data item of the pseudo-terminal request and the AGNSS user planes 800 Whether the data item of return meets protocol logic;
8th decision sub-module 833, for working as the data item of the pseudo-terminal request and the AGNSS user planes 800 When the data item of return does not meet protocol logic, check errors are judged.
The first judgment module 811 in present embodiment is connected to second judgment module 832, for working as the simulation When the data item that the data item of terminal request and the AGNSS user planes 800 return meets protocol logic, judge that pseudo-terminal is No can connect provides the AGNSS raw data bases of service.
7th embodiment is can to implement with the corresponding method embodiment of present embodiment, present embodiment with the 7th Mode is worked in coordination implementation.The relevant technical details mentioned in 7th embodiment are still effective in the present embodiment, in order to It reduces and repeats, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the 7th implementation In mode.
The each method embodiment of the present invention can be realized in a manner of software, hardware, firmware etc..No matter the present invention be with Software, hardware or firmware mode realize that instruction code may be stored in any kind of computer-accessible memory In (such as permanent either revisable volatibility is either non-volatile solid or non-solid, it is fixed or Replaceable medium of person etc.).Equally, memory may, for example, be programmable logic array (Programmable Array Logic, referred to as " PAL "), random access memory (Random Access Memory, referred to as " RAM "), programmable read-only deposit Reservoir (Programmable Read Only Memory, referred to as " PROM "), read-only memory (Read-Only Memory, letter Claim " ROM "), electrically erasable programmable read-only memory (Electrically Erasable Programmable ROM, referred to as " EEPROM "), disk, CD, digital versatile disc (Digital Versatile Disc, referred to as " DVD ") etc..
It should be noted that each module mentioned in each equipment embodiment of the present invention is all logic module, physically, One logic module can be a part for a physical module or a physical module, can also be with multiple physics The combination of module realizes that the Physical realization of these logic modules in itself is not most important, these logic modules institute is real The combination of existing function is only the key for solving the technical issues of proposed by the invention.In addition, in order to protrude the innovation of the present invention Part, the above-mentioned each equipment embodiment of the present invention not will with to solve the technical issues of proposed by the invention relationship less close Module introduce, this does not indicate above equipment embodiment and there is no other modules.
It should be noted that in this patent specification, relational terms such as first and second and the like are only used Distinguish one entity or operation from another entity or operation, without necessarily requiring or implying these entities or There are any actual relationship or orders between operation.Moreover, term " comprising ", "comprising" or its any other change Body is intended to non-exclusive inclusion, so that process, method, article or equipment including a series of elements are not only wrapped Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article Or the element that equipment is intrinsic.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged Except also there are other identical elements in the process, method, article or apparatus that includes the element.
Although by referring to some of the preferred embodiment of the invention, the present invention is shown and described, It will be understood by those skilled in the art that can to it, various changes can be made in the form and details, without departing from this hair Bright spirit and scope.

Claims (10)

  1. A kind of 1. automated function test method of AGNSS user planes positioning service, which is characterized in that include the following steps:
    Create pseudo-terminal;
    Positioning assistance data is interacted based on SUPL, RRLP or LLP agreement, between the pseudo-terminal and AGNSS user planes and is determined Position information;
    The data and the data of disparate databases that the AGNSS user planes are returned are compared, so as to verify that the AGNSS is used The integrality and correctness of the service data in family face.
  2. 2. according to the method described in claim 1, it is characterized in that, the step is " described based on SUPL, RRLP or LLP agreement Step is further included before interaction positioning assistance data and location information between pseudo-terminal and AGNSS user planes ":
    TCP or TLS connections are established between the pseudo-terminal and AGNSS user planes;
    It establishes and shakes hands between the pseudo-terminal and the AGNSS user planes.
  3. 3. according to the method described in claim 1, it is characterized in that, the step " pseudo-terminal and AGNSS user planes it Between interaction positioning assistance data and location information " including following sub-step:
    The pseudo-terminal creates the AGNSS request of data based on SUPL, RRLP or LLP agreement;
    The pseudo-terminal sends the AGNSS request of data to AGNSS user planes.
  4. 4. the according to the method described in claim 1, it is characterized in that, step " data for returning to the AGNSS user planes It is compared with the data of disparate databases, so as to verify the integrality and correctness of the service data of the AGNSS user planes " Including following sub-step:
    Judge whether the pseudo-terminal can connect and the AGNSS raw data bases of service are provided, if it is, reading the original Data in the beginning database and data returned with the AGNSS user planes are compared, so as to verify the AGNSS user planes Service data integrality and correctness;Otherwise it reads third-party reference data and is returned with the AGNSS user planes Data are compared, so as to verify the integrality and correctness of the service data of the AGNSS user planes.
  5. 5. according to the method described in claim 4, it is characterized in that, the step " reads the data in the raw data base And the data returned with the AGNSS user planes are compared, so as to verify the complete of the service data of the AGNSS user planes Property and correctness " is including following sub-step:
    Judge whether the pseudo-terminal requests almanac, ionosphere model parameters, navigation ephemeris model parameters, UTC models ginseng Number service, if it is, connecting and reading almanac, ionosphere model parameters, navigation ephemeris model parameters, UTC model parameter numbers According to library, and judge whether the data of the AGNSS user planes return and the data in the database are consistent, otherwise judgement verification Pass through;
    It is wrapped after the step " judging whether the data of the AGNSS user planes return and the data in the database are consistent " Include step:
    If it is, judgement verification passes through, check errors are otherwise judged.
  6. 6. according to the method described in claim 5, it is characterized in that, the step " judges whether the pseudo-terminal requests Include step before almanac, ionosphere model parameters, navigation ephemeris model parameters, the service of UTC model parameters ":
    Judge whether the pseudo-terminal requests reference position, reference time service, if it is, connecting and reading reference bit Put with reference time database, and judge the data in data and the database that the AGNSS user planes return whether one It causes, otherwise performs the step and " judge whether the pseudo-terminal requests almanac, ionosphere model parameters, navigation ephemeris mould Shape parameter, the service of UTC model parameters ";
    It is wrapped after the step " judging whether the data of the AGNSS user planes return and the data in the database are consistent " Include step:
    If it is, performing the step " judges whether the pseudo-terminal requests almanac, ionosphere model parameters, navigation Ephemeris model parameters, the service of UTC model parameters ", otherwise judges check errors.
  7. 7. according to the method described in claim 4, it is characterized in that, the step " read third-party reference data and with institute The data for stating the return of AGNSS user planes are compared, so as to verify the integrality of the service data of the AGNSS user planes and just True property " is including following sub-step:
    Judge whether the pseudo-terminal requests almanac, ionosphere model parameters, navigation ephemeris model parameters, UTC models ginseng Number service if it is, obtaining the GNSS data of third party IGS data centers publication, is converted into almanac, ionospheric model ginseng Number, navigation ephemeris model parameters, UTC model parameter datas, and judge the data of the AGNSS user planes return and the parameter Whether data are consistent, and otherwise judgement verification passes through;
    Include step after the step " judging whether the data that the AGNSS user planes return are consistent with the supplemental characteristic " Suddenly:
    If it is, judgement verification passes through, check errors are otherwise judged.
  8. 8. according to the method described in claim 4, it is characterized in that, the step " judges whether the pseudo-terminal can connect Connect and the AGNSS raw data bases of service be provided " include step before:
    The data that the data item of the pseudo-terminal request and the AGNSS user planes return are extracted from interactive message flow ;
    Judge whether the data item of the pseudo-terminal request and the data item of AGNSS user planes return meet agreement and patrol Volume, " judge whether the pseudo-terminal can connect if it is, performing the step and the AGNSS initial data of service is provided Library " otherwise judges check errors.
  9. 9. according to the method described in claim 1, it is characterized in that, include step before the step " creating pseudo-terminal ":
    Initialization test platform.
  10. 10. a kind of automated function test system of AGNSS user planes positioning service, which is characterized in that including:
    Creation module, for creating pseudo-terminal;
    Interactive module, it is fixed for being based on the interaction between the pseudo-terminal and AGNSS user planes of SUPL, RRLP or LLP agreement Position auxiliary data and location information;
    Comparison module, data and the data of disparate databases for the AGNSS user planes to be returned are compared, so as to test Demonstrate,prove the integrality and correctness of the service data of the AGNSS user planes.
CN201611248607.7A 2016-12-29 2016-12-29 Automatic function test method and system for AGNSS user plane location service Active CN108260154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611248607.7A CN108260154B (en) 2016-12-29 2016-12-29 Automatic function test method and system for AGNSS user plane location service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611248607.7A CN108260154B (en) 2016-12-29 2016-12-29 Automatic function test method and system for AGNSS user plane location service

Publications (2)

Publication Number Publication Date
CN108260154A true CN108260154A (en) 2018-07-06
CN108260154B CN108260154B (en) 2020-11-17

Family

ID=62721340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611248607.7A Active CN108260154B (en) 2016-12-29 2016-12-29 Automatic function test method and system for AGNSS user plane location service

Country Status (1)

Country Link
CN (1) CN108260154B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068162A (en) * 2020-09-11 2020-12-11 司南信通(北京)科技有限公司 Automatic testing system and method for AGNSS positioning service performance of terminal
CN115052034A (en) * 2022-08-15 2022-09-13 深圳华大北斗科技股份有限公司 Method and system for realizing SUPL service driven by GNSS of android system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1582042A (en) * 2003-08-15 2005-02-16 中兴通讯股份有限公司 Analogue request position information system and method
WO2006053203A2 (en) * 2004-11-12 2006-05-18 U-Nav Microelectronics Corporation Automatic mode setting and power ramp compensator for system power on conditions
CN1863356A (en) * 2005-05-11 2006-11-15 中兴通讯股份有限公司 Analogue mobile station system, analogue mobile station positioning testing system and testing method
CN101389974A (en) * 2006-02-28 2009-03-18 诺基亚公司 Method and system for navigation systems
US20090146872A1 (en) * 2007-12-07 2009-06-11 Commscope, Inc. Of North Carolina Method and system for providing assistance data for a-gps location of handsets in wireless networks
CN101658013A (en) * 2007-03-12 2010-02-24 高通股份有限公司 Network independent location services
US20140253372A1 (en) * 2013-03-05 2014-09-11 Spirent Communications, Inc. System and method for testing real world a-gnss performance of a device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1582042A (en) * 2003-08-15 2005-02-16 中兴通讯股份有限公司 Analogue request position information system and method
WO2006053203A2 (en) * 2004-11-12 2006-05-18 U-Nav Microelectronics Corporation Automatic mode setting and power ramp compensator for system power on conditions
CN1863356A (en) * 2005-05-11 2006-11-15 中兴通讯股份有限公司 Analogue mobile station system, analogue mobile station positioning testing system and testing method
CN101389974A (en) * 2006-02-28 2009-03-18 诺基亚公司 Method and system for navigation systems
CN101658013A (en) * 2007-03-12 2010-02-24 高通股份有限公司 Network independent location services
US20090146872A1 (en) * 2007-12-07 2009-06-11 Commscope, Inc. Of North Carolina Method and system for providing assistance data for a-gps location of handsets in wireless networks
US20140253372A1 (en) * 2013-03-05 2014-09-11 Spirent Communications, Inc. System and method for testing real world a-gnss performance of a device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
华忠: "基于北斗和网络辅助北斗定位的测试研究", 《网络技术》 *
谷文飞: "未来AGNSS技术", 《ICMI 2011》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068162A (en) * 2020-09-11 2020-12-11 司南信通(北京)科技有限公司 Automatic testing system and method for AGNSS positioning service performance of terminal
CN115052034A (en) * 2022-08-15 2022-09-13 深圳华大北斗科技股份有限公司 Method and system for realizing SUPL service driven by GNSS of android system

Also Published As

Publication number Publication date
CN108260154B (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN107122297B (en) Method and equipment for generating request message of test interface
CN104182840B (en) Power marketing measures mobile application system and its method of work
CN108734028B (en) Data management method based on block chain, block chain link point and storage medium
CN111899016B (en) Quality data processing method and device based on block chain
CN104469739B (en) A kind of card writing method and client device
US20190154463A1 (en) Flow meter reading with image recognition secured with mask and software connected by mobile device
CN109086197A (en) The acceptance testing method and system of urban track traffic CBTC system
CN108260154A (en) The automated function test method and its system of a kind of AGNSS user planes positioning service
CN111435304A (en) Space unit generation method and device, storage medium and processor
CN104463050A (en) Elevator maintenance system and method based on two-dimensional code and global positioning system
CN109542754A (en) The cut-in method of mobile device, the adjustment method of application program, device and system
JP2004173284A (en) Tracking method and tracking device for multimedia message through remote communication network
CN112256490A (en) Data processing method and device
CN112115060A (en) Audio test method and system based on terminal
CN106339953B (en) Construction engineering on-site detection management system and method based on Internet of things
Michael Location-based services: a vehicle for IT&T convergence
WO2020093076A2 (en) Transaction device location system
CN101715180A (en) Method and system for card detection management
CN103152216A (en) System test method and device in internet
CN113626170A (en) Method and device for controlling full life cycle of communication engineering task
Mohsen et al. A viewpoint on location-based mobile apps testing
CN110933167A (en) Block chain-based environment data storage system and tracing method
CN104812066A (en) Method and device for identifying and positioning faults and server
CN109960924A (en) Subsystem login method, device and system and electronic equipment
KR100671754B1 (en) Standard ??? interface system and method for using service offer of mobile communication terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant