Stock-up information generation method and device, equipment, medium and program product
By using the item circulation sample data of a single store and multiple stores to train the stocking prediction model and weighted fusion, the problem of insufficient single store data and information security restrictions is solved, and the prediction accuracy of stocking information is improved.
Patent Information
- Application Number
- CN202310232557.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-06
- Publication Date
- 2024-09-06
AI Technical Summary
Insufficient historical order data for a single store results in low accuracy of stocking prediction models, and data from multiple stores cannot be shared due to information security restrictions, making it difficult to improve the accuracy of stocking information predictions.
By obtaining the stocking related indicator data of the target item supplier, and using the item circulation sample data of a single item supplier to train the first stocking prediction model, and combining the item circulation sample data of multiple item suppliers to train the second stocking prediction model, and perform weighting Fusion to form a comprehensive stocking prediction model, avoiding direct sharing of raw data to ensure information security.
The prediction accuracy of stocking information has been improved. By comprehensively using the data from multiple stores, the accuracy of the prediction model has been enhanced. At the same time, data sharing has been achieved while ensuring information security.
Smart Images

Figure CN118608192A
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of warehousing, and in particular to methods, devices, equipment, media, and program products for generating stocking information. Background Art
[0002] Retail stores will select products and prepare inventory based on data such as store historical orders. For example, you can train inventory using data such as store historical orders to predict inventory information (such as inventory quantity, inventory category, etc.).
[0003] However, the inventors have found that when the above method is used for prediction, the following technical problems often occur:
[0004] First, due to the small amount of historical order data for a single store, the accuracy of the trained inventory forecasting model cannot be guaranteed;
[0005] Second, data from multiple stores cannot be shared due to information security restrictions.
[0006] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention
[0007] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0008] Some embodiments of the present disclosure propose methods, devices, equipment, media and program products for generating inventory information to solve one or more of the technical problems mentioned in the above background technology section.
[0009] In a first aspect, some embodiments of the present disclosure provide a method for generating stocking information, the method comprising: obtaining indicator data of stocking-related indicators of a target item supplier; inputting the indicator data of the stocking-related indicators into a pre-trained stocking prediction model to obtain stocking information corresponding to the target item supplier, wherein the stocking prediction model is generated by the following steps: obtaining a first stocking prediction model trained using item circulation sample data of the target item supplier; obtaining a second stocking prediction model trained using corresponding item circulation sample data sets of multiple item suppliers, wherein the multiple item suppliers include the target item supplier; weighting the first stocking prediction model and the second stocking prediction model to obtain the stocking prediction model.
[0010] In a second aspect, some embodiments of the present disclosure provide a stocking information generating device, the device comprising: an acquisition unit, configured to acquire index data of stocking-related indexes of a target item supplier; a prediction unit, configured to input the index data of stocking-related indexes into a pre-trained stocking prediction model to obtain stocking information corresponding to the target item supplier, wherein the stocking prediction model is generated by the following steps: acquiring a first stocking prediction model trained using item circulation sample data of the target item supplier; acquiring a second stocking prediction model trained using corresponding item circulation sample data sets of multiple item suppliers, wherein the multiple item suppliers include the target item supplier; and weighting the first stocking prediction model and the second stocking prediction model to obtain the stocking prediction model.
[0011] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0012] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0013] In a fifth aspect, some embodiments of the present disclosure provide a computer program product, including a computer program, which implements the method described in any implementation manner of the above-mentioned first aspect when executed by a processor.
[0014] The above-mentioned various embodiments of the present disclosure have the following beneficial effects: the prediction accuracy of stocking information is improved. Specifically, the reason why the relevant prediction method has a low accuracy is that it uses data from a single store for training, and the amount of data is small. Based on this, some embodiments of the present disclosure use a first stocking prediction model trained with data from a single store, combined with a second stocking prediction model trained with data from multiple stores, and weighted the first stocking prediction model and the second stocking prediction model. In this process, since the data from multiple stores are used comprehensively, the amount of data is comprehensive, which can improve the prediction accuracy of stocking information. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0016] Figure 1is a flow chart of some embodiments of the method for generating stocking information according to the present disclosure;
[0017] Figure 2 is a flowchart of a training method for a second inventory forecasting model in the inventory information generating method disclosed in the present invention;
[0018] Figure 3 is a schematic diagram of an application scenario of a method for generating stocking information according to some embodiments of the present disclosure;
[0019] Figure 4 It is a structural schematic diagram of some embodiments of the device for generating stocking information according to the present disclosure;
[0020] Figure 5 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0021] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0022] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0023] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0024] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0025] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0026] With regard to the collection, storage, and use of user personal information (such as store logistics flow sample data and user basic data) involved in this disclosure, before performing the corresponding operations, the relevant organizations or individuals shall fulfill their obligations, including conducting personal information security impact assessments, fulfilling the obligation to inform the personal information subject, and obtaining the authorization and consent of the personal information subject in advance, as well as comply with the provisions of relevant laws and regulations.
[0027] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0028] refer to Figure 1 , shows a process 100 of some embodiments of the method for generating stocking information according to the present disclosure. The process 100 of the method for generating stocking information includes the following steps:
[0029] Step 101, obtaining index data of the target item supplier's stock-related index.
[0030] In some embodiments, the execution subject of the stocking information generation method can be any electronic device. The above-mentioned execution subject can first obtain the index data of the stocking-related index of the target item supplier from the database. Among them, the target item supplier can be any item supplier, wherein the item supplier can be a store, a supermarket, an e-commerce store, etc. The index data of the stocking-related index can be the index value of the stocking-related index, wherein the stocking-related index can be an index associated with stocking, including but not limited to: historical order indicators, user indicators, basic indicators of item suppliers, etc. Among them, historical order indicators include date, ordering user ID, sku (stock unit), quantity, price, etc. User indicators include user ID, mobile phone number, address, age, etc. Basic indicators of item suppliers include store categories, store size, business district categories, etc.
[0031] Step 102, input the index data of the inventory-related index into the pre-trained inventory prediction model to obtain the inventory information corresponding to the target item supplier. The inventory information may be inventory category, inventory quantity, etc.
[0032] In some embodiments, the inventory forecast model is generated by the following steps:
[0033] Sub-step 1: obtaining a first inventory forecasting model trained using item flow sample data of a target item supplier.
[0034] Sub-step two, obtain a second inventory prediction model trained using corresponding item circulation sample data sets of multiple item suppliers, wherein the multiple item suppliers include the target item supplier. Each item supplier corresponds to item circulation sample data, and the item circulation sample data corresponding to multiple item suppliers respectively constitute the item circulation sample data set. In practice, the item circulation sample data includes sample indicator data and labels of the sample indicator data, and the labels in the item circulation sample data corresponding to different item suppliers may be the same or different. For example, the label in the item circulation sample data corresponding to item supplier A may be the purchase distribution ratio of a certain item in different age groups, and the label in the item circulation sample data corresponding to item supplier B may be the store inventory category and inventory quantity.
[0035] As an example, the second inventory forecasting model can be obtained by training using a longitudinal federated learning algorithm. As another example, the item flow sample data corresponding to each of the multiple item suppliers can be sampled according to a preset sampling ratio, and the sampled item flow sample data can be used to form a training sample set, and the training sample set can be used to train an artificial neural network (such as a RNN recurrent neural network) to obtain the second inventory forecasting model.
[0036] Sub-step three: weighting the first inventory forecasting model and the second inventory forecasting model to obtain the inventory forecasting model. The weight of the first inventory forecasting model and the second inventory forecasting model can be determined according to actual conditions.
[0037] In some optional implementations of some embodiments, the target item supplier may be an e-commerce platform, the item flow sample data of the target item supplier is the online order corresponding to the e-commerce platform, the multiple item suppliers are multiple offline retailers, and the corresponding item flow sample data sets of the multiple item suppliers are the retail data sets corresponding to the multiple offline retailers. In these implementations, by combining the data of offline retail scenarios with large-scale online order data, more accurate inventory information prediction can be achieved.
[0038] Some embodiments of the present disclosure provide a method that, based on a first stock forecasting model trained with data from a single store, combines a second stock forecasting model trained with data from multiple stores, and weights the first stock forecasting model and the second stock forecasting model. In this process, since data from multiple stores are used comprehensively and the data volume is comprehensive, the prediction accuracy of the stock information can be improved.
[0039] Further references Figure 2 , which shows the training process 200 of the second inventory forecasting model in the inventory information generation method. The training process 200 includes the following steps:
[0040] Step 201, encrypting and aligning the item circulation sample data corresponding to different item suppliers in the item circulation sample data set to determine the mapping relationship between the item circulation sample data corresponding to different item suppliers, and obtaining encrypted alignment data.
[0041] In some embodiments, as an example, encrypted alignment may be performed using an encrypted user identification alignment method to ensure that different item suppliers can be aligned without exposing their respective original data.
[0042] Step 202: For each of the multiple item suppliers, use the public key issued by the referee to encrypt and the intermediate results of the interactive gradient and the loss function.
[0043] In some embodiments, an adjudicator may be provided, and the adjudicator may create a public key and distribute the public key to each item supplier, and each of the item suppliers may then encrypt and exchange the intermediate results.
[0044] Step 203, for each item supplier, the encrypted gradient and encrypted loss are calculated using the received intermediate results, and the encrypted gradient and encrypted loss are sent to the referee, so that the referee decrypts the encrypted gradient and encrypted loss, and sends the decrypted results to each item supplier.
[0045] In some embodiments, each item supplier may optionally calculate an encryption gradient using the received intermediate results. For the target item supplier, the intermediate results may also be used to calculate an encryption loss. In the process of calculating the encryption loss, the target item supplier may calculate the encryption loss using the corresponding tags and output results.
[0046] Step 204: for each item supplier, the received decrypted result is used to update the parameters of the corresponding sub-model until the training is completed.
[0047] In practice, each item supplier can deploy a sub-model, and the network structure of the sub-network is obtained by splitting the initial model of the second inventory forecasting model.
[0048] Step 205: determine the trained sub-model corresponding to the target item supplier as the second item inventory prediction model.
[0049] In the training process of the second inventory forecasting model in the methods provided in some embodiments of the present disclosure, multiple item suppliers exchange intermediate results through a public key, and on this basis, actually calculate the encryption gradient and encryption loss, thereby avoiding information security issues caused by directly sharing the original data. Data sharing is achieved on the basis of ensuring information security, thereby realizing the joint training of multiple data and improving the prediction accuracy of the inventory forecasting model.
[0050] Further references Figure 3 , which shows a schematic diagram of an application scenario of the method for generating inventory information in some embodiments of the present disclosure. Figure 3 As shown, multiple item suppliers include Company A, Company B, Company C, and Company D, and the original data of these companies are the corresponding item circulation sample data. The target item supplier is Company A, so the indicator data of the target item supplier's stock-related indicators can be first obtained. The indicator data of the stock-related indicators are input into a pre-trained stock prediction model to obtain the corresponding stock information (i.e., decision recommendations) of the target item supplier. Among them, the stock prediction model is generated by the following steps: obtaining a first stock prediction model (such as a first stock prediction model trained using the item circulation sample data of the target item supplier); Figure 3 Model a); obtain a second inventory forecasting model (such as Figure 3 Joint Model + ), wherein the plurality of item suppliers include a target item supplier; and weighting the first inventory forecasting model and the second inventory forecasting model to obtain an inventory forecasting model.
[0051] Further references Figure 4 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a device for generating stocking information. Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0052] like Figure 4 As shown, some embodiments of the stocking information generating device 400 include: an acquisition unit 401 is configured to acquire index data of stocking-related indexes of a target item supplier; a prediction unit 402 is configured to input the index data of stocking-related indexes into a pre-trained stocking prediction model to obtain stocking information corresponding to the target item supplier, wherein the stocking prediction model is generated by the following steps: acquiring a first stocking prediction model trained using item circulation sample data of the target item supplier; acquiring a second stocking prediction model trained using corresponding item circulation sample data sets of multiple item suppliers, wherein the multiple item suppliers include the target item supplier; and weighting the first stocking prediction model and the second stocking prediction model to obtain a stocking prediction model.
[0053] It is understood that the units described in the device 400 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 400 and the units included therein, and will not be described in detail here.
[0054] Reference below Figure 5 , which shows a structural schematic diagram of an electronic device 500 suitable for implementing some embodiments of the present disclosure. Figure 5 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0055] like Figure 5 As shown, the electronic device 500 may include a processing device 501 (e.g., a central processing unit, a graphics processing unit, etc.) 5, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0056] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 5 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 5 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0057] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0058] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0059] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperTextTransferProtocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an adhoc peer-to-peer network), as well as any currently known or future developed network.
[0060] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the index data of the stock-related index of the target item supplier; inputs the index data of the stock-related index into a pre-trained stock prediction model to obtain the stock information corresponding to the target item supplier, wherein the stock prediction model is generated by the following steps: obtains a first stock prediction model trained with the item circulation sample data of the target item supplier; obtains a second stock prediction model trained with the corresponding item circulation sample data sets of multiple item suppliers, wherein the multiple item suppliers include the target item supplier; and weights the first stock prediction model and the second stock prediction model to obtain the stock prediction model.
[0061] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving 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., via the Internet using an Internet service provider).
[0062] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0063] The units described in some embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, for example, may be described as: a processor includes an acquisition unit and a prediction unit. The names of these units do not, in some cases, constitute limitations on the units themselves, for example, the acquisition unit may also be described as a "unit for acquiring indicator data".
[0064] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0065] Some embodiments of the present disclosure further provide a computer program product, including a computer program, which implements any of the above-mentioned methods for generating inventory information when executed by a processor.
[0066] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A method for generating stocking information, include: Obtain indicator data of the target item supplier's inventory-related indicators; Input the index data of the stock-related index into a pre-trained stock prediction model to obtain the stock information corresponding to the target item supplier, wherein the stock prediction model is generated by the following steps: Obtaining a first inventory forecasting model trained using item flow sample data of the target item supplier; Acquire a second inventory forecasting model trained by using corresponding item circulation sample data sets of a plurality of item suppliers, wherein the plurality of item suppliers include the target item supplier; The first inventory forecasting model and the second inventory forecasting model are weighted to obtain the inventory forecasting model.
2. The method according to claim 1, in, The second inventory forecasting model is trained by the following steps: Encrypting and aligning the item circulation sample data corresponding to different item suppliers in the item circulation sample data set to determine a mapping relationship between the item circulation sample data corresponding to different item suppliers to obtain encrypted alignment data; For each of the plurality of item suppliers, encrypting and calculating the intermediate results of the interactive gradient and the loss function using the encrypted alignment data and the public key issued by the referee; For each of the item suppliers, using the received intermediate results, calculate an encrypted gradient and an encrypted loss, and send the encrypted gradient and the encrypted loss to the referee, so that the referee decrypts the encrypted gradient and the encrypted loss, and sends the decrypted results to each of the item suppliers; For each of the item suppliers, the received decrypted results are used to update the parameters of the corresponding sub-model until the training is completed; The trained sub-model corresponding to the target item supplier is determined as the second item inventory prediction model.
3. The method according to claim 2, in, The item circulation sample data in the item circulation sample data set includes sample indicator data of inventory-related indicators and labels of the sample indicator data, wherein the labels in the item circulation sample data of different item suppliers are different.
4. The method according to claim 3, in, For each of the item suppliers, using the received intermediate results to calculate the encryption gradient and encryption loss includes: For the target item supplier, using the received intermediate results to calculate the encrypted gradient and the encrypted loss; For the item suppliers other than the target item supplier among the multiple item suppliers, an encrypted gradient is calculated using the received intermediate results.
5. The method according to claim 2, in, The inventory-related indicators include: historical order indicators, user indicators, and item supplier indicators.
6. The method according to any one of claims 1 to 5, in, The target item supplier is an e-commerce platform, the item circulation sample data of the target item supplier is the online orders corresponding to the e-commerce platform, the multiple item suppliers are multiple offline retailers, and the corresponding item circulation sample data sets of the multiple item suppliers are the retail data sets corresponding to the multiple offline retailers.
7. A device for generating stocking information, include: An acquisition unit configured to acquire index data of a stock-related index of a target item supplier; The prediction unit is configured to input the index data of the stock-related index into a pre-trained stock prediction model to obtain the stock information corresponding to the supplier of the target item, wherein the stock prediction model is generated by the following steps: Obtaining a first inventory forecasting model trained using item flow sample data of the target item supplier; Acquire a second inventory forecasting model trained by using corresponding item circulation sample data sets of a plurality of item suppliers, wherein the plurality of item suppliers include the target item supplier; The first inventory forecasting model and the second inventory forecasting model are weighted to obtain the inventory forecasting model.
8. An electronic device, include: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer readable medium having a computer program stored thereon, in, When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 6.
