CN113988614A - Task generation method, device, equipment and storage medium - Google Patents

Task generation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113988614A
CN113988614A CN202111256044.7A CN202111256044A CN113988614A CN 113988614 A CN113988614 A CN 113988614A CN 202111256044 A CN202111256044 A CN 202111256044A CN 113988614 A CN113988614 A CN 113988614A
Authority
CN
China
Prior art keywords
target
state
article
warehouse
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111256044.7A
Other languages
Chinese (zh)
Inventor
宋月莹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Wodong Tianjun Information Technology Co Ltd
Original Assignee
Beijing Wodong Tianjun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wodong Tianjun Information Technology Co Ltd filed Critical Beijing Wodong Tianjun Information Technology Co Ltd
Priority to CN202111256044.7A priority Critical patent/CN113988614A/en
Publication of CN113988614A publication Critical patent/CN113988614A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06311Scheduling, planning or task assignment for a person or group
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates

Abstract

The embodiment of the invention discloses a task generation method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring target article information of a target article; matching the target article information with at least one state critical configuration information corresponding to each article state configured in advance, and determining the target state critical configuration information corresponding to each article state of the target article; determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the quality guarantee period information in the target article information; and if the state of the target article is the temporary state, generating a target temporary processing task corresponding to the target article. By the technical scheme of the embodiment of the invention, the accurate identification of the article state can be realized, and the accuracy of the generation of the temporary processing task is further improved.

Description

