CN103634160B - The method and device of common interconnection network product data contrast test based on web - Google Patents

The method and device of common interconnection network product data contrast test based on web Download PDF

Info

Publication number
CN103634160B
CN103634160B CN201210309991.2A CN201210309991A CN103634160B CN 103634160 B CN103634160 B CN 103634160B CN 201210309991 A CN201210309991 A CN 201210309991A CN 103634160 B CN103634160 B CN 103634160B
Authority
CN
China
Prior art keywords
server
tested
test result
test
web
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.)
Active
Application number
CN201210309991.2A
Other languages
Chinese (zh)
Other versions
CN103634160A (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.)
Shenzhen Shiji Guangsu Information Technology Co Ltd
Original Assignee
Shenzhen Shiji Guangsu Information 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 Shenzhen Shiji Guangsu Information Technology Co Ltd filed Critical Shenzhen Shiji Guangsu Information Technology Co Ltd
Priority to CN201210309991.2A priority Critical patent/CN103634160B/en
Publication of CN103634160A publication Critical patent/CN103634160A/en
Application granted granted Critical
Publication of CN103634160B publication Critical patent/CN103634160B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The present invention provides a kind of method of the common interconnection network product data contrast test based on web, the method includes:Obtain the data set to be tested inputted by web terminal;Receive the instruction for submitting test request;The data set to be tested to first server and second server is sent respectively to be tested;The second test result for obtaining and storing the first test result obtained by the first server and being obtained by the second server;It analyzes first test result and second test result and generates analysis result;It sends and shows the analysis result to web terminal.System testing end to end may be implemented in the method for common interconnection network product data contrast test provided by the present invention based on web, the testing data collection of batch can be tested quickly, it quickly can find and summarize the difference between two servers of same system, carry out Comparative result and analysis, it reduces and takes, it is easy-to-use, save manpower.

Description

