CN110471843A - Method, apparatus, storage medium and the electronic equipment of version test - Google Patents
Method, apparatus, storage medium and the electronic equipment of version test Download PDFInfo
- Publication number
- CN110471843A CN110471843A CN201910641955.8A CN201910641955A CN110471843A CN 110471843 A CN110471843 A CN 110471843A CN 201910641955 A CN201910641955 A CN 201910641955A CN 110471843 A CN110471843 A CN 110471843A
- Authority
- CN
- China
- Prior art keywords
- measured
- version
- request information
- processing
- business request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/368—Test management for test version control, e.g. updating test cases to a new software version
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
This disclosure relates to a kind of method, apparatus, storage medium and the electronic equipment of version test, this method makes different processing versions to be measured correspond to different regions, the business request information is handled according to processing version to be measured corresponding with the target area, it can be avoided interactional multiple processing versions to be measured while acting on a user, existing disturbing factor is tested between multiple processing version to be measured so as to remove, the accuracy and reliability of test assessment result is improved, to more efficiently assess the superiority and inferiority of each processing version to be measured.
Description
Technical field
This disclosure relates to AB test method field, and in particular, to a kind of method, apparatus of version test, storage medium
And electronic equipment.
Background technique
AB test, refers to before formally using some interface or process, first makes two (A/B) or multiple (A/B/
N) interface Web or App of version or process allow identical (similar) the visitor group of constituent in same time dimension respectively
These versions of (target group) random access, collect the user experience data and business datum of each group, ultimate analysis, assessment
Best version out, it is formal to use.Existing AB test be UID (User Identifier, user name) based on registration user or
The device identification of person user determines the processing version to be measured that user uses, however, during the test, if multiple processing to be measured
It is no longer independent from each other between version, but influences each other mutually restrict each other, if still based on registration user
UID or user device identification, determine the processing version to be measured of user, can make test between version exist interference because
Element causes the problem of test assessment result inaccuracy, so that the superiority and inferiority of each version can not be assessed effectively.
Summary of the invention
Purpose of this disclosure is to provide method, apparatus, storage medium and the electronic equipments of a kind of test of version, for solving
There are when incidence relation between multiple processing versions to be measured, test assessment result will cause not using existing AB test method
Accurate technical problem.
To achieve the goals above, a kind of method of version test, the method packet are provided in the first aspect of the disclosure
It includes:
Receive the business request information that client is sent;
In response to receiving the business request information, the corresponding shunting parameter of the client is obtained;
In the case where the shunting parameter includes target area, according to processing version to be measured corresponding with the target area
This handles the business request information, to obtain the test result of the processing version to be measured, wherein the target area
Domain is the region that client described in preset multiple regions is located at, and different processing versions to be measured correspond to different regions.
Optionally, in the case where the shunting parameter includes the target area and preset time section, then according to institute
The corresponding processing version to be measured in target area and the preset time section is stated to handle the business request information,
To obtain the test result of the processing version to be measured, wherein different processing versions to be measured correspond to different in the same area
Preset time section.
Optionally, the preset time section includes at least one period, and described the same area is in the two neighboring time
Different processing versions to be measured is corresponded in section, the two neighboring period belongs to different preset time sections.
Optionally, the method also includes:
If it is determined that corresponding processing version to be measured is not present in the target area, then according to default treatment version to the industry
Business request message is handled.
Optionally, before obtaining the corresponding shunting parameter of the client, the method also includes:
Determine whether the business request information is request message in pre-set white list;
Correspondingly, the corresponding shunting parameter of the client that obtains includes:
If the business request information is not the request message in the white list, the corresponding mesh of the client is obtained
Mark region.
Optionally, the method also includes:
If the business request information is the request message in the white list, the corresponding processing of the white list is obtained
Version;
The business request information is handled according to the white list corresponding processing version.
Optionally, whether the determination business request information is request message packet in pre-set white list
It includes:
Obtain the service request mark that the business request information carries;
If the service request mark is included in the white list, determine that the business request information is the white list
In request message.
A kind of device of version test is provided in the second aspect of the disclosure, described device includes:
Receiving module, for receiving the business request information of client transmission;
First obtains module, for obtaining corresponding point of the client in response to receiving the business request information
Flow parameter;
First processing module, in the case where the shunting parameter includes target area, according to the target area
The corresponding processing version to be measured in domain handles the business request information, to obtain the test knot of the processing version to be measured
Fruit, wherein the target area is the region that client described in preset multiple regions is located at, different processing versions pair to be measured
Answer different regions.
Optionally, the first processing module is also used to when the shunting parameter includes the target area and is default
Between in the case where section, then according to the corresponding processing version to be measured in the target area and the preset time section to institute
It states business request information to be handled, to obtain the test result of the processing version to be measured, wherein different processing versions to be measured
Different preset time sections is corresponded in the same area.
Optionally, the preset time section includes at least one period, and described the same area is in the two neighboring time
Different processing versions to be measured is corresponded in section, the two neighboring period belongs to different preset time sections.
Optionally, described device further include:
Second processing module is used for if it is determined that corresponding processing version to be measured is not present in the target area, then according to silent
Recognize processing version to handle the business request information.
Optionally, described device further include:
Determining module, for determining whether the business request information is request message in pre-set white list;
Correspondingly, described first module is obtained, if not being the request in the white list for the business request information
Message then obtains the corresponding target area of the client.
Optionally, described device further include:
Second acquisition module obtains institute if being the request message in the white list for the business request information
State the corresponding processing version of white list;
Third processing module, for according to the corresponding processing version of the white list to the business request information at
Reason.
Optionally, the determining module includes:
Acquisition submodule, the service request mark carried for obtaining the business request information;
It determines submodule, if being included in the white list for service request mark, determines the service request
Message is the request message in the white list.
A kind of computer readable storage medium is provided in the third aspect of the disclosure, is stored thereon with computer program, it should
The step of above first aspect the method is realized when program is executed by processor.
A kind of electronic equipment is provided in the fourth aspect of the disclosure, comprising:
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize side described in the above first aspect
The step of method.
Above technical scheme, the business request information sent by receiving client;It is asked in response to receiving the business
Message is sought, the corresponding shunting parameter of the client is obtained;In the case where the shunting parameter includes target area, according to
The corresponding processing version to be measured in the target area handles the business request information, to obtain the processing version to be measured
This test result, wherein the target area is the region that the client is located in preset multiple regions, it is different to
It surveys processing version and corresponds to different regions.In this way, different processing versions to be measured is made to correspond to different regions, according to the target
The corresponding processing version to be measured in region handles the business request information, can be avoided interactional multiple places to be measured
Reason version acts on a user simultaneously, so as to remove tested between multiple processing version to be measured it is existing interfere because
Element, improves the accuracy and reliability of test assessment result, to more efficiently assess the superiority and inferiority of each processing version to be measured.
Other feature and advantage of the disclosure will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is and to constitute part of specification for providing further understanding of the disclosure, with following tool
Body embodiment is used to explain the disclosure together, but does not constitute the limitation to the disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow chart of the method for version test shown in one exemplary embodiment of the disclosure;
Fig. 2 is a kind of flow chart of the method for version test shown in disclosure another exemplary embodiment;
Fig. 3 is a kind of block diagram of the device for version test that disclosure another exemplary embodiment provides;
Fig. 4 is a kind of block diagram of the device for version test for implementing to exemplify according to Fig.3,;
Fig. 5 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
It is described in detail below in conjunction with specific embodiment of the attached drawing to the disclosure.It should be understood that this place is retouched
The specific embodiment stated is only used for describing and explaining the disclosure, is not limited to the disclosure.
Firstly, the application scenarios to the disclosure are illustrated, the disclosure be can be applied to interactional multiple to be measured
Handle the process that version carries out AB test.By taking dispatching field as an example, need to the processing version A to be measured and processing version B to be measured
AB test is carried out, during the test, dispatching person will give user A and user's B delivery, if the processing version A to be measured makes the dispatching
Member first give party A-subscriber's delivery, then the dispatching person cannot first give party B-subscriber's delivery, if the processing version B to be measured make the dispatching person first to
Party B-subscriber's delivery, it is evident that the dispatching person cannot give user A and user's B delivery simultaneously, therefore the processing version A to be measured
Processing result will affect the execution of the processing version B to be measured.Again by taking network about vehicle as an example, if user A and B while about vehicle, to be measured
Processing version A be driver A has been assigned to user A, and processing version B to be measured be then driver A has been assigned to user B, at this point,
Since the driver A in processing version A to be measured has been already assigned to user A, driver A is assigned to use by processing version B to be measured
Family B cannot achieve.It can be seen that during the test, mutually restricted if existing between multiple processing versions to be measured to influence each other
When factor, if the device identification of UID or user still based on registration user, determine the processing version to be measured of user, meeting
Version test is set the problem of test assessment result inaccuracy to be caused, to can not effectively assess because of the influence of disturbing factor
The superiority and inferiority of each version.
In order to solve the above technical problems, the disclosure provides method, apparatus, storage medium and the electronics of a kind of version test
Equipment, this method comprises: receiving the business request information that client is sent;In response to receiving the business request information, obtain
Take the corresponding shunting parameter of the client;In the case where the shunting parameter includes target area, according to the target
The corresponding processing version to be measured in region handles the business request information, to obtain the test of the processing version to be measured
As a result, wherein the target area is the region that the client is located in preset multiple regions, different processing versions to be measured
This corresponds to different regions.In this way, making different processing versions to be measured correspond to different regions, according to corresponding with the target area
Processing version to be measured the business request information is handled, it is same to can be avoided interactional multiple processing versions to be measured
When act on a user, test existing disturbing factor between multiple processing version to be measured so as to remove, improve
The accuracy and reliability of assessment result is tested, to more efficiently assess the superiority and inferiority of each processing version to be measured.
Fig. 1 is a kind of flow chart of the method for version test shown in one exemplary embodiment of the disclosure;It, should referring to Fig. 1
Method includes:
Step 101, the business request information that client is sent is received.
Wherein, it may include the identification information of the service request in the business request information, issue the business request information
Temporal information and the location of client information.Service request mark can be Merchant name, and service request disappears
The sequence number of breath, the name code of requestor, ID (Identity, identity card) numbers etc. of businessman;Issue the business request information
Temporal information can be in such a month, and on such a day point certain second in some time in certain year;The location of client information can be including the visitor
The longitude and latitude information of family end present position.
Step 102, in response to receiving the business request information, the corresponding shunting parameter of the client is obtained.
Wherein, which can only include target area, also may include target area and preset time section.It should
Target area is the region that the client is located in preset multiple regions;The preset time section includes at least one time
Section, the same area correspond to different processing versions to be measured within the two neighboring period, which belongs to not
Same preset time section.
It should be noted that different processing versions to be measured are corresponding in the case where the shunting parameter only includes target area
Different regions;In the case where the shunting parameter includes target area and preset time section, multiple processing versions to be measured can
With the same region of correspondence, but it need to guarantee that different processing versions to be measured correspond to different preset time sections in the same area.
In this step, location information described in the client can be obtained from the business request information received,
And then determine region locating for the position, then determine whether region locating for the client belongs in preset multiple regions
Region, however, it is determined that region locating for the client belongs to the preset one of a plurality of areas, it is determined that locating for the client
Position where region be the target area;If it is determined that region locating for the client is not belonging in the preset multiple regions
Either one or two of, it is determined that the region where the client location is nontarget area.It can be from the business received
The temporal information for issuing the business request information is obtained in request message, and determines whether the temporal information belongs to the preset time
Section.Illustratively, 25 divide 35 seconds when the time for issuing the business request information is 2 days 10 June in 2019, the preset timeslice
It is time section A that area, which is 9 points to 11 points, and 12 points to 14 points are time section B, due to this 10 when 25 divide 35 seconds and belong to 9 points to 11
Point, hence, it can be determined that the time of the sending business request information belongs to time section A.
Step 103, in the case where the shunting parameter includes target area, according to place to be measured corresponding with the target area
Reason version handles the business request information, to obtain the test result of the processing version to be measured.
It should be noted that a usual processing version to be measured has corresponding algorithm model, the preset algorithm model
In will include the service parameters of multiple personalizations, for sending package with charge free, the service parameter of the personalization be may include: package
Delivery place, the delivery period of permission, the weight of package, and title, the contact method etc. of harvest people.In basis and the target
When the corresponding processing version to be measured in region handles the business request information, it is corresponding to be measured to need to obtain the target area
The corresponding preset algorithm model of version is handled, and obtains the corresponding specific data of the service parameter in the service requesting information, root
Assignment is carried out to the personalized service parameter in the preset algorithm model according to the specific data, after then executing the assignment
Algorithm model obtains the processing version to be measured that user in experiment group is respectively adopted to obtain corresponding expression of results
Expression of results is counted, and analysis is to obtain in multiple processing version to be measured preferably version, using as will put into fortune
Capable version.
Pair illustratively, for taking out and send path planning with charge free, it is related to path planning version A and path planning version B, i.e.,
Path planning version A and path planning version B carries out version test, wherein path planning version A is with the road distance Duan Wei
Diameter planning principles, path planning version B are using traffic lights minimum number as path planning principle.Match in preset experiment and makes a gift to someone
It is tested in member group, respectively the region where the client according to used in each dispatching personnel in experiment dispatching personnel
The path planning version B for determining the path planning version A or use that use, here for using path planning version A: In
After the take-away dispatching request for receiving client transmission, the seller addresses for needing picking, the destination address of dispatching, Yi Jiyao are obtained
The merchandise news of dispatching, by the seller addresses of the picking, the destination address of dispatching, and the merchandise news to be dispensed are matched to road
Diameter is planned in the algorithm model of version A, and executes the algorithm model, then generates the mesh cooked up by path planning version A
It marks path and it is expected that reaching dispatching destination time, dispatching personnel dispenses according to the destination path, system meeting when dispatching
Record is dispensed into the time of dispatching destination.To in preset experiment dispatching personnel group pass through the path planning version A and
The punctual rate of dispatching that the destination path of path planning version B planning is dispensed is counted, and is respectively obtained through the path
The punctual rate of dispatching for planning that version A carries out path planning is 90%, and the dispatching of path planning is carried out by the path planning version B
Punctual rate is 75%, may thereby determine that the test result is path planning version A excellent with path planning version B.It is above-mentioned to show
Example is merely illustrative, and the disclosure is not construed as limiting to how handling the business request information according to processing version to be measured.
In addition, in the case where the shunting parameter includes the target area and preset time section, then according to the target area
Domain processing version to be measured corresponding with the preset time section handles the business request information, to obtain the place to be measured
Manage the test result of version, wherein different processing versions to be measured correspond to different preset time sections in the same area.
In this way, different processing versions to be measured is made to correspond to different regions, include the case where target area in the shunting parameter
Under, the business request information is handled according to processing version to be measured corresponding with the target area, can be avoided mutual shadow
Loud multiple processing versions to be measured act on a user simultaneously, survey between multiple processing version to be measured so as to remove
Existing disturbing factor is tried, the accuracy and reliability of test assessment result is improved, to more efficiently assess each to be measured
Handle the superiority and inferiority of version.
Fig. 2 is a kind of flow chart of the method for version test shown in disclosure another exemplary embodiment;Referring to fig. 2,
The embodiment is illustrated for shunting parameter and including target area and preset time section, this method comprises:
Step 201, the business request information that client is sent is received.
Wherein, which may include the identification information of service request, issue the business request information when
Between the location of information and the client information.
Step 202, in response to receiving the business request information, the service request mark of business request information carrying is obtained
Know.
Wherein, service request mark can be Merchant name, the sequence number of business request information, the title generation of requestor
Code, the ID number etc. of businessman.
Step 203, it is identified according to the service request and determines whether the business request information is in pre-set white list
Request message.
It in this step, can be by determining that the service request identifies whether to be included in the white list, to determine the industry
Whether business request message is request message in pre-set white list.If service request mark is included in the white list
In, it is determined that the business request information is for the request message in pre-set white list, execution step 208 to 209;If should
Service request mark is not included in the white list, it is determined that the business request information is not asking in pre-set white list
Message is sought, executes step 204 to 205.
Step 204, the corresponding target area of the client is obtained.
It should be noted that the target area is the corresponding region of the client in pre-set multiple regions, wherein
Different processing versions to be measured correspond to different regions.
It illustratively, include Dongcheng District, Chaoyang District and Haidian District in pre-set multiple regions, if the industry that client is sent
When location information entrained by being engaged in request message is Dongcheng District, determine that target area is Dongcheng District;If the industry that client is sent
When location information entrained by being engaged in request message is Chaoyang District, determine that target area is Chaoyang District;If the industry that client is sent
Location information entrained in request message be engaged in when being Haidian District, determines that target area is Haidian District, wherein the Dongcheng District with to
Processing version A binding is surveyed, the Chaoyang District and processing version B to be measured are bound, and the Haidian District and processing version C to be measured are bound.
Step 205, determine whether the temporal information for issuing the business request information belongs to preset time section.
In this step, however, it is determined that the temporal information for issuing the business request information belongs to preset time section, then executes
Step 207;If it is determined that the temporal information for issuing the business request information is not belonging in preset time section, 206 are thened follow the steps.
It should be noted that the preset time section includes at least one period, the same area is when two neighboring
Between correspond to different processing versions to be measured in section, which belongs to different preset time sections.It is sent out determining
It, can be by determining that issuing the service request disappears when whether the temporal information of the business request information belongs to preset time section out
Whether the temporal information of breath belongs to the realization of some period in the preset time section, however, it is determined that issues the business request information
Temporal information belong to some period in the preset time section, it is determined that issue the temporal information of the business request information
Belong to preset time section;If it is determined that the temporal information for issuing the business request information is not belonging to appointing in the preset time section
One period, it is determined that the temporal information for issuing the business request information is not belonging to preset time section.Illustratively, if one
Preset time section includes: preset time period A (0 point to 5 points), preset time segment B (6 points to 13 points), when presetting in region
Between segment C (14 points to 19 points), preset time segment D (20 points to 23 points), then when preset time section A is preset with this respectively
Between section B it is adjacent with the preset time section D, therefore, the corresponding processing version to be measured of preset time section A and this it is default when
Between section B processing version to be measured corresponding with the preset time section D be all different, wherein preset time section A is corresponding
Processing version to be measured processing version to be measured corresponding with preset time section C can be identical, can not also be identical;It should if issuing
The temporal information of business request information be 11 points 50 minutes, it is determined that when issuing the temporal information of the business request information and belonging to default
Between section B, it is determined that the temporal information for issuing the business request information belongs to the preset time section.
Step 206, the business request information is handled according to processing version to be measured corresponding with the target area, with
Obtain the test result of the processing version to be measured.
It should be noted that the different processing version to be measured corresponds to different regions, according to sending business request information
Client where region determine processing version to be measured, the same area can be made to carry out industry only with same processing version to be measured
The processing of business request message, so as to avoid the interference between multiple interactional processing versions to be measured.
Illustratively, goods delivery link, needing the version for carrying out AB test includes processing version A to be measured and processing version to be measured
This B, wherein the processing version A to be measured is the version for assessing distribution time length, which is assessment time of received orders
The version of length, since the distribution time length is related to the time of received orders length, (time of received orders length will have a direct impact on dispatching
Length of time), therefore, which is executed on different regions respectively from the processing version B to be measured, with
For Chaoyang District and Haidian District, the processing version A to be measured and Chaoyang District are bound, i.e., in the business request information that client is sent
It (determines that target area is Chaoyang District) when entrained location information is Chaoyang District, which is handled using the processing version A to be measured
Business request message;The processing version B to be measured and Haidian District are bound, i.e., entrained position in the business request information that client is sent
Confidence breath (determines that target area is Haidian District) when being Haidian District, handles the business request information using the processing version B to be measured.
Step 207, the business is asked according to target area processing version to be measured corresponding with the preset time section
Message is asked to be handled, to obtain the test result of the processing version to be measured.
It should be noted that different time sections is respectively corresponded when multiple processing versions to be measured are in the same region,
In this way, interactional multiple processing versions to be measured can execute in section in different times, a processing to be measured can be avoided
Interference between version.
Illustratively, the preset time section being arranged in a region includes odd number day and even number day, the odd number day refers to certain
Year in such a month, and on such a day in one day be odd number when, correspondingly, refer to the even number day certain year in such a month, and on such a day in one day be even number when.Example
Such as, Chaoyang District uses processing version A processing business request message to be measured in even number day, and Chaoyang District is in odd number day using to be measured
Handle version B processing business request message.If certain client is in Chaoyang District, the time for issuing the business request information is 2019
On June 2, in, then the business request information is handled using processing version A to be measured;If issuing the business in Chaoyang District client
The time of request message is on June 5th, 2019, then handles the business request information using processing version B to be measured.
Step 208, the corresponding processing version of the white list is obtained.
It should be noted that the corresponding processing version of the white list can be the multiple places to be measured for not needing to carry out AB test
Manage one in version.The white list is arranged in the AB test macro can be improved the compatibility and applicability of test macro.
Step 209, the business request information is handled according to the white list corresponding processing version.
In this way, making different processing versions to be measured correspond to different regions, alternatively, different processing versions to be measured are in same area
Different preset time sections is corresponded in domain;In the case where the shunting parameter includes target area, according to the target area
Corresponding processing version to be measured handles the business request information, to obtain the test result of the processing version to be measured;In
In the case that the shunting parameter includes the target area and preset time section, then according to the target area and the preset time piece
The corresponding processing version to be measured in area handles the business request information, to obtain the test knot of the processing version to be measured
Fruit;It can be avoided interactional multiple processing versions to be measured while acting on a user, it is multiple so as to remove
Existing disturbing factor is tested between processing version to be measured, the accuracy and reliability of test assessment result is improved, thus more
Effectively assess the superiority and inferiority of each processing version to be measured.
Fig. 3 is a kind of block diagram of the device for version test that disclosure another exemplary embodiment provides;It, should referring to Fig. 3
Device includes:
Receiving module 301, for receiving the business request information of client transmission;
First obtains module 302, for obtaining the corresponding shunting of the client in response to receiving the business request information
Parameter;
First processing module 303, in the case where the shunting parameter includes target area, according to the target area
Corresponding processing version to be measured handles the business request information, to obtain the test result of the processing version to be measured,
In, which is the region that the client is located in preset multiple regions, and different processing versions to be measured correspond to different
Region.
Optionally, the first processing module 303 is also used in the shunting parameter include the target area and preset time piece
In the case where area, then disappeared according to target area processing version to be measured corresponding with the preset time section to the service request
Breath is handled, to obtain the test result of the processing version to be measured, wherein different processing versions to be measured are right in the same area
Answer different preset time sections.
Optionally, which includes at least one period, and the same area is within the two neighboring period
Corresponding different processing version to be measured, the two neighboring period belong to different preset time sections.
Using above-mentioned apparatus, different processing versions to be measured are made to correspond to different regions, by first processing module 303 at this
In the case that shunting parameter includes target area, disappeared according to processing version to be measured corresponding with the target area to the service request
Breath is handled, and be can be avoided interactional multiple processing versions to be measured while being acted on a user, so as to go
Except existing disturbing factor is tested between multiple processing version to be measured, the accuracy and reliability of test assessment result is improved,
To more efficiently assess the superiority and inferiority of each processing version to be measured.
Optionally, Fig. 4 is a kind of block diagram of the device for version test for implementing to exemplify according to Fig.3,;Referring to fig. 4,
The device further include:
Second processing module 304 is used for if it is determined that corresponding processing version to be measured is not present in the target area, then according to silent
Recognize processing version to handle the business request information.
Optionally, the device further include:
Determining module 305, for determining whether the business request information is request message in pre-set white list;
Correspondingly, this first obtains module 302, if not being that request in the white list disappears for the business request information
Breath, then obtain the corresponding target area of the client.
Optionally, the device further include:
It is white to obtain this if being the request message in the white list for the business request information for second acquisition module 306
The corresponding processing version of list;
Third processing module 307, for according to the corresponding processing version of the white list to the business request information at
Reason.
Optionally, which includes:
Acquisition submodule 3051, for obtaining the service request mark of business request information carrying;
It determines submodule 3052, if being included in the white list for service request mark, determines that the service request disappears
Breath is the request message in the white list.
Using above-mentioned apparatus, different processing versions to be measured is made to correspond to different regions, alternatively, different processing versions to be measured
Different preset time sections is corresponded in the same area;It in the shunting parameter include target area by first processing module 303
In the case where domain, the business request information is handled according to processing version to be measured corresponding with the target area, to obtain
The test result of the processing version to be measured;In the case where the shunting parameter includes the target area and preset time section, then
The business request information is handled according to target area processing version to be measured corresponding with the preset time section, with
Obtain the test result of the processing version to be measured;It can be avoided interactional multiple processing versions to be measured while acting on one
On user, existing disturbing factor is tested between multiple processing version to be measured so as to remove, improves test assessment result
Accuracy and reliability, thus more efficiently assess it is each it is to be measured processing version superiority and inferiority.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 5 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.For example, electronic equipment 500 can be with
It is provided as a server.Referring to Fig. 5, electronic equipment 500 includes processor 522, and quantity can be one or more, and
Memory 532, for storing the computer program that can be executed by processor 522.The computer program stored in memory 532 can
With include it is one or more each correspond to one group of instruction module.In addition, processor 522 can be configured as and hold
The row computer program, the method to execute above-mentioned version test.
In addition, electronic equipment 500 can also include power supply module 526 and communication component 550, which can be with
It is configured as executing the power management of electronic equipment 500, which, which can be configured as, realizes electronic equipment 500
Communication, for example, wired or wireless communication.In addition, the electronic equipment 500 can also include input/output (I/O) interface 558.Electricity
Sub- equipment 500 can be operated based on the operating system for being stored in memory 532, such as Windows ServerTM, Mac OS
XTM, UnixTM, LinuxTM etc..
In a further exemplary embodiment, a kind of computer readable storage medium including program instruction is additionally provided, it should
The step of method of above-mentioned version test is realized when program instruction is executed by processor.For example, the computer-readable storage medium
Matter can be the above-mentioned memory 532 including program instruction, and above procedure instruction can be held by the processor 522 of electronic equipment 500
Method of the row to complete above-mentioned version test.
The preferred embodiment of the disclosure is described in detail in conjunction with attached drawing above, still, the disclosure is not limited to above-mentioned reality
The detail in mode is applied, in the range of the technology design of the disclosure, a variety of letters can be carried out to the technical solution of the disclosure
Monotropic type, these simple variants belong to the protection scope of the disclosure.
It is further to note that specific technical features described in the above specific embodiments, in not lance
In the case where shield, can be combined in any appropriate way, in order to avoid unnecessary repetition, the disclosure to it is various can
No further explanation will be given for the combination of energy.
In addition, any combination can also be carried out between a variety of different embodiments of the disclosure, as long as it is without prejudice to originally
Disclosed thought equally should be considered as disclosure disclosure of that.
Claims (10)
1. a kind of method of version test, which is characterized in that the described method includes:
Receive the business request information that client is sent;
In response to receiving the business request information, the corresponding shunting parameter of the client is obtained;
In the case where the shunting parameter includes target area, according to processing version pair to be measured corresponding with the target area
The business request information is handled, to obtain the test result of the processing version to be measured, wherein the target area is
The region that client described in preset multiple regions is located at, different processing versions to be measured correspond to different regions.
2. the method according to claim 1, wherein including the target area and default in the shunting parameter
In the case where time section, then according to the corresponding processing version pair to be measured in the target area and the preset time section
The business request information is handled, to obtain the test result of the processing version to be measured, wherein different processing versions to be measured
This corresponds to different preset time sections in the same area.
3. according to the method described in claim 2, it is characterized in that, the preset time section includes at least one period,
Described the same area corresponds to different processing versions to be measured within the two neighboring period, and the two neighboring period belongs to not
Same preset time section.
4. the method according to claim 1, wherein the method also includes:
If it is determined that corresponding processing version to be measured is not present in the target area, then the business is asked according to default treatment version
Message is asked to be handled.
5. method according to any one of claims 1 to 4, which is characterized in that obtaining the corresponding shunting of the client
Before parameter, the method also includes:
Determine whether the business request information is request message in pre-set white list;
Correspondingly, the corresponding shunting parameter of the client that obtains includes:
If the business request information is not the request message in the white list, the corresponding target area of the client is obtained
Domain.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
If the business request information is the request message in the white list, the corresponding processing version of the white list is obtained
This;
The business request information is handled according to the white list corresponding processing version.
7. according to the method described in claim 5, it is characterized in that, whether the determination business request information is to set in advance
The request message in white list set includes:
Obtain the service request mark that the business request information carries;
If the service request mark is included in the white list, determine that the business request information is in the white list
Request message.
8. a kind of device of version test, which is characterized in that described device includes:
Receiving module, for receiving the business request information of client transmission;
First obtains module, for obtaining the corresponding shunting ginseng of the client in response to receiving the business request information
Number;
First processing module, in the case where the shunting parameter includes target area, according to the target area pair
The processing version to be measured answered handles the business request information, to obtain the test result of the processing version to be measured,
Wherein, the target area is the region that client described in preset multiple regions is located at, and different processing versions to be measured are corresponding
Different regions.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor
The step of any one of claim 1-7 the method is realized when row.
10. a kind of electronic equipment characterized by comprising
Memory is stored thereon with computer program;
Processor, for executing the computer program in the memory, to realize described in any one of claim 1-7
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910641955.8A CN110471843B (en) | 2019-07-16 | 2019-07-16 | Version test method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910641955.8A CN110471843B (en) | 2019-07-16 | 2019-07-16 | Version test method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110471843A true CN110471843A (en) | 2019-11-19 |
CN110471843B CN110471843B (en) | 2021-03-26 |
Family
ID=68508736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910641955.8A Active CN110471843B (en) | 2019-07-16 | 2019-07-16 | Version test method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110471843B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124431A (en) * | 2019-12-31 | 2020-05-08 | 贵阳货车帮科技有限公司 | Service callback method, service processing method, device, equipment and storage medium |
CN113176992A (en) * | 2021-04-08 | 2021-07-27 | 深圳依时货拉拉科技有限公司 | A/B experiment shunting method, device, equipment and computer readable storage medium |
CN115361340A (en) * | 2022-08-24 | 2022-11-18 | 深圳依时货拉拉科技有限公司 | AB experiment shunting method and device, computer equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2362316A1 (en) * | 2010-02-22 | 2011-08-31 | EchoStar Global B.V. | Monitoring and controlling the operation of devices in a distributed network of broadcast devices |
US20120233600A1 (en) * | 2011-03-10 | 2012-09-13 | Fujitsu Limited | Information processing apparatus and method of acquiring trace log |
CN103577321A (en) * | 2012-08-07 | 2014-02-12 | 阿里巴巴集团控股有限公司 | Multi-version parallel test method for web pages and server |
CN104978267A (en) * | 2015-06-24 | 2015-10-14 | 小米科技有限责任公司 | Web page testing method, terminal and server |
CN106713015A (en) * | 2016-12-07 | 2017-05-24 | 武汉斗鱼网络科技有限公司 | Scheme test method and server |
CN108334444A (en) * | 2017-12-29 | 2018-07-27 | 广州品唯软件有限公司 | Various dimensions dynamic combined shunts method of servicing, device, terminal and storage medium |
CN108804318A (en) * | 2018-05-24 | 2018-11-13 | 北京金山安全软件有限公司 | Page element testing method and device, electronic equipment and storage medium |
CN109308255A (en) * | 2017-07-28 | 2019-02-05 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus for A/B test experiments |
-
2019
- 2019-07-16 CN CN201910641955.8A patent/CN110471843B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2362316A1 (en) * | 2010-02-22 | 2011-08-31 | EchoStar Global B.V. | Monitoring and controlling the operation of devices in a distributed network of broadcast devices |
US20120233600A1 (en) * | 2011-03-10 | 2012-09-13 | Fujitsu Limited | Information processing apparatus and method of acquiring trace log |
CN103577321A (en) * | 2012-08-07 | 2014-02-12 | 阿里巴巴集团控股有限公司 | Multi-version parallel test method for web pages and server |
CN104978267A (en) * | 2015-06-24 | 2015-10-14 | 小米科技有限责任公司 | Web page testing method, terminal and server |
CN106713015A (en) * | 2016-12-07 | 2017-05-24 | 武汉斗鱼网络科技有限公司 | Scheme test method and server |
CN109308255A (en) * | 2017-07-28 | 2019-02-05 | 北京京东尚科信息技术有限公司 | A kind of method and apparatus for A/B test experiments |
CN108334444A (en) * | 2017-12-29 | 2018-07-27 | 广州品唯软件有限公司 | Various dimensions dynamic combined shunts method of servicing, device, terminal and storage medium |
CN108804318A (en) * | 2018-05-24 | 2018-11-13 | 北京金山安全软件有限公司 | Page element testing method and device, electronic equipment and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124431A (en) * | 2019-12-31 | 2020-05-08 | 贵阳货车帮科技有限公司 | Service callback method, service processing method, device, equipment and storage medium |
CN113176992A (en) * | 2021-04-08 | 2021-07-27 | 深圳依时货拉拉科技有限公司 | A/B experiment shunting method, device, equipment and computer readable storage medium |
CN113176992B (en) * | 2021-04-08 | 2022-02-15 | 深圳依时货拉拉科技有限公司 | A/B experiment shunting method, device and computer readable storage medium |
CN115361340A (en) * | 2022-08-24 | 2022-11-18 | 深圳依时货拉拉科技有限公司 | AB experiment shunting method and device, computer equipment and storage medium |
CN115361340B (en) * | 2022-08-24 | 2024-02-27 | 深圳依时货拉拉科技有限公司 | AB experiment shunting method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110471843B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110471843A (en) | Method, apparatus, storage medium and the electronic equipment of version test | |
CN105184879B (en) | The methods, devices and systems of bio-identification work attendance | |
CN110246044A (en) | Project auditing system, method, calculating equipment and storage medium based on block chain | |
CN110311899A (en) | Multiservice system access method, device and server | |
CN105873049B (en) | A kind of method, equipment, system and storage medium for being used to share WAP | |
CN104980393B (en) | Method of calibration, system, server and terminal | |
EP3497403B1 (en) | Geo-locating individuals based on a derived social network | |
CN104822145B (en) | A kind of methods, devices and systems identifying pseudo-base station note | |
CN105873177A (en) | Method and equipment for obtaining access information of shared wireless access point | |
CN105868596A (en) | Method and device for real name authentication of identity | |
CN102958152A (en) | WLAN (wireless local area network) positioning method and positioning server for positioning third part | |
CN108932678A (en) | Correlating method, device and the storage medium of house property information | |
CN108682062A (en) | A kind of authentication system and method | |
Ferreira et al. | Witness-based location proofs for mobile devices | |
CN111353176A (en) | Method and system for inquiring block chain data | |
CN106878108A (en) | Network flow playback method of testing and device | |
CN106412975A (en) | Content charging vulnerability test methods, and apparatuses | |
CN110267268A (en) | The recognition methods of pseudo-base station, apparatus and system | |
CN109858210A (en) | Information Authentication method, apparatus, computer equipment and storage medium | |
CN108228248A (en) | A kind of determining method and apparatus of dependence | |
CN112070342B (en) | Microservice evaluation method and device, electronic equipment and computer readable storage medium | |
CN106804056A (en) | A kind of method and apparatus for providing the access information of WAP | |
CN107665428A (en) | Mobile payment identity identifying method, server and system | |
Bucher et al. | Captcha your location proof—A novel method for passive location proofs in adversarial environments | |
CN109815690A (en) | Information Authentication method, apparatus, computer equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |