Virtual resource processing method, device, electronic device and storage medium
By setting a model to analyze item characteristic information, determine the quantity of virtual resources, and change the sales status, the problem of low accuracy in setting item price thresholds is solved, and the intelligence and efficiency of price control are improved.
Patent Information
- Application Number
- CN202110454382.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-26
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2041-04-26
AI Technical Summary
In the existing technology, due to the limited manual analysis capabilities during the item sales process, the threshold accuracy for setting item prices is not high, which affects the intelligence of price control.
By determining the characteristic information of the item, input it into the set model to obtain the threshold of virtual resources, determine whether the number of virtual resources of the item in the order is lower than the threshold, and change the sales status based on the results to achieve precise price control.
It improves the intelligence of item price control, reduces manual intervention, and improves the efficiency and accuracy of price exception processing.
Smart Images

Figure CN113283927B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a virtual resource processing method, device, electronic device and storage medium. Background Art
[0002] In the process of selling items, the price of the items needs to be evaluated. In the related art, users need to manually analyze the item data and manually set the lowest price at which the item can be settled as the threshold price. Since there are many factors that affect the price of an item, such as brand, specification, marketing activities, etc., it is necessary to analyze a large amount of item data to accurately set the threshold price. However, due to the limitation of manual analysis capabilities, the accuracy of setting the threshold price is not high. Summary of the invention
[0003] The embodiments of the present application provide a virtual resource processing method, device, electronic device and storage medium, which can be used to improve the accuracy of price control of listed items when forming an order.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present invention provides a method for processing virtual resources, the method comprising:
[0006] Determine first characteristic information corresponding to the item; the first characteristic information represents characteristic information about at least one type of characteristic corresponding to the item;
[0007] Inputting the determined first characteristic information into a setting model to obtain a first threshold value corresponding to the item output by the setting model; the first threshold value represents a lower limit of the resource quantity of the virtual resource corresponding to the item;
[0008] Based on the first threshold, it is determined whether there is a first order in at least one order that meets a set condition; the set condition indicates that the settlement resource quantity of the virtual resources corresponding to the item in the order is less than the first threshold;
[0009] When the first order exists in the at least one order, the sales status corresponding to the item is changed.
[0010] Among them, in the above scheme, the changing of the sales status corresponding to the item includes:
[0011] Outputting warning information to the monitoring background; the warning information is used to prompt the existence of the first order;
[0012] When response information regarding the warning information returned by the monitoring background is received, the sales status corresponding to the item is changed based on the response information.
[0013] In the above solution, the changing of the sales status corresponding to the item includes:
[0014] When the quantity of a first type of item of the corresponding first order in the setting container is greater than a first setting value, the quantity of a second type of item in the setting container is greater than a second setting value, and the ratio of the quantity of the first type to the quantity of the second type is greater than a third setting value, the sales status corresponding to the item is changed;
[0015] Wherein, each type of item in the set container corresponds to the same discount parameter.
[0016] In the above solution, the first characteristic information corresponding to the item is determined, including:
[0017] Determine second feature information corresponding to each of the at least one type of features corresponding to the item;
[0018] The determined second feature information is integrated to obtain the first feature information; wherein,
[0019] The dimension of the first feature information is lower than the dimension of any second feature information.
[0020] In the above solution, when the determined second feature information is merged to obtain the first feature information, the method includes:
[0021] Based on the maximum settlement resource quantity, the minimum settlement resource quantity and the current settlement resource quantity of the virtual resources corresponding to the item, characteristic information representing the resource quantity of the virtual resources of the item is determined.
[0022] In the above solution, when determining the first characteristic information corresponding to the item, the method includes:
[0023] The at least one type of feature associated with the first threshold is determined.
[0024] In the above solution, the first characteristic information corresponding to the item is determined, including:
[0025] Determining structured features and unstructured features corresponding to the item based on item data related to the item;
[0026] Processing structured features corresponding to the items based on user behavior data;
[0027] Processing unstructured features corresponding to the items based on user behavior data;
[0028] The processed structured features are fused with the processed unstructured features to obtain first feature information corresponding to the object.
[0029] The embodiment of the present application also provides a virtual resource processing device, including:
[0030] A determination unit, configured to determine first characteristic information corresponding to an item; the first characteristic information represents characteristic information about at least one type of characteristic corresponding to the item;
[0031] An input unit, used to input the determined first characteristic information into a setting model to obtain a first threshold value corresponding to the item output by the setting model; the first threshold value represents a lower limit of the resource quantity of the virtual resource corresponding to the item;
[0032] A judging unit, configured to judge whether there is a first order satisfying a set condition in at least one order based on the first threshold; the set condition indicates that the settlement resource quantity of the virtual resources corresponding to the item in the order is less than the first threshold;
[0033] A processing unit is used to change the sales status corresponding to the item when the first order exists in the at least one order.
[0034] The present application also provides an electronic device, including: a processor and a memory for storing a computer program that can be run on the processor.
[0035] Wherein, the processor is used to execute the steps of the above-mentioned virtual resource processing method when running the computer program.
[0036] An embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned virtual resource processing method are implemented.
[0037] In an embodiment of the present application, feature information of at least one type of feature corresponding to an item is input into a setting model, and a first threshold value corresponding to the item is output. When the current settlement resource quantity of virtual resources corresponding to the item in at least one order is lower than the first threshold value, the order is the first order, and the sales status corresponding to the item in the first order is changed. In this way, the features corresponding to the item are analyzed by setting a model to predict the first threshold value, thereby accurately controlling the price of the item when an order is formed, thereby improving the intelligence of price control. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of an implementation flow of a virtual resource processing method provided in an embodiment of the present application;
[0039] Figure 2 A schematic diagram of a feature fusion implementation process provided in an embodiment of the present application;
[0040] Figure 3 A schematic diagram of the architecture of a virtual resource processing system provided for an application embodiment of the present application;
[0041] Figure 4 A schematic diagram of a setting model fusion implementation process provided for an application embodiment of the present application;
[0042] Figure 5 A schematic diagram of the structure of a virtual resource processing device provided in an embodiment of the present application;
[0043] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In the era of mobile Internet, online shopping has become an indispensable part of daily life. However, at the same time, price anomalies caused by human factors such as online item prices and item discount settings errors, as well as system abnormalities, are also emerging in an endless stream. Price anomalies not only cause huge economic losses, but also reduce the user's shopping experience and seriously affect the company's reputation. Therefore, it is urgent to establish a complete item price control system to evaluate the price of items during the item sales process, and to handle abnormalities in the settlement price of items to prevent the occurrence of abnormal item price events.
[0045] In related technologies, operators use statistical methods to set threshold prices, which requires manual analysis of item data and manual setting of the lowest price at which items can be settled as the threshold price. Since there are many factors that affect item prices, such as brand, specifications, marketing activities, etc., it is necessary to analyze a large amount of item data to accurately set the threshold price. However, due to the limitations of manual analysis capabilities, the accuracy of setting the threshold price is not high.
[0046] Based on this, in various embodiments of the present application, feature information of at least one type of feature corresponding to the item is input into a setting model, and a first threshold value corresponding to the item is output. When the current settlement resource quantity of the virtual resources corresponding to the items in at least one order is lower than the first threshold value, the order is the first order, and the sales status corresponding to the items in the first order is changed. In this way, the features corresponding to the items are analyzed by setting the model to achieve a prediction of the first threshold value. Once it is found that the current settlement resource quantity of the virtual resources corresponding to the items in the order is lower than the first threshold value, the sales status corresponding to the item is changed. In this way, the first threshold value prediction is achieved by setting the model, thereby accurately controlling the price of the items when forming an order, thereby improving the intelligence of price control.
[0047] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0048] Figure 1 The following is a schematic diagram of the implementation process of the virtual resource processing method provided in the embodiment of the present application, and the execution subject may be a server. Figure 1 As shown, the virtual resource processing method includes:
[0049] Step 101: Determine first characteristic information corresponding to an object; the first characteristic information represents characteristic information about at least one type of characteristic corresponding to the object.
[0050] In this embodiment, first characteristic information corresponding to the item is determined based on the acquired item data, and the first characteristic information represents characteristic information about at least one type of characteristic corresponding to the item. Here, item data corresponding to the item that needs to be price controlled is acquired, and the characteristics of the corresponding item are determined based on the item data, and the type of the characteristic is determined based on the type of the item data; the first characteristic information represents characteristic information of at least one type of characteristic.
[0051] In actual applications, some of the acquired item data is invalid data and cannot be used to determine the corresponding features. For example, if the specifications and performance parameters of an item are filled in as "other" or "subject to official website information", then the unstructured item data such as the item title text, the text, pictures, and videos on the item details page can be further processed. Specifically, data mining can be performed through natural language processing, image processing, video content understanding and other technologies to improve the corresponding features of the item.
[0052] Step 102: inputting the determined first characteristic information into a setting model to obtain a first threshold corresponding to the item output by the setting model; the first threshold represents a lower limit of the resource quantity of the virtual resource corresponding to the item;
[0053] The first feature information is input into the setting model to obtain the predicted first threshold. The setting model is trained using the first feature information as a training set. Here, virtual resources can be currency, virtual currency, points, account points, etc., and the resource quantity of virtual resources corresponding to the item can be the price of the item in which the virtual resources are settled. For enterprises, the first threshold represents the minimum price corresponding to the acceptable item when an order is formed based on factors such as the cost of the item. When the settlement resource quantity of the virtual resources corresponding to the item is lower than the first threshold when an order is formed, it is judged that the item is in an abnormal price state.
[0054] Step 103: Based on the first threshold, determine whether there is a first order in at least one order that meets a set condition; the set condition indicates that the settlement resource quantity of the virtual resources corresponding to the items in the order is less than the first threshold.
[0055] Based on the first threshold value output by the setting model, it is determined whether there is an order that meets the setting condition in at least one order, and the order that meets the setting condition is taken as the first order. Here, the setting condition is to determine the current settlement resource quantity of the virtual resources corresponding to the item in the order based on the item data, and compare it with the first threshold value. When the settlement resource quantity of the virtual resources corresponding to the item in the order is less than the first threshold value, the order meets the setting condition. Here, at least one order can be all orders containing the item generated within a time period, and the item is an item of one type, such as a TV of XX brand and XX model.
[0056] Step 104: When the first order exists in the at least one order, the sales status corresponding to the item is changed.
[0057] When it is determined that there is an order that meets the set conditions in at least one order, the sales status of this type of item is changed. Here, at least one item in the first order is in an abnormal price state, and the sales status of the item of this type with an abnormal price is changed. The sales status corresponding to the item can indicate whether the item belongs to the applicable scope of a certain promotion or coupon marketing activity, or whether the item is in a saleable state; when the sales status corresponding to the item changes, it can be that the item exits the applicable scope of the promotion or coupon marketing activity and is settled at a new settlement price, or the item can be removed from the shelf and not sold for the time being.
[0058] Since an item may participate in at least one promotion and also be superimposed with the discount parameters of at least one coupon, that is, the settlement price is simultaneously affected by the superposition of discounts from multiple marketing activities, after the item exits the promotion or exits the scope of application of the coupon, there is still a possibility that the current settlement resource quantity of the corresponding virtual resources is less than the first threshold. At this time, the current settlement resource quantity of the virtual resources corresponding to the item can be compared with the first threshold to determine whether it is necessary to change the sales status of the item.
[0059] In an embodiment of the present application, feature information of at least one type of feature corresponding to an item is input into a setting model, and a first threshold value corresponding to the item is output. When the current settlement resource quantity of virtual resources corresponding to the item in at least one order is lower than the first threshold value, the order is the first order, and the sales status corresponding to the item in the first order is changed. In this way, by analyzing the features corresponding to the item through the setting model and realizing the prediction of the first threshold value, the price of the item when forming an order can be accurately controlled, thereby improving the intelligence of price control.
[0060] Moreover, in the related art, the threshold price is set by the operator, and the price of the item is controlled by judging the settlement price at the time of listing and the set threshold price for the items to be put on the shelves. However, for the items that have been put on the shelves, the threshold price will change accordingly as time goes by; at the same time, as the marketing activities are launched, the settlement price of the items will also change, resulting in low accuracy of price control when the items that have been put on the shelves are placed in an order, which in turn affects the intelligence of price control. In the embodiment of the present application, a setting model is used to train the setting model using the current item data to obtain the current first threshold, thereby realizing the real-time update of the first threshold. The first threshold corresponding to the items that have been put on the shelves can be updated as time goes by, and the settlement price can also be determined in real time as the marketing activities are launched, thereby improving the accuracy of price control of the items that have been put on the shelves when placing an order, and improving the intelligence of price control.
[0061] Therefore, the virtual resource processing method disclosed in the embodiment of the present application can not only issue warnings for items that are about to be put on the shelves, but also process items that have been put on the shelves but are in an abnormal price state, thereby achieving price control of massive items.
[0062] In one embodiment, the changing of the sales status corresponding to the item includes:
[0063] Outputting warning information to the monitoring background; the warning information is used to prompt the existence of the first order;
[0064] When response information regarding the warning information returned by the monitoring background is received, the sales status corresponding to the item is changed based on the response information.
[0065] When the current settlement resource quantity of the virtual resource corresponding to the item in the order is lower than the first threshold, an early warning message is output to the monitoring background, indicating that the current settlement resource quantity of the virtual resource corresponding to the item is lower than the first threshold, and when the response information about the early warning message returned by the monitoring background is received, the sales status of the item is changed based on the confirmed sales status change method. Here, the one who receives the early warning message and responds to the message in the monitoring background can be a server that automatically responds to the message by setting conditions, or a person with specific authority, such as an operator of the platform operator.
[0066] In this way, by timely reaching the operator with the relevant information of the items in the order that are in the abnormal price state, the operator can timely evaluate the situation of the abnormal price event, and make timely changes to the sales status of the item according to the instructions of the operator when the current settlement resource quantity of the virtual resources corresponding to the item in the order is lower than the first threshold. The system calculation and the operator jointly make the price abnormality judgment, which improves the accuracy of price control, and at the same time, it can also reduce the workload of the operator and improve the efficiency and intelligence of price abnormality processing.
[0067] In one embodiment, the changing the sales status corresponding to the item includes:
[0068] When the quantity of a first type of item of the corresponding first order in the setting container is greater than a first setting value, the quantity of a second type of item in the setting container is greater than a second setting value, and the ratio of the quantity of the first type to the quantity of the second type is greater than a third setting value, the sales status corresponding to the item is changed;
[0069] Wherein, each type of item in the set container corresponds to the same discount parameter.
[0070] When the current settlement resource quantity of the virtual resources corresponding to the item in the order is lower than the first threshold, the number of item types that need to change the sales status within a set time period is counted. Judgment condition 1: the number of item types that need to change the sales status in the set container is greater than the first set value; Judgment condition 2: the number of item types in the set container is greater than the second set value; Judgment condition 3: the ratio of the number of item types that need to change the sales status to the number of item types is greater than the third set value. When the above three conditions are met at the same time, the sales status corresponding to the items with abnormal prices in the order is changed; the items of each type in the set container correspond to the same discount parameters. Here, the set container can be understood as the applicable scope of a marketing activity, and it is determined whether to change the sales status corresponding to the items within this applicable scope according to the above conditions. Items of the same item type represent items of the same specifications that can be replaced during the sales process. For example, a bag of 40 grams of original potato chips of brand A and another bag of 40 grams of original potato chips of brand A are items of the same item type, while a bag of 40 grams of original potato chips of brand A and a bag of 80 grams of original potato chips of brand A are items of different item types. The first set value, the second set value, and the third set value may be set or determined through model training. When calculating the current settlement resource quantity of the virtual resource corresponding to the item in the order, the same discount parameter may be the base resource quantity of the item multiplied by the same discount coefficient, or may be the same resource quantity minus the same resource quantity after a certain resource quantity is met.
[0071] In this way, by setting conditions, a large number of items under a marketing campaign can be prevented from being withdrawn from the campaign, and the intelligence of handling price anomalies can be improved.
[0072] In actual application, the first setting value of the marketing activity is set to 5, the second setting value is 100, and the third setting value is 0.05. The time period is set to one hour, and three coupons A, B, and C are created. At this time, within this hour, the number of items that need to change the sales status corresponding to coupon A is 3, the total number of items is 200, and the ratio is 0.015, which does not meet the three setting conditions at the same time; the number of items that need to be price controlled corresponding to coupon B is 10, the total number of items is 50, and the ratio is 0.2, which does not meet the three setting conditions at the same time; the number of items that need to be price controlled corresponding to coupon C is 15, the total number of items is 150, and the ratio is 0.1, which meets the three setting conditions at the same time. Because the number of items affected by the price anomaly of coupon A is small, and the scope of use of coupon B is small, in order to achieve better results of coupons, the sales status of the items of coupons A and B is not changed; and coupon C meets the setting conditions, and changing the sales status of the items of coupon C will not have a great impact on the effect of coupon placement, thereby improving the intelligence of price control.
[0073] In the related art, the structured item attribute data is encoded with one-hot encoding as data for model training. When there are many options for the structured item attribute data, the one-hot encoding has a high dimension and is sparse, which affects the speed and effect of model training. In one embodiment, the first feature information corresponding to the item is determined, including:
[0074] Determine second feature information corresponding to each of the at least one type of features corresponding to the item;
[0075] The determined second feature information is integrated to obtain the first feature information; wherein,
[0076] The dimension of the first feature information is lower than the dimension of any second feature information.
[0077] Determine that the feature corresponding to at least one type of feature corresponding to the item is the second feature information, fuse based on part or all of the features in the second feature information to obtain at least one fused feature, and obtain the first feature information based on the at least one fused feature, the first feature information characterizes the feature information about at least one type of feature corresponding to the item. Here, fusion refers to combining part or all of the features in the second feature information, calculating the combination result through a set formula to obtain a fused feature, and the fused feature is used as input data for setting the model. The dimension of the first feature information is lower than the dimension of any second feature information. In this way, the relationship between at least one type of feature of the item can be analyzed to improve the accuracy of the first threshold setting; the parameters of the set model can also be reduced, the model complexity can be reduced, and the model training speed can be accelerated.
[0078] In one embodiment, it is characterized in that when the determined second feature information is fused to obtain the first feature information, the method includes:
[0079] Based on the maximum settlement resource quantity, the minimum settlement resource quantity and the current settlement resource quantity of the virtual resources corresponding to the item, characteristic information representing the resource quantity of the virtual resources of the item is determined.
[0080] At least one type of feature includes a feature of the item price class. The features of the item price class corresponding to the item are combined, and the combination result includes the maximum settlement resource quantity, the minimum settlement resource quantity, and the current settlement resource quantity. The combination result is calculated by a set formula to determine the feature information of the item price of the item, and a fusion feature is obtained. The fusion feature is used as input data for setting the model. By setting a function formula, the maximum settlement resource quantity, the minimum settlement resource quantity, and the current settlement resource quantity in the features of the item price class are calculated to determine the feature information of the item price of the item. In this way, the relationship between the feature information of the item price class can be analyzed, and the parameters of the set model can be reduced, the model complexity can be reduced, and the model training speed can be accelerated.
[0081] Taking the item price power index feature as an example, as a fusion feature, it can reflect the deeper relationship between item data and the first threshold. By reflecting the fluctuation of the number of item settlement resources, it characterizes the degree to which the current number of settlement resources deviates from the normal value, and has a higher correlation with the first threshold.
[0082] The method to obtain it is as follows:
[0083] The first step is to determine the maximum and minimum settlement resource quantities of the item based on the item data;
[0084] The second step is to determine the current settlement resource quantity of the item in real time based on the item's baseline resource quantity and coupon and promotion data;
[0085] The third step is to determine the characteristics of the item’s price power index through the following formula 1.
[0086]
[0087] Among them, price index is the price power index characteristic of the item, price max is the maximum settlement resource quantity, price min is the minimum settlement resource quantity, price cur The current number of settlement resources.
[0088] In this way, by determining the feature information corresponding to the item price feature corresponding to the item as the second feature information, and using the maximum settlement resource quantity, the minimum settlement resource quantity and the current settlement resource quantity to determine the item price power index feature as the first feature information, the dimension of the first feature information is lower than the dimension of any second feature information. In this way, the relationship between item features can be analyzed to improve the accuracy of the first threshold setting; the parameters of the setting model can also be reduced, the model complexity can be reduced, and the model training speed can be accelerated.
[0089] In one embodiment, when determining the first characteristic information corresponding to the item, the method includes:
[0090] The at least one type of feature associated with the first threshold is determined.
[0091] At least one type of feature associated with a first threshold is determined, and the determined feature is used to determine first feature information corresponding to the commercial item.
[0092] Here, the features related to the first threshold of the item are filtered, and the features with too high proportion of null values are deleted. In this way, the features that are not conducive to setting the model training analysis are eliminated, the feature information input into the model is reduced, and the model complexity is reduced.
[0093] In one embodiment, determining the first characteristic information corresponding to the item includes:
[0094] Determining structured features and unstructured features corresponding to the item based on item data related to the item;
[0095] Processing structured features corresponding to the items based on user behavior data;
[0096] Processing unstructured features corresponding to the items based on user behavior data;
[0097] The processed structured features are fused with the processed unstructured features to obtain first feature information corresponding to the object.
[0098] Based on the structured item data and unstructured item data included in the item data, embedding processing is performed with the user behavior data respectively, the structured features corresponding to the item and the unstructured features corresponding to the item are determined, and the processed structured features and the processed unstructured features are fused to obtain the first feature information corresponding to the item, and the first feature information represents the feature information about at least one type of feature corresponding to the item. Here, the user behavior data includes user browsing data, the item data includes structured item data and unstructured item data, and the unstructured item data is pre-processed by natural language processing and / or image processing. Based on the user behavior data, the unstructured features corresponding to the unstructured item data are embedded, and based on the user behavior data, the structured features corresponding to the structured item data are embedded to obtain the processed structured features and the processed unstructured features, and the processed structured features and the processed unstructured features are fused to obtain the first feature information corresponding to the item. Here, after the processed structured class features and the processed unstructured features are fused, they can be further combined with at least one type of feature corresponding to the item to obtain the first feature information. Fusion refers to combining at least two features, calculating the combined result through a set formula to obtain a fused feature, and using the fused feature as the input of the set model. Compared with the features before fusion, the fused feature can reflect deeper information between the item data and the first threshold. In this way, by combining at least one type of feature corresponding to the item, fusing the combined features, and determining the first feature information as the input of the set model, the parameters of the set model can be reduced, the model complexity can be reduced, and the model training speed can be accelerated.
[0099] In one embodiment, if Figure 2 The figure shows a flow chart of feature fusion implementation, which mines out multiple types of features including item price, item attributes, item category, etc., and further mines the correlation information between different types of features through feature fusion to determine the fused features.
[0100] The method of determination is as follows:
[0101] The first step is to use the specifications in the item data and embed the structured specification features using technologies such as Word2vec and Bert to obtain structured item attribute features. In practical applications, user behavior data can be sku1, sku2, and sku3, which represent the browsing data of sku1, sku2, and sku3. They are embedded with the item specifications to obtain structured specification features sku1(att1, attr, att3), sku2(att1, attr, att3), and sku3(att1, attr, att3).
[0102] In the second step, natural language processing and image processing techniques are used to extract item title information and item detail page information such as text, pictures, and video data to improve the unstructured specification features corresponding to the items. Referring to the first step, combined with user behavior data, the unstructured specification features are embedded and processed to obtain unstructured item attribute features.
[0103] The third step is to fuse the structured item attribute features and the unstructured item attribute features obtained in the first and second steps to obtain the item attribute features. The formula used in the fusion method can be set as needed. The fusion method of the price power index feature is provided above.
[0104] In the fourth step, at least one of the item price feature and the item category feature is combined with the item attribute feature, and the combination result is calculated by a set formula to obtain a fusion feature for predicting the first threshold.
[0105] The present application is further described in detail below in conjunction with application examples.
[0106] To implement the method of the embodiment of the present application, the embodiment of the present application also provides a virtual resource processing system, such as Figure 3 As shown, it includes a feature mining module, a prediction module, a settlement resource quantity real-time calculation module, and a processing module.
[0107] Item data includes at least order data, item sales data, promotional data, user behavior data, price anomaly data and other types of data. Specifically, order data can reflect the price range formed by the maximum and minimum settlement resource quantities of items in history, resource quantity fluctuations, including the historical settlement resource quantities of items and sales volume corresponding to different settlement resource quantities. Item sales data includes structured item sales data and unstructured item sales data. Structured item sales data includes the purchase resource quantity, warehouse report resource quantity, item category, brand, and specification. Unstructured item sales data includes Chinese characters, pictures, and videos on the item details page. Promotional data affects the settlement resource quantity of items, including discount parameters. User behavior data reflects item popularity and item off-season and peak-season information, including user interaction data with item pages. Price anomaly data includes the threshold settlement resource quantity defined by operators and descriptive data of historical price anomaly events that occurred and were reported.
[0108] The feature mining module includes a feature collection unit, a feature filtering unit, and a feature mining unit.
[0109] Here, before determining the characteristics of the item data, the item data may be cleaned. Specifically, based on the activity identifier in the item data, the item data in some special scenarios are selectively removed, and the characteristics corresponding to the item are determined using the cleaned data. For example, when calculating the price power index characteristics (such as formula 1), the item data corresponding to special scenarios such as flash sale orders and new orders are cleaned and removed. In this way, the minimum settlement resource quantity price after cleaning min The minimum settlement resource quantity price that will not be cleaned min The first threshold price is predicted based on the determined item price power index characteristics. In this way, by eliminating interference data irrelevant to the threshold price prediction, the prediction accuracy and robustness of the model in multiple scenarios can be improved.
[0110] The feature collection unit is used to preliminarily determine corresponding features based on the object data.
[0111] The types of features include item price, item attributes, item category, item attention, and marketing. The features of item price include the maximum settlement resource quantity, the minimum settlement resource quantity, the settlement price standard deviation, and the settlement price quantiles. The features of item attribute include item brand, series, specifications, and performance parameters. The features of the category to which the item belongs include the maximum settlement resource quantity, the minimum settlement resource quantity, the settlement resource quantity standard deviation, the settlement resource quantity quantiles, the number of active items under the category, and the number of items with abnormal prices under the category. The features of item attention include the number of views, the number of attentions, the number of orders, the browsing trend, the attention trend, and the order trend. The features of marketing include available coupons, the number of promotions, the maximum promotion discount for items, the maximum coupon discount ratio, and the activity logo.
[0112] Here, item attribute features are an important basis for predicting item pricing. Based on them, the price range formed by the maximum and minimum settlement resource quantities in the history of items can be accurately predicted, and then the first threshold price of items can be predicted. To determine the item attribute features corresponding to an item, distributed representation (such as Word2vec, Bert and other models) technology can be applied to mine item attribute features in combination with user behavior data; natural language processing (NLP) and image processing technology can also be applied to supplement and improve item attribute features. User behavior data contains rich information. For example, the user's search clicks and browsing sequences for items can reflect the process of users searching for items and comparing items, and contain similar relationships of item attribute features. By using user behavior data such as search clicks and browsing sequences as a corpus and using Word2vec, Bert and other models for learning, the distributed expression of item attribute features can be achieved.
[0113] In actual applications, item attribute features are often invalid data. For example, the specifications and performance parameters of an item are filled in as "other" or "subject to official website information". In this case, we can further process the unstructured item sales data such as the item title text, the text, pictures, and videos on the item details page. Specifically, we can mine through natural language processing, image processing, video content understanding and other technologies to improve the item attribute features.
[0114] The feature filtering unit is used to delete features with too high a proportion of null values. In this way, features that are not conducive to setting model training analysis are eliminated, reducing the feature information input to the model, thereby reducing the complexity of the model.
[0115] The feature mining unit is used to determine that part or all of the features in at least one type of feature corresponding to the item are fused to obtain fused features. Here, fusion refers to combining part or all of the features in the second feature information, calculating the combined result through a set formula, and obtaining fused features, which can reflect deeper information between the item data and the first threshold price. The fused features are input into the prediction module by the feature mining module.
[0116] The prediction module includes a prediction unit and an optimization unit, which provides the threshold price of the item to the decision unit of the processing module. By building a setting model, the accuracy and robustness of model prediction in multiple scenarios can be improved.
[0117] The prediction unit can use common numerical prediction algorithms, such as generalized linear regression and lasso algorithm (LASSO) based on regression; gradient boosting tree (GBDT) and boosting tree model XGBOOST based on tree model; exponential smoothing method and autoregressive integrated moving average model (ARIMA) based on time series; deep neural networks (DNN) and long short-term memory networks (LSTM) based on deep learning as basic models for item threshold price prediction.
[0118] The optimization unit fuses the above basic models of the prediction unit, such as Figure 4 The figure shows the flow chart of setting model fusion implementation. According to the prediction effect, the prediction result of one model can be selected; or the prediction results of at least two models can be set with weighted weights to calculate the prediction results. This can solve the accuracy and robustness of model prediction in multiple scenarios and improve the model prediction effect.
[0119] The settlement resource quantity real-time calculation module includes a coupon collection unit, a promotion collection unit, and a resource quantity calculation unit, which is used to determine the settlement resource quantity of items in real time, including the settlement resource quantity of items on the shelves and the settlement resource quantity of items to be put on the shelves, and provide the settlement resource quantity of the items to the decision unit of the processing module.
[0120] The coupon collection unit calculates and returns all currently available coupon information for items in real time according to the coupon usage rules. Coupons can be previously created or newly created. Platform operators or merchants can create coupons for all items, specific categories, specific merchants, specific brands or specific items.
[0121] The promotion collection unit works similarly to the coupon collection unit. Promotions are mostly created by merchants for specific items. Common promotions include single product promotions, gifts, discounts, group purchases, etc. The promotion collection unit collects previously created and newly created and currently valid promotion data in real time, and calculates and returns all available promotion data for items in real time according to the promotion usage rules.
[0122] The resource quantity calculation unit calculates the settlement resource quantity of the item in real time according to the benchmark resource quantity of the item and the coupon and promotion data returned by the coupon collection unit and the promotion collection unit, in accordance with the coupon and promotion data superposition rules.
[0123] The processing module includes a decision-making unit, an activity exit unit, a message reaching unit, and an effect evaluation unit, which changes the sales status corresponding to the item.
[0124] The decision-making unit receives the settlement resource quantity of the item provided in real time by the settlement resource quantity real-time calculation module, and receives the first threshold price provided by the prediction module. When the settlement resource quantity of the item is lower than the first threshold price, the sales status corresponding to the item is changed, indicating that the sales status is changed according to the business rules or risk levels set by the operator. Here, the set business rules can be set as the priority order for exiting the marketing activity when price abnormalities occur. The risk level can be determined based on the number of items applicable to the marketing activity. The larger the number of items applicable to the marketing activity, the higher the risk level; the risk level can also be determined based on the settlement resource quantity after exiting the marketing activity. When the settlement resource quantity after exiting a marketing activity is lower than when exiting any other marketing activity, the risk level of the marketing activity is higher.
[0125] After the decision-making unit decides to change the sales status, the activity exit unit changes the sales status of the item, and the item cannot form an order according to the current settlement resource quantity. The activity exit unit will exit the coupon and promotion marketing activities in sequence according to the set business rules or risk level. After exiting the marketing activities, the item will be sold according to the new settlement resource quantity.
[0126] The function of the message reaching unit is to realize the reaching function of information related to abnormal price events. When the information related to abnormal price events of items needs to reach the operator in time, the operator can evaluate the situation of the abnormal price event and issue information feedback on the abnormal price event to support the decision-making unit to make a decision. Before the information reaches the operator, it can be filtered, merged, and other operations to improve the intelligence of the system.
[0127] The effect evaluation unit calculates and tracks the evaluation indicators. The evaluation indicators include model evaluation indicators and business effect evaluation indicators. Model evaluation indicators measure the quality of prediction effects from the perspective of the model, and business evaluation indicators measure the final business effects. Model evaluation indicators include R 2 Score , MAPE, RMSPE. Business evaluation indicators include judgment accuracy, recall rate, early warning information pre-processing rate, and loss recovery.
[0128] R 2 Score , the calculation formula is
[0129] MAPE is calculated as
[0130] RMSPE, calculated as
[0131] Judgment accuracy rate = (the number of actual judgments and the number of correct judgments reported by operators) / the number of actual judgments;
[0132] Recall rate = the number of correct judgments (actual judgments and feedback from operators) / the number of judgments that should be made;
[0133] Pre-processing rate of early warning information = number of risk events handled by operators / total number of risk events;
[0134] Loss recovery refers to the loss recovered by the enterprise due to avoiding abnormal price events. For example, if the cost of item B is 100 yuan, and if it is not handled, 10,000 pieces will be sold at 0 yuan, so the loss recovered can be considered to be 1 million yuan.
[0135] To implement the method of the embodiment of the present application, the embodiment of the present application also provides a virtual resource processing device, such as Figure 5 As shown, the device comprises:
[0136] A determining unit 501 is configured to determine first feature information corresponding to an item; the first feature information represents feature information about at least one type of feature corresponding to the item;
[0137] An input unit 502 is used to input the determined first characteristic information into a setting model to obtain a first threshold corresponding to the item output by the setting model; the first threshold represents a lower limit of the resource quantity of the virtual resource corresponding to the item;
[0138] A judging unit 503 is configured to judge whether there is a first order satisfying a set condition in at least one order based on the first threshold; the set condition indicates that the settlement resource quantity of the virtual resources corresponding to the item in the order is less than the first threshold;
[0139] The processing unit 504 is used to change the sales status corresponding to the item when the first order exists in the at least one order.
[0140] In one embodiment, the processing unit 504 is used to:
[0141] Outputting warning information to the monitoring background; the warning information is used to prompt the existence of the first order;
[0142] When response information regarding the warning information returned by the monitoring background is received, the sales status corresponding to the item is changed based on the response information.
[0143] In one embodiment, the processing unit 504 is configured to:
[0144] When the quantity of a first type of item of the corresponding first order in the setting container is greater than a first setting value, the quantity of a second type of item in the setting container is greater than a second setting value, and the ratio of the quantity of the first type to the quantity of the second type is greater than a third setting value, the sales status corresponding to the item is changed;
[0145] Wherein, each type of item in the set container corresponds to the same discount parameter.
[0146] In one embodiment, the determining unit 501 is configured to:
[0147] Determine second feature information corresponding to each of the at least one type of features corresponding to the item;
[0148] The determined second feature information is integrated to obtain the first feature information; wherein,
[0149] The dimension of the first feature information is lower than the dimension of any second feature information.
[0150] In one embodiment, the determination unit is used to determine characteristic information representing the resource quantity of the virtual resource of the item based on the maximum settlement resource quantity, the minimum settlement resource quantity and the current settlement resource quantity of the item.
[0151] In one embodiment, the determining unit 501 is configured to:
[0152] The at least one type of feature associated with the first threshold is determined.
[0153] In one embodiment, the determining unit 501 is configured to:
[0154] Determining structured features and unstructured features corresponding to the item based on item data related to the item;
[0155] Processing structured features corresponding to the items based on user behavior data;
[0156] Processing unstructured features corresponding to the items based on user behavior data;
[0157] The processed structured features are fused with the processed unstructured features to obtain first feature information corresponding to the object.
[0158] In actual application, the determination unit 501, input unit 502, judgment unit 503, and processing unit 504 can be implemented by a processor in a virtual resource processing device, such as a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU), or a programmable gate array (FPGA).
[0159] It should be noted that: the virtual resource processing device provided in the above embodiment only uses the division of the above program modules as an example when performing virtual resource processing. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the virtual resource processing device provided in the above embodiment and the virtual resource processing method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0160] Based on the hardware implementation of the above program modules, and in order to implement the virtual resource processing method of the embodiment of the present application, the embodiment of the present application also provides an electronic device, such as Figure 6 As shown, the electronic device 600 includes:
[0161] Communication interface 610, capable of exchanging information with other devices such as network devices;
[0162] The processor 620 is connected to the communication interface 610 to implement information exchange with other devices and is used to execute the method provided by one or more technical solutions when running a computer program. The computer program is stored in the memory 630.
[0163] Of course, in actual application, the various components in the electronic device 600 are coupled together through the bus system 640. It can be understood that the bus system 640 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 640 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 6 Various buses are labeled as bus system 640 .
[0164] The memory 630 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device 600. Examples of such data include: any computer program used to operate on the electronic device 600.
[0165] It can be understood that the memory 630 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 630 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.
[0166] The method disclosed in the above embodiment of the present application can be applied to the processor 620, or implemented by the processor 620. The processor 620 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 620 or the instruction in the form of software. The above processor 620 can be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 620 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 630, and the processor 620 reads the program in the memory 630 and completes the steps of the above method in combination with its hardware.
[0167] Optionally, when the processor 620 executes the program, it implements the corresponding processes implemented by the electronic device in each method of the embodiments of the present application, which will not be described in detail here for the sake of brevity.
[0168] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 630 storing a computer program, and the computer program can be executed by a processor 620 of an electronic device to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0169] In the several embodiments provided in the present application, it should be understood that the disclosed devices, electronic devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0170] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0171] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0172] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0173] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0174] It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict. Unless otherwise specified and limited, the term "connection" should be understood in a broad sense, for example, it can be an electrical connection, or it can be the internal connection of two components, it can be a direct connection, or it can be an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0175] In addition, in the examples of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the objects distinguished by "first\second\third" can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein.
[0176] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0177] The various specific technical features in the various embodiments described in the specific implementation methods can be combined in various ways without contradiction. For example, different implementation methods can be formed by combining different specific technical features. In order to avoid unnecessary repetition, the various possible combinations of the specific technical features in this application will not be described separately.
Claims
1. A virtual resource processing method, characterized in that: The method comprises: Determine first characteristic information corresponding to the item; the first characteristic information represents characteristic information about at least one type of characteristic corresponding to the item; Input the determined first characteristic information into the setting model to obtain a first threshold value corresponding to the item output by the setting model; the first threshold value represents the lower limit of the resource quantity of the virtual resource corresponding to the item; the resource quantity of the virtual resource represents the price of the item in the form of virtual resources; Based on the first threshold, it is determined whether there is a first order in at least one order that meets a set condition; the set condition indicates that the settlement resource quantity of the virtual resources corresponding to the item in the order is less than the first threshold; When the first order exists in the at least one order, the sales status corresponding to the item is changed; the sales status corresponding to the item indicates whether the item falls within the applicable scope of the marketing activity, or whether the item is in a saleable state.
2. The virtual resource processing method according to claim 1, characterized in that: The changing the sales status corresponding to the item includes: Outputting warning information to the monitoring background; the warning information is used to prompt the existence of the first order; When response information regarding the warning information returned by the monitoring background is received, the sales status corresponding to the item is changed based on the response information.
3. The virtual resource processing method according to claim 1, characterized in that: The changing the sales status corresponding to the item includes: When the quantity of a first type of item of the corresponding first order in the setting container is greater than a first setting value, the quantity of a second type of item in the setting container is greater than a second setting value, and the ratio of the quantity of the first type to the quantity of the second type is greater than a third setting value, the sales status corresponding to the item is changed; Wherein, each type of item in the set container corresponds to the same discount parameter.
4. The virtual resource processing method according to claim 1, characterized in that: The determining of the first characteristic information corresponding to the item includes: Determine second feature information corresponding to each of the at least one type of features corresponding to the item; The determined second feature information is integrated to obtain the first feature information; wherein, The dimension of the first feature information is lower than the dimension of any second feature information.
5. The virtual resource processing method according to claim 4, characterized in that: When the determined second feature information is fused to obtain the first feature information, the method includes: Based on the maximum settlement resource quantity, the minimum settlement resource quantity and the current settlement resource quantity of the virtual resources corresponding to the item, characteristic information representing the resource quantity of the virtual resources of the item is determined.
6. The virtual resource processing method according to claim 1, characterized in that: When determining the first characteristic information corresponding to the item, the method includes: The at least one type of feature associated with the first threshold is determined.
7. The virtual resource processing method according to claim 1, characterized in that: The determining of the first characteristic information corresponding to the item includes: Determining structured features and unstructured features corresponding to the item based on item data related to the item; Processing structured features corresponding to the items based on user behavior data; Processing unstructured features corresponding to the items based on user behavior data; The processed structured features are fused with the processed unstructured features to obtain first feature information corresponding to the object.
8. A virtual resource processing device, characterized in that: include: A determination unit, used to determine first characteristic information corresponding to the item; The first feature information represents feature information about at least one type of feature corresponding to the object; An input unit, used to input the determined first characteristic information into a setting model, to obtain a first threshold value corresponding to the item output by the setting model; the first threshold value represents a lower limit of the resource quantity of the virtual resource corresponding to the item; the resource quantity of the virtual resource represents the price of the item in the form of settlement using the virtual resource; A judging unit, configured to judge whether there is a first order satisfying a set condition in at least one order based on the first threshold; the set condition indicates that the settlement resource quantity of the virtual resources corresponding to the item in the order is less than the first threshold; A processing unit is used to change the sales status corresponding to the item when the first order exists in the at least one order; the sales status corresponding to the item represents whether the item falls within the scope of application of the marketing activity, or whether the item is in a saleable state.
9. An electronic device, characterized in that: include: a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the virtual resource processing method described in any one of claims 1 to 7.
10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the virtual resource processing method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Systems and methods for allocating communication resources via information technology infrastructure
US20170195394A1
Systems and methods for scalable, adaptive, real-time personalized offers generation
US20180197200A1
