Commodity processing method, device and electronic equipment

By obtaining and analyzing the predicted feature vectors of target products and competing products, combined with user behavior data, and training a mapping function to predict sales, the problem of inaccurate sales forecasting in the existing technology is solved, and more accurate inventory management and user satisfaction are achieved. promote.

CN113065882BActive Publication Date: 2024-08-30阿里巴巴(上海)有限公司
View PDF 16 Cites 0 Cited by

Patent Information

Application Number
CN202010001824.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-01-02
Publication Date
2024-08-30
Estimated Expiration
2040-01-02

AI Technical Summary

Technical Problem

Existing sales forecasting methods only consider historical sales records and cannot accurately reflect changes in the characteristics of the product itself, resulting in inaccurate forecast results and affecting inventory management and user satisfaction.

Method used

By obtaining the predicted feature vectors of the target product and competing products, combined with the user behavior data of the historical statistical period, the mapping function is trained to predict the sales volume of the target product, and the inventory is adjusted based on the prediction results.

Benefits of technology

Improved accuracy of sales forecasts enables sellers to adjust inventory more accurately, improving e-commerce business productivity and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113065882B
    Figure CN113065882B
Patent Text Reader

Abstract

The present invention discloses a commodity processing method, device and electronic equipment, the method comprising: obtaining a predicted feature vector of a target commodity in a target statistical period, a predicted feature vector of a competing commodity of the target commodity in the target statistical period, the sales volume of the target commodity in a previous statistical period of the target statistical period, and the sales volume of the competing commodity in the previous statistical period; obtaining a mapping function; obtaining the predicted sales volume of the target commodity in the target statistical period according to the mapping function, the predicted feature vector of the target commodity, the predicted feature vector of the competing commodity, the sales volume of the target commodity in the previous statistical period, and the sales volume of the competing commodity in the previous statistical period; and adjusting the inventory of the target commodity according to the predicted sales volume.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of abstract generation, and more specifically, to a commodity processing method, a commodity processing device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the rise of e-commerce, online shopping has become more and more popular. Product delivery speed has gradually become one of the core competitiveness of e-commerce platforms and one of the main factors affecting user satisfaction. This demand is becoming more and more obvious in products such as daily necessities. Accurate sales forecasting can better support supply chain optimization and inventory management, thereby improving the productivity and user satisfaction of e-commerce business.

[0003] Existing sales forecasting methods only consider historical sales records. However, on e-commerce platforms, changes in the product's own characteristics will have a significant impact on sales, which will lead to inaccurate sales forecasts. Sellers will then be unable to accurately adjust product inventory. Summary of the invention

[0004] An object of the present invention is to provide a new technical solution for predicting commodity sales.

[0005] According to a first aspect of the present invention, there is provided a commodity processing method, comprising:

[0006] Obtaining a predicted feature vector of a target product in a target statistical period, a predicted feature vector of a competing product of the target product in the target statistical period, the sales volume of the target product in a previous statistical period of the target statistical period, and the sales volume of the competing product in the previous statistical period; wherein the predicted feature vector is a feature vector obtained by merging feature vectors of a plurality of preset initial features, and the initial features include features that affect the sales volume of the corresponding product;

[0007] Obtaining a mapping function among the predicted feature vector of the target product, the predicted feature vector of the competing product, the sales volume of the target product, the sales volume of the competing product and the predicted sales volume of the target product;

[0008] Obtain the predicted sales volume of the target product in the target statistical period according to the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period;

[0009] The inventory of the target product is adjusted according to the predicted sales volume.

[0010] Optionally, the step of acquiring the feature vector in the target statistical period includes:

[0011] Obtain a feature vector of at least one initial feature in the target statistical period;

[0012] The feature vectors of the initial features in the target statistical period are merged to obtain a predicted feature vector in the target statistical period.

[0013] Optionally, the initial features include any one or more of commodity static features, date type features, and activity promotion features.

[0014] Optionally, the step of obtaining the competing product includes:

[0015] Obtain user behavior data within multiple historical statistical periods;

[0016] According to the user behavior data, a first set of users who browse the target product and a second set of users who purchase each other product are obtained;

[0017] For each other commodity, obtaining the competition probability between the corresponding other commodity and the target commodity according to the first user set and the second user set;

[0018] The competing product of the target product is selected from the other products according to the competition probability.

[0019] Optionally, for each other commodity, obtaining the competition probability between the corresponding other commodity and the target commodity according to the first user set and the second user set includes:

[0020] For each other commodity, determining the number of intersection users in the intersection of the first user set and the second user set;

[0021] For each other commodity, a ratio of the number of users in the intersection to the number of users included in the first user set is determined as the competition probability.

[0022] Optionally, selecting the competing product of the target product from the other products according to the competition probability includes:

[0023] Selecting other commodities whose competition probability is greater than or equal to a preset probability threshold as the competing commodities; or,

[0024] Sort the other commodities in descending order according to the competition probability, and obtain the ranking value of each of the other commodities;

[0025] Other products whose ranking values ​​are within the set range are selected as the competing products.

[0026] Optionally, the method further includes:

[0027] Acquire training samples of multiple historical statistical periods, wherein each training sample includes a training feature vector of the target product in the corresponding historical statistical period, a training feature vector of the competing product in the corresponding historical statistical period, a predicted feature vector of the target product in the corresponding subsequent statistical period, a predicted feature vector of the competing product in the corresponding subsequent statistical period, an actual sales volume of the target product in the corresponding historical statistical period, an actual sales volume of the competing product in the corresponding historical statistical period, and an actual sales volume of the target product in the corresponding subsequent statistical period; wherein the training feature vector includes a feature vector obtained by merging the predicted feature vector and feature vectors of other features, wherein the other features include user behavior features and / or purchase record features;

[0028] The mapping function is obtained by training according to the training samples.

[0029] Optionally, the step of training to obtain the mapping function includes:

[0030] Taking the undetermined coefficient of the mapping function as a variable, and determining an expression for predicting the sales volume of the target product in the corresponding subsequent statistical period according to each of the training samples;

[0031] Constructing a loss function according to an expression of the predicted sales volume in each subsequent statistical period and the actual sales volume of the target product in the corresponding subsequent statistical period;

[0032] The loss function is solved to determine the unknown coefficients, and the training of the mapping function is completed.

[0033] Optionally, the undetermined coefficients of the mapping function include preset undetermined coefficients of the target neural network corresponding to the target product, preset undetermined coefficients of the competitive neural network corresponding to the competitive product, preset undetermined coefficients of the residual neural network and preset standardized undetermined coefficients;

[0034] The step of determining an expression for the predicted sales volume of the target product in a subsequent statistical period corresponding to the historical statistical period comprises:

[0035] Taking the undetermined coefficients of the target neural network as variables, respectively according to the training feature vector of the target commodity in the corresponding historical statistical period, the predicted feature vector of the target commodity in the corresponding subsequent statistical period, and the actual sales volume of the target commodity in the corresponding historical statistical period in each training sample, determine the expression of the output state of the target neural network in the corresponding subsequent statistical period;

[0036] Taking the standardized undetermined coefficient as a variable, determine the expression of the daily sales volume of the target commodity in the corresponding next historical statistical period according to the expression of the output state of the target neural network in each subsequent statistical period;

[0037] Taking the undetermined coefficients of the competitive neural network as variables, determining the expression of the output state of the competitive neural network in the corresponding historical statistical period according to the training feature vector of the competitive product in the corresponding historical statistical period, the predicted feature vector of the competitive product in the corresponding next statistical period, and the actual sales volume of the competitive product in the corresponding historical statistical period in each training sample;

[0038] Taking the undetermined coefficients of the residual neural network and the standardized undetermined coefficients as variables, for each subsequent statistical period, respectively according to the predicted feature vector of the target product, the predicted feature vector of the competing product, the expression of the output state of the target neural network, and the expression of the output state of the competing neural network, determine the expression of the residual sales volume of the target product in the corresponding next historical statistical period;

[0039] Based on the expression of the daily sales volume of the target product in each of the subsequent statistical periods and the expression of the residual sales volume in each of the subsequent statistical periods, the expression of the predicted sales volume of the target product in the subsequent statistical period of the corresponding historical statistical period is obtained.

[0040] Optionally, the expression for predicting sales volume in each of the subsequent statistical periods and the actual sales volume of the target product in each of the subsequent statistical periods, before constructing the loss function, further includes:

[0041] Constructing an initial loss function according to an expression of the daily sales volume of the target product in each of the subsequent statistical periods and the actual sales volume of the target product in each of the subsequent statistical periods;

