Inventory allocation method and device

By obtaining the incoming information in the financial system and performing preset allocation operations, the problem of difficult to achieve the balance logic in multi-channel inventory allocation is solved, the post-compensation mechanism is avoided, the inventory allocation business is simplified, and the incoming and incoming is ensured. The balance between differences and acceptance.

CN113627856BActive Publication Date: 2025-01-14BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110946783.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-18
Publication Date
2025-01-14
Estimated Expiration
2041-08-18

AI Technical Summary

Technical Problem

In the implementation of inventory balance logic in the financial system, it is difficult to maintain the balance between inclusion, inclusion differences and inclusion acceptance in multiple channels. Post-compulsive compensation mechanisms are often required, resulting in an increase in business complexity.

Method used

By obtaining the inventory information of the target items, performing preset allocation operations to keep the allocation values ​​on the left and right sides of each channel consistent, avoiding the use of a post-compulsory compensation mechanism, and achieving balanced allocation of inventory.

Benefits of technology

The post-compensation mechanism is avoided in multi-channel inventory allocation, which reduces the business complexity of inventory allocation, and realizes the inventory balance logic, ensuring procurement + inventory difference = inventory acceptance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113627856B_ABST
    Figure CN113627856B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for inventory allocation, which relates to the field of warehouse management technology. A specific implementation of the method includes: obtaining first warehousing information of a target item, performing a preset allocation operation on the first warehousing information, and performing inventory allocation on the target item. This implementation helps to avoid the use of a post-compensation mechanism under multi-channel inventory allocation conditions and reduce the complexity of inventory allocation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, specifically to the field of warehouse management technology, and in particular to a method and device for inventory allocation. Background Art

[0002] Generally, in the financial system, the inventory of multiple dimensions in multiple scenarios of the same document needs to maintain a balanced logic, for example: purchase order dimension purchase entry + entry difference = entry acceptance. At the same time, the drill-down dimension scenario also needs to maintain this balanced logic, for example: channel A dimension purchase entry + entry difference = entry acceptance; channel B dimension purchase entry + entry difference = entry acceptance.

[0003] In the prior art, a post-account reconciliation adjustment and compensation mechanism is often used in system application development to satisfy the balance relationship of the drill-down dimension. Summary of the invention

[0004] Embodiments of the present application provide an inventory allocation method, apparatus, device, and storage medium.

[0005] According to the first aspect, an embodiment of the present application provides an inventory allocation method, the method comprising: obtaining first warehousing information of a target item, the first warehousing information being warehousing data or warehousing acceptance data, the warehousing data being purchasing data or warehousing difference data; performing a preset allocation operation on the first warehousing information to perform inventory allocation on the target item, wherein the allocation operation is used to make the left-side allocation value and the right-side allocation value corresponding to each channel of the target item continue to remain consistent, the left-side allocation value is used to indicate the sum of the value of the purchasing data, the value of the warehousing difference data and the left-side counterweight, and the right-side allocation value is used to indicate the sum of the value of the warehousing acceptance data and the right-side counterweight.

[0006] According to the second aspect, an embodiment of the present application provides an inventory allocation device, which includes: an acquisition module, configured to acquire first warehousing information of a target item, the first warehousing information being warehousing data or warehousing acceptance data, the warehousing data being purchase data or warehousing difference data; an allocation module, configured to perform a preset allocation operation on the first warehousing information to perform inventory allocation on the target item, wherein the allocation operation is used to keep the left-side allocation value and the right-side allocation value corresponding to each channel of the target item consistent, the left-side allocation value is used to indicate the sum of the value of the purchase data, the value of the warehousing difference data and the left-side counterweight, and the right-side allocation value is used to indicate the sum of the value of the warehousing acceptance data and the right-side counterweight.

[0007] According to the third aspect, an embodiment of the present application provides an electronic device, which includes 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 inventory allocation method as any embodiment of the first aspect.

[0008] According to a fourth aspect, an embodiment of the present application provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the inventory allocation method of any embodiment of the first aspect.

