CN108809751A - A kind of policy test method and device - Google Patents

A kind of policy test method and device Download PDF

Info

Publication number
CN108809751A
CN108809751A CN201810367042.7A CN201810367042A CN108809751A CN 108809751 A CN108809751 A CN 108809751A CN 201810367042 A CN201810367042 A CN 201810367042A CN 108809751 A CN108809751 A CN 108809751A
Authority
CN
China
Prior art keywords
test
strategy
tested
publication
account
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
Application number
CN201810367042.7A
Other languages
Chinese (zh)
Other versions
CN108809751B (en
Inventor
王晓宇
鄢雷
甘成
冯萌萌
张文佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weimeng Chuangke Network Technology China Co Ltd
Original Assignee
Weimeng Chuangke Network Technology China Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weimeng Chuangke Network Technology China Co Ltd filed Critical Weimeng Chuangke Network Technology China Co Ltd
Priority to CN201810367042.7A priority Critical patent/CN108809751B/en
Publication of CN108809751A publication Critical patent/CN108809751A/en
Application granted granted Critical
Publication of CN108809751B publication Critical patent/CN108809751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)

Abstract

This application discloses a kind of policy test methods, to solve in the prior art due to selecting the material corresponding to strategy to be tested time-consuming longer, and cause for the low problem of aggregation strategy testing efficiency.Method includes:According to the test request received, strategy to be tested corresponding with the test request is determined;The selection test material corresponding with the strategy to be tested in the material pond built in advance, wherein the material pond is built based on the tactful material attribute specification tested;Based on the test material, the strategy to be tested is tested.Disclosed herein as well is a kind of tactful test devices.

Description

