Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The price issuing control method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 and the server 104 communicate via a network, and the server 104 may also communicate with a plurality of price maintenance servers 106 via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a price issuance control method is provided, which is described by taking the method as an example applied to the server 104 in fig. 1, and includes the following steps:
step 202, obtaining price data to be issued.
Here, the price data is a page price that the price generating end obtains through budget, the price generating end may include a basic price factor maintaining end and a marketing price maintaining end, the basic price factor maintaining end is used for automatically generating a budget page price through a basic price factor, the marketing price maintaining end is used for budgeting and maintaining a page price in marketing activities, and the basic price factor maintaining end and the marketing price maintaining end may be implemented by an independent server or a server cluster composed of a plurality of servers.
Specifically, the server 104 obtains price data to be issued, which is obtained by the price generating end through budgeting.
204, obtaining a check result corresponding to the price data according to the price data and a preset price check model, wherein the price check model comprises at least one first check rule, and/or the price check model comprises a second check rule;
the first check rule is based on a preset threshold, and the preset threshold can be set manually according to business experience, that is, the first check rule is a subjective check rule and can be influenced by certain human factors while reflecting the business experience;
the second check rule is a check rule based on historical price data, and specifically, the second check rule can be obtained according to a large amount of historical price data and an intelligent algorithm, so that the second check rule is an objective check rule which is not influenced by human factors, wherein the intelligent algorithm is a Tukeytest (Tukeytest) algorithm.
Here, the price checking model may include only one or more first checking rules, or the price checking model includes only the second checking rules, or the price checking model includes the second checking rules and one or more first checking rules.
Specifically, in step 204, the obtained price data may be verified according to the first verification rule and/or the second verification rule, so as to obtain a corresponding first verification result and/or second verification result, and a verification result corresponding to the price data is obtained according to the first verification result and/or the second verification result. Step 202 checks the price data to be issued by combining the subjective checking rule and the objective checking rule, that is, by combining the business experience with the big data intelligent algorithm.
And step 206, controlling the issuance of the price data according to the verification result.
The verification result is a verification result corresponding to the price data to be issued, and the verification result is a normal price, an early warning price or an interception price.
Specifically, according to different verification results, the server 104 may perform interception, issue and warning, or issue only operation on issue of price data.
In this embodiment, the price issuing control method, the price issuing control apparatus, the computer device, and the storage medium acquire price data to be issued, that is, a price to be issued is checked before price issuing, so that a price abnormal condition is found in time, and a price error condition caused by a human factor or a system error is reduced; obtaining a check result corresponding to the price data according to the price data and a preset price check model, wherein the price check model comprises at least one first check rule, and/or the price check model comprises a second check rule; the first check rule is based on a preset threshold value, the preset threshold value can be set according to subjective experience, and a subjective check rule is established; the second check rule is a check rule based on historical price data, and an objective check rule can be obtained through a large amount of historical price data. By adopting the scheme of the embodiment, the price to be issued can be subjected to multi-dimensional verification in a mode of combining the subjective verification rule and the objective verification rule, so that the abnormal price can be accurately identified before the price is issued, the issuance of price data can be controlled, the risk of price abnormality is reduced, the economic loss is avoided, and the accuracy of price issuance is improved.
In an embodiment, the above controlling the issuance of the price data according to the verification result includes:
when the verification result is normal price, namely the price data passes the verification, submitting the price data to a target page;
when the verification result is early warning price, namely the price data has medium risk, submitting the price data to a target page, and sending early warning prompt to a price generating end;
specifically, when the check result is the early warning price, the risk of price issue can be reduced by adding a check rule, for example, the price data is checked by the second check rule and the two first check rules before, if the obtained check result is the early warning price, another first check rule can be added to check the price data, and when the newly obtained check result is the interception price, the issue of the price data is intercepted.
And when the verification result is the interception price, namely the price data has high risk, intercepting the release of the price data, so that the high risk price cannot be submitted to be effective, namely the high risk price cannot be released.
In the embodiment, the price is controlled to be issued according to different check results, early warning of early warning price can be achieved, price data in danger can be found in time, high-risk price interception operation can also be achieved, the high-risk price data cannot be issued to a page, and the risk of price abnormity is effectively reduced.
In one embodiment, each first check rule includes a corresponding preset threshold, and the preset thresholds include a preset low-value interception threshold, a preset low-value early warning threshold, a preset high-value early warning threshold, and a preset high-value interception threshold;
here, the preset threshold corresponding to each first verification rule may be manually set according to business experience, and according to the preset threshold, a plurality of different-dimensional price reference systems may be established.
According to the price data and a preset price verification model, obtaining a verification result corresponding to the price data, wherein the verification result comprises the following steps:
checking the price data according to the first price reference system to obtain a first checking result; the first price reference system is a reference system established according to a preset low value interception threshold value, a preset low value early warning threshold value, a preset high value early warning threshold value and a preset high value interception threshold value.
In the first price reference system, the preset low value interception threshold, the preset low value early warning threshold, the preset high value early warning threshold and the preset high value interception threshold are sequentially arranged from small to large according to numerical values to form a low value interception interval, a low value early warning interval, a normal price interval, a high value early warning interval and a high value interception interval which are sequentially adjacent.
Specifically, the first price reference system may be provided with a corresponding risk calculation formula, when price data is checked according to the first price reference system, a check value is obtained according to the price data and the risk calculation formula, and a first check result is obtained according to an interval where the check value is located.
In this embodiment, the price issuing control method may establish a plurality of different-dimensional first price reference systems according to different preset thresholds, so that the price data is subjected to multidimensional verification through the plurality of first price reference systems, the verification range is wider, and the obtained verification result is more accurate.
In one embodiment, when the first price reference system is based on the cost data, the verifying the price data according to the first price reference system to obtain a first verification result includes:
acquiring cost data, and dividing the difference value of the price data and the cost data by the cost data to obtain a first ratio; and checking the first ratio according to the first price reference system to obtain a first checking result.
Specifically, when (price data-cost data)/cost data is less than or equal to E0, or (price data-cost data)/cost data is greater than or equal to H0, the first check result is the interception price;
when E0 is less than or equal to (price data-cost data)/cost data is less than or equal to E1, or H1 is less than or equal to (price data-cost data)/cost data is less than or equal to H0, the first verification result is an early warning price;
when E1 is less than or equal to (price data-cost data)/cost data is less than or equal to H1, the first verification result is a normal price; e0 is a preset low interception threshold, E1 is a preset low warning threshold, H0 is a preset high interception threshold, and H1 is a preset high warning threshold.
In this embodiment, price data is verified through the first price reference system based on cost data, corresponding cost data can be obtained aiming at different commodities, suppliers or storage positions and other factors, a profit space is reserved for issued prices, and financial gross profit management is facilitated.
In one embodiment, when the first price reference system is based on the last transaction price, the checking the price data according to the first price reference system to obtain a first checking result includes:
obtaining the price of the last transaction, and dividing the difference value between the price data and the price of the last transaction by the price of the last transaction to obtain a second ratio; verifying the second ratio according to the first price reference system to obtain a first verification result;
for example, when (price data-last transaction price)/last transaction price is less than or equal to E0, namely the price data is less than or equal to (1+ E0) last transaction price, the first check result is an interception price, the server performs interception on the price data, and E0 is a preset low-value interception threshold.
In the embodiment, price data is verified based on the first price reference system of the last transaction price, a last price list can be established according to the last transaction price, and the price data passing each verification is used as a new price to update the last price list, so that price abnormity is controlled by adopting a verification mode of a dynamic ring ratio, and the verification accuracy is effectively improved.
In one embodiment, when the first price reference system is based on the historical lowest price, the checking the price data according to the first price reference system to obtain a first checking result includes:
acquiring a historical lowest price, setting the historical lowest price as a preset low value interception threshold of a first price reference system, and verifying price data according to the first price reference system to obtain a first verification result.
Specifically, when the price data is lower than the above-mentioned historical minimum price, the first check result is the interception price.
In the embodiment, price data is verified through the first price reference system based on the historical lowest price, and verification is performed in a fixed value mode, so that the instability caused by using the ratio for verification in the verification process of the first price reference system based on the cost data is reduced, and the verification result is more stable.
Besides, the first check rule may also be a check rule based on other price types, such as based on historical average price.
In one embodiment, as shown in fig. 3, the method further includes:
step 302, acquiring transaction prices of the same commodity of which the transaction price quantity is larger than a preset quantity in historical price data, and establishing a transaction price data set; for example, the preset number may be 10.
Specifically, the server 104 screens the commodities with the transaction price number larger than 10, obtains each transaction price of the commodity, and establishes a transaction price data set.
304, according to the transaction price data set, obtaining a lower quartile, an upper quartile, a highest transaction price and a lowest transaction price of the transaction price data set; the upper quartile is greater than the lower quartile.
Step 306, calculating to obtain a first anomaly lower limit threshold and a first anomaly upper limit threshold according to the lower quartile and the upper quartile;
specifically, the first anomaly lower limit threshold is equal to the difference value between the lower quartile and the first numerical value, and the first anomaly upper limit threshold is equal to the sum value between the lower quartile and the first numerical value;
the first value is a product of the first setting parameter and a difference value between the upper quartile and the lower quartile;
for example, P1 ═ Q1-k1 ═ Q3-Q1, P2 ═ Q3+ k1 × (Q3-Q1), P1 is a first lower abnormality threshold, P2 is a first upper abnormality threshold, Q1 is a lower quartile, Q3 is an upper quartile, and k1 is a first setting parameter, in this embodiment, if k1 is 1.5, P1 ═ Q1-1.5 ═ Q3-Q1,
P2=Q3+1.5*(Q3-Q1)。
308, obtaining a normal upper limit threshold, a normal lower limit threshold, a second abnormal upper limit threshold and a second abnormal lower limit threshold according to the first abnormal lower limit threshold, the first abnormal upper limit threshold, the highest transaction price and the lowest transaction price;
specifically, the method comprises the following steps:
when the lowest transaction price is greater than the first abnormal lower threshold and is less than the lower quartile, setting the lowest transaction price as a normal lower threshold;
when the highest transaction price is greater than the upper quartile and is less than a first abnormal upper limit threshold, setting the highest transaction price as a normal upper limit threshold;
that is, when Pmin > P1 and Pmin < Q1, taking Pmin as the lower threshold of normality; when Pmax is larger than Q3 and Pmax is smaller than P2, taking Pmax as a normal upper threshold; pmax is the highest transaction price and Pmin is the lowest transaction price.
When the first abnormal lower limit threshold is smaller than the product of the normal lower limit threshold and a second setting parameter, setting the product of the normal lower limit threshold and the second setting parameter as a second abnormal lower limit threshold;
when the first abnormal upper limit threshold is larger than the product of the normal upper limit threshold and a third setting parameter, setting the product of the normal upper limit threshold and the third setting parameter as a second abnormal upper limit threshold;
that is, when P1 < normal lower threshold value x k2, the normal lower threshold value x k2 is taken as the second abnormal lower threshold value;
and when P2 is larger than the normal upper limit threshold value k3, taking the normal upper limit threshold value k3 as a second abnormal upper limit threshold value, k2 as a second setting parameter, and k3 as a third setting parameter.
In this embodiment, if k2 is 0.7 and k3 is 1.3, the second abnormality lower threshold is equal to 0.7 Pmin, the normal lower threshold is equal to Pmin, the normal upper threshold is equal to Pmax, and the second abnormality upper threshold is equal to 1.3 Pmax.
And 310, establishing a second price reference system according to the normal upper limit threshold, the normal lower limit threshold, the second abnormal upper limit threshold and the second abnormal lower limit threshold.
Here, the second abnormal lower threshold < the normal upper threshold < the second abnormal upper threshold, and in the second price reference system, the second abnormal lower threshold, the normal upper threshold, and the second abnormal upper threshold are arranged in order from small to large in numerical value to form a first intercepting interval, a first warning interval, a normal interval, a second warning interval, and a second intercepting interval which are adjacent in order. In this embodiment, a second price reference system is established by a quartile method and a graph-based test according to historical price data.
According to the price data and a preset price verification model, obtaining a verification result corresponding to the price data, and further comprising: checking the price data according to the second price reference system to obtain a second checking result; the second price reference system is a reference system established according to the normal upper limit threshold, the normal lower limit threshold, the second abnormal upper limit threshold and the second abnormal lower limit threshold; the price data is verified according to the second price reference system, that is, the price data is verified according to the second verification rule.
In the embodiment, the price data is verified in a mode of combining the subjective rule and the objective rule, the error interception probability caused by artificial factors in the subjective rule is reduced through the intelligent algorithm of the objective rule, and the verification accuracy is improved.
For example, as shown in fig. 4, the price issuance control method may include the steps of:
step 402, obtaining price data to be issued;
step 402, checking price data according to a first price reference system to obtain a first checking result;
step 402, checking price data according to a second price reference system to obtain a second checking result;
step 402, when at least one of the second check result and each first check result is an interception price, the check result is the interception price;
step 410, when the second check result and each first check result do not have interception prices, and at least one of the second check result and each first check result is an early warning price, the check result is the early warning price;
step 412, when the second check result and each first check result are both normal prices, the check result is a normal price;
step 414, if the check result is the interception price, intercepting the issue of the price data;
step 416, if the check result is the early warning price, submitting the price data to a target page, and sending an early warning prompt to a price generating end;
and 418, if the verification result is the normal price, submitting the price data to a target page.
In this embodiment, by comprehensively judging the obtained multiple verification results, the verification accuracy is higher, and the risk of price release is reduced.
In an embodiment, the checking the price data according to the first price reference system to obtain a first checking result includes:
obtaining a check value according to the price data;
here, the check value may be a ratio obtained from the price data, and the price data itself may be used as the check value.
When the check value is lower than a preset low value interception threshold value or higher than a preset high value interception threshold value, namely the check value is located in a low value interception interval or a high value interception interval of the first price reference system, the first check result is an interception price;
when the check value is between a preset low value early warning threshold value and a preset low value interception threshold value, or when the check value is between a preset high value early warning threshold value and a preset high value interception threshold value, namely the check value is in a low value early warning region or a high value early warning region of the first price reference system, the first check result is an early warning price;
when the check value is between the preset high value early warning threshold and the preset low value early warning threshold, namely the check value is in a normal price interval of the first price reference system, the first check result is a normal price;
in one embodiment, the checking the price data according to the second price reference system to obtain a second checking result, includes:
when the price data is lower than a second abnormal lower limit threshold or higher than a second abnormal upper limit threshold, namely the price data is positioned in a first interception interval or a second interception interval of a second price reference system, the second check result is the interception price;
when the price data is between the normal lower limit threshold and the second abnormal lower limit threshold, or when the price data is between the normal upper limit threshold and the second abnormal upper limit threshold, namely the price data is located in a first early warning interval or a second early warning interval of a second price reference system, the second check result is an early warning price;
and when the price data is between the normal upper limit threshold and the normal lower limit threshold, namely the price data is positioned in the normal interval of the second price reference system, the second check result is the normal price.
In the embodiment, the check result is obtained through the price data interval of the reference system, the check mode is simple, the check efficiency is high, meanwhile, the reference system has expansibility, can be adjusted according to the actual interception effect, and can meet the requirement of a complex service scene.
In an embodiment, the check rule is provided with a switch, and the check result corresponding to the price data is obtained according to the price data and a preset price check model, and the method further includes:
when the switch corresponding to the verification rule is set to be in an open state, the verification rule verifies the price data to obtain a verification result;
and when the switch corresponding to the verification rule is set to be in a closed state, the price data is not verified by the verification rule.
In this embodiment, each check rule is additionally provided with a switch, if the switch is turned on, the check rule checks the price data, and if the switch is turned off, the check rule does not check the price data, and the state of the switch can be set according to specific conditions, so that the price release risk is reduced.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a price issuance control apparatus including: a price acquisition module 502, a price check module 504, and a release control module 506, wherein:
a price obtaining module 502, configured to obtain price data to be released;
the price checking module 504 is configured to obtain a checking result corresponding to the price data according to the price data and a preset price checking model, where the price checking model includes at least one first checking rule, and/or the price checking model includes a second checking rule, the first checking rule is a checking rule based on a preset threshold, and the second checking rule is a checking rule based on historical price data;
and the release control module 506 is configured to control release of the price data according to the verification result.
In one embodiment, the issue control module 506 is configured to submit the price data to the target page when the verification result is a normal price; when the verification result is the early warning price, submitting the price data to a target page, and sending an early warning prompt to a price generating end; and when the verification result is the interception price, intercepting the release of the price data.
In one embodiment, each first check rule includes a corresponding preset threshold, and the preset thresholds include a preset low-value interception threshold, a preset low-value early warning threshold, a preset high-value early warning threshold, and a preset high-value interception threshold; the price checking module 504 includes: the first verification unit is used for verifying the price data according to the first price reference system to obtain a first verification result; the first price reference system is a reference system established according to a preset low value interception threshold value, a preset low value early warning threshold value, a preset high value early warning threshold value and a preset high value interception threshold value.
In one embodiment, the first checking unit may be configured to obtain cost data, and divide a difference between the price data and the cost data by the cost data to obtain a first ratio; checking the first ratio according to a first price reference system to obtain a first checking result; or obtaining the last transaction price, and dividing the difference value of the price data and the last transaction price by the last transaction price to obtain a second ratio; verifying the second ratio according to the first price reference system to obtain a first verification result; or acquiring the historical lowest price, setting the historical lowest price as a preset low value interception threshold of a first price reference system, and verifying price data according to the first price reference system to obtain a first verification result.
In one embodiment, the above apparatus further comprises: the second price reference system module is used for acquiring each transaction price of the same commodity of which the transaction price quantity is greater than the preset quantity in the historical price data and establishing a transaction price data set; according to the transaction price data set, obtaining a lower quartile, an upper quartile, a highest transaction price and a lowest transaction price of the transaction price data set; calculating to obtain a first abnormal lower limit threshold and a first abnormal upper limit threshold according to the lower quartile and the upper quartile; obtaining a normal upper limit threshold, a normal lower limit threshold, a second abnormal upper limit threshold and a second abnormal lower limit threshold according to the first abnormal lower limit threshold, the first abnormal upper limit threshold, the highest transaction price and the lowest transaction price; and establishing a second price reference system according to the normal upper limit threshold, the normal lower limit threshold, the second abnormal upper limit threshold and the second abnormal lower limit threshold.
The price check module 504 further includes: the second checking unit is used for checking the price data according to the second price reference system to obtain a second checking result; the second-price reference system is a reference system established according to the normal upper limit threshold, the normal lower limit threshold, the second abnormal upper limit threshold and the second abnormal lower limit threshold.
A check result unit for checking whether at least one of the second check result and each of the first check results is an interception price or not; and when the second check result and each first check result do not have the interception price and at least one of the second check result and each first check result is the early warning price, the check result is the early warning price.
In an embodiment, the first checking unit is further configured to obtain a check value according to the price data; when the check value is lower than a preset low value interception threshold value or higher than a preset high value interception threshold value, the first check result is an interception price; when the check value is between a preset low value early warning threshold value and a preset low value interception threshold value, or when the check value is between a preset high value early warning threshold value and a preset high value interception threshold value, the first check result is an early warning price; when the check value is between the preset high value early warning threshold value and the preset low value early warning threshold value, the first check result is a normal price;
the second checking unit is further configured to, when the price data is lower than a second anomaly lower threshold or higher than a second anomaly upper threshold, determine that the second checking result is the intercepted price; when the price data is between the normal lower threshold and the second abnormal lower threshold, or when the price data is between the normal upper threshold and the second abnormal upper threshold, the second check result is the early warning price; when the price data is between the normal upper threshold and the normal lower threshold, the second check result is the normal price.
In an embodiment, the check rule is provided with a switch, and the price check module 504 is further configured to check the price data by the check rule when the switch corresponding to the check rule is set to an on state, so as to obtain a check result; and when the switch corresponding to the verification rule is set to be in a closed state, the price data is not verified by the verification rule.
For the specific definition of the price distribution control device, reference may be made to the above definition of the price distribution control method, which is not described herein again. The respective modules in the price distribution control apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing price data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a price distribution control method.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring price data to be issued; obtaining a check result corresponding to the price data according to the price data and a preset price check model, wherein the price check model comprises at least one first check rule, and/or the price check model comprises a second check rule, the first check rule is a check rule based on a preset threshold value, and the second check rule is a check rule based on historical price data; and controlling the issuance of the price data according to the verification result.
In one embodiment, when the processor executes the computer program to implement the above step of controlling issuance of price data according to the verification result, the following steps are specifically implemented: when the verification result is the normal price, submitting the price data to a target page; when the verification result is the early warning price, submitting the price data to a target page, and sending an early warning prompt to a price generating end; and when the verification result is the interception price, intercepting the release of the price data.
In one embodiment, each first check rule includes a corresponding preset threshold, and the preset thresholds include a preset low-value interception threshold, a preset low-value early warning threshold, a preset high-value early warning threshold, and a preset high-value interception threshold; when the processor executes the computer program to realize the step of obtaining the check result corresponding to the price data according to the price data and the preset price check model, the following steps are specifically realized: checking the price data according to the first price reference system to obtain a first checking result; the first price reference system is a reference system established according to a preset low value interception threshold value, a preset low value early warning threshold value, a preset high value early warning threshold value and a preset high value interception threshold value.
In one embodiment, when the processor executes the computer program to perform the above-mentioned step of verifying the price data according to the first price reference system to obtain the first verification result, the following steps are specifically implemented: acquiring cost data, and dividing the difference value of the price data and the cost data by the cost data to obtain a first ratio; checking the first ratio according to a first price reference system to obtain a first checking result; or obtaining the last transaction price, and dividing the difference value of the price data and the last transaction price by the last transaction price to obtain a second ratio; verifying the second ratio according to the first price reference system to obtain a first verification result; or acquiring the historical lowest price, setting the historical lowest price as a preset low value interception threshold of a first price reference system, and verifying price data according to the first price reference system to obtain a first verification result.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring transaction prices of the same commodity of which the transaction price quantity is greater than a preset quantity in historical price data, and establishing a transaction price data set; according to the transaction price data set, obtaining a lower quartile, an upper quartile, a highest transaction price and a lowest transaction price of the transaction price data set; calculating to obtain a first abnormal lower limit threshold and a first abnormal upper limit threshold according to the lower quartile and the upper quartile; and obtaining a normal upper limit threshold, a normal lower limit threshold, a second abnormal upper limit threshold and a second abnormal lower limit threshold according to the first abnormal lower limit threshold, the first abnormal upper limit threshold, the highest transaction price and the lowest transaction price.
When the processor executes the computer program to realize the step of obtaining the check result corresponding to the price data according to the price data and the preset price check model, the following steps are specifically realized:
checking the price data according to the second price reference system to obtain a second checking result; the second price reference system is a reference system established according to the normal upper limit threshold, the normal lower limit threshold, the second abnormal upper limit threshold and the second abnormal lower limit threshold; when at least one of the second check result and each first check result is the interception price, the check result is the interception price; and when the second check result and each first check result do not have the interception price and at least one of the second check result and each first check result is the early warning price, the check result is the early warning price.
In one embodiment, when the processor executes the computer program to perform the above-mentioned step of verifying the price data according to the first price reference system to obtain the first verification result, the following steps are specifically implemented: obtaining a check value according to the price data; when the check value is lower than a preset low value interception threshold value or higher than a preset high value interception threshold value, the first check result is an interception price; when the check value is between a preset low value early warning threshold value and a preset low value interception threshold value, or when the check value is between a preset high value early warning threshold value and a preset high value interception threshold value, the first check result is an early warning price; when the check value is between the preset high value early warning threshold value and the preset low value early warning threshold value, the first check result is a normal price;
in an embodiment, when the processor executes the computer program to perform the above step of checking the price data according to the second price reference system to obtain the second checking result, the following steps are specifically implemented: when the price data is lower than a second abnormal lower limit threshold or higher than a second abnormal upper limit threshold, the second check result is the interception price; when the price data is between the normal lower threshold and the second abnormal lower threshold, or when the price data is between the normal upper threshold and the second abnormal upper threshold, the second check result is the early warning price; when the price data is between the normal upper threshold and the normal lower threshold, the second check result is the normal price.
In an embodiment, the check rule is provided with a switch, and when the processor executes the computer program, the following steps are specifically implemented when the step of obtaining the check result corresponding to the price data according to the price data and the preset price check model is implemented: when the switch corresponding to the verification rule is set to be in an open state, the verification rule verifies the price data to obtain a verification result; and when the switch corresponding to the verification rule is set to be in a closed state, the price data is not verified by the verification rule.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring price data to be issued; obtaining a check result corresponding to the price data according to the price data and a preset price check model, wherein the price check model comprises at least one first check rule, and/or the price check model comprises a second check rule, the first check rule is a check rule based on a preset threshold value, and the second check rule is a check rule based on historical price data; and controlling the issuance of the price data according to the verification result.
In one embodiment, when the computer program is executed by the processor to implement the above step of controlling issuance of price data according to the verification result, the following steps are specifically implemented: when the verification result is the normal price, submitting the price data to a target page; when the verification result is the early warning price, submitting the price data to a target page, and sending an early warning prompt to a price generating end; and when the verification result is the interception price, intercepting the release of the price data.
In one embodiment, each first check rule includes a corresponding preset threshold, and the preset thresholds include a preset low-value interception threshold, a preset low-value early warning threshold, a preset high-value early warning threshold, and a preset high-value interception threshold; when the computer program is executed by the processor to implement the step of obtaining the check result corresponding to the price data according to the price data and the preset price check model, the following steps are specifically implemented: checking the price data according to the first price reference system to obtain a first checking result; the first price reference system is a reference system established according to a preset low value interception threshold value, a preset low value early warning threshold value, a preset high value early warning threshold value and a preset high value interception threshold value.
In one embodiment, when the computer program is executed by the processor to implement the step of verifying the price data according to the first price reference system to obtain the first verification result, the following steps are specifically implemented: acquiring cost data, and dividing the difference value of the price data and the cost data by the cost data to obtain a first ratio; checking the first ratio according to a first price reference system to obtain a first checking result; or obtaining the last transaction price, and dividing the difference value of the price data and the last transaction price by the last transaction price to obtain a second ratio; verifying the second ratio according to the first price reference system to obtain a first verification result; or acquiring the historical lowest price, setting the historical lowest price as a preset low value interception threshold of a first price reference system, and verifying price data according to the first price reference system to obtain a first verification result.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring transaction prices of the same commodity of which the transaction price quantity is greater than a preset quantity in historical price data, and establishing a transaction price data set; according to the transaction price data set, obtaining a lower quartile, an upper quartile, a highest transaction price and a lowest transaction price of the transaction price data set; calculating to obtain a first abnormal lower limit threshold and a first abnormal upper limit threshold according to the lower quartile and the upper quartile; and obtaining a normal upper limit threshold, a normal lower limit threshold, a second abnormal upper limit threshold and a second abnormal lower limit threshold according to the first abnormal lower limit threshold, the first abnormal upper limit threshold, the highest transaction price and the lowest transaction price.
When the computer program is executed by the processor to implement the step of obtaining the check result corresponding to the price data according to the price data and the preset price check model, the following steps are specifically implemented: checking the price data according to the second price reference system to obtain a second checking result; the second price reference system is a reference system established according to the normal upper limit threshold, the normal lower limit threshold, the second abnormal upper limit threshold and the second abnormal lower limit threshold; when at least one of the second check result and each first check result is the interception price, the check result is the interception price; and when the second check result and each first check result do not have the interception price and at least one of the second check result and each first check result is the early warning price, the check result is the early warning price.
In one embodiment, when the computer program is executed by the processor to implement the step of verifying the price data according to the first price reference system to obtain the first verification result, the following steps are specifically implemented: obtaining a check value according to the price data; when the check value is lower than a preset low value interception threshold value or higher than a preset high value interception threshold value, the first check result is an interception price; when the check value is between a preset low value early warning threshold value and a preset low value interception threshold value, or when the check value is between a preset high value early warning threshold value and a preset high value interception threshold value, the first check result is an early warning price; when the check value is between the preset high value early warning threshold value and the preset low value early warning threshold value, the first check result is a normal price;
when the computer program is executed by the processor, the step of verifying the price data according to the second price reference system to obtain the second verification result is realized by specifically realizing the following steps: when the price data is lower than a second abnormal lower limit threshold or higher than a second abnormal upper limit threshold, the second check result is the interception price; when the price data is between the normal lower threshold and the second abnormal lower threshold, or when the price data is between the normal upper threshold and the second abnormal upper threshold, the second check result is the early warning price; when the price data is between the normal upper threshold and the normal lower threshold, the second check result is the normal price.
In an embodiment, the check rule is provided with a switch, and when the computer program is executed by the processor to implement the step of obtaining the check result corresponding to the price data according to the price data and the preset price check model, the following steps are specifically implemented: when the switch corresponding to the verification rule is set to be in an open state, the verification rule verifies the price data to obtain a verification result; and when the switch corresponding to the verification rule is set to be in a closed state, the price data is not verified by the verification rule.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.