It supports value the price method for early warning and system of commodity
Technical field
The present invention relates to technical field of electronic commerce more particularly to the price method for early warning and system of a kind of commodity of supporting value.
Background technique
The fast development of electric business, the deep effect shopping way of people, the reason of selecting online shopping major embodiment
Both ways, one is convenient and fast shopping experience, secondly being exactly the price of material benefit;Just because of this, shop is more in order to obtain
Flowing of access, it will usually take the mode for declaring advertising campaign to electric business platform, obtain the promotion of shop exchange hand in promotion period.
And in order to build healthy and orderly shopping environment, for electric business platform by setting price protection mechanism, practical guarantees that consumer enjoys
It is preferential by authentic activity, avoid shop from encroaching on the equity of consumer by false promotion behavior.If shop is within valence duration of insurance
The knock-down price of same money commodity of sale is supported value lower than valence, then can trigger price protection mechanism, corresponding electric business platform then can be to shop
Paving carries out warning processing, for example, deducting points to shop, with this come the promotion behavior in the shop constrained.
The initiation form of advertising campaign is varied, the first, promotion, including platform folding are realized by providing card certificate form
Discount coupon and shop discount coupon are detained, second, is realized by way of special selling, such as is directly sold at a special price on special price treasured;It examines
The binding character for considering price protection mechanism, when the advertising campaign of a certain commodity is intended to initiate in shop, illustratively, when the shop of initiation
When spreading discount coupon activity, it will usually calculate separately knock-down price of the same money commodity on special price treasured, and enjoy platform discount certificate
Movable knock-down price, only when the minimum knock-down price of above-mentioned advertising campaign does not violate price protection mechanism, be just avoided that shop by
To punishment.
As it can be seen that shop administrative staff are when initiating advertising campaign to commodity, it will usually in advance to different form advertising campaign
Knock-down price calculated, supported value and be compared with the valence during this according to obtained minimum knock-down price, judged whether disobey
Counter offer lattice protection mechanism if violating also needs that advertising campaign dynamics is adaptively adjusted.Therefore, it uses in the prior art
The mode manually calculated is time-consuming and laborious, inefficiency.
Summary of the invention
The purpose of the present invention is to provide a kind of price method for early warning of commodity of supporting value and systems, can be based on price protection
The rule of mechanism automatically carries out calculating pre- verification to the knock-down price of a variety of promotion forms, to reduce trigger price protection mechanism
Risk.
To achieve the goals above, an aspect of of the present present invention provides a kind of price method for early warning of commodity of supporting value, the side
Method includes:
Step S1: corresponding promotion method, and default favor information are selected based on commodity sales promotion;Wherein, the promotion side
Formula includes that shop activity is preferential, platform activity is preferential, sale activity is any one of preferential, and the favor information includes default promotees
Sell period T2 and default special discount;
Step S2: protecting in pre-warning time section T1 in valence, and retrieving the commodity sales promotion, whether there is also have except currently selected rush
Advertising campaign except pin mode;If so, thening follow the steps S3, if nothing, S5 is thened follow the steps;
Step S3: calculating separately default knock-down price of the commodity sales promotion with currently selected promotion method after preferential, and with
The reference knock-down price of other promotion methods sale;
Step S4: the default knock-down price and the knock-down price that refers to are verified;When verification does not pass through, then output is pre-
Alert information, when verification is by thening follow the steps S5;
Step S5: the preset favor information of label does not violate price protection mechanism, allows online.
Specifically, the step S2 includes:
Step S21: retrieving the history advertising campaign in addition to currently selected promotion method that the commodity sales promotion is initiated, and
Successively record the favor information of the history advertising campaign;
Step S22: judge that the default promotion period section T2 and the promotion period section of each history advertising campaign whether there is
Intersection;If it does not exist, S23 is thened follow the steps, and if it exists, then follow the steps S3;
Step S23: according to the default promotion period section T2 and valence duration of insurance T3, given price protects pre-warning time section T1, described
T1=T2+T3;
Step S24: judge the valence protect pre-warning time section T1 and each history advertising campaign promotion period section whether
There are intersections;If it does not exist, S5 is thened follow the steps, and if it exists, then follow the steps S3.
Preferably, before the step S21 further include:
Step S20: whether be stored in database shown in inquiring with the consistent commodity data of the commodity sales promotion, if nothing,
Then by the commodity sales promotion data amended record in the database, if so, thening follow the steps S21.
Preferably, the step S3 is specifically included:
Step S31: the preferential formula of corresponding discount mode is called, the default knock-down price of the commodity sales promotion is obtained;
Step S32: valence is called to protect in pre-warning time section T1 in the database, the commodity sales promotion is in history advertising campaign
Reference knock-down price;
The discount mode include completely subtract it is preferential, general it is vertical subtract it is preferential, etc. it is any one of more preferential than derating.
Preferably, the method for calibration in the step S4 are as follows:
When the default knock-down price is greater than or equal to any comparison knock-down price, verification passes through;
When the default knock-down price is less than any comparison knock-down price, verification does not pass through.
Compared with prior art, the price method for early warning of commodity provided by the invention of supporting value has the advantages that
In view of the diversity of electric business platform promotion method, for example, can for shop activity is preferential, platform activity is preferential or
Sale activity is any one of preferential, and usually, sale activity is only online on special selling website, such as special price treasured system, shop
Paving activity is preferential and platform activity is preferential only carries out in on-line shop's system, such as the peaceful system of cat, existing price method of calibration tool
There is certain limitation, i.e., only preferential and platform activity is preferential verifies to shop activity in on-line shop's system, without verifying
The activity of special selling website is preferential, this just will appear causes the situation of check results inaccuracy to occur because verification range is not comprehensive,
And then the price protection mechanism of electric business platform may be triggered.Based on this, the present invention provides a kind of pre- police of price of commodity of supporting value
Method, the promotion method that can be selected according to default commodity sales promotion are corresponding to retrieve T in the database1Except currently selected in period
All advertising campaigns except promotion method, while exporting corresponding advertising campaign list, by by currently selected promotion method
Default knock-down price successively with refer to knock-down price in advertising campaign list and verified, finally obtain one it is comprehensive, accurately
Check results, and according to the corresponding sending warning information of check results or prompt information, to avoid the price of triggering electric business platform
Protection mechanism.
Another aspect of the present invention provides a kind of price early warning system of commodity of supporting value, and is applied to described in above-mentioned technical proposal
Commodity of supporting value price method for early warning in, the system comprises sequentially connected promotion selecting units, commodity retrieval unit, school
Test processing unit and result feedback unit;
The promotion selecting unit is used to select corresponding promotion method based on commodity sales promotion, and default favor information;
The commodity retrieval unit is used to protect pre-warning time section T in valence1Interior, retrieving the commodity sales promotion, whether there is also have
Advertising campaign in addition to currently selected promotion method, if so, then exporting corresponding promotion method and favor information;
The checking treatment unit is pre- after preferential with currently selected promotion method for calculating separately the commodity sales promotion
If knock-down price, and reference the knock-down price sold with other promotion methods, and to the default knock-down price and described with reference to knock-down price
It is verified;
The result feedback unit is for receiving check results, and corresponding output warning information or prompt information.
It preferably, further include the white list filtering list being located between the promotion selecting unit and the commodity retrieval unit
Member;
The white list filter element is used to reject the commodity sales promotion of inspection-free rope.
Preferably, the commodity retrieval unit includes retrieval module, judgment module, data amended record module and database mould
Block, one end of the retrieval module are connect with the promotion selecting unit, the other end of the retrieval module and the judgement mould
One end of block connects, and the other end of the judgment module is connect with the data amended record module and the database module respectively;
The retrieval module is used for according to the commodity sales promotion and its output retrieval of corresponding promotion form and favor information
Instruction;
The judgment module is for judging whether be stored with number corresponding with the commodity sales promotion in the database module
According to if nothing, the commodity amended record module being called, if so, the database module is then called to export;
The data amended record module is for the amended record of commodity sales promotion data in the database module;
The database module is sequentially output each for being retrieved according to the search instruction to the commodity sales promotion
The favor information of history advertising campaign.
Preferably, the checking treatment unit includes computing module and correction verification module, one end of the computing module and institute
Database module connection is stated, the other end of the computing module is connect with the correction verification module;
The computing module is used to call the preferential formula of corresponding discount mode, obtains the default conclusion of the business of the commodity sales promotion
Valence;
The correction verification module is used to verify when the default knock-down price is greater than or equal to any comparison knock-down price by defeated
Prompt information out, otherwise, verification do not pass through output warning information.
Compared with prior art, the beneficial effect and above-mentioned technology of the price method for early warning of commodity provided by the invention of supporting value
The beneficial effect of the price early warning system for the commodity of supporting value that scheme provides is identical, and this will not be repeated here.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 be the embodiment of the present invention one in support value commodity price method for early warning flow diagram;
Fig. 2 is that whether there is also the method schematic diagrams of other advertising campaigns for retrieval commodity sales promotion in Fig. 1;
Fig. 3 is that day cat system realizes that valence protects the network topology structure figure of verification service;
Fig. 4 is the display screenshot of warning information example one in the embodiment of the present invention one;
Fig. 5 is the display screenshot of warning information example two in the embodiment of the present invention one;
Fig. 6 be the embodiment of the present invention two in support value commodity price early warning system structural block diagram.
Appended drawing reference:
1- promotes selecting unit, 2- white list filter element;
3- commodity retrieval unit, 4- checking treatment unit;
5- result feedback unit, 31- retrieval module;
32- judgment module, 33- data amended record module;
34- database module, 41- computing module,
42- correction verification module.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, implement below in conjunction with the present invention
Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described.Obviously, described embodiment
Only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, the common skill in this field
Art personnel all other embodiment obtained without creative labor belongs to the model that the present invention protects
It encloses.
Embodiment one
Fig. 1 be the embodiment of the present invention one in support value commodity price method for early warning flow diagram.Referring to Fig. 1, this
Embodiment provides a kind of price method for early warning of commodity of supporting value, comprising:
Step S1: corresponding promotion method, and default favor information are selected based on commodity sales promotion;Wherein, promotion method packet
Include that shop activity is preferential, platform activity is preferential, sale activity is any one of preferential, favor information includes: default promotion period
Section T2With default special discount;
Step S2: pre-warning time section T is protected in valence1Interior, whether there is also have except currently selected promotion side for retrieval commodity sales promotion
Advertising campaign except formula;If so, thening follow the steps S3, if nothing, S5 is thened follow the steps;
Step S3: default knock-down price of the commodity sales promotion with currently selected promotion method after preferential is calculated separately, and with other
The reference knock-down price of promotion method sale;
Step S4: it is verified to default knock-down price and with reference to knock-down price;Do not pass through when verifying, then export warning information,
When verification is by thening follow the steps S5;
Step S5: marking preset favor information not violate price protection mechanism, allows online.
For the ease of the description of the present embodiment, referring to Fig. 3, being illustrated by taking day cat system as an example, day cat system includes
Special price treasured system and the peaceful system of cat, special price treasured system is preferential for online sale activity, and the peaceful system of cat is for online shop activity
Preferential and platform activity is preferential, when administrator need to initiate shop activity it is preferential when, then firstly the need of the number in special price treasured system
Sale activity is crossed according to whether the default commodity sales promotion retrieved in the T1 period in library is online, secondly, need to also be in the peaceful system database of cat
Whether the middle default commodity sales promotion retrieved in the T1 period is online to be crossed exchange ticket activity (platform activity is preferential), and search result is anti-
It is fed to the peaceful system of cat, the peaceful system of cat judges that shop is living by the default knock-down price of verification commodity sales promotion and with reference to knock-down price
It moves the preferential valence guarantor's rule that whether meets and meets online condition.Similarly, when administrator need to initiate platform activity it is preferential when, then need pair
Sale activity is preferential and shop activity is preferential is verified, alternatively, when administrator need to initiate sale activity it is preferential when, then need pair
Shop activity is preferential and platform activity is preferential is verified, and detailed process is ibid consistent, and this will not be repeated here.
By above-mentioned implementation process it is found that the price method for early warning of commodity provided in this embodiment of supporting value can be according to default
The promotion method of commodity sales promotion selection, the institute in the corresponding retrieval T1 period in the database in addition to currently selected promotion method
Have advertising campaign, while exporting corresponding advertising campaign list, by by the default knock-down price of currently selected promotion method successively
It is verified with knock-down price is referred in advertising campaign list, finally obtains a comprehensive, accurate check results, and according to school
The corresponding sending warning information of result or prompt information are tested, to avoid the price protection mechanism of triggering electric business platform.
Specifically, referring to Fig. 2, the S2 in the present embodiment is specifically included:
Whether step S20: being stored in database shown in inquiring will if nothing with the consistent commodity data of commodity sales promotion
Commodity sales promotion data amended record is in database, if so, thening follow the steps S21;
Step S21: the history advertising campaign in addition to currently selected promotion method that retrieval commodity sales promotion is initiated, and successively
The favor information of log history advertising campaign;
Step S22: judge that the promotion period section of default promotion period section T2 and each history advertising campaign whether there is intersection;
If it does not exist, S23 is thened follow the steps, and if it exists, then follow the steps S3;
Step S23: according to default promotion period section T2 and valence duration of insurance T3, given price protects pre-warning time section T1, T1=T2+
T3;
Step S24: judge that valence protects the promotion period section of pre-warning time section T1 and each history advertising campaign with the presence or absence of intersection;
If it does not exist, S5 is thened follow the steps, and if it exists, then follow the steps S3.
When it is implemented, non-empty judgement is carried out to commodity sales promotion wide area information server by step S20 first, if judgement
As a result be non-empty, then follow the steps S21 output history advertising campaign favor information, wherein favor information include commodity code,
SKU coding mends default commodity sales promotion data if judging result is sky with reference to knock-down price, initial time of advertising campaign etc.
It records in commodity sales promotion database, is updated by the amended record to database, improve the accuracy of data sample.It is understood that
It is valence duration of insurance T3To support value the time as defined in valence guarantor's mechanism, for example, the time of supporting value of day cat is 15 days.
It should be noted that the judgment method of the time intersection in step S22 is as follows: intersecting determining method, example using decomposing
Such as, when administrator initiates the preferential D of shop activity to commodity sales promotion, it is excellent to obtain sale activity in special price treasured system respectively first
The favor information of favour T and the acquisition preferential P favor information of platform activity in the peaceful system of cat, by calculating separately shop activity
The intersection period of the intersection period D ∩ T of the preferential D and preferential T of sale activity and shop activity preferential D and the preferential P of platform activity
D ∩ P can determine whether the preferential D of shop activity and the preferential T of sale activity or platform as long as any result of D ∩ T or D ∩ P is 1
There are the intersection periods by the preferential P of activity.
Please continue to refer to Fig. 2, the step S3 in the present embodiment is specifically included:
Step S31: the preferential formula of corresponding discount mode is called, the default knock-down price of commodity sales promotion is obtained;
Step S32: valence is called to protect pre-warning time section T in commodity sales promotion database1Interior, commodity sales promotion is promoted in history and is lived
Reference knock-down price in dynamic;
Discount mode include completely subtract it is preferential, general it is vertical subtract it is preferential, etc. it is any one of more preferential than derating.
When it is implemented, completely subtracting preferential calculation formula and beingGeneral stand subtracts preferential calculating
Formula is D=A-C;It is Deng the calculation formula more preferential than deratingWherein, A is completely to subtract benchmark
Valence, B are price, C is discount coupon value, D is knock-down price.
Further, the method for calibration in the step S4 in above-described embodiment are as follows:
When default knock-down price is greater than or equal to any comparison knock-down price, verification passes through, and it is online to issue prompt information permission;
When default knock-down price is less than any comparison knock-down price, verification does not pass through, and issues such as Fig. 4 or early warning shown in fig. 5
Information.Warning information includes risk information and suggests modification option, illustratively,
Risk information are as follows:
The activity that you mention report will lead to knock-down price lower than activity No: 201722222222, activity name: and example activities 1,
Activity time 2017-02-17 00:00:00's to 2017-02-19 00:00:00 gathers cost-effective activity, because violating price protection machine
System, therefore activity audit does not pass through;
It is recommended that modification option are as follows:
Reduce discount dynamics or cancel this shop activity it is preferential/platform activity is preferential.
Embodiment two
Fig. 1 and Fig. 6 are please referred to, the present embodiment provides a kind of price early warning system of commodity of supporting value, including it is sequentially connected
Promote selecting unit 1, commodity retrieval unit 3, checking treatment unit 4 and result feedback unit 5;
It promotes selecting unit 1 to be used to select corresponding promotion method based on commodity sales promotion, and default favor information;
Commodity retrieval unit 3 is used to protect pre-warning time section T in valence1Interior, retrieving default commodity sales promotion, whether there is also remove
Advertising campaign except currently selected promotion method, if so, then exporting corresponding promotion method and favor information;
Checking treatment unit 4 for calculate separately default commodity sales promotion with currently selected promotion method being preset to after preferential
Friendship valence, and the reference knock-down price otherwise sold, and verified to default knock-down price and with reference to knock-down price;
Result feedback unit 5 is for receiving check results, and corresponding output warning information or prompt information.
Optionally, figure is please referred to, above system further includes being located between promotion selecting unit 1 and commodity retrieval unit 3
White list filter element 2;
White list filter element 2 is used to reject the commodity sales promotion of inspection-free rope.
Specifically, please continue to refer to Fig. 6, commodity retrieval unit 3 includes retrieval module 31, judgment module 32, data amended record
One end of module 33 and database module 34, retrieval module 31 is connect with white list filter element 2, the other end of retrieval module 31
It is connect with one end of judgment module 32, the other end of judgment module 32 connects with data amended record module 33 and database module 34 respectively
It connects;
Retrieval module 31 is used to export search instruction according to commodity sales promotion and its corresponding promotion form and favor information;
Judgment module 32 is for judging whether be stored with data corresponding with commodity sales promotion in database module 34, if nothing,
Commodity amended record module is then called, if so, database module 34 is then called to export;
Data amended record module 33 is used for the amended record of commodity sales promotion data in database module 34;
Database module 34 is sequentially output each history promotion and lives for being retrieved according to search instruction to commodity sales promotion
Dynamic favor information.
Checking treatment unit 4 includes computing module 41 and correction verification module 42, one end of computing module 41 and database module
34 connections, the other end of computing module 41 are connect with correction verification module 42;
Computing module 41 is used to call the preferential formula of corresponding discount mode, obtains the default knock-down price of commodity sales promotion;
Correction verification module 42 is used for the verification when default knock-down price is greater than or equal to any comparison knock-down price and passes through output prompt
Information, otherwise, verification do not pass through output warning information.
Compared with prior art, the beneficial effect of the price early warning system of commodity provided in an embodiment of the present invention of supporting value with it is upper
The beneficial effect for stating the price method for early warning of the commodity of supporting value of the offer of embodiment one is identical, and this will not be repeated here.
It will appreciated by the skilled person that implement the method for the above embodiments be can be with
Instruct relevant hardware to complete by program, program can store in computer-readable storage medium, the program
When being executed, each step including above-described embodiment method, and the storage medium may is that ROM/RAM, magnetic disk, CD,
Storage card etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.