[0009] The present application obtains the first warehousing information of the target item; executes a preset allocation operation on the first warehousing information to allocate inventory for the target item, which helps to achieve the balance logic of each channel in the inventory allocation process of the target item, that is, purchase warehousing + warehousing difference = warehousing acceptance, avoids the use of a post-compensation mechanism, and reduces the business complexity of inventory allocation.

[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0012] Figure 2 is a flow chart of an embodiment of a method for allocating inventory according to the present application;

[0013] Figure 3 is a schematic diagram of an application scenario of the inventory allocation method according to the present application;

[0014] Figure 4 is a flow chart of another embodiment of the inventory allocation method according to the present application;

[0015] Figure 5 is a schematic diagram of an embodiment of a stock dispensing device according to the present application;

[0016] Figure 6 It is a structural diagram of a computer system suitable for implementing a server of an embodiment of the present application. DETAILED DESCRIPTION

[0017] The following is a description of exemplary embodiments of the present application in conjunction with the accompanying drawings, including various details of the embodiments of the present application to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0018] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0019] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the inventory allocation method of the present application may be applied.

[0020] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0021] The terminal devices 101, 102, 103 interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications may be installed on the terminal devices 101, 102, 103, such as ERP (Enterprise Resource Planning) applications, communication applications, etc.

[0022] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens, including but not limited to mobile phones and laptops. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules (for example, to provide inventory allocation services), or they can be implemented as a single software or software module. No specific limitation is made here.

[0023] The server 105 may be a server that provides various services, for example, obtaining first warehousing information of a target item; performing a preset allocation operation on the first warehousing information to perform inventory allocation on the target item.

[0024] It should be noted that the server 105 can be hardware or software. When the server 105 is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, for providing inventory allocation services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0025] It should be noted that the inventory allocation method provided in the embodiment of the present disclosure can be executed by the server 105, or by the terminal devices 101, 102, 103, or by the server 105 and the terminal devices 101, 102, 103 cooperating with each other. Accordingly, the various parts (such as various units, sub-units, modules, sub-modules) included in the information reminder device can be all set in the server 105, or all set in the terminal devices 101, 102, 103, or respectively set in the server 105 and the terminal devices 101, 102, 103. It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.

[0026] Figure 2 A flowchart 200 of a stock allocation method applicable to the present application is shown. In this embodiment, the stock allocation method includes the following steps:

[0027] Step 201, obtaining first warehousing information of a target item.