A kind of policy test method and device
Technical field
This application involves field of computer technology more particularly to a kind of policy test methods and device.
Background technology
With the continuous development of Internet information technique, carrying out information recommendation to user by internet channels becomes more next It is more universal.And wherein, information flow putting mode launched by its personalization and precisely through target customer the characteristics of, gradually at For a kind of current data information putting mode being popular.
According to information flow putting mode, it is necessary first to specific aggregation strategy be arranged, to utilize the aggregation strategy pair Information is polymerize, to obtain with the accurate matched information category of user to be recommended, and then realized by the way of information flow The accurate information of the category is thrown to user to be recommended.
It is, in general, that pre-set information flow aggregation strategy will directly affect later use message stream mode into row information The accuracy of dispensing.Thus for the accuracy of utility message stream mode impression information, information flow put-on method is formal Before coming into operation, often it is required to test the aggregation strategy used in the information flow put-on method, to ensure the polymerization Policy logic is clear and correct.
In order to ensure the accuracy of the test result for aggregation strategy, generally require to have sent out in user before being tested The information for being suitble to the aggregation strategy to test is filtered out in the magnanimity information of cloth as possible.Those are used to carry out the information one of tactful test As be referred to as material.
However use aforesaid way selection for strategy test material when, on the one hand due to user publication information without The control of the tested test system of method, and then cause the matching of the material and strategy to be tested selected using the prior art poor, To be impacted to the accuracy of test result;Still further aspect is being received since the information data amount for needing to screen is larger To after test request, generally require to take a substantial amount of time to select material, to greatly reduce the test of aggregation strategy Efficiency.
Invention content
The embodiment of the present application provides a kind of policy test method, to solve in the prior art due to selecting plan to be tested Slightly corresponding material takes longer, and causes for the low problem of aggregation strategy testing efficiency.
The embodiment of the present application also provides a kind of tactful test device, to solve in the prior art due to be tested in selection Material corresponding to strategy is time-consuming longer, and causes for the low problem of aggregation strategy testing efficiency.
The embodiment of the present application uses following technical proposals:
A kind of policy test method, including:
According to the test request received, strategy to be tested corresponding with the test request is determined;
The selection test material corresponding with the strategy to be tested in the material pond built in advance, wherein the material Pond is built based on the material attribute specification that strategy is tested;
Based on the test material, the strategy to be tested is tested.
A kind of strategy test device, including:
Request reception unit, for according to the test request received, determination to be corresponding with the test request to be tested Strategy;
Material selecting unit, for the selection tester corresponding with the strategy to be tested in the material pond built in advance Material, wherein the material pond is built based on the material attribute specification that strategy is tested;
Test cell tests the strategy to be tested for being based on the test material.
Above-mentioned at least one technical solution that the embodiment of the present application uses can reach following advantageous effect:
Using policy test method provided by the embodiments of the present application, according to the test request received, is determining and be somebody's turn to do Corresponding to test request it is to be tested strategy after, test system can be selected in the material pond built in advance with it is to be tested Test material corresponding to strategy, and then the strategy to be tested is tested based on those materials that test the speed.Due to determining After strategy to be tested, test system can be selected and the matched survey of strategy institute to be tested from the material pond having had been built up Material is tried, without after strategy to be tested is determined, just starting interim structure and tested material as the prior art Corresponding test material, on the one hand test material is abundant more than the material screened temporarily in the material pond that builds in advance, To under the preparation of sufficient test material, ensure the accuracy for tactful test result to be tested;Still further aspect, due to Material structure need not be carried out temporarily, to improve the efficiency of strategy test.
Description of the drawings
Attached drawing described herein is used for providing further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please do not constitute the improper restriction to the application for explaining the application.In the accompanying drawings:
Fig. 1 is a kind of idiographic flow schematic diagram of policy test method provided by the embodiments of the present application;
Fig. 2 is that each material account issues the aobvious of material in same account group in a kind of material pond provided by the embodiments of the present application Show design sketch;
Fig. 3 is a kind of concrete structure schematic diagram of tactful test device provided by the embodiments of the present application.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with the application specific embodiment and Technical scheme is clearly and completely described in corresponding attached drawing.Obviously, described embodiment is only the application one Section Example, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, shall fall in the protection scope of this application.
Below in conjunction with attached drawing, the technical solution that each embodiment of the application provides is described in detail.
A kind of policy test method provided by the embodiments of the present application, to solve in the prior art due to be tested in selection Material corresponding to strategy is time-consuming longer, and causes for the low problem of aggregation strategy testing efficiency.
The specific implementation flow schematic diagram of this method is as shown in Figure 1, mainly include the following steps:
Step 101, according to the test request received, strategy to be tested corresponding with the test request is determined;
After when backstage, developer writes out new information flow aggregation strategy, formally the information flow aggregation strategy is put into Before use, staff can test the aggregation strategy, to verify the accuracy of the aggregation strategy, to ensure to be based on The aggregation strategy and the accuracy of information flow formed.Before testing, backstage developer only needs to select in test system Go out aggregation strategy that needs to be tested, and then trigger test request, the to be tested of user's selection is carried in the test request Strategy identification information so that test system can according to the identification information, determine with it is to be measured corresponding to the test request Examination strategy.
Step 102, the selection test material corresponding with the strategy to be tested in the material pond built in advance;
Wherein, the material pond is built based on the material attribute specification that strategy is tested.
Test system can pre-set multiple account timings and carry out material publication in this application, and be sent out based on those accounts The advance construction material pond of material of cloth, specifically may be used following methods construction material pond in the embodiment of the present application:Setting At least one account group issues account in the account group comprising at least one material, and the material publication account is for carrying out Material is issued;Account is issued for each material, material content is respectively set;Timing release tasks are set, so that the material Material content is issued in the publication frequency that publication account is arranged according to the timing release tasks, timing;Account is issued based on material The material content of publication, construction material pond.
Wherein, it is made of multiple materials publication account in each account group, test system is that each account group is both provided with Timing release tasks carry out material publication so that each material issues account as unit of account group.
For example, account group 1 includes 6 material publication accounts, test system is appointed to the timing publication of account group setting Business carried out the publication of material for every 10 minutes, then 6 accounts in the account group can according to every 10 minutes frequencies into Material publication of row, i.e., each material publication account in the account group will issue 6 materials per hour, in such case Under, which can build 864 materials for 1 one days.
It should be noted that since those constructed daily materials of material publication account are for polymerizeing plan to information flow Slightly tested, and different aggregation strategy often has no requirement when being tested to institute's material, for the ease of for Different aggregation strategies matches different test materials, thus in construction material pond, often as needed to the category of material Property be configured, and then subsequently can be according to aggregation strategy to be tested to material requirement, in material pond select material attribute Satisfactory material selects to wait for described in the material pond built in advance in the embodiment of the present application as test material The corresponding test material of Test Strategy, can specifically include:According to the material configuration file of the strategy to be tested, determining and institute State the corresponding material attribute specification of strategy to be tested;In the material pond built in advance, material attribute is selected to meet described The material of material attribute specification is as test material.
Wherein, the material attribute includes but are not limited to following at least one:
1, the time attribute of material;
The time attribute of the material, as material publication account issue the time of the material (for ease of description hereinafter Referred to as issuing time).
For example, material issues account 1 distributed one material a of cloth 10 days 10: 20 March, then " 10 days 10: 20 March Point " time be material a time attribute.
In order to facilitate the time attribute searched corresponding to daily material, thus in construction material pond, usually by material pair The issuing time answered is recorded, and it is corresponding with the material be stored in material pond, in one embodiment, based on material send out The material of cloth account publication, construction material pond can specifically include:The issuing time of the material is recorded, and by institute State time attribute of the issuing time of material as the material;The issuing time of the material and the material is corresponded to and is protected It deposits, builds the material pond.
2, the contents attribute of material;
The contents attribute of the material, the as particular content of the material.For example material publication account can be issued periodically The material being made of contents such as word and pictures, then " picture and word " is exactly the corresponding contents attribute of this material.
And the material configuration file of strategy to be tested be the strategy developer pre-set, have recorded this plan Slightly when being tested, to testing the file of material attribute specification, thus testing system can be by reading the configuration file, really It is scheduled on which kind of test material the when of testing this strategy needs.
Based on above-mentioned some attributes that material has, then requirement of the strategy to be tested to material attribute can specifically include But it is not limited only to following several:
1, to the time requirement of material;
I.e. to the requirement of material issuing time, time requirement determination is generally recorded in the configuration file of strategy to be tested Rule, the i.e. requirement to testing material issuing time, such as, it is desirable that the material issued in two hours of past is as tester The material that material or requirement are issued in 24 hours in the past is as test material etc..What needs to be explained here is that for material Time requirement is usually that the test request received using step 101 initiates the moment as foundation, in the embodiment of the present application, works as object When expecting that attribute specification is time requirement, then in material pond, the material that material attribute meets the material attribute specification is selected to make To test material, can specifically include:Determine that the moment is initiated in the request of the test request;According to the request initiate the moment with And time requirement determines rule, determines the time requirement;In the material pond built in advance, issuing time is selected to meet The material content of the time requirement is as test material.
For example, test system had received the test request in relation to strategy a at 0 point March 3, through determining that strategy a needs The material issued in past 24 hours as test material, then the system of testing can according to the time for receiving test request, Test material of the material issued in 0 point of March 2 to this 24 hours 0 point of March 3 as strategy a is selected in material pond.
2, to the requirement of the content of material;
For example certain strategy needs to be that word adds the material of picture as test material, and other strategies may be needed using content Using the material that content is video as test material etc..
3, to the requirement of the time of material and content;
When strategy to be tested requires test material having time and content, then the system of testing can be wanted first according to the time Selection and the satisfactory material of time attribute in material pond are asked, and then according still further to content requirement, is selected in those materials Go out test material of the satisfactory material of contents attribute as the strategy to be tested.
For example, test system had received the test request in relation to strategy a at 0 point March 3, through determining that strategy a needs Issued in past 24 hours, content is that the material of video is used as test material, then the system of testing can be tested according to receiving The time of request selects issued in 0 point of March 2 to this 24 hours 0 point of March 3, content for the object of video in material pond Expect the test material as strategy a.
It also should be noted that in the embodiment of the present application, when in addition to that can be issued to the material of each account group Between be configured outer, developer can also according to actual needs, and the content issued to each material publication account is set It sets, for example is to carry out picture publication, video distribution, word publication or audio publication, or even it can also be to the category of material content Property be configured, for example material content is safe or non-security, and the content of publication be rubbish contents is also non-rubbish Rubbish content, etc..By issuing account for the different material in different account groups or even same account group, different materials is set Content is expected the type of content with material mediocre person abundant as much as possible, thereby may be ensured that regardless of strategy to be tested is directed to material In what have require, suitable test material can be found in the material pond.
For example, it is word and picture that can pre-set the content that each account is issued in account group 1, in addition herein On the basis of the contents of certain specified accounts publication safety in account group 1 can also be set, certain specified accounts issue suspected securities Content, and in addition certain specified accounts publication rubbish contents etc., then in this case, each material hair in account group 1 For cloth account by according to the advance publication for being set for specific content, such as certain materials publication account will issue " safe word And picture ", and some materials publication account will issue " word and picture of suspected security ", and in addition there are some materials to issue account Number it will issue " rubbish word and picture ", then in 24 hours, each material publication account is issued in the account group 1 material As shown in Figure 2.
Certainly in addition to this it is possible to which the material publication that multiple account groups carry out different contents is respectively set, for example, can be with Pre-set the word and image content of each material publication account publication safety in account group 1, each material in account group 2 The word and image content of account publication suspected security are issued, each material publication account in account group 3 issues rubbish word And image content, the video content of each material publication account publication safety in account group 4, each material in account group 5 Issue the video content etc. of account publication suspected security.
In addition there is also the need to explanations, past when testing those aggregation strategies for certain aggregation strategies The quantity for testing material is required toward meeting, such as when testing aggregation strategy b, it is desirable that use 800 test materials It is tested, it is assumed that test system started for 0 point March 1, issued the account group progress of account comprising 6 materials by one Material constructs, and the account group still carries out material construction according to the frequency of one material of publication in every 10 minutes, and test system is in March The whole test request received for aggregation strategy b at No. 1 12, and require to select in material pond material in 24 hours as Material is tested, and at this time if still constructing frequency according to material according to every 10 minutes one frequencies, only have altogether in material pond 432 materials, it is evident that the test selectable test material of system, which quantitatively much cannot be satisfied, in this case is directed to The test request of aggregation strategy b.
In order to avoid the above problem, no matter to ensure the tester for meeting quantitative requirement when can be selected in material pond Material carries out tactful test, and this programme also provides the make of the fixed material of a kind of number, can specifically include:It is sent out according to timing Cloth task determines material issuing time;When reaching the issuing time, each material publication account is carried out to having issued material After deletion, material publication is re-started.Under this kind of material make, material issue account can according to it is presetting when publication appoint Business issues the moment whenever reaching material, then deletes the announced material of the account, and issue certain amount of material again, and one Aspect ensure that the update to material, still further aspect then ensure that the material pond constructed at any time by the particular account number The fixation of middle material quantity.
Here the test request for aggregation strategy c is received with test system, and the test is to the quantity of test material It is required that for being 600, test system is still to start for 0 point March 1, issues the account of account comprising 6 materials by one Group carries out material construction according to the fixed mode of item number, and fixed material item number is set as by 100, and by timing release tasks It is set as every 30 minutes once.Then according to the setting, in the account group each material publication account every 30 minutes will will before 100 materials of publication are deleted, and issue 100 materials again, in this case, by the material pond constructed by the account group In preserve 600 materials always, thus asked even if test system receives the test for aggregation strategy c 1 point of March 1 It asks, it is desirable that select the material in 24 hours as test material in material pond, still there is the object of quantity abundance in the material pond Material is for testing Systematic selection.
Step 103:Based on by executing the selected test material of step 102, treats Test Strategy and tested.
Using policy test method provided by the embodiments of the present application, according to the test request received, is determining and be somebody's turn to do Corresponding to test request it is to be tested strategy after, test system can be selected in the material pond built in advance with it is to be tested Test material corresponding to strategy, and then the strategy to be tested is tested based on those materials that test the speed.Due to determining After strategy to be tested, test system can be selected and the matched survey of strategy institute to be tested from the material pond having had been built up Material is tried, without after strategy to be tested is determined, just starting interim structure and tested material as the prior art Corresponding test material, on the one hand test material is abundant more than the material screened temporarily in the material pond that builds in advance, To under the preparation of sufficient test material, ensure the accuracy for tactful test result to be tested;Still further aspect, due to Material structure need not be carried out temporarily, to improve the efficiency of strategy test.
The embodiment of the present application also provides a kind of tactful test devices, to solve in the prior art due to be measured in selection Material corresponding to examination strategy is time-consuming longer, and causes for the low problem of aggregation strategy testing efficiency.The specific knot of the device Structure schematic diagram is as shown in figure 3, include:Request reception unit 31, material selecting unit 32 and test cell 33.
Wherein, request reception unit 31, for according to the test request received, determination to be corresponding with the test request Strategy to be tested;
Material selecting unit 32, for the selection test corresponding with the strategy to be tested in the material pond built in advance Material, wherein the material pond is built based on the material attribute specification that strategy is tested;
Test cell 33 tests the strategy to be tested for being based on the test material.
In one embodiment, described device further includes material pond structural unit, is specifically used for:At least one account is set Number group issues account in the account group comprising at least one material, and the material publication account is for carrying out material publication;Needle Account is issued to each material, material content is respectively set;Be arranged timing release tasks so that the material issue account according to The publication frequency of the timing release tasks setting, periodically issues the material content;Based on material publication account publication Material content, construction material pond.
In one embodiment, material pond structural unit, is specifically used for:The issuing time of the material content is carried out Record, and the issuing time of the material content and the material content is corresponded to and is preserved, build the material pond.
In one embodiment, material selecting unit 32, is specifically used for:It is configured according to the material of the strategy to be tested File determines material attribute specification corresponding with the strategy to be tested;In the material pond built in advance, selection meets The material content of the corresponding material attribute specification is as test material.
In one embodiment, the material attribute specification includes:Time requirement;And/or content requirement;When the object When expecting that attribute specification is time requirement, material selecting unit 32 is specifically used for:When determining that the request of the test request is initiated It carves;The moment is initiated according to the request and time requirement determines rule, determines the time requirement;It is in advance built described In material pond, issuing time is selected to meet the material content of the time requirement as test material.
In one embodiment, material pond structural unit, is specifically used for:According to timing release tasks, determine that material is sent out The cloth time;When reaching the issuing time, each material publication account directly issues the material content, or, described in arrival When issuing time, each material issues account after deleting announced material content, issues material content again.
Using policy test method provided by the embodiments of the present application, according to the test request received, is determining and be somebody's turn to do Corresponding to test request it is to be tested strategy after, test system can be selected in the material pond built in advance with it is to be tested Test material corresponding to strategy, and then the strategy to be tested is tested based on those materials that test the speed.Due to determining After strategy to be tested, test system can be selected and the matched survey of strategy institute to be tested from the material pond having had been built up Material is tried, without after strategy to be tested is determined, just starting interim structure and tested material as the prior art Corresponding test material, on the one hand test material is abundant more than the material screened temporarily in the material pond that builds in advance, To under the preparation of sufficient test material, ensure the accuracy for tactful test result to be tested;Still further aspect, due to Material structure need not be carried out temporarily, to improve the efficiency of strategy test.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability Including so that process, method, commodity or equipment including a series of elements include not only those elements, but also wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that wanted including described There is also other identical elements in the process of element, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Above is only an example of the present application, it is not intended to limit this application.For those skilled in the art For, the application can have various modifications and variations.It is all within spirit herein and principle made by any modification, equivalent Replace, improve etc., it should be included within the scope of claims hereof.