[0042] The undetermined coefficients of the target neural network of the target commodity and the standardized undetermined coefficients are determined according to the initial loss function.

[0043] Optionally, also include:

[0044] After obtaining the actual sales volume of the target product in the target statistical period and the training feature vector, the actual sales volume of the target product in the target statistical period, the training feature vector of the target product in the previous target statistical period, the training feature vector of the competing product in the previous statistical period, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the target product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period are used as new training samples;

[0045] The mapping function is modified according to the new training sample.

[0046] Optionally, also include:

[0047] According to the predicted sales volume of the target commodity in the target statistical period, the predicted sales volume of the target commodity in the subsequent statistical period is obtained.

[0048] Optionally, obtaining the predicted sales volume of the target product in the subsequent statistical period according to the predicted sales volume of the target product in the target statistical period includes:

[0049] According to the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period, the predicted sales volume of the competing product in the target statistical period is obtained;

[0050] Obtaining a predicted feature vector of the target product in a subsequent statistical period of the target statistical period, and a predicted feature vector of the competing product in the subsequent statistical period;

[0051] The predicted sales volume of the target product in the subsequent statistical period is obtained based on the mapping function, the predicted feature vector of the target product in the subsequent statistical period, the predicted feature vector of the competing product in the subsequent statistical period, the predicted sales volume of the target product in the target statistical period, and the predicted sales volume of the competing product in the target statistical period.

[0052] According to a second aspect of the present invention, there is provided a data object processing method, comprising:

[0053] determining similar data objects that are of the same object type as the target data object;

[0054] Respectively acquiring first interaction data of the target data object and similar data objects within a historical statistical period, and first feature information associated with second interaction data within a target statistical period;

[0055] Obtaining second interaction data of the target data object in the target statistical period according to the first interaction data of the target data object and the similar data object in the historical statistical period, the first feature information in the target statistical period, and a preset mapping function between interaction data and feature information;

[0056] The quantity information of the target data object is adjusted according to the second interaction data.

[0057] According to a third aspect of the present invention, there is provided a data prediction method, comprising:

[0058] determining similar data objects that are of the same object type as the target data object;

[0059] Respectively acquiring first interaction data of the target data object and similar data objects within a historical statistical period, and first feature information associated with second interaction data within a target statistical period;

[0060] According to the first interaction data of the target data object and the similar data object in the historical statistical period, the first feature information in the target statistical period, and a preset mapping function between the interaction data and the feature information, the second interaction data of the target data object in the target statistical period is obtained.

[0061] According to a fourth aspect of the present invention, there is provided a commodity processing device, comprising:

[0062] A first acquisition module is used to acquire a predicted feature vector of a target commodity in a target statistical period, a predicted feature vector of a competing commodity of the target commodity in the target statistical period, the sales volume of the target commodity in a previous statistical period of the target statistical period, and the sales volume of the competing commodity in the previous statistical period; wherein the predicted feature vector is a feature vector obtained by merging feature vectors of preset initial features, and the initial features include features that affect the sales volume of the corresponding commodity;

[0063] A second acquisition module, used to acquire the predicted feature vector of the target product, the predicted feature vector of the competing product, the sales volume of the target product, the sales volume of the competing product and a mapping function between the predicted sales volume of the target product;

[0064] A sales forecasting module, used to obtain the predicted sales volume of the target product in the target statistical period according to the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period;

[0065] The inventory adjustment module is used to adjust the inventory of the target product according to the predicted sales volume.

[0066] According to a fifth aspect of the present invention, there is provided an electronic device, comprising:

[0067] The device according to the fourth aspect of the present invention; or,

[0068] A processor and a memory, wherein the memory is used to store instructions, and the instructions are used to control the processor to execute the method according to the first aspect, the second aspect or the third aspect of the present invention.

[0069] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method as described in the first aspect, the second aspect or the third aspect of the present invention.

[0070] In the embodiment of the present invention, the sales volume of the target product is predicted by comprehensively considering the changes of various heterogeneous features of the target product, the target product and its corresponding competitive products, so that the prediction result can be more accurate. In this way, the seller can accurately adjust the inventory according to the predicted sales volume of the target product.

[0071] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0073] Figure 1a 4 is a schematic diagram of the hardware structure of an electronic device according to the first embodiment of the present invention.

[0074] Figure 1b FIG. 4 is a schematic diagram of the hardware structure of an electronic device according to a second embodiment of the present invention.

[0075] Figure 2 A schematic diagram of a scenario showing a commodity processing method according to an embodiment of the present invention.

[0076] Figure 3A flowchart showing a commodity processing method according to an embodiment of the present invention is shown.

[0077] Figure 4 A flowchart of a method for training a summary generation model according to a first embodiment of the present invention is shown.

[0078] Figure 5 A flowchart of a method for training a summary generation model according to a second embodiment of the present invention is shown.

[0079] Figure 6 A first example flow chart of a commodity processing method according to an embodiment of the present invention is shown.

[0080] Figure 7 A flowchart showing a second example of the commodity processing method according to the embodiment of the present invention.

[0081] Figure 8 A flowchart showing a third example of the commodity processing method according to the embodiment of the present invention.

[0082] Fig. 9 A principle block diagram of a commodity processing device according to an embodiment of the present invention is shown.

[0083] Fig.10 A principle block diagram of an electronic device according to a third embodiment of the present invention is shown. DETAILED DESCRIPTION

[0084] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0085] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0086] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0087] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0088] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0089] <Hardware Configuration>

[0090] Figure 1a and Figure 1b is a block diagram of a hardware configuration of an electronic device 1000 that can be used to implement the method of any embodiment of the present invention.

[0091] In one embodiment, Figure 1a As shown, the electronic device 1000 may be a server 1100 .

[0092] Server 1100 provides a business point for processing, database, and communication facilities. Server 1100 can be a monolithic server or a distributed server across multiple computers or computer data centers. The server can be of various types, such as but not limited to, a network server, a news server, a mail server, a message server, an advertising server, a file server, an application server, an interactive server, a database server, or a proxy server. In some embodiments, each server may include hardware, software, or an embedded logic component or a combination of two or more such components for executing the appropriate functions supported or implemented by the server. For example, a server such as a blade server, a cloud server, etc., or a server group consisting of multiple servers, which may include one or more of the above-mentioned types of servers, etc.

[0093] In this embodiment, the server 1100 can be as follows Figure 1a As shown, it includes a processor 1110 , a memory 1120 , an interface device 1130 , a communication device 1140 , a display device 1150 , and an input device 1160 .

[0094] In this embodiment, the server 1100 may also include a speaker, a microphone, etc., which are not limited here.

[0095] The processor 1110 may be a dedicated server processor, or a desktop processor or a mobile processor that meets the performance requirements, which is not limited here. The memory 1120 includes, for example, ROM (read-only memory), RAM (random access memory), non-volatile memory such as a hard disk, etc. The interface device 1130 includes, for example, various bus interfaces, such as a serial bus interface (including a USB interface), a parallel bus interface, etc. The communication device 1140 is capable of wired or wireless communication, for example. The display device 1150 is, for example, a liquid crystal display, an LED display, a touch display, etc. The input device 1160 may include, for example, a touch screen, a keyboard, etc.

[0096] In this embodiment, the memory 1120 of the server 1100 is used to store instructions, which are used to control the processor 1110 to operate to at least perform the method according to any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0097] Despite Figure 1a , multiple devices of the server 1100 are shown; however, the present invention may only involve some of the devices, for example, the server 1100 only involves the memory 1120 and the processor 1110 .

[0098] In one embodiment, the electronic device 1000 may be a terminal device 1200 such as a PC or a laptop computer used by an operator, which is not limited here.

[0099] In this embodiment, refer to Figure 1b As shown, the terminal device 1200 may include a processor 1210, a memory 1220, an interface device 1230, a communication device 1240, a display device 1250, an input device 1260, a speaker 1270, a microphone 1280, and the like.

[0100] The processor 1210 may be a mobile version processor. The memory 1220 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1230 may include, for example, a USB interface, a headphone interface, etc. The communication device 1240 may, for example, be capable of wired or wireless communication. The communication device 1240 may include a short-range communication device, for example, any device for short-range wireless communication based on short-range wireless communication protocols such as Hilink protocol, WiFi (IEEE 802.11 protocol), Mesh, Bluetooth, ZigBee, Thread, Z-Wave, NFC, UWB, LiFi, etc. The communication device 1240 may also include a remote communication device, for example, any device for WLAN, GPRS, 2G / 3G / 4G / 5G remote communication. The display device 1250 may, for example, be a liquid crystal display, a touch display, etc. The input device 1260 may include, for example, a touch screen, a keyboard, etc. The user may input / output voice information through the speaker 1270 and the microphone 1280.