[0028] In this embodiment, the execution subject (such as Figure 1 The server 105 or terminal devices 101, 102, 103 shown in the figure can obtain the first warehousing information of the target item in a wired or wireless manner, wherein the first warehousing information can be warehousing data or warehousing acceptance data, and the warehousing data can be procurement data or warehousing difference data.

[0029] The target item may be any item to be allocated for storage, and this application does not limit this.

[0030] Here, the wireless connection method may include but is not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.

[0031] Step 202: Execute a preset allocation operation on the first warehousing information to allocate inventory for the target item.

[0032] In this embodiment, after acquiring the first warehousing information, the execution subject may execute a preset allocation operation according to the data category indicated by the first warehousing information to perform inventory allocation on the target item.

[0033] Among them, the allocation operation is used to make the left allocation value and the right allocation value corresponding to the target item in each channel continue to remain consistent, that is, the sum of the value of the procurement data, the value of the incoming difference data and the left weight and the sum of the value of the incoming acceptance data and the right weight continue to be consistent, that is, before executing the allocation operation, the left allocation data and the right allocation value are consistent.

[0034] Here, channel division can be determined based on business scenarios, business needs, etc., and this application does not limit this.

[0035] Specifically, the first warehousing information obtained by the executing entity is purchase data, for example, 8. The executing entity can allocate the purchase data to two channels according to a preset ratio or randomly. The allocated purchase data corresponding to each channel is 4. For each channel, the executing entity can correct the purchase data, left counterweight and right counterweight corresponding to the channel so that the value of the purchase data corresponding to the channel, the value of the warehousing difference data and the sum of the left counterweight continue to remain consistent with the value of the warehousing acceptance data and the sum of the right counterweight.

[0036] It should be pointed out that the initial values ​​of the procurement data corresponding to each channel, the initial values ​​of the inventory difference data, the initial values ​​of the left counterweight, the initial values ​​of the inventory acceptance data, and the initial values ​​of the right counterweight are all 0.

[0037] Continue to see Figure 3 , Figure 3 It is a schematic diagram of an application scenario of the inventory allocation method according to this embodiment.

[0038] exist Figure 3In the application scenario, the execution subject 301 obtains the first warehousing information 302 of the target item, for example, the first warehousing information is the warehousing acceptance data, and the value is 9. The execution subject performs a preset allocation operation 303 on the first warehousing information, (before the allocation operation is performed, the left allocation value of each channel is consistent with the right allocation value, such as channel M: purchase data 5+warehousing difference data 1+left side weight 0=warehousing acceptance data 6+right side weight 0, channel N: purchase data 1+warehousing difference data 0+left side weight 0=warehousing acceptance data 1+right side weight 0) For example, the execution subject randomly allocates the first warehousing information to channel M and channel N. For channel M, the warehousing acceptance data allocated to the channel is 9, and for channel N, the warehousing acceptance data allocated to the channel is 0. For channel M, the execution subject can directly correct the current left side weight 0 of the channel to 9, that is, 0+9, and correct the warehousing acceptance data 6 before allocation to 15, that is, 6+9, so as to allocate inventory for the target item. After executing the allocation operation, the result 304 after allocation to each channel is obtained, that is, for channel M: purchase data 5 + incoming inventory difference data 1 + left side weight 9 = incoming inventory acceptance data 15 + right side weight 0, that is, the left side allocation value and the right side allocation value of the channel continue to be consistent, for channel N, since the incoming inventory acceptance data allocated to the channel is 0, the left side allocation value and the right side allocation value of the channel continue to be consistent, that is, channel N: purchase data 1 + incoming inventory difference data 0 + left side weight 0 = incoming inventory acceptance data 1 + right side weight 0.

[0039] The inventory allocation method disclosed herein obtains the first warehousing information of the target item and performs a preset allocation operation on the first warehousing information to allocate inventory to the target item, which helps to avoid the use of a post-compensation mechanism under multi-channel inventory allocation conditions and reduce the complexity of inventory allocation.

[0040] Further references Figure 4 , which shows Figure 2 The process 400 of an embodiment of performing a preset allocation operation on the first warehousing information in the inventory allocation method embodiment shown in the figure. In this embodiment, the process 400 of performing the preset allocation operation may include the following steps:

[0041] Step 401: distribute the first incoming information to each channel of at least two channels according to a preset ratio to obtain the second incoming information corresponding to each channel.

[0042] In this embodiment, after acquiring the first storage-in information, the execution entity distributes the first storage-in information to each channel of at least two channels according to a preset ratio to obtain the second storage-in information corresponding to each channel.

[0043] Among them, the preset ratio can be determined based on the sales data, demand data, priority information, etc. corresponding to each channel, and this application does not limit this.

[0044] Step 402, for each channel, in response to determining that the second incoming information allocated to the channel is the incoming data, and the value of the second incoming information of the channel is less than or equal to the current left-side weight of the channel, the incoming data before allocation to the channel and the current left-side weight are corrected based on the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to be consistent.

[0045] In this embodiment, for each channel, after the execution entity determines that the second incoming information allocated to the channel is the incoming data (purchase data or incoming difference data), the value of the second incoming information of the channel is compared with the current left-side weight of the channel. If the value of the second incoming information of the channel is less than or equal to the current left-side weight of the channel, the incoming data before the channel allocation can be incremented by the value of the second incoming information of the channel, and the current left-side weight can be decremented by the value of the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to be consistent.

[0046] Specifically, the first incoming information is incoming data, for example, purchase data, with a value of 9. The execution entity allocates the first incoming information to channel A and channel B according to a preset ratio, for example, 2:1, wherein for channel A, the value of the second incoming information allocated to the channel is 6, that is, the value of the purchase data is 6, and for channel B, the value of the second incoming information allocated to the channel is 3, that is, the value of the purchase data is 3. For each channel, for example, channel A, if the value of the purchase data of the channel is 6, which is less than or equal to the current left-side counterweight of the channel, for example, 8, the incoming data of the channel before allocation, that is, the purchase data before allocation, for example, the value of 3, can be corrected to 9, that is, 3+6, and the current left-side counterweight of the channel can be corrected to 2, that is, 8-6.

[0047] In some optional embodiments, the preset allocation operation also includes: in response to determining that the second incoming information allocated to the channel is the incoming data, and the value of the second incoming information of the channel is greater than the current left weight of the channel, based on the second incoming information of the channel, the incoming data before allocation to the channel, the current left weight and the current right weight are corrected so that the left allocation value and the right allocation value corresponding to the channel of the target item continue to remain consistent.

[0048] In the present implementation, for each channel, after the executing entity determines that the second incoming information assigned to the channel is the incoming data, it compares the value of the second incoming information of the channel with the current left-side counterweight of the channel. If the value of the second incoming information of the channel is greater than the current left-side counterweight of the channel, the incoming data before the channel allocation can be incremented by the value of the second incoming information of the channel, and the current right-side counterweight can be incremented by the difference between the value of the second incoming information of the channel and the current left-side counterweight, and the current left-side counterweight can be corrected to zero, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to be consistent.

[0049] Specifically, the first warehousing information is warehousing data, for example, warehousing difference data, with a value of 9. The execution entity allocates the first warehousing information to channel A and channel B according to a preset ratio, for example, 2:1, wherein for channel A, the value of the second warehousing information allocated to the channel is 6, that is, the value of the warehousing difference data is 6, and for channel B, the value of the second warehousing information allocated to the channel is 3, that is, the value of the warehousing difference data is 3. For each channel, for example, channel A, if the value 6 of the warehousing difference data is greater than the current left-side weight of the channel, for example, 3, and the current right-side weight of the channel is 0, then the warehousing data before allocation of the channel, that is, the warehousing difference data before allocation, for example, the value of 0, can be corrected to 6, that is, 0+6, and the current right-side weight of the channel can be corrected to 3, that is, 0+(6-3), and the current left-side weight of the channel can be corrected to 0.

[0050] This implementation method helps to ensure that when the value of the second incoming inventory information allocated to each channel according to a preset ratio is greater than the current left-side weight of the channel, the left-side allocation value corresponding to the channel continues to be consistent with the right-side allocation value, effectively improving the effectiveness of multi-channel inventory allocation, while avoiding the use of a post-compensation mechanism and reducing the business complexity of multi-channel inventory allocation.

[0051] In some optional embodiments, the preset allocation operation also includes: in response to determining that the second incoming information allocated to the channel is incoming acceptance data, and the value of the second incoming information of the channel is less than or equal to the current right-side weight of the channel, based on the second incoming information of the channel, the incoming acceptance data and the current right-side weight of the channel before allocation are corrected, so that the left-side allocation value and the right-side allocation value corresponding to the target item in the channel continue to remain consistent.

[0052] In this embodiment, for each channel, after the execution entity determines that the second incoming information assigned to the channel is the incoming acceptance data, it compares the value of the second incoming information of the channel with the current right-side weight of the channel. If the value of the second incoming information of the channel is less than or equal to the current right-side weight of the channel, the incoming acceptance data before the channel allocation can be incremented by the value of the second incoming information of the channel, and the current right-side weight can be decremented by the value of the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to be consistent.

[0053] Specifically, the first warehousing information is the warehousing acceptance data, and its value is 9. The execution entity distributes the first warehousing information to channel C and channel D according to a preset ratio, for example, 2:1, wherein for channel C, the value of the second warehousing information distributed to the channel is 6, and for channel D, the value of the second warehousing information distributed to the channel is 3. For each channel, for example, channel C, if the value of the warehousing acceptance data of the channel, 6, is less than or equal to the current right-side counterweight of the channel, for example, 8, the warehousing acceptance data before the channel is distributed, for example, the value of 3, can be corrected to 9, that is, 3+6, and the current right-side counterweight of the channel can be corrected to 2, that is, 8-6.

[0054] This implementation method helps to ensure that when the value of the second incoming inventory information allocated to each channel according to a preset ratio is less than or equal to the current right-side weight of the channel, the left-side allocation value corresponding to the channel continues to be consistent with the right-side allocation value, thereby improving the effectiveness of multi-channel inventory allocation, while avoiding the use of a post-compensation mechanism and reducing the business complexity of multi-channel inventory allocation.

[0055] In some optional embodiments, the preset allocation operation also includes: in response to determining that the second incoming information allocated to the channel is the incoming acceptance data, and the value of the second incoming information of the channel is greater than the current right-side weight of the channel, based on the second incoming information of the channel, the incoming acceptance data, the current right-side weight and the current left-side weight of the channel before allocation are corrected, so that the left-side allocation value and the right-side allocation value corresponding to the target item in the channel continue to be consistent.

[0056] In this implementation method, for each channel, after the execution entity determines that the second incoming information assigned to the channel is the incoming acceptance data, it compares the value of the second incoming information of the channel with the current right-side weight of the channel. If the value of the second incoming information of the channel is greater than the current right-side weight of the channel, the incoming acceptance data before the channel allocation can be incremented by the value of the second incoming information of the channel, and the current left-side weight can be incremented by the difference between the value of the second incoming information of the channel and the current right-side weight, and the current right-side weight can be corrected to zero, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to be consistent.

[0057] Specifically, the first warehousing information is the warehousing acceptance data, and its value is 9. The execution entity distributes the first warehousing information to channel C and channel D according to a preset ratio, for example, 2:1, wherein for channel C, the value of the second warehousing information distributed to the channel is 6, that is, the value of the warehousing acceptance data is 6, and for channel D, the value of the second warehousing information distributed to the channel is 3, that is, the value of the warehousing difference data is 3. For each channel, for example, channel C, if the value of the warehousing acceptance data 6 is greater than the current right-side weight of the channel, for example, 3, and the current left-side weight of the channel is 0, then the warehousing acceptance data before the channel is distributed, for example, the value of 0, can be corrected to 6, that is, 0+6, and the current left-side weight of the channel can be corrected to 3, that is, 0+(6-3), and the current right-side weight of the channel can be corrected to 0.

[0058] This implementation method helps to ensure that when the value of the second incoming inventory information allocated to each channel according to a preset ratio is greater than the current right-side weight of the channel, the left-side allocation value corresponding to the channel continues to be consistent with the right-side allocation value, thereby improving the effectiveness of multi-channel inventory allocation, while avoiding the use of a post-compensation mechanism and reducing the business complexity of multi-channel inventory allocation.

[0059] In some optional methods, the preset allocation operation also includes: in response to determining that there is surplus data after the first warehousing information is allocated according to the preset ratio, updating the first warehousing information to the surplus data to obtain updated first warehousing information; based on the updated first warehousing information, continuing to execute the preset allocation operation.

[0060] In this implementation, after the execution entity allocates the first warehousing information according to the preset ratio, if there is surplus data, the first warehousing information is updated to the surplus data, and after the allocation to each channel is completed, the preset allocation operation is continued according to the updated first warehousing information.

[0061] Specifically, the first warehousing information is the warehousing acceptance data, and its value is 6. The executing entity allocates the first warehousing information to channel E and channel F according to a preset ratio, for example, 3:2. After allocation, the remaining data is 1. The executing entity can update the first warehousing information to the remaining data, obtain the updated first warehousing information, and continue to execute the preset allocation operation.

[0062] This implementation method updates the first warehousing information to the balance data in response to determining that there is balance data after the first warehousing information is allocated according to the preset ratio, so as to obtain updated first warehousing information; based on the updated first warehousing information, the preset allocation operation is continued to be performed to allocate inventory for the target items, thereby achieving the effectiveness of allocating the first warehousing information according to the preset ratio, and thereby improving the effectiveness of multi-channel inventory allocation.

[0063] The above embodiments of the present application mainly describe Figure 2 The preset allocation operation execution steps in the inventory allocation method embodiment shown in FIG. Here, the preset allocation operation is used to Figure 2 The first warehousing information in the channel is allocated to perform inventory allocation for the target item. This embodiment helps to achieve that when the value of the second warehousing information allocated to each channel according to a preset ratio is less than or equal to the current left-side weight of the channel, the left-side allocation value corresponding to the channel continues to be consistent with the right-side allocation value, which helps to improve the effectiveness of multi-channel inventory allocation, while avoiding the use of a post-compensation mechanism and reducing the business complexity of multi-channel inventory allocation.

[0064] Further references Figure 5 As an implementation of the methods shown in the above figures, the present application provides an embodiment of a stock allocation device, which is similar to Figure 1 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0065] like Figure 5 As shown, the inventory allocation device 500 of this embodiment includes: an acquisition module 501 and an allocation module 502 .

