Traditional Chinese medicine decoction piece order processing method, device and medium based on goods grouping
By grouping and matching Chinese herbal medicine slices with warehouses, the problems of logistics costs and timeliness under multi-warehouse development were solved, and more efficient order processing and inventory management were achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-09
- Publication Date
- 2026-03-24
AI Technical Summary
In existing technologies, when developing multi-warehouse systems, if a user selects many products, a single order may require shipment from multiple warehouses, which can affect logistics costs and delivery time.
Based on the pre-set quality standards for Chinese herbal medicine slices, each type of product is grouped to generate a group library. By obtaining supplier attribute information and user ordering requirements, the system pushes suitable warehouse product information to the user's purchase interface for selection and ordering. Finally, the product is dispatched from the suitable warehouse.
By grouping goods, the number of orders split due to stockouts is reduced, lowering the company's logistics costs while meeting user needs.
Smart Images

Figure CN116013458B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application belongs to the technical field of traditional Chinese medicine decoction pieces, and particularly relates to a traditional Chinese medicine decoction piece order processing method and device based on goods grouping and a medium. BACKGROUND
[0002] When a user purchases decoction pieces through a traditional Chinese medicine decoction piece sales mall, the user is confused in selection for the same goods but different attribute medicines. When the mall develops multiple warehouses, a single order goods may need to be delivered from multiple warehouses, which has a certain impact on logistics cost and logistics timeliness, and therefore an effective method is needed to solve the above problems. SUMMARY
[0003] The application aims to provide a traditional Chinese medicine decoction piece order processing method and device based on goods grouping and a medium to solve the technical problem that multiple warehouse development of the prior art causes a single order goods to need to be delivered from multiple warehouses when the user selects more goods, which has a certain impact on logistics cost and logistics timeliness.
[0004] To achieve the above-mentioned purpose, the application adopts the following technical solutions.
[0005] The first aspect provides a traditional Chinese medicine decoction piece order processing method based on goods grouping, comprising:
[0006] According to a preset goods quality standard of the traditional Chinese medicine decoction pieces, each goods is grouped and processed to generate and store a corresponding group library of each goods, wherein each group library includes multiple subgroups of each goods;
[0007] Attribute information of goods provided by each supplier is obtained, and each goods is matched to a corresponding subgroup according to the attribute information;
[0008] Goods ordering requirements of a user are obtained, and goods information of a warehouse adapted to the goods ordering requirements of the user is pushed to a user purchase interface for the user to select and order according to goods subgroup information in the goods ordering requirements;
[0009] Order information of the user is obtained, and goods matched to the order information are dispatched from the adapted warehouse for delivery.
[0010] In a possible design, according to a preset goods quality standard of the traditional Chinese medicine decoction pieces, each goods is grouped and processed to generate and store a corresponding group library of each goods, comprising:
[0011] According to a preset grade standard of the traditional Chinese medicine decoction pieces, each goods is grouped and processed to generate and store subgroups of different grades of each goods; or
[0012] According to the preset grade and specification standard of the traditional Chinese medicine decoction pieces, each kind of goods is grouped to generate and store the subdivided groups of different grades and different specifications of each kind of goods.
[0013] In a possible design, attribute information of goods provided by each supplier is acquired, and each kind of goods is matched to a corresponding subdivided group according to the attribute information, including:
[0014] ID information, grade information, manufacturer information and origin information of goods provided by each supplier are acquired, each kind of goods is matched to a corresponding subdivided group according to the grade information, and the association between the goods and the ID information, the manufacturer information and the origin information is established; or
[0015] ID information, grade information, manufacturer information, specification information and origin information of goods provided by each supplier are acquired, each kind of goods is matched to a corresponding subdivided group according to the grade information and the specification information, and the association between the goods and the ID information, the manufacturer information and the origin information is established.
[0016] In a possible design, the goods ordering demand of a user is acquired, and according to the subdivided group information of each kind of goods in the goods ordering demand, the goods information of a warehouse adapted to the goods ordering demand is pushed to a user purchase interface, including:
[0017] The goods ordering demand of a user is acquired, and the goods ordering demand at least includes the ordering demand of one kind of goods;
[0018] According to the subdivided group information of each kind of goods in the goods ordering demand, the current inventory of each warehouse is queried, and the warehouse with the most satisfied inventory is taken as the adapted warehouse;
[0019] The goods information of the adapted warehouse is pushed to the user purchase interface.
[0020] In a possible design, when the goods ordering demand includes one kind of goods, according to the subdivided group information of each kind of goods in the goods ordering demand, the current inventory of each warehouse is queried, and the warehouse with the most satisfied inventory is taken as the adapted warehouse, including:
[0021] The subdivided group of one kind of goods in the goods ordering demand is acquired, the current inventory of the subdivided group in each warehouse is queried according to the priority of each warehouse, if the current queried warehouse can satisfy the goods ordering demand, the current queried warehouse is taken as the adapted warehouse, and each warehouse includes a main warehouse and at least one sub-warehouse.
[0022] In a possible design, the method further includes:
[0023] When the current inventory of the sub-group of the goods in all warehouses cannot meet the goods ordering demand, the goods information of other sub-groups of the goods in the main warehouse is pushed to the user purchase interface.
[0024] In a possible design, when the goods ordering demand includes two or more kinds of goods, the current inventory of each warehouse is queried according to the sub-group information corresponding to each kind of goods in the goods ordering demand, and the warehouse whose inventory can best meet the goods ordering demand is taken as the adapted warehouse, including:
[0025] The sub-group of each kind of goods in the goods ordering demand is obtained, and it is determined whether the main warehouse can at least meet the ordering demand of several kinds of goods, if yes, the main warehouse is taken as the adapted warehouse, if not, it is determined whether each sub-warehouse can meet the goods ordering demand alone, if yes, the sub-warehouse that can meet the demand is adjusted to the main warehouse as the adapted warehouse.
[0026] In a possible design, when the main warehouse can at least meet the ordering demand of several kinds of goods, the goods information of the warehouse adapted to the goods ordering demand is pushed to the user purchase interface, further including:
[0027] The goods information of other sub-groups of the goods that cannot meet the ordering demand is pushed to the user purchase interface as substitute goods.
[0028] The second aspect provides a traditional Chinese medicine decoction piece order processing device based on goods grouping, including:
[0029] A goods grouping module is configured to group each kind of goods according to a preset goods quality standard of traditional Chinese medicine decoction pieces, to generate and store a group library corresponding to each kind of goods, wherein each group library includes a plurality of sub-groups of each kind of goods.
[0030] An attribute matching module is configured to obtain attribute information of goods provided by each supplier, and match each kind of goods to a corresponding sub-group according to the attribute information.
[0031] A warehouse matching module is configured to obtain a goods ordering demand of a user, and push goods information of a warehouse adapted to the goods ordering demand to a user purchase interface according to the sub-group information of the goods in the goods ordering demand, so that the user selects and places an order.
[0032] A delivery configuration module is configured to obtain order information of a user, and dispatch goods matched with the order information from the adapted warehouse for delivery.
[0033] In a possible design, when each kind of goods is grouped according to a preset goods quality standard of traditional Chinese medicine decoction pieces, to generate and store a group library corresponding to each kind of goods, the goods grouping module is specifically configured to:
[0034] According to the grade standard of the traditional Chinese medicine decoction pieces, each kind of goods is grouped to generate and store the subgroups of different grades of each kind of goods; or
[0035] According to the grade and specification standard of the traditional Chinese medicine decoction pieces, each kind of goods is grouped to generate and store the subgroups of different grades and different specifications of each kind of goods.
[0036] In a possible design, when the attribute information of the goods provided by each supplier is acquired and each kind of goods is matched to the corresponding subgroup according to the attribute information, the attribute matching module is specifically configured to:
[0037] The ID information, grade information, manufacturer information and origin information of the goods provided by each supplier are acquired, each kind of goods is matched to the corresponding subgroup according to the grade information, and the association between the goods and the ID information, manufacturer information and origin information is established; or
[0038] The ID information, grade information, manufacturer information, specification information and origin information of the goods provided by each supplier are acquired, each kind of goods is matched to the corresponding subgroup according to the grade information and specification information, and the association between the goods and the ID information, manufacturer information and origin information is established.
[0039] In a possible design, when the goods ordering demand of the user is acquired, the warehouse matching module is specifically configured to:
[0040] The goods ordering demand of the user is acquired, wherein the goods ordering demand at least includes the ordering demand of one kind of goods;
[0041] According to the subgroup information corresponding to each kind of goods in the goods ordering demand, the current inventory of each warehouse is queried, and the warehouse with the inventory most capable of satisfying the goods ordering demand is taken as the adapted warehouse;
[0042] The goods information of the adapted warehouse is pushed to the user purchase interface.
[0043] In a possible design, when the goods ordering demand includes one kind of goods, according to the subgroup information corresponding to each kind of goods in the goods ordering demand, the current inventory of each warehouse is queried, and the warehouse with the inventory most capable of satisfying the goods ordering demand is taken as the adapted warehouse, including:
[0044] Obtaining a sub-group of one of the goods in the goods ordering demand, querying the current inventory of the sub-group in each warehouse according to the priority of each warehouse, and if the current queried warehouse can meet the goods ordering demand, taking the current queried warehouse as the adapted warehouse, wherein each warehouse includes a main warehouse and at least one sub-warehouse.
[0045] In a possible design, the apparatus further includes:
[0046] When the current inventory of the sub-group in all warehouses cannot meet the goods ordering demand, pushing the information of goods of other sub-groups of the goods in the main warehouse to the user purchase interface.
[0047] In a possible design, when the goods ordering demand includes two or more than two goods, according to the sub-group information corresponding to each of the goods in the goods ordering demand, querying the current inventory of each warehouse, and taking the warehouse with the most inventory meeting the goods ordering demand as the adapted warehouse, including:
[0048] Obtaining the sub-group of each of the goods in the goods ordering demand, querying whether the main warehouse can meet the ordering demand of at least some of the goods, if yes, taking the main warehouse as the adapted warehouse, if no, continuing to query whether each sub-warehouse can meet the goods ordering demand alone, if yes, taking the sub-warehouse meeting the demand as the main warehouse as the adapted warehouse.
[0049] In a possible design, when the main warehouse can meet the ordering demand of at least some of the goods, pushing the information of goods of the warehouse adapted to the goods ordering demand to the user purchase interface further includes:
[0050] Pushing the information of goods of other sub-groups of the goods that cannot meet the ordering demand to the user purchase interface as alternative goods.
[0051] In a third aspect, the present application provides a computer device, including a memory, a processor and a transceiver connected in sequence and in communication, wherein the memory is used to store a computer program, the transceiver is used to receive and send messages, and the processor is used to read the computer program and execute the order processing method of Chinese herbal pieces based on goods grouping in any possible design of the first aspect.
[0052] In a fourth aspect, the present application provides a computer readable storage medium, and the computer readable storage medium stores instructions, when the instructions run on a computer, execute the order processing method of Chinese herbal pieces based on goods grouping in any possible design of the first aspect.
[0053] In a fifth aspect, the present application provides a computer program product comprising instructions which, when executed on a computer, cause the computer to perform a Chinese medicine decoction piece order processing method based on grouping of goods as described in any one of the possible designs of the first aspect.
[0054] The present application has the following beneficial effects compared to the prior art:
[0055] The present application groups each type of goods according to the pre-set quality standards of Chinese medicine decoction pieces to generate and store the corresponding group library for each type of goods; attributes of goods provided by each supplier are obtained, and each type of goods is matched to the corresponding sub-group according to the attribute information; the user's goods ordering demand is obtained, and the goods information of the warehouse that matches the goods ordering demand is pushed to the user purchase interface according to the goods sub-group information in the goods ordering demand for the user to select and order; the user's order information is obtained, and the goods that match the order information are dispatched from the matched warehouse for delivery. The present application groups goods and removes duplicates in the inventory of each warehouse, which can effectively reduce the order splitting caused by goods shortage, meet the user's demand, and reduce the logistics cost of the enterprise. BRIEF DESCRIPTION OF DRAWINGS
[0056] Figure 1 The flowchart of the Chinese medicine decoction piece order processing method based on grouping of goods in the embodiments of the present application. DETAILED DESCRIPTION
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the present application will be briefly introduced with reference to the drawings and the description of the embodiments or the prior art. Obviously, the following description of the drawings structure is only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained without creative labor. It should be noted that the description of these embodiments is used to help understand the present application, but does not constitute a limitation on the present application.
[0058] EMBODIMENT
[0059] To solve the technical problem that multi-warehouse development in the prior art is prone to cause a single order to require goods from multiple warehouses when the user selects more goods, which has a certain impact on logistics cost and logistics timeliness, the embodiment of the present application provides a traditional Chinese medicine decoction piece order processing method based on goods grouping. The method generates and stores a corresponding group library for each type of goods by grouping each type of goods according to a preset goods quality standard of traditional Chinese medicine decoction pieces; each type of goods is matched to a corresponding sub-group according to attribute information of the goods provided by each supplier; the goods information of the warehouse adapted to the goods ordering demand of the user is pushed to the user purchase interface for the user to select and order according to the goods sub-group information in the goods ordering demand; and the goods matched to the order information are dispatched from the adapted warehouse for delivery. The present application can effectively reduce the order splitting caused by goods shortage by grouping goods and deduplicating the inventory of each warehouse, thereby meeting the user's demand while reducing the logistics cost of the enterprise.
[0060] The traditional Chinese medicine decoction piece order processing method based on goods grouping provided by the embodiment of the present application will be described in detail below.
[0061] It should be noted that the e-commerce multi-warehouse delivery method of traditional Chinese medicine decoction pieces provided by the embodiment of the present application can be applied to any terminal device using an operating system to dispatch the multi-warehouse delivery of traditional Chinese medicine decoction pieces, wherein the operating system includes but is not limited to Windows system, Mac system, Linux system, Chrome OS system, UNIX operating system, IOS system and Android system, etc., which are not limited here; and the terminal device includes but is not limited to IPAD tablet computer, personal mobile computer, industrial computer, personal computer, etc., which are not limited here. For ease of description, the embodiment of the present application is described with an industrial computer as the execution subject unless otherwise specified. It can be understood that the execution subject does not constitute a limitation on the embodiment of the present application, and other types of terminal devices can be used as the execution subject in some other embodiments.
[0062] As shown in Figure 1 FIG. 1 is a flowchart of the traditional Chinese medicine decoction piece order processing method based on goods grouping provided by the embodiment of the present application, which includes but is not limited to steps S1-S4:
[0063] Step S1. According to a preset goods quality standard of traditional Chinese medicine decoction pieces, each type of goods is grouped and processed to generate and store a corresponding group library for each type of goods, wherein each group library includes a plurality of sub-groups of each type of goods;
[0064] It should be noted that the preset quality standard of goods in the embodiments of the present application is based on the quality grade standard of decoction pieces and three-party goods of Chinese herbal medicine developed by Hanfang and follows the quality standard of goods proposed by the national pharmacopoeia standard. Specifically, it is the quality grade standard or the quality grade plus the standard of each Chinese herbal medicine decoction piece.
[0065] In step S1, in a specific embodiment, each kind of goods is grouped according to the preset quality standard of goods of Chinese herbal medicine decoction pieces to generate and store the corresponding group library of each kind of goods, including:
[0066] (1) According to the preset grade standard of Chinese herbal medicine decoction pieces, each kind of goods is grouped to generate and store the subdivided groups of different grades of each kind of goods; or
[0067] For example, for the Chinese herbal medicine decoction piece of scorpion, according to the preset grade standard, the scorpions are grouped as follows: for the scorpions with a length of 3.0-4.0 cm, a debris of not more than 0.1%, a complete insect body of not less than 40%, and a moisture of not more than 20%, the quality grade is scorpion grade three, and the scorpions of this grade are taken as a separate group; similarly, for the scorpions with a length of 4.0-6.0 cm, a debris of not more than 0.1%, a complete insect body of not less than 40%, and a moisture of not more than 20%, the quality grade is scorpion grade two, and the scorpions of this grade are taken as a separate group. For example, for the American ginseng tablet, according to the preset grade standard, the American ginseng tablets are grouped as follows: for the American ginseng tablets with a diameter of 2.0 cm, a debris of not more than 0.1%, and a less than 2.0 cm horizontal and abnormal color piece of not more than 0.5%, the quality grade is American ginseng tablet special grade, and the American ginseng tablets of this grade are taken as a separate group; for the American ginseng tablets with a diameter of 1.8-2.0 cm, a debris of not more than 0.1%, and a less than 1.8 cm horizontal and abnormal color piece of not more than 0.5%, the quality grade is American ginseng tablet first grade A, and the American ginseng tablets of this grade are taken as a separate group; for the American ginseng tablets with a diameter of 1.4-1.6 cm, a debris of not more than 0.1%, and a less than 1.4 cm horizontal and abnormal color piece of not more than 5%, the quality grade is American ginseng tablet first grade, and the American ginseng tablets of this grade are taken as a separate group; for the American ginseng tablets with a diameter of 1.2-1.4 cm, a debris of not more than 0.1%, and a less than 1.2 cm horizontal and abnormal color piece of not more than 5%, the quality grade is American ginseng tablet second grade, and the American ginseng tablets of this grade are taken as a separate group.
[0068] Then, after grouping each kind of goods by grade, each kind of goods corresponds to multiple subdivided groups.
[0069] (2) According to the preset grade plus standard of Chinese herbal medicine decoction pieces, each kind of goods is grouped to generate and store the subdivided groups of different grades and different specifications of each kind of goods.
[0070] For example, for American ginseng tablets, according to the preset grade and specification standard, the American ginseng tablets are grouped as follows: for the diameter of 2.0 cm, the debris is not more than 0.1%, the level and color abnormal tablets less than 2.0 cm are not more than 0.5%, the quality grade is American ginseng tablet special grade, and the American ginseng tablets of the grade are taken as a separate group; for the diameter of 1.8-2.0 cm, the debris is not more than 0.1%, the level and color abnormal tablets less than 1.8 cm are not more than 0.5%, the quality grade is American ginseng tablet first grade A, and the American ginseng tablets of the grade are taken as a separate group; for the diameter of 1.4-1.6 cm, the debris is not more than 0.1%, the level and color abnormal tablets less than 1.4 cm are not more than 5%, the quality grade is American ginseng tablet first grade, and the American ginseng tablets of the grade are taken as a separate group; for the diameter of 1.2-1.4 cm, the debris is not more than 0.1%, the level and color abnormal tablets less than 1.2 cm are not more than 5%, the quality grade is American ginseng tablet second grade, and the American ginseng tablets of the grade are taken as a separate group; C-American ginseng powder bags are grouped into one group; C-American ginseng imported bags, the diameter of 0.6-1.0 cm, the debris is not more than 0.1%, are grouped into one group; C-American ginseng imported bottles, the diameter of 1.0-1.2 cm, the debris is not more than 0.1%; C-American ginseng bottles, the diameter of 1.0-1.4 cm, the debris is not more than 0.1%, are grouped into one group; C-American ginseng powder boxes, yellowish white to brownish yellow powder, are grouped into one group; American ginseng powder, yellowish white to brownish yellow powder, are grouped into one group.
[0071] Step S2. Obtain attribute information of goods provided by each supplier, and match each goods to a corresponding sub-group according to the attribute information;
[0072] In a specific embodiment of step S2, obtaining attribute information of goods provided by each supplier, and matching each goods to a corresponding sub-group according to the attribute information, comprises:
[0073] (1) obtaining ID information, grade information, manufacturer information and origin information of goods provided by each supplier, matching each goods to a corresponding sub-group according to the grade information, and establishing the association between the goods and its ID information, manufacturer information and origin information; or
[0074] (2) obtaining ID information, grade information, manufacturer information, specification information and origin information of goods provided by each supplier, matching each goods to a corresponding sub-group according to the grade information and specification information, and establishing the association between the goods and its ID information, manufacturer information and origin information.
[0075] For example, the product ID is 13801, the product group is scorpion tertiary, the manufacturer is Anguo City Yuan Guang Pharmaceutical Co., Ltd., the specification is selected 0.1 kg / bag, and the place of production is Shanxi. According to the product grade information, the product can be distributed to the subdivided group of scorpion tertiary, and the product ID information, manufacturer information and place of production information are associated.
[0076] Step S3. Obtain the product ordering demand of the user, and according to the product subdivided group information in the product ordering demand, push the product information of the warehouse adapted to the product ordering demand to the user purchase interface for the user to select and order.
[0077] In step S3, one possible design is to obtain the product ordering demand of the user, and according to the product subdivided group information in the product ordering demand, push the product information of the warehouse adapted to the product ordering demand to the user purchase interface, including:
[0078] (1) Obtain the product ordering demand of the user, wherein the product ordering demand at least includes the ordering demand of one product;
[0079] It should be noted that when the user purchases traditional Chinese medicine decoction pieces online, there may be multiple product purchase demands at the same time, so the product ordering demand here may include multiple products, and specifically to the product subdivided group corresponding to each product, for example: the user intends to purchase scorpion tertiary and special grade of western ginseng.
[0080] (2) According to the subdivided group information corresponding to each product in the product ordering demand, query the current inventory of each warehouse, and take the warehouse whose inventory can best meet the product ordering demand as the adapted warehouse;
[0081] (3) Push the product information of the adapted warehouse to the user purchase interface.
[0082] In one possible design, when the product ordering demand includes one product, according to the subdivided group information corresponding to each product in the product ordering demand, query the current inventory of each warehouse, and take the warehouse whose inventory can best meet the product ordering demand as the adapted warehouse, including: obtaining the subdivided group of the product in the product ordering demand, querying the current inventory of the subdivided group in each warehouse in turn according to the priority of each warehouse, if the current queried warehouse can meet the product ordering demand, then the current queried warehouse is taken as the adapted warehouse, wherein each warehouse includes a main warehouse and at least one sub-warehouse.
[0083] It should be noted that when warehouse matching is performed for a user, the priority of the delivery warehouse is configured for the user according to the regional attribute of the user by default, specifically, the distance between the user's delivery address and each warehouse, and the user is configured with a main and auxiliary delivery warehouse according to the principle of proximity. When the user only has shopping demand for one kind of goods, it is first queried whether the main warehouse has inventory of the goods, if yes, the goods are delivered from the main warehouse, if not, the inventory status of each auxiliary warehouse is queried. For example, the user intends to purchase Gekko Grade 3, and the main warehouse has the inventory, then the goods are delivered from the main warehouse, if the main warehouse is insufficient or has no goods, the goods are delivered from the auxiliary warehouse.
[0084] In a possible design, the method further includes:
[0085] When the current inventory of the subdivision group in all warehouses cannot meet the goods ordering demand, the goods information of other subdivision groups of the goods in the main warehouse is pushed to the user purchase interface.
[0086] For example, if all warehouses do not have Gekko Grade 3 goods, the user is pushed to sell Gekko Grade 2 as a substitute goods.
[0087] In a possible design, when the goods ordering demand includes two or more kinds of goods, according to the subdivision group information corresponding to each kind of goods in the goods ordering demand, the current inventory of each warehouse is queried, and the warehouse whose inventory can best meet the goods ordering demand is taken as the adapted warehouse, including:
[0088] The subdivision group of each kind of goods in the goods ordering demand is obtained, it is queried whether the main warehouse can at least meet the ordering demand of several kinds of goods, if yes, the main warehouse is taken as the adapted warehouse, if not, it is continued to be queried whether each auxiliary warehouse can independently meet the goods ordering demand, if yes, the auxiliary warehouse that can meet the demand is adjusted to the main warehouse as the adapted warehouse.
[0089] In a possible design, when the main warehouse can at least meet the ordering demand of several kinds of goods, the goods information of the warehouse adapted to the goods ordering demand is pushed to the user purchase interface, further including:
[0090] The goods information of other subdivision groups of the goods that cannot meet the ordering demand is pushed to the user purchase interface as a substitute goods.
[0091] It should be noted that when the goods ordered by the user include several kinds, for example, the user intends to purchase the whole scorpion third grade and the American ginseng special grade, and the whole scorpion third grade and the American ginseng special grade may be supplied by multiple suppliers respectively, if the user intends to purchase the whole scorpion third grade supplied by the A supplier, but the main warehouse does not have the whole scorpion third grade goods supplied by the A supplier, but has the whole scorpion third grade goods supplied by the B supplier, the whole scorpion third grade goods supplied by the B supplier are pushed to the user, because the ordinary user usually does not pay attention to the source of the supplier, so pushing the same grade goods of different suppliers can still meet the user's demand; in addition, if the user purchases the whole scorpion third grade in the main warehouse, but the American ginseng special grade is out of stock, the user is first pushed to the main warehouse with the American ginseng first grade A goods, so as to reduce the logistics order splitting; if the user still needs to purchase the American ginseng special grade, the sub-warehouse with the whole scorpion third grade and the American ginseng special grade inventory is adjusted to the main warehouse for delivery.
[0092] Step S4. Obtain the order information of the user, and allocate and deliver the goods matched with the order information from the adapted warehouse.
[0093] Based on the above disclosure, the embodiments of the present application group each kind of goods according to the preset quality standards of traditional Chinese medicine decoction pieces, to generate and store the corresponding group library of each kind of goods; by obtaining the attribute information of the goods provided by each supplier, and matching each kind of goods to the corresponding sub-group according to the attribute information; by obtaining the user's goods ordering demand, according to the goods sub-group information in the goods ordering demand, pushing the goods information of the warehouse adapted to the goods ordering demand to the user purchase interface for the user to select and order; by obtaining the order information of the user, and allocating and delivering the goods matched with the order information from the adapted warehouse. The present application can effectively reduce the order splitting due to the lack of goods by grouping the goods and de-duplicating the inventory of each warehouse, while meeting the user's demand, and reducing the logistics cost of the enterprise.
[0094] The second aspect provides a kind of traditional Chinese medicine decoction piece order processing device based on goods grouping, comprising:
[0095] The goods grouping module is used to group each kind of goods according to the preset quality standards of traditional Chinese medicine decoction pieces, to generate and store the corresponding group library of each kind of goods, wherein each group library includes multiple sub-groups of each kind of goods;
[0096] The attribute matching module is used to obtain the attribute information of the goods provided by each supplier, and match each kind of goods to the corresponding sub-group according to the attribute information;
[0097] The warehouse matching module is configured to obtain a user's product ordering demand, push product information of a warehouse matched with the product ordering demand to a user purchase interface according to product subdivision group information in the product ordering demand, and enable the user to select and place an order.
[0098] The delivery configuration module is configured to obtain order information of a user, and allocate products matched with the order information from the matched warehouse for delivery.
[0099] In a possible design, when each product is grouped according to a preset product quality standard of traditional Chinese medicine decoction pieces, a group library corresponding to each product is generated and stored, and the product grouping module is specifically configured to:
[0100] each product is grouped according to a preset grade standard of traditional Chinese medicine decoction pieces, and a subdivision group of different grades of each product is generated and stored; or
[0101] each product is grouped according to a preset grade plus specification standard of traditional Chinese medicine decoction pieces, and a subdivision group of different grades and different specifications of each product is generated and stored.
[0102] In a possible design, when the attribute information of the products provided by each supplier is obtained, and each product is matched to a corresponding subdivision group according to the attribute information, the attribute matching module is specifically configured to:
[0103] ID information, product grade information, manufacturer information, and origin information of the products provided by each supplier are obtained, each product is matched to a corresponding subdivision group according to the product grade information, and the product is associated with the ID information, the manufacturer information, and the origin information thereof; or
[0104] ID information, product grade information, manufacturer information, specification information, and origin information of the products provided by each supplier are obtained, each product is matched to a corresponding subdivision group according to the product grade information and the specification information, and the product is associated with the ID information, the manufacturer information, and the origin information thereof.
[0105] In a possible design, when the product ordering demand of a user is obtained, and product information of a warehouse matched with the product ordering demand is pushed to a user purchase interface according to product subdivision group information in the product ordering demand, the warehouse matching module is specifically configured to:
[0106] The product ordering demand of the user is obtained, and the product ordering demand at least includes an ordering demand for one product.
[0107] The current inventory of each warehouse is queried according to the subdivision group information of each product in the product ordering demand, and a warehouse with an inventory most capable of satisfying the product ordering demand is taken as a matched warehouse.
[0108] push the goods information of the adapted warehouse to the user purchase interface.
[0109] In a possible design, when the goods ordering demand includes one kind of goods, according to the corresponding subdivision group information of each kind of goods in the goods ordering demand, the current inventory of each warehouse is queried, and the warehouse whose inventory can best meet the goods ordering demand is taken as the adapted warehouse, including:
[0110] The subdivision group of one kind of goods in the goods ordering demand is acquired, the current inventory of the subdivision group in each warehouse is queried according to the priority of each warehouse, and if the current queried warehouse can meet the goods ordering demand, the current queried warehouse is taken as the adapted warehouse, wherein the warehouses include a main warehouse and at least one sub-warehouse.
[0111] In a possible design, the apparatus further includes:
[0112] When the current inventory of the subdivision group in all warehouses cannot meet the goods ordering demand, the goods information of other subdivision groups of the goods in the main warehouse is pushed to the user purchase interface.
[0113] In a possible design, when the goods ordering demand includes two or more than two kinds of goods, according to the corresponding subdivision group information of each kind of goods in the goods ordering demand, the current inventory of each warehouse is queried, and the warehouse whose inventory can best meet the goods ordering demand is taken as the adapted warehouse, including:
[0114] The subdivision group of each kind of goods in the goods ordering demand is acquired, it is queried whether the main warehouse can meet the ordering demand of several kinds of goods, if yes, the main warehouse is taken as the adapted warehouse, if not, it is continued to be queried whether each sub-warehouse can meet the goods ordering demand alone, if yes, the sub-warehouse that can meet the demand is adjusted to the main warehouse as the adapted warehouse.
[0115] In a possible design, when the main warehouse can meet the ordering demand of several kinds of goods, pushing the goods information of the warehouse adapted to the goods ordering demand to the user purchase interface further includes:
[0116] The goods information of other subdivision groups of the goods that cannot meet the ordering demand is pushed to the user purchase interface as alternative goods.
[0117] The working process, working details and technical effects of the foregoing apparatus provided by the second aspect of the embodiment can be referred to the method described in the first aspect or any possible design in the first aspect, and will not be repeated here.
[0118] In a third aspect, the present application provides a computer device, comprising a memory, a processor and a transceiver connected in sequence and in communication, wherein the memory is configured to store a computer program, the transceiver is configured to transceive messages, and the processor is configured to read the computer program and execute the method according to any possible design of the first aspect.
[0119] For example, the memory can include, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a flash memory, a first input first output (FIFO) memory, a first input last output (FILO) memory, and the like; the processor can be, but is not limited to, a microprocessor of STM32F105 series; the transceiver can be, but is not limited to, a WiFi transceiver, a Bluetooth transceiver, a GPRS transceiver, a ZigBee transceiver, and the like. In addition, the computer device can further include, but is not limited to, a power module, a display screen, and other necessary components.
[0120] The working process, working details and technical effects of the aforementioned computer device provided by the third aspect of the present embodiment can be referred to the method according to the first aspect or any possible design of the first aspect, which will not be repeated here.
[0121] In a fourth aspect, the present application provides a computer readable storage medium, wherein instructions are stored on the computer readable storage medium, and when the instructions are run on a computer, the method according to any possible design of the first aspect is executed.
[0122] The computer readable storage medium refers to a carrier for storing data, which can include, but is not limited to, a floppy disk, an optical disk, a hard disk, a flash memory, a USB flash disk, a memory stick, and the like; and the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
[0123] The working process, working details and technical effects of the aforementioned computer readable storage medium provided by the fourth aspect of the present embodiment can be referred to the method according to the first aspect or any possible design of the first aspect, which will not be repeated here.
[0124] In a fifth aspect, the present application provides a computer program product comprising instructions which, when executed on a computer, cause the computer to carry out the method according to any possible implementation of the first aspect.
[0125] The working process, working details and technical effects of the aforementioned computer program product comprising instructions provided by the fifth aspect of the present embodiment can be referred to the method according to the first aspect or any possible implementation of the first aspect, which will not be repeated here.
[0126] Finally, it should be noted that: the above only describes the preferred embodiments of the present application and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for processing orders of traditional Chinese medicine decoction pieces based on product grouping, characterized in that, include: Based on the pre-set quality standards for Chinese herbal medicine slices, each type of product is grouped to generate and store a corresponding group library for each product. Each group library includes multiple subgroups for each product. Obtain the attribute information of the goods provided by each supplier, and match each goods to the corresponding sub-group based on the attribute information; Obtain the user's product ordering requirements, and based on the product segmentation group information in the product ordering requirements, push product information from warehouses that match the product ordering requirements to the user's purchase interface for the user to select and place an order. Obtain the user's order information and allocate goods that match the order information from the appropriate warehouse for shipment; Based on the pre-defined quality standards for Chinese herbal medicine slices, each type of product is grouped to generate and store a corresponding group library for each product, including: Based on the pre-defined grading standards for traditional Chinese medicine decoction pieces, each type of product is grouped to generate and store sub-groups of different grades for each product; or Based on the pre-set grade and specification standards of Chinese herbal medicine slices, each type of goods is grouped to generate and store sub-groups of different grades and specifications for each type of goods. Obtain the attribute information of the goods provided by each supplier, and match each product to the corresponding segmented group based on the attribute information, including: Obtain the ID information, product grade information, manufacturer information, and place of origin information of the goods provided by each supplier; match each product to the corresponding sub-group based on the product grade information; and establish the association between the product and its ID information, manufacturer information, and place of origin information; or Obtain the ID information, product grade information, manufacturer information, specification information, and place of origin information of the goods provided by each supplier. Match each product to the corresponding sub-group based on the product grade information and specification information, and establish the association between the product and its ID information, manufacturer information, and place of origin information.
2. The method for processing orders of traditional Chinese medicine decoction pieces based on product grouping according to claim 1, characterized in that, Obtain the user's product ordering requirements, and based on the product segmentation group information in the product ordering requirements, push product information from warehouses that match the product ordering requirements to the user's purchase interface, including: Obtain the user's product ordering requirements, wherein the product ordering requirements include at least one type of product ordering requirements; Based on the subdivided group information corresponding to each product in the product ordering requirements, query the current inventory of each warehouse, and select the warehouse whose inventory can best meet the product ordering requirements as the suitable warehouse. Push appropriate warehouse product information to the user's purchase interface.
3. The method for processing orders of traditional Chinese medicine decoction pieces based on product grouping according to claim 2, characterized in that, When the ordering request includes a single product, the current inventory of each warehouse is queried based on the segmented group information corresponding to each product in the ordering request. The warehouse whose inventory best meets the ordering request is then selected as the appropriate warehouse, including: Obtain a subgroup of one type of product in the product ordering demand. Query the current inventory of that subgroup in each warehouse according to the priority of each warehouse. If the currently queried warehouse can meet the product ordering demand, then the currently queried warehouse is selected as the suitable warehouse. Each warehouse includes a primary warehouse and at least one secondary warehouse.
4. The method for processing orders of traditional Chinese medicine decoction pieces based on product grouping according to claim 3, characterized in that, The method further includes: When the current inventory of this subgroup in all warehouses is insufficient to meet the ordering demand for the product, product information of other subgroups of the product in the main warehouse is pushed to the user's purchase interface.
5. The method for processing orders of traditional Chinese medicine decoction pieces based on product grouping according to claim 2, characterized in that, When the ordering request includes two or more items, based on the sub-group information corresponding to each item in the ordering request, the current inventory of each warehouse is queried, and the warehouse whose inventory best meets the ordering request is selected as the appropriate warehouse, including: Obtain the sub-groups of each product in the product ordering requirements, and query whether the main warehouse can meet the ordering requirements of at least some of these products. If so, the main warehouse is selected as the appropriate warehouse. If not, continue to query whether each secondary warehouse can meet the product ordering requirements individually. If so, the secondary warehouse that can meet the requirements is adjusted to the main warehouse as the appropriate warehouse.
6. The method for processing orders of traditional Chinese medicine decoction pieces based on product grouping according to claim 5, characterized in that, When the main warehouse can meet the ordering demand for at least some of the goods, pushing the goods information of warehouses that match the ordering demand to the user's purchase interface also includes: Information on other product subgroups that cannot meet the order requirements will be pushed to the user's purchase interface as alternative products.
7. A device for processing orders of traditional Chinese medicine decoction pieces based on product grouping, characterized in that, The apparatus is used to execute the traditional Chinese medicine decoction piece order processing method based on product grouping as described in any one of claims 1 to 6, wherein the apparatus comprises: The product grouping module is used to group each product according to the preset product quality standards of Chinese herbal medicine pieces, so as to generate and store the corresponding group library for each product. Each group library includes multiple sub-groups for each product. The attribute matching module is used to obtain the attribute information of the goods provided by each supplier and match each goods to the corresponding sub-group based on the attribute information. The warehouse matching module is used to obtain the user's product ordering requirements and, based on the product subgroup information in the product ordering requirements, push product information of warehouses that match the product ordering requirements to the user's purchase interface for the user to select and place an order. The shipping configuration module is used to obtain the user's order information and allocate goods that match the order information from the appropriate warehouse for shipping.
8. A storage medium, characterized in that, The storage medium stores instructions that, when executed on a computer, perform the traditional Chinese medicine decoction piece order processing method based on product grouping as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Device and method for grade evaluation of traditional Chinese medicine decoction pieces
CN103345720A
Job allocation system for overseas warehouse value-added services
CN112150068A
Order adjustment method, device and apparatus based on commodity stockout
CN113469766A