The method and device of common interconnection network product data contrast test based on web
Technical field
The present invention relates to Internet information technique, more particularly to a kind of common interconnection network product data comparison based on web The method and device of test.
Background technology
With the fast development of internet, the increase of WEB information, user will search the letter needed for oneself in information ocean Breath, such as looks for a needle in a haystack, search engine technique solves this problem just.Search engine refers to that search is specially provided on internet A kind of website of business, the server of these websites, will be big on internet by modes such as web search software or network entries The page info of amount website is collected into local, and information database and index data base are established by working process, to user The various search proposed respond, and provide the information or associated pointers needed for user.
During being tested for the searching service that search engine is provided, the comparison of data is critically important. Existing solution, usually according to product demand and existing test manpower the case where, selecting for targeted matter is few Test data is measured, carries out artificial contrast, test job amount is heavy, and tests not in place.In some current search fields, search Rope sort result, the stability test of test and result data, monitoring are relatively difficult and time-consuming, lack easy-to-use test side Method and device check on to quality and result stability.
Invention content
The object of the present invention is to provide a kind of easy-to-use common interconnection network product data based on web to compare survey The method and device of examination.
The object of the invention to solve the technical problems is realized using following technical scheme.
The present invention provides a kind of method of the common interconnection network product data contrast test based on web, the method includes: Obtain the data set to be tested inputted by web terminal;Receive the instruction for submitting test request;The data set to be tested is sent respectively It is tested to first server and second server;It obtains and stores the first test result obtained by the first server And the second test result obtained by the second server;Analyze first test result and second test result And generate analysis result;It sends and shows the analysis result to web terminal.
The device of the present invention also provides a kind of common interconnection network product data contrast test based on web, described device packet It includes:Data acquisition module, for obtaining the data set to be tested inputted by web terminal;Command reception module is surveyed for receiving to submit Try the instruction of request;Sending module sends the data set to be tested to first server and second server and is surveyed respectively Examination;Memory module, for obtaining and storing the first test result obtained by the first server and taken by described second The second test result that business device obtains;Analysis module, for analyzing first test result and second test result simultaneously Generate analysis result;Display module, for sending and showing the analysis result to web terminal.
The method of common interconnection network product data contrast test provided by the present invention based on web may be implemented end-to-end System testing, the testing data collection of batch can be tested quickly, same system two quickly can be found and summarize Difference between a server carries out Comparative result and analysis, reduces and takes, easy-to-use, saves manpower.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow the above and other objects, features and advantages of the present invention can It is clearer and more comprehensible, it is special below to lift preferred embodiment, and coordinate attached drawing, detailed description are as follows.
Description of the drawings
Fig. 1 is the method for the common interconnection network product data contrast test based on web in first embodiment of the invention Flow diagram.
Fig. 2 is the method for the common interconnection network product data contrast test based on web in second embodiment of the invention Flow diagram.
Fig. 3 is that analysis result shows examples of interfaces one.
Fig. 4 is that analysis result shows examples of interfaces two.
Fig. 5 is that analysis result shows examples of interfaces three.
Fig. 6 is that analysis result shows examples of interfaces four.
Fig. 7 is the method for the common interconnection network product data contrast test based on web in third embodiment of the invention Flow diagram.
Fig. 8 is to login interface schematic diagram.
Fig. 9 is the urlpatterns configured with user's interactive portion.
Figure 10 is configuration information update interface schematic diagram.
Figure 11 is analysis result interface schematic diagram.
Figure 12 is the device of the common interconnection network product data contrast test based on web in fourth embodiment of the invention Structural schematic diagram.
Figure 13 is the device of the common interconnection network product data contrast test based on web in fifth embodiment of the invention Structural schematic diagram.
Figure 14 is the device of the common interconnection network product data contrast test based on web in sixth embodiment of the invention Structural schematic diagram.
Specific implementation mode
It is of the invention to reach the technological means and effect that predetermined goal of the invention is taken further to illustrate, below in conjunction with Attached drawing and preferred embodiment, to the method for the common interconnection network product data contrast test based on web proposed according to the present invention And device its specific implementation mode, method, step, structure, feature and its effect, detailed description are as follows.
For the present invention aforementioned and other technology contents, feature and effect, in following cooperation with reference to the preferable reality of schema Applying in the detailed description of example can clearly appear from.By the explanation of specific implementation mode, when predetermined mesh can be reached to the present invention The technological means taken and effect be able to more deeply and it is specific understand, however institute's accompanying drawings are only to provide with reference to and say It is bright to be used, it is not intended to limit the present invention.
The present invention is intended to provide a kind of method and device of the common interconnection network product data contrast test based on web, it can To realize system testing end to end, the testing data collection of batch can be tested quickly, can quickly be found and always The difference between two servers of same system is tied, Comparative result and analysis are carried out.Especially in search field, can be used for quickly The difference for comparing search result between server, solves that such as search result stability compares, search result recalls situation, position The test for setting sequence, relevance optimization etc. is difficult.It reduces and takes, it is easy-to-use, save manpower.The present invention can pass through Apache+mod_python+django frames realize web services, and transplanting is convenient, and multiple tests is supported concurrently to execute.
Embodiment one
The side for the common interconnection network product data contrast test based on web that Fig. 1 is provided by first embodiment of the invention The flow diagram of method.Fig. 1 is please referred to, in this present embodiment, which includes:
Step S11:Obtain the data set to be tested inputted by web terminal;
Step S12:Receive the instruction for submitting test request;
Step S13:The data set to be tested to first server and second server is sent respectively to be tested;
Step S14:It obtains and stores the first test result obtained by the first server and taken by described second The second test result that business device obtains;
Step S15:It analyzes first test result and second test result and generates analysis result;
Step S16:It sends and shows the analysis result to web terminal.
The method for the common interconnection network product data contrast test based on web that the present embodiment is provided may be implemented end and arrive The testing data collection of batch can be quickly tested in the system testing at end, quickly can find and summarize same system Difference between two servers carries out Comparative result and analysis, reduces and takes, easy-to-use, saves manpower.
Embodiment two
The side for the common interconnection network product data contrast test based on web that Fig. 2 is provided by second embodiment of the invention The flow diagram of method.Fig. 2 is please referred to, in this present embodiment, which includes:
Step S21:Obtain the data set to be tested inputted by web terminal.
In this present embodiment, step S21 is still further comprised:
S211:The data set to be tested is built, the data set to be tested includes URL strings.
In step S211, the URL strings in constructed data set to be tested can carry corresponding parameter, such as Icfa=1343019&g_ut=2, g_ut here, that is, refer to URL parameter.
S212:It obtains data set, the addresses web of first server and the addresses web of second server to be tested and matches Confidence ceases.
Can be set as needed first server is Base versions, and second server is Test versions, or setting the One server is Test versions, and second server is Base versions.With first server for Base versions in the present embodiment, second Server is that Test versions illustrate.Configuration information for example including:Test event title, web page parsing coding, mail connect Whether receipts person, test result ignore sequence, test result unique designation etc..
Step S22:Receive the instruction for submitting test request.
Step S23:The data set to be tested to first server and second server is sent respectively to be tested.
In this present embodiment, step S23 further comprises:
S232:The HTTP request to the first server and the second server is sent respectively to be tested.
Preferably, in this present embodiment, it is still further comprised before step S23:
S23a:It is inserted into the web page of the first server and the second server<DEBUG>Label;
In step S23a, user can provide interested data in a http<DEBUG>Inside label,< DEBUG>The design of label considers derived from versatility, is xml formats, this label makes an addition to the first server and described second The interested Product Data Set of user is contained in the web page of server, in label, the product number that product data are concentrated here According to for example including following<debug>It is shown in label<value name="title"type="str">Soso is asked</ value>, i.e., the soso in web page is asked into this content and is put into<debug>In label.<DEBUG>Label need not wrap Containing nested form, returned in the form of name=Value.Debug tag formats are, for example,:
Wherein,<total>It is Global Information, is i.e. primary information only occurs in a page.<item>It is a page The content that middle cycle occurs is (such as:Each piece retrieval result document details).<value>In the title of name can be by each test Field name that project compares according to actual needs defines.Type types are, for example, str, naturally it is also possible to be:num、str、 Multi_str etc..The present invention is indifferent to the practical connotation of each field for needing to compare, and only compares the corresponding value of same field name It is whether equal.It is understood that 1) (i.e. the value of value) includes html labels (such as one in the content compared if necessary Mark red, line feed label etc.), these contents are used<![CDATA[.*]]>Including getting up, prevent from being parsed by XML.2) for closing Hearty cord fruit sequence, unique designation and result serial number id are needed to configure, unique designation title can customize.As a result serial number id tables Show, that is, needs comprising configuration:<valuename="i d"type="num">...</value>.
Step S24:It obtains and stores the first test result obtained by the first server and taken by described second The second test result that business device obtains.
For each test data, first server or second server is asked to obtain in the result returned respectively< DEBUG>Label can use xml.etree.ElementTree parsing xml formats<DEBUG>Label;Then data are extracted Information simultaneously returns to the first test result dictBase and the second test result dictTest respectively.
Preferably, by the first test result dictBase and the second test result dictTest, storage to a hdf5 text In part.The format of hdf5 is, for example,:
/0/query_string
/0/base/total
/0/base/0/docid
/0/test/total/
/0/test/0/
/1/...
Step S25:It analyzes first test result and second test result and generates analysis result.
Analysis result is for example including infobit and statistical information.
Wherein, infobit refers to comparing the information of single test result, that is, first server and second server To the test result of single URL, such as including:First test result and every data to be tested in the second test result are variant Field, in the first test result and the second test result all discrepant testing datas set or the first test result The comparison result etc. for the Global Information concentrated with testing data in the second test result.Wherein, the first test result is surveyed with second In test result testing data concentrate Global Information comparison result for example including:Second test result is relative to the first test knot The increased test data list of fruit, test data list or second of second test result relative to the first test result reduction Variance values etc. of the test result relative to the first test result.
Wherein, statistical information refers to the information of the result of the whole test samples of comparison, that is, first server and second To the test result of whole URL in server, such as including:There are http mistakes in first test result and the second test result Sample account for sample completely the same in the ratio of population sample, the first test result and the second test result and account for population sample The ratio of the difference of each primary fields, the first test result are surveyed with second in ratio, the first test result and the second test result There is position when inconsistent data account for the ratio or the first test result identical as the second test result of population sample in test result It sets mobile sample and accounts for ratio (this test event) just for name placement sensitivity of population sample etc..Wherein, it first surveys The ratio of the difference of each primary fields refers to needing each word of comparison in identical test result in test result and the second test result Section different sample number in first server and second server, accounts for the ratio of total number of samples, such as the ratio that title is different Example, text are made a summary different ratios etc., can also be existed according to specific test event<DEBUG>It is configured in label.It can be with It is understood that:<DEBUG>In label can include this project as much as possible may interested data.But it executes every time When test, which part may be concerned, can write those unconcerned product data titles in project configuration Into configuration.Such as<value name="title"type="str">Soso is asked</value>If this test is indifferent to This data, (original configuration<DEBUG>This domain that has been configured when label,<DEBUG>Label is it is not recommended that often repair Change).At this time, title can be added " parts head are not concerned with field " of Figure 10.
Step S26:It sends and shows the analysis result to web terminal.
Can be by analysis result mail notification to the member received in list after test, analysis result is stored in text In part, analysis result is read in view functions, quickly shows that test result, user can carry out result in this web terminal to user Audit, such as:The ratio of the difference of each primary fields in first test result and the second test result shown in Fig. 3, shown in Fig. 4 The first test result and the set of all discrepant testing datas in the second test result (can download, difference section is marked Domain), the detailed comparison of the first test result shown in fig. 5 and Numerical Range in the second test result, Numerical Range is that the type of value is complete Portion is value type.Such as the domains doc_number configured here, primary data information (pdi) shown in fig. 6, displaying is searched for each time The content of download, the left side are the content downloaded by first server, and the right is the content downloaded by second server, and left and right exists The domain of difference can be highlighted.
The method for the common interconnection network product data contrast test based on web that the present embodiment is provided may be implemented end and arrive The testing data collection of batch can be quickly tested in the system testing at end, quickly can find and summarize same system Difference between two servers carries out Comparative result and analysis, reduces and takes, easy-to-use, saves manpower.
Embodiment three
The side for the common interconnection network product data contrast test based on web that Fig. 7 is provided by third embodiment of the invention The flow diagram of method.
Step S31:Obtain the data set to be tested inputted by web terminal.
In this present embodiment, further comprise before step S31:
Interface, configuration information update interface, analysis result interface are logined in step S310, generation.
Fig. 8 is please referred to, interface, alternatively referred to as homepage are logined, including:Project information region, new test event name is completed Claim input area and submitting button.The project information region that is completed is for showing completed test event name, each Completed test event name is linked with corresponding with its analysis result, and the new test event name entry area is for defeated Enter the title of new project to be tested, the submitting button is used to link the configuration information update interface of test event.Specifically with The urlpatterns of user's interactive portion configuration can refer to Fig. 9, and the present invention is provided service in the form of web services, avoids difference Personnel's login ID P machines such as use at the obstacles, easy to use, and more intuitive, friendly.Login interface respective view function StartTool can call view functions StartTool automatically when interface URL is logined in click.
Please refer to Figure 10, configuration information update interface include data set input area to be tested, first server web The addresses the web input area of location and second server, configuration information input area and operation button.The data set to be tested Input area is for inputting data set to be tested, the addresses web of first server and the addresses the web input area of second server The addresses the web input area of the addresses web and second server for inputting first server, the configuration information input area For inputting configuration information, configuration information for example including:Test event title, web page parsing coding, e-mail recipient, survey Whether test result ignores sequence, test result unique designation etc..The operation button executes the submission test after being clicked The step of request.Specifically, the body region at this interface can be a list.If it is existing project, the village, often used in village names of project configures Information can be pulled.After clicking operation button, it is (corresponding that view functions SaveConfAndRun can be sent the requests to The 4th rows of urlpatterns), it brings into operation (comprising test result, analysis result, transmission mail etc. is downloaded).Can use regard Figure function UpdateConf changes configuration information, and configuration information is shown using view functions ShowConf.
Please refer to Figure 11, the analysis result interface includes that configuration information display area, analysis result download region, described Configuration information display area is used to show that the configuration information of tested project, the analysis result to download region for downloading described point Analyse result.The analysis result interface can further include maximum top3 non-zero domains of difference, not include virtual Domain.Tool Body, view functions ReviewResult can be used to show analysis result.
Step S32:Receive the instruction for submitting test request.This step is identical as described in above-described embodiment, here not It repeats again.
Step S33:The data set to be tested to first server and second server is sent respectively to be tested.This step Suddenly identical as described in above-described embodiment, which is not described herein again.
Step S34:It obtains and stores the first test result obtained by the first server and taken by described second The second test result that business device obtains.This step is identical as described in above-described embodiment, and which is not described herein again.
Step S35:It analyzes first test result and second test result and generates analysis result.This step with Identical described in above-described embodiment, which is not described herein again.
Step S36:It sends and shows the analysis result to web terminal.This step is identical as described in above-described embodiment, Which is not described herein again.
The method for the common interconnection network product data contrast test based on web that the present embodiment is provided may be implemented end and arrive The testing data collection of batch can be quickly tested in the system testing at end, quickly can find and summarize same system Difference between two servers carries out Comparative result and analysis, reduces and takes, easy-to-use, saves manpower.
Example IV
The dress for the common interconnection network product data contrast test based on web that Figure 12 is provided by fourth embodiment of the invention The structural schematic diagram set.
In this present embodiment, the device 40 of the common interconnection network product data contrast test based on web includes:Data acquisition Module 41, command reception module 42, sending module 43, memory module 44, analysis module 45, display module 46.
Wherein, data acquisition module 41 is for obtaining the data set to be tested inputted by web terminal.Command reception module 42 is used In the instruction for receiving submission test request.Sending module 43 for send respectively the data set to be tested to first server and Second server is tested.Memory module 44 is for obtaining and storing the first test result obtained by the first server And the second test result obtained by the second server.Analysis module 45 is for analyzing first test result and institute It states the second test result and generates analysis result.Display module 46 is for sending and showing the analysis result to web terminal.
The device for the common interconnection network product data contrast test based on web that the present embodiment is provided may be implemented end and arrive The testing data collection of batch can be quickly tested in the system testing at end, quickly can find and summarize same system Difference between two servers carries out Comparative result and analysis, reduces and takes, easy-to-use, saves manpower.
Embodiment five
The dress for the common interconnection network product data contrast test based on web that Figure 13 is provided by fifth embodiment of the invention The structural schematic diagram set.
In this present embodiment, the device 50 of the common interconnection network product data contrast test based on web includes:Data acquisition Module 51, command reception module 52, sending module 53, memory module 54, analysis module 55, display module 56.
Wherein, data acquisition module 51 is for obtaining the data set to be tested inputted by web terminal.Command reception module 52 is used In the instruction for receiving submission test request.Sending module 53 for send respectively the data set to be tested to first server and Second server is tested.Memory module 54 is for obtaining and storing the first test result obtained by the first server And the second test result obtained by the second server.Analysis module 55 is for analyzing first test result and institute It states the second test result and generates analysis result.Display module 56 is for sending and showing the analysis result to web terminal.
Unlike fourth embodiment, in this present embodiment, data acquisition module 51 includes:Data build module 511, For building the data set to be tested, the data set to be tested includes URL strings;Data obtaining module 512 is waited for for obtaining Test data set, the addresses web of the addresses web of first server and second server and configuration information.Device is further gone back Including tag insertion module 53a, for being inserted into the web page of the first server and the second server<DEBUG >Label, it is described<DEBUG>Label includes Product Data Set, and each product data that the product data are concentrated include needing The field name and type compared.Sending module 53 includes:Data concatenation module 531 is used for the data set to be tested In URL string be spliced into HTTP request;Request sends mould 532, for sending the HTTP request respectively to the first service Device and the second server are tested.
The device for the common interconnection network product data contrast test based on web that the present embodiment is provided may be implemented end and arrive The testing data collection of batch can be quickly tested in the system testing at end, quickly can find and summarize same system Difference between two servers carries out Comparative result and analysis, reduces and takes, easy-to-use, saves manpower.
The dress for the common interconnection network product data contrast test based on web that Figure 14 is provided by sixth embodiment of the invention The structural schematic diagram set.
In this present embodiment, the device 60 of the common interconnection network product data contrast test based on web includes:Data acquisition Module 61, command reception module 62, sending module 63, memory module 64, analysis module 65, display module 66.
Wherein, data acquisition module 61 is for obtaining the data set to be tested inputted by web terminal.Command reception module 62 is used In the instruction for receiving submission test request.Sending module 63 for send respectively the data set to be tested to first server and Second server is tested.Memory module 64 is for obtaining and storing the first test result obtained by the first server And the second test result obtained by the second server.Analysis module 65 is for analyzing first test result and institute It states the second test result and generates analysis result.Display module 66 is for sending and showing the analysis result to web terminal.
Unlike previous embodiment, in this present embodiment, device 60 further comprises interface generation module 67, is used for Interface, configuration information update interface, analysis result interface are logined in generation.It is described generation login interface, configuration information update interface, Analysis result interface is identical as described in 3rd embodiment, and which is not described herein again.
The device for the common interconnection network product data contrast test based on web that the present embodiment is provided may be implemented end and arrive The testing data collection of batch can be quickly tested in the system testing at end, quickly can find and summarize same system Difference between two servers carries out Comparative result and analysis, reduces and takes, easy-to-use, saves manpower.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other. For device class embodiment, since it is basically similar to the method embodiment, so fairly simple, the related place ginseng of description See the part explanation of embodiment of the method.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The above described is only a preferred embodiment of the present invention, be not intended to limit the present invention in any form, though So the present invention has been disclosed as a preferred embodiment, and however, it is not intended to limit the invention, any technology people for being familiar with this profession Member, without departing from the scope of the present invention, when the technology contents using the disclosure above make a little change or modification For the equivalent embodiment of equivalent variations, as long as be without departing from technical solution of the present invention content, it is right according to the technical essence of the invention Any simple modification, equivalent change and modification made by above example, in the range of still falling within technical solution of the present invention.

