CN111901470A - Terminal testing method and system - Google Patents

Terminal testing method and system Download PDF

Info

Publication number
CN111901470A
CN111901470A CN201910372699.7A CN201910372699A CN111901470A CN 111901470 A CN111901470 A CN 111901470A CN 201910372699 A CN201910372699 A CN 201910372699A CN 111901470 A CN111901470 A CN 111901470A
Authority
CN
China
Prior art keywords
positioning
module
terminal
radio frequency
satellite
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
CN201910372699.7A
Other languages
Chinese (zh)
Other versions
CN111901470B (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.)
Chihiro Location Network Co Ltd
Original Assignee
Chihiro Location 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 Chihiro Location Network Co Ltd filed Critical Chihiro Location Network Co Ltd
Priority to CN201910372699.7A priority Critical patent/CN111901470B/en
Publication of CN111901470A publication Critical patent/CN111901470A/en
Application granted granted Critical
Publication of CN111901470B publication Critical patent/CN111901470B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18519Operations control, administration or maintenance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/10Details of telephonic subscriber devices including a GPS signal receiver

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The application relates to a test technology and discloses a terminal test method and a system thereof. The method comprises the following steps: receiving a satellite signal by a radio frequency receiver disposed outdoors; acquiring the satellite signal from the radio frequency receiver through a signal player and playing the satellite signal to the terminal, wherein the signal player and the terminal are arranged in the same room; the server controls the test module to call the positioning module, positioning is carried out through the positioning module according to the satellite signal played by the signal player to generate positioning data, and the positioning data is uploaded to the server through the test module; and the server analyzes the uploaded positioning data according to a preset rule and judges whether the terminal works normally. The manual operation is reduced, the waste of personnel and resources caused by the dispersion of the test points is avoided, the test on the positioning function is more comprehensive, and the reliability of the test result is improved.

Description