Claims (12)

1. a kind of policy test method, which is characterized in that including:
According to the test request received, strategy to be tested corresponding with the test request is determined;
The selection test material corresponding with the strategy to be tested in the material pond built in advance, wherein the material pond is It is built based on the material attribute specification that strategy is tested;
Based on the test material, the strategy to be tested is tested.
2. according to the method described in claim 1, it is characterized in that, the method for advance construction material pond, specifically includes:
At least one account group is set, includes at least one material publication account, the material publication account in the account group For carrying out material publication;
Account is issued for each material, material content is respectively set;
Timing release tasks are set, so that the material issues the publication frequency that account is arranged according to the timing release tasks Rate periodically issues the material content;
Based on the material content of material publication account publication, construction material pond.
3. according to the method described in claim 2, it is characterized in that, based on the material publication account publication material content, Construction material pond, specifically includes:
The issuing time of the material content is recorded, and when by the publication of the material content and the material content Between it is corresponding preserve, build the material pond.
4. according to the method described in claim 1, it is characterized in that, in the material pond built in advance selection with it is described to be tested The corresponding test material of strategy, specifically includes:
According to the material configuration file of the strategy to be tested, material attribute specification corresponding with the strategy to be tested is determined;
In the material pond built in advance, select the material content for meeting the corresponding material attribute specification as test Material.
5. according to the method described in claim 4, it is characterized in that, the material attribute specification includes:Time requirement, and/or Content requirement;
When the material attribute specification includes time requirement, then in the material pond built in advance, selection meets described The material content of corresponding material attribute specification is specifically included as test material:
Determine that the moment is initiated in the request of the test request;
The moment is initiated according to the request and time requirement determines rule, determines the time requirement;
In the material pond built in advance, issuing time is selected to meet the material content of the time requirement as tester Material.
6. according to the method described in claim 2, it is characterized in that, timing release tasks are arranged, so that the material is issued Publication frequency is arranged according to the timing release tasks in account, periodically issues the material content, specifically includes:
According to timing release tasks, material issuing time is determined;
When reaching the issuing time, each material publication account directly issues the material content, or, reaching the publication When the time, each material issues account after deleting announced material content, issues material content again.
7. a kind of strategy test device, which is characterized in that including:
Request reception unit, for according to the test request received, determining strategy to be tested corresponding with the test request;
Material selecting unit, for the selection test material corresponding with the strategy to be tested in the material pond built in advance, Wherein, the material pond is built based on the material attribute specification that strategy is tested;
Test cell tests the strategy to be tested for being based on the test material.
8. device according to claim 7, which is characterized in that described device further includes material pond structural unit, specific to use In:
At least one account group is set, includes at least one material publication account, the material publication account in the account group For carrying out material publication;
Account is issued for each material, material content is respectively set;
Timing release tasks are set, so that the material issues the publication frequency that account is arranged according to the timing release tasks Rate periodically issues the material content;
Based on the material content of material publication account publication, construction material pond.
9. device according to claim 8, which is characterized in that material pond structural unit is specifically used for:
The issuing time of the material content is recorded, and when by the publication of the material content and the material content Between it is corresponding preserve, build the material pond.
10. device according to claim 7, which is characterized in that material selecting unit is specifically used for:
According to the material configuration file of the strategy to be tested, material attribute specification corresponding with the strategy to be tested is determined;
In the material pond built in advance, select the material content for meeting the corresponding material attribute specification as test Material.
11. device according to claim 10, which is characterized in that the material attribute specification includes:Time requirement;With/ Or content requirement
When the material attribute specification is time requirement, material selecting unit is specifically used for:
Determine that the moment is initiated in the request of the test request;
The moment is initiated according to the request and time requirement determines rule, determines the time requirement;
In the material pond built in advance, issuing time is selected to meet the material content of the time requirement as tester Material.
12. device according to claim 8, which is characterized in that material pond structural unit is specifically used for:
According to timing release tasks, material issuing time is determined;
When reaching the issuing time, each material publication account directly issues the material content, or, reaching the publication When the time, each material issues account after deleting announced material content, issues material content again.
CN201810367042.7A 2018-04-23 2018-04-23 Policy testing method and device Active CN108809751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810367042.7A CN108809751B (en) 2018-04-23 2018-04-23 Policy testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810367042.7A CN108809751B (en) 2018-04-23 2018-04-23 Policy testing method and device