Claims (16)

1. a kind of method of the common interconnection network product data contrast test based on web, which is characterized in that the method includes:
Obtain the data set to be tested inputted by web terminal;
Receive the instruction for submitting test request;
The data set to be tested to first server and second server is sent respectively to be tested;Wherein, described to send out respectively Include before the step of sending the data set to be tested to first server and second server to be tested:In the first service It is inserted into the web page of device and the second server<DEBUG>Label, it is described<DEBUG>Label includes Product Data Set, Each product data that the product data are concentrated include the field name and type for needing to compare;
For obtaining and storing the first test result obtained by the first server and obtained by the second server Two test results;
It analyzes first test result and second test result and generates analysis result;
It sends and shows the analysis result to web terminal.
2. the method as described in claim 1, which is characterized in that the step for obtaining the data set to be tested inputted by web terminal Suddenly include:
The data set to be tested is built, the data set to be tested includes URL strings;
Obtain data set, the addresses first server web, the addresses web of second server and configuration information to be tested.
3. method as claimed in claim 2, which is characterized in that described to send the data set to be tested respectively to first service Device and second server carry out test:
URL strings in the data set to be tested are spliced into HTTP request;
The HTTP request to the first server and the second server is sent respectively to be tested.
4. the method as described in claim 1, which is characterized in that first test result and second test result are deposited Storage is hdf5 formats.
5. method as claimed in claim 3, which is characterized in that the analysis result includes infobit and statistical information.
6. method as claimed in claim 5, which is characterized in that the infobit includes:First test result is surveyed with second The discrepant field of every data to be tested in test result, the first test result discrepant are waited for all in the second test result The comparison result for the Global Information that the set of measured data or the first test result are concentrated with testing data in the second test result.
7. method as claimed in claim 5, which is characterized in that first test result and number to be measured in the second test result Comparison result according to the Global Information of concentration includes:Second test result is relative to the increased test data row of the first test result The test data list or the second test result of table, the second test result relative to the first test result reduction are relative to first The variance values of test result.
8. method as claimed in claim 6, which is characterized in that the statistical information includes:First test result is surveyed with second The sample for occurring http mistakes in test result accounts for the ratio of population sample, the first test result and in the second test result complete one The sample of cause account for the ratio of the difference of each primary fields in the ratio of population sample, the first test result and the second test result, Inconsistent data account for the ratio or the first test result and second of population sample in first test result and the second test result The sample for occurring position movement when test result is identical accounts for the ratio of population sample.
9. the method as described in claim 1, which is characterized in that the step for obtaining the data set to be tested inputted by web terminal It is rapid take a step forward including:
Interface, configuration information update interface and analysis result interface are logined in generation.
10. method as claimed in claim 9, which is characterized in that the interface of logining includes:Be completed project information region, New test event name entry area and submitting button, the project information region that is completed is for showing completed test Entry name, each completed test event name are linked with corresponding with its analysis result, and the new test event title is defeated Enter title of the region for inputting new project to be tested, the submitting button is used to link the configuration information update of test event Interface.
11. method as claimed in claim 9, which is characterized in that the configuration information update interface includes data set to be tested The addresses the web input area of input area, the addresses web of first server and second server, configuration information input area with And operation button, the data set input area to be tested for inputting data set to be tested, the addresses web of first server and The addresses web of web address and second server of the addresses the web input area of second server for inputting first server are defeated Enter region, for inputting configuration information, the operation button carries described in execution the configuration information input area after being clicked The step of handing over test request.
12. method as claimed in claim 9, which is characterized in that the analysis result interface include configuration information display area, Analysis result downloads region, and the configuration information display area is used to show the configuration information of tested project, the analysis result Region is downloaded for downloading the analysis result.
13. a kind of device of the common interconnection network product data contrast test based on web, which is characterized in that described device includes:
Data acquisition module, for obtaining the data set to be tested inputted by web terminal;
Command reception module, for receiving the instruction for submitting test request;
Tag insertion module, for being inserted into the web page of first server and second server<DEBUG>Label, it is described< DEBUG>Label includes Product Data Set, and each product data that the product data are concentrated include the field name for needing to compare Title and type;
Sending module sends the data set to be tested to first server and second server and is tested respectively;
Memory module, for obtaining and storing the first test result obtained by the first server and taken by described second The second test result that business device obtains;
Analysis module, for analyzing first test result and second test result and generating analysis result;
Display module, for sending and showing the analysis result to web terminal.
14. device as claimed in claim 13, which is characterized in that the data acquisition module includes:
Data build module, and for building the data set to be tested, the data set to be tested includes URL strings;
Data obtaining module, the web of the addresses web and second server for obtaining data set to be tested, first server Location and configuration information.
15. device as claimed in claim 14, which is characterized in that the sending module includes:
Data concatenation module, for the URL strings in the data set to be tested to be spliced into HTTP request;
Request sending module is carried out for sending the HTTP request to the first server and the second server respectively Test.
16. device as claimed in claim 13, which is characterized in that described device further comprises:
Interface generation module logins interface, configuration information update interface and analysis result interface for generating.
CN201210309991.2A 2012-08-28 2012-08-28 The method and device of common interconnection network product data contrast test based on web Active CN103634160B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210309991.2A CN103634160B (en) 2012-08-28 2012-08-28 The method and device of common interconnection network product data contrast test based on web

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210309991.2A CN103634160B (en) 2012-08-28 2012-08-28 The method and device of common interconnection network product data contrast test based on web

