CN104102577B - Multi version web page access method of testing - Google Patents

Multi version web page access method of testing Download PDF

Info

Publication number
CN104102577B
CN104102577B CN201310128292.2A CN201310128292A CN104102577B CN 104102577 B CN104102577 B CN 104102577B CN 201310128292 A CN201310128292 A CN 201310128292A CN 104102577 B CN104102577 B CN 104102577B
Authority
CN
China
Prior art keywords
page
user
cookie
address
new edition
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
CN201310128292.2A
Other languages
Chinese (zh)
Other versions
CN104102577A (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.)
Tongcheng Network Technology Co Ltd
Original Assignee
Tongcheng Network 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 Tongcheng Network Technology Co Ltd filed Critical Tongcheng Network Technology Co Ltd
Priority to CN201310128292.2A priority Critical patent/CN104102577B/en
Publication of CN104102577A publication Critical patent/CN104102577A/en
Application granted granted Critical
Publication of CN104102577B publication Critical patent/CN104102577B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of multi version web page access method of testing, it comprises the following steps:1., user accesses after the master page step, judges whether user once accessed this page.2. step, judges whether the master page that user accesses now is prototype version.3. step, returns to server end, parses page parameter.4. step, judges whether this access redirects.5. step, continues to load master content, updates browser cookie values.Step 6., step 3. after the completion of new edition address is matched to page parameter.7. step, returns to new address.8. step, opens new edition address, and browser updates cookie values.Thereby, it is possible to the Validity Test of correspondence multi version webpage.Further, it is possible to support the static and dynamic page.Furthermore, the present invention supports to participate in every web data index tracking contrast of many set pages of experiment, is easy to follow-up debugging.

Description