Publications (2)

Publication Number Publication Date
CN108809751A true CN108809751A (en) 2018-11-13
CN108809751B CN108809751B (en) 2020-10-23

Family

ID=64093918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810367042.7A Active CN108809751B (en) 2018-04-23 2018-04-23 Policy testing method and device

Country Status (1)

Country Link
CN (1) CN108809751B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211840A1 (en) * 2019-04-18 2020-10-22 第四范式(北京)技术有限公司 Material recommendation method and system
CN113763026A (en) * 2021-04-23 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for testing information delivery strategy

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202388A1 (en) * 2003-04-17 2011-08-18 Luby Michael J Method and system for analyzing the effectiveness of marketing strategies
CN102164311A (en) * 2010-12-02 2011-08-24 青岛海信传媒网络技术有限公司 Advertising strategy verification method, device and system
CN102385729A (en) * 2011-10-25 2012-03-21 北京亿赞普网络技术有限公司 Method and device for evaluating advertisement serving policy
CN102968370A (en) * 2012-11-26 2013-03-13 中国电信股份有限公司云计算分公司 Test data generating method and device
CN105610654A (en) * 2016-03-02 2016-05-25 合一网络技术(北京)有限公司 Server, and policy online test method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110202388A1 (en) * 2003-04-17 2011-08-18 Luby Michael J Method and system for analyzing the effectiveness of marketing strategies
CN102164311A (en) * 2010-12-02 2011-08-24 青岛海信传媒网络技术有限公司 Advertising strategy verification method, device and system
CN102385729A (en) * 2011-10-25 2012-03-21 北京亿赞普网络技术有限公司 Method and device for evaluating advertisement serving policy
CN102968370A (en) * 2012-11-26 2013-03-13 中国电信股份有限公司云计算分公司 Test data generating method and device
CN105610654A (en) * 2016-03-02 2016-05-25 合一网络技术(北京)有限公司 Server, and policy online test method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020211840A1 (en) * 2019-04-18 2020-10-22 第四范式(北京)技术有限公司 Material recommendation method and system
CN113763026A (en) * 2021-04-23 2021-12-07 北京沃东天骏信息技术有限公司 Method and device for testing information delivery strategy