[0101] In this embodiment, the memory 1220 of the terminal device 1200 is used to store instructions, and the instructions are used to control the processor 1210 to operate to at least perform the method according to any embodiment of the present invention. A technician can design instructions according to the scheme disclosed in the present invention. How instructions control the processor to operate is well known in the art, so it will not be described in detail here.

[0102] Despite Figure 1b , multiple devices of the terminal device 1200 are shown, but the present invention may only involve some of the devices, for example, the terminal device 1200 only involves the memory 1220, the processor 1210, and the display device 1250.

[0103] <Commodity Processing Method Example>

[0104] In this embodiment, a commodity processing method is provided. The commodity processing method can be performed by Figure 2 The electronic device shown is implemented. The electronic device can be Figure 1a The server 1100 shown or Figure 1b The terminal device 1200 is shown.

[0105] according to Figure 3 As shown, the commodity processing method of this embodiment may include the following steps S3100 to S3400:

[0106] Step S3100, obtain the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the target product's competing products in the target statistical period, the sales volume of the target product in the previous statistical period of the target statistical period, and the sales volume of the competing products in the previous statistical period.

[0107] The commodity in this embodiment is a product that can be traded. For example, it can be a physical product or a virtual product. The commodity can be, for example, clothing, shoes, bags, daily necessities, cosmetics, office supplies, recharge cards, etc.

[0108] The target statistical period may be pre-set according to the application scenario or specific requirements. For example, the target statistical period may be a certain day.

[0109] In one embodiment of the present invention, Figure 2 As shown, the feature vector of the predicted features of the target product in the target statistical period, the feature vector of the predicted features of the target product's competing products in the target statistical period, the sales volume of the target product in the previous statistical period of the target statistical period, and the sales volume of the competing products in the previous statistical period can be obtained through the client of the product seller or through the server of the product trading platform.

[0110] The prediction feature is a feature obtained by merging a plurality of preset initial features, and the initial features include features that affect the sales volume of the corresponding product.

[0111] In one embodiment of the present invention, the method of obtaining the feature vectors of the target product and the competing product in the target statistical period may be the same. The following is only an example of obtaining the predicted feature vector of the target product in the target statistical period, including:

[0112] A feature vector of at least one initial feature of a target commodity in a target statistical period is obtained, and the feature vectors of the initial feature in the target statistical period are merged to obtain a predicted feature vector of the target commodity in the target statistical period.

[0113] The method of obtaining the feature vector of at least one initial feature of the target commodity in the target statistical period may include: mapping each value of the initial feature, that is, each feature value, to a vector of a specified dimension to obtain the feature vector of the initial feature, wherein each feature vector is a d-dimensional vector.

[0114] If the eigenvalue of the initial feature is a discrete value, all possible values ​​of each initial feature can be mapped to a vector of a specified dimension according to the specific value characteristics.

[0115] If the eigenvalue of the initial feature is a continuous value, then the continuous eigenvalue can be processed in the following two ways according to its change amplitude over time, that is, the degree of influence on the change of sales volume:

[0116] The first method is to discretize the buckets, which are evenly divided into d intervals according to the number of occurrences based on their possible value ranges, and each interval is mapped to a feature vector of a specified dimension.

[0117] The second method is to perform standardization, which is as follows:

[0118]

[0119]

[0120] in, and f represent the normalized eigenvalue and original eigenvalue of the initial feature, respectively. and σ(f) respectively represent the statistical mean and standard deviation of the initial feature; e is the global reference vector of the feature, indicating that it is shared by all products; ef is the feature vector of the initial feature.

[0121] The initial features in the present invention include features that affect the sales volume of the corresponding commodity in the target statistical period. In one embodiment of the present invention, the initial features include any one or more of commodity static features, date type features, and activity promotion features.

[0122] Static features of a product include discrete features such as the product’s own ID value, the product’s brand ID value, and the product’s category ID value, and they do not change over time.

[0123] The date type feature is used to determine whether it is a weekend. There is only one discrete feature, which defines Monday to Friday as non-weekends and Saturday and Sunday as weekends. The feature attribute changes with the date and has only two values.

[0124] Activity promotion features include discrete features such as activity existence feature, activity level, number of days the activity has started, and number of days remaining for the activity. Among them, the activity existence feature has two values, the activity level feature is determined by the e-commerce platform, and the number of days the activity has started and the number of days remaining for the activity can both include three values, namely 1, 2, and 3+.

[0125] The sales volume of the target product in the previous statistical period of the target statistical period may be the actual sales volume in the previous statistical period or the predicted sales volume in the previous statistical period. Correspondingly, the sales volume of the competing product in the previous statistical period of the target statistical period may be the actual sales volume in the previous statistical period or the predicted sales volume in the previous statistical period.

[0126] The feature vector of each initial feature of the product is d-dimensional. For the target product or any competing product, the feature vector of each initial feature can be added or averaged to obtain the feature vector as the predicted feature vector of the corresponding product.

[0127] In one embodiment of the present invention, the competing product may be a product selected by the seller of the target product according to an application scenario or specific needs and affecting the sales volume of the target product.

[0128] In one embodiment of the present invention, the method may further include a step of obtaining competing products, which may specifically include: Figure 4 Steps S4100 to S4400 shown:

[0129] Step S4100, obtaining user behavior data within multiple historical statistical periods.

[0130] The user behavior data includes data used to reflect the browsing history of the buyer user and the purchase history of the user. For example, the user behavior data may be user behavior log data.

[0131] In one embodiment of the present invention, the historical statistical period can be pre-set according to the application scenario or specific requirements. The duration of each historical statistical period and the target statistical period can be the same. When the target statistical period is a certain day, the historical statistical period can be the day before the target statistical period.

[0132] In one embodiment of the present invention, the user behavior data may be obtained through a client used by the buyer and / or a server of the commodity trading platform.

[0133] Step S4200: obtaining a first set of users who browse the target product and a second set of users who purchase each other product based on the user behavior data.

[0134] Among them, other products are products other than the target product. For the target product i, the first user set U(i) of all users who have browsed product i is obtained based on the user behavior data; for other products k, the user set P(k) of all users who have purchased other products k is obtained based on the user behavior data.

[0135] Step S4300: for each other product, obtain the competition probability between the corresponding other product and the target product according to the first user set and the second user set.

[0136] In one embodiment of the present invention, for each other commodity, obtaining the competition probability between the corresponding other commodity and the target commodity according to the first user set and the second user set may include the following steps S4310 to S4320:

[0137] Step S4310: for each other commodity, determine the number of intersection users in the intersection of the first user set and the second user set.

[0138] The intersection users in the intersection of the first user set and the second user set may be users who have browsed the target product but purchased other products k, which can be expressed as U(i)∩P(k). The number of intersection users in the intersection of the first user set and the second user set can be expressed as |U(i)∩P(k)|.

[0139] Step S4320: For each other product, determine the ratio of the number of users in the intersection to the number of users included in the first user set as the competition probability.

[0140] Specifically, for other products k, the number of users in the intersection of the first user set and the second user set can be expressed as |U(i)∩P(k)|, and the number of users included in the first user set can be expressed as |U(i)|. Then, the competition probability between other products k and target product i can be expressed as:

[0141] Step S4400: selecting competitive products of the target product from other products according to the competition probability.

[0142] In one embodiment of the present invention, other commodities whose competition probability is greater than or equal to a preset probability threshold may be selected as competing commodities.

[0143] The probability threshold may be pre-set according to the application scenario or specific requirements. For example, the probability threshold may be, but is not limited to, 50%, and then other commodities with a competition probability greater than or equal to 50% may be used as competing commodities.

[0144] In one embodiment of the present invention, other commodities may be sorted in descending order according to the competition probability, and the ranking value of each other commodity may be obtained; and other commodities with ranking values ​​within a set range may be selected as competing commodities.

[0145] The setting range may be pre-set according to the application scenario or specific requirements. For example, the setting range may be, but is not limited to, [1, 3], and then other commodities with ranking values ​​of 1 to 3 may be used as competing commodities of the target commodity.

[0146] Step S3200, obtaining a prediction feature vector of the target product, a prediction feature vector of the competing product, the sales volume of the target product, a mapping function between the sales volume of the competing product and the predicted sales volume of the target product.

[0147] The mapping function may be pre-trained. Specifically, the steps of training the mapping function may include:

