Terminal equipment inventory alarm method and device and computer equipment
By using pre-trained seasonal models in terminal equipment storage for sales forecasting and inventory management, the problem of inefficient inventory forecasting in the existing technology is solved, and more accurate and efficient inventory management is achieved to meet the needs of different regions and models of equipment. difference.
Patent Information
- Application Number
- CN202411544600.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-01-10
AI Technical Summary
In the prior art, terminal equipment storage inventory prediction efficiency is low, relying on manual prediction accuracy and low efficiency, and it is impossible to accurately respond to the demand differences in different regions and models of equipment.
The pre-trained seasonal model is used to predict the sales quantity of the target hierarchy warehouse. The inventory quantity is determined by obtaining the inventory cloud map and incoming data. The alarm information is generated based on the difference and alarm thresholds, indicating whether the sales quantity reaches the warning point, and the superior warehouse is to Send an inventory transfer request.
It improves the accuracy and efficiency of terminal equipment inventory prediction, reduces manual intervention, can more accurately respond to the demand differences in different regions and models of equipment, and improves warehouse management efficiency.
Smart Images

Figure CN119294975A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of warehouse management, and in particular to a method and device for providing an inventory alarm for a terminal device, and a computer device. Background Art
[0002] With the continuous popularization of Internet technology, people's demand for smart terminal devices is also increasing. At the same time, people's requirements for the timeliness of smart terminal devices are getting higher and higher. In order to ensure that smart terminal devices can be delivered to consumers as soon as possible, it is usually adopted to pre-issue pre-stored goods to warehouses in various regions to ensure that goods can be sent to dealers in various regions as soon as possible. When an order is obtained from the Internet, the warehouse closest to the delivery address will send the goods to the delivery address. In the case of insufficient inventory in warehouses in various regions, the warehouse managers in various regions will take the initiative to report, and then the general warehouse will send goods to the warehouses in the out-of-stock regions. However, the disadvantage of this operation is that it is extremely dependent on the personal experience of warehouse managers, and requires accurate knowledge of the sales volume and sales trend of smart terminal devices in the region. It should also be noted that due to differences in regional development levels, people have obvious differences in demand for smart terminal devices of different models, prices and positioning. Manual prediction alone is not only inaccurate, but also extremely inefficient. Summary of the invention
[0003] The embodiments of the present application provide a terminal device inventory alarm method, apparatus and computer equipment to at least solve the technical problem of low efficiency of terminal device warehouse inventory prediction in the related art.
[0004] According to one aspect of an embodiment of the present application, a terminal device inventory alarm method is provided, including: obtaining a terminal device inventory cloud map of a target-level warehouse, the inventory cloud map being used to represent the inventory information of the terminal device; using a pre-trained seasonal model to predict the sales quantity of the target-level warehouse on a target date, and obtaining the sales quantity of the terminal device until the target date; determining the inventory quantity of the target-level warehouse on the target date based on the sales quantity before the target date, and determining the difference between the sales quantity on the target date and the inventory quantity of the target-level warehouse on the target date; generating an alarm message based on a comparison result of the difference with the alarm threshold, the alarm message being used to indicate whether the sales quantity on the target date has reached the alarm threshold.
[0005] Optionally, a pre-trained seasonal model is used to predict the sales quantity of the warehouse at the target level on the target date to obtain the sales quantity of the terminal device until the target date, including: obtaining a training data set, the training data set at least including: the sales quantity of the terminal device in multiple sales cycles; using the training data set to train the initial seasonal model until the initial seasonal model converges to obtain model parameters of the seasonal model; determining the seasonal model based on the model parameters, and using the seasonal model to predict the sales quantity on the target date to obtain the sales quantity of the terminal device until the target date.
[0006] Optionally, the inventory quantity of the target level warehouse on the target date is determined based on the sales quantity before the target date, including: obtaining the initial inventory quantity of terminal devices in the target level warehouse and the inventory quantity within the target date from the terminal device inventory cloud map of the target level warehouse; determining the inventory quantity of the target level warehouse on the target date based on the initial inventory quantity, the inventory quantity within the target date and the sales quantity before the target date.
[0007] Optionally, generating an alarm message based on a comparison result between the difference and the alarm threshold includes: obtaining an initial alarm threshold, a first weight value and a second weight value, wherein the first weight value is used to represent the weight value corresponding to the time of listing of the terminal device, and the second weight value is used to represent the weight value corresponding to the storage frequency of the terminal device; determining the product of the initial alarm threshold, the first weight value and the second weight value as the alarm threshold; and determining to generate the alarm message when the comparison result indicates that the difference is less than the alarm threshold.
[0008] Optionally, the method also includes: when the terminal device is launched in a first time period in the sales cycle, determining that the first weight value is one; when the terminal device is launched in a first time period and before a second time period in the sales cycle, determining that the first weight value is less than one; when the terminal device is launched in the second time period, determining that the first weight value is greater than one, wherein the first time period is a normal sales season for the terminal device and the second time period is a peak sales season for the terminal device.
[0009] Optionally, the method also includes: obtaining the warehousing frequency of the terminal device; when the warehousing frequency is equal to a preset frequency, determining that the second weight value is one; when the warehousing frequency is not equal to the preset frequency, determining that the second weight value is inversely proportional to the warehousing frequency.
[0010] Optionally, after generating the alarm information, the method further includes: sending an inventory call request to an upper-level warehouse corresponding to the target-level warehouse, wherein the inventory call request is used to request the upper-level warehouse to transfer the terminal device.
[0011] According to another aspect of an embodiment of the present application, a terminal device inventory alarm device is also provided, including: an acquisition module, used to acquire a terminal device inventory cloud map of a target-level warehouse, wherein the inventory cloud map is used to represent the inventory information of the terminal device; a prediction module, used to use a pre-trained seasonal model to predict the sales quantity of the target-level warehouse on the target date, and obtain the sales quantity of the terminal device until the target date; a determination module, used to determine the inventory quantity of the target-level warehouse on the target date based on the sales quantity before the target date, and determine the difference between the sales quantity on the target date and the inventory quantity of the target-level warehouse on the target date; an alarm module, used to generate an alarm message based on a comparison result of the difference and the alarm threshold, wherein the alarm message is used to indicate whether the sales quantity on the target date reaches the alarm threshold.
[0012] According to another aspect of the embodiment of the present application, a computer device is also provided, including: a memory and a processor, wherein the memory is used to store program instructions; and the processor is connected to the memory and is used to execute the above-mentioned terminal device inventory alarm method.
[0013] According to another aspect of the embodiments of the present application, a non-volatile storage medium is provided, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned terminal device inventory alarm method by running the computer program.
[0014] According to another aspect of the embodiments of the present application, a computer program product is also provided, including computer instructions, which implement the above-mentioned terminal device inventory alarm method when executed by a processor.
[0015] In an embodiment of the present application, an inventory cloud map of terminal devices in a target-level warehouse is obtained, and the inventory cloud map is used to represent the inventory information of the terminal devices; a pre-trained seasonal model is used to predict the sales quantity of the target-level warehouse on the target date, and the sales quantity of the terminal device until the target date is obtained; the inventory quantity in the target-level warehouse on the target date is determined according to the sales quantity before the target date, and the difference between the sales quantity on the target date and the inventory quantity of the target-level warehouse on the target date is determined; an alarm message is generated according to a comparison result of the difference with the alarm threshold, and the alarm message is used to indicate whether the sales quantity on the target date reaches the alarm threshold, thereby achieving the purpose of predicting the inventory of the terminal device through the seasonal model, thereby realizing the technical effect of improving the prediction efficiency of the terminal device, and further solving the technical problem of low efficiency of terminal device warehousing inventory prediction in the related technology. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 It is a hardware structure block diagram of a computer terminal for implementing a terminal device inventory alarm method according to an embodiment of the present application;
[0018] Figure 2 is a flow chart of a terminal device inventory alarm method according to an embodiment of the present application;
[0019] Figure 3 It is a structural diagram of a terminal equipment inventory alarm device according to an embodiment of the present application. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0022] In order to solve the problems existing in the related art, the embodiment of the present application provides a terminal device inventory alarm method, which can be run on Figure 1 In the computer terminal shown, the computer terminal is explained below.
[0023] The terminal device inventory alarm method embodiment provided in the embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 The hardware structure block diagram of a computer terminal for implementing the terminal equipment inventory alarm method is shown. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission module 106 for communication functions connected via a wired and / or wireless network. In addition, it may also include: a display, a keyboard, a cursor control device, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, and a BUS bus. Those skilled in the art can understand that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0024] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0025] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the terminal device inventory alarm method in the embodiment of the present application. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the above-mentioned terminal device inventory alarm method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0026] The transmission module 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission module 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0027] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .
[0028] It should be noted that, in some optional embodiments, the above Figure 1 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 1 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.
[0029] In the above-mentioned operating environment, an embodiment of the present application provides an embodiment of a terminal device inventory alarm method. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0030] Figure 2 is a flow chart of a terminal device inventory alarm method according to an embodiment of the present application, such as Figure 2 As shown, the method comprises the following steps:
[0031] Step S202, obtaining a terminal device inventory cloud map of a target level warehouse, wherein the inventory cloud map is used to represent the inventory information of the terminal device;
[0032] In step S202, the target hierarchical warehouse is a warehouse at one of the multiple hierarchical warehouses, and the total inventory and supply priority of warehouses at different hierarchical levels are different.
[0033] It should be noted that the inventory cloud map of each level of warehouse can not only display the inventory quantity of terminal devices of different categories, but also display different categories of terminal devices, for example: classification by price, classification by performance of terminal devices, etc.
[0034] In actual application scenarios, you can log in to the cloud platform through different terminals to obtain inventory cloud maps.
[0035] Step S204, using a pre-trained seasonal model to predict the sales quantity of the warehouse at the target level on the target date, and obtaining the sales quantity of the terminal device up to the target date;
[0036] Step S206, determining the inventory quantity of the target level warehouse on the target date according to the sales quantity before the target date, and determining the difference between the sales quantity on the target date and the inventory quantity of the target level warehouse on the target date;
[0037] Step S208: generating warning information according to the comparison result between the difference and the warning threshold, wherein the warning information is used to indicate whether the sales quantity on the target date reaches the warning threshold.
[0038] Through the above steps S202 to S208, the terminal equipment inventory cloud map of the target level warehouse is obtained, and the inventory cloud map is used to represent the inventory information of the terminal equipment; the sales quantity of the target level warehouse on the target date is predicted by using the pre-trained seasonal model to obtain the sales quantity of the terminal equipment until the target date; the inventory quantity of the target level warehouse on the target date is determined according to the sales quantity before the target date, and the difference between the sales quantity on the target date and the inventory quantity of the target level warehouse on the target date is determined; the alarm information is generated according to the comparison result of the difference with the alarm threshold, and the alarm information is used to indicate whether the sales quantity on the target date reaches the alarm threshold, so as to achieve the purpose of predicting the inventory of the terminal equipment through the seasonal model, thereby realizing the technical effect of improving the prediction efficiency of the terminal equipment, and further solving the technical problem of low efficiency of terminal equipment storage inventory prediction in the related technology. The following is a detailed description.
[0039] In step S204, a pre-trained seasonal model is used to predict the sales quantity of the warehouse at the target level on the target date to obtain the sales quantity of the terminal device until the target date, including: obtaining a training data set, the training data set at least including: the sales quantity of the terminal device in multiple sales cycles; using the training data set to train the initial seasonal model until the initial seasonal model converges to obtain model parameters of the seasonal model; determining the seasonal model based on the model parameters, and using the seasonal model to predict the sales quantity on the target date to obtain the sales quantity of the terminal device until the target date.
[0040] In actual application scenarios, the preset forecasting model is trained based on quarterly sales, monthly sales and initial inventory quantity. The preset forecasting model includes but is not limited to the Holt-Winters model.
[0041] Specifically, the training data set is U = {x0, x1, ... x t} as an example, where x t represents the sales quantity in month t, and x0 represents the sales quantity in the initial month. For example, the training data set includes the sales quantity from January to September, and x0 is the sales quantity in January in the data set.
[0042] Determine the initial values of the model parameters, for example: the initial value of the horizontal component S0 = x0, the initial value of the trend component The initial value of the seasonal component is C0=1.
[0043] Where L represents the length of the seasonal cycle, x L+1 represents the sales quantity one day after the seasonal cycle, x L+2 represents the sales quantity 2 days after the seasonal cycle, xL represents the sales quantity after the seasonal cycle, x 2L The number of sales after twice the seasonal period.
[0044] The length of the seasonal cycle can be set according to the actual scenario, for example: 1 month or 1 year.
[0045] In an alternative approach, the horizontal component S t 、Trend component B t and seasonal component C t The calculation formula is as follows:
[0046] B t =β(S t -S t-1 )+(1-β)B t-1 ;
[0047]
[0048] Iterate according to the above calculation formula to determine the data smoothing factor α, trend smoothing factor β and seasonal change smoothing factor γ, C t-L represents the seasonal component of date tL, S t-1 represents the horizontal component with date t-1, B t-1 Represents the trend component at date t-1.
[0049] In an alternative approach, after time t,
[0050] F t+m =(S t +mB t )C t-L+1+(m-1)modL
[0051] Among them, F t+m Represents the sales quantity m steps after date t.
[0052] It should be noted that the step size can be set according to actual needs, for example: 1 day or 2 days.
[0053] In some embodiments of the present application, the inventory quantity of a target level warehouse on the target date is determined based on the sales quantity before the target date, including: obtaining the initial inventory quantity of terminal devices in the target level warehouse and the inventory quantity within the target date from the terminal device inventory cloud map of the target level warehouse; determining the inventory quantity of the target level warehouse on the target date based on the initial inventory quantity, the inventory quantity within the target date and the sales quantity before the target date.
[0054] For example: the initial inventory quantity of terminal devices in the target level warehouse is M, the inventory quantity before the target date is N, and the sales quantity before the target date is Q. Then the total inventory quantity of terminal devices in the target level warehouse on the target date is M+NQ.
[0055] Among them, generating alarm information according to the comparison result of the difference value and the alarm threshold value includes: obtaining an initial alarm threshold value, a first weight value and a second weight value, wherein the first weight value is used to represent the weight value corresponding to the time of listing of the terminal device, and the second weight value is used to represent the weight value corresponding to the storage frequency of the terminal device; determining the product of the initial alarm threshold value, the first weight value and the second weight value as the alarm threshold; and determining to generate the alarm information when the comparison result indicates that the difference value is less than the alarm threshold value.
[0056] In an optional manner, the first weight value can be determined in the following manner: when the terminal device is launched in a first time period in a sales cycle, the first weight value is determined to be one; when the terminal device is launched in a first time period and before a second time period in the sales cycle, the first weight value is determined to be less than one; when the terminal device is launched in a second time period, the first weight value is determined to be greater than one, wherein the first time period is a normal sales season for the terminal device and the second time period is a peak sales season for the terminal device.
[0057] It should be noted that the sales cycle is the length of time that a terminal device can be sold.
[0058] In an optional manner, the second weight value can be determined by: obtaining the warehousing frequency of the terminal device; when the warehousing frequency is equal to the preset frequency, determining that the second weight value is one; when the warehousing frequency is not equal to the preset frequency, determining that the second weight value is inversely proportional to the warehousing frequency.
[0059] In an optional method, taking the preset frequency as 2 and the warehousing frequency as 5 as an example, the second weight value is determined to be 1 / 5; taking the first weight value as 1, the second weight value as 1 / 5, and the initial alarm threshold as 50 as an example, the alarm threshold is 10.
[0060] It should be noted that the warehousing frequency indicates the number of times new terminal devices are put into storage within a preset period. For example, if the preset period is 5 days and the number of times new terminal devices are put into storage is 2, then the warehousing frequency is 2.
[0061] After generating the alarm information, the method further includes: sending an inventory call request to an upper-level warehouse corresponding to the target-level warehouse, wherein the inventory call request is used to request the upper-level warehouse to transfer the terminal device.
[0062] This application uses a cloud system to monitor the sales data of terminal devices in real time. Different monitoring platforms can dynamically view, adjust and edit the inventory cloud maps of warehouses at different levels. The cloud maps of products at different levels will display inventory data information of different categories, different brands of the same category, etc. By using a combined prediction model, the inventory situation of terminal devices can be predicted as a whole, thereby improving the efficiency of warehouse inventory management.
[0063] Figure 3 is a structural diagram of a terminal equipment inventory alarm device according to an embodiment of the present application, such as Figure 3 As shown, the device comprises:
[0064] An acquisition module 30 is used to acquire a terminal device inventory cloud map of a target level warehouse, where the inventory cloud map is used to represent the inventory information of the terminal device;
[0065] A prediction module 32, configured to use a pre-trained seasonal model to predict the sales quantity of a warehouse at a target level on a target date, and obtain the sales quantity of the terminal device until the target date;
[0066] A determination module 34, configured to determine the inventory quantity of the target level warehouse on the target date according to the sales quantity before the target date, and determine the difference between the sales quantity on the target date and the inventory quantity of the target level warehouse on the target date;
[0067] The alarm module 36 is used to generate alarm information according to the comparison result between the difference and the alarm threshold, and the alarm information is used to indicate whether the sales volume on the target date reaches the alarm threshold.
[0068] Through the above-mentioned terminal equipment inventory alarm device, by obtaining the terminal equipment inventory cloud map of the target level warehouse, the inventory cloud map is used to represent the inventory information of the terminal equipment; using the pre-trained seasonal model to predict the sales quantity of the target level warehouse on the target date, the sales quantity of the terminal equipment until the target date is obtained; according to the sales quantity before the target date, the inventory quantity in the target level warehouse on the target date is determined, and the difference between the sales quantity on the target date and the inventory quantity of the target level warehouse on the target date is determined; according to the comparison result of the difference and the alarm threshold, an alarm message is generated, and the alarm message is used to indicate whether the sales quantity on the target date reaches the alarm threshold, thereby achieving the purpose of predicting the inventory of the terminal equipment through the seasonal model, thereby realizing the technical effect of improving the prediction efficiency of the terminal equipment, and then solving the technical problem of low efficiency of terminal equipment warehousing inventory prediction in the related technology.
[0069] The prediction module 32 in the above-mentioned terminal equipment inventory alarm device includes: a prediction submodule, which is used to use a pre-trained seasonal model to predict the sales quantity of the warehouse at the target level on the target date, and obtain the sales quantity of the terminal equipment until the target date, including: obtaining a training data set, and the training data set at least includes: the sales quantity of the terminal equipment in multiple sales cycles; using the training data set to train the initial seasonal model until the initial seasonal model converges to obtain the model parameters of the seasonal model; determining the seasonal model based on the model parameters, and using the seasonal model to predict the sales quantity on the target date, and obtaining the sales quantity of the terminal equipment until the target date.
[0070] The prediction submodule includes: a determination unit, which is used to determine the inventory quantity of the target level warehouse on the target date based on the sales quantity before the target date, including: obtaining the initial inventory quantity of the terminal equipment in the target level warehouse and the inventory quantity within the target date from the terminal equipment inventory cloud map of the target level warehouse; determining the inventory quantity of the target level warehouse on the target date based on the initial inventory quantity, the inventory quantity within the target date and the sales quantity before the target date.
[0071] The alarm module 36 includes: a generation submodule, which is used to generate alarm information based on the comparison result of the difference and the alarm threshold, including: obtaining an initial alarm threshold, a first weight value and a second weight value, wherein the first weight value is used to represent the weight value corresponding to the time of listing of the terminal device, and the second weight value is used to represent the weight value corresponding to the storage frequency of the terminal device; determining the product of the initial alarm threshold, the first weight value and the second weight value as the alarm threshold; when the comparison result indicates that the difference is less than the alarm threshold, determining to generate the alarm information.
[0072] The generation submodule includes: a first weight unit, a second weight unit and an input unit, wherein the first weight unit is used to determine that the first weight value is one when the terminal device is launched in the first time period of the sales cycle; determine that the first weight value is less than one when the terminal device is launched after the first time period and before the second time period of the sales cycle; and determine that the first weight value is greater than one when the terminal device is launched in the second time period, wherein the first time period is the normal sales season of the terminal device and the second time period is the peak sales season of the terminal device.
[0073] The second weight unit is used to obtain the storage frequency of the terminal device; when the storage frequency is equal to the preset frequency, determine that the second weight value is one; when the storage frequency is not equal to the preset frequency, determine that the second weight value is inversely proportional to the storage frequency.
[0074] The transfer-in unit is used to send an inventory call request to the upper-level warehouse corresponding to the target-level warehouse after generating the alarm information, and the inventory call request is used to request the upper-level warehouse to transfer the terminal device.
[0075] It should be noted that Figure 3 The terminal equipment inventory alarm device shown is used to perform Figure 2 The terminal device inventory alarm method shown, therefore the relevant explanations in the above-mentioned terminal device inventory alarm method are also applicable to the terminal device inventory alarm device, and will not be repeated here.
[0076] An embodiment of the present application also provides a computer device, including: a memory and a processor, wherein the memory is used to store program instructions; and the processor is connected to the memory and is used to execute the above-mentioned terminal device inventory alarm method.
[0077] The terminal device inventory alarm method executed by the above-mentioned computer device obtains a terminal device inventory cloud map of a target-level warehouse, wherein the inventory cloud map is used to represent the inventory information of the terminal device; a pre-trained seasonal model is used to predict the sales quantity of the target-level warehouse on the target date, and the sales quantity of the terminal device until the target date is obtained; the inventory quantity of the target-level warehouse on the target date is determined according to the sales quantity before the target date, and the difference between the sales quantity on the target date and the inventory quantity of the target-level warehouse on the target date is determined; an alarm message is generated according to a comparison result of the difference with the alarm threshold, and the alarm message is used to indicate whether the sales quantity on the target date reaches the alarm threshold, thereby achieving the purpose of predicting the inventory of the terminal device through the seasonal model, thereby realizing the technical effect of improving the prediction efficiency of the terminal device, and further solving the technical problem of low efficiency of terminal device warehousing inventory prediction in the related technology.
[0078] An embodiment of the present application further provides a non-volatile storage medium, which includes a stored computer program, wherein the device where the non-volatile storage medium is located executes the above-mentioned terminal device inventory alarm method by running the computer program.
[0079] An embodiment of the present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the terminal device inventory alarm method in the present application are implemented.
[0080] An embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the terminal device inventory alarm method in the present application.
[0081] The embodiment of the present application also provides a computer program, which, when executed by a processor, implements the steps of the terminal device inventory alarm method in the present application.
[0082] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0083] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0084] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0086] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.
[0088] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A terminal equipment inventory alarm method, characterized in that: include: Obtaining a terminal device inventory cloud map of a target level warehouse, wherein the inventory cloud map is used to represent the inventory information of the terminal device; Predicting the sales quantity of the warehouse at the target level on the target date using a pre-trained seasonal model to obtain the sales quantity of the terminal device until the target date; Determine the inventory quantity of the target level warehouse on the target date based on the sales quantity before the target date, and determine the difference between the sales quantity on the target date and the inventory quantity of the target level warehouse on the target date; Alarm information is generated according to a comparison result between the difference and the alarm threshold, and the alarm information is used to indicate whether the sales quantity on the target date reaches the alarm threshold.
2. The method according to claim 1, characterized in that: The pre-trained seasonal model is used to predict the sales quantity of the warehouse at the target level on the target date, and the sales quantity of the terminal device until the target date is obtained, including: Acquire a training data set, the training data set at least including: the sales quantity of the terminal device in multiple sales cycles; The initial seasonal model is trained using the training data set until the initial seasonal model converges to obtain model parameters of the seasonal model; The seasonal model is determined based on the model parameters, and the sales quantity on the target date is predicted using the seasonal model to obtain the sales quantity of the terminal device until the target date.
3. The method according to claim 2, characterized in that Determine the inventory quantity of the target-level warehouse on the target date based on the sales quantity before the target date, including: Obtaining the initial inventory quantity of the terminal devices in the target-level warehouse and the inventory quantity within the target date from the terminal device inventory cloud map of the target-level warehouse; The inventory quantity of the target-level warehouse on the target date is determined according to the initial inventory quantity, the inventory quantity within the target date, and the sales quantity before the target date.
4. The method according to claim 1, characterized in that: Generating alarm information according to a comparison result between the difference and the alarm threshold, including: Obtaining an initial alarm threshold, a first weight value, and a second weight value, wherein the first weight value is used to represent a weight value corresponding to the time when the terminal device is launched on the market, and the second weight value is used to represent a weight value corresponding to the storage frequency of the terminal device; Determine the product of the initial alarm threshold, the first weight value and the second weight value as the alarm threshold; When the comparison result indicates that the difference is less than the alarm threshold, it is determined to generate the alarm information.
5. The method according to claim 4, characterized in that The method further comprises: In the case where the terminal device is launched at a first time period in a sales cycle, determining the first weight value to be one; In a case where the terminal device is launched on the market at a time after the first period and before a second period in the sales cycle, determining that the first weight value is less than one; In the case that the terminal device is launched into the market in the second time period, it is determined that the first weight value is greater than one, wherein the first time period is a normal sales season for the terminal device and the second time period is a peak sales season for the terminal device.
6. The method according to claim 4, characterized in that The method further comprises: Obtaining the storage frequency of the terminal device; When the warehousing frequency is equal to the preset frequency, determining the second weight value to be one; When the warehousing frequency is not equal to the preset frequency, it is determined that the second weight value is in inverse proportion to the warehousing frequency.
7. The method according to claim 4, characterized in that After generating the warning information, the method further includes: An inventory call request is sent to the upper-level warehouse corresponding to the target-level warehouse, and the inventory call request is used to request the upper-level warehouse to transfer the terminal device.
8. A terminal equipment inventory alarm device, characterized in that: include: An acquisition module, used to acquire a terminal device inventory cloud map of a target level warehouse, wherein the inventory cloud map is used to represent the inventory information of the terminal device; A prediction module, used to predict the sales quantity of the warehouse at the target level on the target date by using a pre-trained seasonal model, and obtain the sales quantity of the terminal device until the target date; A determination module, configured to determine the inventory quantity of the target level warehouse on the target date according to the sales quantity before the target date, and determine the difference between the sales quantity on the target date and the inventory quantity of the target level warehouse on the target date; An alarm module is used to generate alarm information according to the comparison result between the difference and the alarm threshold, wherein the alarm information is used to indicate whether the sales quantity on the target date reaches the alarm threshold.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory is used to store program instructions; The processor is connected to the memory and is used to execute the terminal device inventory alarm method described in any one of claims 1 to 7.
10. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the terminal device inventory alarm method described in any one of claims 1 to 7 is implemented.