Task generation method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to computer technology, in particular to a task generation method, a task generation device, a task generation equipment and a storage medium.
Background
In the field of warehousing, it is generally necessary to monitor the shelf life of the articles in the warehouse, so that when the articles are on the way of being on the way of discount, the article promotion can be performed to reduce the stock quantity of the articles on the way of being on the way of discount.
At present, the article is determined to be a temporary article within 6 weeks of the article near term on the current date, and the temporary article is promoted to reduce the stock of the temporary article, usually based on the shelf life information of the article.
However, in the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art:
each item in the prior art is determined to be in a temporary state based on the same term (e.g., within 6 weeks of the expiration date). However, the different kinds of articles often have different shelf lives, so that the existing method cannot determine the true imminent article, thereby causing the article to be promoted prematurely or promoted too late, and further reducing the accuracy of the generation of the imminent processing task.
Disclosure of Invention
The embodiment of the invention provides a task generation method, a task generation device and a storage medium, which are used for realizing accurate identification of an article state and further improving the accuracy of generation of a temporary processing task.
In a first aspect, an embodiment of the present invention provides a task generating method, including:
acquiring target article information of a target article;
matching the target article information with at least one state critical configuration information corresponding to each article state configured in advance, and determining the target state critical configuration information corresponding to each article state of the target article;
determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the shelf life information in the target article information;
and if the target article state is a temporary state, generating a target temporary processing task corresponding to the target article.
In a second aspect, an embodiment of the present invention further provides a task generating device, including:
the target article information acquisition module is used for acquiring target article information of a target article;
a target state critical configuration information determining module, configured to match the target article information with at least one piece of state critical configuration information corresponding to each article state configured in advance, and determine target state critical configuration information corresponding to each article state of the target article;
the target article state determining module is used for determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the quality guarantee period information in the target article information;
and the target provisional processing task generating module is used for generating a target provisional processing task corresponding to the target article if the state of the target article is the provisional state.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a task generation method as provided by any embodiment of the present invention.
In a fourth aspect, the embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the task generation method provided in any embodiment of the present invention.
The embodiment of the invention has the following advantages or beneficial effects:
the method comprises the steps of configuring one or more state critical configuration information aiming at each article state of an article in advance, matching target article information of a target article with one or more state critical configuration information corresponding to each article state, determining target state critical configuration information corresponding to each article state of the target article, determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and quality guarantee period information in the target article information, and generating a target temporary processing task corresponding to the target article when the target article state is in the temporary state, so that flexible configuration of the state critical information is realized, the target article state can be more accurately determined based on the target state critical configuration information matched with the target article, and accurate identification of the article state is realized, and further, the accuracy of generating the temporary processing task is improved.
Drawings
Fig. 1 is a flowchart of a task generating method according to an embodiment of the present invention;
FIG. 2 is an example of a task generation process according to an embodiment of the present invention;
fig. 3 is a flowchart of a task generating method according to a second embodiment of the present invention;
fig. 4 is a flowchart of a task generating method according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of a task generating device according to a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a task generating method according to an embodiment of the present invention, which is applicable to a case of generating an interim processing task of an article. The method may be performed by a task generating device, which may be implemented by means of software and/or hardware, integrated in an electronic device. As shown in fig. 1, the method specifically includes the following steps:
and S110, acquiring target item information of the target item.
The target item may be any SKU (Stock Keeping Unit) item in the warehouse with a shelf life. The target item information may include, but is not limited to: article identification information, article belonging category information, cold chain marking information, article attribute information such as whether the article is stored at constant temperature or not, whether the article belongs to short guarantee or not, whether the article is imported or not, and shelf life information.
Specifically, the present embodiment may acquire, for each warehouse, target item information of each target item in the warehouse; the target article information of each target article in each warehouse can be acquired aiming at all the warehouses, so that the article state can be identified in a centralized manner in the following process, and the identification efficiency is improved.
And S120, matching the target article information with at least one piece of state critical configuration information corresponding to each article state configured in advance, and determining the target state critical configuration information corresponding to each article state of the target article.
Wherein the item state may include: a normal state, a pending state, and an expired state. Each item state corresponds to at least one state critical configuration information. Each state-critical configuration information may be preconfigured based on item information. Each state critical configuration information may be used to characterize a state critical day value corresponding to the state of the corresponding item under the specific item information. The state threshold number of days value corresponding to a certain article state may be the minimum number of days from the expiration date of the article belonging to the article state. In each article state, different article information can correspond to different state critical configuration information, so that the flexibility and the accuracy of the state critical information configuration are improved.
Specifically, a user may configure one or more state critical configuration information corresponding to each article state in advance in the configuration platform based on the article attribute and the service requirement, so as to improve flexibility of state critical information configuration. When the target article state corresponding to the target article needs to be determined, the state critical configuration information corresponding to each article state configured currently can be obtained from the configuration platform, and for each article state, the target article information is matched with the state critical configuration information corresponding to the article state, so that the target state critical configuration information corresponding to the target article is determined. For example, the state critical configuration information corresponding to the pre-configured normal state is: and matching the target article type corresponding to the target article with the normal state critical day value corresponding to each pre-configured article type to obtain the target critical day value of the target article in the normal state.
For example, the present embodiment may configure the state-critical configuration information corresponding to each article state to satisfy the configuration flexibility to the maximum extent. Or only configuring the state critical configuration information corresponding to the normal state and the temporary state, so that when the article is determined not to be in the normal state and the temporary state, the article can be directly determined to be in the expired state, and the state identification efficiency is improved.
S130, determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the quality guarantee period information in the target article information.
Specifically, the expiration date corresponding to the target item may be determined based on the production date and the expiration date of the target item, and the current remaining number of days to expire may be obtained based on the current date and the expiration date. The current remaining number of days may be compared with the target critical day value in the target state critical configuration information corresponding to each article state, and the state of the target article to which the target article belongs may be determined based on the comparison result. The embodiment can more accurately determine the state of the target object by the target state critical configuration information matched with the target object, realizes accurate identification and real distinguishing of the object state,
and S140, if the state of the target article is the temporary state, generating a target temporary processing task corresponding to the target article.
The target provisional processing task may be a task for processing the target item in the provisional state. For example, the target contingent processing task may include a target acquisition offer task, so that the target item is promoted in a price reduction manner based on the target acquisition offer task, and the contingent stock proportion of the warehouse is reduced. The target temporary processing tasks can also comprise target transfer tasks, and the target objects in the temporary state are subjected to inventory scheduling among various warehouses based on the target transfer tasks, so that the temporary inventory proportion is further reduced.
Specifically, if the target article state corresponding to the target article is the provisional state, it indicates that the target article is the provisional article, and at this time, a target provisional processing task may be generated, so that the target article is provisionally processed by executing the target provisional processing task, and the provisional inventory proportion of the target article in the warehouse is reduced, thereby ensuring the accuracy of generation of the target provisional processing task through accurate identification of the provisional state.
For example, the "generating the target provisional processing task corresponding to the located target item" in S140 may include: acquiring a warehouse report acquisition cost corresponding to a target article; acquiring a target cost preferential proportion corresponding to a preset target article; determining a target acquisition cost corresponding to the target object according to the warehouse report acquisition cost and the target cost discount ratio; and generating a target acquisition preferential task corresponding to the target object based on the target acquisition cost.
Wherein, the warehouse report obtaining cost can refer to an article price given by an article supplier. The target cost preference ratio may refer to a ratio between a target item acquisition cost and a warehouse reporting acquisition cost. The target get-advantage task may be a promotional task. The target acquisition cost may refer to an upsell price in upselling the target item.
Specifically, if the acquisition costs of the warehouse reports given by different suppliers providing the target object are different, the average processing may be performed on the acquisition costs of the warehouse reports corresponding to the target object to obtain the average warehouse report acquisition cost after the processing. In this embodiment, the cost offer ratio corresponding to each item type may be configured on the configuration platform in advance, so that the target cost offer ratio corresponding to the target item type to which the target item belongs may be obtained from the configuration platform. And multiplying the obtained warehouse report acquisition cost and the target cost discount proportion, determining the obtained result as a target acquisition cost corresponding to the target object, and generating a target acquisition discount task containing the target acquisition cost so as to promote the target object in a target acquisition cost mode based on the target acquisition discount task.
For example, the temporary state in this embodiment may further include a plurality of temporary states with different temporary degrees. For example, the provisional status may include: a normal temporary state and an emergency temporary state, wherein the temporary degree of the emergency temporary state is higher than that of the normal temporary state. For each temporary state, at least one state critical configuration information corresponding to each temporary state can be pre-configured in the configuration platform according to the state determination method described above, and then the temporary state of which temporary degree the state of the target article is specifically in when the state of the target article is in the temporary state can be further determined based on the target state critical configuration information, so that the fineness of state detection is improved. For the above state setting manner, the cost preferential proportion corresponding to each item type and each temporary state can be pre-configured on the configuration platform, for example, the higher the temporary degree corresponding to the temporary state is, the higher the configured cost preferential proportion is, so that the target acquisition cost can be reduced along with the increase of the temporary degree, the target item can be promoted at a gradually reduced promotion price, and the maximum benefit is ensured.
Illustratively, when the target item state is determined to be the provisional state, the target item information may be stored in the provisional data table, so that after the item states corresponding to all items are determined, a corresponding provisional processing task may be generated for each provisional item in the provisional data table that is in the provisional state, and also a provisional processing task may be generated for all provisional items, thereby implementing unified generation of the provisional processing tasks by using the provisional data table.
According to the technical scheme of the embodiment, one or more pieces of state critical configuration information are configured in advance for each article state where an article is located, the target article information of the target article is matched with one or more pieces of state critical configuration information corresponding to each article state, the target state critical configuration information corresponding to each article state of the target article is determined, the target article state corresponding to the target article is determined according to the target state critical configuration information corresponding to each article state and the quality guarantee period information in the target article information, and the target temporary processing task corresponding to the target article is generated when the target article state is in the temporary state, so that flexible configuration of the state critical information is realized, the target article state can be more accurately determined based on the target state critical configuration information matched with the target article, and accurate identification of the article state is realized, and further, the accuracy of generating the temporary processing task is improved.
On the basis of the above technical solution, S110 may include: receiving message queues pushed by warehouse management ends of all warehouses; and acquiring target item information of the target items in each warehouse based on the message queue.
The Warehouse Management terminal may refer to a WMS (Warehouse Management System) terminal in the Warehouse.
Specifically, fig. 2 shows an example of a task generation process, and each warehouse is a separate node as shown in fig. 2. In order to collectively identify the item states of all items in the warehouse, information aggregation needs to be performed on the item information in each warehouse, so that the warehouse management end of each warehouse can push a message queue containing the item information to an MQ platform in the device responsible for task generation. For example, the warehouse management side of each warehouse may obtain the item information in the warehouse at the zero point of each day and convert the item information into JSON format to send message queue MQ messages. The MQ messages pushed by the warehouse management end of each warehouse are the same subject messages, so that the MQ platform can receive the MQ messages sent by the warehouse management ends, obtain the article information in each warehouse, combine the same article, and perform subsequent state identification and task generation operation by taking each article in each warehouse as a target article.
For example, the present embodiment may perform distributed processing on all articles in each warehouse or all articles in all warehouses, so that the article states of multiple articles may be determined simultaneously, and the article state identification efficiency and the task generation efficiency are improved. For example, distributed processing may be performed using a Flink server cluster. Flink is a distributed processing engine for performing stateful computations on unbounded and bounded data streams. As shown in fig. 2, the Flink server cluster may create a connection with the MQ platform, obtain target item information corresponding to each target item aggregated in the MQ platform by calling a predefined data obtaining function, determine a target item state corresponding to each target item by calling a predefined state identifying function, and store the target item information corresponding to the target item in the temporary state in the temporary data table, so as to perform uniform generation of temporary processing tasks based on the temporary data table in the following. Wherein, the state identification function can be implemented by executing the service logic of the above steps S110 to S140.
On the basis of the above technical solutions, the method may further include: if the target object state is an expired state, detecting whether the target object is a returnable object; if the returned article is the returnable article, storing the target article information and the target article provider identifier into a return data table, regularly merging each article information corresponding to the same article provider identifier stored in the return data table, and generating a target return task based on the merged article information; and if the articles are unreleasable articles, storing the target article information into a destruction data table, regularly merging the article information stored in the destruction data table, and generating a target destruction task based on the merged article information.
The target item provider identifier may refer to a unique identifier corresponding to a supplier providing the target item, so as to distinguish different suppliers. A returnable item refers to an item that may be returned to a supplier.
Specifically, when the status of the targeted item is an expired status, no more sales can be made, and at this time, whether the targeted item is a returnable item can be determined based on the agreement between the purchaser and the targeted item provider in advance. As shown in fig. 2, if the target item is a returnable item, the target item information and the target item provider identifier corresponding to the target item may be stored in the withdrawal data table, and after the item states corresponding to all items are determined, or each item information corresponding to the same item provider identifier stored in the withdrawal data table may be periodically merged every day. If all the warehouses are targeted, the same article provider identifier and the article information corresponding to the same warehouse identifier in the withdrawal data table can be merged. If the purchasers of the same target object are different, the information of each object corresponding to the same object provider identifier, the same warehouse identifier and the same purchaser in the return supply data table can be merged. And generating corresponding target quit-supply tasks aiming at each group of combined target article information, and issuing the target quit-supply tasks to corresponding warehouse management ends so as to return the target articles to suppliers by executing the target quit-supply tasks in corresponding warehouses. According to the embodiment, the item information of the same dimension is combined, so that high-degree aggregation of returned items can be guaranteed, and a supplier can take away more items when taking the goods. For example, the embodiment may further send the generated target return task to the corresponding purchasing personnel and suppliers by mail or the like, so as to maintain real-time synchronization of the returned items.
As shown in fig. 2, if the target item is an unreleasable item, the target item information corresponding to the target item may be stored in the destruction data table, and after the item states corresponding to all items are determined, or each item information stored in the destruction data table is periodically merged every day. If all the warehouses are targeted, the information of each article corresponding to the same warehouse identifier in the destroyed data table can be merged. If the purchasing personnel of the same target object are different, the same warehouse identifier and the information of each object corresponding to the same purchasing personnel in the destroying data table can be merged. And generating a corresponding target destruction task for each group of combined target article information, and issuing the target destruction task to a corresponding warehouse management end so as to destroy and scrap the target articles by executing the target destruction task in a corresponding warehouse. For example, the present embodiment may further send the generated target destruction task to the corresponding purchasing personnel by way of mail or the like, so as to maintain real-time synchronization of the destroyed items. According to the embodiment, the purpose of clearing the warehouse to the maximum extent can be achieved by returning or destroying the target articles in the expired state.
Example two
Fig. 3 is a flowchart of a task generating method according to a second embodiment of the present invention, where in this embodiment, optimization is performed on steps of "matching target item information with at least one piece of state critical configuration information corresponding to each pre-configured item state, and determining target state critical configuration information corresponding to each item state of a target item", and optimization is also performed on steps of "determining a target item state corresponding to a target item according to target state critical configuration information corresponding to each item state and shelf life information in target item information". Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted.
Referring to fig. 3, the task generating method provided in this embodiment specifically includes the following steps:
s310, acquiring target item information of the target item.
S320, detecting whether the target article information meets the state critical condition in each state critical configuration information corresponding to each article state configured in advance.
The state critical condition may be a condition that the article information matched with the state critical configuration information needs to satisfy. The state critical condition may be configured based on the item attribute information. For example, table 1 gives an example of the setting of the article attribute. Table 2 gives an example of state critical configuration information corresponding to the state of an article.
Table 1 example of settings for item attributes
Article attribute identification Property of an article Attribute priority value
A Article identification 100
B Category to which the article belongs 10
C Cold chain marking 70
D Whether to store at constant temperature 70
E Whether it belongs to short-term insurance 50
F Whether to import 20
G Days of shelf life 30
TABLE 2 example of state critical configuration information corresponding to article state
Critical condition of state Critical days of state value Conditional priority value
A>=10001&&A<20000&&C=1 90 days 100
G<180||E=1 1/3G (Tian) 50
B=19050 180 days 10
Each row in table 2 represents a state critical configuration corresponding to the state of the item. Each of the status critical configuration information includes a status critical condition composed of the article attributes, a status critical day value, and a condition priority value. The condition priority value may be determined based on an attribute priority value corresponding to an article attribute related to the state critical condition. For example, the maximum attribute priority value corresponding to the article attribute related to the state critical condition may be used as the condition priority value, or the attribute priority values related to the condition critical condition may be averaged, and the obtained average attribute priority value may be used as the condition priority value.
Specifically, for each article state, it may be detected whether the target article information satisfies a state critical condition in each state critical configuration information corresponding to the article state. For example, in table 2, it may be detected whether the target item identifier of the target item is 10001 or more and 20000 or less and whether the cold chain flag information of the target item is 1, and if the target item identifier is 10001 or more and 20000 or less and the cold chain flag information of the target item is 1, it indicates that the status threshold condition in the status threshold configuration information is satisfied, and at this time, the status threshold configuration information may be determined to be the candidate status threshold configuration information.
S330, determining target state critical configuration information corresponding to each article state of the target article based on the candidate state critical configuration information meeting the state critical condition.
Specifically, for each item state, the candidate state critical configuration information corresponding to the target item may be one or more, so that the target state critical configuration information corresponding to the target item may be determined based on the condition priority value.
Exemplarily, S330 may include: if only one candidate state critical configuration information meeting the state critical condition exists, determining the candidate state critical configuration information as target state critical configuration information corresponding to the current article state of the target article; and if at least two candidate state critical configuration information meeting the state critical condition exist, determining the target state critical configuration information corresponding to the current article state of the target article according to the priority information in each candidate state critical configuration information.
Specifically, for the current article state, when there are at least two candidate state critical configuration information, the priority information in each candidate state critical configuration information may be compared, for example, the condition priority values in table 2 are compared, and the candidate state critical configuration information with the highest condition priority value is determined as the target state critical configuration information corresponding to the target article.
And S340, acquiring a target state critical day value corresponding to each article state of the target article according to the target state critical configuration information corresponding to each article state.
Specifically, the target critical day value corresponding to each article state of the target article may be obtained from the target state critical configuration information corresponding to each article state.
And S350, determining the current remaining days for the target item to expire according to the quality guarantee period information in the target item information.
Specifically, an expiration date corresponding to the target item may be determined based on the production date and the expiration date of the target item, and a difference between the current date and the expiration date may be determined as the current remaining number of days for which the target item expires.
And S360, determining the target article state corresponding to the target article according to the target critical day value corresponding to each article state and the current remaining number of days.
Specifically, the current remaining days may be compared with a target threshold number of days value corresponding to each item state, and the target item state to which the target item belongs may be determined based on the comparison result.
Exemplarily, S360 may include: if the current remaining days are larger than or equal to the target critical day value corresponding to the normal state, determining that the state of the target article corresponding to the target article is the normal state; if the current remaining days are less than the target critical day value corresponding to the normal state and greater than or equal to the target critical day value corresponding to the temporary state, determining that the state of the target article corresponding to the target article is the temporary state; and if the current remaining days are less than the target critical day value corresponding to the temporary state and greater than or equal to the target critical day value corresponding to the overdue state, determining that the state of the target article corresponding to the target article is the overdue state.
It should be noted that, in this embodiment, if the status critical configuration information corresponding to the expiration status is not configured, when the current remaining number of days is less than the target critical day value corresponding to the expiration status, it may be determined that the status of the target item corresponding to the target item is the expiration status, so as to simplify the status identification operation and improve the status identification efficiency.
And S370, if the state of the target article is the temporary state, generating a target temporary processing task corresponding to the target article.
According to the technical scheme of the embodiment, matching is performed by detecting whether the target article information meets the state critical condition in each state critical configuration information corresponding to each article state configured in advance, so that the configuration flexibility can be further improved. By comparing the target critical day value corresponding to each article state with the current remaining number of days for which the target article expires, the target article state corresponding to the target article can be determined more accurately, and the accuracy of task generation is further ensured.
EXAMPLE III
Fig. 4 is a flowchart of a task generating method according to a third embodiment of the present invention, and this embodiment describes in detail a specific generating process of a target allocation task when target items in an imminent state exist in each of a plurality of warehouses on the basis of the foregoing embodiments. Wherein explanations of the same or corresponding terms as those of the above embodiments are omitted.
Referring to fig. 4, the task generating method provided in this embodiment specifically includes the following steps:
and S410, acquiring target item information of the target items in each warehouse.
Specifically, the target item information in each warehouse may be obtained as described in the above embodiment, and details are not repeated here.
And S420, matching the target article information with at least one piece of state critical configuration information corresponding to each article state configured in advance, and determining the target state critical configuration information corresponding to each article state of the target article.
S430, determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the quality guarantee period information in the target article information.
And S440, if the target article state is the temporary state, determining the reserved inventory amount of the target article in each warehouse based on the historical demand amount corresponding to the target article in each warehouse.
The target item may refer to the same item stored in multiple warehouses in a temporary state. The historical demand may refer to historical sales information for the target item within each warehouse. The reserve inventory may refer to the number of target items that the warehouse itself may handle.
Specifically, for each warehouse storing the same target item in the temporary state, the reserved inventory amount of the target item in the warehouse may be determined based on the historical demand amount corresponding to the target item in the temporary state in the warehouse.
Exemplarily, S440 may include: determining a target demand amount corresponding to a target item in a current warehouse based on a historical demand amount corresponding to the target item in the current warehouse; determining the target remaining days when the target article state of the target article in the current warehouse is in an expired state; and determining the reserved inventory of the target articles in the current warehouse according to the target demand and the target remaining days.
Specifically, the daily demand of the target item in the current warehouse within one month of history may be obtained, the daily demand may be averaged, and the obtained average demand may be used as the target demand corresponding to the target item. The difference between the current remaining number of days for which the target item has expired and the target threshold number of days value corresponding to the current status of the item may be determined as the target remaining number of days for which the status of the target item is expired. And multiplying the target demand quantity by the target remaining days to obtain a product, and determining the product as the reserved inventory quantity of the target items in the current warehouse.
It should be noted that, if the production dates of the target items in the temporary state are different, so that the current remaining days when the target items expire are different, and thus a plurality of target remaining days when the target items are in the expired state exist, at this time, the plurality of target remaining days may be averaged, and the product of the obtained average remaining days and the target demand may be used as the reserved inventory amount of the target items in the current warehouse.
S450, determining a warehouse allocation state and inventory allocation information corresponding to each warehouse based on the current inventory and reserved inventory of the target articles in each warehouse.
The warehouse transfer state may include a transfer-out state and a transfer-in state. The calling-out state refers to a state that the target articles in the warehouse need to be dispatched out of the warehouse. The call-in state refers to a state that the warehouse can receive the target articles to be scheduled and put in storage. The inventory transfer information may include: the adjustable warehouse-out stock corresponding to the calling-out state and the adjustable warehouse-in stock corresponding to the calling-in state.
Illustratively, S450 may include: if the current inventory of the target object in the current warehouse is larger than the reserved inventory, determining that the warehouse transfer state corresponding to the current warehouse is a transfer state, and determining the transfer inventory corresponding to the current warehouse based on the current inventory and the reserved inventory; and if the current inventory of the target articles in the current warehouse is less than the reserved inventory, determining that the warehouse transfer state corresponding to the current warehouse is a transfer state, and determining the adjustable inventory corresponding to the current warehouse based on the current inventory and the reserved inventory.
Specifically, if the current inventory of the target object in the current warehouse is greater than the reserved inventory, it indicates that the current warehouse needs to dispatch the redundant inventory out of the warehouse, at this time, the warehouse transfer state corresponding to the current warehouse may be determined as the transfer state, and the difference between the current inventory and the reserved inventory is determined as the tunable inventory corresponding to the current warehouse. If the current inventory of the target object in the current warehouse is smaller than the reserved inventory, the current warehouse can receive redundant inventory to be warehoused, at the moment, the warehouse transfer state corresponding to the current warehouse can be determined as the transfer-in state, and the difference value between the current inventory and the reserved inventory is determined as the adjustable inventory corresponding to the current warehouse.
And S460, generating a target allocation task corresponding to the target object according to the warehouse allocation state and the inventory allocation information corresponding to each warehouse.
Specifically, the corresponding relationship between the transfer warehouse and the allocation information of the allocation stock can be determined based on the adjustable warehouse inventory corresponding to the warehouse in the transfer state and the adjustable warehouse inventory corresponding to the warehouse in the transfer state, so that the target allocation task corresponding to the target article is generated based on the corresponding relationship between the transfer warehouse and the allocation information of the allocation stock, and the target allocation task is pushed to the warehouse management end of the corresponding warehouse, so that inter-warehouse allocation is performed based on the target allocation task, the impending article is rapidly cleaned, and the maximization of the benefit is ensured.
Exemplarily, S460 may include: determining the call-in priority corresponding to each first warehouse based on the demand information of the target articles in each first warehouse with the warehouse call-in state as the call-in state; allocating the adjustable warehouse-out stock corresponding to each second warehouse of which the warehouse allocation state is the allocation state based on the allocation priority and the adjustable warehouse-in stock corresponding to each first warehouse, and determining allocation corresponding relation between the first warehouse and the second warehouse and allocation stock information; and generating a target transfer task corresponding to the target article according to the transfer corresponding relation and the transfer inventory information.
The demand information of the target item in the first warehouse may include an average demand and/or a favorable degree of the target item in the first warehouse. Wherein the average demand may be obtained based on historical demand of the target item in the first warehouse. The favorable degree can be the ratio of the number of favorable items after the items are acquired to the total quantity of the required items. The call-in priority may refer to a chronological order in which the respective first warehouses receive the callable inventory of the target items. The highest call-in priority corresponding to the first warehouse indicates that the temporary processing capacity of the first warehouse after receiving the callable inventory of the target item is stronger.
Specifically, the call-in priority corresponding to each first warehouse may be determined based on the average demand and/or the goodness. For example, the higher the average demand, the higher the call-in priority; or, the higher the evaluation degree is, the higher the calling priority is; or, the average demand and the good degree are weighted and added, and the higher the obtained addition result is, the higher the call-in priority is. The first warehouses may be arranged based on the call-in priority to obtain a first warehouse a with the highest call-in priority and corresponding adjustable warehousing stocks a, and the adjustable warehousing stocks b corresponding to each second warehouse are added to obtain an adjustable total inventory amount c. The tunable out inventory allocation process corresponding to the second warehouse may be:
firstly, whether the adjustable warehousing inventory a corresponding to the first warehouse A is larger than or equal to the adjustable warehousing inventory total amount c is compared, if yes, the adjustable warehousing inventory that the first warehouse A can support all the second warehouses to dispatch is indicated, at the moment, the dispatching warehouse corresponding to the first warehouse A is determined to be all the second warehouses, and the dispatching inventory information is the adjustable warehousing total amount c. If the adjustable warehousing stock a corresponding to the first warehouse A is smaller than the total amount c of the adjustable warehousing stocks, it indicates that the first warehouse A cannot support the adjustable warehousing stocks called out by all the second warehouses, at this time, one or more second warehouses which are closest to the first warehouse A and can meet the adjustable warehousing stock a can be selected from all the second warehouses based on the warehouse position of the first warehouse A and the warehouse position of each second warehouse, and the dispatching corresponding relation and the dispatching stock information of the dispatching are established. And then, taking the difference value between the total adjustable warehouse-out amount and the adjustable warehouse-in amount a as a residual adjustable warehouse-out amount d, then obtaining a first warehouse B with the calling-in priority, detecting whether the adjustable warehouse-in amount e corresponding to the first warehouse B is larger than or equal to the residual adjustable warehouse-out amount d, if so, indicating that the first warehouse B can support the residual adjustable warehouse-out amount d corresponding to the residual second warehouse, and at the moment, determining that the calling-out warehouse corresponding to the first warehouse B is the residual second warehouse, and calling inventory amount information is the residual adjustable warehouse-out amount d. If the adjustable warehousing inventory e corresponding to the first warehouse B is smaller than the remaining adjustable ex-warehousing inventory d, one or more second warehouses which are closest to the first warehouse B and can meet the adjustable warehousing inventory e can be selected from the remaining second warehouses according to the positions of the warehouses, the dispatching corresponding relation and the dispatching inventory information of the dispatching are established, and the same process is carried out in sequence until the adjustable ex-warehousing total quantity c is distributed.
According to the technical scheme, the target allocation tasks corresponding to the target objects can be generated according to the warehouse allocation states and the inventory allocation information corresponding to each warehouse by storing the same target objects in the temporary state, so that the temporary objects are more quickly cleared, and the maximization of benefits is guaranteed.
The following is an embodiment of a task generating device provided in an embodiment of the present invention, and the device and the task generating method in the foregoing embodiments belong to the same inventive concept, and details that are not described in detail in the embodiment of the task generating device may refer to the embodiment of the task generating method.
Example four
Fig. 5 is a schematic structural diagram of a task generating device according to a fourth embodiment of the present invention, where this embodiment is applicable to a case of generating a provisional processing task for an article, as shown in fig. 5, the device specifically includes: a target item information acquisition module 510, a target state critical configuration information determination module 520, a target item state determination module 530, and a target provisional processing task generation module 540.
The target item information obtaining module 510 is configured to obtain target item information of a target item; a target state critical configuration information determining module 520, configured to match the target article information with at least one piece of state critical configuration information corresponding to each article state configured in advance, and determine target state critical configuration information corresponding to each article state of the target article; a target article state determining module 530, configured to determine a target article state corresponding to a target article according to the target state critical configuration information corresponding to each article state and the shelf life information in the target article information; and the target provisional processing task generating module 540 is configured to generate a target provisional processing task corresponding to the target item if the state of the target item is a provisional state.
Optionally, the target state critical configuration information determining module 520 includes:
the target article information detection unit is used for detecting whether the target article information meets the state critical condition in each state critical configuration information corresponding to each article state configured in advance;
and the target state critical configuration information determining unit is used for determining target state critical configuration information corresponding to each article state of the target article based on the candidate state critical configuration information meeting the state critical condition.
Optionally, the target state critical configuration information determining unit is specifically configured to: if only one candidate state critical configuration information meeting the state critical condition exists, determining the candidate state critical configuration information as target state critical configuration information corresponding to the current article state of the target article; and if at least two candidate state critical configuration information meeting the state critical condition exist, determining the target state critical configuration information corresponding to the current article state of the target article according to the priority information in each candidate state critical configuration information.
Optionally, the target item status determination module 530 includes:
the target critical day value acquisition unit is used for acquiring a target critical day value corresponding to each article state of the target article according to the target state critical configuration information corresponding to each article state;
the current remaining days determining unit is used for determining the current remaining days of the target object due according to the quality guarantee period information in the target object information;
and the target article state determining unit is used for determining the target article state corresponding to the target article according to the target critical day value corresponding to each article state and the current remaining number of days.
Optionally, the target article status determining unit is specifically configured to:
if the current remaining days are larger than or equal to the target critical day value corresponding to the normal state, determining that the state of the target article corresponding to the target article is the normal state; if the current remaining days are less than the target critical day value corresponding to the normal state and greater than or equal to the target critical day value corresponding to the temporary state, determining that the state of the target article corresponding to the target article is the temporary state; and if the current remaining days are less than the target critical day value corresponding to the temporary state and greater than or equal to the target critical day value corresponding to the overdue state, determining that the state of the target article corresponding to the target article is the overdue state.
Optionally, the target provisional processing task generating module 540 is specifically configured to:
acquiring a warehouse report acquisition cost corresponding to a target article; acquiring a target cost preferential proportion corresponding to a preset target article; determining a target acquisition cost corresponding to the target object according to the warehouse report acquisition cost and the target cost discount ratio; and generating a target acquisition preferential task corresponding to the target object based on the target acquisition cost.
Optionally, the target item information obtaining module 510 is specifically configured to:
receiving message queues pushed by warehouse management ends of all warehouses; and acquiring target item information of the target items in each warehouse based on the message queue.
Optionally, the target provisional processing task generating module 540 further includes:
the reserved stock quantity determining unit is used for determining the reserved stock quantity of the target object in each warehouse based on the historical demand quantity corresponding to the target object in each warehouse;
the allocation information determining unit is used for determining the warehouse allocation state and the inventory allocation information corresponding to each warehouse based on the current inventory and the reserved inventory of the target articles in each warehouse;
and the target allocation task generating unit is used for generating a target allocation task corresponding to the target object according to the warehouse allocation state and the inventory allocation information corresponding to each warehouse.
Optionally, the reserved inventory amount determining unit is specifically configured to: determining a target demand amount corresponding to a target item in a current warehouse based on a historical demand amount corresponding to the target item in the current warehouse; determining the target remaining days when the target article state of the target article in the current warehouse is in an expired state; and determining the reserved inventory of the target articles in the current warehouse according to the target demand and the target remaining days.
Optionally, the call information determining unit is specifically configured to: if the current inventory of the target object in the current warehouse is larger than the reserved inventory, determining that the warehouse transfer state corresponding to the current warehouse is a transfer state, and determining the transfer inventory corresponding to the current warehouse based on the current inventory and the reserved inventory; and if the current inventory of the target articles in the current warehouse is less than the reserved inventory, determining that the warehouse transfer state corresponding to the current warehouse is a transfer state, and determining the adjustable inventory corresponding to the current warehouse based on the current inventory and the reserved inventory.
Optionally, the target transfer task generating unit is specifically configured to: determining the call-in priority corresponding to each first warehouse based on the demand information of the target articles in each first warehouse with the warehouse call-in state as the call-in state; allocating the adjustable warehouse-out stock corresponding to each second warehouse of which the warehouse allocation state is the allocation state based on the allocation priority and the adjustable warehouse-in stock corresponding to each first warehouse, and determining allocation corresponding relation between the first warehouse and the second warehouse and allocation stock information; and generating a target transfer task corresponding to the target article according to the transfer corresponding relation and the transfer inventory information.
Optionally, the apparatus further comprises:
the target object detection module is used for detecting whether the target object is a returnable object or not if the state of the target object is the overdue state;
the target return-supply task generating module is used for storing target article information and a target article provider identifier into a return-supply data table if the article is a returnable article, regularly merging each article information corresponding to the same article provider identifier stored in the return-supply data table, and generating a target return-supply task based on the merged article information;
and the target destruction task generating module is used for storing the target article information into the destruction data table if the article is an unreleasable article, regularly merging the article information stored in the destruction data table, and generating a target destruction task based on the merged article information.
The task generating device provided by the embodiment of the invention can execute the task generating method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects for executing the task generating method.
It should be noted that, in the embodiment of the task generating device, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 6 is only an example and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in FIG. 6, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by electronic device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with electronic device 12, and/or with any devices (e.g., network card, modem, etc.) that enable electronic device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the electronic device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement a task generation method provided by the embodiment of the present invention, the method includes:
acquiring target article information of a target article;
matching the target article information with at least one state critical configuration information corresponding to each article state configured in advance, and determining the target state critical configuration information corresponding to each article state of the target article;
determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the quality guarantee period information in the target article information;
and if the state of the target article is the temporary state, generating a target temporary processing task corresponding to the target article.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the task generating method provided by any embodiment of the present invention.
EXAMPLE six
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of a task generation method as provided by any of the embodiments of the invention, the method comprising:
acquiring target article information of a target article;
matching the target article information with at least one state critical configuration information corresponding to each article state configured in advance, and determining the target state critical configuration information corresponding to each article state of the target article;
determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the quality guarantee period information in the target article information;
and if the state of the target article is the temporary state, generating a target temporary processing task corresponding to the target article.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It will be understood by those skilled in the art that the modules or steps of the invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented by program code executable by a computing device, such that it may be stored in a memory device and executed by a computing device, or it may be separately fabricated into various integrated circuit modules, or it may be fabricated by fabricating a plurality of modules or steps thereof into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (15)

