CN110362466A - Bid logic test method, device, computer equipment and storage medium - Google Patents
Bid logic test method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN110362466A CN110362466A CN201910421376.2A CN201910421376A CN110362466A CN 110362466 A CN110362466 A CN 110362466A CN 201910421376 A CN201910421376 A CN 201910421376A CN 110362466 A CN110362466 A CN 110362466A
- Authority
- CN
- China
- Prior art keywords
- bid
- strategy
- dispensing
- practical
- situation
- 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.)
- Pending
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/3676—Test management for coverage analysis
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)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a kind of bid logic test method, device, computer equipment and storage medium, it is related to researching and developing management domain.The bid logic test method includes: to obtain the dispensing strategy of advertiser demand side's platform and launch the factor, and launching strategy includes strategy names and attribute corresponding with strategy names;Multidimensional numerical is constructed according to launching strategy and launching the factor;According to Multidimensional numerical each objective cross situation is calculated corresponding to expectation bid ranges, wherein objective cross situation meet the corresponding attribute of strategy names be essential option precondition;Practical bid results corresponding with each objective cross situation are obtained, judge whether practical bid results fall into corresponding expectation bid ranges;If practical bid results are fallen into corresponding expectation bid ranges, it is determined that the bid logic of practical bid results is correct.It can ensure to cover Any and All Bid logic in the main party in request's platform of test advertisements using the bid logic test method.
Description
[technical field]
The present invention relates to research and development management domain more particularly to a kind of bid logic test method, device, computer equipment and
Storage medium.
[background technique]
Advertiser demand side's platform (Demand-Side Platform, abbreviation DSP) refer to for advertiser provide across medium,
Cross-platform, cross-terminal advertisement launching platform realizes the accurate dispensing based on audient by Data Integration, analysis, and in real time
Monitoring is continued to optimize.Since the bidding algorithm of advertiser demand side's platform is more complex, tester is not knowing about bidding algorithm
In the case of be unable to ensure and cover all bid logics when test, to the test of bid logic, there are larger difficulty.
[summary of the invention]
In view of this, the embodiment of the invention provides a kind of bid logic test method, device, computer equipment and storages
Medium, to solve the problems, such as that current advertiser demand side's platform is unable to ensure covering Any and All Bid logic in test.
In a first aspect, the embodiment of the invention provides a kind of bid logic test methods, comprising:
Obtain the dispensing strategy of advertiser demand side's platform and launch the factor, dispensings strategy including strategy names and with institute
State the corresponding attribute of strategy names;
Multidimensional numerical is constructed according to the dispensing strategy and the dispensing factor, the Multidimensional numerical includes the dispensing plan
Each combined situation slightly constituted with the dispensing factor;
According to the Multidimensional numerical each objective cross situation is calculated corresponding to expectation bid ranges, wherein
The objective cross situation meets the precondition that the corresponding attribute of the strategy names is essential option;
Practical bid results corresponding with objective cross situation described in each are obtained, judge that the practical bid results are
It is no to fall into the corresponding expectation bid ranges;
If the practical bid results are fallen into the corresponding expectation bid ranges, it is determined that the practical bid knot
The bid logic of fruit is correct.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the dispensing because
Attached bag, which includes, launches weight and launches range, described to construct Multidimensional numerical according to the dispensing strategy and the dispensing factor, comprising:
Tactful array is launched according to the strategy names and the corresponding attribute building of the strategy names;
Factor array is launched according to the dispensing weight and dispensing range building;
The Multidimensional numerical is constructed based on the tactful array of the dispensing and the dispensing factor array.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described according to institute
It states Multidimensional numerical and expectation bid ranges corresponding to each objective cross situation is calculated, comprising:
Preset objective function is called, it is all groups of the array that the objective function, which is used to export the array of input,
Close situation;
The Multidimensional numerical is input in preset objective function, all combined situations of the Multidimensional numerical are obtained,
And each objective cross situation is obtained according to all combined situations, wherein the objective cross situation meets the plan
Omit the precondition that the corresponding attribute of name is essential option;
The main demand of targeted advertisements relevant to objective cross situation described in each is configured, according to the main need of the targeted advertisements
It asks to obtain expectation bid ranges corresponding to each described objective cross situation.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, the strategy names
Including policy elements, the configuration main demand of targeted advertisements relevant to objective cross situation described in each, according to the mesh
Mark advertiser demand obtains expectation bid ranges corresponding to each described objective cross situation, comprising:
Each described objective cross situation is matched with advertiser demand, the advertiser demand that it fails to match is sieved
It removes, the advertiser demand after screening out is determined as the main demand of the targeted advertisements, wherein described it fails to match refers to the advertisement
There is no the policy elements that dispensing weight described in the combined situation is 1 in main demand;
The expectation bid ranges, the expression formula of the expectation bid ranges are calculated according to the main demand of the targeted advertisements
Are as follows: x=P (k1*a1*b1+k2*a2*b2+k3*a3*b3+....+kn*an*bn)/(k1+k2+k3+...+kn), wherein P table
Show default bid, an indicates that n-th of policy elements, kn indicate the dispensing weight of n-th of policy elements, and bn indicates n-th of strategy
The matching degree of element.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, it is described acquisition with
The corresponding practical bid results of each described objective cross situation, comprising:
The main demand of targeted advertisements relevant to objective cross situation described in each is input to the advertiser demand side
In the test interface of platform, wherein the test interface includes computing module;
The relevant to objective cross situation described in each of the test interface output is obtained according to the computing module
Practical bid results corresponding to the main demand of targeted advertisements.
The aspect and any possible implementation manners as described above, it is further provided a kind of implementation, if described in institute
It states practical bid results to fall into the corresponding expectation bid ranges, it is determined that the bid logic of the practical bid results
After correct, further includes:
Counting the bid logic is that the correct practical bid results are shared in all practical bid results
Ratio;
If the shared ratio is greater than preset threshold, it is determined that the bid logic of the advertiser demand method platform accords with
Close design requirement.
Second aspect, the embodiment of the invention provides a kind of bid logic testing devices, comprising:
Launch strategy and launch because of sub-acquisition module, for obtain the dispensing strategy of advertiser demand side's platform and launch because
Son, the dispensing strategy includes strategy names and attribute corresponding with the strategy names;
Multidimensional numerical constructs module, described for constructing Multidimensional numerical according to the dispensing strategy and the dispensing factor
Multidimensional numerical includes described each combined situation for launching strategy and the dispensing factor composition;
It is expected that bid ranges obtain module, for each objective cross situation institute to be calculated according to the Multidimensional numerical
Corresponding expectation bid ranges, wherein the combined situation meets the premise item that the corresponding attribute of the strategy names is essential option
Part;
Practical bid results discrimination module, for obtaining practical bid knot corresponding with objective cross situation described in each
Fruit, judges whether the practical bid results fall into the corresponding expectation bid ranges;
Bid logic confirmation module, for being fallen into the corresponding expectation bid ranges when the practical bid results
When, determine that the bid logic of the practical bid results is correct.
The third aspect, a kind of computer equipment, including memory, processor and storage are in the memory and can be
The computer program run on the processor, the processor realize that above-mentioned bid logic is surveyed when executing the computer program
The step of method for testing.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, comprising: computer is executable to be referred to
The step of order, the computer program realizes above-mentioned bid logic test method when being executed by processor.
In embodiments of the present invention, the dispensing strategy of advertiser demand side's platform is obtained first and launches the factor, according to institute
State dispensing strategy and the dispensings factor construct Multidimensional numerical, it is possible to understand that ground, using launch strategy and launch the factor can be by
The case where all advertisements are launched all is set out to come and be combined, it can be ensured that all bid logics are covered when test;Then
According to the Multidimensional numerical each objective cross situation is calculated corresponding to expectation bid ranges, wherein the target
Combined situation meets the precondition that the corresponding attribute of the strategy names is essential option, is calculated by each objective cross situation
Corresponding expectation bid ranges, can be based on desired bid ranges judgement bid logic;Finally obtain and each described target
The corresponding practical bid results of combined situation, judge whether the practical bid results fall into corresponding expectation bid model
In enclosing;If the practical bid results are fallen into the corresponding expectation bid ranges, it is determined that the practical bid results
Bid logic be it is correct, can be each target group by that will it is expected bid ranges and practical bid results are compared
It closes situation all to test one time, it can be ensured that cover all bid logics when test, obtain accurately and effectively test result.
[Detailed description of the invention]
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this field
For those of ordinary skill, without any creative labor, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a flow chart of bid logic test method in one embodiment of the invention;
Fig. 2 is a schematic diagram of bid logic testing device in one embodiment of the invention;
Fig. 3 is a schematic diagram of computer equipment in one embodiment of the invention.
[specific embodiment]
For a better understanding of the technical solution of the present invention, being retouched in detail to the embodiment of the present invention with reference to the accompanying drawing
It states.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall within the protection scope of the present invention.
The term used in embodiments of the present invention is only to be not intended to be limiting merely for for the purpose of describing particular embodiments
The present invention.In the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the"
It is also intended to including most forms, unless the context clearly indicates other meaning.
It should be appreciated that term "and/or" used herein is only a kind of identical field for describing affiliated partner, table
Show there may be three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, individualism B this three
Kind situation.In addition, character "/" herein, typicallys represent the relationship that forward-backward correlation object is a kind of "or".
It will be appreciated that though default model may be described using term first, second, third, etc. in embodiments of the present invention
It encloses, but these preset ranges should not necessarily be limited by these terms.These terms are only used to for preset range being distinguished from each other out.For example,
In the case where not departing from range of embodiment of the invention, the first preset range can also be referred to as the second preset range, similarly,
Second preset range can also be referred to as the first preset range.
Depending on context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determination " or " in response to detection ".Similarly, depend on context, phrase " if it is determined that " or " if detection
(condition or event of statement) " can be construed to " when determining " or " in response to determination " or " when the detection (condition of statement
Or event) when " or " in response to detection (condition or event of statement) ".
Fig. 1 shows a flow chart of logic test method of bidding in the present embodiment.The bid logic test method can be applied
In bid logic testing system, the bid logic testing system can be used in the bid logic of the main party in request's platform of test advertisements
System is realized.The bid logic testing system specifically can be applicable in computer equipment, wherein the computer equipment is can be with user
The equipment for carrying out human-computer interaction, the including but not limited to equipment such as computer, smart phone and plate.As shown in Figure 1, the bid logic
Test method includes the following steps:
S10: obtaining the dispensing strategy of advertiser demand side's platform and launches the factor, and launching strategy includes strategy names and and plan
The slightly corresponding attribute of name.
It is to be appreciated that advertiser demand side's platform provides for advertiser across medium, cross-platform, cross-terminal advertisement dispensing
Platform can support different dispensing strategies for different advertiser demand side's platforms, for example, flow channel, launch industry,
Domain and advertisement position bid mode etc., meanwhile, different dispensing strategies has the different dispensing factors, codetermines with strategy is launched
Bid results.
Specifically, the dispensing strategy of advertiser demand side's terrace part and the relationship of the dispensing factor are as shown in table 1:
Table 1
In one embodiment, it obtains the dispensing strategy of advertiser demand side's platform and launches the factor, advertiser can be needed
All dispensing strategies supported of the side's of asking platform and with launch policy-related (noun) launch the factor all sort out come, for test when cover
It covers all bid logics and the basis realized is provided.
S20: according to launching strategy and launching factor building Multidimensional numerical, Multidimensional numerical includes launching strategy and the dispensing factor
Each combined situation constituted.
Wherein, Multidimensional numerical expression three-dimensional and its above array, i.e. array nesting array reach three-dimensional and its above
Array.
In one embodiment, further include as can be seen from Table 1 policy elements under dispensing strategy, launching under the factor
Further include launching weight and launching range, can not include all dispensing strategy and dispensing factor structure using three-dimensional array below
At combined situation, the present embodiment indicated by the way of Multidimensional numerical launch strategy and launch the factor constitute each combination
Situation indicates in computer equipment only with Multidimensional numerical, can compactly indicate to launch strategy and launch because
Each combined situation that son is constituted improves test effect with the subsequent quick calculating according to Multidimensional numerical progress about bid
Rate.
Further, in step S20, the dispensing factor includes launching weight and launching range, according to dispensing strategy and is thrown
Factor building Multidimensional numerical is put, is specifically included:
S21: tactful array is launched according to strategy names and the corresponding attribute building of strategy names.
In one embodiment, the corresponding attribute of different strategy names may be different, such as the entitled dispensing channel of strategy
Attribute is essential option, and the attribute of the entitled region of strategy is that optionally item, default are unlimited.Due to the different corresponding attributes of strategy names
It may be different, therefore can be using strategy names and the corresponding attribute of strategy names as the element of building array, according to strategy
It is to launch tactful array that name attribute corresponding with strategy names, which is the array that element constructs,.The dispensing strategy array enumerates institute
There is the situation for launching strategy, can further construct the Multidimensional numerical including all combined situations based on the dispensing strategy array.
S22: factor array is launched according to launching weight and launching range building.
In one embodiment, launching the factor includes launching weight and launching range, and such as entitled dispensing channel of strategy is corresponding
Launching weight is 1, and launching range is one or more.Difference, which launches the dispensing weight between the factor and launches range, can be phase
Same being also possible to is different.The present embodiment will launch weight and launch range as the element of building array, and building is thrown
Put factor array.The case where dispensing factor array enumerates all dispensing factors, can be according to the dispensing factor array into one
Step building includes the Multidimensional numerical of all combined situations.
S23: Multidimensional numerical is constructed based on launching tactful array and launching factor array.
It is to be appreciated that each, which launches policy elements, only corresponds to a dispensing factor elements, it therefore, can be according to dispensing plan
Slightly element and the corresponding relationship launched between factor elements constructs Multidimensional numerical, wherein constructs the element of Multidimensional numerical to launch
Element composed by policy elements and corresponding dispensing factor elements.For example, the element of a Multidimensional numerical is to launch strategy to be
The entitled dispensing channel of strategy, the corresponding attribute of strategy names is essential option and dispensing weight is 1, and it is one or more for launching range
Launch element composed by the factor.
In one embodiment, construct Multidimensional numerical by launching tactful array and launching factor array, can will it is all extensively
It accuses the case where launching all to be set out to come and be combined, it can be ensured that cover all bid logics when test.
It should be noted that the bidding algorithm of advertiser demand side's platform is there are many multiplicity, it is more complicated.Tester
All dispensing strategies and the dispensing factor that can be supported from advertiser demand side's platform in the case where not knowing about bidding algorithm
Angle set out, cover all bid logics, obtain reliable test result.
In step S21-S23, a kind of specific embodiment for constructing Multidimensional numerical is provided, it can using the Multidimensional numerical
Succinctly indicate all combined situations, it can be ensured that all bid logics are covered when test.
S30: according to Multidimensional numerical each objective cross situation is calculated corresponding to expectation bid ranges, wherein
Objective cross situation meets the precondition that the corresponding attribute of strategy names is essential option.
It is to be appreciated that all combined situations can be set out according to Multidimensional numerical, but not all combination feelings
Condition can all occur when carrying out advertisement dispensing.It specifically, is necessary Xiang Shicai when combined situation meets the corresponding attribute of strategy names
Think that the combined situation meets actual conditions when advertisement is launched, meeting the corresponding attribute of strategy names for this combined situation is
Must the combined situation of item be known as objective cross situation.
In one embodiment, according to Multidimensional numerical each objective cross situation is calculated corresponding to expectation bid model
It encloses, the correctness of bid logic can be judged based on desired bid ranges.
Further, in step s 30, according to Multidimensional numerical each objective cross situation is calculated corresponding to the phase
It hopes bid ranges, specifically includes:
S31: calling preset objective function, and objective function is used to the array of input exporting all combination feelings for array
Condition.
It is to be appreciated that can indicate to launch strategy in Multidimensional numerical and launch each combined situation of factor composition,
It is indicated in computer equipment only with a Multidimensional numerical.
In one embodiment, in order to allow Multidimensional numerical that can automatically generate all combined situations, preset target letter is called
Number, the Multidimensional numerical of input to be exported to the array element to form in the Multidimensional numerical by the objective function (to launch plan
Slightly and launch the factor as array element) all combined situations.
S32: Multidimensional numerical is input in preset objective function, obtains all combined situations of Multidimensional numerical, and root
Each objective cross situation is obtained according to all combined situations, wherein objective cross situation meets the corresponding attribute of strategy names and is
The precondition of essential option.
In one embodiment, Multidimensional numerical is input in preset objective function, which will be according to multidimensional
The array element formed in array is combined, and is often obtained a kind of combined situation and is just exported, until exporting all combined situations.
It is every export a kind of combined situation when just according to the corresponding attribute of strategy names in combined situation be essential option precondition differentiate
Whether the combined situation of the output is objective cross situation, if so, retaining;Alternatively, after exporting all combined situations, root
Each objective cross situation is obtained according to the precondition that the corresponding attribute of strategy names in combined situation is essential option.By using
Preset objective function handles Multidimensional numerical, can obtain each objective cross situation, easily efficiently with basis
Each objective cross situation carries out the test of bid logic.
S33: the configuration main demand of targeted advertisements relevant to each objective cross situation is obtained according to the main demand of targeted advertisements
To expectation bid ranges corresponding to each objective cross situation.
It is to be appreciated that each objective cross situation reflection be corresponding advertiser demand, this specifically and certain
The corresponding advertiser demand of one objective cross situation is known as the main demand of targeted advertisements.Advertiser demand can be advertiser demand side
The practical demand for receiving and storing of platform is also possible to the pre-set advertiser demand for test.Advertiser demand is anti-
What is reflected is the objective cross situation that can be carried out, therefore advertiser demand can be used directly, be matched with objective cross situation
It sets.
It should be noted that a kind of objective cross situation can correspond to the main demand of multiple targeted advertisements, as strategy names are behaved
There is one in the policy elements of group for crowd's attribute (respectively male and female), (do not distinguished) when crowd's attribute is default,
The advertiser demand of male and female can be matched with objective cross situation, in actual test, can use one or more
A main demand of targeted advertisements matches a kind of objective cross situation, and it is corresponding only need to guarantee that each objective cross situation is all matched to
The main demand of targeted advertisements, to cover the dispensing strategy of advertiser demand side's Any and All Bid and launch the factor.
In one embodiment, the main demand of targeted advertisements relevant to each objective cross situation is configured, by meeting mesh
The main demand of targeted advertisements for marking combined situation calculates expectation bid ranges corresponding to objective cross situation, is bid by the expectation
Whether range can correct with the bid logic of validity test advertiser demand side platform.
In step S31-S33, a kind of specific embodiment for obtaining expectation bid ranges is provided, by using preset mesh
Scalar functions handle Multidimensional numerical, efficiently can easily obtain each objective cross situation, and configure and each
The main demand of the relevant targeted advertisements of objective cross situation, to carry out the test of bid logic according to each objective cross situation,
Whether the bid logic for capableing of validity test advertiser demand side platform is correct.
Further, strategy names include policy elements, in step S33, are configured related to each objective cross situation
The main demand of targeted advertisements, according to the main demand of targeted advertisements obtain each objective cross situation corresponding to expectation bid model
It encloses, specifically includes:
S331: each objective cross situation is matched with advertiser demand, by the advertiser demand that it fails to match
It screens out, the advertiser demand after screening out is determined as the main demand of targeted advertisements, wherein it fails to match refers in advertiser demand not
There are the policy elements that weight is 1 are launched in combined situation.
It is to be appreciated that every kind of advertiser demand only corresponds to a kind of objective cross situation.
In one embodiment, each objective cross situation is matched with advertiser demand, for what it fails to match
Advertiser demand will screen out, and when the policy elements that dispensing weight is 1 in combined situation are not present in advertiser demand, can recognize
For it fails to match, for example, there is no policy elements in advertiser demand if objective cross situation includes policy elements Beijing
Pekinese will be screened out.After matching process progress advertiser demand screens out again, it will obtain corresponding to each objective cross situation
The main demand of targeted advertisements.Pass through the matching and can quickly determine the main demand of targeted advertisements by way of being screened.
S332: expectation bid ranges are calculated according to the main demand of targeted advertisements, it is expected that the expression formula of bid ranges are as follows: x=P
(k1*a1*b1+k2*a2*b2+k3*a3*b3+...+kn*an*bn)/(k1+k2+k3+...+kn), wherein P expression is defaulted out
Valence, an indicate that n-th of policy elements, kn indicate the dispensing weight of n-th of policy elements, and bn indicates of n-th of policy elements
With degree.
It is to be appreciated that P indicates that initial default bid, default bid can be understood as not by dispensing strategy and throwing
Put the initial bid under Effects of Factors.Matching degree refers to matching degree of the policy elements based on actual conditions, for example, crowd's attribute
Selection be male, and enter in the main demand of targeted advertisements ginseng user be unknown gender and equal default user male to female ratio when,
Matching degree can be set to 50%.
Specifically, it is assumed that default bid is 1 yuan, and crowd's attributes match degree is 60%, and way of paying matching degree 100% is competing
Expectation bid=(1*60%*0.5+ can be calculated then by table 1 in valence history match degree 90%, history bid matching degree 110%
1*100%*0.1+1*90%*0.2+1*110%*0.2)/(0.5+0.1+0.2+0.2)=0.8 yuan, in the base of expectation bid
On plinth, for allowable error range between ± 0.2 yuan, then the expectation bid ranges obtained are [0.6,1].Wherein, history bid
Indicate that bid should reach the 110% of history bid (in case of market appreciate) according to the actual situation with degree 110%.
In one embodiment, expectation bid ranges are calculated according to the main demand of targeted advertisements, can be bid model by the expectation
Whether the bid logic for being with the effect main party in request's platform of test advertisements is correct.
S40: practical bid results corresponding with each objective cross situation are obtained, judge whether practical bid results fall
Enter in corresponding expectation bid ranges.
It is to be appreciated that expectation bid ranges are the bid ranges of a reference, judge that advertiser demand side's platform needs
To use practical bid results.
In one embodiment, practical bid results corresponding with each objective cross situation are obtained, according to practical bid
As a result whether fall into corresponding expectation bid ranges and the bid logic of advertiser demand side is judged.
Further, in step s 40, practical bid results corresponding with each objective cross situation are obtained, specifically
Include:
S41: the main demand of targeted advertisements relevant to each objective cross situation is input to advertiser demand side's platform
Test interface in, wherein test interface includes computing module.
S42: the targeted advertisements relevant to each objective cross situation of test interface output are obtained according to computing module
Practical bid results corresponding to main demand.
In step S41-S42, obtains practical bid results and realized by the test interface of advertiser demand side's platform.It can be with
With understanding, platform specific bidding algorithm in advertiser demand side's is unknowable for tester, is equivalent to flight data recorder, is tested
Personnel also need not know about the specific bidding algorithm of advertiser demand side's platform, need to only input target relevant to objective cross situation
Advertiser demand allows computing module to calculate and exports practical bid results, which can be with expectation
Bid ranges are compared, and whether the bid logic to judge advertiser demand side's platform is correct.In addition, if being stored in database
The practical bid results for having the main demand of targeted advertisements relevant to objective cross situation to export in advertiser demand side's platform, can be with
Directly use.
S50: if practical bid results are fallen into corresponding expectation bid ranges, it is determined that the bid of practical bid results
Logic is correct.
When practical bid results are fallen into corresponding expectation bid ranges, then it is assumed that the practical bid that this time is compared
The result is that meeting bid logic.
Further, in step s 50, if being fallen into practical bid results in corresponding expectation bid ranges, really
After the bid logic of fixed practical bid results is correct, further includes:
S51: statistics bid logic is correct practical bid results ratio shared in all practical bid results.
S52: if shared ratio is greater than preset threshold, it is determined that the bid logic of advertiser demand method platform, which meets, to be set
Meter requires.
Step S51-S52 is the test result for obtain after bid logic testing to all practical bid results, for
Whether certain specific practical bid results, which are that bid is logically true, is not relevant for, as long as bid logic is correctly to go out in all reality
Shared ratio is greater than preset threshold (such as 90%) in valence result, then still thinks that the bid logic of advertiser demand side's platform is
Correctly, meet business need.
In embodiments of the present invention, the dispensing strategy of advertiser demand side's platform is obtained first and launches the factor, according to throwing
Put strategy and dispensing factor building Multidimensional numerical, it is possible to understand that ground, it can be by all advertisements using dispensing strategy and the dispensing factor
The case where dispensing, which is all set out, to be come and is combined, it can be ensured that all bid logics are covered when test;Then according to multidimensional
Expectation bid ranges corresponding to each objective cross situation are calculated in array, wherein objective cross situation meets strategy
The corresponding attribute of name is the precondition of essential option, calculates corresponding expectation bid ranges by each objective cross situation,
It can be based on desired bid ranges judgement bid logic;Finally obtain practical bid knot corresponding with each objective cross situation
Fruit, judges whether practical bid results fall into corresponding expectation bid ranges;If practical bid results fall into corresponding
It is expected that in bid ranges, it is determined that the bid logic of practical bid results be it is correct, by that will it is expected bid ranges and actually go out
Valence result is compared, each objective cross situation can all be tested one time, it can be ensured that covered when test it is all go out
Valence logic obtains accurately and effectively test result.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Based on bid logic test method provided in embodiment, the embodiment of the present invention, which further provides, realizes above-mentioned side
The Installation practice of each step and method in method embodiment.
Fig. 2 shows the principle frames for logic testing device of bidding correspondingly with logic test method of bidding in embodiment
Figure.As shown in Fig. 2, the bid logic testing device includes launching strategy and launching because sub-acquisition module 10, Multidimensional numerical construct
Module 20, expectation bid ranges obtain module 30, practical bid results discrimination module 40 and bid logic confirmation module 50.Its
In, it launches strategy and launches because sub-acquisition module 10, Multidimensional numerical construct module 20, expectation bid ranges obtain module 30, real
It bids logic test method in the realization function and embodiment of border bid results discrimination module 40 and logic confirmation module 50 of bidding
Corresponding step corresponds, and to avoid repeating, the present embodiment is not described in detail one by one.
It launches strategy and launches because of sub-acquisition module 10, for obtaining dispensing strategy and the dispensing of advertiser demand side's platform
The factor, the dispensing strategy includes strategy names and attribute corresponding with the strategy names.
Multidimensional numerical constructs module 20, for constructing Multidimensional numerical, institute according to the dispensing strategy and the dispensing factor
Stating Multidimensional numerical includes described each combined situation for launching strategy and the dispensing factor composition.
It is expected that bid ranges obtain module 30, for each objective cross situation to be calculated according to the Multidimensional numerical
Corresponding expectation bid ranges, wherein the combined situation meets the premise that the corresponding attribute of the strategy names is essential option
Condition.
Practical bid results discrimination module 40, for obtaining practical bid corresponding with objective cross situation described in each
As a result, judging whether the practical bid results fall into the corresponding expectation bid ranges.
Bid logic confirmation module 50, for falling into the corresponding expectation bid ranges when the practical bid results
When interior, determine that the bid logic of the practical bid results is correct.
Optionally, Multidimensional numerical building module 20 is including launching tactful array construction unit, launching factor array building list
Member and Multidimensional numerical construction unit.
Tactful array construction unit is launched, for launching according to the strategy names and the corresponding attribute building of the strategy names
Tactful array.
Factor array construction unit is launched, for launching according to the dispensing weight and dispensing range building because of subnumber
Group.
Multidimensional numerical construction unit, for described more based on the tactful array of the dispensing and dispensing factor array building
Dimension group.
Optionally, it is expected that it includes objective function call unit, objective cross situation acquisition list that bid ranges, which obtain module 30,
Member and desired bid ranges acquiring unit.
Objective function call unit, for calling preset objective function, the objective function is used for the array that will be inputted
Output is all combined situations of the array.
Objective cross situation acquiring unit obtains institute for the Multidimensional numerical to be input in preset objective function
All combined situations of Multidimensional numerical are stated, and obtain each objective cross situation according to all combined situations, wherein institute
It states objective cross situation and meets the precondition that the corresponding attribute of the strategy names is essential option.
It is expected that bid ranges acquiring unit, for configuring targeted advertisements master relevant to objective cross situation described in each
Demand, according to the main demand of the targeted advertisements obtain each described objective cross situation corresponding to expectation bid ranges.
Optionally, strategy names include policy elements.
Optionally, it is expected that bid ranges acquiring unit includes that the main demand of targeted advertisements determines subelement and desired bid ranges
Obtain subelement.
The main demand of targeted advertisements determines subelement, is used for each objective cross situation and advertiser demand progress
Match, the advertiser demand that it fails to match screened out, the advertiser demand after screening out is determined as the main demand of the targeted advertisements,
In, it fails to match refers to that there is no the strategies that dispensing weight described in the combined situation is 1 in the advertiser demand
Element.
It is expected that bid ranges obtain subelement, for calculating the expectation bid ranges, phase according to the main demand of targeted advertisements
Hope the expression formula of bid ranges are as follows: x=P (k1*a1*b1+k2*a2*b2+k3*a3*b3+....+kn*an*bn)/(k1+k2+k3
+ ...+kn), wherein P indicates default bid, and an indicates that n-th of policy elements, kn indicate the dispensing power of n-th of policy elements
Weight, bn indicate the matching degree of n-th of policy elements.
Optionally, practical bid results discrimination module 40 includes input unit and practical bid results acquiring unit.
Input unit, for will the main demand of targeted advertisements relevant to objective cross situation described in each be input to it is described
In the test interface of advertiser demand side's platform, wherein the test interface includes computing module.
Practical bid results acquiring unit, for test interface output obtained according to the computing module with it is each
Practical bid results corresponding to the relevant main demand of targeted advertisements of the kind objective cross situation.
Optionally, the bid logic testing device further includes ratio acquisition unit and bid logic confirmation unit.
Ratio acquisition unit is the correct practical bid results in all realities for counting the bid logic
Shared ratio in the bid results of border.
Bid logic confirmation unit, for determining that the advertiser needs when the shared ratio is greater than preset threshold
The bid logic of method platform is asked to meet design requirement.
In embodiments of the present invention, the dispensing strategy of advertiser demand side's platform is obtained first and launches the factor, according to institute
State dispensing strategy and the dispensings factor construct Multidimensional numerical, it is possible to understand that ground, using launch strategy and launch the factor can be by
The case where all advertisements are launched all is set out to come and be combined, it can be ensured that all bid logics are covered when test;Then
According to the Multidimensional numerical each objective cross situation is calculated corresponding to expectation bid ranges, wherein the target
Combined situation meets the precondition that the corresponding attribute of the strategy names is essential option, is calculated by each objective cross situation
Corresponding expectation bid ranges, can be based on desired bid ranges judgement bid logic;Finally obtain and each described target
The corresponding practical bid results of combined situation, judge whether the practical bid results fall into corresponding expectation bid model
In enclosing;If the practical bid results are fallen into the corresponding expectation bid ranges, it is determined that the practical bid results
Bid logic be it is correct, can be each target group by that will it is expected bid ranges and practical bid results are compared
It closes situation all to test one time, it can be ensured that cover all bid logics when test, obtain accurately and effectively test result.
The present embodiment provides a computer readable storage medium, computer journey is stored on the computer readable storage medium
Sequence realizes logic test method of bidding in embodiment when the computer program is executed by processor, different herein to avoid repeating
One repeats.Alternatively, realizing in embodiment each module/mono- in logic testing device of bidding when the computer program is executed by processor
The function of member does not repeat one by one herein to avoid repeating.
Fig. 3 is the schematic diagram for the computer equipment that one embodiment of the invention provides.As shown in figure 3, the calculating of the embodiment
Machine equipment 60 includes: processor 61, memory 62 and is stored in the calculating that can be run in memory 62 and on processor 61
Machine program 63 realizes the bid logic test method in embodiment, to avoid when the computer program 63 is executed by processor 61
It repeats, does not repeat one by one herein.Alternatively, realizing that bid logic is surveyed in embodiment when the computer program 63 is executed by processor 61
Trial assembly set in the function of each model/unit do not repeated one by one herein to avoid repeating.
Computer equipment 60 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.
Computer equipment 60 may include, but be not limited only to, processor 61, memory 62.It will be understood by those skilled in the art that Fig. 3 is only
It is only the example of computer equipment 60, does not constitute the restriction to computer equipment 60, may include more more or less than illustrating
Component, perhaps combine certain components or different components, for example, computer equipment can also include input-output equipment,
Network access equipment, bus etc..
Alleged processor 61 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
Memory 62 can be the internal storage unit of computer equipment 60, such as the hard disk or interior of computer equipment 60
It deposits.Memory 62 is also possible to the plug-in type being equipped on the External memory equipment of computer equipment 60, such as computer equipment 60
Hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, memory 62 can also both including computer equipment 60 internal storage unit and also including
External memory equipment.Memory 62 is for storing other programs and data needed for computer program and computer equipment.It deposits
Reservoir 62 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of device are divided into different functional unit or module, to complete above description
All or part of function.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments
Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation
Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or
Replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all include
Within protection scope of the present invention.
Claims (10)
1. a kind of bid logic test method, which is characterized in that the described method includes:
Obtain the dispensing strategy of advertiser demand side's platform and launch the factor, dispensings strategy including strategy names and with the plan
The slightly corresponding attribute of name;
Construct Multidimensional numerical according to dispensing strategy and the dispensings factor, the Multidimensional numerical include dispensings it is tactful with
Described each combined situation launching the factor and constituting;
According to the Multidimensional numerical each objective cross situation is calculated corresponding to expectation bid ranges, wherein it is described
Objective cross situation meets the precondition that the corresponding attribute of the strategy names is essential option;
Practical bid results corresponding with objective cross situation described in each are obtained, judge whether the practical bid results fall
Enter in the corresponding expectation bid ranges;
If the practical bid results are fallen into the corresponding expectation bid ranges, it is determined that the practical bid results
Logic of bidding is correct.
2. the method according to claim 1, wherein the dispensing factor include launch weight and launch range,
It is described that Multidimensional numerical is constructed according to the dispensing strategy and the dispensing factor, comprising:
Tactful array is launched according to the strategy names and the corresponding attribute building of the strategy names;
Factor array is launched according to the dispensing weight and dispensing range building;
The Multidimensional numerical is constructed based on the tactful array of the dispensing and the dispensing factor array.
3. the method according to claim 1, wherein described be calculated each mesh according to the Multidimensional numerical
Mark expectation bid ranges corresponding to combined situation, comprising:
Preset objective function is called, the objective function is used to the array of input exporting all combination feelings for the array
Condition;
The Multidimensional numerical is input in preset objective function, all combined situations of the Multidimensional numerical, and root are obtained
Each objective cross situation is obtained according to all combined situations, wherein the objective cross situation meets the strategy names
Corresponding attribute is the precondition of essential option;
The main demand of targeted advertisements relevant to objective cross situation described in each is configured, is obtained according to the main demand of the targeted advertisements
To expectation bid ranges corresponding to objective cross situation described in each.
4. according to the method described in claim 3, it is characterized in that, the strategy names include policy elements, the configuration with it is every
A kind of relevant main demand of targeted advertisements of the objective cross situation, each is obtained according to the main demand of the targeted advertisements described in
Expectation bid ranges corresponding to objective cross situation, comprising:
Each described objective cross situation is matched with advertiser demand, the advertiser demand that it fails to match is screened out,
Advertiser demand after screening out is determined as the main demand of the targeted advertisements, wherein described it fails to match refers to the advertiser
There is no the policy elements that dispensing weight described in the combined situation is 1 in demand;
The expectation bid ranges, the expression formula of the expectation bid ranges are as follows: x=are calculated according to the main demand of the targeted advertisements
P (k1*a1*b1+k2*a2*b2+k3*a3*b3+....+kn*an*bn)/(k1+k2+k3+...+kn), wherein P indicates default
Bid, an indicate that n-th of policy elements, kn indicate the dispensing weight of n-th of policy elements, and bn indicates n-th of policy elements
Matching degree.
5. the method according to claim 1, wherein the acquisition is corresponding with objective cross situation described in each
Practical bid results, comprising:
The main demand of targeted advertisements relevant to objective cross situation described in each is input to advertiser demand side's platform
Test interface in, wherein the test interface includes computing module;
The target relevant to objective cross situation described in each of the test interface output is obtained according to the computing module
Practical bid results corresponding to advertiser demand.
6. according to claim 1 to method described in 5 any one, which is characterized in that if described in the practical bid results
It falls into the corresponding expectation bid ranges, it is determined that after the bid logic of the practical bid results is correct, also
Include:
Counting the bid logic is correct practical bid results ratio shared in all practical bid results
Example;
If the shared ratio is greater than preset threshold, it is determined that the bid logic of the advertiser demand method platform, which meets, to be set
Meter requires.
7. a kind of bid logic testing device, which is characterized in that described device includes:
It launches strategy and launches because of sub-acquisition module, for obtaining the dispensing strategy of advertiser demand side's platform and launching the factor,
The dispensing strategy includes strategy names and attribute corresponding with the strategy names;
Multidimensional numerical constructs module, for constructing Multidimensional numerical, the multidimensional according to the dispensing strategy and the dispensing factor
Array includes described each combined situation for launching strategy and the dispensing factor composition;
It is expected that bid ranges obtain module, corresponding to each objective cross situation is calculated according to the Multidimensional numerical
Expectation bid ranges, wherein the combined situation meet the corresponding attribute of the strategy names be essential option precondition;
Practical bid results discrimination module, for obtaining practical bid results corresponding with objective cross situation described in each,
Judge whether the practical bid results fall into the corresponding expectation bid ranges;
Bid logic confirmation module, for when the practical bid results fall into corresponding to the expectation bid ranges in when,
Determine that the bid logic of the practical bid results is correct.
8. device according to claim 7, which is characterized in that the Multidimensional numerical constructs module, comprising:
Tactful array construction unit is launched, for launching strategy according to the strategy names and the corresponding attribute building of the strategy names
Array;
Factor array construction unit is launched, for launching factor array according to the dispensing weight and dispensing range building;
Multidimensional numerical construction unit, for constructing the multidimensional number based on the tactful array of the dispensing and the dispensing factor array
Group.
9. a kind of computer equipment, including memory, processor and storage are in the memory and can be in the processor
The computer program of upper operation, which is characterized in that the processor realized when executing the computer program as claim 1 to
The step of any one of 6 bid logic test method.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In realizing the bid logic test method as described in any one of claim 1 to 6 when the computer program is executed by processor
Step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910421376.2A CN110362466A (en) | 2019-05-21 | 2019-05-21 | Bid logic test method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910421376.2A CN110362466A (en) | 2019-05-21 | 2019-05-21 | Bid logic test method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110362466A true CN110362466A (en) | 2019-10-22 |
Family
ID=68215199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910421376.2A Pending CN110362466A (en) | 2019-05-21 | 2019-05-21 | Bid logic test method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110362466A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111209201A (en) * | 2020-01-03 | 2020-05-29 | 恩亿科(北京)数据科技有限公司 | Advertisement putting test method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050144065A1 (en) * | 2003-12-19 | 2005-06-30 | Palo Alto Research Center Incorporated | Keyword advertisement management with coordinated bidding among advertisers |
US20110016015A1 (en) * | 2009-07-15 | 2011-01-20 | Alvaro Bolivar | System and method for verifying bidding price |
CN107153970A (en) * | 2017-04-24 | 2017-09-12 | 郑州埃文计算机科技有限公司 | A kind of bid and budget method of estimation towards real time bid advertisement |
CN107657486A (en) * | 2017-10-19 | 2018-02-02 | 厦门美柚信息科技有限公司 | A kind of advertisement placement method and device |
CN107705158A (en) * | 2017-10-20 | 2018-02-16 | 厦门笨鸟电子商务有限公司 | A kind of method that efficiency is launched based on orthogonal optimization lifting Internet advertising |
CN108053252A (en) * | 2017-12-21 | 2018-05-18 | 广州舜飞信息科技有限公司 | A kind of docking mode of reconfiguration program advertisement ecological chain |
-
2019
- 2019-05-21 CN CN201910421376.2A patent/CN110362466A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050144065A1 (en) * | 2003-12-19 | 2005-06-30 | Palo Alto Research Center Incorporated | Keyword advertisement management with coordinated bidding among advertisers |
US20110016015A1 (en) * | 2009-07-15 | 2011-01-20 | Alvaro Bolivar | System and method for verifying bidding price |
CN107153970A (en) * | 2017-04-24 | 2017-09-12 | 郑州埃文计算机科技有限公司 | A kind of bid and budget method of estimation towards real time bid advertisement |
CN107657486A (en) * | 2017-10-19 | 2018-02-02 | 厦门美柚信息科技有限公司 | A kind of advertisement placement method and device |
CN107705158A (en) * | 2017-10-20 | 2018-02-16 | 厦门笨鸟电子商务有限公司 | A kind of method that efficiency is launched based on orthogonal optimization lifting Internet advertising |
CN108053252A (en) * | 2017-12-21 | 2018-05-18 | 广州舜飞信息科技有限公司 | A kind of docking mode of reconfiguration program advertisement ecological chain |
Non-Patent Citations (3)
Title |
---|
ZHANG, HF ET.AL.: ""Managing Risk of Bidding in Display Advertising"", 《WSDM \'17: PROCEEDINGS OF THE TENTH ACM INTERNATIONAL CONFERENCE ON WEB SEARCH AND DATA MINING》, pages 581 - 590 * |
伊雯雯;: "基于多维特征组合逻辑回归模型的广告点击率预测", 通信技术, no. 09, pages 117 - 124 * |
徐升: ""基于淘宝平台的竞价广告自动投放系统设计与实现"", 《中国优秀硕士学位论文全文数据库 信息科技辑》, vol. 2016, no. 03, pages 138 - 2907 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111209201A (en) * | 2020-01-03 | 2020-05-29 | 恩亿科(北京)数据科技有限公司 | Advertisement putting test method and device |
CN111209201B (en) * | 2020-01-03 | 2023-08-25 | 恩亿科(北京)数据科技有限公司 | Advertisement putting test method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9524226B2 (en) | System and method for display of software quality | |
US9710257B2 (en) | System and method to map defect reduction data to organizational maturity profiles for defect projection modeling | |
CN110554958B (en) | Graph database testing method, system, device and storage medium | |
US20140013308A1 (en) | Application Development Environment with Services Marketplace | |
US20140013306A1 (en) | Computer Load Generator Marketplace | |
US20130282545A1 (en) | Marketplace for Monitoring Services | |
US20030177018A1 (en) | System for designing virtual prototypes | |
CN110147315A (en) | Concurrency performance test method, device, computer equipment and storage medium | |
CN110532185A (en) | Test method, device, electronic equipment and computer readable storage medium | |
CN110597719B (en) | Image clustering method, device and medium for adaptation test | |
CN110083526A (en) | Applied program testing method, device, computer installation and storage medium | |
CN111045932A (en) | Business system simulation processing method and device, electronic equipment and storage medium | |
US10229318B2 (en) | Activity-based robotic testing of wearable devices | |
CN109102324A (en) | Model training method, the red packet material based on model are laid with prediction technique and device | |
US7856500B2 (en) | Method for placing composite applications in a federated environment | |
CN110134585A (en) | System Test Plan generation method and terminal device | |
CN110362466A (en) | Bid logic test method, device, computer equipment and storage medium | |
EP4152715A1 (en) | Method and apparatus for determining resource configuration of cloud service system | |
US20230342699A1 (en) | Systems and methods for modeling and analysis of infrastructure services provided by cloud services provider systems | |
CN116662132A (en) | Evaluation method, virtual deployment method, computer device, and storage medium | |
CN111190817A (en) | Method and device for processing software defects | |
Dabkowski et al. | Network science enabled cost estimation in support of MBSE | |
CN112905435A (en) | Workload evaluation method, device and equipment based on big data and storage medium | |
US20150006342A1 (en) | Generating a Simulated Invoice | |
Brüseke et al. | Decision support via automated metric comparison for the palladio-based performance blame analysis |
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 |