[0066] The acquisition module 501 may be configured to acquire first warehousing information of the target item.

[0067] The allocation module 502 may be configured to execute a preset allocation operation on the first warehousing information to perform inventory allocation on the target item.

[0068] In some optional methods of the present embodiment, the preset allocation operation includes: allocating the first incoming information to each of at least two channels according to a preset ratio to obtain the second incoming information corresponding to each channel; for each channel, in response to determining that the second incoming information allocated to the channel is the incoming data, and the value of the second incoming information of the channel is less than or equal to the current left-side weight of the channel, based on the second incoming information of the channel, correcting the incoming data and the current left-side weight of the channel before allocation, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to be consistent.

[0069] In some optional methods of the present embodiment, the preset allocation operation also includes: in response to determining that the second incoming information allocated to the channel is the incoming data, and the value of the second incoming information of the channel is greater than the current left side weight of the channel, based on the second incoming information of the channel, the incoming data before allocation to the channel, the current left side weight and the current right side weight are corrected so that the left side allocation value and the right side allocation value corresponding to the target item in the channel continue to remain consistent.

[0070] In some optional methods of the present embodiment, the preset allocation operation also includes: in response to determining that the second incoming information allocated to the channel is the incoming acceptance data, and the value of the second incoming information of the channel is less than or equal to the current right-side weight of the channel, based on the second incoming information of the channel, the incoming acceptance data and the current right-side weight of the channel before allocation are corrected, so that the left-side allocation value and the right-side allocation value corresponding to the target item in the channel continue to remain consistent.