[0148] Training samples of multiple historical statistical periods are obtained, and a mapping function is obtained by training the multiple training samples.

[0149] Among them, any training sample may include the training feature vector of the target product in the corresponding historical statistical period, the training feature vector of the competing product in the corresponding historical statistical period, the predicted feature vector of the target product in the statistical period after the corresponding historical statistical period, the predicted feature vector of the competing product in the statistical period after the corresponding historical statistical period, the actual sales volume of the target product in the corresponding historical statistical period, the actual sales volume of the competing product in the corresponding historical statistical period, and the actual sales volume of the target product in the statistical period after the corresponding historical statistical period.

[0150] In one embodiment of the present invention, the training feature vector in the historical statistical period may be a feature vector obtained by merging the feature vector of the initial feature and the feature vector of other features. Specifically, the feature vector of all initial features in the corresponding historical statistical period and the feature vector of all other features in the corresponding historical statistical period may be added, or the average value may be calculated after addition, and the feature vector obtained may be used as the training feature vector in the corresponding historical statistical period. For details, please refer to the embodiment of obtaining the predicted feature vector, which will not be described in detail here.

[0151] In one embodiment of the present invention, other features may include user behavior features and / or purchase record features.

[0152] User behavior features include collection popularity, product details page views, number of users visiting the product details page, transaction conversion rate, number of product details page views of all products under the leaf category to which the product belongs, number of users visiting the product details page of all products under the leaf category to which the product belongs, and other continuous features. Among them, the collection popularity feature can be obtained by discretizing the bucket method to obtain the feature vector of the corresponding feature, and the product details page view feature, the product details page visitor feature, the transaction conversion rate feature, and the product details page view feature of all products under the leaf category to which the product belongs can all be processed in a standardized manner to obtain the feature vector of the corresponding feature.

[0153] Purchase record features include continuous features such as product price, daily sales volume of the product, and daily sales volume of the leaf category to which the product belongs. The product price feature can be discretized and bucketed to obtain the feature vector of the corresponding feature. The daily sales volume feature of the product and the daily sales volume feature of the leaf category to which the product belongs can both be processed in a standardized manner to obtain the feature vector of the corresponding feature.

[0154] The steps of training the mapping function may include: Figure 5 Steps S5100 to S5300 shown:

[0155] Step S5100, using the undetermined coefficients of the mapping function as variables, and determining the expression for predicting the sales volume of the target product in the corresponding subsequent statistical period based on each training sample.

[0156] Specifically, the undetermined coefficients of the mapping function include preset undetermined coefficients of the target neural network corresponding to the target product, preset undetermined coefficients of the competitive neural network corresponding to the competitive product, preset undetermined coefficients of the residual neural network and preset standardized undetermined coefficients.

[0157] Among them, the target neural network is a neural network used to predict the sales volume of the target product, the competitive neural network is a neural network used to predict the sales volume of the corresponding competitive products, and the residual neural network is a neural network used to predict the impact of the competitive products on the sales volume of the target product; the standardized undetermined coefficients are the undetermined coefficients used to standardize the output of the neural network.

[0158] Then, taking the undetermined coefficient of the mapping function as a variable, the expression for determining the predicted sales volume of the target product in the corresponding next statistical period according to each training sample can include the following: Figure 6 Steps S5110 to S5150 shown:

[0159] Step S5110, taking the undetermined coefficients of the target neural network as variables, determine the expression of the output state of the target neural network in the subsequent statistical period according to the training feature vector of the target product in each training sample in the corresponding historical statistical period, the predicted feature vector of the target product in the corresponding subsequent statistical period, and the actual sales volume of the target product in the corresponding historical statistical period.

[0160] The target neural network may be a GRU network, and the target neural network includes a target GRU sequence encoding network and a target GRU sequence decoding network.

[0161] In chronological order, for the training sample of the t-th historical statistical period, the training feature vector e of the target product i in the t-th historical statistical period can be i,t , input into the target GRU sequence encoding network, and obtain the output h corresponding to the target GRU sequence encoding network in the tth historical statistical period i,t .

[0162] The output h of the target GRU sequence encoding network corresponding to the tth historical statistical period i,t The determination method can be: i,t =GRU e,i (e i,t ,h i,t-1 ), where h i,t-1 It is the output of the target GRU sequence encoding network corresponding to the t-1th historical statistical period.

[0163] On this basis, a target GRU sequence state encoding network GRU can be pre-initialized e , the initialization state can be, for example, a 0 vector.

[0164] Then the output h corresponding to the target GRU sequence encoding network in the tth historical statistical period is i,t GRU as target GRU sequence decoding network d The initialization state is to calculate the predicted feature vector e of the target product i in the t+1th historical statistical period. i,t+1 , and the actual sales volume x of target product i in the tth historical statistical period i,t , input to the target GRU sequence decoding network GRU d The output state s of the target neural network in the t+1th historical statistical period is obtained i,t+1 The expression can be: i,t+1 =GRU d,i (e i,t+1 ,s i,t ,h i,t ,x i,t ).

[0165] Step S5120, using the standardized undetermined coefficient as a variable, and based on the expression of the output state of the target neural network in each subsequent statistical period, determine the expression of the daily sales volume of the target product in the corresponding next historical statistical period.

[0166] The standardized unknown coefficients can be expressed as w1 and b1. Then, according to the output state s of the target neural network in the t+1th historical statistical period, i,t+1 The expression can determine the daily sales volume x of the target product in the t+1 historical statistical period. i,t+1 The expression of can be expressed as: i,t+1 =w1·s i,t+1 +b1.

[0167] Step S5130, taking the undetermined coefficients of the competitive neural network as variables, determine the expression of the output state of the competitive neural network in the corresponding subsequent statistical period according to the training feature vector of the competing product in the corresponding historical statistical period, the predicted feature vector of the competing product in the corresponding subsequent statistical period, and the actual sales volume of the competing product in the corresponding historical statistical period in each training sample.

[0168] Specifically, the expression method s for determining the output state of the competitive neural network corresponding to competitive product j in the t+1th historical statistical period is j,t+1 , we can refer to the above to determine the output state s of the target neural network in the t+1th historical statistical period i,t+1 The expression method will not be described here.

[0169] Step S5140, taking the undetermined coefficients and standardized undetermined coefficients of the residual neural network as variables, for each subsequent statistical period, determine the expression of the residual sales volume of the target product in the corresponding next historical statistical period based on the predicted feature vector of the target product, the predicted feature vector of the competing product, the expression of the output state of the target neural network, and the expression of the output state of the competing neural network.

[0170] Residual neural networks can include gating mechanisms similar to GRU networks.

[0171] For the t+1th historical statistical period, the impact vector i of competing product j on target product i i,j,t+1 , the specific formula is as follows:

[0172]

[0173] s i,j,t+1 =s i,t+1 -s j,t+1

[0174]

[0175]

[0176]

[0177] i i,j,t+1 =(1-z i,j,t+1 )⊙s i,j,t+1 +z i,j,t+1 ⊙q i,j,t+1

[0178] in, represents the concatenation operation of vectors, and ⊙ represents the dot product operation between vectors. i,t+1 represents the predicted feature vector of target product i in the t+1th historical statistical period, e j,t+1 represents the predicted feature vector of competitive product j in the t+1th historical statistical period, s i,t+1 The expression representing the output state of the target neural network for target product i in the t+1th historical statistical period, s j,t+1 The expression representing the output state of the competitive neural network of competitive commodity j in the t+1th historical statistical period, Represents the undetermined coefficients of the residual neural network.

[0179] In the case of N competing products, the self-attention mechanism can be used to calculate the integrated impact i of N competing products on the target product i in the t+1th historical statistical period. i,t+1 , the formula is as follows:

[0180] i i,t+1 =∑a j ×i i,j,t+1

[0181] a j =softmax(i i,j,t+1 ·c i,t+1 )

[0182]

[0183] Among them, a j Represents the influence weight of competing product j.

[0184] The residual neural network may also include a highway network. Specifically, the highway network may be used to calculate the residual sales volume of the target product i in the t+1th historical statistical period under the influence of N competing products. The calculation formula is as follows:

[0185] p i,t+1 =tanh(i i,t+1×W2+b2)

[0186] g i,t+1 =sigmoid(i i,t+1 ×W3+b3)

[0187] i' i,t+1 =(1-g i,t+1 )⊙i i,t+1 +g i,t+1 ⊙p i,t+1

[0188]

[0189] Step S5150, based on the expression of the daily sales volume of the target product in each subsequent statistical period and the expression of the residual sales volume in each subsequent statistical period, obtain the expression of the predicted sales volume of the target product in the corresponding subsequent statistical period.