1. A task generation method, comprising:
acquiring target article information of a target article;
matching the target article information with at least one state critical configuration information corresponding to each article state configured in advance, and determining the target state critical configuration information corresponding to each article state of the target article;
determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the shelf life information in the target article information;
and if the target article state is a temporary state, generating a target temporary processing task corresponding to the target article.
2. The method according to claim 1, wherein the matching the target item information with at least one state-critical configuration information corresponding to each pre-configured item state to determine the target state-critical configuration information corresponding to each item state of the target item comprises:
detecting whether the target article information meets state critical conditions in each state critical configuration information corresponding to each article state configured in advance;
and determining target state critical configuration information corresponding to each article state of the target article based on the candidate state critical configuration information meeting the state critical condition.
3. The method of claim 2, wherein determining target state critical configuration information corresponding to each item state of the target item based on candidate state critical configuration information satisfying the state critical condition comprises:
if only one candidate state critical configuration information meeting the state critical condition exists, determining the candidate state critical configuration information as target state critical configuration information corresponding to the current article state of the target article;
and if at least two candidate state critical configuration information meeting the state critical condition exist, determining the target state critical configuration information corresponding to the current article state of the target article according to the priority information in each candidate state critical configuration information.
4. The method according to claim 1, wherein the determining the target item state corresponding to the target item according to the target state critical configuration information corresponding to each item state and the expiration date information in the target item information comprises:
acquiring a target critical day value corresponding to each article state of the target article according to target state critical configuration information corresponding to each article state;
determining the current remaining days for the target item to expire according to the shelf life information in the target item information;
and determining the target article state corresponding to the target article according to the target critical day value corresponding to each article state and the current remaining number of days.
5. The method of claim 4, wherein determining the target item status for the target item based on the target threshold day value for each item status and the current remaining number of days comprises:
if the current remaining days are larger than or equal to the target critical day value corresponding to the normal state, determining that the state of the target article corresponding to the target article is the normal state;
if the current remaining days are less than the target critical day value corresponding to the normal state and greater than or equal to the target critical day value corresponding to the temporary state, determining that the state of the target article corresponding to the target article is the temporary state;
and if the current remaining days are less than the target critical day value corresponding to the temporary state and greater than or equal to the target critical day value corresponding to the overdue state, determining that the state of the target article corresponding to the target article is the overdue state.
6. The method according to claim 1, wherein the generating of the target provisional processing task corresponding to the target item comprises:
acquiring a warehouse report acquisition cost corresponding to the target object;
acquiring a preset target cost preferential proportion corresponding to the target object;
determining a target acquisition cost corresponding to the target article according to the warehouse report acquisition cost and the target cost discount ratio;
and generating a target acquisition preferential task corresponding to the target article based on the target acquisition cost.
7. The method of claim 1, wherein obtaining target item information for a target item comprises:
receiving message queues pushed by warehouse management ends of all warehouses;
and acquiring target item information of the target items in each warehouse based on the message queue.
8. The method according to claim 7, wherein the generating of the target provisional processing task corresponding to the target item further comprises:
determining a reserved inventory amount of the target item in each warehouse based on the historical demand amount corresponding to the target item in each warehouse;
determining a warehouse allocation state and inventory allocation information corresponding to each warehouse based on the current inventory and the reserved inventory of the target object in each warehouse;
and generating a target allocation task corresponding to the target object according to the warehouse allocation state and the inventory allocation information corresponding to each warehouse.
9. The method of claim 8, wherein determining the reserve inventory amount of the target item in each warehouse based on the historical demand corresponding to the target item in each warehouse comprises:
determining a target demand amount corresponding to the target item in the current warehouse based on the historical demand amount corresponding to the target item in the current warehouse;
determining the target remaining days for which the target item state of the target item in the current warehouse is an expired state;
and determining the reserved inventory of the target articles in the current warehouse according to the target demand and the target remaining days.
10. The method of claim 8, wherein determining the warehouse allocation status and the inventory allocation information corresponding to each warehouse based on the current inventory amount and the reserved inventory amount of the target item in each warehouse comprises:
if the current inventory of the target object in the current warehouse is larger than the reserved inventory, determining that the warehouse transfer state corresponding to the current warehouse is a transfer state, and determining the transfer inventory corresponding to the current warehouse based on the current inventory and the reserved inventory;
and if the current inventory of the target object in the current warehouse is less than the reserved inventory, determining that the warehouse transfer state corresponding to the current warehouse is a transfer state, and determining the adjustable inventory corresponding to the current warehouse based on the current inventory and the reserved inventory.
11. The method according to claim 8, wherein the generating a target allocation task corresponding to the target item according to the warehouse allocation state and the inventory allocation information corresponding to each warehouse comprises:
determining a call-in priority corresponding to each first warehouse based on the demand information of the target object in each first warehouse of which the warehouse call-in state is a call-in state;
allocating the adjustable warehousing stock corresponding to each second warehouse of which the warehouse allocation state is the allocation state based on the allocation priority and the adjustable warehousing stock corresponding to each first warehouse, and determining allocation correspondence and allocation stock information between the first warehouse and the second warehouse;
and generating a target allocation task corresponding to the target object according to the allocation corresponding relation and the allocation inventory information.
12. The method according to any one of claims 1-11, further comprising:
if the target object state is an expired state, detecting whether the target object is a returnable object;
if the returned article is the returnable article, storing the target article information and the target article provider identifier into a return data table, regularly merging each article information corresponding to the same article provider identifier stored in the return data table, and generating a target return task based on the merged article information;
and if the articles are unreleasable articles, storing the target article information into a destruction data table, regularly merging the article information stored in the destruction data table, and generating a target destruction task based on the merged article information.
13. A task generation apparatus, comprising:
the target article information acquisition module is used for acquiring target article information of a target article;
a target state critical configuration information determining module, configured to match the target article information with at least one piece of state critical configuration information corresponding to each article state configured in advance, and determine target state critical configuration information corresponding to each article state of the target article;
the target article state determining module is used for determining the target article state corresponding to the target article according to the target state critical configuration information corresponding to each article state and the quality guarantee period information in the target article information;
and the target provisional processing task generating module is used for generating a target provisional processing task corresponding to the target article if the state of the target article is the provisional state.
14. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a task generation method as recited in any of claims 1-12.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a task generation method according to any one of claims 1 to 12.
CN202111256044.7A 2021-10-27 2021-10-27 Task generation method, device, equipment and storage medium Pending CN113988614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111256044.7A CN113988614A (en) 2021-10-27 2021-10-27 Task generation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111256044.7A CN113988614A (en) 2021-10-27 2021-10-27 Task generation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113988614A true CN113988614A (en) 2022-01-28

