CN109815112A - Data debugging method, apparatus and terminal device based on functional test - Google Patents

Data debugging method, apparatus and terminal device based on functional test Download PDF

Info

Publication number
CN109815112A
CN109815112A CN201811529012.8A CN201811529012A CN109815112A CN 109815112 A CN109815112 A CN 109815112A CN 201811529012 A CN201811529012 A CN 201811529012A CN 109815112 A CN109815112 A CN 109815112A
Authority
CN
China
Prior art keywords
catalogue
simulation
request
data
analogue data
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
CN201811529012.8A
Other languages
Chinese (zh)
Other versions
CN109815112B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811529012.8A priority Critical patent/CN109815112B/en
Publication of CN109815112A publication Critical patent/CN109815112A/en
Application granted granted Critical
Publication of CN109815112B publication Critical patent/CN109815112B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention is suitable for technical field of data processing, provide data debugging method, apparatus, terminal device and computer readable storage medium based on functional test, it include: analogue data to be searched under all catalogues, and obtain the physical directory where the simulation catalogue and analogue data that analogue data includes;Simulation catalogue and physical directory are established into catalogue mapping relations, and feature extraction is carried out to simulation catalogue and obtains common characteristic;Routing configuration is carried out based on common characteristic and catalogue mapping relations, if receiving the client request comprising request catalogue, then identify whether request catalogue includes common characteristic, client request is intercepted when requesting catalogue to include common characteristic, and the analogue data when requesting catalogue identical as the simulation catalogue in catalogue mapping relations, in Returning catalogue mapping relations under physical directory.The present invention carries out routing configuration in server, so that data debugging occurs to improve the accuracy of data debugging in the interactive process between front and rear end.

Description