[0190] In one embodiment of the present invention, the residual sales volume of target product i in the t+1th historical statistical period is The daily sales volume of the target product in the historical statistical period t+1 is x i,t+1 , we can get the predicted sales volume of target product i in the t+1th historical statistical period The expression can be expressed as:

[0191]

[0192] Among them, σ(s i ) represents the standard deviation of the historical sales volume of target product i, Represents the standard deviation and mean of the historical sales volume of target product i.

[0193] In another embodiment of the present invention, the residual sales volume of the target product i in the t+1th historical statistical period is The daily sales volume of the target product in the historical statistical period t+1 is x i,t+1 , we can get the predicted sales volume of target product i in the t+1th historical statistical period The expression can be expressed as:

[0194]

[0195] Step S5200, constructing a loss function based on the expression of the predicted sales volume in each subsequent statistical period and the actual sales volume of the target product in the corresponding next period.

[0196] The predicted sales volume of target product i in the t+1th historical statistical period is expressed as The actual sales volume of target product i in the t+1th historical statistical period is expressed as Then, the expression of the constructed loss function L can be expressed as:

[0197]

[0198] Among them, Θ2 represents all parameters of the residual neural network, λ represents the weight coefficient of the parameter regularization term, and in the case of training samples including N historical statistical periods, the range of t is t∈[1,N-1].

[0199] Step S5300, solving the loss function to determine the unknown coefficients, and completing the training of the mapping function.

[0200] Specifically, a mini-batch mechanism may be used to optimize the loss function using back propagation and stochastic gradient descent algorithms to determine the unknown coefficients.

[0201] In one embodiment of the present invention, before executing the above step S3220, the step of training the mapping function may further include:

[0202] An initial loss function is constructed based on the expression of the daily sales volume of the target product in each subsequent statistical period and the actual sales volume of the target product in each subsequent statistical period; and the undetermined coefficients and the standardized undetermined coefficients of the target neural network of the target product are determined based on the initial loss function.

[0203] The daily sales volume of target product i in the t+1th historical statistical period is expressed as x i,t+1 , the actual sales volume of target product i in the t+1th historical statistical period is expressed as Then, the expression of the constructed initial loss function L' can be expressed as:

[0204]

[0205] Among them, Θ1 represents all parameters of the target neural network, λ represents the weight coefficient of the parameter regularization term, and in the case of training samples including T historical statistical periods, the range of t is t∈[1,T-1].

[0206] By solving the initial loss function L', the unknown coefficients and standardized unknown coefficients of the target neural network of the target product can be determined. On this basis, the loss function L is used to determine other unknown coefficients of the mapping function.

[0207] If the target statistical cycle is the statistical cycle after the Tth historical statistical cycle, that is, the target statistical cycle is the T+1th statistical cycle, then the target GRU sequence encoding network is trained based on the training samples of the Tth historical statistical cycle before the target statistical cycle, and the output h corresponding to the target GRU sequence encoding network in the Tth historical statistical cycle is obtained. i,T The output h of the target GRU sequence encoding network corresponding to the Tth historical statistical period i,T It integrates all sales trend information of target product i within T historical statistical periods.

[0208] In this way, the mapping function obtained by step S3200 can be expressed as:

[0209] or,

[0210] Among them, x i,T+1 =w1·s i,T+1 +b1

[0211] s i,T+1 =GRU d,i (e i,T+1 ,s i,T ,h i,T ,x i,T )

[0212] h i,T+1 =GRU e,i (e i,T ,h i,T )

[0213]

[0214] i' i,T+1 =(1-g i,T+1 )⊙i i,T+1 +g i,T+1 ⊙p i,T+1

[0215] i i,T+1 =∑a j ×i i,j,T+1

[0216] a j =softmax(i i,j,T+1 ·c i,T+1 )

[0217]

[0218] g i,T+1 =sigmoid(i i,T+1 ×W3+b3)

[0219] p i,T+1 =tanh(i i,T+1 ×W2+b2)

[0220] i i,j,T+1 =(1-z i,j,T+1 )⊙s i,j,T+1 +z i,j,T+1 ⊙q i,j,T+1

[0221]

[0222]

[0223] s i,j,T+1 =s i,T+1 -s j,T+1

[0224] s j,T+1 =GRU d,j (e j,T+1 ,s j,T ,h j,T ,x j,T )

[0225] h j,T+1 =GRU e,j (e j,T ,h j,T )

[0226]

[0227]

[0228] in, represents the concatenation operation of vectors, and ⊙ represents the dot product operation between vectors. i,T+1 represents the predicted feature vector of target product i in the target statistical period, e j,T+1 represents the predicted feature vector of competitive product j in the target statistical period, s i,T represents the target GRU sequence decoding network GRU representing the target product i d,i The output state after network training, s j,T represents the competitive GRU sequence decoding network GRU representing competitive product j d,j The output state after training, h i,T Represents the target GRU sequence encoding network GRU e,i The corresponding output after training, h j,T Represents the competitive GRU sequence encoding network GRU e,j The corresponding output after training; w1, b1, Represents the undetermined coefficients after mapping function training.

[0229] Step S3300, obtains the predicted sales volume of the target product in the target statistical period according to the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period.

[0230] Specifically, by substituting the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period into the mapping function, the predicted sales volume of the target product in the target statistical period can be obtained.

[0231] The predicted feature vector e of the target product i in the target statistical period i,T+1 , the predicted feature vector e of competitive product j in the target statistical period j,T+1 , the sales volume x of target product i in the previous statistical period (i.e., the Tth historical statistical period) i,T , and the sales volume x of competing product j in the previous statistical period j,T Substituting this into the above mapping function, we can get the predicted sales volume of the target product within the target statistical period.

[0232] In one embodiment of the present invention, after executing step S3300, the method may further include:

[0233] The actual sales volume of the target product in the target statistical period, the training feature vector of the target product in the previous target statistical period, the training feature vector of the competing product in the previous statistical period, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the target product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period are taken as new training samples; and the mapping function is modified according to the new training samples.

[0234] By modifying the mapping function at any time according to the generated new training samples, the prediction accuracy of the mapping function can be improved.

[0235] In one embodiment of the present invention, the method may further include:

[0236] Based on the predicted sales volume of the target product in the target statistical period, the predicted sales volume of the target product in the next statistical period is obtained.

[0237] Furthermore, according to the predicted sales volume of the target product in the target statistical period, obtaining the predicted sales volume of the target product in the next statistical period may include:

[0238] According to the mapping function, the predicted feature vector of the competing product in the target statistical period, and the sales volume of the competing product in the previous statistical period, the predicted sales volume of the competing product in the target statistical period is obtained;

[0239] Obtaining a predicted feature vector of the target product in a statistical period following the target statistical period and a predicted feature vector of the competing product in a statistical period following the target statistical period;

[0240] According to the mapping function, the predicted feature vector of the target product in the statistical period after the target statistical period, the predicted feature vector of the competing product in the statistical period after the target statistical period, the predicted sales volume of the target product within the target statistical period, and the predicted sales volume of the competing product within the target statistical period, the predicted sales volume of the target product in the statistical period after the target statistical period is obtained.

[0241] In this way, the sales volume of the target product in the statistical period after the target statistical period can be predicted. By summing the predicted sales volume of the target product in the target statistical period and the predicted sales volume in the statistical period after the target statistical period, the total sales volume of the target product in multiple statistical periods in the future can be predicted.

[0242] Step S3400: adjust the inventory of the target product according to the predicted sales volume.

[0243] In one embodiment of the present invention, the seller may adjust the Figure 2 The inventory in the warehouse of the target item shown.

[0244] Specifically, sellers can replenish stocks in time according to the predicted high sales volume to ensure the normal sales of target products. Sellers can also adjust the inventory of warehouses in each region according to the predicted sales volume in each region.

[0245] Furthermore, the predicted sales volume may be provided to the seller's client for the seller to view, and the inventory of the target product in the warehouse may be adjusted according to the predicted sales volume.

[0246] The method of the embodiment of the present invention comprehensively considers the predicted feature vectors of the target product and the corresponding competing product in the previous statistical period, the target product and the corresponding competing product, to predict the sales volume of the target product in the target statistical period, which can make the prediction result more accurate. In this way, the seller can accurately adjust the inventory in the target statistical period according to the predicted sales volume of the target product.

[0247] <Data object processing method embodiment>

[0248] The present invention also provides a data object processing method. Figure 7As shown, the data object processing method may include steps S7100 to S7400:

[0249] Step S7100: Determine similar data objects that belong to the same object type as the target data object.