Family

ID=79742594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111256044.7A Pending CN113988614A (en) 2021-10-27 2021-10-27 Task generation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113988614A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114663029A (en) * 2022-04-08 2022-06-24 北京网鲜供应链科技有限公司 Warehouse commodity supervision system and method based on one-object-one-code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114663029A (en) * 2022-04-08 2022-06-24 北京网鲜供应链科技有限公司 Warehouse commodity supervision system and method based on one-object-one-code

Similar Documents

Publication Publication Date Title
CN108960691B (en) Method and device for determining article stock for server system
CN107516175B (en) Inventory allocation method and device
CN108154323B (en) Dynamic management method and system for inventory
CN110751497A (en) Commodity replenishment method and device
US8380845B2 (en) Providing a monitoring service in a cloud-based computing environment
US20150294333A1 (en) Mobile device based inventory management and sales trends analysis in a retail environment
CN108694535B (en) Information generation method and device
CN110880084A (en) Warehouse replenishment method and device
CN110796413A (en) Cargo distribution method and device, storage medium and electronic equipment
CN109961306B (en) Method and device for distributing inventory of articles
CN111881221A (en) Method, device and equipment for customer portrait in logistics service
CN100520722C (en) Method, system and device for distributed multi-service logic asynchronous processing
CN113762858A (en) Inventory management method and device
CN108241941A (en) A kind of inventory management system
KR20200129365A (en) Product selection system for priority delivery using barcode and method thereof
US20160328674A1 (en) Method and system for omni-channel multi-hub order and inventory management
CN113988614A (en) Task generation method, device, equipment and storage medium
CN113538028A (en) Advertisement putting method and device
CN107203860B (en) Inventory information processing method and device
CN114565272A (en) Resource allocation method, device, electronic equipment and storage medium
Jin et al. Reducing expiry of slow-moving critical medical items with transshipment
CN115170026A (en) Task processing method and device
CN113706082A (en) Supply chain management method, system and computer readable storage medium
CN113902350A (en) Scheduling method and device and computer readable storage medium
CN116862365A (en) Warehouse-out control method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination