Tobacco commodity logistics scheduling method and system, medium and terminal
By retrieving tobacco commodity inventory information and determining the target sub-store based on transportation needs, the problem that the existing technology cannot meet the diversified needs of tobacco commodity transportation is solved, and more efficient and accurate tobacco commodity logistics scheduling is achieved.
Patent Information
- Application Number
- CN202411301665.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2025-02-28
AI Technical Summary
The existing tobacco commodity logistics scheduling methods cannot meet the needs of diversified tobacco commodity transportation, and cannot effectively consider factors such as regional preferences, seasonal changes, promotional activities and emergency orders.
When the tobacco scheduling task is detected, the tobacco commodity inventory information is retrieved, multiple tobacco commodity sub-stores are determined, and the target tobacco commodity sub-stores are determined based on transportation needs, and logistics scheduling instructions are sent to carry out logistics scheduling.
It improves the accuracy and efficiency of tobacco commodity scheduling, reduces the occurrence of logistics scheduling failures, meets the diversified needs of tobacco commodity transportation, and avoids the invalid logistics scheduling caused by dynamic inventory updates.
Smart Images

Figure CN119539645A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of tobacco technology, and more specifically, to a logistics scheduling method, system, medium and terminal for tobacco products. Background Art
[0002] With the rapid progress of big data processing technology, its application in various industrial fields has become increasingly extensive and in-depth, especially in improving production efficiency and optimizing operation management. For the tobacco industry, the introduction of big data technology can not only help enterprises achieve refined management of the production process, but also achieve a qualitative leap in the key link of logistics scheduling, ensuring that every link of tobacco products from production to market is efficient, accurate and traceable.
[0003] At present, after the existing tobacco products are packaged, they are dispatched from the total inventory in chronological order according to the dispatching tasks for dispatching and transportation. With the diversification of market demand, the logistics dispatch of tobacco products is no longer just a simple dispatch in chronological order, but also needs to consider regional preferences, seasonal changes, promotional activities, emergency orders and other factors. However, dispatching tobacco products only by time cannot meet the diversified needs of tobacco product transportation. Therefore, a logistics dispatching method for tobacco products is urgently needed to solve the above problems. Summary of the invention
[0004] An object of the present invention is to provide a method and system for logistics scheduling of tobacco products to solve the problem of low efficiency of logistics scheduling of tobacco products.
[0005] According to a first aspect of the present invention, a method for logistics scheduling of tobacco products is provided, comprising:
[0006] When it is detected that a tobacco dispatching task is generated, the tobacco commodity inventory information is retrieved, wherein the tobacco dispatching task includes the quantity of tobacco commodities, the transportation demand of tobacco commodities, and the identification of tobacco commodities, and the tobacco commodity inventory information is the inventory data of tobacco commodities stored in at least one commodity sub-library;
[0007] Determine a plurality of tobacco commodity sub-libraries from the tobacco commodity inventory information according to the tobacco commodity quantity and the tobacco commodity identification, and determine a target tobacco commodity sub-library from the tobacco commodity sub-libraries based on the tobacco commodity transportation demand;
[0008] After the target tobacco commodity sub-store passes the inventory verification, a logistics dispatch instruction is sent to the target tobacco commodity sub-store to instruct the target tobacco commodity sub-store to perform logistics dispatch according to the tobacco dispatch task carried in the logistics dispatch instruction.
[0009] Optionally, before retrieving tobacco commodity inventory information, the method further includes:
[0010] After receiving the logistics connection request of different commodity sub-stores, obtaining the location information, inventory extreme value, logistics mode, and real-time inventory quantity of the commodity sub-stores, wherein the different commodity sub-stores are placed in different tobacco commodity scheduling object areas;
[0011] A commodity sub-library logistics network is generated based on the location information and the logistics method, and tobacco commodity inventory information is generated based on the inventory extreme value and the real-time inventory quantity.
[0012] Optionally, determining a target tobacco commodity sub-library from the tobacco commodity sub-library based on the tobacco commodity transportation demand includes:
[0013] Analyze the transportation mode, transportation location and transportation time of the tobacco product transportation demand;
[0014] If a target tobacco commodity sub-library matching the transportation mode, the transportation location point, and the transportation duration is found in the commodity sub-library logistics network, an inventory verification instruction is sent to the target tobacco commodity sub-library;
[0015] If multiple target tobacco commodity sub-libraries matching the transportation mode, the transportation location point, and the transportation duration are queried from the commodity sub-library logistics network, the executed logistics scheduling instructions of the target tobacco commodity sub-library are obtained, and the target tobacco commodity sub-library is screened based on the executed logistics scheduling instructions, so as to send an inventory verification instruction to the screened target tobacco commodity sub-library.
[0016] Optionally, screening the target tobacco commodity sub-library based on the executed logistics scheduling instruction includes:
[0017] The dispatch rate of the target tobacco commodity sub-library is calculated based on the dispatch quantity corresponding to the executed logistics dispatch instruction and the execution dispatch time, and the target tobacco commodity sub-library with the smallest dispatch rate is selected as the screened target tobacco commodity sub-library.
[0018] Optionally, after sending the inventory verification instruction to the target tobacco product sub-library, the method further includes:
[0019] Receive the real-time inventory quantity and the number of executed logistics dispatch instructions fed back by the target tobacco product sub-database;
[0020] If the ratio of the real-time inventory quantity to the logistics dispatch instruction quantity is greater than a preset ratio threshold, it is determined that the target tobacco product sub-library has passed the inventory quantity verification;
[0021] If the ratio of the real-time inventory quantity to the logistics scheduling instruction quantity is less than or equal to a preset ratio threshold, it is determined that the target tobacco product sub-library has failed the inventory quantity verification.
[0022] Optionally, before sending the logistics dispatch instruction to the target tobacco product sub-library, the method further includes:
[0023] When receiving a logistics adjustment request fed back by the target tobacco product sub-library, judging whether to lock the scheduling task for the target tobacco product sub-library according to the adjustment quantity carried in the logistics adjustment request;
[0024] If the target tobacco commodity sub-library is locked, the step of searching the commodity sub-library logistics network for the target tobacco commodity sub-library that matches the transportation mode, transportation location, and transportation duration is re-executed.
[0025] According to a second aspect of the present invention, a tobacco commodity logistics scheduling system is provided, comprising:
[0026] A retrieval module, configured to retrieve tobacco commodity inventory information when detecting the generation of a tobacco scheduling task, wherein the tobacco scheduling task includes the quantity of tobacco commodities, the transportation demand of tobacco commodities, and the identification of tobacco commodities, and the tobacco commodity inventory information is inventory data of tobacco commodities stored in at least one commodity sub-library;
[0027] a determination module, configured to determine a plurality of tobacco commodity sub-libraries from the tobacco commodity inventory information according to the tobacco commodity quantity and the tobacco commodity identification, and determine a target tobacco commodity sub-library from the tobacco commodity sub-libraries based on the tobacco commodity transportation demand;
[0028] The sending module is used to send a logistics scheduling instruction to the target tobacco commodity sub-store after the target tobacco commodity sub-store passes the inventory verification, so as to instruct the target tobacco commodity sub-store to perform logistics scheduling according to the tobacco scheduling task carried in the logistics scheduling instruction.
[0029] Optionally, the system further comprises:
[0030] An acquisition module, for acquiring location information, inventory extreme value, logistics mode, and real-time inventory quantity of different commodity sub-stocks after receiving logistics connection requests from different commodity sub-stocks, wherein different commodity sub-stocks are placed in different tobacco commodity scheduling object areas;
[0031] A generation module is used to generate a commodity sub-library logistics network based on the location information and the logistics method, and to generate tobacco commodity inventory information based on the inventory extreme value and the real-time inventory quantity.
[0032] According to a third aspect of the present invention, there is provided a storage medium storing at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the above-mentioned method for logistics scheduling of tobacco products.
[0033] According to a fourth aspect of the present invention, there is provided a terminal, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;
[0034] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the above-mentioned tobacco commodity logistics scheduling method.
[0035] The tobacco product logistics scheduling method, system, medium and terminal disclosed in the present invention have the following technical effects:
[0036] Compared with the prior art, the embodiment of the present invention retrieves tobacco commodity inventory information when detecting the generation of a tobacco scheduling task, wherein the tobacco scheduling task includes the quantity of tobacco commodities, the transportation demand of tobacco commodities, and the identification of tobacco commodities, and the tobacco commodity inventory information is the inventory data of tobacco commodities stored in at least one tobacco commodity sub-library; determines multiple tobacco commodity sub-libraries from the tobacco commodity inventory information according to the quantity of tobacco commodities and the tobacco commodity identification, and determines a target tobacco commodity sub-library from the tobacco commodity sub-libraries based on the transportation demand of tobacco commodities; after the target tobacco commodity sub-library passes the inventory verification, sends a logistics scheduling instruction to the target tobacco commodity sub-library to instruct the target tobacco commodity sub-library to perform logistics scheduling according to the tobacco scheduling task carried in the logistics scheduling instruction. The expected tobacco commodity sub-library is screened from the dimensions of tobacco commodity quantity and tobacco commodity transportation demand, which greatly reduces the occurrence of logistics scheduling failures, greatly increases the matching degree between the target tobacco commodity sub-library and the tobacco commodity quantity, and meets the diversified needs of tobacco commodity transportation. In addition, on the basis of determining the target tobacco commodity sub-library, the inventory is verified to avoid invalid logistics scheduling caused by dynamic update of inventory, thereby greatly improving the accuracy and efficiency of tobacco commodity scheduling.
[0037] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0039] Figure 1 A flow chart of a logistics scheduling method for tobacco products provided by an embodiment of the present invention is shown;
[0040] Figure 2 A flow chart of another method for logistics scheduling of tobacco products provided by an embodiment of the present invention is shown;
[0041] Figure 3 A schematic diagram of a commodity sub-library logistics network structure provided by an embodiment of the present invention is shown;
[0042] Figure 4 Another schematic diagram of a commodity sub-library logistics network structure provided by an embodiment of the present invention is shown;
[0043] Figure 5 A block diagram of a tobacco commodity logistics scheduling system provided by an embodiment of the present invention is shown;
[0044] Figure 6 A schematic diagram of the structure of a terminal provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0045] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0046] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0047] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0048] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0049] The present invention proposes an embodiment of a logistics scheduling method for tobacco products. Specifically, Figure 1 As shown, the following steps are included:
[0050] 101. When it is detected that a tobacco scheduling task is generated, the tobacco commodity inventory information is retrieved.
[0051] In the embodiment of the present invention, the current execution subject is the tobacco comprehensive dispatching platform. When the tobacco demander orders tobacco through the tobacco ordering system, the system will generate a tobacco dispatching task according to the order quantity, tobacco product identification, and the shipping destination. Among them, the tobacco dispatching task includes the quantity of tobacco products, the transportation demand of tobacco products, and the identification of tobacco products. The tobacco product identification is a unique identification used to distinguish the current tobacco product from other tobacco products. It can be a barcode, a product number, or a combination of a tobacco product brand and a packaging specification (tobacco products of the same brand with different packaging specifications correspond to different tobacco product identifications) and other information of the tobacco product, which is not specifically limited in the embodiment of the present invention.
[0052] When the tobacco comprehensive scheduling platform detects a tobacco scheduling task, the tobacco commodity inventory information is retrieved, and the inventory information of the tobacco commodity corresponding to the tobacco commodity identifier in the tobacco scheduling task is matched. Among them, the current tobacco commodity inventory information is the inventory data of tobacco commodities stored in at least one tobacco commodity sub-library. The inventory data includes the inventory extreme value representing the warehouse throughput limit value, and the real-time inventory quantity representing the dynamic inventory quantity of the warehouse. The warehouse participating in tobacco scheduling can be a plurality of tobacco commodity sub-libraries, and each tobacco commodity sub-library is configured with a terminal device for data interaction with the tobacco comprehensive scheduling platform. Among them, the terminal device is a device for monitoring the category and quantity of tobacco in stock, and issuing control instructions to the intelligent stereoscopic warehouse, for example, an industrial computer, a computer device, or a portable mobile device, etc., which is not specifically limited in the embodiment of the present invention.
[0053] It should be noted that through data interaction between multiple tobacco product sub-databases and the tobacco comprehensive scheduling platform, it is possible to accurately allocate and ship tobacco product sub-databases as the inventory changes dynamically. At the same time, it is also possible to carry out local logistics scheduling based on the order destination, thereby improving the accuracy of scheduling and reducing the logistics transportation distance, thereby improving the flexibility of tobacco scheduling and the efficiency of tobacco product scheduling.
[0054] 102. Determine a plurality of tobacco commodity sub-libraries from the tobacco commodity inventory information according to the tobacco commodity quantity and the tobacco commodity identification, and determine a target tobacco commodity sub-library from the tobacco commodity sub-libraries based on the tobacco commodity transportation demand.
[0055] In an embodiment of the present invention, in order to filter out a target tobacco commodity sub-library expected to be scheduled for tobacco commodity from a global tobacco commodity sub-library, a mapping relationship set between a commodity sub-library and tobacco commodity inventory data is pre-constructed, and the mapping relationship set includes mapping relationships between different tobacco commodity sub-libraries and inventory data of different tobacco commodities. Among them, the inventory data of tobacco commodities includes a tobacco commodity identifier and a real-time inventory of the corresponding tobacco commodity, and the real-time inventory is updated in real time with the entry or exit of the inventory tobacco commodity. According to the tobacco commodity identifier in the tobacco scheduling task, a tobacco commodity sub-library storing sufficient tobacco commodities that need to be scheduled can be matched from the commodity sub-library and the tobacco commodity inventory data mapping relationship set. For example, a warehouse whose real-time inventory quantity is greater than the number of tobacco commodities is used as a tobacco commodity sub-library; or, a warehouse whose ratio of the real-time inventory to the number of tobacco commodities is greater than a preset multiple is used as a tobacco commodity sub-library. After determining the tobacco commodity sub-library, the tobacco commodity sub-library is further screened according to the tobacco commodity transportation demand to obtain the target tobacco commodity sub-library. Among them, the tobacco commodity transportation demand includes the arrival time limit requirement, the receiving destination and the logistics method requirement, etc., which are related to the logistics transportation of tobacco commodities.
[0056] It should be noted that, on the basis of determining the quantity requirements for transfer from the tobacco product sub-library based on the quantity of tobacco products and tobacco product identifications, further screening the tobacco product sub-library based on the transportation needs of tobacco products can greatly reduce transportation costs and meet the dispatch time requirements, thereby improving the level of intelligent dispatch of tobacco products.
[0057] 103. After the target tobacco commodity sub-store passes the inventory verification, send a logistics dispatch instruction to the target tobacco commodity sub-store to instruct the target tobacco commodity sub-store to perform logistics dispatch according to the tobacco dispatch task carried in the logistics dispatch instruction.
[0058] In the embodiment of the present invention, since the real-time inventory of tobacco products is constantly changing, there may be a situation where multiple tobacco scheduling tasks are directed to the same tobacco product sub-warehouse for scheduling. Therefore, after determining the target tobacco product sub-warehouse, in order to ensure the validity of the logistics scheduling instruction, before issuing the logistics scheduling instruction, it is necessary to verify the inventory of the target tobacco product sub-warehouse. If the verification is passed, the logistics scheduling instruction is sent to the target tobacco product sub-warehouse; if the verification fails, based on the tobacco product transportation demand, the warehouse with the shortest transportation distance is matched from the remaining tobacco product sub-warehouses as the target tobacco product sub-warehouse, or a scheduling warning is issued to seek human intervention, which is not specifically limited in the embodiment of the present invention.
[0059] It should be noted that inventory verification can also include expected inventory verification, that is, the current real-time inventory meets the number of tobacco products, but the real-time inventory in the current target tobacco product sub-library has other uses, such as being booked and needed to be reserved for special standby, or another tobacco dispatching task in the past also needs to dispatch tobacco products with the same tobacco product identification, etc., then it is necessary to deduct the expected inventory from the actual inventory and verify whether the remaining inventory meets the number of tobacco products. By performing inventory verification, it is possible to avoid the generation of unexecutable logistics dispatching instructions, thereby ensuring the effectiveness of logistics dispatching.
[0060] In another embodiment of the present invention, in order to further define and illustrate, as Figure 2 As shown, before the step of retrieving tobacco commodity inventory information, the method further includes:
[0061] 201. After receiving logistics connection requests from different tobacco product sub-databases, obtain location information, inventory extreme value, logistics method, and real-time inventory quantity of the tobacco product sub-database.
[0062] 202. Generate a commodity sub-stock logistics network based on the location information and the logistics method, and generate tobacco commodity inventory information based on the inventory extreme value and the real-time inventory quantity.
[0063] In an embodiment of the present invention, the tobacco comprehensive dispatching platform includes global overall dispatching and / or tobacco commodity dispatching objects corresponding to each sub-region. Among them, different tobacco commodity sub-libraries are placed in different tobacco commodity dispatching object areas. For example, City B corresponds to a total tobacco commodity dispatching object b, and multiple tobacco commodity sub-libraries within the scope of City B are tobacco commodity sub-libraries placed in the area of tobacco commodity dispatching object b. The dispatching relationship between the global overall dispatching, tobacco commodity dispatching objects, and tobacco commodity sub-libraries can be that the global overall dispatching directly dispatches the global tobacco commodity sub-libraries, or the global overall dispatching dispatches different tobacco commodity sub-libraries through the tobacco commodity dispatching objects, or each tobacco commodity dispatching object dispatches the tobacco commodity sub-libraries in its area, and updates the dispatching results to the global overall dispatching in real time. Of course, the above three scheduling methods can also be combined and used according to different tobacco scheduling tasks. For example, when the number of tobacco products in the tobacco scheduling task is large, the global overall scheduling is used to schedule through the tobacco product scheduling object; when the tobacco scheduling task is proposed by a certain tobacco product sub-library, the global overall scheduling directly schedules the tobacco product sub-library; when the tobacco scheduling task is small, the tobacco product scheduling object can be directly corresponding to the location information in the tobacco product transportation demand, and the tobacco product scheduling object directly schedules the tobacco product sub-library. Among them, the area corresponding to the tobacco product scheduling object can be a provincial area or a prefecture-level area, which is not specifically limited in the embodiment of the present invention.
[0064] Based on the above-mentioned multiple tobacco commodity sub-database scheduling methods, the corresponding commodity sub-database logistics network can be constructed based on the logistics connection request sent by the tobacco commodity sub-database. Figure 3 As shown, each tobacco commodity sub-library can be directly connected to the global overall scheduling to obtain the logistics network of the first commodity sub-library. Furthermore, according to different logistics methods, multiple logistics networks of logistics methods can be classified under the logistics network of the first commodity sub-library, such as air logistics network, land logistics network, shipping logistics network, land and shipping logistics network, etc. Of course, only one logistics network can be generated, and the logistics method can be configured as the attribute of the logistics network node in the tobacco commodity sub-library. Regarding the method of scheduling different tobacco commodity sub-libraries through tobacco commodity scheduling objects by the global overall scheduling, as shown in FIG. Figure 4 As shown, based on the location information of the tobacco commodity sub-library, the tobacco commodity scheduling object corresponding to the tobacco commodity sub-library can be determined, and a secondary logistics network is first constructed between the tobacco commodity sub-library and the corresponding tobacco commodity scheduling object, and then a primary logistics network is constructed between each tobacco commodity scheduling object and the global overall scheduling, and then divided according to the logistics method, and the division method is consistent with the method in which each tobacco commodity sub-library is directly connected to the global overall scheduling, which will not be repeated here. Among them, the relationship between each tobacco commodity sub-library can be flat or multi-level division. For example, corresponding to the division of administrative regions, the warehouse at the provincial capital is configured as a first-level sub-library, the warehouse at the prefecture-level city is configured as a second-level sub-library, and the warehouse at the county-level city is configured as a third-level sub-library. For another example, according to the warehouse volume and management level division, for multiple tobacco commodity sub-libraries within a city, the tobacco commodity sub-library with the largest volume or the highest management level is configured as the main warehouse, and other commodity sub-libraries are configured as branch warehouses. The main warehouse has the authority to dispatch the commodity sub-library and allocate inventory between the sub-libraries. The hierarchical relationship between sub-libraries may also be customized according to the distribution of specific tobacco product sub-libraries, which is not specifically limited in the embodiment of the present invention.
[0065] It should be noted that by constructing a commodity sub-library logistics network, a corresponding relationship between the calling object and the tobacco commodity sub-library is established. In the process of determining the target tobacco commodity sub-library, the target tobacco commodity sub-library can be quickly located based on the distribution location of the tobacco commodity and the transportation demand, which greatly reduces the screening amount of the tobacco commodity sub-library, thereby improving the efficiency and accuracy of scheduling.
[0066] In another embodiment of the present invention, for further definition and explanation, the step of determining a target tobacco commodity sub-library from the tobacco commodity sub-library based on the tobacco commodity transportation demand includes:
[0067] Analyze the transportation mode, transportation location and transportation time of the tobacco product transportation demand;
[0068] If a target tobacco commodity sub-library matching the transportation mode, the transportation location point, and the transportation duration is found in the commodity sub-library logistics network, an inventory verification instruction is sent to the target tobacco commodity sub-library;
[0069] If multiple target tobacco commodity sub-libraries matching the transportation mode, the transportation location point, and the transportation duration are queried from the commodity sub-library logistics network, the executed logistics scheduling instructions of the target tobacco commodity sub-library are obtained, and the target tobacco commodity sub-library is screened based on the executed logistics scheduling instructions, so as to send an inventory verification instruction to the screened target tobacco commodity sub-library.
[0070] In the embodiment of the present invention, the transport location point represents the dispatch destination location of the tobacco commodity, and the transport time represents the time requirement for arrival. When the transport location point is relatively remote and there are relatively few tobacco commodity sub-libraries distributed nearby, only one tobacco commodity sub-library that meets the transportation mode and transportation time may be screened out, and this tobacco commodity sub-library can be directly used as the target tobacco commodity sub-library, and the inventory of this sub-library is verified. However, when the tobacco commodity circulation volume at the transport location point is large and there are relatively many tobacco commodity sub-libraries distributed nearby, there may be multiple tobacco commodity sub-libraries that meet the transportation mode and transportation time at the same time, that is, multiple target tobacco commodity sub-libraries are matched. At this time, in order to screen out the only target tobacco commodity sub-library, the executed logistics scheduling instructions of different target tobacco commodity sub-libraries are screened. Among them, the executed logistics scheduling instruction means that the corresponding tobacco commodity sub-library has received the logistics scheduling instruction and is in the process of logistics scheduling according to the tobacco scheduling task. At this time, the outbound action of the tobacco commodity has not been completed and the inventory has not changed. Since the executed logistics scheduling instructions represent the expected outbound delivery actions being executed, the quantity of tobacco products involved is not reflected in the inventory data. By screening the target tobacco product sub-library based on the executed logistics scheduling instructions, the scheduling feasibility of the target tobacco product sub-library can be evaluated based on the expected outbound delivery quantity, thereby improving the effectiveness of scheduling.
[0071] In another embodiment of the present invention, for further definition and explanation, the step of screening the target tobacco commodity sub-library based on the executed logistics scheduling instruction includes:
[0072] The dispatch rate of the target tobacco commodity sub-library is calculated based on the dispatch quantity corresponding to the executed logistics dispatch instruction and the execution dispatch time, and the target tobacco commodity sub-library with the smallest dispatch rate is selected as the screened target tobacco commodity sub-library.
[0073] In an embodiment of the present invention, when there are multiple target tobacco commodity sub-libraries that match the transportation mode, transportation location, and transportation duration, in order to determine a unique scheduling warehouse, the scheduling rate of each target tobacco commodity sub-library is calculated based on the executed logistics scheduling instruction. The scheduling rate is the ratio of the number of scheduled tobacco commodities to the execution scheduling time, which is used to characterize the active degree of tobacco commodity scheduling in the corresponding tobacco commodity sub-library. The execution scheduling time is the interval time between the execution time of the executed logistics scheduling instruction and the current moment. For example, if the number of tobacco commodities for which the logistics scheduling instruction has been executed is a and the execution scheduling time is b, then the scheduling rate is a / b. The larger the number of tobacco commodities a carried by the currently executed logistics scheduling instruction is, the larger the number of tobacco products that are transferred out of the target tobacco commodity sub-library is, and the larger the scheduling rate is; the smaller the execution scheduling time b of the executed logistics scheduling instruction from the current moment is, the higher the frequency of tobacco commodities in the target tobacco commodity sub-library is scheduled, and the larger the scheduling rate is. The target tobacco commodity sub-library with the smallest dispatch rate, i.e., the lowest tobacco commodity dispatch activity, is selected as the target tobacco commodity sub-library, which greatly reduces the variables of tobacco commodity inventory in the target tobacco commodity sub-library, thereby ensuring the pass rate of tobacco inventory verification.
[0074] In another embodiment of the present invention, for further definition and explanation, after sending the inventory verification instruction to the target tobacco product sub-library, the method further includes:
[0075] Receive the real-time inventory quantity and the number of executed logistics dispatch instructions fed back by the target tobacco product sub-database;
[0076] If the ratio of the real-time inventory quantity to the logistics dispatch instruction quantity is greater than a preset ratio threshold, it is determined that the target tobacco product sub-library has passed the inventory quantity verification;
[0077] If the ratio of the real-time inventory quantity to the logistics scheduling instruction quantity is less than or equal to a preset ratio threshold, it is determined that the target tobacco product sub-library has failed the inventory quantity verification.
[0078] In the embodiment of the present invention, the inventory verification is performed by the tobacco comprehensive scheduling platform. The terminal device side corresponding to the target tobacco commodity sub-library only supports the query of the verification data, that is, after receiving the inventory verification instruction, the real-time inventory and the number of executed logistics scheduling instructions are fed back to the tobacco comprehensive scheduling platform, so that the tobacco comprehensive scheduling platform verifies the inventory of the target tobacco commodity sub-library according to the real-time inventory and the number of executed logistics scheduling instructions. The inventory verification is based on the ratio of the real-time inventory to the number of logistics scheduling instructions and the preset ratio threshold. For example, the preset ratio threshold is 3. When the ratio of the real-time inventory to the number of logistics scheduling instructions is 4, it indicates that the real-time inventory is still sufficient after deducting the number of logistics scheduling instructions, and can fully meet the subsequent tobacco scheduling tasks, and the inventory verification is determined to be passed; when the ratio of the real-time inventory to the number of logistics scheduling instructions is 1.5, it indicates that the real-time inventory is less after deducting the number of logistics scheduling instructions, and the subsequent tobacco scheduling tasks are unlikely to be met, and the inventory verification is determined to be unsuccessful. The preset ratio threshold may be 3, 4, 5, etc., and may also be customized according to actual application requirements, which is not specifically limited in the embodiment of the present invention.
[0079] In another embodiment of the present invention, for further definition and explanation, before sending the logistics dispatch instruction to the target tobacco product sub-library, the method further includes:
[0080] When receiving a logistics adjustment request fed back by the target tobacco product sub-library, judging whether to lock the scheduling task for the target tobacco product sub-library according to the adjustment quantity carried in the logistics adjustment request;
[0081] If the target tobacco commodity sub-library is locked, the step of searching the commodity sub-library logistics network for the target tobacco commodity sub-library that matches the transportation mode, transportation location, and transportation duration is re-executed.
[0082] In the embodiment of the present invention, after the terminal device of the target tobacco commodity sub-library receives the logistics scheduling instruction, the real-time inventory quantity will be scheduled according to the number of tobacco commodities and the tobacco commodity identification. When the scheduling execution is abnormal, that is, the real-time inventory quantity does not meet the number of tobacco commodities, the terminal device will determine the difference between the real-time inventory quantity and the number of tobacco commodities or the real-time inventory quantity as the adjustment quantity. For example, the number of tobacco commodities is 6 boxes, the adjustment quantity is 1 box less, or the expected scheduling is 5 boxes, and the logistics adjustment request carrying the adjustment quantity is sent to the tobacco comprehensive scheduling platform. The tobacco comprehensive scheduling platform can forward this logistics adjustment request to the scheduling personnel terminal to determine whether to accept the current scheduling. If accepted, the scheduling is executed. If not accepted, the scheduling task is locked for the target tobacco commodity sub-library, that is, when the step of querying the target tobacco commodity sub-library matching the transportation mode, transportation location point, and transportation duration from the commodity sub-library logistics network is re-executed, the locked target tobacco commodity sub-library is shielded, and a new target tobacco commodity sub-library is re-determined from the unlocked tobacco commodity sub-library. Since the scheduling of the tobacco commodity sub-library is very frequent, the logistics adjustment request is used as a bottom-up solution for logistics scheduling to ensure the execution of the scheduling task.
[0083] The present invention provides a logistics scheduling method for tobacco products. Compared with the prior art, the embodiment of the present invention retrieves tobacco product inventory information when detecting the generation of a tobacco scheduling task, wherein the tobacco scheduling task includes the quantity of tobacco products, the transportation demand of tobacco products, and the identification of tobacco products, and the tobacco product inventory information is the inventory data of tobacco products stored in at least one product sub-library; multiple tobacco product sub-libraries are determined from the tobacco product inventory information according to the quantity of tobacco products and the identification of tobacco products, and a target tobacco product sub-library is determined from the tobacco product sub-libraries based on the transportation demand of tobacco products; after the target tobacco product sub-library passes the inventory verification, a logistics scheduling instruction is sent to the target tobacco product sub-library to instruct the target tobacco product sub-library to perform logistics scheduling according to the tobacco scheduling task carried in the logistics scheduling instruction. The expected tobacco commodity sub-library is screened from the dimensions of tobacco commodity quantity and tobacco commodity transportation demand, which greatly reduces the occurrence of logistics scheduling failures, greatly increases the matching degree between the target tobacco commodity sub-library and the tobacco commodity quantity, and meets the diversified needs of tobacco commodity transportation. In addition, on the basis of determining the target tobacco commodity sub-library, the inventory is verified to avoid invalid logistics scheduling caused by dynamic update of inventory, thereby greatly improving the accuracy and efficiency of tobacco commodity scheduling.
[0084] Furthermore, as a response to the above Figure 1 The implementation of the method shown in the figure, the embodiment of the present invention provides a logistics scheduling system for tobacco products, such as Figure 5 As shown, the system includes:
[0085] A retrieval module 51 is used to retrieve tobacco commodity inventory information when detecting the generation of a tobacco scheduling task, wherein the tobacco scheduling task includes the quantity of tobacco commodities, the transportation demand of tobacco commodities, and the identification of tobacco commodities, and the tobacco commodity inventory information is the inventory data of tobacco commodities stored in at least one commodity sub-library;
[0086] A determination module 52, configured to determine a plurality of tobacco commodity sub-libraries from the tobacco commodity inventory information according to the tobacco commodity quantity and the tobacco commodity identification, and determine a target tobacco commodity sub-library from the tobacco commodity sub-libraries based on the tobacco commodity transportation demand;
[0087] The sending module 53 is used to send a logistics scheduling instruction to the target tobacco product sub-store after the target tobacco product sub-store passes the inventory verification, so as to instruct the target tobacco product sub-store to perform logistics scheduling according to the tobacco scheduling task carried in the logistics scheduling instruction.
[0088] Furthermore, the system further comprises:
[0089] An acquisition module, for acquiring location information, inventory extreme value, logistics mode, and real-time inventory quantity of different commodity sub-stocks after receiving logistics connection requests from different commodity sub-stocks, wherein different commodity sub-stocks are placed in different tobacco commodity scheduling object areas;
[0090] A generation module is used to generate a commodity sub-library logistics network based on the location information and the logistics method, and to generate tobacco commodity inventory information based on the inventory extreme value and the real-time inventory quantity.
[0091] Furthermore, the determination module 52 is specifically used to parse the transportation mode, transportation location point, and transportation duration of the tobacco product transportation demand; if one target tobacco product sub-library matching the transportation mode, the transportation location point, and the transportation duration is found from the product sub-library logistics network, an inventory verification instruction is sent to the target tobacco product sub-library; if multiple target tobacco product sub-libraries matching the transportation mode, the transportation location point, and the transportation duration are found from the product sub-library logistics network, the executed logistics scheduling instruction of the target tobacco product sub-library is obtained, and the target tobacco product sub-library is screened based on the executed logistics scheduling instruction, so as to send an inventory verification instruction to the screened target tobacco product sub-library.
[0092] Furthermore, the determination module 52 is specifically used to calculate the dispatch rate of the target tobacco product sub-library based on the dispatch quantity corresponding to the executed logistics dispatch instruction and the execution dispatch time, and select the target tobacco product sub-library with the smallest dispatch rate as the screened target tobacco product sub-library.
[0093] Furthermore, the system further comprises: a receiving module,
[0094] The receiving module is used to receive the real-time inventory quantity and the number of executed logistics scheduling instructions fed back by the target tobacco product sub-library;
[0095] The determination module is further configured to determine that the target tobacco product sub-library has passed the inventory verification if the ratio of the real-time inventory to the logistics scheduling instruction quantity is greater than a preset ratio threshold;
[0096] The determination module is further configured to determine that the target tobacco product sub-library has failed the inventory verification if the ratio of the real-time inventory to the logistics scheduling instruction quantity is less than or equal to a preset ratio threshold.
[0097] Furthermore, the system comprises:
[0098] A judgment module, configured to, when receiving a logistics adjustment request fed back by the target tobacco product sub-library, judge whether to lock the scheduling task for the target tobacco product sub-library according to the adjustment quantity carried in the logistics adjustment request;
[0099] The execution module is used for re-executing the step of querying the target tobacco commodity sub-library matching the transportation mode, transportation location point and transportation duration from the commodity sub-library logistics network if the target tobacco commodity sub-library is locked.
[0100] The present invention provides a logistics scheduling system for tobacco products. Compared with the prior art, the embodiment of the present invention retrieves tobacco product inventory information when detecting the generation of a tobacco scheduling task, wherein the tobacco scheduling task includes the quantity of tobacco products, the transportation demand of tobacco products, and the identification of tobacco products, and the tobacco product inventory information is the inventory data of tobacco products stored in at least one product sub-library; multiple tobacco product sub-libraries are determined from the tobacco product inventory information according to the quantity of tobacco products and the identification of tobacco products, and a target tobacco product sub-library is determined from the tobacco product sub-libraries based on the transportation demand of tobacco products; after the target tobacco product sub-library passes the inventory verification, a logistics scheduling instruction is sent to the target tobacco product sub-library to instruct the target tobacco product sub-library to perform logistics scheduling according to the tobacco scheduling task carried in the logistics scheduling instruction. The expected tobacco commodity sub-library is screened from the dimensions of tobacco commodity quantity and tobacco commodity transportation demand, which greatly reduces the occurrence of logistics scheduling failures, greatly increases the matching degree between the target tobacco commodity sub-library and the tobacco commodity quantity, and meets the diversified needs of tobacco commodity transportation. In addition, on the basis of determining the target tobacco commodity sub-library, the inventory is verified to avoid invalid logistics scheduling caused by dynamic update of inventory, thereby greatly improving the accuracy and efficiency of tobacco commodity scheduling.
[0101] According to one embodiment of the present invention, a storage medium is provided, wherein the storage medium stores at least one executable instruction, and the computer executable instruction can execute the logistics scheduling method for tobacco products in any of the above method embodiments.
[0102] Figure 6 A schematic diagram of the structure of a terminal provided according to an embodiment of the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the terminal.
[0103] like Figure 6 As shown, the terminal may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
[0104] The processor 602 , the communication interface 604 , and the memory 606 communicate with each other via a communication bus 608 .
[0105] The communication interface 604 is used to communicate with other devices such as clients or other servers.
[0106] The processor 602 is used to execute the program 610, and specifically can execute the relevant steps in the above-mentioned embodiment of the logistics scheduling method for tobacco products.
[0107] Specifically, the program 610 may include program codes, which include computer operation instructions.
[0108] The processor 602 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the terminal may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.
[0109] The memory 606 is used to store the program 610. The memory 606 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0110] The program 610 may be specifically configured to enable the processor 602 to perform the following operations:
[0111] When it is detected that a tobacco dispatching task is generated, the tobacco commodity inventory information is retrieved, wherein the tobacco dispatching task includes the quantity of tobacco commodities, the transportation demand of tobacco commodities, and the identification of tobacco commodities, and the tobacco commodity inventory information is the inventory data of tobacco commodities stored in at least one commodity sub-library;
[0112] Determine a plurality of tobacco commodity sub-libraries from the tobacco commodity inventory information according to the tobacco commodity quantity and the tobacco commodity identification, and determine a target tobacco commodity sub-library from the tobacco commodity sub-libraries based on the tobacco commodity transportation demand;
[0113] After the target tobacco commodity sub-store passes the inventory verification, a logistics dispatch instruction is sent to the target tobacco commodity sub-store to instruct the target tobacco commodity sub-store to perform logistics dispatch according to the tobacco dispatch task carried in the logistics dispatch instruction.
[0114] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing system, they can be concentrated on a single computing system, or distributed on a network composed of multiple computing systems, and optionally, they can be implemented by a program code executable by a computing system, so that they can be stored in a storage system and executed by the computing system, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0115] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
[0116] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings, but the above is only a preferred embodiment of the present invention. It should be noted that the technical features involved in the above embodiments and their preferred methods can be reasonably combined and matched into a variety of equivalent schemes by those skilled in the art without departing from or changing the design ideas and technical effects of the present invention; therefore, the present invention is not limited to the scope of implementation shown in the drawings, and all changes made in accordance with the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the specification and drawings, should be within the protection scope of the present invention.
Claims
1. A method for logistics scheduling of tobacco products, characterized in that: include: When it is detected that a tobacco dispatching task is generated, the tobacco commodity inventory information is retrieved, wherein the tobacco dispatching task includes the quantity of tobacco commodities, the transportation demand of tobacco commodities, and the identification of tobacco commodities, and the tobacco commodity inventory information is the inventory data of tobacco commodities stored in at least one commodity sub-library; Determine a plurality of tobacco commodity sub-libraries from the tobacco commodity inventory information according to the tobacco commodity quantity and the tobacco commodity identification, and determine a target tobacco commodity sub-library from the tobacco commodity sub-libraries based on the tobacco commodity transportation demand; After the target tobacco commodity sub-store passes the inventory verification, a logistics dispatch instruction is sent to the target tobacco commodity sub-store to instruct the target tobacco commodity sub-store to perform logistics dispatch according to the tobacco dispatch task carried in the logistics dispatch instruction.
2. The method for logistics dispatching of tobacco products according to claim 1, characterized in that: Before retrieving tobacco commodity inventory information, the method further includes: After receiving the logistics connection request of different commodity sub-stores, obtaining the location information, inventory extreme value, logistics mode, and real-time inventory quantity of the commodity sub-stores, wherein the different commodity sub-stores are placed in different tobacco commodity scheduling object areas; A commodity sub-library logistics network is generated based on the location information and the logistics method, and tobacco commodity inventory information is generated based on the inventory extreme value and the real-time inventory quantity.
3. The method for logistics dispatching of tobacco products according to claim 2, characterized in that: The step of determining a target tobacco commodity sub-library from the tobacco commodity sub-library based on the tobacco commodity transportation demand comprises: Analyze the transportation mode, transportation location and transportation time of the tobacco product transportation demand; If a target tobacco commodity sub-library matching the transportation mode, the transportation location point, and the transportation duration is found in the commodity sub-library logistics network, an inventory verification instruction is sent to the target tobacco commodity sub-library; If multiple target tobacco commodity sub-libraries matching the transportation mode, the transportation location point, and the transportation duration are queried from the commodity sub-library logistics network, the executed logistics scheduling instructions of the target tobacco commodity sub-library are obtained, and the target tobacco commodity sub-library is screened based on the executed logistics scheduling instructions, so as to send an inventory verification instruction to the screened target tobacco commodity sub-library.
4. The method for logistics dispatching of tobacco products according to claim 3, characterized in that: The screening of the target tobacco commodity sub-library based on the executed logistics scheduling instruction comprises: The dispatch rate of the target tobacco commodity sub-library is calculated based on the dispatch quantity corresponding to the executed logistics dispatch instruction and the execution dispatch time, and the target tobacco commodity sub-library with the smallest dispatch rate is selected as the screened target tobacco commodity sub-library.
5. The method for logistics dispatching of tobacco products according to claim 3, characterized in that: After sending the inventory verification instruction to the target tobacco product sub-library, the method further includes: Receive the real-time inventory quantity and the number of executed logistics dispatch instructions fed back by the target tobacco product sub-database; If the ratio of the real-time inventory quantity to the logistics scheduling instruction quantity is greater than a preset ratio threshold, it is determined that the target tobacco product sub-library has passed the inventory quantity verification; If the ratio of the real-time inventory quantity to the logistics scheduling instruction quantity is less than or equal to a preset ratio threshold, it is determined that the target tobacco product sub-library has failed the inventory quantity verification.
6. The method for logistics dispatching of tobacco products according to claim 1, characterized in that: Before sending the logistics dispatch instruction to the target tobacco product sub-library, the method further includes: When receiving a logistics adjustment request fed back by the target tobacco product sub-library, judging whether to lock the scheduling task for the target tobacco product sub-library according to the adjustment quantity carried in the logistics adjustment request; If the target tobacco commodity sub-library is locked, the step of searching the commodity sub-library logistics network for the target tobacco commodity sub-library that matches the transportation mode, transportation location, and transportation duration is re-executed.
7. A logistics dispatching system for tobacco products, characterized in that: include: A retrieval module, configured to retrieve tobacco commodity inventory information when detecting the generation of a tobacco scheduling task, wherein the tobacco scheduling task includes the quantity of tobacco commodities, the transportation demand of tobacco commodities, and the identification of tobacco commodities, and the tobacco commodity inventory information is inventory data of tobacco commodities stored in at least one commodity sub-library; a determination module, configured to determine a plurality of tobacco commodity sub-libraries from the tobacco commodity inventory information according to the tobacco commodity quantity and the tobacco commodity identification, and determine a target tobacco commodity sub-library from the tobacco commodity sub-libraries based on the tobacco commodity transportation demand; The sending module is used to send a logistics scheduling instruction to the target tobacco commodity sub-store after the target tobacco commodity sub-store passes the inventory verification, so as to instruct the target tobacco commodity sub-store to perform logistics scheduling according to the tobacco scheduling task carried in the logistics scheduling instruction.
8. The tobacco commodity logistics dispatching system according to claim 7, characterized in that: The system further comprises: An acquisition module, for acquiring location information, inventory extreme value, logistics mode, and real-time inventory quantity of different commodity sub-stocks after receiving logistics connection requests from different commodity sub-stocks, wherein different commodity sub-stocks are placed in different tobacco commodity scheduling object areas; A generation module is used to generate a commodity sub-library logistics network based on the location information and the logistics method, and to generate tobacco commodity inventory information based on the inventory extreme value and the real-time inventory quantity.
9. A storage medium storing at least one executable instruction, wherein the executable instruction enables a processor to execute operations corresponding to the logistics scheduling method for tobacco products according to any one of claims 1 to 6.
10. A terminal, comprising: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute operations corresponding to the logistics scheduling method for tobacco products according to any one of claims 1-6.