[0250] A data object is a composite information representation that must be understood by the software. A data object may be an external entity, a thing, an incident or event, a role, an organizational unit, a place or structure, etc. For example, a person or a car can be considered a data object, in the sense that they can be defined by a set of attributes. A data object description includes the data object and all of its attributes. Any data structure element referenced in an application, such as a file, data, variable, etc., can be called a data object. For example, the data object in this embodiment can also be a commodity as described in the aforementioned commodity processing method embodiment.

[0251] In one embodiment of the present invention, similar data objects that belong to the same object type as the target data object may be set in advance by the user according to application scenarios or specific requirements.

[0252] In one embodiment of the present invention, the method for determining similar data objects may also include:

[0253] Obtain user behavior data within multiple historical statistical periods; obtain a first user set that browses the target data object and a second user set that selects each other data object based on the user behavior data; for each other data object, obtain a competition probability between the corresponding other data object and the target data object based on the first user set and the second user set; select similar data objects from the other data objects based on the competition probability.

[0254] For details, please refer to steps S4100 to S4400 in the aforementioned commodity processing method embodiment, which will not be described in detail here.

[0255] Step S7200: respectively obtain first interaction data of a target data object and a similar data object in a historical statistical period, and first feature information associated with second interaction data in a target statistical period.

[0256] In one embodiment of the present invention, the interactive data may be data generated when a user performs an interactive operation on a corresponding data object. In one embodiment, the interactive data may be sales volume.

[0257] The first characteristic information may be information indicating the characteristics of the data object itself. The first characteristic information may affect the second interaction data of the data object in the target statistical period, that is, the first characteristic information is associated with the second interaction data in the target statistical period.

[0258] The method of obtaining the first interaction data between the target data object and the similar data object within the historical statistical period, and the first feature information associated with the second interaction data within the target statistical period, can be specifically referred to step S3100 in the aforementioned commodity processing method embodiment, and will not be repeated here.

[0259] Step S7300, obtaining the second interaction data of the target data object within the target statistical period based on the first interaction data of the target data object and similar data objects within the historical statistical period, the first feature information associated with the second interaction data within the target time period, and a preset mapping function between the interaction data and the feature information.

[0260] The method for obtaining the second interaction data of the target data object within the target statistical period based on the first interaction data of the target data object and similar data objects within the historical statistical period, the first feature information associated with the second interaction data within the target time period, and the preset mapping function between the interaction data and the feature information can be specifically referred to step S3300 in the aforementioned commodity processing method embodiment, which will not be repeated here.

[0261] Step S7400: Adjust the quantity information of the target data object according to the second interaction data.

[0262] The manner of adjusting the quantity information of the target data object according to the second interaction data may specifically refer to step S3400 in the aforementioned commodity processing method embodiment, which will not be described in detail here.

[0263] <Data prediction method embodiment>

[0264] The present invention also provides a data prediction method. Figure 8 As shown, the data prediction method may include steps S8100 to S8300:

[0265] Step S8100: Determine similar data objects that belong to the same object type as the target data object.

[0266] For details, please refer to the aforementioned step S7100, which will not be repeated here.

[0267] Step S8200: respectively obtain first interaction data of a target data object and a similar data object in a historical statistical period, and first feature information associated with second interaction data in a target statistical period.

[0268] For details, please refer to the aforementioned step S7200, which will not be repeated here.

[0269] Step S8300, obtaining the second interaction data of the target data object within the target statistical period according to the first interaction data of the target data object and similar data objects within the historical statistical period, the first feature information associated with the second interaction data within the target statistical period, and a preset mapping function between the interaction data and the feature information.

[0270] For details, please refer to the aforementioned step S7300, which will not be repeated here.

[0271] <Commodity Processing Device Example>

[0272] In this embodiment, a commodity processing device 7000 is provided. Fig. 9 As shown, it includes a first acquisition module 7100, a second acquisition module 7200, a sales forecasting module 7300 and an inventory adjustment module 7400.

[0273] The above-mentioned first acquisition module 7100 is used to obtain the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the target product's competing products in the target statistical period, the sales volume of the target product in the previous statistical period of the target statistical period, and the sales volume of the competing products in the previous statistical period; wherein, the predicted feature vector includes a feature vector obtained by merging a vector of preset initial features, and the initial features include features that affect the sales volume of the corresponding product.

[0274] The second acquisition module 7200 is used to acquire the predicted feature vector of the target product, the predicted feature vector of the competing product, the sales volume of the target product, the sales volume of the competing product and the mapping function between the predicted sales volume of the target product.

[0275] The above-mentioned sales prediction module 7300 is used to obtain the predicted sales volume of the target product in the target statistical period based on the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period.

[0276] The above-mentioned inventory adjustment module 7400 is used to adjust the inventory of the target product according to the predicted sales volume.

[0277] In one embodiment of the present invention, obtaining a prediction feature vector in a target statistical period includes:

[0278] Obtain a feature vector of at least one initial feature in a target statistical period;

[0279] The feature vectors of the initial features in the target statistical period are merged to obtain the predicted feature vector in the target statistical period.

[0280] In one embodiment of the present invention, the initial features include any one or more of commodity static features, date type features, and activity promotion features.

[0281] In one embodiment of the present invention, the commodity processing device 7000 may further include:

[0282] A module for obtaining user behavior data within multiple historical statistical periods;

[0283] A module for obtaining a first set of users who browsed a target product and a second set of users who purchased each other product based on user behavior data;

[0284] A module for obtaining, for each other commodity, a competition probability between the corresponding other commodity and the target commodity according to the first user set and the second user set;

[0285] A module for selecting competing products of a target product from other products based on competition probability.

[0286] In one embodiment of the present invention, for each other commodity, obtaining the competition probability between the corresponding other commodity and the target commodity according to the first user set and the second user set includes:

[0287] For each other product, determine the number of intersection users in the intersection of the first user set and the second user set;

[0288] For each other product, the ratio of the number of users in the intersection to the number of users included in the first user set is determined as the competition probability.

[0289] In one embodiment of the present invention, selecting a competitive commodity of the target commodity from other commodities according to the competition probability includes:

[0290] Select other products whose competition probability is greater than or equal to the preset probability threshold as competing products; or,

[0291] Sort other commodities in descending order according to competition probability, and obtain the ranking value of each other commodity;

[0292] Select other products whose ranking values ​​are within the set range as competing products.

[0293] In one embodiment of the present invention, the commodity processing device 7000 may further include:

[0294] A module for obtaining training samples of multiple historical statistical periods, wherein each training sample includes a training feature vector of a target product in a corresponding historical statistical period, a training feature vector of a competing product in a corresponding historical statistical period, a predicted feature vector of a target product in a corresponding subsequent statistical period, a predicted feature vector of a competing product in a corresponding subsequent statistical period, an actual sales volume of the target product in a corresponding historical statistical period, an actual sales volume of a competing product in a corresponding historical statistical period, and an actual sales volume of the target product in a corresponding subsequent statistical period; wherein the training feature vector includes a feature vector obtained by merging a predicted feature vector and feature vectors of other features, and the other features include user behavior features and / or purchase record features;

[0295] A module used to train a mapping function based on training samples.

[0296] In one embodiment of the present invention, training to obtain a mapping function includes:

[0297] Taking the undetermined coefficient of the mapping function as a variable, determine the expression of the predicted sales volume of the target product in the corresponding next statistical period according to each training sample;

[0298] Construct a loss function based on the expression of the predicted sales volume in each subsequent statistical period and the actual sales volume of the target product in the corresponding subsequent statistical period;

[0299] Solve the loss function to determine the unknown coefficients and complete the training of the mapping function.

[0300] In one embodiment of the present invention, the undetermined coefficients of the mapping function include preset undetermined coefficients of the target neural network corresponding to the target product, preset undetermined coefficients of the competitive neural network corresponding to the competitive product, preset undetermined coefficients of the residual neural network and preset standardized undetermined coefficients;

[0301] The expressions for determining the predicted sales volume of the target product in the statistical period following the corresponding historical statistical period include:

[0302] Taking the undetermined coefficients of the target neural network as variables, the expression of the output state of the target neural network in the corresponding next statistical period is determined according to the training feature vector of the target product in each training sample in the corresponding historical statistical period, the predicted feature vector of the target product in the corresponding next statistical period, and the actual sales volume of the target product in the corresponding historical statistical period;

[0303] Taking the standardized undetermined coefficient as the variable, the expression of the daily sales volume of the target product in the corresponding next historical statistical period is determined according to the expression of the output state of the target neural network in each subsequent statistical period;