Multi version web page access method of testing
Technical field
The present invention relates to a kind of method of testing, more particularly to a kind of multi version web page access method of testing.
Background technology
The Supplier Number that the service of multi version webpage A/B test experiments is provided in industry is few, and is substantially foreign countries, Such as Google Analytics, Visual Website Optimizer etc..
For conventional testing requirement, the problem of existing method is present is enumerated as follows:
1st, the A/B of a set of page is only supported to test, when the overall style needs correcting in website, it is impossible to every time only to a set of The page carries out A/B tests(Because skimble-scamble style occurs to make one to confuse very much simultaneously).
2nd, static page is not supported, original multi version webpage A/B method of testings need to join old edition when redirecting new edition Number is imported in new edition address, is had no problem completely for some dynamic pages, but just do not done for the page of static address Method is used, because static page is without any parameter in itself, parameter may lie in URI (Uniform Resource Identifier) path or filename in.
3rd, the difference of different editions conversion ratio, index list can only be judged according to the conversion situation for some page specified One.
The content of the invention
The purpose of the present invention is exactly to be visited to solve the above-mentioned problems in the prior art there is provided a kind of multi version webpage Ask method of testing.
The purpose of the present invention is achieved through the following technical solutions:
Multi version web page access method of testing, it comprises the following steps:1., user accesses after the master page step, judges Whether user once accessed this page, if it is, into step 2., if it is not, into step 4..2. step, judges to use Whether the master page that family is accessed now is prototype version, if it is, into step 5., if it is not, into step 3..Step 3., server end is returned, page parameter is parsed.4. step, judges whether this access redirects, if it is, into step 3., such as It is not really, into step 5..5. step, does not redirect, and continues to load master content, updates browser cookie values.6. step, walks Suddenly 3. after the completion of new edition address is matched to page parameter.7. step, returns to new address.8. step, opens new edition address, browser Update cookie values.
Above-mentioned multi version web page access method of testing, wherein:Step is 1. described to judge the mistake whether user once accessed Cheng Wei, when the user of the test that do not conduct interviews accesses parent page, by Java script in the Cookie of user Visit Vision mark is set to define the whereabouts that this certain customers is final, such as prototype version is set to A, and new edition is then B is set to, judges whether user accessed this page and can enter by judging whether to be provided with Visit Vision in Cookie OK, as in Cookie Visit Vision be A if to access Visit Vision in parent page, Cookie be that B then accesses new edition The address page.
Further, above-mentioned multi version web page access method of testing, wherein:Described step 3. in, parsing the page ginseng Number is to match page URL with canonical to parse page parameter, the data isolated according to the regular expression of predefined rule Obtain, described packet contains the dynamic data transmitted in all URL.
Further, above-mentioned multi version web page access method of testing, wherein:Described step 6. in 3. step is divided User is returned to after the corresponding new edition address splicing of parameter and the server end storage separated out, generation URL.
Yet further, above-mentioned multi version web page access method of testing, wherein:Described step 7. in pass through Java The URL configured in script redirects rule, and the URL of the redaction page is returned into browser.
The advantage of technical solution of the present invention is mainly reflected in:The Validity Test of multi version webpage can be corresponded to.Further, it is possible to Support the static and dynamic page.Furthermore, the present invention supports to participate in every web data index tracking of many set pages of experiment Contrast, is easy to follow-up debugging.
Brief description of the drawings
The purpose of the present invention, advantage and feature, will be carried out by the non-limitative illustration of preferred embodiment below diagram and Explain.These embodiments are only the prominent examples using technical solution of the present invention, it is all take equivalent substitution or equivalent transformation and The technical scheme of formation, all falls within the scope of protection of present invention.Among these accompanying drawings,
Fig. 1 is that the present invention implements schematic diagram.
Embodiment
Multi version web page access method of testing as shown in Figure 1, it, which is particular in that, comprises the following steps:Step 1., User is accessed after the master page, judges whether user once accessed this page, if it is, into step 2., if it is not, entering Enter step 4..2. step, judges whether the master page that user accesses now is prototype version, if it is, into step 5., such as It is not really, into step 3..3. step, returns to server end, parses page parameter.4. step, judges whether this access jumps Turn, if it is, into step 3., if it is not, into step 5..5. step, does not redirect, and continues to load master content, updates Browser cookie values.Step 6., step 3. after the completion of new edition address is matched to page parameter.7. step, returns to new address.Step Suddenly 8., new edition address is opened, browser updates cookie values.
Just from the point of view of the preferably embodiment of the present invention one, in order to preferably carry out discriminatory analysis, the entirety of server is reduced Data processing, step 1. it is described judge whether user once accessed process be do not conducted interviews when one test user visit When asking parent page, set Visit Vision mark to define in the Cookie of user by Java script The final whereabouts of this certain customers, such as prototype version is set to A, and new edition is then set to B, judges whether user accessed this page Can be carried out by judging in Cookie whether to be provided with Visit Vision, as in Cookie Visit Vision be A if visit Ask that Visit Vision are that B then accesses the new edition address page in parent page, Cookie.
From the point of view of further, in order to improve the analytical effect of parameter, parsing page parameter is to match page URL with canonical to parse Page parameter, the data isolated are according to the Rule of the regular expression of predefined, and described packet is containing all URL The dynamic data of middle transmission.
From the point of view of further, it is contemplated that user is able to access that new edition address, step 6. in parameter that 3. step is isolated User is returned to after the corresponding new edition address splicing stored with server end, generation URL.Specifically, in order to reduce at data The burden of reason, step 7. in rule is redirected by the URL configured in Java script, the URL of the redaction page is returned to clear Look at device.
It is can be seen that by above-mentioned character express using after the present invention, the Validity Test of multi version webpage can be corresponded to. Further, it is possible to support the static and dynamic page.Furthermore, the present invention supports to participate in every web data of many set pages of experiment Index tracking contrast, is easy to follow-up debugging.

Claims (4)

1. multi version web page access method of testing, it is characterised in that comprise the following steps:
1., user accesses after the master page step, judges whether user once accessed this page, if it is, into step 2., If it is not, into step 4.,
2. step, judges whether the master page that user accesses now is prototype version, if it is, into step 5., if not It is, into step 3.,
3. step, returns to server end, and matching page URL with canonical parses page parameter, and the data isolated are according to fixed in advance The Rule of the regular expression of justice, described packet contains the dynamic data transmitted in all URL,
4. step, judges whether this access redirects, if it is, into step 3., if it is not, into step 5.,
5. step, does not redirect, and continues to load master content, updates browser cookie values,
Step 6., step 3. after the completion of new edition address is matched to page parameter,
7. step, returns to new address,
8. step, opens new edition address, and browser updates cookie values.
2. multi version web page access method of testing according to claim 1, it is characterised in that:The step 1. judgement user The process whether once accessed is, when the user of the test that do not conduct interviews accesses parent page, to pass through Javascript VisitVision mark is set to define the whereabouts that this certain customers is final, such as original version in the Cookie of user Originally A is set to, new edition is then set to B, judging whether user accessed this page can be by judging in Cookie whether to be provided with VisitVision is carried out, as in Cookie VisitVision be A if access VisitVision in parent page, Cookie The new edition address page is then accessed for B.
3. multi version web page access method of testing according to claim 1, it is characterised in that:Described step is 6. middle step User is returned to after the rapid parameter 3. isolated and the corresponding new edition address splicing of server end storage, generation URL.
4. multi version web page access method of testing according to claim 1, it is characterised in that:Described step 7. in pass through The URL configured in Javascript redirects rule, and the URL of the redaction page is returned into browser.
CN201310128292.2A 2013-04-12 2013-04-12 Multi version web page access method of testing Active CN104102577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310128292.2A CN104102577B (en) 2013-04-12 2013-04-12 Multi version web page access method of testing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310128292.2A CN104102577B (en) 2013-04-12 2013-04-12 Multi version web page access method of testing