[0071] In some optional methods of the present embodiment, the preset allocation operation also includes: in response to determining that the second incoming information allocated to the channel is the incoming acceptance data, and the value of the second incoming information of the channel is greater than the current right-side weight of the channel, based on the second incoming information of the channel, the incoming acceptance data before the channel allocation, the current right-side weight and the current left-side weight are corrected, so that the left-side allocation value and the right-side allocation value corresponding to the target item in the channel continue to be consistent.

[0072] In some optional methods of this embodiment, the preset allocation operation also includes: in response to determining that there is balance data after the first warehousing information is allocated according to a preset ratio, updating the first warehousing information to the balance data to obtain updated first warehousing information; based on the updated first warehousing information, continuing to execute the preset allocation operation.

[0073] According to an embodiment of the present application, the present application also provides an electronic device and a readable storage medium.

[0074] like Figure 6, is a block diagram of an electronic device according to the inventory allocation method according to an embodiment of the present application.

[0075] 600 is a block diagram of an electronic device according to an inventory allocation method according to an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0076] like Figure 6 As shown, the electronic device includes: one or more processors 601, a memory 602, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and can be installed on a common mainboard or installed in other ways as needed. The processor can process instructions executed in the electronic device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In other embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple electronic devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 601 is taken as an example.

