Automatic order making and purchasing implementation method
By using a message queue to process order confirmation and merge order placing in the automatic order making system, the order lock management mechanism is set up, and the system automatically displays the planned price, solving the problem that order makers in the existing technology have difficulty referring to the planned price, and improving the Efficiency and accuracy of order making and procurement.
Patent Information
- Application Number
- CN202411589202.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-08
- Publication Date
- 2025-02-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing automatic order making system fails to automatically display the planned price during purchase order making, which makes it difficult for order making personnel to refer to, increasing workload and error risk.
By using a message queue to process order confirmation, setting up an order lock management mechanism, using a message queue to merge orders, and automatically place the merged orders to produce, so that the system can automatically display the planned price.
It improves the flexibility of order generation and the accuracy and efficiency of procurement plans, reduces the risks of manual intervention and errors, and reduces safety risks.
Smart Images

Figure CN119476831A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of intelligent processing technology, and specifically relates to a method for automatic order making and procurement implementation. Background Art
[0002] In modern enterprise management, order making and procurement are two important components. Existing automatic order making usually automatically generates order information through pre-set rules and templates. When the business needs of the enterprise change, the rules and templates need to be reset, which not only increases the workload but also easily leads to errors. The order maker determines the unit price of the product in the system, but these existing technologies do not involve the system automatically displaying the planned price when making a purchase order, so that the order maker can refer to it. Therefore, how to realize the system automatically displaying the planned price when making a purchase order in the system for the reference of the order maker is a problem to be solved in the existing technology. Summary of the invention
[0003] The present invention provides a method for automatic order making and purchase implementation, the improvement of which is that the method comprises
[0004] (1) Use message queue to process order confirmation;
[0005] (2) Setting up an order lock management mechanism;
[0006] (3) Use message queues to merge and bundle orders;
[0007] (4) Identical products in the combined order are grouped together and automatically ordered for production.
[0008] Furthermore, the step (1) includes using a short message API or a message push service according to the order information, formatting the message content according to a template, and sending it to the customer.
[0009] Furthermore, the step (2) includes the customer confirming the delivery method, product information and delivery time of the order according to the order confirmation link, and confirming the order according to the preset order locking management mechanism.
[0010] Furthermore, the step (3) includes receiving an order confirmation message according to the order merging logic, using an automated tool to define and schedule order processing tasks, and automatically merging orders with the same conditions.
[0011] Furthermore, the step (3) also includes merging orders according to project, batch, delivery method, and category conditions, generating a purchase order and sending it to the factory for ordering.
[0012] Furthermore, the message queue includes using RabbitMQ or Kafka message queue to process order confirmation and merge orders.
[0013] Furthermore, detailed information of the merged orders is obtained, a table is created to list and categorize the products in each order, and based on the product categorization and total quantity, a purchase order is generated and sent to the factory for order placement.
[0014] Furthermore, the detailed information of the order, including product name, quantity and parameters, classifies the products in the order according to the product name, calculates the total quantity of each classified product, generates a purchase order based on the product classification and total quantity and sends it to the factory for placing the order, confirms the order details with the factory, carries out production and keeps abreast of the production progress and quality, and conducts quality inspection upon receipt.
[0015] Beneficial effects:
[0016] The present invention automatically pushes messages or text messages to customers through the system, and they come to the mini program to confirm the order. After confirmation, the order placement stage begins, and the order cannot be modified at this time, thereby improving the flexibility of order generation; after receiving the order confirmation message through the background, the orders of the same project, batch, delivery method, and category are automatically merged, and purchase orders are placed with multiple factories, thereby improving the accuracy and efficiency of the procurement plan; the system automatically pushes messages or text messages to customers, and they come to the mini program to confirm the order. After confirmation, the order placement stage begins, and the order cannot be modified at this time, thereby reducing manual intervention, improving efficiency, and also reducing safety hazards.
[0017] It should be understood that the above general description and the following specific embodiments are only exemplary and illustrative and do not limit the scope of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A flow chart of a method for automatic order making and procurement implementation according to the present invention;
[0019] It should be understood that the drawings are not necessarily drawn to scale, presenting somewhat simplified representations of various features illustrative of the basic principles of the present disclosure. The specific design features of the present invention as disclosed herein, including, for example, specific dimensions, orientations, locations, and shapes will be determined in part by the particular intended application and use environment.
[0020] In the drawings, reference numbers refer to the same or equivalent parts of the present invention throughout the several figures of the drawing. DETAILED DESCRIPTION
[0021] Reference will now be made in detail to various embodiments of the present invention, examples of which are illustrated in the accompanying drawings and described below. Although the present invention will be described in conjunction with exemplary embodiments of the present invention, it should be understood that this specification is not intended to limit the present invention to those exemplary embodiments. On the other hand, the present invention is intended to cover not only the exemplary embodiments of the present invention, but also various alternatives, modifiers, equivalents and other embodiments, which may be included in the spirit and scope of the present invention as defined by the appended claims.
[0022] Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. The specific structures and functions described in the exemplary embodiments of the present invention are for illustrative purposes only. Embodiments according to the concepts of the present invention can be implemented in various forms, and it should be understood that they should not be interpreted as being limited to the exemplary embodiments described in the exemplary embodiments, but include all modifications, equivalents or substitutes included in the spirit and scope of the present invention.
[0023] Throughout the specification, the professional terms used herein are only for describing various exemplary embodiments and are not intended to be limiting. It will be further understood that the terms "include", "comprising", "having", etc., when used in the exemplary embodiments, specifically refer to the presence of the stated parts, steps, operations or elements, but do not exclude the presence or addition of one or more other parts, steps, operations or elements.
[0024] The present invention can greatly improve the efficiency of order confirmation and reduce manual intervention by automatically pushing messages or text messages to customers through the system and confirming orders through mini-programs. At the same time, by automatically merging in the background, purchase orders can be placed to multiple factories, which can improve the efficiency of the entire procurement process and reduce the rate of manual errors. At the same time, due to the automation and intelligent characteristics of the technical solution, manual intervention can be reduced, work efficiency can be improved, and safety hazards can be reduced.
[0025] like Figure 1 As shown, the present invention provides a method for automatic order making and procurement implementation, and the specific steps are as follows:
[0026] Step 1: Use message queue to process order confirmation
[0027] Use SMS API (such as Twil io, Alibaba Cloud SMS service) or message push service (such as WeChat mini program message push) to automatically push messages or text messages to customers; format the message content (order confirmation, delivery method, product information, delivery time, etc.) according to the template, and then send it to the customer, who confirms the order through the mini program. Specifically, the system will automatically push messages or text messages containing order information to the customer based on the contact information provided by the customer, reminding and guiding the customer to confirm the order through the mini program. The customer can view the order details in the mini program, including delivery method, product information and delivery time, and make necessary adjustments or upgrades;
[0028] Among them, formatting according to the template includes defining the message queue storage path in the template, the input parameters and output parameters of the message queue, the modeling framework of the message queue and the algorithm of the message queue; the system accepts the message content and initial state definition according to the message queue converter, converts the model into a unified format, stores it in the system database, and automatically pushes messages or text messages containing order information to it.
[0029] Among them, API requests are managed through Kong or AWS API Gateway to ensure the security, performance and scalability of the system.
[0030] Step 2: Set up order lock management mechanism
[0031] The customer confirms the order on the mini program. If the order needs to be upgraded, the customer can continue the operation. Once the order is confirmed, the order will enter the ordering stage, at which time the order information will be locked to ensure the accuracy and consistency of the order information. Specifically, after receiving the message or SMS pushed by the system, the customer can view the order information through the mini program and confirm the order after confirming that it is correct. After confirmation, the order status will change to "confirmed" and the order cannot be modified at this time.
[0032] Step 3: Use message queue to merge orders
[0033] In the backend system, the logic of order merging is designed. When the backend system receives the order confirmation message, it uses automation tools (such as Apache Airflow and Luigi) to define and schedule order processing tasks, and automatically merges orders with the same conditions according to project, batch, delivery method, and category. Specifically, the backend system will automatically filter out orders with the same project, batch, delivery method, and category based on the order information, and merge these orders.
[0034] Among them, order merging includes creating a TextEditor, completing the analysis of conditions such as projects, batches, delivery methods, and categories, displaying order keywords through analysis results, merging order keywords using the abstract syntax tree (AST) model, transforming and optimizing order keywords through instantiation and flattening, and merging orders.
[0035] Step 4: Obtain detailed information about the orders that need to be processed in the merged order, including product name, quantity, parameters, etc.; create a table or spreadsheet to list the product name and quantity in each order; classify the products in the order according to the product name, and summarize the information of the same products together; calculate the total quantity of each classified product; generate a purchase order based on the product classification and total quantity and send it to the factory for ordering, and ensure that accurate product name, quantity and estimated delivery time and other information are provided; confirm the order details with the factory, and after ensuring that there are no errors, proceed with production and maintain communication with the factory during the production process to keep abreast of the production progress and quality; after receiving the purchase order, the factory will prepare the corresponding product goods in accordance with the requirements of the purchase order, and when the product is produced, arrange for receipt and conduct quality inspection, thereby improving efficiency and reducing delivery costs.
[0036] The automatic order making system of the present invention can automatically push messages or text messages to customers through the system, and the mini program can be used to confirm the order. In this way, it can be adjusted according to the actual needs of the enterprise, without the need to reset the rules and templates, thereby improving the flexibility and adaptability of the system. After receiving the order confirmation message, the background system of the present invention will automatically merge the orders of the same project, batch, delivery method, and category, and place purchase orders to multiple factories. In this way, the purchase plan can be made according to the actual needs, avoiding the problem of possible errors in the prior art that relies on data analysis and prediction algorithms, and improving accuracy.
[0037] The order verification locking technology of the present invention prevents modification of order information by locking the order, thereby ensuring the reliability and traceability of the order. At the same time, since it is automatically locked by the system, it has higher security and reduces the risk of tampering.
[0038] The automatic order making system and automatic purchase planning system of the present invention reduce manual intervention, improve work efficiency and reduce costs through system automation and intelligence.
[0039] The above-mentioned embodiments of the present application can be implemented in various hardware, software coding or a combination of the two. For example, the embodiments of the present application can also represent the program code for executing the above-mentioned method in a data signal processor. The present application can also relate to the various functions performed by a computer processor, a digital signal processor, a microprocessor or a field programmable gate array. The above-mentioned processor can be configured according to the present application to perform specific tasks, which are completed by executing machine-readable software code or firmware code that defines the specific method disclosed by the present application. The software code or firmware code development can represent different programming languages and different formats or forms. Different target platform compiled software codes can also be represented. However, the different code styles, types and languages of the software code for performing tasks according to the present application and other types of configuration codes do not depart from the spirit and scope of the present application.
[0040] The foregoing description of specific exemplary embodiments of the present invention has been presented for the purpose of illustration and description. It is not intended to exclude or limit the present invention to the precise form disclosed, and it is obvious that many modifications and changes are feasible in view of the above teachings. Exemplary embodiments are selected and described to explain certain principles of the present invention and their practical application, so that other technicians in the field can make or use various exemplary embodiments of the present invention, and various alternatives and modifications thereof. It is intended that the scope of the present invention will be defined by the claims attached hereto and their equivalents.
[0041] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A method for automatic order making and procurement implementation, characterized in that: The method comprises (1) Use message queue to process order confirmation; (2) Setting up an order lock management mechanism; (3) Use message queues to merge orders; (4) Identical products in the combined order are grouped together and automatically ordered for production.
2. The method for automatic order making and purchase implementation according to claim 1, characterized in that: The step (1) includes using a short message API or a message push service according to the order information, formatting the message content according to a template, and sending it to the customer.
3. The method for automatic order preparation and purchase implementation according to claim 1, characterized in that: The step (2) includes the customer confirming the delivery method, product information and delivery time of the order according to the order confirmation link, and confirming the order according to the preset order locking management mechanism.
4. The method for automatic order preparation and purchase implementation according to claim 1, characterized in that: The step (3) includes receiving an order confirmation message according to the order merging logic, using an automated tool to define and schedule order processing tasks, and automatically merging orders with the same conditions.
5. The method for automatic order making and purchase implementation according to claim 4 is characterized in that: The step (3) also includes merging according to project, batch, delivery method, and category conditions.
6. The method for automatic order making and purchase implementation according to claim 1 is characterized in that: The message queue includes RabbitMQ or Kafka message queue to process order confirmation and merge orders.
7. The method for automatic order making and purchase implementation according to claim 1, characterized in that: Get the details of the merged order, create a table to list the products in each order and classify them, generate a purchase order based on the product classification and total quantity, and send it to the factory for order placement.
8. The method for automatic order making and purchase implementation according to claim 7 is characterized in that: The detailed information of the order, including product name, quantity and parameters, classifies the products in the order according to the product name, calculates the total quantity of each classified product, generates a purchase order based on the product classification and total quantity and sends it to the factory for ordering, confirms the order details with the factory, carries out production and keeps abreast of the production progress and quality, and conducts quality inspection upon receipt.
Citation Information
Patent Citations
Tourism service type supply chain management platform order management method
CN108256980A
Warehouse task execution method, distributed server cluster and computer equipment
CN111258741A
Intelligent production management system applied to factory production
CN118822227A