Terminal testing method and system
Technical Field
The application relates to a test technology, in particular to a terminal test technology.
Background
Currently, testing of a mobile terminal (e.g., a mobile phone) requires checking of various information such as a network, a data format, a GPS satellite signal, a differential data stream, etc., and a current testing method of the mobile terminal is generally checked through manual checking or through the use of a single testing tool.
There are more problems with inspection by hand or by using a single test tool: firstly, more manual operations are involved, and missing detection or false detection occurs sometimes; secondly, because different requirements on test environments lead the test points to be relatively dispersed, a large amount of personnel and resource waste is caused; moreover, the items of examination are relatively single, and the positioning function test usually only focuses on the positioning result and lacks the examination of the positioning process.
Disclosure of Invention
The application aims to provide a terminal testing method and a system thereof, which reduce manual operation, avoid waste of personnel and resources caused by scattered test points, test a positioning function more comprehensively, and improve the reliability of a test result.
The application discloses a terminal testing method, wherein the terminal comprises a positioning module and a testing module, and the method comprises the following steps:
receiving a satellite signal by a radio frequency receiver disposed outdoors;
acquiring the satellite signal from the radio frequency receiver through a signal player and playing the satellite signal to the terminal, wherein the signal player and the terminal are arranged in the same room;
the server controls the test module to call the positioning module, positioning is carried out according to the satellite signal played by the signal player through the positioning module to generate positioning data, and the positioning data is uploaded to the server through the test module;
and the server analyzes the uploaded positioning data according to a preset rule and judges whether the terminal works normally.
In a preferred embodiment, before the uploading the positioning data to the server through the testing module, the method further includes:
and recording the positioning data into a log file of the terminal through the positioning module, and uploading the log file to the server side after the testing module stops the positioning module.
In a preferred example, the positioning data includes: the information of the satellite signals, the satellite label and the satellite ephemeris information acquired through the information of the satellite signals, first position information of the position of the radio frequency receiver acquired through resolving the satellite ephemeris information, difference data of the area of the radio frequency receiver acquired through the first position information, and second position information of the position of the radio frequency receiver acquired according to the first position information and the difference data.
In a preferred embodiment, the server analyzes the uploaded positioning data according to a preset rule, and determines whether the terminal is working normally, further comprising:
if the positioning data contains the information of the satellite signal and the satellite label is within 200, continuously judging whether the positioning data contains the satellite ephemeris information, if the positioning data contains the satellite ephemeris information, continuously judging whether the positioning data contains the first positioning information, if the positioning data contains the first positioning information, continuously judging whether the positioning data contains the differential data, if the positioning data contains the differential data, continuously judging whether the positioning data contains the second positioning information, and if the positioning data contains the second positioning information, successfully testing and generating a test result;
otherwise, the test fails and a test result is generated.
In a preferred embodiment, the terminal is connected to the server through the test module, and the test module runs in a background of the terminal.
In a preferred embodiment, the radio frequency receiver is a plurality of radio frequency receivers arranged at different locations outdoors.
In a preferred embodiment, the acquiring, by a signal player, the satellite signals from the radio frequency receivers and playing the satellite signals to the terminal respectively further includes:
acquiring, by the signal player, corresponding sets of satellite signals from the plurality of radio frequency receivers;
identifying the multiple groups of satellite signals through the signal player according to the corresponding radio frequency receivers to generate a play list;
and playing one group of the plurality of groups of satellite signals to the terminal by the signal player according to the play list at a preset time interval.
In a preferred embodiment, the server controls the test module to call the positioning module, performs positioning according to a satellite signal played by the signal player through the positioning module to generate positioning data, and uploads the positioning data to the server through the test module, which further includes:
the server sends a first instruction to control the test module to call the positioning module, and the positioning module performs positioning according to the satellite signal played by the signal player to generate positioning data;
and the server side sends a second instruction to upload the positioning data to the server side through the test module.
In a preferred embodiment, a time interval between the first instruction and the second instruction sent by the server is greater than a time required for the positioning module to perform positioning according to the satellite signal played by the signal player to generate positioning data.
In a preferred embodiment, before receiving the satellite signal by the radio frequency receiver disposed outdoors, the method further includes:
and storing the position data of the radio frequency receiver in the server in advance, wherein the position data is identified in advance according to the radio frequency receiver.
In a preferred embodiment, the server analyzes the uploaded positioning data according to a preset rule, and determines whether the terminal is working normally, further comprising:
and the server compares and analyzes the second position information in the positioning data with the position data, and judges whether the terminal works normally.
The application also discloses a terminal test system which comprises an outdoor radio frequency receiver, a signal player and a terminal which are arranged in the same room, and a server side;
the radio frequency receiver is used for receiving satellite signals, and the signal player is used for acquiring the satellite signals from the radio frequency receiver and playing the satellite signals to the terminal;
the terminal includes:
the test module is used for responding to a control instruction of the server, calling the positioning module to perform positioning to generate positioning data and uploading the positioning data to the server;
the positioning module is used for positioning according to the satellite signal played by the signal player to generate positioning data after being called by the test module;
the server side comprises:
the control module is used for sending the control instruction to the terminal;
an analysis module: and the positioning data is used for analyzing the positioning data uploaded by the test module according to a preset rule and judging whether the terminal works normally.
In a preferred embodiment, the positioning module is further configured to record positioning data into a log file of the terminal, and the testing module uploads the log file to the server after stopping the positioning module.
In a preferred example, the positioning data includes: the information of the satellite signals, the satellite label and the satellite ephemeris information acquired through the information of the satellite signals, first position information of the position of the radio frequency receiver acquired through resolving the satellite ephemeris information, difference data of the area of the radio frequency receiver acquired through the first position information, and second position information of the position of the radio frequency receiver acquired according to the first position information and the difference data.
In a preferred embodiment, the analysis module is further configured to, if the positioning data includes information of the satellite signal and a satellite label is within 200, continuously determine whether the positioning data includes the satellite ephemeris information, if the positioning data includes the satellite ephemeris information, continuously determine whether the positioning data includes the first positioning information, if the positioning data includes the first positioning information, continuously determine whether the positioning data includes the difference data, if the positioning data includes the difference data, continuously determine whether the positioning data includes the second positioning information, if the positioning data includes the second positioning information, determine that the terminal is normal, generate a test result, otherwise determine that the terminal is not normal, and generate a test result.
In a preferred embodiment, the terminal is connected to the server through the test module, and the test module runs in a background of the terminal.
In a preferred embodiment, the radio frequency receiver is a plurality of radio frequency receivers arranged at different locations outdoors.
In a preferred embodiment, the signal player is further configured to obtain, by the signal player, multiple sets of corresponding satellite signals from the multiple radio frequency receivers, identify, by the signal player, the multiple sets of satellite signals according to the corresponding radio frequency receivers to generate a play list, and play, by the signal player, one set of the multiple sets of satellite signals to the terminal at every preset time interval according to the play list.
In a preferred embodiment, the control module is further configured to send a first instruction to control the test module to invoke the positioning module to perform positioning to generate positioning data, and send a second instruction to upload the positioning data to the server through the test module.
In a preferred embodiment, the time interval between the first instruction and the second instruction sent by the control module is greater than the time required for positioning by the positioning module to generate positioning data.
In a preferred embodiment, the server further includes a storage module, configured to store location data of the radio frequency receiver in advance, where the location data is identified in advance according to a corresponding radio frequency receiver.
In a preferred embodiment, the analysis module is further configured to compare and analyze the second location information in the positioning data with the location data of the radio frequency receiver, and determine whether the terminal is operating normally.
In the embodiment of the application, one or more radio frequency receivers arranged in different environments or positions are used for receiving satellite signals, and a signal player arranged indoors is connected with the one or more radio frequency receivers so as to acquire the received satellite signals from the one or more radio frequency receivers and play the satellite signals to a terminal in the same room. The terminal can receive satellite signals in different environments or different positions at the fixed position, so that the test work of a plurality of even all terminals can be completed at one fixed point, the problem that test points are scattered due to different requirements on the test environment during terminal test is solved, and the waste of personnel and resources is further reduced.
Furthermore, a test module is arranged in the terminal to control the test process in the terminal by the proxy identity, the test module is preset to be in communication connection with the server, and in the test process, the test module executes corresponding scripts to orderly finish the test process in response to different instructions sent by the server. The existence of the test module can not cause burden to a system of the terminal, and the safety of the system of the terminal is protected. Further, the existence of the test module frees the position and state limit of the server; for example, the server may be a cloud server, or the server may be a remote server, and communicate with the terminal through a remote network, and so on.
Furthermore, in the testing process, a testing module in the terminal calls a positioning module in the terminal to perform positioning based on a satellite signal played to the terminal by a signal player in response to a first instruction sent by the server, a log file is generated according to various positioning data related in the positioning process, the log file is uploaded to the server in response to a second instruction sent by the server, and the server analyzes information in the log file according to a preset rule and rapidly generates a result to inform a user. Firstly, the testing process basically avoids the manual operation process, so that the testing result is more reliable; secondly, the data analysis process is carried out at the server side in the test process, and the analysis of the data generated in the positioning process is added, so that the final test result is more accurate and reliable.
The present specification describes a number of technical features distributed throughout the various technical aspects, and if all possible combinations of technical features (i.e. technical aspects) of the present specification are listed, the description is made excessively long. In order to avoid this problem, the respective technical features disclosed in the above summary of the invention of the present application, the respective technical features disclosed in the following embodiments and examples, and the respective technical features disclosed in the drawings may be freely combined with each other to constitute various new technical solutions (which are considered to have been described in the present specification) unless such a combination of the technical features is technically infeasible. For example, in one example, the feature a + B + C is disclosed, in another example, the feature a + B + D + E is disclosed, and the features C and D are equivalent technical means for the same purpose, and technically only one feature is used, but not simultaneously employed, and the feature E can be technically combined with the feature C, then the solution of a + B + C + D should not be considered as being described because the technology is not feasible, and the solution of a + B + C + E should be considered as being described.
Drawings
FIG. 1 is a schematic flow chart of a terminal testing method according to a first embodiment of the present application
FIG. 2 is a flowchart illustrating an example of step 104 of the terminal testing method according to the first embodiment of the present application
FIG. 3 is a schematic structural diagram of a terminal test system according to a second embodiment of the present application
FIG. 4 is a schematic diagram of a testing system of a mobile phone according to an embodiment of the present application
Detailed Description
In the following description, numerous technical details are set forth in order to provide a better understanding of the present application. However, it will be understood by those skilled in the art that the technical solutions claimed in the present application may be implemented without these technical details and with various changes and modifications based on the following embodiments.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The first embodiment of the application relates to a terminal testing method, wherein the terminal comprises a positioning module and a testing module; the flow of the terminal testing method is shown in fig. 1, and the terminal testing method specifically includes the following steps:
initially, a satellite signal is received by a radio frequency receiver located outdoors in step 101.
Alternatively, the radio frequency receiver needs to be set in a position capable of receiving GNSS signals, the position can receive satellite signals of at least 4 satellites, and the more the number of observable satellites is, the more accurate the positioning is.
The rf receiver may be one that is located at a predetermined location outdoors or may be multiple rf receivers that are located at different locations outdoors. In one embodiment, by being located at outdoor location A1Radio frequency receiver a1Is arranged at an outdoor position A2Radio frequency receiver a2Is arranged at an outdoor position A3Radio frequency receiver a3… …, is set at outdoor location AnRadio frequency receiver anRespectively receiving satellite signals of the positions A1Position A2Position A3… …, position AnIs located at different positions outdoors, wherein n is more than or equal to 2.
Alternatively, the position A1Position A2Position A3… …, position AnThe strength of the navigation satellite signals at the positions is different, wherein the strength of the satellite signals at the positions can be differentBut is not limited to, an empirical determination.
Optionally, before the step 101, the method further includes the step of: and storing the position data of the radio frequency receiver in the server in advance, wherein the position data is identified in advance according to the radio frequency receiver.
Then, step 102 is performed to acquire the satellite signal from the rf receiver through a signal player and play the satellite signal to the terminal, where the signal player and the terminal are disposed in the same room.
In one embodiment, step 102 may further include the following sub-steps A, B and C, specifically: beginning to perform substep a, acquiring, by the signal player, corresponding sets of satellite signals from the plurality of radio frequency receivers; then, performing a substep B, identifying the plurality of groups of satellite signals according to the corresponding radio frequency receivers through the signal player, and generating a play list; and then entering a substep C, and playing one group of the plurality of groups of satellite signals to the terminal by the signal player according to the play list at a preset time interval.
Optionally, the signal player includes a receiving module and a transmitting module; the receiving module is used for receiving the satellite signal from the radio frequency receiver, and the sending module is used for sending the received satellite signal to the terminal.
Optionally, the signal player further includes a processing module, configured to identify the multiple sets of satellite signals according to the corresponding radio frequency receivers after obtaining the corresponding multiple sets of satellite signals from the multiple radio frequency receivers, generate a play list, and play one set of the multiple sets of satellite signals to the terminal through the signal player at intervals of a preset time interval according to the play list.
Optionally, the signal player further includes a filtering module, configured to filter the interference signal to obtain a signal belonging to a satellite signal frequency band.
In this embodiment, the connection between the rf receiver and the signal player is various. Alternatively, by wired connection, e.g., fiber optic communication, broadband communication, etc.; optionally, the connection is via a wireless network, e.g., WIFI, 3G, 4G, 5G, etc.
Then, step 103 is performed, in which the server controls the test module to call the positioning module, performs positioning according to the satellite signal played by the signal player through the positioning module to generate positioning data, and uploads the positioning data to the server through the test module.
Optionally, before "uploading the positioning data to the server through the testing module" in step 103, a step a is further included, that is, the positioning module records the positioning data into a log file of the terminal, and after the testing module stops the positioning module, the log file is uploaded to the server.
Optionally, the "positioning data" in this step 103 includes: the information of the satellite signal, the satellite label and the satellite ephemeris information acquired through the information of the satellite signal, first position information of the position of the radio frequency receiver acquired through resolving the satellite ephemeris information, difference data of the area of the radio frequency receiver acquired through the first position information, and second position information of the position of the radio frequency receiver acquired according to the first position information and the difference data.
In one embodiment, the step 103 of "performing positioning by the positioning module according to the satellite signal played by the signal player to generate positioning data" may specifically include the following 5 steps: firstly, according to the acquired satellite signal played by the signal player, sending a satellite label to a positioning server to acquire satellite ephemeris information; resolving a satellite ephemeris to obtain first position information (including an error) of the current position; thirdly, the first position information is used for requesting a positioning server to obtain the current area differential data; and fourthly, performing deviation correction through the difference data, and calculating second position information of the current position, wherein the precision of the second position information is higher than that of the first position information. Optionally, the terminal further includes a communication module, configured to connect with the positioning server to obtain the relevant data.
In one embodiment, the step 103 further includes a sub-step a and a sub-step b, and specifically includes: starting to enter the substep a, the server sends a first instruction to control the test module to call the positioning module, and positioning is carried out through the positioning module according to the satellite signal played by the signal player so as to generate positioning data; and then entering a substep b, and the server sends a second instruction to upload the positioning data to the server through the test module.
The time interval between the first instruction and the second instruction sent by the control module can be configured through the server. Preferably, the time interval between the first instruction and the second instruction sent by the server is greater than the time required for positioning by the positioning module according to the satellite signal played by the signal player to generate positioning data. For example, the time interval may be 10 minutes, 20 minutes, 2 hours, and so forth.
Then, step 104 is performed, in which the server analyzes the uploaded positioning data according to a preset rule, and determines whether the terminal is working normally.
Optionally, as shown in the flowchart of fig. 2, the step 104 further includes "sub-steps 1041 to 1045", which specifically include:
a sub-step 1041 of determining whether the positioning data contains information of the satellite signal and the satellite number is within 200 is started; if so, go to substep 1042; otherwise, the test fails, and the step 1046 is entered to generate a test result.
Substep 1042, determining whether the positioning data contains the satellite ephemeris information; if so, go to substep 1043; otherwise, the test fails, and step 1046 is entered, i.e., "generate test result".
Substep 1043, determining whether the positioning data contains the first positioning information, if yes, entering substep 1043; otherwise, the test fails, and step 1046 is entered, i.e., "generate test result".
Substep 1044, determining whether the positioning data contains the difference data, if yes, entering substep 1045; otherwise, the test fails, and step 1046 is entered, i.e., "generate test result".
Substep 1045, determining whether "the positioning data includes the second positioning information", if yes, the test is successful, and step 1047 is entered, that is, "generate test result".
Optionally, the step 104 further comprises the steps of: and the server compares and analyzes the second position information in the positioning data with the position data, and judges whether the terminal works normally.
Optionally, the terminal in this embodiment may be connected to the server through the test module, and the test module runs in the background of the terminal.
The server and the test module are connected in various ways. Optionally, the server may be a server disposed in the same room as the terminal, such as a personal computer, and may perform data transmission with the test module in a wired manner or a wireless communication manner (e.g., bluetooth, WIFI, etc.). Alternatively, the service end may be a service end disposed in a different room from the terminal, and may perform data transmission with the test module through wired (e.g., optical fiber communication, broadband communication, etc.) or remote wireless communication (e.g., 3G, 4G, 5G, etc.).
In one embodiment, the server is a cloud server.
A second embodiment of the present application relates to a terminal test system, whose structure is shown in fig. 3, the terminal test system includes a radio frequency receiver installed outdoors, a signal player and a terminal installed indoors, and a server;
specifically, the method comprises the following steps:
the radio frequency receiver is used for receiving satellite signals; the signal player is used for acquiring the satellite signal from the radio frequency receiver and playing the satellite signal to the terminal.
Alternatively, the radio frequency receiver needs to be set in a position capable of receiving GNSS signals, the position can receive satellite signals of at least 4 satellites, and the more the number of observable satellites is, the more accurate the positioning is.
The RF receiver may be an RF receiver installed at a predetermined location outdoors or may be a plurality of RF receivers installed at different locations outdoorsA radio frequency receiver. In one embodiment, by being located at outdoor location A1Radio frequency receiver a1Is arranged at an outdoor position A2Radio frequency receiver a2Is arranged at an outdoor position A3Radio frequency receiver a3… …, is set at outdoor location AnRadio frequency receiver anRespectively receiving satellite signals of the position A1Position A2Position A3… …, position AnIs located at a different outdoor location, location A1Position A2Position A3… …, position AnThe strength of the navigation satellite signals at the positions is different, wherein the strength of the satellite signals at the positions can be determined by but not limited to judgment according to experience, and n is larger than or equal to 2.
Optionally, the signal player is further configured to obtain, by the signal player, multiple sets of corresponding satellite signals from the multiple radio frequency receivers, identify, by the signal player, the multiple sets of satellite signals according to the corresponding radio frequency receivers, generate a play list, and play, by the signal player, one set of the multiple sets of satellite signals to the terminal at intervals of a preset time interval according to the play list.
Optionally, the signal player includes a receiving module and a transmitting module; the receiving module is used for receiving the satellite signal from the radio frequency receiver, and the sending module is used for sending the received satellite signal to the terminal.
Optionally, the signal player further includes a processing module, configured to identify the multiple sets of satellite signals according to the corresponding radio frequency receivers after obtaining the corresponding multiple sets of satellite signals from the multiple radio frequency receivers, generate a play list, and play one set of the multiple sets of satellite signals to the terminal through the signal player at intervals of a preset time interval according to the play list.
Optionally, the signal player further includes a filtering module, configured to filter the interference signal to obtain a signal belonging to a satellite signal frequency band.
In this embodiment, the connection between the rf receiver and the signal player is various. Alternatively, by wired connection, e.g., fiber optic communication, broadband communication, etc.; optionally, the connection is via a wireless network, e.g., WIFI, 3G, 4G, 5G, etc.
The terminal comprises a test module and a positioning module; the test module is used for responding to a control instruction of the server, calling the positioning module to perform positioning to generate positioning data and uploading the positioning data to the server; the positioning module is used for positioning according to the satellite signal played by the signal player to generate positioning data after being called by the testing module.
Optionally, the positioning module is further configured to record the positioning data into a log file of the terminal, and the testing module uploads the log file to the server after stopping the positioning module.
Optionally, the positioning data includes: the information of the satellite signal, the satellite label and the satellite ephemeris information acquired through the information of the satellite signal, first position information of the position of the radio frequency receiver acquired through resolving the satellite ephemeris information, difference data of the area of the radio frequency receiver acquired through the first position information, and second position information of the position of the radio frequency receiver acquired according to the first position information and the difference data.
In one embodiment, the positioning module performs positioning to generate the positioning data specifically includes the following 5 steps: firstly, sending a satellite label to a positioning server to acquire satellite ephemeris information; resolving a satellite ephemeris to obtain first position information of the current position; thirdly, the first position information is used for requesting a positioning server to obtain the current area differential data; and fourthly, performing deviation correction through the difference data, and calculating second position information of the current position, wherein the precision of the second position information is higher than that of the first position information. Optionally, the terminal further includes a communication module, configured to connect with the positioning server to obtain the relevant data.
The server comprises a control module and an analysis module; the control module is used for sending the control instruction to the terminal; the analysis module is used for analyzing the positioning data uploaded by the test module according to a preset rule and judging whether the terminal works normally.
Optionally, the analysis module is further configured to, if the positioning data includes information of the satellite signal and a satellite label is within 200, continuously determine whether the positioning data includes the satellite ephemeris information, if the positioning data includes the satellite ephemeris information, continuously determine whether the positioning data includes the first positioning information, if the positioning data includes the first positioning information, continuously determine whether the positioning data includes the differential data, if the positioning data includes the differential data, continuously determine whether the positioning data includes the second positioning information, if the positioning data includes the second positioning information, determine that the terminal is normal, generate a test result, otherwise determine that the terminal is not normal, and generate a test result.
Optionally, the analysis module is further configured to compare and analyze the second location information in the positioning data with the location data of the radio frequency receiver, and determine whether the terminal is operating normally.
Optionally, the control module is further configured to send a first instruction to control the test module to invoke the positioning module to perform positioning to generate positioning data, and send a second instruction to upload the positioning data to the server through the test module.
The time interval between the first instruction and the second instruction sent by the control module can be configured through the server. Preferably, the time interval between the first instruction and the second instruction sent by the server is greater than the time required for positioning by the positioning module according to the satellite signal played by the signal player to generate positioning data. For example, the time interval may be 10 minutes, 20 minutes, 2 hours, and so forth.
Optionally, the server further includes a storage module, configured to store location data of the radio frequency receiver in advance, where the location data is identified in advance according to a corresponding radio frequency receiver.
Optionally, the terminal is connected to the server through the test module, and the test module runs in a background of the terminal.
The connection mode of the server and the test module is various. Optionally, the server may be a server (e.g., a personal computer) disposed in the same room as the terminal, and may perform data transmission with the test module in a wired manner or a wireless communication manner (e.g., bluetooth, WIFI, etc.). Alternatively, the service end may be a service end disposed in a different room from the terminal, and may perform data transmission with the test module by way of wired (e.g., optical fiber communication, broadband communication, etc.) or remote wireless communication (e.g., 3G, 4G, 5G, etc.).
In one embodiment, the server is a cloud server.
In a specific embodiment of this embodiment, the terminal testing system includes a signal player, a terminal, a server, a radio frequency receiver 1, and a radio frequency receiver 2, where the signal player, the terminal, and the server are disposed in a same room M and communicate with each other through a wireless network, the radio frequency receiver 1 is disposed on an open bottom surface about 100 meters away from the room M, the radio frequency receiver 2 is disposed on a wall facing one direction outside the room M, and the radio frequency receiver 1 and the radio frequency receiver 2 are in limited connection with the signal player. Because the number of satellites observed at the positions of the radio frequency receiver 1 and the radio frequency receiver 2 is different (the number of observations of the radio frequency receiver 1 is greater than the number of observations of the radio frequency receiver 2), the terminal has a difference in positioning data obtained after positioning according to the satellite signals received by the radio frequency receiver 1 and the satellite signals received by the radio frequency receiver 2, and the service end can further analyze the performance of the terminal by judging the difference.
The first embodiment is a method embodiment corresponding to the present embodiment, and the technical details in the first embodiment may be applied to the present embodiment, and the technical details in the present embodiment may also be applied to the first embodiment.
In order to better understand the technical solution of the present application, the following description is given with reference to a specific example, in which the listed details are mainly for the sake of understanding and are not intended to limit the scope of the present application.
As shown in fig. 4, the terminal in this example is a mobile phone based on the android system, and the mobile phone test system includes a radio frequency receiver installed outdoors, a signal player and a mobile phone installed indoors, and a personal computer in remote communication with the mobile phone; the radio frequency receiver is used for receiving satellite signals of the position, and the signal player is electrically connected with the radio frequency receiver and used for receiving the satellite signals from the radio frequency receiver and playing the satellite signals to the mobile phone.
The mobile phone comprises a test application (apk application) and a positioning application; the test application is a test.apk application which is pre-written on the android system of the mobile phone, and the test.apk application is set to run in the process of the mobile phone android system in a background and is connected with the personal computer all the time; the positioning application is a test version and when positioning is performed on the basis of satellite signals received from a signal player, positioning data (data related to the positioning process) needs to be recorded in a log file.
When testing the mobile phone, the personal computer sends a first instruction to the "test. apk application" to inform the start of a test process, starts a positioning application in the mobile phone through the "test. apk application", starts positioning according to a satellite signal received from a signal player after the positioning application is started, and simultaneously records positioning data "$ satellite", "$ ephemeris", "$ location", "$ diff", "$ highlocation" into a log file (location. log); after 10 minutes, the personal computer sends a second instruction to the 'test.apk application' to inform the end of the test process, the positioning application is forcibly killed through the 'test.apk application', and the location.log is uploaded to the personal computer through a remote wireless network.
Log is received by the personal computer, and whether the test of the mobile phone is successful is judged through the following steps.
The method comprises the following steps: if yes, and the satellite label is in 200 to indicate that the step is successful, continuing the step II; if the "$ satellite" record does not exist, the program fails to run, the user is directly informed, and the following rule is not checked continuously;
step two: if the record of the "$ ephemeris" indicates that the step is successful, the step III is continued; if the record of $ ephemeris is not available, the program operation fails, the user is directly informed, and the following rule is not checked continuously;
step three: if the "$ location" record indicates that the step is successful, continuing the step (iv); if there is no "$ location" record, the program fails to run, and the user is directly informed, and the following rule is not checked any more.
Step IV: if the "$ diff" record indicates that the step is successful, continuing the step (v); if there is no "$ diff" record, the program fails to run, the user is directly informed, and the following rules are not checked any more.
Step five: if the record of "$ highlorocation" indicates that all the steps are successfully checked, the test is successful; if there is no "$ highlorsation" record, the program fails to run, the user is notified directly, and the following rules are not checked any more.
Note: if the test is successful, judging that the mobile phone is normal; if the program of any one step fails to run, the mobile phone is judged to be in failure, and a report (including the failure reason) of the test failure is generated and sent to the user through the mail.
It is noted that, in the present patent application, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the use of the verb "comprise a" to define an element does not exclude the presence of another, same element in a process, method, article, or apparatus that comprises the element. In the present patent application, if it is mentioned that a certain action is executed according to a certain element, it means that the action is executed according to at least the element, and two cases are included: performing the action based only on the element, and performing the action based on the element and other elements. The expression of a plurality of, a plurality of and the like includes 2, 2 and more than 2, more than 2 and more than 2.
All documents mentioned in this application are to be considered as being incorporated in their entirety into the disclosure of this application so as to be subject to modification as necessary. It should be understood that the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of one or more embodiments of the present disclosure should be included in the scope of protection of one or more embodiments of the present disclosure.