[0077] The memory 602 is a non-transitory computer-readable storage medium provided in the present application. The memory stores instructions executable by at least one processor to enable the at least one processor to perform the inventory allocation method provided in the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions, which are used to enable a computer to perform the inventory allocation method provided in the present application.

[0078] The memory 602 is a non-transitory computer-readable storage medium that can be used to store non-transitory software programs, non-transitory computer executable programs and modules, such as program instructions / modules corresponding to the inventory allocation method in the embodiment of the present application (for example, the attached Figure 5 The processor 601 executes various functional applications and data processing of the server by running the non-transient software programs, instructions and modules stored in the memory 602, that is, the inventory allocation method in the above method embodiment is implemented.

[0079] The memory 602 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created by the use of the electronic device allocated by the inventory, etc. In addition, the memory 602 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory 602 may optionally include a memory remotely arranged relative to the processor 601, and these remote memories may be connected to the electronic device allocated by the inventory 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.

[0080] The electronic device of the inventory allocation method may further include: an input device 603 and an output device 604. The processor 601, the memory 602, the input device 603 and the output device 604 may be connected via a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0081] The input device 603 can receive input digital or character information, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a track ball, a joystick, and other input devices. The output device 604 may include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The display device may include, but is not limited to, a liquid crystal display (LCD), a light emitting diode (LED) display, and a plasma display. In some embodiments, the display device may be a touch screen.