[0304] Taking the undetermined coefficients of the competitive neural network as variables, the expression of the output state of the competitive neural network in the corresponding historical statistical period is determined according to the training feature vector of the competitive product in the corresponding historical statistical period, the predicted feature vector of the competitive product in the corresponding next statistical period, and the actual sales volume of the competitive product in the corresponding historical statistical period in each training sample;

[0305] Taking the undetermined coefficients and standardized undetermined coefficients of the residual neural network as variables, for each subsequent statistical period, according to the predicted feature vector of the target product, the predicted feature vector of the competing product, the expression of the output state of the target neural network, and the expression of the output state of the competing neural network, the expression of the residual sales volume of the target product in the corresponding next historical statistical period is determined;

[0306] Based on the expression of the daily sales volume of the target product in each subsequent statistical period and the expression of the residual sales volume in each subsequent statistical period, the expression of the predicted sales volume of the target product in the subsequent statistical period of the corresponding historical statistical period is obtained.

[0307] In one embodiment of the present invention, according to the expression of predicted sales volume in each subsequent statistical period and the actual sales volume of the target product in each subsequent statistical period, before constructing the loss function, the following is further included:

[0308] Construct an initial loss function based on the expression of the daily sales volume of the target product in each subsequent statistical period and the actual sales volume of the target product in each subsequent statistical period;

[0309] The unknown coefficients and standardized unknown coefficients of the target neural network of the target product are determined according to the initial loss function.

[0310] In one embodiment of the present invention, the commodity processing device 7000 may further include:

[0311] A module for, after obtaining the actual sales volume and training feature vector of the target product in the target statistical period, using the actual sales volume of the target product in the target statistical period, the training feature vector of the target product in the previous target statistical period, the training feature vector of the competing product in the previous statistical period, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the target product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period as new training samples;

[0312] Module for modifying the mapping function based on new training samples.

[0313] In one embodiment of the present invention, the commodity processing device 7000 may further include:

[0314] A module for obtaining the predicted sales volume of a target product in a subsequent statistical period based on the predicted sales volume of the target product in a target statistical period.

[0315] In one embodiment of the present invention, obtaining the predicted sales volume of the target product in a subsequent statistical period according to the predicted sales volume of the target product in the target statistical period may include:

[0316] According to the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period, the predicted sales volume of the competing product in the target statistical period is obtained;

[0317] Obtaining a predicted feature vector of a target product in a subsequent statistical period of a target statistical period, and a predicted feature vector of a competing product in a subsequent statistical period;

[0318] According to the mapping function, the predicted feature vector of the target product in the next statistical period, the predicted feature vector of the competing product in the next statistical period, the predicted sales volume of the target product in the target statistical period, and the predicted sales volume of the competing product in the target statistical period, the predicted sales volume of the target product in the next statistical period is obtained.

[0319] Those skilled in the art should understand that the commodity processing device 7000 can be implemented in various ways. For example, the commodity processing device 7000 can be implemented by configuring the processor with instructions. For example, the instructions can be stored in a ROM, and when the device is started, the instructions are read from the ROM into a programmable device to implement the commodity processing device 7000. For example, the commodity processing device 7000 can be fixed in a dedicated device (such as an ASIC). The commodity processing device 7000 can be divided into independent units, or they can be combined together for implementation. The commodity processing device 7000 can be implemented by one of the various implementations described above, or can be implemented by a combination of two or more of the various implementations described above.

[0320] In this embodiment, the commodity processing device 7000 can have multiple implementation forms. For example, the commodity processing device 7000 can be a functional module running in any software product or application that provides commodity processing services, or it can be an external embedded component, plug-in, patch, etc. of these software products or applications, or it can also be these software products or applications themselves.

[0321] <Electronic equipment>

[0322] In this embodiment, an electronic device 1000 is also provided. The electronic device 1000 may be Figure 1a The server 1100 shown or Figure 1b The terminal device 1200 is shown.

[0323] In one aspect, the electronic device 1000 may include the aforementioned commodity processing device 7000 for implementing the commodity processing method of any embodiment of the present invention; or include the aforementioned commodity processing device 7000 for implementing the commodity processing method of any embodiment of the present invention.

[0324] On the other hand, Fig.10 As shown, the electronic device 1000 may also include a processor 1300 and a memory 1400, wherein the memory 1400 is used to store executable instructions; the processor 1300 is used to control the electronic device 1000 to execute the commodity processing method, data object processing method or data prediction method according to any embodiment of the present invention under the control of the instructions.

[0325] In this embodiment, the electronic device 1000 may be a mobile phone, a tablet computer, a PDA, a desktop computer, a laptop computer, a workstation, a game console, etc. For example, the electronic device 1000 may be a smart phone installed with an application providing a display service.

[0326] <Computer Readable Storage Medium>

[0327] In this embodiment, a computer-readable storage medium is also provided, on which a computer program is stored. When the computer program is executed by a processor, it implements the commodity processing method, data object processing method or data prediction method as described in any embodiment of the present invention.

[0328] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0329] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0330] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0331] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0332] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0333] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0334] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0335] The flowchart and block diagram in the accompanying drawings show the possible architecture, functions and operations of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and a part of a module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0336] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A commodity processing method, comprising: Obtaining a predicted feature vector of a target product in a target statistical period, a predicted feature vector of a competing product of the target product in the target statistical period, the sales volume of the target product in a previous statistical period of the target statistical period, and the sales volume of the competing product in the previous statistical period; wherein the predicted feature vector is a feature vector obtained by merging feature vectors of a plurality of preset initial features, and the initial features include features that affect the sales volume of the corresponding product; Obtaining a mapping function among the predicted feature vector of the target product, the predicted feature vector of the competing product, the sales volume of the target product, the sales volume of the competing product and the predicted sales volume of the target product; Obtain the predicted sales volume of the target product in the target statistical period according to the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period; adjusting the inventory of the target product according to the predicted sales volume; The method further comprises: Acquire training samples of multiple historical statistical periods, wherein each training sample includes a training feature vector of the target product in the corresponding historical statistical period, a training feature vector of the competing product in the corresponding historical statistical period, a predicted feature vector of the target product in the corresponding subsequent statistical period, a predicted feature vector of the competing product in the corresponding subsequent statistical period, an actual sales volume of the target product in the corresponding historical statistical period, an actual sales volume of the competing product in the corresponding historical statistical period, and an actual sales volume of the target product in the corresponding subsequent statistical period; wherein the training feature vector includes a feature vector obtained by merging the predicted feature vector and feature vectors of other features, wherein the other features include user behavior features and / or purchase record features; Taking the undetermined coefficient of the mapping function as a variable, and determining an expression for predicting the sales volume of the target product in the corresponding subsequent statistical period according to each of the training samples; Constructing a loss function according to an expression of the predicted sales volume in each subsequent statistical period and the actual sales volume of the target product in the corresponding subsequent statistical period; Solving the loss function to determine the undetermined coefficients and completing the training of the mapping function; The undetermined coefficients of the mapping function include preset undetermined coefficients of the target neural network corresponding to the target product, preset undetermined coefficients of the competitive neural network corresponding to the competing product, preset undetermined coefficients of the residual neural network and preset standardized undetermined coefficients; the target neural network is a neural network used to predict the sales volume of the target product, the competitive neural network is a neural network used to predict the sales volume of the corresponding competing product, and the residual neural network is a neural network used to predict the influence of the competing product on the sales volume of the target product; the standardized undetermined coefficients are undetermined coefficients used to standardize the output of the neural network; The step of determining an expression for the predicted sales volume of the target product in a subsequent statistical period corresponding to the historical statistical period comprises: Taking the undetermined coefficients of the target neural network as variables, determining the expression of the output state of the target neural network in the corresponding next statistical period according to the training feature vector of the target commodity in each training sample in the corresponding historical statistical period, the predicted feature vector of the target commodity in the corresponding next statistical period, and the actual sales volume of the target commodity in the corresponding historical statistical period; Taking the standardized undetermined coefficient as a variable, determine the expression of the daily sales volume of the target commodity in the corresponding next historical statistical period according to the expression of the output state of the target neural network in each subsequent statistical period; Taking the undetermined coefficients of the competitive neural network as variables, respectively according to the training feature vector of the competitive commodity in the corresponding historical statistical period, the predicted feature vector of the competitive commodity in the corresponding subsequent statistical period, and the actual sales volume of the competitive commodity in the corresponding historical statistical period in each training sample, determine the expression of the output state of the competitive neural network in the corresponding historical statistical period; Taking the undetermined coefficients of the residual neural network and the standardized undetermined coefficients as variables, for each subsequent statistical period, according to the predicted feature vector of the target product, the predicted feature vector of the competing product, the expression of the output state of the target neural network and the expression of the output state of the competing neural network, determine the expression of the residual sales volume of the target product in the corresponding next historical statistical period; Based on the expression of the daily sales volume of the target product in each of the subsequent statistical periods and the expression of the residual sales volume in each of the subsequent statistical periods, the expression of the predicted sales volume of the target product in the subsequent statistical period of the corresponding historical statistical period is obtained.