Data debugging method, apparatus and terminal device based on functional test
Technical field
The invention belongs to technical field of data processing, more particularly to the data debugging method, apparatus based on functional test, end End equipment and computer readable storage medium.
Background technique
Ajax is a kind of development technique of creation interaction network page application, has been widely used in the exploitation of application program. In the development phase of application program, often it is divided into front end exploitation and rear end exploitation, and since the development progress of front-end and back-end can Can be asynchronous, therefore the developer of front end may carry out Ajax data in the case where the data-interface of rear end and untapped completion Debugging, to verify the stability and interactivity of front end.
In the prior art, usually manual building analogue data, and the calling code of analogue data is write direct just In normal front-end code, so that when executing front-end code the Ajax request of front end transmission can be intercepted automatically, and will be corresponding Analogue data is back to front end.Since the prior art is to cause the process of data debugging to be confined in front end interception Ajax request The accuracy of front end, debugging is low.
Summary of the invention
In view of this, the embodiment of the invention provides based on functional test data debugging method, apparatus, terminal device with And computer readable storage medium, front end, the low problem of the accuracy of debugging are only limitted to solve data debugging in the prior art.
The first aspect of the embodiment of the present invention provides a kind of data debugging method based on functional test, comprising:
Analogue data is searched under all catalogues, and obtains simulation catalogue and the simulation that the analogue data includes Physical directory where data, wherein the analogue data is the data comprising preset simulation mark, and the physical directory is The storage address of the analogue data in the server;
The simulation catalogue and the physical directory are established into catalogue mapping relations, and feature is carried out to the simulation catalogue Extraction obtains common characteristic;
Routing configuration is carried out based on the common characteristic and the catalogue mapping relations, if receiving comprising request catalogue Client request then identifies whether the request catalogue includes the common characteristic, includes described shared in the request catalogue The client request is intercepted when feature, and in the request catalogue and the simulation catalogue phase in the catalogue mapping relations Meanwhile returning to the analogue data under physical directory described in the catalogue mapping relations.
The second aspect of the embodiment of the present invention provides a kind of data debugging device based on functional test, comprising:
Searching unit for searching analogue data under all catalogues, and obtains the simulation mesh that the analogue data includes Physical directory where record and the analogue data, wherein the analogue data is the data comprising preset simulation mark, The physical directory is the storage address of the analogue data in the server;
Unit is established, for the simulation catalogue and the physical directory to be established catalogue mapping relations, and to the mould Quasi- catalogue carries out feature extraction and obtains common characteristic;
Configuration unit, for carrying out routing configuration based on the common characteristic and the catalogue mapping relations, if receiving Client request comprising requesting catalogue, then identify whether the request catalogue includes the common characteristic, in the request mesh Record intercepts the client request when including the common characteristic, and in the request catalogue and the catalogue mapping relations When the simulation catalogue is identical, the analogue data under physical directory described in the catalogue mapping relations is returned.
The third aspect of the embodiment of the present invention provides a kind of terminal device, and the terminal device includes memory, processing Device and storage in the memory and the computer program that can run on the processor, described in the processor execution Following steps are realized when computer program:
Analogue data is searched under all catalogues, and obtains simulation catalogue and the simulation that the analogue data includes Physical directory where data, wherein the analogue data is the data comprising preset simulation mark, and the physical directory is The storage address of the analogue data in the server;
The simulation catalogue and the physical directory are established into catalogue mapping relations, and feature is carried out to the simulation catalogue Extraction obtains common characteristic;
Routing configuration is carried out based on the common characteristic and the catalogue mapping relations, if receiving comprising request catalogue Client request then identifies whether the request catalogue includes the common characteristic, includes described shared in the request catalogue The client request is intercepted when feature, and in the request catalogue and the simulation catalogue phase in the catalogue mapping relations Meanwhile returning to the analogue data under physical directory described in the catalogue mapping relations.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes following steps when being executed by processor:
Analogue data is searched under all catalogues, and obtains simulation catalogue and the simulation that the analogue data includes Physical directory where data, wherein the analogue data is the data comprising preset simulation mark, and the physical directory is The storage address of the analogue data in the server;
The simulation catalogue and the physical directory are established into catalogue mapping relations, and feature is carried out to the simulation catalogue Extraction obtains common characteristic;
Routing configuration is carried out based on the common characteristic and the catalogue mapping relations, if receiving comprising request catalogue Client request then identifies whether the request catalogue includes the common characteristic, includes described shared in the request catalogue The client request is intercepted when feature, and in the request catalogue and the simulation catalogue phase in the catalogue mapping relations Meanwhile returning to the analogue data under physical directory described in the catalogue mapping relations.
Existing beneficial effect is the embodiment of the present invention compared with prior art:
The embodiment of the present invention by searching analogue data in the server, by the simulation catalogue and simulation in analogue data The physical directory that data are located in server establishes catalogue mapping relations, and the common characteristic based on simulation catalogue and catalogue mapping The routing module of relationship configuration server, after configuration is complete, if the request catalogue in the client request that server receives Containing common characteristic, then physical directory corresponding with request catalogue is determined based on catalogue mapping relations, returned under physical directory Analogue data, the routing module of relevant information configuration server of the embodiment of the present invention based on analogue data, so as to take Business device end intercepts client request, so that data debugging occurs to improve data in the interactive process between front-end and back-end The accuracy of debugging.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart for the data debugging method based on functional test that the embodiment of the present invention one provides;
Fig. 2 is the implementation flow chart of the data debugging method provided by Embodiment 2 of the present invention based on functional test;
Fig. 3 is the implementation flow chart for the data debugging method based on functional test that the embodiment of the present invention three provides;
Fig. 4 is the implementation flow chart for the data debugging method based on functional test that the embodiment of the present invention four provides;
Fig. 5 is the implementation flow chart for the data debugging method based on functional test that the embodiment of the present invention five provides;
Fig. 6 is the structural block diagram for the data debugging device based on functional test that the embodiment of the present invention six provides;
Fig. 7 is the schematic diagram for the terminal device that the embodiment of the present invention seven provides.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the data debugging method provided in an embodiment of the present invention based on functional test, is described in detail It is as follows:
In S101, analogue data is searched under all catalogues, and obtain the simulation catalogue that the analogue data includes with And the physical directory where the analogue data, wherein the analogue data is the data comprising preset simulation mark, described Physical directory is the storage address of the analogue data in the server.
In the development phase of the application program of application Ajax technology, the data interaction result to application program is needed to carry out Verifying and debugging, such as the unit testing for including in software test thought.In application program-oriented method of the embodiment of the present invention front end and The inconsistent scene of rear end development progress, i.e., when completion is developed in front end, rear end does not complete exploitation simultaneously, causes rear end that can not provide Data-interface, front end can not also call the data of rear end to carry out data debugging.Compared in conventional method directly front end intercept Ajax request, and the false data for returning to building carries out data debugging, is initially set up in embodiments of the present invention for data debugging Server, which can be the back-end server of application program, the embodiment of the present invention to the concrete type of server simultaneously Without limitation, for example server can be Apache Server, Nginx server or IIS server etc..
In order to realize the data interaction of front-end and back-end, interactive object, i.e. analogue data are constructed in advance in the server, and It sets in analogue data and is arranged comprising simulation mark and simulation catalogue, simulation mark and simulation catalogue according to preset allocation position In analogue data, for example simulation mark and simulation catalogue may be provided in the file name for storing the file of analogue data, It may be provided in the data content (for example be set as text and be placed in text document) of analogue data itself, wherein simulation mark Knowledge can be determined according to practical application scene, and simulation catalogue can also be accustomed to by the developer of front end according to code or preceding termination Mouth document is formulated.For example, a text document is constructed to store analogue data, is formulated simulation and is identified as " fake ", Simulating catalogue is " usr/local/txt ", then the title for storing the text document of analogue data is set as " fake-usr/ Local/txt.txt " (text formatting that last " .txt " is text document), certainly, the life of simulation mark and simulation catalogue More naming rules also can be used in name, however it is not limited to this example.It is noted that the simulation mark of all analogue datas can be set It is set to unanimously, can also be set as inconsistent according to the type difference of analogue data, for example be the analogue data of picture for type, Settable corresponding simulation is identified as " fake.image ";It is the analogue data of mailbox, settable corresponding simulation for type It is identified as " fake.email ";It is the analogue data of link for type, settable corresponding simulation is identified as " fake.link " Deng.
After the completion of constructing analogue data, in this step, analogue data is searched automatically under all catalogues of server, is looked into Search criterion based on looking for is that pre-set simulation mark and allocation position further determine that after obtaining analogue data Positioned at the simulation catalogue in addition to simulating mark of allocation position, and determine that analogue data is located at the physical directory in server, Physical directory is the actual stored address of analogue data in the server.
In S102, the simulation catalogue and the physical directory are established into catalogue mapping relations, and to the simulation mesh Record carries out feature extraction and obtains common characteristic.
For each analogue data found, its corresponding simulation catalogue and physical directory are established into catalogue mapping and closed System.While being intended to request the non-analog data in analogue data or server for the ease of the request outside quickly determining, In the embodiment of the present invention, feature extraction is carried out to simulation catalogue and obtains common characteristic, feature extraction is according to the quantity of analogue data Difference can be divided into following two mode: if simulation catalogue is only one, directly using the simulation catalogue as common characteristic;If mould Quasi- catalogue be it is multiple, then extract the parts shared in multiple simulation catalogues as common characteristic, for example simulation catalogue includes " usr/ Local/html1/ ", " usr/local/html2/ " and " usr/local/html3/ ", the then common characteristic extracted are " usr/local/ ", specific characteristic extraction procedure are described in detail later, it is worth mentioning at this point that, the shared spy extracted There may be multiple for sign.
In S103, routing configuration is carried out based on the common characteristic and the catalogue mapping relations, includes if receiving The client request for requesting catalogue, then identify whether the request catalogue includes the common characteristic, in the request catalogue packet Intercept the client request when containing the common characteristic, and in the request catalogue and the catalogue mapping relations described in When simulation catalogue is identical, the analogue data under physical directory described in the catalogue mapping relations is returned.
Common characteristic is for tentatively judging whether the request catalogue that server receives is simulation catalogue, specifically, To after catalogue mapping relations and common characteristic, the routing (Router) based on catalogue mapping relations and common characteristic configuration server Module.In configuration process, first Rule of judgment if is established in routing module first, in the Rule of judgment, creation is sentenced Whether the request catalogue that off line is made as judging that server receives contains common characteristic, if request catalogue contains common characteristic, Into second Rule of judgment if (if only existing a simulation catalogue, after judging that catalogue is requested to contain common characteristic, Directly judge to request catalogue whether identical as simulation catalogue, if they are the same, then return under physical directory corresponding with simulation catalogue Data;If not identical, practical routing operations are executed);If catalogue is requested not contain common characteristic, practical routing behaviour is executed Make.In second Rule of judgment if, creation judgment mechanism be judge request catalogue whether in some catalogue mapping relations Simulation catalogue it is identical, it is true according to the catalogue mapping relations if identical as the simulation catalogue in some catalogue mapping relations Fixed physical directory corresponding with the simulation catalogue, and return to the analogue data under physical directory;If requesting catalogue and all catalogues Simulation catalogue in mapping relations is different from, then executes practical routing operations.Wherein, judged for convenience, it can be Multiple sub- Rule of judgment, the corresponding catalogue mapping relations of every sub- Rule of judgment, thus real are created under two Rule of judgment if All catalogue mapping relations are now covered, and request catalogue is placed in each sub- Rule of judgment when executing and judging and is sentenced It is disconnected, until requesting catalogue identical as the simulation catalogue in the catalogue mapping relations of a certain sub- Rule of judgment.Above-mentioned reality Border routing operations are the operations carried out in the case where assert request catalogue not is to simulate catalogue, and specific mode of operation can root It is configured according to practical application scene, for example practical routing operations can be and directly return to miscue, be also possible to servicing Physical directory identical with request catalogue is searched in device, and after searching successfully, returns to the number searched under successful physical directory According to etc..It is noted that the specific code of configuration routing module is write according to the code specification of server, different type Server, carry out generally also different with the specific code that postpones, for example server is Nginx server, then routes in configuration When module, "-d $ request_filename " is written in first Rule of judgment and if second Rule of judgment if, wherein-d It is used to indicate and carries out address judgement, $ request_filename variable represents the resource path (i.e. request catalogue) of request.
After the routing module configuration to server, it can start to carry out data debugging, can specifically operate client (client can be browser) sends client request (client request is to call the request of data) to server, then takes The uniform resource locator (Uniform Resource Locator, URL) being engaged in device parsing client request, by what is parsed URL will carry out path judgement in request catalogue merging routing module as request catalogue.If judging to ask according to routing module It asks catalogue to contain common characteristic, then intercepts the corresponding client request of request catalogue, i.e., not to asking in the client request It asks catalogue to execute the operation for searching identical physical directory, but searches catalogue mapping relations, the catalogue under the common characteristic The requirement of mapping relations is that simulation catalogue therein is identical as request catalogue, if finding the catalogue mapping pass for meeting the requirement System then determines physical directory corresponding with request catalogue based on catalogue mapping relations, and returns to the analogue data under physical directory; If the catalogue mapping relations for meeting the requirement can not be found, practical routing operations are executed.Wherein, client request can be Ajax request or hypertext transfer protocol (HyperText Transfer Protocol, HTTP) request etc..
By embodiment illustrated in fig. 1 it is found that in embodiments of the present invention, by searching analogue data under all catalogues, And the physical directory of simulation catalogue and analogue data that analogue data includes in the server is obtained, and will simulation catalogue and reality Border catalogue establishes catalogue mapping relations, to simulation catalogue carry out feature extraction obtain common characteristic, be then based on common characteristic and Catalogue mapping relations carry out routing configuration, the client request comprising common characteristic are intercepted by the routing module configured, in visitor When request catalogue in the request of family end is identical as the simulation catalogue in catalogue mapping relations, practical mesh in Returning catalogue mapping relations Analogue data under record, the client request that the embodiment of the present invention enables front end to send reach server, can detect out The problem of data exchange process, improves the effect of data debugging.
Shown in Fig. 2, be on the basis of the embodiment of the present invention one, and include multiple analog mark on the basis of, will be right A kind of method that the process that simulation catalogue progress feature extraction obtains common characteristic obtains after being refined.The embodiment of the present invention mentions Supplied the implementation flow chart of the data debugging method based on functional test, as shown in Fig. 2, the data debugging method may include with Lower step:
In S201, the corresponding multiple simulation catalogues of analogue data described in same class are included into directory set, and successively Multiple simulation catalogues in the directory set are intercepted according to preset multiple interception levels, wherein same class institute It states analogue data and refers to multiple analogue datas comprising the same simulation mark.
In embodiments of the present invention, preset simulation mark is there may be a variety of, therefore when executing feature extraction, first general The corresponding multiple simulation catalogues of same class analogue data are included into a directory set, and same class analogue data refers to comprising same mould The analogue data of quasi- mark, such as there are three kinds of simulations to identify, then three directory sets, each mesh are obtained after execution is included into Record collection all corresponds to a kind of simulation mark.Wherein, directory set is only intended to instruction to the corresponding simulation catalogue of same class analogue data Homogeneous classification is carried out, without referring to specific a certain storage relationship.After the completion of directory set creation, for each catalogue Collection, successively intercepts the simulation catalogue in directory set according to preset multiple interception levels, wherein intercepts level and refers to pair The interception area that simulation catalogue is intercepted, for example a kind of mode is intercepted according to slash "/", interception level is n, then Until indicating to be truncated to since simulation catalogue comprising n slash, n is the integer greater than zero, this is not constituted to this certainly The restriction of inventive embodiments can also be using others when being intercepted according to interception level based on the specific format of simulation catalogue Interception rule.It is noted that if in directory set only including a simulation catalogue, it can be directly using the simulation catalogue as altogether There is feature, without intercepting to it, reduces the cumbersome degree of operation.The number and content for intercepting level can be according to practical application fields Determine that the efficiency requirements of common characteristic and required precision are configured in scape, as interception level is higher, then interception area is more, The efficiency for obtaining common characteristic is lower, and precision is higher.For ease of description, it is said hereinafter with intercepting level including 1,2 and 3 It is bright, then successively the simulation catalogue in directory set is intercepted according to multiple interception levels, substantially first according to the interception for 1 Level is intercepted, and is intercepted according still further to for 2 interception level, is finally intercepted according to for 3 interception level.
In S202, if the multiple interception catalogues obtained after being intercepted according to the interception level are identical, it is determined that To the maximum interception levels of numerical value of multiple identical interception catalogues, and by the corresponding interception of the interception level Catalogue is as the common characteristic.
Multiple interception catalogues are obtained after intercepting according to interception level to multiple simulation catalogues in directory set, due to altogether Have that feature is more specific, then in subsequent configuration routing module, the accuracy that catalog recognition be simulation catalogue will be requested higher, therefore obtained The interception level of multiple identical interception catalogues is obtained, and obtains the wherein maximum interception level of numerical value, by maximum section of numerical value Take the corresponding interception catalogue of level as the corresponding common characteristic of directory set.For example, directory set includes simulation catalogue " usr/ Local/html1/ ", " usr/local/html2/ " and " usr/local/html3/ ", then according to the interception level progress for 1 The interception catalogue obtained after interception is " usr/ ", and the interception catalogue obtained after being intercepted according to the interception level for 2 is " usr/local/ ", and after being intercepted according to the interception level for 3, obtained interception catalogue is respectively " usr/local/ Html1/ ", " usr/local/html2/ " and " usr/local/html3/ ", three interception catalogues are not identical, then judge The interception level for obtaining multiple identical interception catalogues is 1 and 2, due to 2 numerical value maximum, therefore will be intercepted according to for 2 interception level Obtained interception catalogue is as common characteristic, i.e., " usr/local/ ".If it is noted that according to specific interception level Obtained common characteristic, then it is subsequent common characteristic is added to routing module after, according to the interception level will request catalogue carry out Interception, then the request catalogue after interception is compared with common characteristic.For example intercept the interception level that basis is 2 After common characteristic " usr/local/ " is added to routing module, the request catalogue that server receives is " adc/adc1/ Adc11/ " then first is intercepted to obtain " adc/adc1/ " according to the interception level for 2 to request catalogue, then by " adc/ Adc1/ " is compared with " usr/local/ ", since " adc/adc1/ " be not identical as " usr/local/ ", it is determined that the request Catalogue does not contain common characteristic.
In S203, if obtained multiple interception catalogues not phase after being intercepted according to each interception level Together, then multiple simulation catalogues in the directory set are regard as the common characteristic.
If the multiple interception catalogues obtained after intercepting according to each interception level to directory set are different from, should Simulation catalogue in directory set is used as common characteristic.It for example, include simulation catalogue Catalog in some directory setD " usr/local/html4/ " and simulation catalogue CatalogE" admin/local/txt1/ ", then no matter according to which interception layer Grade is intercepted, and obtained interception catalogue is all different, therefore by the simulation catalogue " usr/local/html4/ " in the directory set " admin/local/txt1/ " is used as common characteristic.It is noted why not directly by the simulation in directory set Catalogue is to be used to be added in first in routing module Rule of judgment if due to common characteristic, and lead to as common characteristic Simulation catalogue quantity in normal directory set is more, if directly added, is easy to cause shared in first Rule of judgment if Feature is excessive, can not be realized in first Rule of judgment if to request catalogue whether be simulate catalogue quick judgement, therefore Common characteristic is determined by intercept operation in the embodiment of the present invention.Since there are multiple directory sets, therefore determining each catalogue After collecting corresponding common characteristic, first that the corresponding multiple common characteristics of multiple directory sets are added to routing module jointly sentences In broken strip part if.
By embodiment illustrated in fig. 2 it is found that in embodiments of the present invention, the same multiple simulations for simulating mark will be included The corresponding multiple simulation catalogues of data are included into directory set, and successively according to preset multiple interception levels to multiple in directory set Simulation catalogue is intercepted, if the multiple interception catalogues obtained after being intercepted according to interception level are identical, it is determined that obtain more The maximum interception level of numerical value of a identical interception catalogue, and the corresponding interception catalogue of level will be intercepted as common characteristic;If The multiple interception catalogues obtained after being intercepted according to each interception level are different from, then by multiple simulation mesh in directory set Record is used as common characteristic.The embodiment of the present invention is directed to the scene comprising different simulation marks, passes through building directory set and utilization Different interception levels are intercepted, and the effective percentage of the common characteristic of generation is improved.
It is to intercept client to when requesting catalogue to include common characteristic on the basis of the embodiment of the present invention one shown in Fig. 3 A kind of method that process after the request of end obtains after being extended.The embodiment of the invention provides the data based on functional test The implementation flow chart of adjustment method, as shown in figure 3, the data debugging method may comprise steps of:
In S301, if the request catalogue and the simulation catalogue in the catalogue mapping relations be not identical, mention The file name in the request catalogue is taken, and searches for demand file corresponding with the file name under all catalogues.
If requesting catalogue and the simulation catalogue in catalogue mapping relations not identical, it is determined that request catalogue is not simulation mesh Record, and extract the file name in request catalogue, wherein extracting mode can be according to sequence from front to back, will request mesh Content in record between the last one slash and penultimate slash is also possible to request in catalogue most as file name Content after the latter slash, can be according to the determining tool of naming rule for requesting catalogue in practical application scene as file name The extracting mode of body.After obtaining file name, searched under all catalogues of server using file name as search condition File, if being successfully searched file, using the file searched as demand file (data);If do not searched and file The corresponding demand file of title then returns and requests the prompt of index error to client.
Optionally, before extracting the file name in request catalogue, using request catalogue as physical directory in server Actual file is back to client if inquiring corresponding actual file by middle carry out path query.In the embodiment of the present invention In, after determining that requesting catalogue not is to simulate catalogue, request catalogue can also be carried out in the server as physical directory The actual file is back to visitor if inquiring corresponding actual file in the server according to request catalogue by path query Family end;If not inquiring corresponding actual file, then the file name extracted in request catalogue is executed, and search in the server The operation of rope demand file corresponding with file name.The above method is applicable to the scene that request catalogue is physical directory, mentions The applicability of data debugging is risen.
In S302, if the demand file is identified not comprising the simulation, described in where the demand file Physical directory is back to the initiator of the client request.
If the demand file searched does not include simulation mark, i.e. demand file is not analogue data, then by demand file The physical directory at place is back to initiator's (client) of client request, accesses the demand file so that initiator gets Physical directory after, amendment front end call code, can be requested according to the physical directory starting client request call next time File accelerates the process of data debugging.
In S303, if the demand file is identified comprising the simulation, by the reality where the demand file Border catalogue and the corresponding simulation catalogue are back to the initiator of the client request.
If demand file includes simulation mark, i.e. demand file is analogue data, then by the practical mesh where demand file The simulation catalogue for including in record and demand file is back to the initiator of client request.Initiator is receiving physical directory After simulation catalogue, the position where demand file can be determined according to physical directory, and according to simulation catalogue amendment request text Call code in the front end of part.
By embodiment illustrated in fig. 3 it is found that in embodiments of the present invention, if the mould in request catalogue and catalogue mapping relations Quasi- catalogue is not identical, then extracts the file name in request catalogue, and ask corresponding with file name is searched under all catalogues File is sought, if the demand file does not include simulation mark, the physical directory where demand file is back to client request Initiator;If demand file includes simulation mark, by the physical directory and corresponding simulation catalogue where demand file It is back to the initiator of client request.The embodiment of the present invention includes common characteristic for request catalogue, but the request catalogue is simultaneously It is not the scene for simulating catalogue, by searching request file in the server, and the associative directory for returning to demand file is extremely initiated Side enables initiator to modify front end according to associative directory and calls code, further improves the efficiency of data debugging.
It is on the basis of the embodiment of the present invention one, if pair receiving the client request comprising request catalogue shown in Fig. 4 A kind of method that process later obtains after being extended.The embodiment of the invention provides the data debugging sides based on functional test The implementation flow chart of method, as shown in figure 4, the data debugging method may comprise steps of:
In S401, the request catalogue is matched according to preset matching rule.
In embodiments of the present invention, server services caused by carrying out path query the request catalogue of mistake in order to prevent The waste of device resource, after server receives client request, according to preset matching rule to asking in client request Catalogue is asked to be matched.Matching rule can according to data debugging towards the type of client request formulated, for example, Data debugging can then formulate matching rule towards HTTP request, limit request catalogue beginning must with " https: // ", and And limiting after " https: // " must be a to z, A to the character between Z or 0 to 9, then limit after " https: // " there is also For being spaced " " character of multiple characters.Successful match is only just assert when requesting catalogue to meet above-mentioned full terms, such as Fruit request catalogue is unsatisfactory for any one of above-mentioned condition, for example client request is File Transfer Protocol (File Transfer Protocol, FTP) request, requesting the beginning of catalogue is " ftp: // ", is not inconsistent with " https: // " in matching rule, then recognizes It is set to that it fails to match.
In S402, if successful match, execute whether the identification request catalogue includes the common characteristic Operation.
If requesting catalogue and matching rule successful match, it was demonstrated that client request belonging to request catalogue is data debugging Object then executes subsequent operation, i.e., is judged to request whether catalogue contains common characteristic according to routing module.Certainly, matching rule It is only for screening away the request catalogue for not meeting specification, reduces the processing pressure of server, and be not to say that and meet Request catalogue with rule must be correctly that is, server may also be searched according to the request catalogue of successful match less than correspondence Data or file.
In S403, if it fails to match, output error is prompted to the initiator of the client request.
If requesting catalogue, it fails to match with matching rule, output error is prompted to the initiator of client request, so that Initiator knows the request index error in client request.Wherein, know it is in client request for the ease of initiator Index error is requested, rather than the other parts of client request go wrong, and can also increase special mistake in miscue It accidentally identifies, for example adds error identification " wrong-catalog " in miscue.
By embodiment illustrated in fig. 4 it is found that in embodiments of the present invention, according to preset matching rule to request catalogue into Row matching, if successful match, execute identification request catalogue whether include common characteristic operation;If it fails to match, export Miscue to client request initiator.The embodiment of the present invention prevents from servicing by carrying out format match to request catalogue Device carries out subsequent path query to the request catalogue of mistake, reduces the processing load of server.
It shown in Fig. 5, and is generated by preset data tool in analogue data on the basis of the embodiment of the present invention one On the basis of, to searching analogue data under all catalogues, and obtain simulation catalogue and analogue data institute that analogue data includes Physical directory process refined after a kind of obtained method.The embodiment of the invention provides the numbers based on functional test According to the implementation flow chart of adjustment method, as shown in figure 5, the data debugging method may comprise steps of:
In S501, the configuration file of the data tool is read, and is determined in the configuration file and stores the mould The physical directory of quasi- data.
The analogue data stored in server can be write manually by artificially, can also be generated by preset data tool.Such as Analogue data can be generated by the Mock testing tool of open source, specific create-rule is specifically configured in Mock testing tool (such as random number generated between 1 to 9), and Mock testing tool is run, analogue data can be generated under create-rule. Due to searching the larger workload of analogue data under all catalogues of server, and analogue data is generated by data tool When, the physical directory where analogue data can be saved in the configuration file of data tool, therefore in embodiments of the present invention, towards The case where analogue data is generated by data tool reads the configuration file of data tool, and storage mould is determined in configuration file The physical directory of quasi- data, for example for mock.js testing tool, configuration file is usually mock/index.js.
In S502, the analogue data is searched under the physical directory, obtains the mould in the analogue data Quasi- catalogue, and the physical directory is updated according to the storage address of the analogue data.
After obtaining the physical directory in configuration file, analogue data is searched under the physical directory of server, due to It may further include other data other than analogue data under the physical directory, therefore when searching analogue data, it still will simulation Mark is used as search criterion.After finding analogue data under the physical directory, the simulation catalogue in analogue data is obtained, and more Simulation catalogue and updated physical directory are established catalogue mapping in subsequent operation and closed by the physical directory of new analogue data System.Wherein, in step S501, since data tool is to generate analogue data under physical directory, therefore be located in configuration file Physical directory actually without specific file name, therefore in this step, after finding analogue data, reacquire Physical directory where analogue data, is updated physical directory.For example, the physical directory got in configuration file For " usr/local/html ", analogue data html.txt is found under the physical directory, then obtains the analogue data and taking The storage address being engaged in device is " usr/local/html/html.txt ", updates physical directory using storage address, convenient for being promoted The accuracy of the catalogue mapping relations of subsequent foundation.
By embodiment illustrated in fig. 5 it is found that in embodiments of the present invention, reading the configuration file of data tool, configuring The physical directory of storage analogue data is determined in file, and searches analogue data under physical directory, is obtained in analogue data Catalogue is simulated, physical directory is updated according to the storage address of analogue data, the embodiment of the present invention is in analogue data by data tool In the case where generation, analogue data is directly searched by configuration file, is equivalent to and improves the precise degrees of search criterion, avoid Analogue data bring processing pressure is searched under all catalogues.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to the data debugging method described in foregoing embodiments based on functional test, Fig. 6 shows implementation of the present invention The structural block diagram for the data debugging device based on functional test that example provides, referring to Fig. 6, which includes:
Searching unit 61 for searching analogue data under all catalogues, and obtains the simulation that the analogue data includes Physical directory where catalogue and the analogue data, wherein the analogue data is the number comprising preset simulation mark According to the physical directory is the storage address of the analogue data in the server;
Unit 62 is established, for the simulation catalogue and the physical directory to be established catalogue mapping relations, and to described Simulation catalogue carries out feature extraction and obtains common characteristic;
Configuration unit 63, for carrying out routing configuration based on the common characteristic and the catalogue mapping relations, if receiving To the client request comprising requesting catalogue, then identify whether the request catalogue includes the common characteristic, in the request Catalogue intercepts the client request when including the common characteristic, and in the request catalogue and the catalogue mapping relations The simulation catalogue it is identical when, return to the analogue data under physical directory described in the catalogue mapping relations.
Optionally, including multiple analog identifies, and establishing unit 62 includes:
Interception unit, for the corresponding multiple simulation catalogues of analogue data described in same class to be included into directory set, and Successively multiple simulation catalogues in the directory set are intercepted according to preset multiple interception levels, wherein same Analogue data described in class refers to multiple analogue datas comprising the same simulation mark;
First determination unit, if multiple interception catalogues for obtaining after being intercepted according to the interception level are identical, It then determines and obtains the maximum interception level of numerical value of multiple identical interception catalogues, and the interception level is corresponding The interception catalogue is as the common characteristic;
Second determination unit, if multiple interception mesh for being obtained after being intercepted according to each interception level Record is different from, then regard multiple simulation catalogues in the directory set as the common characteristic.
Optionally, configuration unit 63 further include:
Search unit, if not identical for the request catalogue and the simulation catalogue in the catalogue mapping relations, The file name in the request catalogue is then extracted, and searches for request text corresponding with the file name under all catalogues Part;
First return unit, if being identified for the demand file not comprising the simulation, by the demand file institute The physical directory be back to the initiator of the client request;
Second return unit will be where the demand file if identifying for the demand file comprising the simulation The physical directory and the corresponding simulation catalogue be back to the initiator of the client request.
Optionally, configuration unit 63 further include:
Matching unit, for being matched according to preset matching rule to the request catalogue;
Execution unit executes whether the identification request catalogue includes the shared spy if being used for successful match The operation of sign;
Output unit, if output error is prompted to the initiator of the client request for it fails to match.
Optionally, analogue data is generated by preset data tool, then searching unit 61 includes:
Reading unit for reading the configuration file of the data tool, and determines storage institute in the configuration file State the physical directory of analogue data;
Subelement is searched to obtain in the analogue data for searching the analogue data under the physical directory The simulation catalogue, and the physical directory is updated according to the storage address of the analogue data.
Therefore, the data debugging device provided in an embodiment of the present invention based on functional test is by routing server Configuration, the client request that front end is sent reach server, and the friendship between front and rear end occurs for data debugging During mutually, the accuracy of data debugging is improved.
Fig. 7 is the schematic diagram of terminal device provided in an embodiment of the present invention.As shown in fig. 7, the terminal device 7 of the embodiment Include: processor 70, memory 71 and is stored in the calculating that can be run in the memory 71 and on the processor 70 Machine program 72, such as the data debugging program based on functional test.The processor 70 executes real when the computer program 72 Step in existing above-mentioned each data debugging embodiment of the method based on functional test, such as step S101 shown in FIG. 1 is extremely S103.Alternatively, the processor 70 realized when executing the computer program 72 it is above-mentioned respectively based on the data debugging of functional test The function of each unit in Installation practice, such as the function of unit 61 to 63 shown in Fig. 6.
Illustratively, the computer program 72 can be divided into one or more units, one or more of Unit is stored in the memory 71, and is executed by the processor 70, to complete the present invention.One or more of lists Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey Implementation procedure of the sequence 72 in the terminal device 7.For example, the computer program 72 can be divided into searching unit, build Vertical unit and configuration unit, each unit concrete function are as follows:
Searching unit for searching analogue data under all catalogues, and obtains the simulation mesh that the analogue data includes Physical directory where record and the analogue data, wherein the analogue data is the data comprising preset simulation mark, The physical directory is the storage address of the analogue data in the server;
Unit is established, for the simulation catalogue and the physical directory to be established catalogue mapping relations, and to the mould Quasi- catalogue carries out feature extraction and obtains common characteristic;
Configuration unit, for carrying out routing configuration based on the common characteristic and the catalogue mapping relations, if receiving Client request comprising requesting catalogue, then identify whether the request catalogue includes the common characteristic, in the request mesh Record intercepts the client request when including the common characteristic, and in the request catalogue and the catalogue mapping relations When the simulation catalogue is identical, the analogue data under physical directory described in the catalogue mapping relations is returned.
The terminal device 7 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 70, memory 71.It will be understood by those skilled in the art that Fig. 7 The only example of terminal device 7 does not constitute the restriction to terminal device 7, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 70 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 71 can be the internal storage unit of the terminal device 7, such as the hard disk or interior of terminal device 7 It deposits.The memory 71 is also possible to the External memory equipment of the terminal device 7, such as be equipped on the terminal device 7 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 71 can also both include the storage inside list of the terminal device 7 Member also includes External memory equipment.The memory 71 is for storing needed for the computer program and the terminal device Other programs and data.The memory 71 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function Can unit division progress for example, in practical application, can according to need and by above-mentioned function distribution by different functions Unit is completed, i.e., the internal structure of the terminal device is divided into different functional units, to complete whole described above Or partial function.Each functional unit in embodiment can integrate in one processing unit, be also possible to each unit list It is solely physically present, can also be integrated in one unit with two or more units, above-mentioned integrated unit can both use Formal implementation of hardware can also be realized in the form of software functional units.In addition, the specific name of each functional unit also only It is the protection scope that is not intended to limit this application for the ease of mutually distinguishing.The specific work process of unit in above system, It can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed terminal device and method can pass through it Its mode is realized.For example, terminal device embodiment described above is only schematical, for example, the unit is drawn Point, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can To combine or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or beg for The mutual coupling or direct-coupling or communication connection of opinion can be through some interfaces, the INDIRECT COUPLING of device or unit Or communication connection, it can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-described embodiment side All or part of the process in method can also instruct relevant hardware to complete, the computer by computer program Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each The step of a embodiment of the method.Wherein, the computer program includes computer program code, and the computer program code can Think source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can be with It include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, light that can carry the computer program code Disk, computer storage, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described computer-readable The content that medium includes can carry out increase and decrease appropriate according to the requirement made laws in jurisdiction with patent practice, such as at certain A little jurisdictions do not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of data debugging method based on functional test characterized by comprising
Analogue data is searched under all catalogues, and obtains simulation catalogue and the analogue data that the analogue data includes The physical directory at place, wherein the analogue data is the data comprising preset simulation mark, and the physical directory is described The storage address of analogue data in the server;
The simulation catalogue and the physical directory are established into catalogue mapping relations, and feature extraction is carried out to the simulation catalogue Obtain common characteristic;
Routing configuration is carried out based on the common characteristic and the catalogue mapping relations, if receiving the client comprising request catalogue End request, then identify whether the request catalogue includes the common characteristic, includes the common characteristic in the request catalogue When intercept the client request, and it is identical as the simulation catalogue in the catalogue mapping relations in the request catalogue When, return to the analogue data under physical directory described in the catalogue mapping relations.
2. data debugging method as described in claim 1, which is characterized in that it is identified including a variety of simulations, it is described to institute It states simulation catalogue progress feature extraction and obtains common characteristic, comprising:
The corresponding multiple simulation catalogues of analogue data described in same class are included into directory set, and successively according to preset multiple Interception level intercepts multiple simulation catalogues in the directory set, wherein analogue data described in same class refers to Multiple analogue datas comprising the same simulation mark;
If the multiple interception catalogues obtained after being intercepted according to the interception level are identical, it is determined that obtain multiple identical described The maximum interception level of numerical value of catalogue is intercepted, and using the corresponding interception catalogue of the interception level as described total There is feature;
If the multiple interception catalogues obtained after being intercepted according to each interception level are different from, by the mesh Multiple simulation catalogues in record collection are used as the common characteristic.
3. data debugging method as described in claim 1, which is characterized in that described to be shared in the request catalogue comprising described After intercepting the client request when feature, further includes:
If the request catalogue and the simulation catalogue in the catalogue mapping relations be not identical, the request catalogue is extracted In file name, and corresponding with file name demand file is searched under all catalogues;
If the demand file is identified not comprising the simulation, the physical directory where the demand file is back to The initiator of the client request;
If the demand file is identified comprising the simulation, by the physical directory and correspondence where the demand file The simulation catalogue be back to the initiator of the client request.
4. data debugging method as described in claim 1, which is characterized in that if described receive the client comprising request catalogue After the request of end, further includes:
The request catalogue is matched according to preset matching rule;
If successful match, execute it is described identification it is described request catalogue whether include the common characteristic operation;
If it fails to match, output error is prompted to the initiator of the client request.
5. data debugging method as described in claim 1, which is characterized in that if the analogue data is by preset data tool It generates, then it is described that analogue data is searched under all catalogues, and obtain simulation catalogue that the analogue data includes and described Physical directory where analogue data, comprising:
The configuration file of the data tool is read, and determines the reality for storing the analogue data in the configuration file Border catalogue;
The analogue data is searched under the physical directory, obtains the simulation catalogue in the analogue data, and according to The storage address of the analogue data updates the physical directory.
6. a kind of data debugging device based on functional test characterized by comprising
Searching unit, for searching analogue data under all catalogues, and obtain the simulation catalogue that the analogue data includes with And the physical directory where the analogue data, wherein the analogue data is the data comprising preset simulation mark, described Physical directory is the storage address of the analogue data in the server;
Unit is established, for the simulation catalogue and the physical directory to be established catalogue mapping relations, and to the simulation mesh Record carries out feature extraction and obtains common characteristic;
Configuration unit, for including if receiving based on the common characteristic and catalogue mapping relations progress routing configuration The client request for requesting catalogue, then identify whether the request catalogue includes the common characteristic, in the request catalogue packet Intercept the client request when containing the common characteristic, and in the request catalogue and the catalogue mapping relations described in When simulation catalogue is identical, the analogue data under physical directory described in the catalogue mapping relations is returned.
7. a kind of terminal device, which is characterized in that the terminal device includes memory, processor and is stored in the storage In device and the computer program that can run on the processor, the processor are realized as follows when executing the computer program Step:
Analogue data is searched under all catalogues, and obtains simulation catalogue and the analogue data that the analogue data includes The physical directory at place, wherein the analogue data is the data comprising preset simulation mark, and the physical directory is described The storage address of analogue data in the server;
The simulation catalogue and the physical directory are established into catalogue mapping relations, and feature extraction is carried out to the simulation catalogue Obtain common characteristic;
Routing configuration is carried out based on the common characteristic and the catalogue mapping relations, if receiving the client comprising request catalogue End request, then identify whether the request catalogue includes the common characteristic, includes the common characteristic in the request catalogue When intercept the client request, and it is identical as the simulation catalogue in the catalogue mapping relations in the request catalogue When, return to the analogue data under physical directory described in the catalogue mapping relations.
8. terminal device as claimed in claim 7, which is characterized in that it is identified including a variety of simulations, it is described to the mould Quasi- catalogue carries out feature extraction and obtains common characteristic, comprising:
The corresponding multiple simulation catalogues of analogue data described in same class are included into directory set, and successively according to preset multiple Interception level intercepts multiple simulation catalogues in the directory set, wherein analogue data described in same class refers to Multiple analogue datas comprising the same simulation mark;
If the multiple interception catalogues obtained after being intercepted according to the interception level are identical, it is determined that obtain multiple identical described The maximum interception level of numerical value of catalogue is intercepted, and using the corresponding interception catalogue of the interception level as described total There is feature;
If the multiple interception catalogues obtained after being intercepted according to each interception level are different from, by the mesh Multiple simulation catalogues in record collection are used as the common characteristic.
9. terminal device as claimed in claim 7, which is characterized in that described to include the common characteristic in the request catalogue When intercept the client request after, further includes:
If the request catalogue and the simulation catalogue in the catalogue mapping relations be not identical, the request catalogue is extracted In file name, and corresponding with file name demand file is searched under all catalogues;
If the demand file is identified not comprising the simulation, the physical directory where the demand file is back to The initiator of the client request;
If the demand file is identified comprising the simulation, by the physical directory and correspondence where the demand file The simulation catalogue be back to the initiator of the client request.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the step of realization data debugging method as described in any one of claim 1 to 5 when the computer program is executed by processor Suddenly.
CN201811529012.8A 2018-12-14 2018-12-14 Data debugging method and device based on functional test and terminal equipment Active CN109815112B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811529012.8A CN109815112B (en) 2018-12-14 2018-12-14 Data debugging method and device based on functional test and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811529012.8A CN109815112B (en) 2018-12-14 2018-12-14 Data debugging method and device based on functional test and terminal equipment