Publications (2)

Publication Number Publication Date
CN103634160A CN103634160A (en) 2014-03-12
CN103634160B true CN103634160B (en) 2018-10-19

Family

ID=50214813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210309991.2A Active CN103634160B (en) 2012-08-28 2012-08-28 The method and device of common interconnection network product data contrast test based on web

Country Status (1)

Country Link
CN (1) CN103634160B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407099B (en) * 2015-07-28 2019-10-22 阿里巴巴集团控股有限公司 A kind of test method and client
CN109901989B (en) * 2017-12-11 2023-12-12 阿里巴巴(中国)有限公司 JSON comparison method and device and electronic equipment
CN109408378B (en) * 2018-09-30 2022-05-24 福建星瑞格软件有限公司 Test method and system for rapidly positioning SQL analysis errors under large data volume
CN114610544B (en) * 2022-03-07 2023-03-28 丁跃辉 Artificial intelligence big data analysis processing system and method based on block chain

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212265A1 (en) * 2005-03-17 2006-09-21 International Business Machines Corporation Method and system for assessing quality of search engines
CN1952947A (en) * 2005-10-17 2007-04-25 左其其 A system and method for web site against clone
CN101001183A (en) * 2007-01-10 2007-07-18 网之易信息技术(北京)有限公司 Test method and system for network application software
US20110093773A1 (en) * 2009-10-19 2011-04-21 Browsera LLC Automated application compatibility testing
CN202033748U (en) * 2011-04-22 2011-11-09 阿里巴巴集团控股有限公司 Search engine performance test system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212265A1 (en) * 2005-03-17 2006-09-21 International Business Machines Corporation Method and system for assessing quality of search engines
CN1952947A (en) * 2005-10-17 2007-04-25 左其其 A system and method for web site against clone
CN101001183A (en) * 2007-01-10 2007-07-18 网之易信息技术(北京)有限公司 Test method and system for network application software
US20110093773A1 (en) * 2009-10-19 2011-04-21 Browsera LLC Automated application compatibility testing
CN202033748U (en) * 2011-04-22 2011-11-09 阿里巴巴集团控股有限公司 Search engine performance test system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Information Re-Retrieval: Repeat Queries in Yahoo"s Logs;Jaime Teevan等;《Proceedings of the 30th Special Interest Group on Information Retrieval》;20071231;第151-158页 *
On the Instability of Web Search Engines;Selberg E等;《Proceedings of RIAO》;20001231;第223-235页 *