[0082] Various implementations of the systems and techniques described herein can be realized in digital electronic circuit systems, integrated circuit systems, dedicated ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0083] These computer programs (also referred to as programs, software, software applications, or code) include machine instructions for programmable processors and can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or means (e.g., disk, optical disk, memory, programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.

[0084] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0085] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by 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), and the Internet.

[0086] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

[0087] The technical solution according to the embodiment of the present application helps to avoid the use of a post-compensation mechanism under multi-channel inventory allocation conditions and reduce the complexity of inventory allocation.

[0088] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0089] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A method for allocating inventory, the method comprising: Acquire first warehousing information of the target item, where the first warehousing information is warehousing data or warehousing acceptance data, and the warehousing data is purchase data or warehousing difference data; A preset allocation operation is performed on the first warehousing information to allocate inventory for the target item, and the preset allocation operation includes: allocating the first warehousing information to each of at least two channels according to a preset ratio to obtain second warehousing information corresponding to each channel, and performing an allocation operation on each channel; in response to determining that there is surplus data after allocating the first warehousing information according to the preset ratio, the first warehousing information is updated to the surplus data to obtain updated first warehousing information; based on the updated first warehousing information, the preset allocation operation is continued to be performed, wherein the allocation operation is used to make the left-side allocation value and the right-side allocation value corresponding to each channel of the target item continue to remain consistent, the left-side allocation value is used to indicate the sum of the value of the procurement data, the value of the warehousing difference data and the left-side counterweight, and the right-side allocation value is used to indicate the sum of the value of the warehousing acceptance data and the right-side counterweight.

2. The method according to claim 1, wherein: The preset ratio is determined based on at least one of the following information corresponding to each of the at least two channels: sales data, demand data, and priority information, and the allocation operation is performed on each channel, including: For each channel, in response to determining that the second incoming information allocated to the channel is the incoming data, and the value of the second incoming information of the channel is less than or equal to the current left-side weight of the channel, the incoming data before allocation to the channel and the current left-side weight are corrected based on the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to be consistent.