Publications (2)

Publication Number Publication Date
CN109815112A true CN109815112A (en) 2019-05-28
CN109815112B CN109815112B (en) 2024-04-05

Family

ID=66601644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811529012.8A Active CN109815112B (en) 2018-12-14 2018-12-14 Data debugging method and device based on functional test and terminal equipment

Country Status (1)

Country Link
CN (1) CN109815112B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110765024A (en) * 2019-10-29 2020-02-07 百度在线网络技术(北京)有限公司 Simulation test method, simulation test device, electronic equipment and computer-readable storage medium
CN112068895A (en) * 2020-08-10 2020-12-11 深圳市鼎盛光电有限公司 Code configuration method and device, video playing equipment and storage medium
CN112148580A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Test method and device and electronic equipment
CN112199112A (en) * 2020-09-30 2021-01-08 京东数字科技控股股份有限公司 Method, device, terminal equipment and storage medium for automatically configuring simulation service

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030176993A1 (en) * 2001-12-28 2003-09-18 Vardell Lines System and method for simulating a computer environment and evaluating a user's performance within a simulation
CN101187930A (en) * 2007-12-04 2008-05-28 浙江大学 Distribution type file system dummy directory and name space implementing method
US20130019170A1 (en) * 2011-07-11 2013-01-17 International Business Machines Corporation Automating execution of arbitrary graphical interface applications
CN107809383A (en) * 2016-09-08 2018-03-16 腾讯科技(深圳)有限公司 A kind of map paths method and device based on MVC

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030176993A1 (en) * 2001-12-28 2003-09-18 Vardell Lines System and method for simulating a computer environment and evaluating a user's performance within a simulation
CN101187930A (en) * 2007-12-04 2008-05-28 浙江大学 Distribution type file system dummy directory and name space implementing method
US20130019170A1 (en) * 2011-07-11 2013-01-17 International Business Machines Corporation Automating execution of arbitrary graphical interface applications
CN107809383A (en) * 2016-09-08 2018-03-16 腾讯科技(深圳)有限公司 A kind of map paths method and device based on MVC

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148580A (en) * 2019-06-26 2020-12-29 腾讯科技(深圳)有限公司 Test method and device and electronic equipment
CN112148580B (en) * 2019-06-26 2024-01-30 腾讯科技(深圳)有限公司 Test method and device and electronic equipment
CN110765024A (en) * 2019-10-29 2020-02-07 百度在线网络技术(北京)有限公司 Simulation test method, simulation test device, electronic equipment and computer-readable storage medium
CN110765024B (en) * 2019-10-29 2023-08-29 百度在线网络技术(北京)有限公司 Simulation test method, simulation test device, electronic equipment and computer readable storage medium
CN112068895A (en) * 2020-08-10 2020-12-11 深圳市鼎盛光电有限公司 Code configuration method and device, video playing equipment and storage medium
CN112068895B (en) * 2020-08-10 2023-12-19 深圳市鼎盛光电有限公司 Code configuration method, device, video playing equipment and storage medium
CN112199112A (en) * 2020-09-30 2021-01-08 京东数字科技控股股份有限公司 Method, device, terminal equipment and storage medium for automatically configuring simulation service