Claims (22)

1. A terminal testing method is characterized in that the terminal comprises a positioning module and a testing module, and the method comprises the following steps:
receiving a satellite signal by a radio frequency receiver disposed outdoors;
acquiring the satellite signal from the radio frequency receiver through a signal player and playing the satellite signal to the terminal, wherein the signal player and the terminal are arranged in the same room;
the server controls the test module to call the positioning module, positioning is carried out according to the satellite signal played by the signal player through the positioning module to generate positioning data, and the positioning data is uploaded to the server through the test module;
and the server analyzes the uploaded positioning data according to a preset rule and judges whether the terminal works normally.
2. The method of claim 1, wherein before the uploading the positioning data to the server by the testing module, further comprising:
and recording the positioning data into a log file of the terminal through the positioning module, and uploading the log file to the server side after the testing module stops the positioning module.
3. The method of claim 1, wherein the positioning data comprises: the method comprises the steps of obtaining satellite signal information, obtaining satellite labels and satellite ephemeris information through the satellite signal information, obtaining first position information of the position of the radio frequency receiver through resolving the satellite ephemeris information, obtaining differential data of the area where the radio frequency receiver is located through the first position information, and obtaining second position information of the position of the radio frequency receiver according to the first position information and the differential data.
4. The method of claim 3, wherein the server analyzes the uploaded positioning data according to a preset rule, and determines whether the terminal is working normally, further comprising:
if the positioning data contains the information of the satellite signal and the satellite label is within 200, continuously judging whether the positioning data contains the satellite ephemeris information, if the positioning data contains the satellite ephemeris information, continuously judging whether the positioning data contains the first positioning information, if the positioning data contains the first positioning information, continuously judging whether the positioning data contains the differential data, if the positioning data contains the differential data, continuously judging whether the positioning data contains the second positioning information, and if the positioning data contains the second positioning information, successfully testing and generating a test result;
otherwise, the test fails and a test result is generated.
5. The method of claim 1, wherein the terminal is connected to the server through the test module, and the test module runs in a background of the terminal.
6. The method of any of claims 1-5, wherein the radio frequency receiver is a plurality of radio frequency receivers disposed at different locations outdoors.
7. The method of claim 6, wherein the acquiring the satellite signals from the radio frequency receiver and playing the satellite signals to the terminal by a signal player, respectively, further comprises:
acquiring, by the signal player, corresponding sets of satellite signals from the plurality of radio frequency receivers;
identifying the multiple groups of satellite signals through the signal player according to the corresponding radio frequency receivers to generate a play list;
and playing one group of the plurality of groups of satellite signals to the terminal by the signal player according to the play list at a preset time interval.
8. The method of claim 1, wherein the server controls the test module to invoke the positioning module, performs positioning according to a satellite signal played by the signal player through the positioning module to generate positioning data, and uploads the positioning data to the server through the test module, further comprising:
the server sends a first instruction to control the test module to call the positioning module, and the positioning module performs positioning according to the satellite signal played by the signal player to generate positioning data;
and the server side sends a second instruction to upload the positioning data to the server side through the test module.
9. The method of claim 8, wherein a time interval between the first instruction and the second instruction sent by the server is greater than a time required for positioning by the positioning module according to a satellite signal played by the signal player to generate positioning data.
10. The method of claim 1, wherein prior to receiving the satellite signal by the radio frequency receiver disposed outdoors, further comprising:
and storing the position data of the radio frequency receiver in the server in advance, wherein the position data is identified in advance according to the radio frequency receiver.
11. The method of claim 10, wherein the server analyzes the uploaded positioning data according to a preset rule, and determines whether the terminal is working normally, further comprising:
and the server compares and analyzes the second position information in the positioning data with the position data, and judges whether the terminal works normally.
12. The terminal test system is characterized by comprising a radio frequency receiver arranged outdoors, a signal player and a terminal which are arranged indoors and a server side;
the radio frequency receiver is used for receiving satellite signals, and the signal player is used for acquiring the satellite signals from the radio frequency receiver and playing the satellite signals to the terminal;
the terminal includes:
the test module is used for responding to a control instruction of the server, calling the positioning module to perform positioning to generate positioning data and uploading the positioning data to the server;
the positioning module is used for positioning according to the satellite signal played by the signal player to generate positioning data after being called by the test module;
the server side comprises:
the control module is used for sending the control instruction to the terminal;
an analysis module: and the positioning data is used for analyzing the positioning data uploaded by the test module according to a preset rule and judging whether the terminal works normally.
13. The system of claim 12, wherein the positioning module is further configured to record positioning data into a log file of the terminal, and the testing module uploads the log file to the server after stopping the positioning module.
14. The system of claim 12, wherein the positioning data comprises: the method comprises the steps of obtaining satellite signal information, obtaining satellite labels and satellite ephemeris information through the satellite signal information, obtaining first position information of the position of the radio frequency receiver through resolving the satellite ephemeris information, obtaining differential data of the area where the radio frequency receiver is located through the first position information, and obtaining second position information of the position of the radio frequency receiver according to the first position information and the differential data.
15. The system of claim 14, wherein the analysis module is further configured to continue to determine whether the positioning data contains the satellite ephemeris information if the positioning data contains information about the satellite signal and the satellite number is within 200, if the positioning data contains the satellite ephemeris information, continuously judging whether the positioning data contains the first positioning information or not, if the positioning data contains the first positioning information, continuously judging whether the positioning data contains the differential data or not, if the positioning data contains the difference data, continuously judging whether the positioning data contains the second positioning information, and if the positioning data contains the second positioning information, judging that the terminal is normal and generating a test result, otherwise, judging that the terminal is abnormal and generating the test result.
16. The system of claim 12, wherein the terminal is connected to the server through the test module, the test module running in a background of the terminal.
17. The system of any of claims 12-16, wherein the radio frequency receiver is a plurality of radio frequency receivers disposed at different locations outdoors.
18. The system of claim 17, wherein the signal player is further configured to obtain, by the signal player, corresponding sets of satellite signals from the plurality of radio frequency receivers, identify, by the signal player, the sets of satellite signals according to the corresponding radio frequency receivers, generate a play list, and play, by the signal player, one of the sets of satellite signals to the terminal at intervals of a preset time interval according to the play list.
19. The system of claim 17, wherein the control module is further configured to send a first instruction to control the testing module to call the positioning module to perform positioning to generate positioning data, and send a second instruction to upload the positioning data to the server through the testing module.
20. The system of claim 19, wherein the first instruction and the second instruction sent by the control module have a time interval greater than a time required for positioning by the positioning module to generate positioning data.
21. The system of claim 19, wherein the server further comprises a storage module for pre-storing location data of the rf receiver, wherein the location data is pre-identified according to the corresponding rf receiver.
22. The system of claim 21, wherein the analysis module is further configured to compare and analyze the second location information in the positioning data with the location data of the radio frequency receiver to determine whether the terminal is operating normally.
CN201910372699.7A 2019-05-06 2019-05-06 Terminal testing method and system Active CN111901470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910372699.7A CN111901470B (en) 2019-05-06 2019-05-06 Terminal testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910372699.7A CN111901470B (en) 2019-05-06 2019-05-06 Terminal testing method and system