Also Published As

Publication number Publication date
CN108809751B (en) 2020-10-23

Similar Documents

Publication Publication Date Title
US11301136B2 (en) Capacity forecasting based on capacity policies and transactions
CN107196989A (en) A kind of processing method and processing device of service request
CN107040582A (en) A kind of data processing method and device
WO2020108419A1 (en) Block confirmation method, device and storage medium
CN110177079A (en) The calling system and call method of intelligent contract
CN106897342A (en) A kind of data verification method and equipment
CN109598407A (en) A kind of execution method and device of operation flow
CN106681867B (en) A kind of test method and device
CN108717468A (en) A kind of data-updating method, device, medium and electronic equipment
CN109064325A (en) A kind of intelligent contract implementation method and device based on block chain
CN104714957B (en) A kind of variation and device of table structure
WO2021057482A1 (en) Method and device for generating bloom filter in blockchain
CN108809751A (en) A kind of policy test method and device
CN107045695A (en) A kind of invoice new line information variation, device and managing bill system
CN109672752A (en) The synchronous method of data and node
CN110062029A (en) Change data synchronous method, apparatus, computer equipment and computer storage medium
CN109033365A (en) A kind of data processing method and relevant device
CN110134701A (en) A kind of buffering benefit account method and device
CN105631718A (en) Object management method and device
Scheid et al. Policy-based blockchain selection
CN108874375A (en) A kind of implementation method and device of timer
CN110020074A (en) Determine the method and device of webpage turnover rate
CN106294700A (en) The storage of a kind of daily record and read method and device
CN110555682A (en) multi-channel implementation method based on alliance chain
CN109461088A (en) A kind of point single method, apparatus, medium and electronic equipment for saving work order from damage

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