Also Published As

Publication number Publication date
CN109815112B (en) 2024-04-05

Similar Documents

Publication Publication Date Title
CN109815112A (en) Data debugging method, apparatus and terminal device based on functional test
CN105893349B (en) Classification tag match mapping method and device
CN1924858B (en) Method and device for fetching new words and input method system
RU2648966C2 (en) Apparatus and method for processing multiple open api
CN103248677B (en) The Internet behavioural analysis system and method for work thereof
CN110795697B (en) Method and device for acquiring logic expression, storage medium and electronic device
CN101996210A (en) Method and system for searching electronic map
CN103902535A (en) Method, device and system for obtaining associational word
CN110413738A (en) A kind of information processing method, device, server and storage medium
CN109815430A (en) Request processing method, device, data processing server and readable storage medium storing program for executing
CN108664628A (en) A kind of deriving method and equipment of data
CN111881042A (en) Automatic test script generation method and device and electronic equipment
CN109542757A (en) Interface testing environment determines method, apparatus, electronic equipment and storage medium
CN110737432A (en) script aided design method and device based on root list
CN110245281A (en) Internet assets information collection method and terminal device
CN109726292A (en) Text analyzing method and apparatus towards extensive multilingual data
CN108959294A (en) A kind of method and apparatus accessing search engine
CN103442016B (en) The method and system of white list are pushed based on website fingerprint
CN110413523B (en) Drainage testing method, drainage testing middle table and computer readable storage medium
CN117093619A (en) Rule engine processing method and device, electronic equipment and storage medium
CN111191242A (en) Vulnerability information determination method and device, computer readable storage medium and equipment
CN115563942A (en) Contract generation method and device, electronic equipment and computer readable medium
CN111782916B (en) Method and device for generating business information report
CN113342647A (en) Test data generation method and device
CN114371969A (en) Page performance testing method and device, electronic 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