Publications (2)

Publication Number Publication Date
CN111901470A true CN111901470A (en) 2020-11-06
CN111901470B CN111901470B (en) 2022-04-19

Family

ID=73169565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910372699.7A Active CN111901470B (en) 2019-05-06 2019-05-06 Terminal testing method and system

Country Status (1)

Country Link
CN (1) CN111901470B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114814913A (en) * 2022-04-19 2022-07-29 大唐终端技术有限公司 Android platform big dipper high accuracy positioning control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759287A (en) * 2016-04-22 2016-07-13 上海资誉网络科技有限公司 GPS equipment test method and apparatus thereof
CN106526624A (en) * 2017-01-18 2017-03-22 桂林电子科技大学 Satellite navigation signal simulator and simulation method thereof
WO2018099970A1 (en) * 2016-11-29 2018-06-07 Quadsat Ivs System for testing the accuracy of the automatic positioning means of a signal tracking antenna
CN108490460A (en) * 2018-02-28 2018-09-04 上海交通大学 Automated testing method based on satellite navigation intermediate frequency data library
CN109343089A (en) * 2018-12-20 2019-02-15 广州广电计量检测股份有限公司 Performance test apparatus, test method and its device of positioning device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105759287A (en) * 2016-04-22 2016-07-13 上海资誉网络科技有限公司 GPS equipment test method and apparatus thereof
WO2018099970A1 (en) * 2016-11-29 2018-06-07 Quadsat Ivs System for testing the accuracy of the automatic positioning means of a signal tracking antenna
CN106526624A (en) * 2017-01-18 2017-03-22 桂林电子科技大学 Satellite navigation signal simulator and simulation method thereof
CN108490460A (en) * 2018-02-28 2018-09-04 上海交通大学 Automated testing method based on satellite navigation intermediate frequency data library
CN109343089A (en) * 2018-12-20 2019-02-15 广州广电计量检测股份有限公司 Performance test apparatus, test method and its device of positioning device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114814913A (en) * 2022-04-19 2022-07-29 大唐终端技术有限公司 Android platform big dipper high accuracy positioning control system