3. The method according to claim 2, wherein: The performing of the allocation operation on each channel further includes: In response to determining that the second incoming information assigned to the channel is the incoming data, and the value of the second incoming information of the channel is greater than the current left side weight of the channel, the incoming data before the channel was assigned, the current left side weight and the current right side weight are corrected based on the second incoming information of the channel, so that the left side allocation value and the right side allocation value corresponding to the target item in the channel continue to remain consistent.

4. The method according to claim 2, wherein: The performing of the allocation operation on each channel further includes: In response to determining that the second incoming information assigned to the channel is the incoming acceptance data, and the value of the second incoming information of the channel is less than or equal to the current right-side weight of the channel, the incoming acceptance data before the channel allocation and the current right-side weight are corrected based on the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the target item in the channel continue to remain consistent.

5. The method according to claim 2, wherein: The performing of the allocation operation on each channel further includes: In response to determining that the second incoming information assigned to the channel is the incoming acceptance data, and the value of the second incoming information of the channel is greater than the current right-side weight of the channel, the incoming acceptance data before the channel is assigned, the current right-side weight and the current left-side weight are corrected based on the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to remain consistent.

6. A stock distribution device, the device comprising: An acquisition module is configured to acquire first warehousing information of a target item, wherein the first warehousing information is warehousing data or warehousing acceptance data, and the warehousing data is purchase data or warehousing difference data; The allocation module is configured to perform a preset allocation operation on the first warehousing information to perform inventory allocation on the target item, wherein the preset allocation operation includes: allocating the first warehousing information to each of at least two channels according to a preset ratio, obtaining the second warehousing information corresponding to each channel, and performing an allocation operation on each channel; in response to determining that there is surplus data after allocating the first warehousing information according to the preset ratio, updating the first warehousing information to the surplus data to obtain the updated first warehousing information; based on the updated first warehousing information, continuing to perform the preset allocation operation, wherein the allocation operation is used to keep the left allocation value and the right allocation value corresponding to each channel of the target item consistent, the left allocation value is used to indicate the sum of the value of the procurement data, the value of the warehousing difference data and the left counterweight, and the right allocation value is used to indicate the sum of the value of the warehousing acceptance data and the right counterweight.

7. The device according to claim 6, wherein: The preset ratio is determined based on at least one of the following information corresponding to each of the at least two channels: sales data, demand data, and priority information, and the allocation operation is performed on each channel, including: For each channel, in response to determining that the second incoming information allocated to the channel is the incoming data, and the value of the second incoming information of the channel is less than or equal to the current left-side weight of the channel, the incoming data before allocation to the channel and the current left-side weight are corrected based on the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to be consistent.

8. The device according to claim 7, wherein: The performing of the allocation operation on each channel further includes: In response to determining that the second incoming information assigned to the channel is the incoming data, and the value of the second incoming information of the channel is greater than the current left side weight of the channel, the incoming data before the channel was assigned, the current left side weight and the current right side weight are corrected based on the second incoming information of the channel, so that the left side allocation value and the right side allocation value corresponding to the target item in the channel continue to remain consistent.

9. The device according to claim 7, wherein: The performing of the allocation operation on each channel further includes: In response to determining that the second incoming information assigned to the channel is the incoming acceptance data, and the value of the second incoming information of the channel is less than or equal to the current right-side weight of the channel, the incoming acceptance data before the channel allocation and the current right-side weight are corrected based on the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the target item in the channel continue to remain consistent.

10. The device according to claim 7, wherein: The performing of the allocation operation on each channel further includes: In response to determining that the second incoming information assigned to the channel is the incoming acceptance data, and the value of the second incoming information of the channel is greater than the current right-side weight of the channel, the incoming acceptance data before the channel is assigned, the current right-side weight and the current left-side weight are corrected based on the second incoming information of the channel, so that the left-side allocation value and the right-side allocation value corresponding to the channel of the target item continue to remain consistent.

11. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor so that the at least one processor can perform the method according to any one of claims 1 to 5.

12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • System and method for providing a multi-channel inventory allocation approach for retailers

    CN108351999A

  • Goods warehousing processing method and device, equipment and goods storage system

    CN112046993A