The content of the invention
The present invention provides a kind of the A/B method of testings and device of the application program page, to solve how to carry out the APP pagesA/B is tested.
In a first aspect, the present invention provides a kind of A/B method of testings of the application program page, including:
Obtain it is original redirect agreement, it is described it is original redirect agreement and include carrying the original of A/B test marks redirect agreement, jumpIt is the rule that APP internal pages redirect to turn agreement;
Inquire about in A/B test routing tables whether there is and test mark identical mark with the A/B;
The is jumped to if so, then being tested according to the A/B in routing table and the corresponding agreement that redirects of mark being tested with the A/BOne page, if it is not, then jumping to second page according to the original agreement that redirects, the A/B tests routing table includes differenceA/B test marks with redirecting the corresponding relation of agreement, the first page and the second page are two surveys differedTry the page.
Optionally, before agreement is redirected described in acquisition, in addition to:
After the APP enabled instructions for detecting user's triggering, active user's characteristic information, user characteristics letter are sent to serverCease for characterizing class of subscriber;
Receive the A/B that the server issues according to active user's characteristic information and test routing table.
Optionally, the original agreement that redirects redirects agreement for client control, or,
The original control for redirecting agreement and issuing for server redirects agreement, or,
The original agreement that redirects redirects agreement for what the network request that server is initiated according to client issued.
Optionally, if the original agreement that redirects redirects agreement for client control, redirect described in acquisition agreement itBefore, in addition to:
In the original addition A/B test marks in redirecting agreement.
By the embodiment, can be achieved to carry out page A/B tests to client control.
Optionally, if the original control for redirecting agreement and being issued for server redirects agreement, the A/B tests markFor the server issue it is described it is original redirect agreement when the mark added.
By the embodiment, the control issued for server, can be with it redirects and redirects agreement corresponding to behaviorA/B test marks are added in agreement is redirected by server, so as to may be implemented in the case that client is not involved in solution formulation,It is dynamic to carry out A/B testing schemes.
Optionally, the original agreement that redirects redirects association for what the network request that server is initiated according to client issuedView, the A/B tests are identified as the server when receiving the network request that the client is sent, to the clientSend and described original redirect the mark added during agreement.
By the embodiment, the network request initiated for client, can sent and client hair by serverRedirected corresponding to the network request risen and A/B test marks are added in agreement, so as to which the network request initiated client can be realizedA/B tests are carried out, improve scope and the flexibility of the A/B tests of the APP pages.
Second aspect, the present invention provide a kind of A/B test devices of the application program page, including:
Acquisition module, for obtain it is original redirect agreement, the original original for redirecting agreement and including carrying A/B test marksBeginning redirects agreement, and it is the rule that APP internal pages redirect to redirect agreement;
Enquiry module, mark identical mark is tested with the A/B for inquiring about in A/B test routing tables whether there is;
Processing module, mark identical mark is tested with the A/B for existing in the A/B tests routing table is inquiredDuring knowledge, the agreement that redirects corresponding with A/B tests mark in routing table is tested according to the A/B and jumps to first page,Inquire and be not present in the A/B test routing table when testing mark identical mark with the A/B, original redirected according to describedAgreement jumps to second page, and the A/B tests routing table includes different A/B tests marks with redirecting the corresponding pass of agreementSystem, the first page and the second page are two test pages differed.
Optionally, in addition to:
Sending module, for after the APP enabled instructions of user's triggering are detected, active user's feature to be sent to serverInformation, user's characteristic information are used to characterize class of subscriber;
The acquisition module is additionally operable to:
Receive the A/B that the server issues according to active user's characteristic information and test routing table.
Optionally, the original agreement that redirects redirects agreement for client control, or,
The original control for redirecting agreement and issuing for server redirects agreement, or,
The original agreement that redirects redirects agreement for what the network request that server is initiated according to client issued.
Optionally, if the original agreement that redirects redirects agreement for client control, the processing module is additionally operable to:
The acquisition module obtain it is described it is original redirect agreement before, A/B added in agreement survey in original redirectTest-object is known.
Optionally, if the original control for redirecting agreement and being issued for server redirects agreement, the A/B tests markFor the server issue it is described it is original redirect agreement when the mark added.
Optionally, if the original agreement that redirects redirects association for what the network request that server is initiated according to client issuedView, the A/B tests are identified as the server when receiving the network request that the client is sent, to the clientSend and described original redirect the mark added during agreement.
The A/B for the APP pages that each possible embodiment of above-mentioned second aspect and above-mentioned second aspect is provided is surveyedTrial assembly is put, and its advantage may refer to beneficial caused by each possible embodiment of above-mentioned first aspect and first aspectEffect, it will not be repeated here.
The A/B method of testings and device of the application program page provided by the invention, by being added in original redirect in agreementA/B test marks, A/B, which is tested in routing table, stores A/B tests mark and the corresponding relation for redirecting agreement newly, gets originalAfter redirecting agreement, it whether there is and the original A/B test mark identicals redirected in agreement by inquiring about A/B and testing in routing tableMark, if in the presence of, the agreement that redirects corresponding with A/B tests mark in routing table is tested according to A/B and jumps to first page, ifIt is not present, then second page is jumped to according to the original agreement that redirects, first page and second page are two tests differedThe page, it is achieved thereby that the A/B tests of the APP pages.
Term " first " and " second " in description and claims of this specification and accompanying drawing etc. are to be used to distinguish notSame object, rather than for describing particular order.
The part term in the present invention is explained below, in order to skilled artisan understands that.
1st, electronic equipment, including but not limited to mobile station (Mobile Station, MS), mobile terminal (MobileTerminal), mobile phone (Mobile Telephone), mobile phone (handset) and portable equipment (portableEquipment) etc., the electronic equipment can be through wireless access network (Radio Access Network, RAN) and one or moreCore net is communicated, for example, electronic equipment can be mobile phone (or being " honeycomb " phone), have radio communication functionComputer etc., electronic equipment can also be portable, pocket, hand-held, built-in computer or vehicle-mounted mobile dressPut or equipment.
2nd, APP, is the third party application on electronic equipment, also referred to as client, such as net purchase class APP has mobile phone to wash in a panPrecious, Jingdone district store and Dangdang.com etc., local service class APP has popular comment, goes where to net etc., also have other financing classes APP,Searching class APP etc..
3rd, control, it is the encapsulation to data and view, control can have oneself attribute and method, and attribute is control dataEasy access person, method is then some simple and visible functions of control, and control can be divided into user interface controls, form controlPart and bar code control etc..
4th, client control, client control operate in client, oneself can handle some affairs, such as the APP pagesEach the view button of upper setting is exactly a client control, clicks on the view button, then page jump occurs.Popular pointSay, client control refers to the control for not needing network to show on the client.
5th, the control that server issues, the control that server issues operate in server end, and it can be browsed according to differentDevice parses HTML (hyper text markup language, html) code, and popular point says that server issuesControl can not be shown on the client when being not attached to network.
6th, agreement is redirected, is the rule that APP internal pages redirect, for example, APP homepage has corresponding to many subclass pagesSubtitles button, after user clicks on subtitles button corresponding to a certain subclass page, page jump is carried out, redirect agreement " to jump toFirst page ".
7th, network request, the network request that user sends by clicking on the button on electronic equipment to server, example are referred toThe content as corresponding to inputting after keyword and click on into search box, i.e. user end to server initiate network request.
The A/B method of testings and device of the APP pages provided by the invention, the page that can be applied to APP in electronic equipment are setIn meter, for comparing and selecting the quality of Pages Design scheme, can not only page A/B tests be carried out to client control, may be used alsoPage A/B tests are carried out with the network request that the control and client that are issued to server are initiated, improve the A/B of the APP pagesThe scope of test and flexibility.The technical scheme that the invention will now be described in detail with reference to the accompanying drawings.
It should be noted that in the embodiment of the present invention, by being communicated between the electronic equipment where client and serverTo realize the A/B method of testings of the APP pages provided by the invention.
Fig. 1 is a kind of flow chart of the A/B method of testing embodiments of APP pages provided by the invention, in the present embodimentExecutive agent can be client, as shown in figure 1, the method for the present embodiment can include:
S101, obtain it is original redirect agreement, the original agreement that redirects includes A/B test marks.
Wherein, the original agreement that redirects has three types, and the original agreement that redirects redirects agreement, server for client controlWhat the network request for redirecting agreement or being initiated for server according to client of the control issued issued redirects agreement, clientControl redirect agreement or the agreement that redirects of control that server issues is stored in client local.Specifically, it is original to redirectAgreement is when redirecting agreement of client control, when client detects that user clicks on a certain client control, from client sheetGround, which obtains, original corresponding to the client control redirects agreement;The original control for redirecting agreement and being issued for server redirects agreementWhen, the agreement that redirects for the control that server issues is that server is issued to client storage in advance, and client detects userWhen clicking on the control that a certain server issues, locally obtained from client and original corresponding to the control that the server issues redirect associationView.It is original redirect that the network request that agreement is initiated according to client for server issues when redirecting agreement, client, which receives, to be takenBusiness device issue it is original redirect agreement, specifically, user clicks on a button on electronic equipment, such as is inputted into search boxContent corresponding to being clicked on after keyword, i.e. user end to server initiate network request, and server is receiving client transmissionNetwork request when, sent to client and original redirect agreement.The agreement therein that redirects is the rule that APP internal pages redirect,For example, APP homepage has subtitles button corresponding to many subclass pages, user clicks on subtitles button corresponding to a certain subclass pageAfterwards, the subclass page be stored with two test pages (first page and second page, first page and second page may byThe differences such as button color, button size, the size of the font size of title and picture), page jump is carried out, redirecting agreement is, for example," jumping to first page ".
Optionally, if the original agreement that redirects redirects agreement for client control, further, the method for the present embodiment,Obtain it is original redirect agreement before, in addition to:
In original addition A/B test marks in redirecting agreement.
By this way, can be achieved to carry out page A/B tests to client control.
It is exactly to redirect agreement for client control, adds A/B test marks in agreement is redirected by client, such asThe A/B tests of addition are identified as:ABTest='iAmNative'.
Optionally, the original agreement that redirects is when the redirecting agreement of control that server issues, and A/B tests are identified as serverIssue it is original redirect agreement when the mark added.It is exactly the control issued for server (Server), is existed by serverIssue redirecting for control and A/B test marks are added in agreement, the A/B tests of such as addition are identified as:ABTest='iAmServer'.By this way, the control issued for server, can be by taking in it redirects and redirects agreement corresponding to behaviorBusiness device add A/B test marks in agreement is redirected, so as to may be implemented in the case that client is not involved in solution formulation, dynamicallyCarry out A/B testing schemes.
Optionally, it is original redirect that the network request that agreement is initiated according to client for server issues when redirecting agreement,A/B tests are identified as server when receiving the network request of client transmission, when redirecting agreement to client transmission is originalThe mark of addition.Specifically, after server receives the network request of client transmission, network request pair is being sent to clientOriginal redirect answered adds A/B test marks in agreement, the A/B tests of such as addition are identified as:ABTest='iAmServerAction'.By this way, A/B tests can be associated with the behavior for initiating network request, as long as these rowsAgreement is redirected to initiate one, it is possible to A/B tests is carried out, so as to which the latitude that A/B is tested to be promoted to and can be sent out by controlThe behavior of network request is played, improves scope and the flexibility of the A/B tests of the APP pages.
It whether there is in S102, inquiry A/B test routing tables and test mark identical mark with A/B.
Wherein, A/B, which tests routing table, includes corresponding relation of the different A/B test marks with redirecting agreement, with above-mentionedExemplified by A/B test marks in example, table one shows corresponding relation example of the A/B test marks with redirecting agreement, such as following table oneIt is shown:
Table one
| A/B test marks | Redirect agreement |
| iAmNative | Jump to first page |
| iAm Server | Jump to first page |
| iAmServerAction | Jump to first page |
In a kind of optional embodiment, A/B test routing tables are that server issues according to active user's characteristic information, now receive it is original redirect agreement before, the above method also includes:
After the APP enabled instructions for detecting user's triggering, active user's characteristic information, user characteristics letter are sent to serverCease for characterizing class of subscriber.
The A/B that the reception server issues according to active user's characteristic information tests routing table.
Wherein, active user refers to currently used APP user, and client obtains user characteristics by electronic equipment and believedBreath, client send active user's characteristic information after the APP enabled instructions of user's triggering are detected, to server.Optionally,User's characteristic information is, for example, the geographical location information or age of user information of user.User's characteristic information is age of user informationWhen, the log-on message of user can be sent to server by client, and the log-on message of user can include the basic letter of userBreath, such as age of user information.For example, APP homepage has subtitles button corresponding to many subclass pages, user clicks on a certain sonAfter subtitles button corresponding to the class page, the subclass page is stored with two test pages, first page and second page, first pageFace may be surveyed with second page in differences such as the sizes of Button Color, button size, the font size of title and picture in A/BDuring examination, a part of user is allowed to use first page, another part user uses second page, uses first page or secondThe user of the page is distinguished by user's characteristic information, can base area when user's characteristic information is the geographical location information of userAll users are divided into two regions by reason positional information, and the user for belonging to first area uses first page, belongs to the secondth areaThe user in domain uses second page;, can be according to age of user information by institute or user's characteristic information is when being age of user informationThere is user to be divided into two class users, be line of demarcation such as with 50 years old, the user of more than 50 years old uses first page, the use of the right side of fiftyFamily uses second page, and user's characteristic information can also be other information that can make a distinction user, the present embodiment to this notIt is restricted.For example, for client control, if being determined to redirect agreement using original according to user's characteristic information, A/B is surveyedThere is no corresponding A/B tests mark in examination routing table with redirecting agreement.
Specifically, after getting A/B test routing tables, it whether there is to test with A/B in inquiry A/B test routing tables and markKnow identical mark, test mark identical mark with A/B if so, existing in i.e. A/B test routing tables, then perform S103;IfIt is no, i.e. it is not present in A/B test routing tables and tests mark identical mark with A/B, then performs S104.
It should be noted that A/B tests routing table prestores in the server, phase can be stored according to user's characteristic informationThe A/B test routing tables answered, that is to say, that different classes of user correspondingly stores different A/B test routing tables, A/B testsA/B tests mark and the above-mentioned three kinds optional original A/B carried in agreement the test marks that redirect in routing table are right respectivelyAnswer identical, that is to say, that the rule addition A/B test marks that client and server identifies according to the addition pre-set.For example, redirect agreement of the client for client control, addition A/B tests mark ' iAmNative', server is for serviceThe control that device issues redirects agreement, addition A/B tests mark ' iAm Server', and server is directed to the network that client is initiatedRedirect agreement corresponding to request, addition A/B tests mark ' iAmServerAction', for certain a kind of user, to changeBecome that a certain kind therein is original to redirect agreement, then in mark corresponding to A/B test routing table storages and new redirect agreement.
S103, tested according to A/B and to test the corresponding agreement that redirects of mark with A/B in routing table and jump to first page.
S104, second page jumped to according to the original agreement that redirects.
Wherein, first page and second page are two test pages differed.
The A/B method of testings for the APP pages that the present embodiment provides, by original addition A/B test marks in redirecting agreementKnow, A/B tests mark and the new corresponding relation for redirecting agreement are stored in A/B test routing tables, receive and original redirect agreementAfterwards, identified by inquiring about in A/B test routing tables whether there is with the original A/B test mark identicals redirected in agreement, ifIn the presence of, then the agreement that redirects corresponding with A/B tests mark in routing table is tested according to A/B and jump to first page, if being not present,Second page is then jumped to according to the original agreement that redirects, first page and second page are two test pages differed, fromAnd the A/B tests of the APP pages are realized, it is achieved thereby that APP pages A/B is tested.
A specific embodiment is used below, and the technical scheme of embodiment of the method shown in Fig. 1 is described in detail.
Fig. 2 be another APP pages provided by the invention A/B method of testing embodiments flow chart, the present embodiment withIt is original redirect agreement for client control redirect agreement or control that server issues redirect agreement exemplified by, as shown in Fig. 2The method of the present embodiment can include:
After S201, client detect the APP enabled instructions of user's triggering, active user's feature letter is sent to serverBreath, user's characteristic information are used to characterize class of subscriber.
S202, server issue A/B according to active user's characteristic information and test routing table to client.
Wherein, active user refers to currently used APP user, and user's characteristic information is, for example, the geographical position of userInformation, for the user of different user characteristic information, the A/B tests routing table that server issues is different, A/B test routesCorresponding relation of the A/B test marks with redirecting agreement is stored in table, reference can be made to shown in the table one in above-described embodiment.Optionally,During for starting APP first, server issues A/B test routing tables and stores A/B test routing tables to client, client,Server is not needed to issue again during follow-up use.
It is local from client when S203, client detect that user clicks on the control that client control or server issueObtain it is original redirect agreement, it is original to redirect the jump that agreement is the control that corresponding client control redirects agreement or server issuesTurn agreement, the original agreement that redirects includes A/B test marks.
Specifically, agreement is redirected for client control, adds A/B test marks in agreement is redirected by client,Client obtain it is original redirect agreement before, A/B test marks are added in agreement in original redirect.For example, the A/B of addition is surveyedExamination is identified as:ABTest='iAmNative'.
The control issued for server, the addition A/B test marks in redirecting agreement of control, clothes are being issued by serverDevice be engaged in when issuing control while issues to redirect agreement to client, for example, the A/B tests of addition are identified as:ABTest='iAm Server'。
By taking a certain APP interfaces as an example, Fig. 3 is a kind of APP homepages schematic diagram, " homepage ", " it was found that ", " issue " and " I "Corresponding view is client control, and view corresponding to each title in homepage is that client control or server issueControl, after user clicks on the view button corresponding to a certain title, page jump occurs to next page, is being not connected to netNext page can normally be shown during network, then the view button corresponding to the title is client control, when being not connected to networkNext page can not normally show that then the view button corresponding to the title is the control that server issues, and user is clicked in homepageAny one title corresponding to the view button page jump can all occur.For example, " homepage ", " it was found that ", " issue " and " I "All be corresponding with a page respectively, user click on " homepage ", " it was found that ", any one the view button in " issue " and " I " allPage jump can occur, " homepage ", " it was found that ", the page jump agreement between " issue " and " I " be all client controlRedirect agreement.User clicks on the view button corresponding to any title in the page shown in Fig. 3, and client detects that user clicks on and regardedAfter figure button, if the view button corresponding to the title is client control, association is redirected from client to client transmission is originalView;If the control that the view button corresponding to the title, which is server, to be issued, association is redirected from client to client transmission is originalView.
It whether there is in S204, client query A/B test routing table and test mark identical mark with A/B.
If so, then perform S205;If it is not, then perform S206.
S205, client test the agreement that redirects corresponding with A/B tests mark in routing table according to A/B and jump to first pageFace.
S206, client jump to second page according to the original agreement that redirects.
Wherein, first page and second page are two test pages differed.
Fig. 4 be another APP pages provided by the invention A/B method of testing embodiments flow chart, the present embodiment withIt is original redirect that the network request that agreement is initiated according to client for server issues redirect agreement exemplified by, as shown in figure 4, this realityApplying the method for example can include:
After S301, client detect the APP enabled instructions of user's triggering, active user's feature letter is sent to serverBreath, user's characteristic information are used to characterize class of subscriber.
S302, server issue A/B according to active user's characteristic information and test routing table to client.
When optionally, for starting APP first, server issues A/B and tests routing table to client, and client storage shouldA/B tests routing table, does not need server to issue again when subsequently using.
S303, client detect that user clicks on the view button on electronic equipment, and initiating network to server pleaseAsk.
S304, server redirect agreement when receiving the network request of client transmission, to client transmission is original.
Client get it is original after redirecting agreement, client executing S305~S307, S305~S307 and S204~S206 process is identical, and here is omitted.
Fig. 5 is a kind of structural representation of the A/B test device embodiments of APP pages provided by the invention, such as Fig. 5 institutesShow, the device of the present embodiment can include:Acquisition module 11, enquiry module 12 and processing module 13, wherein,
Acquisition module 11 be used to obtaining it is original redirect agreement, the original agreement that redirects includes carrying the original of A/B test marksAgreement is redirected, the original agreement that redirects redirects agreement for client control, and it is the rule that APP internal pages redirect to redirect agreement.
Enquiry module 12 is used to inquire about in A/B test routing tables whether there is tests mark identical mark with A/B.
Processing module 13 is used for when existing in inquiring A/B test routing tables with A/B test mark identical marks, rootThe agreement that redirects corresponding with A/B tests mark in routing table is tested according to A/B and jumps to first page, is inquiring A/B tests roadWhen testing mark identical mark with A/B by being not present in table, second page, A/B tests are jumped to according to the original agreement that redirectsRouting table includes corresponding relation of the different A/B tests marks with redirecting agreement, first page and second page be two notIdentical test page.
The device of the present embodiment, it can be used for the technical scheme for performing embodiment of the method shown in Fig. 1, its realization principle classSeemingly, here is omitted.
The A/B test devices for the APP pages that the present embodiment provides, by original addition A/B test marks in redirecting agreementKnow, A/B tests mark and the new corresponding relation for redirecting agreement are stored in A/B test routing tables, get and original redirect agreementAfterwards, it whether there is the original A/B tests for redirecting agreement and carrying included with redirecting agreement by inquiring about A/B and testing in routing tableIdentical mark is identified, if in the presence of being tested according to A/B and test the corresponding agreement that redirects of mark with A/B in routing table and jump toFirst page, if being not present, second page is jumped to according to the original agreement that redirects, first page is two surveys with second pageThe page is tried, it is achieved thereby that the A/B tests of the APP pages.
Fig. 6 is the structural representation of the A/B test device embodiments of another APP pages provided by the invention, such as Fig. 6 institutesShow, the device of the present embodiment is on the basis of shown in Fig. 5, further, can also include:
Sending module 14, sending module 14 are used for after the APP enabled instructions of user's triggering are detected, are sent to serverActive user's characteristic information, user's characteristic information are used to characterize class of subscriber.
Wherein, acquisition module 11 is additionally operable to:
The A/B that the reception server issues according to active user's characteristic information tests routing table.
Optionally, the original agreement that redirects redirects agreement for client control, or, the original agreement that redirects is under serverThe control of hair redirects agreement, or, the original jump for redirecting agreement and being issued for the network request that server is initiated according to clientTurn agreement.
Optionally, if the original agreement that redirects redirects agreement for client control, processing module 13 is additionally operable to:Obtaining mouldBlock 11 receives original before redirecting agreement, and A/B test marks are added in agreement in original redirect.
Optionally, if the original control for redirecting agreement and being issued for server redirects agreement, A/B tests are identified as serverIssue it is original redirect agreement when the mark added.
Optionally, if the original agreement that redirects redirects agreement for what the network request that server is initiated according to client issued,A/B tests are identified as server when receiving the network request of client transmission, when redirecting agreement to client transmission is originalThe mark of addition.
It is in the present embodiment, original to redirect the agreement that redirects that agreement be client control, or server issuesControl redirects agreement, or the network request initiated according to client of server issue redirect agreement, therefore not only may be usedPage A/B tests, the network request that the control that can also be issued to server and client are initiated are carried out to client controlPage A/B tests are carried out, improve scope and the flexibility of the A/B tests of the APP pages.
The division of functional module can be carried out in the present invention to client according to above method example, for example, can correspond toEach function divides each functional module, can also be integrated in two or more functions in one processing module.OnStating integrated module can both be realized in the form of hardware, can also be realized in the form of software function module.NeedBright, the division in each embodiment of the application to module is schematical, only a kind of division of logic function, actual to realizeWhen can have other dividing mode.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead toThe related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journeySequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc orPerson's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extentThe present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according toThe technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are enteredRow equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technologyThe scope of scheme.