Also Published As

Publication number Publication date
CN111901470B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
RU2608242C1 (en) Portable device for field servicing with improved diagnostics
CN108469109A (en) Detection method, device, system, air conditioner and the storage medium of unit exception
US9918245B2 (en) Wireless terminal device, measurement control method, control method, measurement control program, and recording medium
JP2007522709A (en) Antenna system telemetry monitoring apparatus and method using mobile communication terminal
US20200204253A1 (en) Method and apparatus for locating fault cause, and storage medium
CN111581037B (en) Vehicle networking detection system and method
CN108322917B (en) Wireless network access fault positioning method, device, system and storage medium
CN111901470B (en) Terminal testing method and system
KR101982504B1 (en) Vehicle to everything communication conforming device
CN112069070A (en) Page detection method, device, server and computer readable storage medium
US8032132B2 (en) Remote management and analysis techniques in cellular and satellite radio networks
EP3285507B1 (en) Node state detection method and device for non-network positioning system
EP2652891B1 (en) User experienced remote monitoring of a communications network
EP3370343A1 (en) Method and system for interference detection and diagnostic in cable networks
KR20190020491A (en) Method for integration status monitoring of ground station system
US20150257021A1 (en) System, Device And Method For Testing App Performance
US8412180B2 (en) Method for generating a signal train which can be played back on a tester for testing a mobile radio
CN110476084B (en) Method for monitoring the integrity of a reference station of a correction service system, method for operating a satellite-assisted navigation system, and satellite-assisted navigation system
US10310840B2 (en) Computer system, method of managing transmission of software with computer system, program therefor, and recording medium
KR101862617B1 (en) System of testing iot sensor for power facility management
CN116074870A (en) Signal fault monitoring method, device, system and storage medium
CN108845932B (en) Unit testing method and device of network library, storage medium and terminal
CN112256265A (en) H5 page stability testing method and device, storage medium and electronic equipment
CN112860509A (en) Dial testing alarm method and device
CN113778800B (en) Error information processing method, device, system, equipment and storage medium

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