Publications (2)

Publication Number Publication Date
CN104102577A CN104102577A (en) 2014-10-15
CN104102577B true CN104102577B (en) 2017-08-04

Family

ID=51670746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310128292.2A Active CN104102577B (en) 2013-04-12 2013-04-12 Multi version web page access method of testing

Country Status (1)

Country Link
CN (1) CN104102577B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262636A (en) * 2015-09-08 2016-01-20 摩贝(上海)生物科技有限公司 Online testing system and method
CN105843626A (en) * 2016-04-12 2016-08-10 无锡天脉聚源传媒科技有限公司 Page loading method and device based on multi-version coexistence
CN106326396B (en) * 2016-08-19 2019-08-23 武汉斗鱼网络科技有限公司 The method and system of page jump are realized in mobile client using customized URL
CN108459890B (en) * 2017-02-20 2021-10-26 百度在线网络技术(北京)有限公司 Interface display method and device for application
CN109308255B (en) * 2017-07-28 2021-11-30 北京京东尚科信息技术有限公司 Method and device for A/B test experiment
CN108282517A (en) * 2017-12-21 2018-07-13 福建天泉教育科技有限公司 A kind of method and terminal of web services upgrading
CN109726087A (en) * 2018-04-13 2019-05-07 平安普惠企业管理有限公司 Multiple web pages scheme test method, device, equipment and computer readable storage medium
CN108536608A (en) * 2018-04-25 2018-09-14 万惠投资管理有限公司 Page versions test method and device
CN110245069B (en) * 2019-04-28 2023-07-25 创新先进技术有限公司 Page version testing method and device and page display method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932197A (en) * 2011-08-11 2013-02-13 阿里巴巴集团控股有限公司 Testing method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7975000B2 (en) * 2005-01-27 2011-07-05 Fmr Llc A/B testing of a webpage
US9378505B2 (en) * 2010-07-26 2016-06-28 Revguard, Llc Automated multivariate testing technique for optimized customer outcome

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932197A (en) * 2011-08-11 2013-02-13 阿里巴巴集团控股有限公司 Testing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Google Analytics cookie内容详解;大鹏;《http://blog.csdn.net/adparking/article/details/8258344》;20121205;第1-5页 *
网站数据分析-对网站进行AB测试、多元测试;易分析;《http://www.phpstat.net/news/wangzhan-shujufenxi-dui-jinxing-ab-ceshi-duoyuan.html?from=login_online_help》;20121026;第1-6页 *

Also Published As

Publication number Publication date
CN104102577A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
CN104102577B (en) Multi version web page access method of testing
EP2976709B1 (en) Systems and methods for intercepting, processing, and protecting user data through web application pattern detection
US9356955B2 (en) Methods for determining cross-site scripting and related vulnerabilities in applications
US20080148408A1 (en) System and method of parsing web page vulnerability and recording medium thereof
CN108595468A (en) A kind of acquisition methods of web data, device, server, terminal and system
CN110602269B (en) Method for converting domain name
US20130191913A1 (en) Dynamically scanning a web application through use of web traffic information
US20090288099A1 (en) Apparatus and method for accessing and indexing dynamic web pages
CN107124430B (en) Page hijacking monitoring method, device, system and storage medium
KR102090982B1 (en) How to identify malicious websites, devices and computer storage media
CN102882886A (en) Network terminal and method for presenting visited website associated information
CN102917049A (en) Method for showing information of visited website, browser and system
US20150120692A1 (en) Method, device, and system for acquiring user behavior
CN106713318B (en) WEB site safety protection method and system
CN106446113A (en) Mobile big data analysis method and device
CN103778365A (en) Webpage hidden content detecting method and device
CN105072123A (en) Single sign on log-out method and system under cluster environment
CN106656666A (en) Method and device for acquiring first screen time of web page
CN110442815A (en) Page generation method, system, device and computer readable storage medium
US20190065485A1 (en) Translation system
CN102761628A (en) Pan-domain name identification and processing device and method
US20130036108A1 (en) Method and system for assisting users with operating network devices
JP6779307B2 (en) Method and device for page display
CN107332805B (en) Method, device and system for detecting vulnerability
WO2014187182A1 (en) Method, apparatus and system for controlling address input

Legal Events

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