Data processing method and device
By obtaining the target information of the node and the event recorder, the decomposition in the MRP calculation process is decoupled from the matching process, and parallel computing is realized, which solves the problem of slow calculation speed of existing MRP, and significantly improves the calculation speed and accuracy.
Patent Information
- Application Number
- CN202310556569.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-16
- Publication Date
- 2024-11-22
AI Technical Summary
The existing MRP calculation speed is low and it takes a long time to get the results.
By obtaining the target information of the node, determining the supply water level, and using the supply water level and event recorder to decouple the decomposition from the matching process, implementing parallel calculations and improving the MRP calculation speed.
The MRP calculation speed is significantly improved, the time complexity becomes O(1), the solution speed and accuracy are improved, and the supply and demand balance is achieved.
Smart Images

Figure CN119005869A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of information technology, and in particular, to a data processing method and device. Background Art
[0002] Material requirement planning (MRP) refers to the material planning management model within industrial manufacturing enterprises, which is based on the subordinate and quantity relationship of items at each level of the product structure, with each item as the planning object, and the completion period as the time base. The order of the planned time of each item is distinguished by the length of the lead time. MRP is a practical technology that formulates product production plans based on market demand forecasts and customer orders, and then generates a schedule based on the product, forms a material structure table and inventory status of the product, and calculates the required material demand and demand time through computers, thereby determining the material processing schedule and ordering schedule.
[0003] In the related art, the MRP calculation speed is low, and a long calculation time is required to obtain the MRP. Therefore, how to improve the MRP calculation speed is one of the problems that those skilled in the art need to solve urgently. Summary of the invention
[0004] The embodiment of the present application provides a data processing method and device, which can improve the MRP calculation speed. To achieve the above purpose, the embodiment of the present application adopts the following technical solutions:
[0005] In a first aspect, an embodiment of the present application provides a data processing method, the method comprising: obtaining first target information of a node. Determining a supply level of the node according to the first target information, the supply level being used to indicate a corresponding relationship between supply and time. Determining a material requirement plan according to the supply level. The first target information comprises at least one of demand, supply, inventory, substitution relationship, and bill of materials or priority.
[0006] In the related art, each node of the bill of materials relationship is traversed in a hierarchical order, and while decomposing in a hierarchical order, different supply types are considered to match to meet the demand, that is, "decomposing and matching". In the method provided in the embodiment of the present application, the decomposition and matching processes are decoupled by the supply water level. This allows the MRP to be calculated in parallel, thereby improving the MRP calculation speed. In addition, the method of calculating the net demand by maintaining the water level of each node makes the time complexity become O(1), thereby improving the solution speed.
[0007] In a possible implementation, the event recorder of the node can be determined according to the supply water level, and the material requirement plan can be determined according to the event recorder, wherein the event recorder is used to record the target event of the node, and the target event is an event related to the supply and demand of the node.
[0008] In the method provided in the embodiment of the present application, the decomposition and matching processes are decoupled by supplying water level and event recorder. Thus, the MRP can be calculated in parallel, thereby improving the MRP calculation speed. In addition, by maintaining the detailed records of events occurring at each node through the event recorder, the supply and demand balance can be achieved to ensure the accuracy of the solution.
[0009] In a possible implementation, the second target information of the node may be determined according to the event recorder, and the material requirement plan may be determined according to the second target information, wherein the second target information includes at least one of supply and demand matching details or net demand.
[0010] It is understandable that the supply quantity consumed by each node due to demand delivery has been recorded by the "event recorder", and then through the coding-level supply and demand matching, according to the node's internal supply type priority serial matching operation, it can be traced back to which supply type provided the supply consumption quantity recorded by the "event recorder". Based on the details of each node recorded by the "event recorder", the coding-level supply and demand matching of each node only involves the supply type data related to its own node, so each node can perform supply and demand matching in parallel, and the parallel operations between nodes do not affect each other, thereby improving the efficiency of MRP solution.
[0011] In a possible implementation, the target event may include at least one of initial inventory, in transit, in production, supply consumption, production, production consumption, replacement, replaced, replaced supply consumption or procurement.
[0012] In a second aspect, the present application implements a data processing device, which includes: a transceiver unit and a processing unit. The transceiver unit is used to obtain the first target information of the node, and the first target information includes at least one of the demand, supply, inventory, substitution relationship, and bill of materials or priority. The processing unit is used to determine the supply level of the node according to the first target information, and the supply level is used to indicate the corresponding relationship between supply and time. The processing unit is also used to determine the material requirement plan according to the supply level.
[0013] In a possible implementation, the processing unit is specifically used to: determine an event recorder of the node according to the supply water level, the event recorder is used to record a target event of the node, and the target event is an event related to the supply and demand of the node. Determine the material requirement plan according to the event recorder.
[0014] In a possible implementation, the processing unit is specifically configured to: determine the second target information of the node according to the event recorder, the second target information including at least one of supply and demand matching details or net demand, and determine the material requirement plan according to the second target information.
[0015] In a possible implementation, the target event includes at least one of initial inventory, in transit, in production, supply consumption, production, production consumption, replacement, replaced, replaced supply consumption or procurement.
[0016] In a third aspect, an embodiment of the present application further provides a data processing device, which includes: at least one processor, when the at least one processor executes program code or instructions, it implements the method described in the above first aspect or any possible implementation method thereof.
[0017] Optionally, the data processing device may further include at least one memory, and the at least one memory is used to store the program code or instruction.
[0018] In a fourth aspect, an embodiment of the present application further provides a chip, comprising: an input interface, an output interface, and at least one processor. Optionally, the chip further comprises a memory. The at least one processor is used to execute the code in the memory, and when the at least one processor executes the code, the chip implements the method described in the first aspect or any possible implementation thereof.
[0019] Optionally, the above chip may also be an integrated circuit.
[0020] In a fifth aspect, an embodiment of the present application further provides a computer-readable storage medium for storing a computer program, wherein the computer program includes methods for implementing the method described in the above-mentioned first aspect or any possible implementation thereof.
[0021] In a sixth aspect, an embodiment of the present application further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to implement the method described in the first aspect or any possible implementation thereof.
[0022] The data processing device, computer storage medium, computer program product and chip provided in this embodiment are all used to execute the method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the method provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 A flowchart of a data processing method provided in an embodiment of the present application;
[0025] Figure 2 A schematic diagram of a bill of materials provided for an embodiment of the present application;
[0026] Figure 3 A schematic diagram of a supply water level of a node provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of another supply water level of a node provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application;
[0029] Figure 6 A schematic diagram of the structure of a chip provided in an embodiment of the present application;
[0030] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0031] Figure 8 A schematic diagram of the structure of another data processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the embodiments of the present application.
[0033] The term "and / or" in this article is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0034] The terms "first" and "second" and the like in the description and drawings of the embodiments of the present application are used to distinguish different objects, or to distinguish different processing of the same object, rather than to describe a specific order of objects.
[0035] In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0036] It should be noted that in the description of the embodiments of the present application, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as having priority or advantage over other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0037] First, the terms involved in the embodiments of the present application are explained.
[0038] MRP, or material requirement planning, refers to the planning of each item as the planning object based on the subordinate and quantity relationship of each level of the product structure, with the completion period as the time base, and the order of the planned time of each item is distinguished by the length of the lead time. It is a material planning management model within industrial manufacturing enterprises. MRP is a practical technology that formulates product production plans based on market demand forecasts and customer orders, and then generates a schedule based on the product, forms a material structure table and inventory status of the product, and calculates the required material demand and demand time through computers, thereby determining the material processing schedule and ordering schedule.
[0039] The bill of materials (BOM) is a technical document that describes the composition of an enterprise's products. In the capital processing industry, it shows the structural relationship between the product's final assembly, subassembly, components, parts, and even raw materials, as well as the required quantity.
[0040] Inventory refers to the supply already in the warehouse.
[0041] In transit means that the purchased supplies are still on the way and will arrive at some time in the future.
[0042] In production means that the product needs to be manufactured and assembled at some time in the future.
[0043] In the related art, the MRP calculation speed is low and it takes a long time to calculate to obtain the MRP.
[0044] To this end, an embodiment of the present application provides a data processing method that can improve the MRP calculation speed.
[0045] Figure 1 A data processing method provided by an embodiment of the present application is shown, the method comprising:
[0046] S101. Obtain first target information of a node.
[0047] The first target information includes at least one of demand, supply, inventory, substitution relationship, bill of materials or priority.
[0048] A node can represent a product, a part, a component, a subassembly or a subassembly. The above-mentioned product can specifically refer to the product sold by the enterprise. The product can be a finished product, such as a mobile phone, tablet computer, etc.; it can also be a semi-finished product, such as a battery, screen, etc.
[0049] Each node may have one or more upstream nodes, and / or one or more downstream nodes. The upstream node can be used to produce or assemble the downstream node, and the generation and assembly of the downstream node depends on the manufacturing cycle, supply cycle and service time of the upstream node. The upstream node can also be called the parent node, and the downstream node can also be called the child node. It should be understood that the upstream and downstream relationship between nodes can also be called a hierarchical relationship.
[0050] Each node can be represented as a code, and the connection relationship between nodes in the bill of materials can represent the upstream and downstream relationship between products.
[0051] For example, in actual use, the user may input the first target information of the node to the data processing device through an input device of the electronic device (such as a mouse, keyboard, touch screen, etc.). Figure 2 As shown, the data processing device can obtain the daily demand, inventory and supply of the tables shown in Table 1. Figure 2 Bill of materials for the table shown.
[0052] Table 1
[0053] Category / Date May 1 May 2 May 3 May 4 May 5 May 6 May 7 Demand for tables 100 200 300 400 100 200 300 Table inventory 400 0 0 0 0 0 0 Table Supply 0 100 0 0 0 0 0
[0054] In a possible implementation manner, the first information may also include an available supply queue of the node.
[0055] For example, the child node of node B is node A, and node A1 and node A2 can replace node A, that is, there is a substitution relationship between node A\node A1 and node A2. Among them, the priority of node A1 is higher than the priority of node A2, and the priority of node A2 is higher than the priority of node A. Then the supply node queue of node A can be expressed as A:[A1,A2,A]. That is, when supplying node B, node A1 is consumed first. After the inventory of node A1 is consumed, node A2 is consumed first. After the inventory of node A2 is consumed, node A is consumed.
[0056] In a possible implementation, the nodes may also be sorted according to their priorities.
[0057] In a possible implementation, the bill of materials may include self-made materials and purchased materials. The self-made materials include finished materials, etc. The self-made materials indicate the materials that the enterprise that produces the finished materials can manufacture itself. The purchased materials indicate the materials that the enterprise needs to purchase from other manufacturers.
[0058] In a possible implementation, the bill of materials may include material specification information. The material specification information is used to indicate the material specification and / or model of the material. For example, the material specification information of a capacitor may indicate the manufacturer of the capacitor and the size of the capacitor.
[0059] In a possible implementation, the above-mentioned bill of materials may include the categories of each material. The category of the material may be multiple categories with a hierarchical relationship. For example, the category of the material may include a major category, a medium category, and a minor category. For example, if a material in the bill of materials is a 5 mA capacitor produced by a certain manufacturer, the minor category of the material is an adjustable capacitor, the medium category is a capacitor, and the major category is a general-purpose component. Of course, the category of the material may also be one category, and this application does not limit the form of the category of the material in the bill of materials.
[0060] In a possible implementation, the above-mentioned bill of materials may include a composition structure between materials, and the composition structure between materials indicates the hierarchical relationship between materials. The upper-level materials include the lower-level materials, that is, the upper-level materials are composed of the lower-level materials. For example, the material at the top is a finished product material, and the lower-level materials of the finished product material represent the components of the finished product material. The parent item of the finished product material is the lower-level material of the finished product material, and the lower-level materials of the finished product material are the child items of the finished product material; for another example, an upper-level material is a motherboard of a certain model, and the lower-level materials of the motherboard include chip A and a 5 mA capacitor produced by a certain manufacturer and other materials.
[0061] In a possible implementation, the above-mentioned bill of materials may include parameters such as the quantity of materials used. The quantity of the material used may indicate the quantity of the material required to produce one of its upper-layer materials. For example, the lower-layer materials in a finished product material in the bill of materials include a certain model of motherboard, and the lower-layer materials of the motherboard include 5 mA capacitors produced by a certain manufacturer, and the quantity of the capacitors is 3, that is, 3 of the capacitors are required to produce one model of the motherboard.
[0062] It should be noted that a bill of materials may contain one or more finished materials (i.e., the identification (such as the name) of the finished materials), as well as sub-item materials of each finished quantity (i.e., the identification (such as the name) of the sub-item materials). Furthermore, when there are multiple finished materials in the bill of materials, the multiple finished materials may belong to products of the same industry type (e.g., multiple finished materials are all mobile phones), or the multiple finished materials may belong to products of different types (e.g., one finished material is a mobile phone, and another finished material is an electric rice cooker). The embodiment of the present application does not limit the types of finished materials in the bill of materials.
[0063] S102: Determine a supply water level of a node according to the first target information.
[0064] The above-mentioned supply water level is used to indicate the corresponding relationship between the supply amount and time.
[0065] In a possible implementation, when there is a new supply at the node, the supply amount can be increased at the time point of the new supply and at a time point after the time point of the new supply, wherein the time point of the new supply is a time point corresponding to the new supply.
[0066] like Figure 3 As shown in the figure, when a node has 10 units in stock, the water level (i.e., supply) at the initial moment is 10 units. When there are purchase orders (POs) reaching 10 units on the 5th and 10th days, the 5th and 10th days are the time points for new supply. Therefore, the water level starting from the 5th day will rise by 10 units to 20 units, and the water level starting from the 10th day will rise by 10 units to 30 units.
[0067] In a possible implementation, when there is consumption supply at the node, the supply amount can be reduced at the consumption supply time point and the time point after the consumption supply time point, wherein the consumption supply time point is the newly added supply time point closest to the time point corresponding to the consumption supply.
[0068] like Figure 4As shown, when a node has 10 stocks, the water level at the initial moment is 10. When the PO reaches 10 on the 5th day and 10 on the 10th day, the water level starting from the 5th day will rise by 10 on the basis of 10 to 20, and the water level starting from the 10th day will rise by 10 on the basis of 20 to 30. When there is a demand of 5 on the 3rd day, the most recent water level rise point is (the time point of new supply) from the 0th day, and the water level after the 0th day will drop by 5 accordingly. When there is a demand of 5 again on the 8th day, the most recent water level rise (i.e. the time point of new supply) is the 5th day, and the water level after the 5th day will drop by 5 again.
[0069] S103. Determine material requirement plan according to supply water level.
[0070] For example, the net demand for tables can be determined based on the supply water level of the tables, and the material requirement planning can be determined by the net demand for tables.
[0071] In a possible implementation, the event recorder of the node can be determined according to the supply water level, and the material requirement plan can be determined according to the event recorder, wherein the event recorder is used to record the target event of the node, and the target event is an event related to the supply and demand of the node.
[0072] For example, the event recorder of the table can be determined based on the supply water level of the table, and the net demand of the table can be obtained based on the target events of the table recorded in the event recorder (such as production table, in-transit table, work-in-progress table, supply consumption table), and the material requirement plan can be determined based on the net demand of the table.
[0073] In the method provided in the embodiment of the present application, the decomposition and matching processes are decoupled by supplying water level and event recorder. Thus, the MRP can be calculated in parallel, thereby improving the MRP calculation speed. In addition, by maintaining the detailed records of events occurring at each node through the event recorder, the supply and demand balance can be achieved to ensure the accuracy of the solution.
[0074] In a possible implementation, the second target information of the node can be determined according to the event recorder, and the material requirement plan can be determined according to the second target information, wherein the second target information includes at least one of supply and demand matching details or net demand.
[0075] It is understandable that the supply quantity consumed by each node due to demand delivery has been recorded by the "event recorder", and then through the coding-level supply and demand matching, according to the node's internal supply type priority serial matching operation, it can be traced back to which supply type provided the supply consumption quantity recorded by the "event recorder". Based on the details of each node recorded by the "event recorder", the coding-level supply and demand matching of each node only involves the supply type data related to its own node, so each node can perform supply and demand matching in parallel, and the parallel operations between nodes do not affect each other, thereby improving the efficiency of MRP solution.
[0076] In a possible implementation, the event recorder is specifically used to record at least one of the type, time or quantity of the target event of the node.
[0077] In a possible implementation, the target event may include a positive event and a negative event. The positive event is an event related to an increase in supply and demand of the node. The negative event is an event related to a decrease in supply and demand of the node.
[0078] For example, when node A, as the parent node, has its own inventory and dynamic supply that cannot meet the demand to drive production, the supply increase is a positive event; because the parent node is composed of lower-level child nodes, the demand is passed downward to cause production consumption, which is a negative event.
[0079] For another example, when there is a substitution relationship between nodes A and A', when the supply of node A is insufficient, the supply of node A' can be used as a substitute. First, for the substitute node A', it is a negative event of supply reduction, while for node A, the supply increase is a positive event. When node A uses A''s supply to meet the demand delivery, the consumption of the replaced supply is a negative event. The amount of reduction of the substitute node A' is equal to the amount of increase of the replaced node A, and the amount of node A replaced is equal to the amount of node A consumed by the replaced supply.
[0080] Optionally, as shown in Table 2, the target event may include at least one of initial inventory, in transit, in production, supply consumption, production, production consumption, replacement, replaced, replaced supply consumption or procurement.
[0081] Table 2
[0082]
[0083]
[0084] For example, the demand for node AI3 is 60 and the lower layer is node P3, which can be replaced by node P3' (when the supply of node P3 is insufficient, the supply of node P3' can be used), the static inventory of node AI3, node P3 and node P3' is 10, the number of nodes AI3 in production is 5, and the number of nodes P3 and node P3' in transit is 5. Then the event record for each node is as follows:
[0085] Initially, the available inventory of node AI3 is 10.
[0086] AI3. (Supply increase, +5, work in progress).
[0087] (supply reduction, -15, supply consumption).
[0088] (Supply increase, +45, production).
[0089] (supply reduction, -45, production consumption).
[0090] The initial available stock coded as P3' is 10 pieces.
[0091] P3' (supply increase, +5, on the way).
[0092] (supply reduction, -15, replacement).
[0093] The initial available stock with P3 code is 10 pieces.
[0094] P3 (supply increase, +5, on the way).
[0095] (supply reduction, -15, supply consumption).
[0096] (Supply increase, +15, replaced).
[0097] (supply reduction, -15, consumed by replaced supply).
[0098] (Supply increase, +30, purchase).
[0099] (supply reduction, -30, supply consumption).
[0100] Therefore, it is only necessary to maintain the detailed records of events occurring at each node to record the reasons for supply increase and consumption, as well as to distinguish between positive and negative events to achieve supply and demand balance and offset the positive and negative events to ensure the accuracy of the solution.
[0101] It should be noted that the supply quantity consumed by each node due to demand delivery has been recorded by the "Event Recorder". Then, through the coding-level supply and demand matching, the serial matching operation according to the node's internal supply type priority can be traced back to the specific supply type provided by the supply consumption quantity recorded by the "Event Recorder". Based on the details of each node recorded by the "Event Recorder", the coding-level supply and demand matching of each node only involves the supply type data related to its own node. Therefore, each node in the BOM can perform supply and demand matching in parallel, and the parallel operations between nodes do not affect each other, which can improve the efficiency of solving material requirement planning.
[0102] In the related art, each node of the bill of materials relationship is traversed in a hierarchical order, and while decomposing in a hierarchical order, different supply types are considered to match to meet the demand, that is, "decomposing and matching". In the method provided in the embodiment of the present application, the decomposition and matching processes are decoupled by the supply water level. This allows the MRP to be calculated in parallel, thereby improving the MRP calculation speed. In addition, the method of calculating the net demand by maintaining the water level of each node makes the time complexity become O(1), thereby improving the solution speed.
[0103] Table 3
[0104] Table name Data volume / row Demand table 149684 Encoding attribute table 76141 Material Organization Table 1098698 Inventory Table 33700 Dynamic supply list (in production / in transit) 17985 Specifying a parent override table 1230 Do not specify a parent replacement table 117
[0105] Table 4
[0106] Table name Data volume / row Demand table 692997 Encoding attribute table 57572 Material Organization Table BOM 866450 Inventory Table 42414 Dynamic supply list (in production / in transit) 50131 Substitution table 2000 Do not specify a parent replacement table 163
[0107] The method provided in the embodiment of the present application takes only 34 seconds to solve about 140,000 gross demands and obtain MRP on the medium-sized data set shown in Table 3, and for the large data set of about 700,000 demands shown in Table 4, the average time is 94 seconds to solve the gross demand and net demand at the same time to obtain MRP, and the total time is 188.6 seconds. In general, for a single problem, the solution efficiency can reach the minute level.
[0108] The following will be combined Figure 5 A data processing device for executing the above data processing method is introduced.
[0109] It is understandable that, in order to realize the above functions, the data processing device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the embodiments of the present application.
[0110] The embodiment of the present application can divide the functional modules of the data processing device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0111] In the case of dividing each functional module into corresponding functional modules, Figure 5 A possible schematic diagram of the composition of the data processing device involved in the above embodiment is shown. Figure 5 As shown, the data processing device 500 may include: a transceiver unit 501 and a processing unit 502 .
[0112] The transceiver unit 501 is used to obtain the first target information of the node, and the first target information includes at least one of demand quantity, supply quantity, inventory quantity, substitution relationship, bill of materials or priority.
[0113] The processing unit 502 is used to determine the supply water level of the node according to the first target information, and the supply water level is used to indicate the corresponding relationship between the supply amount and time.
[0114] The processing unit 502 is further configured to determine a material requirement plan according to the supply water level.
[0115] In a possible implementation, the processing unit 502 is specifically used to: determine the event recorder of the node according to the supply water level, the event recorder is used to record the target event of the node, and the target event is an event related to the supply and demand of the node. Determine the material requirement plan according to the event recorder.
[0116] In a possible implementation, the processing unit 502 is specifically configured to: determine the second target information of the node according to the event recorder, the second target information including at least one of supply and demand matching details or net demand, and determine the material requirement plan according to the second target information.
[0117] In a possible implementation, the target event includes at least one of initial inventory, in transit, in production, supply consumption, production, production consumption, replacement, replaced, replaced supply consumption or procurement.
[0118] The embodiment of the present application also provides a chip. Figure 6 Schematic diagram of the structure of a chip 600 is shown. The chip 600 includes one or more processors 601 and an interface circuit 602. Optionally, the chip 600 may also include a bus 603.
[0119] The processor 601 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above data processing method may be completed by an integrated logic circuit of hardware in the processor 601 or by instructions in the form of software.
[0120] Optionally, the processor 601 may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods and steps disclosed in the embodiments of the present application may be implemented or executed. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0121] The interface circuit 602 can be used to send or receive data, instructions or information. The processor 601 can use the data, instructions or other information received by the interface circuit 602 to process, and can send the processing completion information through the interface circuit 602.
[0122] Optionally, the chip also includes a memory, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory (NVRAM).
[0123] Optionally, the memory stores executable software modules or data structures, and the processor can perform corresponding operations by calling operation instructions stored in the memory (the operation instructions can be stored in the operating system).
[0124] Optionally, the chip can be used in a data processing device involved in an embodiment of the present application. Optionally, the interface circuit 602 can be used to output the execution result of the processor 601. The data processing method provided by one or more embodiments of the present application can refer to the aforementioned embodiments, which will not be repeated here.
[0125] It should be noted that the functions corresponding to the processor 601 and the interface circuit 602 can be implemented through hardware design, software design, or a combination of hardware and software, and there is no limitation here.
[0126] Figure 7Schematic diagram of the structure of an electronic device provided in an embodiment of the present application, the electronic device 700 may be a processor or a chip or functional module in a processor. Figure 7 As shown, the electronic device 700 includes a processor 701 , a transceiver 702 and a communication circuit 703 .
[0127] Among them, the processor 701 is used to execute any step in the data processing method provided in the embodiment of the present application, and in the process of executing any step in the data processing method provided in the embodiment of the present application, the transceiver 702 and the communication line 703 can be selectively called to complete the corresponding operation.
[0128] Furthermore, the electronic device 700 may further include a memory 704 . The processor 701 , the memory 704 and the transceiver 702 may be connected via a communication line 703 .
[0129] The processor 701 is a processor, a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 701 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.
[0130] The transceiver 702 is used to communicate with other devices or other communication networks, such as Ethernet, radio access network (RAN), wireless local area network (WLAN), etc. The transceiver 702 can be a module, a circuit, a transceiver or any device capable of achieving communication.
[0131] The transceiver 702 is mainly used for sending and receiving commands and information, etc., and may include a transmitter and a receiver, which respectively send and receive commands and information, etc.; operations other than sending and receiving commands and information, etc. are implemented by the processor.
[0132] The communication line 703 is used to transmit information between the components included in the electronic device 700.
[0133] In one design, the processor may be considered as the logic circuit and the transceiver may be considered as the interface circuit.
[0134] The memory 704 is used to store instructions, where the instructions may be computer programs.
[0135] The memory 704 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable programmable ROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchlink DRAM (SLD RAM), and direct rambus RAM (DRRAM). The memory 704 may also be a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disk, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, etc. It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0136] It should be noted that the memory 704 can exist independently of the processor 701, or can be integrated with the processor 701. The memory 704 can be used to store instructions or program codes or some data, etc. The memory 704 can be located inside the electronic device 700, or outside the electronic device 700, without limitation. The processor 701 is used to execute the instructions stored in the memory 704 to implement the method provided in the above embodiment of the present application.
[0137] In one example, the processor 701 may include one or more processors, such as Figure 7 Processor 0 and processor 1 in.
[0138] As an optional implementation, the electronic device 700 includes multiple processors, for example, Figure 7 In addition to the processor 701, a processor 707 may also be included.
[0139] As an optional implementation, the electronic device 700 further includes an output device 705 and an input device 706. Exemplarily, the input device 706 is a keyboard, a mouse, a microphone, a joystick, and the like, and the output device 705 is a display screen, a speaker, and the like.
[0140] It should be noted that the electronic device 700 may be a chip system or a Figure 7 Devices with similar structures in the chip system. Among them, the chip system can be composed of chips, or it can include chips and other discrete devices. The actions, terms, etc. involved in the various embodiments of this application can refer to each other without limitation. The message name or parameter name in the message exchanged between the various devices in the embodiment of this application is only an example, and other names can also be used in the specific implementation without limitation. In addition, Figure 7 The components shown in the figure do not constitute a limitation on the electronic device 700. Figure 7 In addition to the components shown, the electronic device 700 may include Figure 7 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0141] The processor and transceiver described in the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (NMOS), P-type metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (BJT), bipolar CMOS (BiCMOS), silicon germanium (Si Ge), gallium arsenide (GaAs), etc.
[0142] Figure 8The following is a schematic diagram of the structure of a data processing device provided in an embodiment of the present application. The data processing device can be applied to the scenario shown in the above method embodiment. For the convenience of explanation, Figure 8 Only the main components of the data processing device are shown, including a processor 801, a memory 802, a control circuit 803, and an input-output device 804. The processor 801 is mainly used to process the communication protocol and communication data, execute the software program, and process the data of the software program. The memory 802 is mainly used to store the software program and data. The control circuit 803 is mainly used for power supply and transmission of various electrical signals. The input-output device 804 is mainly used to receive data input by the user and output data to the user.
[0143] When the data processing device is a processor 801, the control circuit 803 can be a mainboard, the memory 802 includes a hard disk, RAM, ROM and other media with storage functions, the processor 801 can include a baseband processor 801 and a central processing unit, the baseband processor is mainly used to process the communication protocol and communication data, the central processing unit is mainly used to control the entire data processing device, execute software programs, and process the data of the software programs, and the input and output device 804 includes a display screen, a keyboard and a mouse, etc.; the control circuit 803 can further include or connect a transceiver circuit or a transceiver, such as: a network cable interface, etc., for sending or receiving data or signals, such as data transmission and communication with other devices. Further, it can also include an antenna for sending and receiving wireless signals, and for data / signal transmission with other devices.
[0144] An embodiment of the present application also provides a data processing device, which includes: at least one processor, when the at least one processor executes program code or instructions, it implements the above-mentioned related method steps to implement the data processing method in the above-mentioned embodiment.
[0145] Optionally, the device may further include at least one memory, and the at least one memory is used to store the program code or instruction.
[0146] An embodiment of the present application also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on a data processing device, the data processing device executes the above-mentioned related method steps to implement the data processing method in the above-mentioned embodiment.
[0147] The embodiment of the present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the above-mentioned related steps to implement the data processing method in the above-mentioned embodiment.
[0148] The embodiment of the present application also provides a data processing device, which may be a chip, an integrated circuit, a component or a module. Specifically, the device may include a connected processor and a memory for storing instructions, or the device may include at least one processor for obtaining instructions from an external memory. When the device is running, the processor may execute instructions so that the chip executes the data processing method in each of the above method embodiments.
[0149] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0150] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0151] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0152] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0153] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0154] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0155] If the above functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0156] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A data processing method, characterized in that: The method comprises: Acquire first target information of the node, wherein the first target information includes at least one of demand, supply, inventory, substitution relationship, bill of materials, or priority; Determining a supply water level of the node according to the first target information, wherein the supply water level is used to indicate a corresponding relationship between supply volume and time; A material requirement plan is determined based on the supply level.
2. The method according to claim 1, characterized in that Determining the material requirement plan according to the supply water level includes: Determine an event recorder of the node according to the supply water level, the event recorder is used to record a target event of the node, the target event is an event related to the supply and demand of the node; The material requirement plan is determined based on the event recorder.
3. The method according to claim 2, characterized in that The determining the material requirement plan according to the event recorder comprises: Determining second target information of the node according to the event recorder, the second target information including at least one of supply and demand matching details or net demand; The material requirement plan is determined according to the second target information.
4. The method according to claim 2 or 3, characterized in that: The target event includes at least one of initial inventory, in transit, in production, supply consumption, production, production consumption, replacement, replaced, replaced supply consumption or procurement.
5. A data processing device, characterized in that: The device comprises a transceiver unit and a processing unit; The transceiver unit is used to obtain first target information of the node, wherein the first target information includes at least one of demand, supply, inventory, substitution relationship, bill of materials, or priority; The processing unit is used to determine the supply water level of the node according to the first target information, and the supply water level is used to indicate the corresponding relationship between the supply amount and time; The processing unit is further used to determine a material requirement plan according to the supply water level.
6. The device according to claim 5, characterized in that The processing unit is specifically used for: Determine an event recorder of the node according to the supply water level, the event recorder is used to record a target event of the node, the target event is an event related to the supply and demand of the node; The material requirement plan is determined based on the event recorder.
7. The device according to claim 6, characterized in that The processing unit is specifically used for: Determining second target information of the node according to the event recorder, the second target information including at least one of supply and demand matching details or net demand; The material requirement plan is determined according to the second target information.
8. The device according to claim 6 or 7, characterized in that The target event includes at least one of initial inventory, in transit, in production, supply consumption, production, production consumption, replacement, replaced, replaced supply consumption or procurement.
9. A data processing device, comprising at least one processor and a memory, characterized in that: The at least one processor executes a program or instruction stored in the memory, so that the data processing device implements the method according to any one of claims 1 to 4 above.
10. A computer-readable storage medium for storing a computer program, characterized in that: When the computer program is executed on a computer or a processor, the computer or the processor is enabled to implement the method according to any one of claims 1 to 4.
11. A computer program product, comprising instructions, characterized in that: When the instructions are executed on a computer or a processor, the computer or the processor is enabled to implement the method according to any one of claims 1 to 4.
12. A chip comprising at least one processor and a memory, characterized in that: The at least one processor executes a program or instruction stored in the memory, so that the data processing device implements the method according to any one of claims 1 to 4 above.