Also Published As

Publication number Publication date
CN103634160A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
US8132113B2 (en) REST application exploration
US8572202B2 (en) Persistent saving portal
CN101488151B (en) System and method for gathering website contents
US8601120B2 (en) Update notification method and system
US9092443B2 (en) Dynamic generation of target files from template files and tracking of the processing of target files
US9223895B2 (en) System and method for contextual commands in a search results page
US10825114B2 (en) Identifying correlated services during processing services
US20120047176A1 (en) System and Method for Real-Time Content Aggregation and Syndication
CN103970614B (en) A kind of service test method and device
CN103634160B (en) The method and device of common interconnection network product data contrast test based on web
CN102982117B (en) Information search method and device
US20110099495A1 (en) Method for enabling internet access on a multifunction reprographic machine
CN106709073A (en) Browser notification pushing method and browser terminal
CN112818111B (en) Document recommendation method, device, electronic equipment and medium
US8140508B2 (en) System and method for contextual commands in a search results page
CN105117434A (en) Webpage classification method and webpage classification system
US20080313190A1 (en) Method and system for searchable web services
KR100671077B1 (en) Server, Method and System for Providing Information Search Service by Using Sheaf of Pages
Vega-Gorgojo et al. Linked data exploration with RDF surveyor
CN108280102A (en) Internet behavior recording method, device and user terminal
CN105989167A (en) Data collection method and device based on news client
US20080059429A1 (en) Integrated search processing method and device
US7840582B2 (en) System and method for retrieving information from the internet by means of an intelligent search agent
CN110516174A (en) The method, apparatus and storage medium of text are obtained based on Simple Syndication
Anan et al. Challenges in building federation services over harvested metadata

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant