CN108809751B - Policy testing method and device - Google Patents

Policy testing method and device Download PDF

Info

Publication number
CN108809751B
CN108809751B CN201810367042.7A CN201810367042A CN108809751B CN 108809751 B CN108809751 B CN 108809751B CN 201810367042 A CN201810367042 A CN 201810367042A CN 108809751 B CN108809751 B CN 108809751B
Authority
CN
China
Prior art keywords
strategy
account
test
time
tested
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810367042.7A
Other languages
Chinese (zh)
Other versions
CN108809751A (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

Images

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

The application discloses a strategy testing method, which is used for solving the problem that in the prior art, the testing efficiency of an aggregation strategy is low due to the fact that time consumption is long when materials corresponding to the strategy to be tested are selected. The method comprises the following steps: determining a to-be-tested strategy corresponding to a test request according to the received test request; selecting a test material corresponding to the strategy to be tested from a pre-constructed material pool, wherein the material pool is constructed based on material attribute requirements of strategy testing; and testing the strategy to be tested based on the test material. The application also discloses a strategy testing device.

Description

Policy testing method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to a policy testing method and apparatus.
Background
With the continuous development of internet information technology, information recommendation to users through internet channels becomes more and more common. The information flow delivery mode gradually becomes a popular data information delivery mode at present by virtue of the characteristics of personalized delivery and accurate direct delivery to target customers.
If an information flow delivery mode is adopted, a specific aggregation strategy needs to be set firstly, so that information is aggregated by using the aggregation strategy, information categories which are accurately matched with the user to be recommended are obtained, and then the information of the categories is accurately delivered to the user to be recommended by adopting the information flow mode.
Generally speaking, the preset information flow aggregation strategy will directly affect the accuracy of information delivery by means of information flow. Therefore, in order to ensure the accuracy of information delivery by using the information flow method, the aggregation strategy adopted in the information flow delivery method is often required to be tested before the information flow delivery method is put into use formally, so as to ensure that the logic of the aggregation strategy is clear and correct.
In order to ensure the accuracy of the test result aiming at the aggregation strategy, information suitable for the test of the aggregation strategy is screened out as much as possible from massive information issued by a user before the test. The information used to perform strategic testing is generally referred to as material.
However, when the materials for strategy testing are selected by adopting the above method, on one hand, the information issued by the user cannot be controlled by the testing system, so that the matching between the materials selected by adopting the prior art and the strategy to be tested is poor, and the accuracy of the testing result is influenced; on the other hand, because the amount of information data to be screened is large, after a test request is received, a large amount of time is often consumed to select materials, so that the test efficiency of the aggregation strategy is greatly reduced.
Disclosure of Invention
The embodiment of the application provides a strategy testing method, which is used for solving the problem that in the prior art, the testing efficiency of an aggregation strategy is low due to the fact that time consumption is long when materials corresponding to the strategy to be tested are selected.
The embodiment of the application further provides a strategy testing device, which is used for solving the problem that in the prior art, the testing efficiency of the aggregation strategy is low due to the fact that time consumption is long when materials corresponding to the strategy to be tested are selected.
The embodiment of the application adopts the following technical scheme:
a policy testing method, comprising:
determining a to-be-tested strategy corresponding to a test request according to the received test request;
selecting a test material corresponding to the strategy to be tested from a pre-constructed material pool, wherein the material pool is constructed based on material attribute requirements of strategy testing;
and testing the strategy to be tested based on the test material.
A policy testing apparatus comprising:
the device comprises a request receiving unit, a test request sending unit and a test result receiving unit, wherein the request receiving unit is used for determining a to-be-tested strategy corresponding to a test request according to the received test request;
the material selection unit is used for selecting a test material corresponding to the strategy to be tested from a pre-constructed material pool, wherein the material pool is constructed based on material attribute requirements of strategy testing;
and the testing unit is used for testing the strategy to be tested based on the testing material.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
by adopting the strategy testing method provided by the embodiment of the application, after the strategy to be tested corresponding to the test request is determined according to the received test request, the testing system can select the test material corresponding to the strategy to be tested from the pre-constructed material pool, and then the strategy to be tested is tested based on the speed measurement materials. After the strategy to be tested is determined, the testing system can select the testing material matched with the strategy to be tested from the built material pool, and does not need to temporarily build the testing material corresponding to the material to be tested after the strategy to be tested is determined as in the prior art, so that on one hand, the testing material in the pre-built material pool is far more sufficient than the temporarily screened material, and the accuracy of the testing result aiming at the strategy to be tested is ensured under the preparation of sufficient testing material; on the other hand, temporary material construction is not needed, so that the efficiency of strategy testing is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a policy testing method according to an embodiment of the present disclosure;
fig. 2 is a diagram illustrating a display effect of issuing materials by material accounts in the same account group in a material pool according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a policy testing apparatus according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
The strategy testing method provided by the embodiment of the application is used for solving the problem that in the prior art, the testing efficiency of the aggregation strategy is low due to the fact that time consumption is long when materials corresponding to the strategy to be tested are selected.
The specific implementation flow diagram of the method is shown in fig. 1, and mainly comprises the following steps:
step 101, determining a to-be-tested strategy corresponding to a test request according to the received test request;
after a background developer writes a new information flow aggregation strategy, before the information flow aggregation strategy is formally put into use, a worker can test the aggregation strategy to verify the accuracy of the aggregation strategy, so that the accuracy of the information flow formed based on the aggregation strategy is ensured. Before testing, a background developer only needs to select an aggregation strategy to be tested on a testing system, and then triggers a testing request, wherein the testing request carries identification information of a strategy to be tested selected by a user, so that the testing system can determine the strategy to be tested corresponding to the testing request according to the identification information.
102, selecting a test material corresponding to the to-be-tested strategy from a pre-constructed material pool;
wherein the material pool is constructed based on material property requirements of a strategic test.
In this application, a test system may preset a plurality of account numbers to issue materials at regular time, and construct a material pool in advance based on the materials issued by the account numbers, specifically, in this embodiment of the application, the following method may be adopted to construct the material pool: setting at least one account group, wherein the account group comprises at least one material issuing account, and the material issuing account is used for issuing materials; respectively setting material contents aiming at each material issuing account; setting a timed release task, so that the material release account releases material contents at regular time according to the release frequency set by the timed release task; and constructing a material pool based on the material content issued by the material issuing account.
Each account group is composed of a plurality of material issuing accounts, and the test system is provided with a timed issuing task for each account group, so that each material issuing account issues materials by taking the account group as a unit.
For example, an account group 1 includes 6 material issuance account numbers, and a timing issuance task set by the test system for the account group is to issue a material every 10 minutes, so that the 6 account numbers in the account group all issue a material once every 10 minutes, that is, each material issuance account number in the account group will issue 6 materials every hour, in which case, 864 materials can be constructed by the account group 1 a day.
It should be noted that, because the materials built by the material issuing account number every day are used for testing the information flow aggregation policy, and different aggregation policies often have different requirements on all the materials when testing, in order to facilitate matching different test materials for different aggregation policies, when building a material pool, attributes of the materials are often set as needed, and then subsequently, according to requirements of the aggregation policies to be tested on the materials, the materials with material attributes meeting the requirements are selected as test materials in the material pool, in this embodiment of the present application, the test materials corresponding to the strategies to be tested are selected in the pre-built material pool, which specifically may include: determining material attribute requirements corresponding to the to-be-tested strategies according to the material configuration files of the to-be-tested strategies; and selecting the material with the material property meeting the material property requirement as the test material in the pre-constructed material pool.
Wherein the material property includes but is not limited to at least one of the following:
1. the time attribute of the material;
the time attribute of the material is the time when the material is released by the material release account (for convenience of description, hereinafter referred to as release time).
For example, if the material release account 1 releases a material a at 10 o 'clock and 20 o' clock in 3 month, 10 o 'clock and 20 o' clock, the time "10 o 'clock and 20 o' clock in 3 month" is the time attribute of the material a.
In order to facilitate searching for the time attribute corresponding to each day of material, when constructing the material pool, the release time corresponding to the material is usually recorded and stored in the material pool corresponding to the material, and in an embodiment, the constructing the material pool based on the material released by the material release account may specifically include: recording the release time of the material, and taking the release time of the material as the time attribute of the material; correspondingly storing the materials and the release time of the materials, and constructing the material pool.
2. The content attribute of the material;
the content attribute of the material is the specific content of the material. For example, the material issuing account can issue a material composed of contents such as text and pictures at regular time, and the "text and picture" are the content attributes corresponding to the material.
The material configuration file of the strategy to be tested is a file which is preset by a developer of the strategy and records the attribute requirements of the tested material when the strategy is tested, so that the test system can determine what tested material is needed when the strategy is tested by reading the configuration file.
Based on the above attributes of the material, the requirements of the to-be-tested strategy on the material attributes may specifically include, but are not limited to, the following:
1. time requirements for the material;
that is, the requirement for the material release time, a time requirement determination rule is generally recorded in the configuration file of the policy to be tested, that is, the requirement for the test material release time, for example, the material released in the past two hours is required to be the test material, or the material released in the past 24 hours is required to be the test material, and so on. It should be noted here that the time requirement for the material is generally based on the initiation time of the test request received in step 101, in this embodiment of the present application, when the material attribute requirement is a time requirement, in the material pool, the material with the material attribute meeting the material attribute requirement is selected as the test material, which may specifically include: determining a request initiation moment of the test request; determining the time requirement according to the request initiating time and a time requirement determining rule; and selecting the material content with the release time meeting the time requirement as the test material in the pre-constructed material pool.
For example, the test system receives a test request about the policy a at the point 3/month/0, and determines that the policy a requires materials issued within the last 24 hours as test materials, the test system may select the materials issued within 24 hours from the point 3/month/0 to the point 3/month/0 in the material pool as the test materials of the policy a according to the time when the test request is received.
2. The content requirements on the materials are met;
for example, a certain policy needs to use a material with text and pictures as a test material, and other policies may need to use a material with video as a test material.
3. The time and content requirements of the materials;
when the strategy to be tested has time and content requirements for the test materials, the test system can select materials meeting the requirements of time attributes in the material pool according to the time requirements, and then select materials meeting the requirements of content attributes from the materials as the test materials of the strategy to be tested according to the content requirements.
For example, the test system receives a test request about the policy a at the point 3/month/0, and determines that the policy a requires the material with video content, which is released in the last 24 hours, as the test material, so that the test system can select the material with video content, which is released in the 24 hours from the point 3/month/0 to the point 3/month/0, as the test material of the policy a according to the time when the test request is received.
It should be further noted that, in the embodiment of the present application, in addition to setting the material issuing time of each account group, a developer may also set the content issued by each material issuing account according to actual needs, such as picture issuing, video issuing, text issuing, or audio issuing, and even may set the attribute of the material content, such as whether the material content is safe or non-safe, and whether the issued content is junk content or non-junk content, and so on. Different material contents are set for different account groups, even different material issuing account numbers in the same account group, so that the types of the material contents in the material pool are enriched as much as possible, and therefore, the appropriate test material can be found in the material pool no matter what requirements of the to-be-tested strategy are on the content of the material.
For example, it may be preset that contents issued by each account in the account group 1 are both characters and pictures, and on this basis, it may also be set that contents issued by some specified accounts in the account group 1 are secure, some specified accounts issue suspected secure contents, and some specified accounts issue spam contents, etc., in this case, each material issuing account in the account group 1 issues specific contents according to a preset setting, for example, some material issuing accounts issue "secure characters and pictures", some material issuing accounts issue "suspected secure characters and pictures", and some other material issuing accounts issue "spam characters and pictures", and in 24 hours, materials issued by each material issuing account in the account group 1 are as shown in fig. 2.
In addition, certainly, multiple account groups may be set to issue materials with different contents, for example, text and picture contents that each material issuing account in the account group 1 issues safely may be set in advance, text and picture contents that each material issuing account in the account group 2 issues suspected safety may be set in advance, junk text and picture contents may be issued by each material issuing account in the account group 3, video contents that each material issuing account in the account group 4 issues safely, video contents that each material issuing account in the account group 5 issues suspected safety, and the like.
It should be noted that, for some polymerization strategies, the amount of the test material is often required when the polymerization strategies are tested, for example, when testing the aggregation strategy b, 800 test materials are required to be used for testing, and if the test system starts at the 3 month 1 # 0 point, carrying out material construction through an account group comprising 6 material issuing accounts, carrying out material construction according to the frequency of issuing a material every 10 minutes, receiving a test request aiming at an aggregation strategy b by a test system at 3 months, 1 st and 12 th, and requiring to select the material in 24 hours as a test material in a material pool, at this time, if the frequency is still configured according to the materials according to the frequency of one every 10 minutes, the total number of the materials in the material pool is only 432, and it is obvious that the number of the selectable test materials of the test system in this case is far from meeting the test requirements of the polymerization strategy b.
In order to avoid the above problems and ensure that test materials meeting the quantity requirement can be selected in the material pool for strategic testing whenever, the present solution further provides a construction mode of a fixed number of materials, which may specifically include: determining material issuing time according to the timed issuing task; and when the release time is up, each material release account deletes the released material, and then material release is carried out again. In the material construction mode, the material issuing account issues tasks according to preset timing, and when the material issuing time is reached, the issued material of the account is deleted and a specific number of materials are issued again, so that on one hand, updating of the materials is guaranteed, and on the other hand, the number of the materials in the material pool constructed by the specific account is fixed at any time.
Taking the example that the test system receives a test request for the aggregation policy c, and the number requirement of the test on the test materials is 600, the test system still starts from the point of 1/0 in 3 months, performs material construction according to a fixed number of account groups including 6 material release account numbers, sets 100 to be the fixed number of the material, and sets the timed release task to be once every 30 minutes. According to the setting, every material issuing account number in the account group deletes 100 previously issued materials every 30 minutes and re-issues 100 materials, in this case, 600 materials are always stored in a material pool constructed by the account group, so that even if the test system receives a test request aiming at the aggregation strategy c at the point of No. 1/3 month, the materials in the material pool within 24 hours are required to be selected as test materials, and a sufficient number of materials are still in the material pool for the test system to select.
Step 103: the test strategy to be tested is tested based on the test material selected by performing step 102.
By adopting the strategy testing method provided by the embodiment of the application, after the strategy to be tested corresponding to the test request is determined according to the received test request, the testing system can select the test material corresponding to the strategy to be tested from the pre-constructed material pool, and then the strategy to be tested is tested based on the speed measurement materials. After the strategy to be tested is determined, the testing system can select the testing material matched with the strategy to be tested from the built material pool, and does not need to temporarily build the testing material corresponding to the material to be tested after the strategy to be tested is determined as in the prior art, so that on one hand, the testing material in the pre-built material pool is far more sufficient than the temporarily screened material, and the accuracy of the testing result aiming at the strategy to be tested is ensured under the preparation of sufficient testing material; on the other hand, temporary material construction is not needed, so that the efficiency of strategy testing is improved.
The embodiment of the application further provides a strategy testing device, which is used for solving the problem that in the prior art, the testing efficiency of the aggregation strategy is low due to the fact that time consumption is long when materials corresponding to the strategy to be tested are selected. The specific structural diagram of the device is shown in fig. 3, and the device comprises: a request receiving unit 31, a material selection unit 32 and a testing unit 33.
The request receiving unit 31 is configured to determine, according to a received test request, a to-be-tested policy corresponding to the test request;
the material selection unit 32 is configured to select a test material corresponding to the to-be-tested strategy from a pre-constructed material pool, where the material pool is constructed based on material attribute requirements of the strategy test;
and the testing unit 33 is used for testing the strategy to be tested based on the testing material.
In one embodiment, the apparatus further comprises a material tank construction unit, in particular for: setting at least one account group, wherein the account group comprises at least one material issuing account, and the material issuing account is used for issuing materials; respectively setting material contents aiming at each material issuing account; setting a timed release task, so that the material release account releases the material content at a fixed time according to the release frequency set by the timed release task; and constructing a material pool based on the material content issued by the material issuing account.
In one embodiment, the material pond building unit is specifically configured to: and recording the release time of the material content, correspondingly storing the material content and the release time of the material content, and constructing the material pool.
In one embodiment, the material selection unit 32 is specifically configured to: determining material attribute requirements corresponding to the to-be-tested strategies according to the material configuration files of the to-be-tested strategies; and selecting the material content meeting the corresponding material attribute requirement as a test material in the pre-constructed material pool.
In one embodiment, the material property requirements include: a time requirement; and/or content requirements; when the material property requirement is a time requirement, the material selecting unit 32 is specifically configured to: determining a request initiation moment of the test request; determining the time requirement according to the request initiating time and a time requirement determining rule; and selecting the material content with the release time meeting the time requirement as the test material in the pre-constructed material pool.
In one embodiment, the material pond building unit is specifically configured to: determining material issuing time according to the timed issuing task; and when the release time is up, each material release account directly releases the material content, or when the release time is up, each material release account deletes the released material content and releases the material content again.
By adopting the strategy testing method provided by the embodiment of the application, after the strategy to be tested corresponding to the test request is determined according to the received test request, the testing system can select the test material corresponding to the strategy to be tested from the pre-constructed material pool, and then the strategy to be tested is tested based on the speed measurement materials. After the strategy to be tested is determined, the testing system can select the testing material matched with the strategy to be tested from the built material pool, and does not need to temporarily build the testing material corresponding to the material to be tested after the strategy to be tested is determined as in the prior art, so that on one hand, the testing material in the pre-built material pool is far more sufficient than the temporarily screened material, and the accuracy of the testing result aiming at the strategy to be tested is ensured under the preparation of sufficient testing material; on the other hand, temporary material construction is not needed, so that the efficiency of strategy testing is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A policy testing method, comprising:
determining a to-be-tested strategy corresponding to a test request according to the received test request;
selecting a test material corresponding to the strategy to be tested from a pre-constructed material pool, wherein the material pool is constructed based on material attribute requirements of strategy testing;
testing the strategy to be tested based on the test material;
the method for constructing the material pool in advance specifically comprises the following steps:
setting at least one account group, wherein the account group comprises at least one material issuing account, and the material issuing account is used for issuing materials;
respectively setting material contents aiming at each material issuing account;
setting a timed release task, so that the material release account releases the material content at a fixed time according to the release frequency set by the timed release task;
and constructing a material pool based on the material content issued by the material issuing account.
2. The method according to claim 1, wherein constructing a material pool based on the material content issued by the material issuing account specifically includes:
and recording the release time of the material content, correspondingly storing the material content and the release time of the material content, and constructing the material pool.
3. The method according to claim 1, wherein selecting a test material corresponding to the strategy to be tested from a pre-constructed pool of materials specifically comprises:
determining material attribute requirements corresponding to the to-be-tested strategies according to the material configuration files of the to-be-tested strategies;
and selecting the material content meeting the corresponding material attribute requirement as a test material in the pre-constructed material pool.
4. The method of claim 3, wherein the material property requirements comprise: a time requirement, and/or a content requirement;
when the material attribute requirements include time requirements, selecting material contents meeting the corresponding material attribute requirements as test materials in the pre-constructed material pool, specifically including:
determining a request initiation moment of the test request;
determining the time requirement according to the request initiating time and a time requirement determining rule;
and selecting the material content with the release time meeting the time requirement as the test material in the pre-constructed material pool.
5. The method according to claim 1, wherein a timed distribution task is set, so that the material distribution account regularly distributes the material content according to a distribution frequency set by the timed distribution task, specifically including:
determining material issuing time according to the timed issuing task;
and when the release time is up, each material release account directly releases the material content, or when the release time is up, each material release account deletes the released material content and releases the material content again.
6. A policy testing apparatus, comprising:
the device comprises a request receiving unit, a test request sending unit and a test result receiving unit, wherein the request receiving unit is used for determining a to-be-tested strategy corresponding to a test request according to the received test request;
the material selection unit is used for selecting a test material corresponding to the strategy to be tested from a pre-constructed material pool, wherein the material pool is constructed based on material attribute requirements of strategy testing;
the testing unit is used for testing the to-be-tested strategy based on the testing material;
the device also comprises a material pool construction unit, which is specifically used for:
setting at least one account group, wherein the account group comprises at least one material issuing account, and the material issuing account is used for issuing materials;
respectively setting material contents aiming at each material issuing account;
setting a timed release task, so that the material release account releases the material content at a fixed time according to the release frequency set by the timed release task;
and constructing a material pool based on the material content issued by the material issuing account.
7. The device according to claim 6, characterized in that the material pond building unit is specifically configured to:
and recording the release time of the material content, correspondingly storing the material content and the release time of the material content, and constructing the material pool.
8. The device according to claim 6, characterized in that the material selection unit is specifically configured to:
determining material attribute requirements corresponding to the to-be-tested strategies according to the material configuration files of the to-be-tested strategies;
and selecting the material content meeting the corresponding material attribute requirement as a test material in the pre-constructed material pool.
9. The apparatus of claim 8, wherein the material property requirements comprise: a time requirement; and/or content requirements;
when the material attribute requirement is a time requirement, the material selection unit is specifically configured to:
determining a request initiation moment of the test request;
determining the time requirement according to the request initiating time and a time requirement determining rule;
and selecting the material content with the release time meeting the time requirement as the test material in the pre-constructed material pool.
10. The device according to claim 6, characterized in that the material pond building unit is specifically configured to:
determining material issuing time according to the timed issuing task;
and when the release time is up, each material release account directly releases the material content, or when the release time is up, each material release account deletes the released material content and releases the 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 CN108809751A (en) 2018-11-13
CN108809751B true 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)