2. According to the method of claim 1, the step of obtaining the feature vector in the target statistical period comprises: Obtain a feature vector of at least one initial feature in the target statistical period; The feature vectors of the initial features in the target statistical period are merged to obtain a predicted feature vector in the target statistical period.

3. According to the method of claim 2, the initial features include any one or more of commodity static features, date type features and activity promotion features.

4. The method according to claim 1, further comprising the step of obtaining the competing product, comprising: Obtain user behavior data within multiple historical statistical periods; According to the user behavior data, a first set of users who browse the target product and a second set of users who purchase each other product are obtained; For each other commodity, obtaining the competition probability between the corresponding other commodity and the target commodity according to the first user set and the second user set; The competing product of the target product is selected from the other products according to the competition probability.

5. The method according to claim 4, wherein for each other commodity, obtaining the competition probability between the corresponding other commodity and the target commodity according to the first user set and the second user set comprises: For each other commodity, determining the number of intersection users in the intersection of the first user set and the second user set; For each other commodity, a ratio of the number of users in the intersection to the number of users included in the first user set is determined as the competition probability.

6. The method according to claim 5, wherein selecting the competing product of the target product from the other products according to the competition probability comprises: Selecting other commodities whose competition probability is greater than or equal to a preset probability threshold as the competing commodities; or, Sort the other commodities in descending order according to the competition probability, and obtain the ranking value of each of the other commodities; Other products whose ranking values ​​are within the set range are selected as the competing products.

7. The method according to claim 1, wherein the expression of predicted sales volume in each subsequent statistical period and the actual sales volume of the target product in each subsequent statistical period, before constructing the loss function, further comprises: Constructing an initial loss function according to an expression of the daily sales volume of the target product in each of the subsequent statistical periods and the actual sales volume of the target product in each of the subsequent statistical periods; The undetermined coefficients of the target neural network of the target commodity and the standardized undetermined coefficients are determined according to the initial loss function.

8. The method according to claim 1, further comprising: After obtaining the actual sales volume of the target product in the target statistical period and the training feature vector, the actual sales volume of the target product in the target statistical period, the training feature vector of the target product in the previous target statistical period, the training feature vector of the competing product in the previous statistical period, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the target product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period are used as new training samples; The mapping function is modified according to the new training sample.

9. The method according to claim 1, further comprising: According to the predicted sales volume of the target commodity in the subsequent statistical period, the predicted sales volume of the target commodity in the subsequent statistical period is obtained.

10. The method according to claim 9, wherein obtaining the predicted sales volume of the target commodity in the next statistical period according to the predicted sales volume of the target commodity in the target statistical period comprises: According to the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period, the predicted sales volume of the competing product in the target statistical period is obtained; Obtaining a predicted feature vector of the target product in a subsequent statistical period of the target statistical period and a predicted feature vector of the competing product in the subsequent statistical period; The predicted sales volume of the target product in the subsequent statistical period is obtained based on the mapping function, the predicted feature vector of the target product in the subsequent statistical period, the predicted feature vector of the competing product in the subsequent statistical period, the predicted sales volume of the target product in the target statistical period, and the predicted sales volume of the competing product in the target statistical period.

11. A commodity processing device, comprising: The first acquisition module is used to acquire the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the target product's competing products in the target statistical period, the sales volume of the target product in the previous statistical period of the target statistical period, and the sales volume of the competing products in the previous statistical period; wherein the predicted feature vector is a feature vector obtained by merging feature vectors of preset initial features, and the initial features include features that affect the sales volume of the corresponding product; A second acquisition module, used to acquire the predicted feature vector of the target product, the predicted feature vector of the competing product, the sales volume of the target product, the sales volume of the competing product and a mapping function between the predicted sales volume of the target product; A sales forecasting module, used to obtain the predicted sales volume of the target product in the target statistical period according to the mapping function, the predicted feature vector of the target product in the target statistical period, the predicted feature vector of the competing product in the target statistical period, the sales volume of the target product in the previous statistical period, and the sales volume of the competing product in the previous statistical period; An inventory adjustment module, used to adjust the inventory of the target product according to the predicted sales volume; The device also includes: A module for obtaining training samples of multiple historical statistical periods, wherein each training sample includes a training feature vector of the target product in a corresponding historical statistical period, a training feature vector of the competing product in a corresponding historical statistical period, a predicted feature vector of the target product in a corresponding subsequent statistical period, a predicted feature vector of the competing product in a corresponding subsequent statistical period, an actual sales volume of the target product in a corresponding historical statistical period, an actual sales volume of the competing product in a corresponding historical statistical period, and an actual sales volume of the target product in a corresponding subsequent statistical period; wherein the training feature vector includes a feature vector obtained by merging the predicted feature vector and feature vectors of other features, wherein the other features include user behavior features and / or purchase record features; A module for determining an expression for predicting the sales volume of the target product in the corresponding subsequent statistical period based on each of the training samples, using the undetermined coefficients of the mapping function as variables; A module for constructing a loss function based on an expression of predicted sales volume in each subsequent statistical period and actual sales volume of the target product in the corresponding subsequent statistical period; A module for solving the loss function to determine the undetermined coefficients and completing the training of the mapping function; The undetermined coefficients of the mapping function include preset undetermined coefficients of the target neural network corresponding to the target product, preset undetermined coefficients of the competitive neural network corresponding to the competing product, preset undetermined coefficients of the residual neural network and preset standardized undetermined coefficients; the target neural network is a neural network used to predict the sales volume of the target product, the competitive neural network is a neural network used to predict the sales volume of the corresponding competing product, and the residual neural network is a neural network used to predict the influence of the competing product on the sales volume of the target product; the standardized undetermined coefficients are undetermined coefficients used to standardize the output of the neural network; The step of determining an expression for the predicted sales volume of the target product in a subsequent statistical period corresponding to the historical statistical period comprises: Taking the undetermined coefficients of the target neural network as variables, determining the expression of the output state of the target neural network in the corresponding next statistical period according to the training feature vector of the target commodity in each training sample in the corresponding historical statistical period, the predicted feature vector of the target commodity in the corresponding next statistical period, and the actual sales volume of the target commodity in the corresponding historical statistical period; Taking the standardized undetermined coefficient as a variable, determine the expression of the daily sales volume of the target commodity in the corresponding next historical statistical period according to the expression of the output state of the target neural network in each subsequent statistical period; Taking the undetermined coefficients of the competitive neural network as variables, respectively according to the training feature vector of the competitive commodity in the corresponding historical statistical period, the predicted feature vector of the competitive commodity in the corresponding subsequent statistical period, and the actual sales volume of the competitive commodity in the corresponding historical statistical period in each training sample, determine the expression of the output state of the competitive neural network in the corresponding historical statistical period; Taking the undetermined coefficients of the residual neural network and the standardized undetermined coefficients as variables, for each subsequent statistical period, according to the predicted feature vector of the target product, the predicted feature vector of the competing product, the expression of the output state of the target neural network and the expression of the output state of the competing neural network, determine the expression of the residual sales volume of the target product in the corresponding next historical statistical period; Based on the expression of the daily sales volume of the target product in each of the subsequent statistical periods and the expression of the residual sales volume in each of the subsequent statistical periods, the expression of the predicted sales volume of the target product in the subsequent statistical period of the corresponding historical statistical period is obtained.

12. An electronic device comprising: The device according to claim 11; or, A processor and a memory, wherein the memory is used to store instructions, and the instructions are used to control the processor to execute the method according to any one of claims 1 to 10.

13. A computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the method according to any one of claims 1 to 10 when executed by a processor.

Citation Information

Patent Citations

  • Commodity sales volume prediction algorithm applied to electronic commerce

    CN105427118A

  • Method for predicting inventory allocation proportion, device and electronic device

    CN106156880A

  • Intelligent promotion scheme modeling method applied to Taobao

    CN107038190A

  • Prediction information pushing method and device

    CN108074003A

  • Automatic calculation method and system of selling prices of commodities, electronic equipment and storage medium

    CN108389073A