CN104359495A - Application testing method and device - Google Patents

Application testing method and device Download PDF

Info

Publication number
CN104359495A
CN104359495A CN201410669976.8A CN201410669976A CN104359495A CN 104359495 A CN104359495 A CN 104359495A CN 201410669976 A CN201410669976 A CN 201410669976A CN 104359495 A CN104359495 A CN 104359495A
Authority
CN
China
Prior art keywords
tested
information
application
position measurement
measurement information
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.)
Pending
Application number
CN201410669976.8A
Other languages
Chinese (zh)
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410669976.8A priority Critical patent/CN104359495A/en
Publication of CN104359495A publication Critical patent/CN104359495A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C25/00Manufacturing, calibrating, cleaning, or repairing instruments or devices referred to in the other groups of this subclass

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The embodiment of the invention provides an application testing method and a testing device. The testing method comprises the following steps: obtaining the position testing information of an application to be tested; providing the position testing information of the application to be tested to the application to be tested, so as to enable the application to be tested to carry out the operation based on the position testing information and obtain an operation result; and obtaining the testing result of the application to be tested according to the operation result. The technical scheme provided by the embodiment of the invention can improve the application testing efficiency and reduce the consumption cost of the application testing.

Description

A kind of method of testing of application and device
[technical field]
The present invention relates to field of locating technology, particularly relate to a kind of method of testing and device of application.
[background technology]
Before application is reached the standard grade, all need to test application, with the test result be applied, and then can adjust according to the realize logic of test result to application and optimize.In prior art, position-based service (Location Based Service, LBS) be applied in test phase, need tester to carry out field test often.Such as, the test phase of navigation application, carry the terminal of installing this navigation application with regard to needing tester and carry out real road test, need to rely on analogue navigation operation in addition and realize test, namely write and the close code used when truly navigating by tester, use this close code to carry out analogue navigation process, whether occur that abnormal problem is to obtain test result according in navigation procedure.
But in prior art, the method for testing of this application needs a large amount of manpower and materials of consumption to carry out real road test and simulation test, causes the testing efficiency of application lower.
[summary of the invention]
In view of this, embodiments provide a kind of method of testing and device of application, the testing efficiency improving application can be realized, reduce the various costs that application testing consumes.
The one side of the embodiment of the present invention, provides a kind of method of testing of application, comprising:
Obtain the position measurement information of application to be tested;
The position measurement information of described application to be tested is supplied to described application to be tested, so that the operation based on described position measurement information is carried out in described application to be tested, to obtain operating result;
According to described operating result, obtain the test result of described application to be tested.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, and the position measurement information of described acquisition application to be tested, comprising:
Describedly to be testedly be applied in when occurring that location is abnormal in field test process, record the relevant location information that described location is abnormal, using the position measurement information as described application to be tested;
Store the position measurement information of described application to be tested;
Wherein, the relevant location information that described location is abnormal comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, and the position measurement information of described acquisition application to be tested, comprising:
Obtain test profile;
The analog position information of edge scene is obtained, using the position measurement information as described application to be tested from described test profile;
Store the position measurement information of described application to be tested;
Wherein, described analog position information comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
Aspect as above and arbitrary possible implementation, a kind of implementation is provided further, the number of the position measurement information of described application to be tested is at least one, and the described position measurement information by described application to be tested is supplied to described application to be tested, comprising:
Successively each described position measurement information of described application to be tested is supplied to described application to be tested in order; Or,
Show described application to be tested at least one described in position measurement information, and the position measurement information that acquisition user selects at least one position measurement information of the application described to be tested of display, and the described position measurement information selected is supplied to described application to be tested.
Aspect as above and arbitrary possible implementation, a kind of implementation is provided further, to be testedly apply corresponding this locality with described and monitor the data providing module of module registered in advance to described application place to be tested terminal, the described position measurement information by described application to be tested is supplied to described application to be tested, comprising:
The position measurement information of described application to be tested is sent to the data providing module of described application place to be tested terminal, so that described data providing module monitors module to chartered this locality send described position measurement information, monitor module to make described this locality and described position measurement information sent to monitor application described to be tested corresponding to module with described this locality.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, described according to described operating result, obtains the test result of described application to be tested, comprising:
Described operating result and the objective result preset are compared, to obtain comparison result;
According to described comparison result, obtain the test result of described application to be tested.
The one side of the embodiment of the present invention, provides a kind of proving installation of application, comprising:
Data obtaining module, for obtaining the position measurement information of application to be tested;
Information replacement module, the position measurement information for the application described to be tested obtained by described data obtaining module is supplied to described application to be tested, so that the operation based on described position measurement information is carried out in described application to be tested, to obtain operating result;
Result acquisition module, for according to described operating result, obtains the test result of described application to be tested.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, described in obtain data obtaining module, specifically for:
Describedly to be testedly be applied in when occurring that location is abnormal in field test process, record the relevant location information that described location is abnormal, using the position measurement information as described application to be tested;
Store the position measurement information of described application to be tested;
Wherein, the relevant location information that described location is abnormal comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, described in obtain data obtaining module, specifically for:
Obtain test profile;
The analog position information of edge scene is obtained, using the position measurement information as described application to be tested from described test profile;
Store the position measurement information of described application to be tested;
Wherein, described analog position information comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, and the number of the position measurement information of described application to be tested is at least one, described information replacement module, specifically for:
Successively each described position measurement information of described application to be tested is supplied to described application to be tested in order; Or,
Show described application to be tested at least one described in position measurement information, and the position measurement information that acquisition user selects at least one position measurement information of the application described to be tested of display, and the described position measurement information selected is supplied to described application to be tested.
Aspect as above and arbitrary possible implementation, a kind of implementation is provided further, to be testedly apply corresponding this locality with described and monitor the data providing module of module registered in advance to described application place to be tested terminal, described information replacement module, specifically for:
The position measurement information of described application to be tested is sent to the data providing module of described application place to be tested terminal, so that described data providing module monitors module to chartered this locality send described position measurement information, monitor module to make described this locality and described position measurement information sent to monitor application described to be tested corresponding to module with described this locality.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, described result acquisition module, specifically for:
Described operating result and the objective result preset are compared, to obtain comparison result;
According to described comparison result, obtain the test result of described application to be tested.
As can be seen from the above technical solutions, the embodiment of the present invention has following beneficial effect:
Carry out compared with the method for testing of field test with needing tester in prior art, the technical scheme that the embodiment of the present invention provides, the position measurement data of acquisition can be utilized, realize the test of application to be tested, obtain test result, do not need the field test of tester, therefore, the testing efficiency of application can be improved, reduce the various costs that application testing consumes.
[accompanying drawing explanation]
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the exemplary system figure of the technical scheme use that the embodiment of the present invention provides;
Fig. 2 is the schematic flow sheet of the method for testing of the application that the embodiment of the present invention provides;
Fig. 3 applies the example architecture figure obtaining positional information from locating module in Android operation system in prior art;
Fig. 4 is the functional block diagram of the proving installation of the application that the embodiment of the present invention provides.
[embodiment]
Technical scheme for a better understanding of the present invention, is described in detail the embodiment of the present invention below in conjunction with accompanying drawing.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The term used in embodiments of the present invention is only for the object describing specific embodiment, and not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to comprise most form, unless context clearly represents other implications.
Should be appreciated that term "and/or" used herein is only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, general expression forward-backward correlation is to the relation liking a kind of "or".
Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining " or " in response to detection ".Similarly, depend on linguistic context, phrase " if determination " or " if detecting (the conditioned disjunction event of statement) " can be construed as " when determining " or " in response to determining " or " when detecting (the conditioned disjunction event of statement) " or " in response to detection (the conditioned disjunction event of statement) ".
The system that the technical scheme that the embodiment of the present invention provides uses as shown in Figure 1, the executive agent of the method for testing of the application that the proving installation applied provides for the embodiment of the present invention, the proving installation of this application can comprise data obtaining module, information replacement module and result acquisition module.In addition, this system also comprises this locality monitoring module, data providing module, the local management module of application to be tested, application place to be tested terminal.
The embodiment of the present invention provides a kind of method of testing of application, please refer to Fig. 2, the schematic flow sheet of the method for testing of its application provided for the embodiment of the present invention, and as shown in the figure, the method comprises the following steps:
S201, obtains the position measurement information of application to be tested.
S202, is supplied to described application to be tested by the position measurement information of described application to be tested, so that the operation based on described position measurement information is carried out in described application to be tested, to obtain operating result.
S203, according to described operating result, obtains the test result of described application to be tested.
Based on the method for testing of above-mentioned application, the method for the embodiment of the present invention to S201 is specifically described.This step specifically can comprise:
In the embodiment of the present invention, in order to realize the test treating Test Application, obtaining test result, needing first to obtain and treating the position measurement information that when Test Application is tested, needs use.
Illustrate, in the embodiment of the present invention, the method obtaining the position measurement information of application to be tested can include but not limited to following two kinds:
The first: as shown in Figure 1, first, user can carry the proving installation place terminal of this application in the process of this application to be tested of field test, when to be tested be applied in occur that location is abnormal in field test process time, in the proving installation of application, data obtaining module can record the relevant location information of this location exception, and using the position measurement information of the relevant location information of this location exception as application to be tested.Then, the position measurement information that data obtaining module treats Test Application stores.
Like this, when the embodiment of the present invention just can be recorded and occur that location is abnormal in field test process, the relevant location information abnormal to location carries out record, in order to realize retaining abnormal scene, location.
Preferably, the relevant location information of described orientation problem can include but not limited at least one in following information: the velocity information occurring the latitude/longitude information in the place that location is abnormal, altitude information, deflection information, positioning accuracy information and application place to be tested terminal.
Preferably, data obtaining module can with locating module in the terminal carry out alternately, to obtain latitude/longitude information and the location longitude information in abnormal place, location.And data obtaining module can carry out alternately with corresponding sensor, to obtain the velocity information of altitude information, deflection information and application place to be tested terminal that sensor detects.
Preferably, the utilizable location technology of positioning action that described locating module realizes terminal can include but not limited to: GPS (Global Positioning System, GPS) location, Wireless Fidelity (Wireless Fidelity, Wi-Fi) location, architecture or near field communication device location.
Preferably, described near field communication device can include but not limited to: bluetooth equipment, infrored equipment, wireless near field communication (Near Field Communication, NFC) equipment or radio frequency integrated circuit (Radio Frequency Integrated circuit, RFIC) equipment.
Such as, in the process of field test navigation application, navigation application cooks up a paths according to starting point and destination, navigation application place terminal is on the path of this planning in moving process, find should to turn round in certain crossing on the path, but navigation application does not carry out any voice message for carrying out turning round at this crossing, then illustrate that this navigation application occurs orientation problem in field test process.
Again such as, in the process of field test navigation application, navigation application cooks up a paths according to starting point and destination, navigation application place terminal is on the path of this planning in moving process, find there is a speed-limit road section on the path, but when terminal moves on this speed limit path, navigation application does not carry out the voice message of speed limit for this speed limit path, then illustrate that this navigation application occurs orientation problem in field test process.
The second: in the proving installation of application, data obtaining module can in the memory module of the proving installation place terminal of this application, read test configuration file, the analog position information of at least one edge scene of configuration is comprised in this test profile, like this, this data obtaining module just can obtain the analog position information of edge scene from this test profile, and using the position measurement information of the analog position information of this edge scene as application to be tested.Then, data obtaining module carries out the storage of the position measurement information of application to be tested.
Be understandable that, utilize the analogue technique of positional information, the camouflage in the geographic position of real edge scene is carried out by test profile, construct and utilize the analog position information of edge scene, realize the covering of positional information in all parts of the country, thus these analog position information just can be utilized the test be applied under edge scene to be tested is carried out in indoor, cover incomplete problem in order to solve test scene in prior art, the drain on manpower and material resources of field test can be reduced.
Preferably, the analog position information of described edge scene can include but not limited at least one in following information: the velocity information occurring the latitude/longitude information in the place that location is abnormal, altitude information, deflection information, positioning accuracy information and application place to be tested terminal.
Be understandable that, edge scene can include but not limited to other provinces, external or backcountry etc.
Based on the method for testing of above-mentioned application, the method for the embodiment of the present invention to S202 is specifically described.This step specifically can comprise:
Please refer to Fig. 3, it is for applying the example architecture figure obtaining positional information from locating module in Android Android operation system in prior art, as shown in the figure, in prior art, in Android operation system, locating module is used for the actual position information providing bottom to application, and this actual position information first sends to data providing module by locating module.Data providing module is by calling the correlation method in chartered this locality monitoring module, this actual position information is sent to chartered this locality and monitors module, and then monitor application corresponding to module with chartered this locality and just can monitor module from this locality and obtain actual position information, thus operate according to this actual position information, the operation that different applications exploiting actual position information carries out is different.
As shown in Figure 1, the principle of positional information is obtained based on above-mentioned application, in the embodiment of the present invention, in order to the reproduction that the position camouflage and location that realize edge scene are abnormal, information replacement module needs from data obtaining module, extract position measurement information, then utilizes the actual position information that the above-mentioned data providing module of this position measurement information substitution provides to application.
Preferably, information replacement module can initiate the request in replacement data source to local management module, to make local management module according to this request, the data source of positional information is switched to information replacement module by locating module, like this, the position measurement information of the application to be tested of data obtaining module acquisition just can be supplied to application to be tested by information replacement module.
Be understandable that, owing to being the data source of underlay handovers positional information of operating system in the terminal, therefore be the operation of transparence for application to be tested, make to be testedly to be applied in when there is no perception, still think that obtaining positional information is actual position information, thus make application to be tested can perform operation duplicate with field test process.In addition, switching due to the data source of positional information is the switching of the bottom layer realization of operating system from terminal, can come into force for the application all to be tested of installing in terminal, and then can use when all application to be tested can be made to test, can better realize and other across comparisons applied, the test process solving application cannot realize the problem of across comparison between competing product, is conducive to bottleneck and the optimal anchor direction of excavating application.
Illustrate, in the embodiment of the present invention, the number of the position measurement information of application to be tested can be at least one, when the position measurement information of application to be tested is supplied to application to be tested by information replacement module, first can extract each position measurement information of application to be tested according to a definite sequence from data obtaining module successively, then each position measurement information of the application to be tested of extracting is supplied to described application to be tested.Or, at least one position measurement information of application to be tested also all can extract by information replacement module from data obtaining module, then the display module in terminal is utilized, show at least one position measurement information of application to be tested, and according to the click location of user in display module, obtain the position measurement information that user selects at least one position measurement information of the application to be tested of display, finally, the position measurement information selected is supplied to application to be tested according to a definite sequence by information replacement module.
Illustrate, in the embodiment of the present invention, the method that the position measurement information of application to be tested is supplied to application to be tested can include but not limited to by information replacement module:
As shown in Figure 1, to be testedly apply corresponding this locality with described and monitor module in advance by local management module, be registered to the data providing module of application place to be tested terminal.Then, the position measurement information of application to be tested that information replacement module will extract from data obtaining module, sends to this data providing module.And then, this data providing module can judge that this locality of application correspondence to be tested is monitored module and whether is registered to data providing module, if registered, then data providing module can be monitored module to chartered this locality and send this position measurement information, and then this position measurement information sends to and monitors application to be tested corresponding to module with this this locality by local monitoring module again.Thus, to be tested be applied in obtain position measurement information after, the operation based on this position measurement information can be carried out, to obtain operating result.
Based on the method for testing of above-mentioned application, the method for the embodiment of the present invention to S203 is specifically described.This step specifically can comprise:
In the proving installation of application, result acquisition module can receive the operating result that application to be tested sends, and then compares, this operating result and the objective result preset to obtain comparison result; Last according to this comparison result, obtain the test result of application to be tested.
Such as, this position measurement information of criteria in application to be tested, carry out the search operation of certain type or certain point of interest in predeterminable range, to obtain at least one interest point information, according to this at least one interest point information that application to be tested obtains, this at least one interest point information and at least one interest point information preset can be compared, if it is identical that comparison result is for both, then can determine that the test of application to be tested does not go wrong, otherwise, if it is different that comparison result is for both, then can determine that the test result of application to be tested goes wrong, user needs to treat Test Application and is optimized and revises, go wrong to avoid application to be tested.
Again such as, the latitude/longitude information of starting point, the latitude/longitude information of destination can be configured in the position measurement information of configuration, like this, the position measurement information that information replacement module just can provide to application to be tested comprises the latitude/longitude information of starting point and the latitude/longitude information of destination, and application to be tested can calculate the path planning between starting point and destination.Then this path planning and the destination path preset are compared, if comparison result is that two paths are identical, then can determine that the test of application to be tested does not go wrong, otherwise, if it is different that comparison result is for both, then can determine that the test result of application to be tested goes wrong, user needs to treat Test Application and is optimized and revises, and goes wrong to avoid application to be tested.
It should be noted that, the method for testing of the application that the embodiment of the present invention provides and device can be applied to the test scene of following application to be tested:
Scene one, search periphery search test: as navigation application can based on the function of search of Present location search periphery point of interest, after the technical scheme using the embodiment of the present invention to provide, national geographic position can be simulated and carry out scene coverage test, compatibility test is carried out for many provinces, Special section, to ensure compatibility and the correctness of national each province Search Results.
Scene two, navigation procedure are tested: navigation is the major function of navigation application, after the technical scheme using the embodiment of the present invention to provide, the location dependent information of the fast mobile terminal track in field test process is accumulated, thus the abnormal scene in location that the information of accumulation can be utilized to carry out test process appearance carries out indoor trajectory reproducing test, reduces the various costs that field test brings.
Scene three, cyberdog functional test: cyberdog detecting is the important component part of navigation application, due to strategy impact, the state that only display positioning signal is weak in no-fix situation, and the cyberdog state in driving process needs just to there will be when field test, and the electronic eyes scrnario testing of specifying needs to carry out field test at special road section, after the technical scheme using the embodiment of the present invention to provide, in the mode of indoor use analog track or trajectory reproducing, can to the multiple cyberdog state in driving process, electronic eyes detects scene and tests, improve test scene, reduce the various costs that field test brings.
Scene four, driftage scrnario testing: driftage rear path plans it is the critical function of navigation application in navigation procedure again, just can trigger after traveling departs from the path certain distance of initial planning, need constantly to perform the operations such as tune pitch of the laps in the driving process of reality, bring very big inconvenience to test.After the technical scheme using the embodiment of the present invention to provide, can carry out the simulation of driftage scene at the indoor track according to customization, thus realize the test of navigation application, implementation method is simple, can also repeat, save time, and reduces cost.
Scene five, wheelpath scrnario testing: only just can trigger under field test scene at the record of driving process, the formation condition structure of various track and the verification of correctness of track, carry out and inconvenience in field test.After the technical scheme using the embodiment of the present invention to provide, the test of track scene is real trace scene when using field test, realizes the reproduction to real trace scene, realizes the test of the track scene applied easily.
Scene six, hypervelocity, High-speed Circumstance are tested: navigation application is also inconvenient to carry out in field test to the functional verification exceeded the speed limit, speed limit is relevant in navigation procedure, drives over the speed limit dangerous in field test process; The field test distance of fast mode is general comparatively far away, and field test is also inconvenient.After the technical scheme using the embodiment of the present invention to provide, only need the speed parameter revised in track the function relevant to hypervelocity scene to test, improve the safety and reliability of test.In like manner, the test for High-speed Circumstance also realizes by amendment speed parameter.
Scene seven, competing product performance comparison: in prior art, the performance test cost compare of application is high, and simultaneously in competing product performance test process, due to impacts such as road conditions weather, cannot ensure that driving process is completely the same, the test result of performance may exist deviation.After the technical scheme using the embodiment of the present invention to provide, can guarantee that the driving process of each reproduction is all consistent, the consistance of the test scene between the different editions ensure that between competing product, applying, reduce external factor to the impact of test result.
It should be noted that, terminal involved in the embodiment of the present invention can include but not limited to personal computer (Personal Computer, PC), personal digital assistant (Personal Digital Assistant, PDA), radio hand-held equipment, panel computer (Tablet Computer), mobile phone, MP3 player, MP4 player etc.
It should be noted that, the executive agent of S201 ~ S203 can be the proving installation of application, this device can be positioned at the application of local terminal, or can also for being arranged in plug-in unit or SDK (Software Development Kit) (the Software Development Kit of the application of local terminal, the functional unit such as SDK), the embodiment of the present invention is not particularly limited this.
Be understandable that, described application can be mounted in the application program (nativeApp) in terminal, or can also be a web page program (webApp) of browser in terminal, and the embodiment of the present invention does not limit this.
The embodiment of the present invention provides the device embodiment realizing each step and method in said method embodiment further.
Please refer to Fig. 4, the functional block diagram of the proving installation of its application provided for the embodiment of the present invention.As shown in the figure, this device comprises:
Data obtaining module 401, for obtaining the position measurement information of application to be tested;
Information replacement module 402, position measurement information for the application described to be tested obtained by described data obtaining module is supplied to described application to be tested, so that the operation based on described position measurement information is carried out in described application to be tested, to obtain operating result;
Result acquisition module 403, for according to described operating result, obtains the test result of described application to be tested.
Preferably, described data obtaining module 401, specifically for:
Describedly to be testedly be applied in when occurring that location is abnormal in field test process, record the relevant location information that described location is abnormal, using the position measurement information as described application to be tested;
Store the position measurement information of described application to be tested;
Wherein, the relevant location information that described location is abnormal comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
Preferably, described data obtaining module 401, specifically for:
Obtain test profile;
The analog position information of edge scene is obtained, using the position measurement information as described application to be tested from described test profile;
Store the position measurement information of described application to be tested;
Wherein, described analog position information comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
Preferably, the number of the position measurement information of described application to be tested is at least one, described information replacement module 402, specifically for:
Successively each described position measurement information of described application to be tested is supplied to described application to be tested in order; Or,
Show described application to be tested at least one described in position measurement information, and the position measurement information that acquisition user selects at least one position measurement information of the application described to be tested of display, and the described position measurement information selected is supplied to described application to be tested.
Preferably, to be testedly apply corresponding this locality with described and monitor the data providing module of module registered in advance to described application place to be tested terminal, described information replacement module 402, specifically for:
The position measurement information of described application to be tested is sent to the data providing module of described application place to be tested terminal, so that described data providing module monitors module to chartered this locality send described position measurement information, monitor module to make described this locality and described position measurement information sent to monitor application described to be tested corresponding to module with described this locality.
Preferably, described result acquisition module 403, specifically for:
Described operating result and the objective result preset are compared, to obtain comparison result;
According to described comparison result, obtain the test result of described application to be tested.
Because each module in the present embodiment can perform the method shown in Fig. 2, the part that the present embodiment is not described in detail, can with reference to the related description to Fig. 2.
The technical scheme of the embodiment of the present invention has following beneficial effect:
The embodiment of the present invention is by obtaining the position measurement information of application to be tested; Thus, the position measurement information of the application described to be tested obtained is supplied to described application to be tested, so that the operation based on described position measurement information is carried out in described application to be tested, operating result; And then, according to described operating result, obtain the test result of described application to be tested.Therefore, carry out compared with the method for testing of field test with needing tester in prior art, the technical scheme that the embodiment of the present invention provides, the position measurement data of acquisition can be utilized, realize the test of application to be tested, obtain test result, do not need the field test of tester, therefore, the testing efficiency of application can be improved, reduce the various costs that application testing consumes.
In addition, in field test process, for the orientation problem found in test process, the relevant information of record can be used again to reappear orientation problem, the true reduction of problem of implementation scene.
In addition, the simulation of positional information can be carried out for edge scene, the test of applying under utilizing the positional information of simulation to realize edge scene, the problem of field test cannot be realized for solving tester under edge scene, the coverage rate of test scene can be improved, make test scene more comprehensively perfect.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described module, is only a kind of logic function and divides, and actual can have other dividing mode when realizing, such as, multiple module or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or module or communication connection can be electrical, machinery or other form.
The described module illustrated as separating component can or may not be physically separates, and the parts as module display can be or may not be physical module, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional module in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated module realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer installation (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (12)

1. a method of testing for application, it is characterized in that, described method comprises:
Obtain the position measurement information of application to be tested;
The position measurement information of described application to be tested is supplied to described application to be tested, so that the operation based on described position measurement information is carried out in described application to be tested, to obtain operating result;
According to described operating result, obtain the test result of described application to be tested.
2. method according to claim 1, is characterized in that, the position measurement information of described acquisition application to be tested, comprising:
Describedly to be testedly be applied in when occurring that location is abnormal in field test process, record the relevant location information that described location is abnormal, using the position measurement information as described application to be tested;
Store the position measurement information of described application to be tested;
Wherein, the relevant location information that described location is abnormal comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
3. method according to claim 1, is characterized in that, the position measurement information of described acquisition application to be tested, comprising:
Obtain test profile;
The analog position information of edge scene is obtained, using the position measurement information as described application to be tested from described test profile;
Store the position measurement information of described application to be tested;
Wherein, described analog position information comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
4. method according to claim 1, is characterized in that, the number of the position measurement information of described application to be tested is at least one, and the described position measurement information by described application to be tested is supplied to described application to be tested, comprising:
Successively each described position measurement information of described application to be tested is supplied to described application to be tested in order; Or,
Show described application to be tested at least one described in position measurement information, and the position measurement information that acquisition user selects at least one position measurement information of the application described to be tested of display, and the described position measurement information selected is supplied to described application to be tested.
5. the method according to claim 1 or 4, it is characterized in that, to be testedly apply corresponding this locality with described and monitor the data providing module of module registered in advance to described application place to be tested terminal, the described position measurement information by described application to be tested is supplied to described application to be tested, comprising:
The position measurement information of described application to be tested is sent to the data providing module of described application place to be tested terminal, so that described data providing module monitors module to chartered this locality send described position measurement information, monitor module to make described this locality and described position measurement information sent to monitor application described to be tested corresponding to module with described this locality.
6. method according to claim 1, is characterized in that, described according to described operating result, obtains the test result of described application to be tested, comprising:
Described operating result and the objective result preset are compared, to obtain comparison result;
According to described comparison result, obtain the test result of described application to be tested.
7. a proving installation for application, it is characterized in that, described device comprises:
Data obtaining module, for obtaining the position measurement information of application to be tested;
Information replacement module, the position measurement information for the application described to be tested obtained by described data obtaining module is supplied to described application to be tested, so that the operation based on described position measurement information is carried out in described application to be tested, to obtain operating result;
Result acquisition module, for according to described operating result, obtains the test result of described application to be tested.
8. device according to claim 7, is characterized in that, described data obtaining module, specifically for:
Describedly to be testedly be applied in when occurring that location is abnormal in field test process, record the relevant location information that described location is abnormal, using the position measurement information as described application to be tested;
Store the position measurement information of described application to be tested;
Wherein, the relevant location information that described location is abnormal comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
9. device according to claim 7, is characterized in that, described data obtaining module, specifically for:
Obtain test profile;
The analog position information of edge scene is obtained, using the position measurement information as described application to be tested from described test profile;
Store the position measurement information of described application to be tested;
Wherein, described analog position information comprises at least one in following information: the velocity information of latitude/longitude information, altitude information, deflection information, positioning accuracy information and described application place to be tested terminal.
10. device according to claim 7, is characterized in that, the number of the position measurement information of described application to be tested is at least one, described information replacement module, specifically for:
Successively each described position measurement information of described application to be tested is supplied to described application to be tested in order; Or,
Show described application to be tested at least one described in position measurement information, and the position measurement information that acquisition user selects at least one position measurement information of the application described to be tested of display, and the described position measurement information selected is supplied to described application to be tested.
11. devices according to claim 7 or 10, is characterized in that, to be testedly apply corresponding this locality with described and monitor the data providing module of module registered in advance to described application place to be tested terminal, described information replacement module, specifically for:
The position measurement information of described application to be tested is sent to the data providing module of described application place to be tested terminal, so that described data providing module monitors module to chartered this locality send described position measurement information, monitor module to make described this locality and described position measurement information sent to monitor application described to be tested corresponding to module with described this locality.
12. devices according to claim 7, is characterized in that, described result acquisition module, specifically for:
Described operating result and the objective result preset are compared, to obtain comparison result;
According to described comparison result, obtain the test result of described application to be tested.
CN201410669976.8A 2014-11-20 2014-11-20 Application testing method and device Pending CN104359495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410669976.8A CN104359495A (en) 2014-11-20 2014-11-20 Application testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410669976.8A CN104359495A (en) 2014-11-20 2014-11-20 Application testing method and device

Publications (1)

Publication Number Publication Date
CN104359495A true CN104359495A (en) 2015-02-18

Family

ID=52526779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410669976.8A Pending CN104359495A (en) 2014-11-20 2014-11-20 Application testing method and device

Country Status (1)

Country Link
CN (1) CN104359495A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106840209A (en) * 2017-02-22 2017-06-13 百度在线网络技术(北京)有限公司 Method and apparatus for testing navigation application
CN107086938A (en) * 2016-02-16 2017-08-22 上海大唐移动通信设备有限公司 A kind of road measurement apparatus and method of testing
CN107990909A (en) * 2016-10-27 2018-05-04 千寻位置网络有限公司 A kind of test method and its system of simulated roadway position data
CN108680895A (en) * 2018-03-21 2018-10-19 京信通信系统(中国)有限公司 The upper method and device for measuring examination is carried out to positioning system
CN110309931A (en) * 2018-03-20 2019-10-08 腾讯科技(深圳)有限公司 A kind of service optimization method and device
CN111142139A (en) * 2019-11-29 2020-05-12 苏州科达科技股份有限公司 Method and device for acquiring simulated positioning information and storage medium
CN112256552A (en) * 2020-12-22 2021-01-22 智道网联科技(北京)有限公司 Pressure testing method and device for map engine

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0660235A1 (en) * 1993-12-22 1995-06-28 International Business Machines Corporation Method for automated software application testing
CN102186143A (en) * 2011-05-27 2011-09-14 北京百度网讯科技有限公司 Method, mobile terminal and system for acquiring positioning information
US20110239198A1 (en) * 2006-10-17 2011-09-29 ArtofTest,Inc. System, Method, and Computer Readable Medium for Universal Software Testing
CN102620746A (en) * 2012-02-28 2012-08-01 惠州市德赛西威汽车电子有限公司 Navigator testing system
CN103324570A (en) * 2013-06-18 2013-09-25 安科智慧城市技术(中国)有限公司 Functional testing method and system for to-be-tested system
CN103957504A (en) * 2014-04-21 2014-07-30 百度在线网络技术(北京)有限公司 Positioning service assessment method, device and system
CN103997711A (en) * 2013-02-20 2014-08-20 百度在线网络技术(北京)有限公司 Method for realizing positioning server at mobile terminal and software development kit module
WO2014125467A1 (en) * 2013-02-17 2014-08-21 Cale Michael Method for administering a driving test

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0660235A1 (en) * 1993-12-22 1995-06-28 International Business Machines Corporation Method for automated software application testing
US20110239198A1 (en) * 2006-10-17 2011-09-29 ArtofTest,Inc. System, Method, and Computer Readable Medium for Universal Software Testing
CN102186143A (en) * 2011-05-27 2011-09-14 北京百度网讯科技有限公司 Method, mobile terminal and system for acquiring positioning information
CN102620746A (en) * 2012-02-28 2012-08-01 惠州市德赛西威汽车电子有限公司 Navigator testing system
WO2014125467A1 (en) * 2013-02-17 2014-08-21 Cale Michael Method for administering a driving test
CN103997711A (en) * 2013-02-20 2014-08-20 百度在线网络技术(北京)有限公司 Method for realizing positioning server at mobile terminal and software development kit module
CN103324570A (en) * 2013-06-18 2013-09-25 安科智慧城市技术(中国)有限公司 Functional testing method and system for to-be-tested system
CN103957504A (en) * 2014-04-21 2014-07-30 百度在线网络技术(北京)有限公司 Positioning service assessment method, device and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107086938A (en) * 2016-02-16 2017-08-22 上海大唐移动通信设备有限公司 A kind of road measurement apparatus and method of testing
CN107990909A (en) * 2016-10-27 2018-05-04 千寻位置网络有限公司 A kind of test method and its system of simulated roadway position data
CN106840209A (en) * 2017-02-22 2017-06-13 百度在线网络技术(北京)有限公司 Method and apparatus for testing navigation application
CN106840209B (en) * 2017-02-22 2020-04-21 百度在线网络技术(北京)有限公司 Method and apparatus for testing navigation applications
CN110309931A (en) * 2018-03-20 2019-10-08 腾讯科技(深圳)有限公司 A kind of service optimization method and device
CN108680895A (en) * 2018-03-21 2018-10-19 京信通信系统(中国)有限公司 The upper method and device for measuring examination is carried out to positioning system
CN108680895B (en) * 2018-03-21 2020-09-01 京信通信系统(中国)有限公司 Method and device for performing uplink test on positioning system
CN111142139A (en) * 2019-11-29 2020-05-12 苏州科达科技股份有限公司 Method and device for acquiring simulated positioning information and storage medium
CN112256552A (en) * 2020-12-22 2021-01-22 智道网联科技(北京)有限公司 Pressure testing method and device for map engine
CN112256552B (en) * 2020-12-22 2021-10-08 智道网联科技(北京)有限公司 Pressure testing method and device for map engine

Similar Documents

Publication Publication Date Title
CN104359495A (en) Application testing method and device
EP3137849B1 (en) Automated detection of vehicle parking and location
KR102058947B1 (en) Mobile terminal and gps engine control method therof
US9473902B2 (en) Printed tag real-time tracking
US10299080B2 (en) System and method for maximizing mobile device power using intelligent attribute selection
US9288629B2 (en) Mobile device positioning system
US10229576B2 (en) User equipment, earthquake alert server and earthquake alert method thereof
US9445236B2 (en) Recording and processing safety relevant observations for facilities
KR101539217B1 (en) Method for analyzing road environment using vehicle condition, system and apparatus thereof
CN103257355A (en) Method and apparatus for location positioning in electronic device
US8965686B2 (en) Apparatus and method for computing vehicle path by considering satellite communication channel states
CN107370877A (en) Method for pushing, device, storage medium and the electronic equipment of application program
CN105526944B (en) Information cuing method and device
KR101421411B1 (en) Method for providing map information, system thereof, terminal thereof and apparatus thereof
CN104280045A (en) Method and device for acquiring navigation information
CN103415070A (en) Positioning method and device based on mobile path
CN110554953A (en) Electronic map indoor simulation navigation method and device, electronic equipment and storage medium
CN105119743A (en) Acquisition method of user behavior intention and apparatus
US20130179260A1 (en) Predicting Trends Using A Geographic Position System
CN105222800A (en) Air navigation aid and navigational system
CN212624333U (en) Location bracelet and location bracelet system
CN104080168A (en) Location method and device
CN109033187B (en) Map data updating method, map data updating system, readable storage medium and computer equipment
CN111126120B (en) Urban area classification method, device, equipment and medium
CN111815105A (en) Method and equipment for providing risk assessment map information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150218

RJ01 Rejection of invention patent application after publication