Families Citing this family (2)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7080027B2 (en) * 2003-04-17 2006-07-18 Targetrx, Inc. Method and system for analyzing the effectiveness of marketing strategies

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN108809751A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN110032598B (en) Method and device for updating field and electronic equipment
CN106033510B (en) A kind of user equipment recognition methods and system
WO2020211497A1 (en) Method, system, apparatus and device for storing personal asset change record
CN112732641A (en) Electronic file filing method, device and medium
CN107346463B (en) Method and device for training risk control model and determining model input data
CN108809751B (en) Policy testing method and device
CN110930578A (en) Voting method, equipment and medium based on block chain
CN110888922B (en) Method and device for creating target table during data synchronization
CN108228679B (en) Time series data metering method and time series data metering device
CN110472978B (en) Digital currency address tamper-proof method and system
CN105631718A (en) Object management method and device
US20150019285A1 (en) Reward system for managing a digital workflow
CN112449021B (en) Internet resource screening method and device
CN109740060B (en) Frequency control method and device for information pushing
CN111177093A (en) Method, device and medium for sharing scientific and technological resources
CN111125802A (en) Method, device and medium for managing non-material cultural heritage information based on block chain
CN111008849A (en) Block chain-based product sampling detection method and device and medium
CN114912999A (en) Interest counting method and device, electronic equipment and computer storage medium
CN115470264A (en) Data auditing method and device, electronic equipment and storage medium
CN114138787A (en) Bar code identification method, equipment and medium
CN111159777A (en) Block chain-based supplier authentication method, device and medium
CN109587548B (en) Video playing data calculation method and device
CN111159654A (en) Block chain-based digital album retail method, equipment and medium
CN111242624A (en) Removal compensation method, device and medium based on block chain
CN116630472B (en) Gantt chart generation method, device and medium based on data driving

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