A big data real-time monitoring system
By designing a big data real-time monitoring system, using API interfaces to monitor order data, and determining procurement information based on material model priority, the problem of insufficient order delivery cycles has been solved, and the flexibility of the supply chain and product quality assurance have been achieved.
Patent Information
- Application Number
- CN202410876743.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-02
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-02
AI Technical Summary
The existing big data real-time monitoring system lacks flexibility in the order delivery cycle, causing problems in supply chain management and making it difficult to respond to material procurement needs in a timely manner.
A big data real-time monitoring system is designed, including an order big data collection module, a procurement material determination module, a material coding determination module and a procurement information determination module. It monitors order data in real time through the API interface and determines procurement information based on the material model priority, including Material code, quantity and delivery time, and automatically purchase supporting material codes to ensure product quality.
Real-time monitoring of order data and flexible procurement are achieved, ensuring flexibility in material delivery time and product quality, and avoiding backlogs or shortages in the supply chain.
Smart Images

Figure CN118411113B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of big data monitoring technology, and in particular to a big data real-time monitoring system. Background Art
[0002] Real-time monitoring of e-commerce big data has many meanings, which are mainly reflected in operation optimization, risk prevention and control, decision support and user experience improvement. By real-time monitoring of e-commerce big data, enterprises can timely understand key information such as sales, user behavior, inventory status, etc. This information helps enterprises adjust product strategies, optimize inventory management, and improve logistics efficiency, thereby reducing operating costs and improving overall benefits. Real-time monitoring of big data can help e-commerce companies to timely discover and prevent potential risks. For example, by monitoring user behavior data, fraud can be identified and prevented; by monitoring transaction data, abnormal transactions can be discovered and handled in a timely manner to ensure transaction security. Real-time monitoring of inventory and sales data helps e-commerce companies optimize supply chain management. By accurately grasping inventory conditions, companies can avoid inventory backlogs or out-of-stock phenomena and ensure the smooth operation of the supply chain.
[0003] When the manufacturing end receives the order information, the manufacturer will start production. The manufacturing and assembly of the product involves a large number of materials, which need to be purchased from suppliers. At present, a certain material of a batch of orders is basically purchased from the same supplier. The delivery cycle of the order is restricted by the delivery time of a certain supplier, which is not flexible enough. It is necessary to monitor the order information in time to avoid problems in the supply chain. Therefore, it is necessary to provide a big data real-time monitoring system to solve or alleviate the above problems. Summary of the invention
[0004] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a big data real-time monitoring system to solve the problems existing in the above-mentioned background technology.
[0005] The present invention is implemented as follows: a big data real-time monitoring system, the system comprising:
[0006] The order big data collection module is used to monitor and obtain order data from various platforms in real time based on the API interface, and to aggregate the order data to obtain order information;
[0007] The purchase material determination module is used to determine the purchase material model, purchase material quantity and demand time according to the order information and material inventory information. Each purchase material model has a corresponding priority;
[0008] The material code determination module is used to determine several material codes corresponding to each purchased material model in turn according to the priority of the purchased material model. Each material code has a corresponding priority, and the supplier and corresponding delivery capacity are determined according to the material code;
[0009] A purchasing information determination module is used to determine purchasing information according to the priority of the material code, the delivery capacity of the supplier and the demand time, wherein the purchasing information includes the purchasing material code, the corresponding material quantity and the delivery time;
[0010] The supporting procurement information module is used to determine whether there is a supporting material code based on the procurement information. If there is a supporting material code, the supporting procurement information is determined based on the procurement information.
[0011] As a further solution of the present invention: the order big data collection module includes:
[0012] API key authorization unit, used for authentication and authorization based on API keys;
[0013] A request parameter determination unit, used to input request parameters, wherein the request parameters include material model, order status, query time, and order quantity;
[0014] The return result determination unit is used to input the return result, and the return result includes a local storage database to perform data cleaning on the collected order data.
[0015] As a further solution of the present invention: the purchased material determination module includes:
[0016] The required material determination unit is used to determine the material model, material quantity and processing time according to the order information;
[0017] The purchase material determination unit is used to determine the purchase material model, purchase material quantity and demand time according to the material inventory information;
[0018] The material model priority unit is used to input the purchased material model into the material model priority library to obtain the priority of each purchased material model.
[0019] As a further solution of the present invention: the required material determination unit includes:
[0020] An order information reading subunit is used to read the product model, quantity and delivery date in the order information;
[0021] The material model quantity subunit is used to find the required material model and quantity correspondence in the BOM according to the product model, and determine the material quantity based on the quantity correspondence;
[0022] The processing time determination subunit is used to determine the processing time based on the delivery date, production schedule and production cycle.
[0023] As a further solution of the present invention: the material code determination module includes:
[0024] The material code determination unit is used to input the purchased material model into the material code library to obtain one or more material codes, each of which is marked with a priority;
[0025] The delivery capability determination unit is used to input the material code into the supplier delivery library to obtain the supplier and delivery capability corresponding to the material code.
[0026] As a further solution of the present invention: the purchasing information determination module includes:
[0027] Maximum supply unit, used to determine the maximum supply quantity of the optimal material code based on delivery capacity and demand time;
[0028] The quantity determination unit is used to compare the maximum supply quantity with the purchase material quantity. When the maximum supply quantity is greater than or equal to the purchase material quantity, the purchase material code is the optimal material code, the corresponding material quantity is the purchase material quantity, and the delivery time is the required time; otherwise, the steps in the combined maximum supply quantity unit are executed;
[0029] Combine the maximum supply quantity unit. When the maximum supply quantity is less than the purchase material quantity, determine the combined maximum supply quantity of the best-level material code and the next best-level material code, and repeat this step until the combined maximum supply quantity is greater than or equal to the purchase material quantity.
[0030] For a delayed delivery unit, if the combined maximum supply quantity of all material codes is less than the purchased material quantity, a delayed delivery information is generated.
[0031] As a further solution of the present invention: the supporting procurement information module includes:
[0032] The supporting code generation unit generates each purchase information and inputs the purchase material code in the purchase information into the supporting code library to obtain the supporting code;
[0033] The supporting material code unit is used to compare the supporting code with the material codes corresponding to all purchased material models. If the supporting code and the material code are the same, the same code is the supporting material code;
[0034] The purchase quantity determination unit is used to determine the purchase quantity of the kitting material code based on the purchase information.
[0035] Another object of the present invention is to provide a big data real-time monitoring method, the method comprising the following steps:
[0036] Based on the API interface, real-time monitoring is used to obtain order data from various platforms, and the order data is summarized to obtain order information;
[0037] According to the priority of the purchased material model, several material codes corresponding to each purchased material model are determined in turn. Each material code has a corresponding priority, and the supplier and corresponding delivery capacity are determined according to the material code;
[0038] Determine procurement information according to the priority of the material code, the supplier's delivery capability and the demand time, wherein the procurement information includes the procurement material code, the corresponding material quantity and the delivery time;
[0039] Determine whether there is a supporting material code based on the procurement information. If there is a supporting material code, determine the supporting procurement information based on the procurement information.
[0040] Compared with the prior art, the present invention has the following beneficial effects:
[0041] The present invention monitors order big data in real time, determines the purchase material model according to the big data, and determines several material codes corresponding to each purchase material model in turn according to the priority of the purchase material model, each material code corresponds to a priority, and determines the supplier and the corresponding delivery capacity according to the material code; determines the purchase information according to the priority of the material code, the delivery capacity of the supplier and the demand time, and the purchase information includes the purchase material code, the corresponding material quantity and the delivery time; determines whether there is a matching material code according to the purchase information, and if there is a matching material code, determines the matching purchase information according to the purchase information. In this way, one material model will correspond to the material codes of multiple suppliers, with strong flexibility, ensuring the delivery time as much as possible, and automatically purchasing matching material codes to ensure product quality. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 The figure is a structural diagram of a big data real-time monitoring system.
[0043] Figure 2 This is a structural diagram of an order big data collection module in a big data real-time monitoring system.
[0044] Figure 3 This is a structural diagram of a procurement material determination module in a big data real-time monitoring system.
[0045] Figure 4 This is a structural diagram of a material coding determination module in a big data real-time monitoring system.
[0046] Figure 5 This is a structural diagram of a procurement information determination module in a big data real-time monitoring system.
[0047] Figure 6 This is a structural diagram of the supporting procurement information module in a big data real-time monitoring system.
[0048] Figure 7 The figure is a flow chart of a big data real-time monitoring method. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0050] The specific implementation of the present invention is described in detail below in conjunction with specific embodiments.
[0051] like Figure 1 As shown, an embodiment of the present invention provides a big data real-time monitoring system, the system comprising:
[0052] The order big data collection module 100 is used to monitor and obtain order data from various platforms in real time based on the API interface, and to aggregate the order data to obtain order information;
[0053] The purchase material determination module 200 is used to determine the purchase material model, purchase material quantity and demand time according to the order information and material inventory information, and each purchase material model has a corresponding priority;
[0054] The material code determination module 300 is used to determine a number of material codes corresponding to each purchased material model in turn according to the priority of the purchased material model, each material code has a corresponding priority, and determine the supplier and the corresponding delivery capacity according to the material code;
[0055] A purchasing information determination module 400 is used to determine purchasing information according to the priority of the material code, the delivery capacity of the supplier and the demand time, wherein the purchasing information includes the purchase material code, the corresponding material quantity and the delivery time;
[0056] The supporting purchase information module 500 is used to determine whether there is a supporting material code according to the purchase information, and if there is a supporting material code, determine the supporting purchase information according to the purchase information.
[0057] In the embodiment of the present invention, firstly, the order big data of major e-commerce platforms will be monitored and obtained in real time, and then the purchase material model, purchase material quantity and demand time will be determined according to the order information and material inventory information. In addition, each purchase material model has a corresponding priority, and the priority is used to reflect the purchase order of the material model. For example, first purchase material A, then purchase material B, and then determine the several material codes corresponding to each purchase material model in turn according to the priority of the purchase material model. It should be noted that the manufacturer tries to find different suppliers for each material model, and sets a material code for the same material model provided by each supplier. For example, the code of material A produced by Company A is A45HE5401, and the code of material A produced by Company B is A45HE2642. Each material code has a corresponding priority. Preferably, the last digit of the material code can be used to reflect the priority. Here, material A produced by Company A is purchased first; then the purchase information needs to be determined according to the priority of the material code, the delivery capacity of the supplier and the demand time. The purchase information includes the purchase material code, the corresponding material quantity and the delivery time. For example, the purchase information is: 500 copies of material A of A45HE5401, with a delivery time of 10 days. In addition, it is necessary to determine whether there is a matching material code based on the purchase information. The matching material code refers to the material code that needs to be used together. For example, the corresponding codes of material A are A45HE5401 and A45HE2642, and the corresponding codes of material B are B32KH4571 and B32KH8562. Among them, A45HE5401 and B32KH8562 need to be used together, so that the product quality is better. If there is a matching material code, the matching purchase information is determined according to the purchase information. For example, the matching purchase information is 500 copies of material B of B32KH8562, with a delivery time of 10 days. In this way, material B is not purchased according to the priority of its own code. Specifically, material A is a copper tube, and material B is a welding ring. The copper tube coded A45HE5401 and the welding ring coded B32KH8562 have the best effect of matching, stable welding quality, and the lowest leakage rate.
[0058] like Figure 2 As shown, as a preferred embodiment of the present invention, the order big data collection module 100 includes:
[0059] An API key authorization unit 101, for performing identity authentication and authorization based on an API key;
[0060] A request parameter determination unit 102, used to input request parameters, wherein the request parameters include material model, order status, query time and order quantity;
[0061] The return result determination unit 103 is used to input the return result, which includes a local storage database and performs data cleaning on the collected order data.
[0062] In the embodiment of the present invention, API (Application Programming Interface) is a set of rules and standards that allow different applications or systems to communicate with each other and exchange data. The API interface provided by the e-commerce platform is usually used to implement data interaction between the platform and developers, such as product information query, order creation and query, etc. Obtaining API keys: After registering and successfully applying for permissions, the e-commerce platform will provide a set of API keys (such as API Key, Secret Key, etc.) for identity authentication and authorization when calling the API. The API documentation provided by the general e-commerce platform describes in detail the API calling method, request parameters, return results and other information.
[0063] like Figure 3 As shown, as a preferred embodiment of the present invention, the purchased material determination module 200 includes:
[0064] The required material determination unit 201 is used to determine the material model, material quantity and processing time according to the order information;
[0065] The purchase material determination unit 202 is used to determine the purchase material model, purchase material quantity and demand time according to the material inventory information;
[0066] The material model priority unit 203 is used to input the purchased material model into the material model priority library to obtain the priority of each purchased material model.
[0067] In the material model priority unit 203, the purchase material model is input into the material model priority library, and the step of obtaining the priority of each purchase material model includes the following sub-steps:
[0068] Step S2031, obtaining the importance score, urgency score, cost and historical purchase frequency corresponding to each purchase material model;
[0069] Step S2032, based on the importance score, urgency score, cost and historical purchase frequency corresponding to the purchased material model, the priority of the purchased material model is calculated.
[0070] The calculation formula for the priority of the purchased material model is expressed as:
[0071] ;
[0072] in, Indicates the priority of the purchased material model. Indicates the importance score of the purchased material model. Indicates the urgency score of the purchased material model. Indicates the cost of the purchased material model, Indicates the historical purchase frequency of the purchased material model, Both represent the first weight coefficient.
[0073] It should be noted here that the importance score of the purchased material model , is a score based on the criticality of the material to the production process. Urgency score for the purchased material model , is a score calculated based on the order delivery date and the current date, used to indicate the urgency of purchasing the material. The inverse of the cost is used to indicate that the lower the cost, the higher the priority may be. , expressed as the inverse of the purchase frequency, materials that have been purchased less frequently in history may have a higher priority in the current purchase.
[0074] In an embodiment of the present invention, the material model, material quantity and processing time are first determined according to the product name, product quantity and delivery time in the order information, and then the remaining material quantity of these material models in the material inventory information is retrieved to determine the material model, material quantity and required time to be purchased, where the required time is the processing time; then the purchased material model is input into the material model priority library to obtain the priority of each purchased material model. The material model priority library is established in advance and includes all material models and corresponding priority levels.
[0075] Wherein, the required material determination unit 201 includes:
[0076] An order information reading subunit is used to read the product model, quantity and delivery date in the order information;
[0077] The material model quantity subunit is used to find the required material model and quantity correspondence in the BOM according to the product model, and determine the material quantity based on the quantity correspondence;
[0078] In the material model quantity subunit, the required material model and quantity correspondence is searched in the BOM according to the product model. The step of determining the material quantity based on the quantity correspondence includes the following substeps:
[0079] Step S2011, searching the total number of types of the required material model in the bill of materials according to the product model;
[0080] Step S2012, based on the order information, obtaining the product quantity and delivery date in the order information;
[0081] Step S2013, calculating the final quantity of material models according to the total number of types of required material models, the number of products in the order information, and the delivery date.
[0082] The calculation formula for the final number of material models is expressed as:
[0083] ;
[0084] in, Indicates the final number of material models. Indicates the total number of types of required material models found in the bill of materials. Indicates The basic quantity of the material model. Indicates product model And material model The correlation between Indicates the quantity of products in the order, Indicates the delivery date of the order, Indicates The ideal production cycle for this material model.
[0085] The processing time determination subunit is used to determine the processing time based on the delivery date, production schedule and production cycle.
[0086] Among them, BOM (Bill of Materials) contains the material information required to assemble each product, and the material information includes the correspondence between material model and quantity.
[0087] like Figure 4 As shown, as a preferred embodiment of the present invention, the material code determination module 300 includes:
[0088] The material code determination unit 301 is used to input the purchased material model into the material code library to obtain one or more material codes, each of which is marked with a priority;
[0089] The delivery capability determination unit 302 is used to input the material code into the supplier delivery library to obtain the supplier and delivery capability corresponding to the material code.
[0090] In an embodiment of the present invention, a material coding library and a supplier delivery library are established in advance, and the material coding library includes all material models and corresponding material codes. By inputting the purchased material model into the material coding library, one or more material codes can be obtained. The supplier delivery library includes all material codes, corresponding suppliers and corresponding delivery capabilities. For example, the delivery capacity is N days for every 100 pieces. By inputting the material code into the supplier delivery library, the supplier and delivery capacity corresponding to the material code can be obtained.
[0091] like Figure 5As shown, as a preferred embodiment of the present invention, the purchasing information determination module 400 includes:
[0092] Maximum supply quantity unit 401 is used to determine the maximum supply quantity of the optimal material code according to the delivery capacity and the demand time;
[0093] In the maximum supply quantity unit 401, in the step of determining the maximum supply quantity of the optimal material code according to the delivery capacity and the demand time, the calculation formula of the maximum supply quantity of the optimal material code is expressed as:
[0094] ;
[0095] in, Indicates the maximum supply quantity of the optimal material code. Indicates the quantity of materials that a supplier can provide in one day. Indicates the required time, Indicates the current time. Indicates the supplier's supply stability rate, Represents the historical average of the supplier's supply stability rate, Represents the standard deviation of the supplier's supply stability rate; represents a positive coefficient, which is used to control the effect of delivery time urgency on supply quantity; Indicates the supplier's earliest delivery time, Indicates the supplier's maximum inventory quantity.
[0096] It should be noted that The time interval from the current time to the required time is calculated, which directly affects the supply quantity, because the longer the time, the more materials can be provided in theory. The stability adjustment factor is used to adjust the basic supply capacity based on the difference between the supplier's supply stability rate and its historical average supply stability rate. The first part is a delivery urgency factor. When the demand time is close to the supplier's earliest delivery time, the factor will increase, thereby reducing the available quantity, reflecting the impact of the urgency of delivery time on supply capacity.
[0097] The quantity determination unit 402 is used to compare the maximum supply quantity with the purchase material quantity. When the maximum supply quantity is greater than or equal to the purchase material quantity, the purchase material code is the optimal material code, the corresponding material quantity is the purchase material quantity, and the delivery time is the required time; otherwise, the steps in the combined maximum supply quantity unit are executed;
[0098] The combined maximum supply quantity unit 403, when the maximum supply quantity is less than the purchase material quantity, determines the combined maximum supply quantity of the best-level material code and the next best-level material code, and repeats this step until the combined maximum supply quantity is greater than or equal to the purchase material quantity;
[0099] In the combined maximum supply quantity unit 403, the calculation formula of the combined maximum supply quantity of the best material code and the next best material code is expressed as:
[0100] ;
[0101] in, Indicates the maximum supply quantity of the combination of the best material code and the next best material code. Indicates Maximum supply quantity for a material code, Indicates the total number of material codes considered; Represents a positive coefficient used to control the impact of material coding priority on supply quantity; Indicates The priority score of the material code, Indicates The delivery cycle of a material code, Indicates the minimum delivery cycle among all material codes.
[0102] The delayed delivery unit 404 generates delayed delivery information if the combined maximum supply quantity of all material codes is less than the purchased material quantity.
[0103] In the embodiment of the present invention, the priority of the material code reflects the comprehensive index of the corresponding material, and the comprehensive index takes into account the quality and price factors. Therefore, all materials corresponding to the optimal material code should be purchased as much as possible, so it is necessary to determine the maximum supply quantity of the optimal material code according to the delivery capacity and the demand time, and then compare the maximum supply quantity with the corresponding purchased material quantity. When the maximum supply quantity is greater than or equal to the purchased material quantity, it means that all materials corresponding to the optimal material code can be purchased, the purchased material code is the optimal material code, the corresponding material quantity is the purchased material quantity, and the delivery time is the demand time; when the maximum supply quantity is less than the purchased material quantity, the combined maximum supply quantity of the optimal material code and the next optimal material code is determined, and the combination with the next optimal material code is repeated until the combined maximum supply quantity is greater than or equal to the purchased material quantity; when the combined maximum supply quantity obtained after all material codes corresponding to the material model are combined is still less than the purchased material quantity, a delayed delivery information is generated, indicating that all cannot be delivered on time.
[0104] like Figure 6 As shown, as a preferred embodiment of the present invention, the supporting purchase information module 500 includes:
[0105] The supporting code generating unit 501 generates a piece of purchasing information each time, inputs the purchase material code in the purchasing information into the supporting code library to obtain the supporting code;
[0106] The supporting material code unit 502 is used to compare the supporting code with the material codes corresponding to all the purchased material models. When the supporting code and the material code are the same, the same code is the supporting material code;
[0107] The purchase quantity determination unit 503 is used to determine the purchase quantity of the supporting material code according to the purchase information.
[0108] In the embodiment of the present invention, each time a purchase information is generated, the purchase material code in the purchase information is input into the supporting code library to obtain the supporting code and supporting ratio. The embodiment of the present invention has established a supporting code library in advance, and the supporting code library includes material codes, corresponding supporting codes and supporting ratios. Then, the supporting code is compared with the material codes corresponding to all the purchase material models. When the supporting code and the material code are the same, the same code is the supporting material code, and the purchase quantity of the supporting material code is determined according to the purchase information and the supporting ratio. Finally, the material model and purchase quantity corresponding to the supporting material code need to be subtracted from the purchase material model and the purchase material quantity, indicating that this part has been purchased to avoid repeated purchases.
[0109] like Figure 7 As shown, the embodiment of the present invention also provides a big data real-time monitoring method, the method comprising the following steps:
[0110] S100, real-time monitoring and acquisition of order data from various platforms based on the API interface, and aggregation of the order data to obtain order information;
[0111] S200, determining the purchase material model, purchase material quantity and demand time according to the order information and material inventory information, and each purchase material model has a corresponding priority;
[0112] S300, determining a number of material codes corresponding to each of the purchased material models in turn according to the priority of the purchased material models, each material code has a corresponding priority, and determining the supplier and the corresponding delivery capacity according to the material code;
[0113] S400, determining procurement information according to the priority of the material code, the delivery capability of the supplier and the demand time, wherein the procurement information includes the procurement material code, the corresponding material quantity and the delivery time;
[0114] S500, determining whether there is a supporting material code according to the procurement information, and if there is a supporting material code, determining supporting procurement information according to the procurement information.
[0115] The above only describes in detail the preferred embodiments of the present invention, which is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0116] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0117] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0118] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the disclosure in the specification and examples. This application is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
Claims
1. A big data real-time monitoring system, characterized in that: The system comprises: The order big data collection module is used to monitor and obtain order data from various platforms in real time based on the API interface, and to aggregate the order data to obtain order information; The purchase material determination module is used to determine the purchase material model, purchase material quantity and demand time according to the order information and material inventory information. Each purchase material model has a corresponding priority; The material code determination module is used to determine several material codes corresponding to each purchased material model in turn according to the priority of the purchased material model. Each material code has a corresponding priority, and the supplier and corresponding delivery capacity are determined according to the material code; A purchasing information determination module is used to determine purchasing information according to the priority of the material code, the delivery capacity of the supplier and the demand time, wherein the purchasing information includes the purchasing material code, the corresponding material quantity and the delivery time; A matching purchase information module is used to determine whether a matching material code exists according to the purchase information, and if a matching material code exists, determine the matching purchase information according to the purchase information; The order big data collection module includes: API key authorization unit, used for authentication and authorization based on API keys; A request parameter determination unit, used to input request parameters, wherein the request parameters include material model, order status, query time, and order quantity; A return result determination unit, used to input a return result, wherein the return result includes a local storage database, and performs data cleaning on the collected order data; The purchased material determination module includes: The required material determination unit is used to determine the material model, material quantity and processing time according to the order information; The purchase material determination unit is used to determine the purchase material model, purchase material quantity and demand time according to the material inventory information; The material model priority unit is used to input the purchased material model into the material model priority library to obtain the priority of each purchased material model; The required material determination unit comprises: An order information reading subunit is used to read the product model, quantity and delivery date in the order information; The material model quantity subunit is used to find the required material model and quantity correspondence in the BOM according to the product model, and determine the material quantity based on the quantity correspondence; The processing time determination subunit is used to determine the processing time based on the delivery date, production schedule and production cycle; In the material model quantity subunit, the required material model and quantity correspondence is searched in the BOM according to the product model. The step of determining the material quantity based on the quantity correspondence includes the following substeps: Find the total number of types of the required material model in the bill of materials according to the product model; Based on the order information, obtain the product quantity and delivery date in the order information; The final quantity of material models is calculated based on the total number of required material models, the number of products in the order information, and the delivery date; The calculation formula for the final number of material models is expressed as: ; in, Indicates the final number of material models. Indicates the total number of types of required material models found in the bill of materials. Indicates The basic quantity of the material model. Indicates product model And material model The correlation between Indicates the quantity of products in the order. Indicates the delivery date of the order, Indicates The ideal production cycle of the material model; The purchasing information determination module includes: Maximum supply unit, used to determine the maximum supply of the optimal material code based on delivery capacity and demand time; The quantity determination unit is used to compare the maximum supply quantity with the purchase material quantity. When the maximum supply quantity is greater than or equal to the purchase material quantity, the purchase material code is the optimal material code, the material quantity corresponding to the purchase material code is the purchase material quantity, and the delivery time is the required time; otherwise, the steps in the combined maximum supply quantity unit are executed; Combine the maximum supply quantity unit. When the maximum supply quantity is less than the purchase material quantity, determine the combined maximum supply quantity of the best-level material code and the next best-level material code, and repeat this step until the combined maximum supply quantity is greater than or equal to the purchase material quantity. Delayed delivery unit: if the combined maximum supply quantity of all material codes is less than the purchased material quantity, delayed delivery information is generated; In the maximum supply quantity unit, in the step of determining the maximum supply quantity of the optimal material code according to the delivery capability and the demand time, the calculation formula of the maximum supply quantity of the optimal material code is expressed as: ; in, Indicates the maximum supply quantity of the optimal material code. Indicates the quantity of materials that a supplier can provide in one day. Indicates the required time, Indicates the current time. Indicates the supplier's supply stability rate, Represents the historical average of the supplier's supply stability rate, Represents the standard deviation of the supplier's supply stability rate; represents a positive coefficient, which is used to control the effect of delivery time urgency on supply quantity; Indicates the supplier's earliest delivery time, Indicates the maximum inventory quantity of the supplier; In the combined maximum supply unit, the calculation formula for the combined maximum supply of the best-level material code and the next best-level material code is expressed as: ; in, Indicates the maximum supply quantity of the combination of the best material code and the next best material code. Indicates Maximum supply quantity for a material code, Indicates the total number of material codes considered; Represents a positive coefficient used to control the impact of material coding priority on supply quantity; Indicates The priority score of the material code, Indicates The delivery cycle of a material code, Indicates the minimum delivery cycle among all material codes.
2. According to the big data real-time monitoring system of claim 1, it is characterized in that: In the material model priority unit, the purchased material model is input into the material model priority library. The step of obtaining the priority of each purchased material model includes the following sub-steps: Obtain the importance score, urgency score, cost, and historical purchase frequency for each purchased material model; Calculate the priority of the purchased material model based on the importance score, urgency score, cost and historical purchase frequency of the purchased material model; The calculation formula for the priority of the purchased material model is expressed as: ; in, Indicates the priority of the purchased material model. Indicates the importance score of the purchased material model. Indicates the urgency score of the purchased material model. Indicates the cost of the purchased material model, Indicates the historical purchase frequency of the purchased material model. Both represent the first weight coefficient.
3. According to the big data real-time monitoring system of claim 1, it is characterized in that: The material code determination module includes: The material code determination unit is used to input the purchased material model into the material code library to obtain one or more material codes, each of which is marked with a priority; The delivery capability determination unit is used to input the material code into the supplier delivery library to obtain the supplier and delivery capability corresponding to the material code.
4. According to the big data real-time monitoring system of claim 1, it is characterized in that: The supporting procurement information module includes: The supporting code generation unit generates each purchase information and inputs the purchase material code in the purchase information into the supporting code library to obtain the supporting code; The supporting material code unit is used to compare the supporting code with the material codes corresponding to all purchased material models. If the supporting code and the material code are the same, the same code is the supporting material code; The purchase quantity determination unit is used to determine the purchase quantity of the kitting material code based on the purchase information.
