Industrial production data processing method and device, production equipment and readable storage medium
By constructing a two-dimensional coordinate system and using filtering rectangles to filter industrial production data, the problem of abnormal data in industrial production data was solved, improving data accuracy and cost accounting accuracy.
Patent Information
- Application Number
- CN202111643532.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-29
- Publication Date
- 2026-02-13
- Estimated Expiration
- 2041-12-29
AI Technical Summary
Existing technologies contain a large amount of abnormal data in industrial production data, which leads to significant deviations in subsequent statistical and accounting processes. There is an urgent need to quickly and accurately filter out abnormal data.
By acquiring industrial production data from the process production sites through which each batch of materials passes, a two-dimensional coordinate system is constructed. Using preset filtering rules and filtering rectangles, the data point set is continuously moved and sampled to filter out the target industrial production dataset and exclude abnormal data.
It effectively eliminates abnormal data in industrial production data, improves the accuracy of data acquisition and subsequent process cost accounting, and guides the optimization of production processes.
Smart Images

Figure CN114329115B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of data processing, in particular to an industrial production data processing method and device, production equipment and a readable storage medium. BACKGROUND
[0002] With the vigorous development of the industrial internet, the industrial production data generated by industrial equipment shows a substantial growth trend, which brings great challenges to the performance of data collection, edge analysis and data transmission modules. Due to the existence of a large amount of "abnormal" data, the subsequent statistical and accounting process using the industrial production data deviates greatly.
[0003] Therefore, there is an urgent need for a method that can quickly and accurately filter abnormal data in the actual industrial production process. SUMMARY
[0004] To solve the above technical problems, the present application provides an industrial production data processing method, device, production equipment and readable storage medium, and the specific scheme is as follows:
[0005] In a first aspect, the present application provides an industrial production data processing method, which comprises:
[0006] Obtaining all process production sites passed by each batch of materials, wherein each batch of materials comprises a plurality of types of materials;
[0007] Obtaining industrial production data corresponding to each process production site according to the material flow condition of each process production site, wherein the industrial production data comprises unit production time of the corresponding process production site;
[0008] Collecting the industrial production data of all process production sites to form a production data set;
[0009] Obtaining screening production data from the production data set, and mapping the screening production data to a preset two-dimensional coordinate system to obtain a target data point set, wherein the screening production data is the industrial production data corresponding to the material of the screening type;
[0010] Screening the target data point set according to a preset screening rule to obtain a target industrial production data set.
[0011] According to a specific embodiment of the present application, the step of screening the target data point set according to a preset screening rule to obtain a target industrial production data set comprises:
[0012] Calculating the minimum effective working hours and the maximum effective working hours according to the unit production time and a preset proportion parameter;
[0013] According to the preset sampling time, the minimum effective working hours and the maximum effective working hours, a screening rectangle is formed;
[0014] According to the screening rectangle, the target data point set is continuously sampled for a preset number of times, and a target sampling result is output to a sampling result set;
[0015] From the sampling result set, the sampling result including the largest number of data points in the screening rectangle is selected as the target industrial production data.
[0016] According to an embodiment of the present application, the step of continuously sampling the target data point set according to the screening rectangle for a preset number of times and outputting a target sampling result to a sampling result set comprises:
[0017] According to the preset data screening ratio and the preset conversion rule, the number of samplings is calculated;
[0018] The screening rectangle is placed at a target position of the target data point set, and the target position is the position where the highest data point of the target data point set coincides with the upper base of the screening rectangle;
[0019] According to the number of samplings, the screening rectangle is sequentially sampled downward, and the number of data points of each sampling is output;
[0020] The target sampling result whose data point ratio in the target data point set is greater than the data screening ratio is output to the sampling result set.
[0021] According to an embodiment of the present application, after the step of collecting industrial production data of all process production sites to form a production data set, the method further comprises:
[0022] If the number of pass records corresponding to one type of material is lower than a preset number threshold, the industrial production data of the material is marked as unselectable.
[0023] According to an embodiment of the present application, the material flow condition includes material pass time and material pass quantity, and after the step of obtaining industrial production data corresponding to each process production site according to the material flow condition of each process production site, the method further comprises:
[0024] If the number of abnormal data of the industrial production data of the process production site exceeds a preset number threshold, an abnormal signal corresponding to the process production site is sent to a monitoring terminal;
[0025] The abnormal data includes production data with unit production time greater than a preset upper limit time threshold and unit production time less than a preset lower limit time threshold.
[0026] In a second aspect, an embodiment of the present application provides an industrial production data processing device, which comprises:
[0027] a first obtaining module, configured to obtain all process production sites passed by batches of materials, wherein each batch of materials comprises materials of multiple types;
[0028] a second obtaining module, configured to obtain industrial production data of each process production site according to material flow conditions of each process production site, wherein the industrial production data comprises unit production time of the corresponding process production site;
[0029] a collection module, configured to collect the industrial production data of all process production sites to form a production data set;
[0030] a third obtaining module, configured to obtain to-be-screened production data from the production data set and map the to-be-screened production data to a preset two-dimensional coordinate system to obtain a target data point set, wherein the to-be-screened production data is industrial production data corresponding to materials of a to-be-screened type;
[0031] a screening module, configured to screen the target data point set according to a preset screening rule to obtain a target industrial production data set.
[0032] According to a specific embodiment of the present application, the screening module is specifically configured to:
[0033] calculate minimum effective working hours and maximum effective working hours according to the unit production time and a preset proportion parameter; form a screening rectangle according to a preset sampling time, the minimum effective working hours and the maximum effective working hours; perform continuous moving sampling on the target data point set for a preset number of times according to the screening rectangle, output a target sampling result to a sampling result set, and select, from the sampling result set, a sampling result in which the screening rectangle includes the largest number of data points as the target industrial production data.
[0034] According to a specific embodiment of the present application, the screening module is specifically configured to:
[0035] calculate a sampling number according to a preset data screening proportion and a preset conversion rule; place the screening rectangle at a target position of the target data point set, the target position being a position at which a highest data point of the target data point set coincides with an upper base of the screening rectangle; sequentially sample downward through the screening rectangle according to the sampling number, and output a number of data points sampled each time; and output, to the sampling result set, a target sampling result in which the number of data points accounts for more than the data screening proportion in the target data point set.
[0036] In a third aspect, an embodiment of the present application provides a production device, the production device comprising a processor and a memory, the memory storing a computer program, the computer program performing the industrial production data processing method of the first aspect when running on the processor.
[0037] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing a computer program, the computer program performing the industrial production data processing method of the first aspect when running on a processor.
[0038] The embodiments of the present application provide an industrial production data processing method, device, production equipment and readable storage medium, the method comprising: acquiring all process production sites passed by each batch of material; acquiring industrial production data corresponding to each process production site according to the material flow condition of each process production site; collecting the industrial production data of all process production sites to form a production data set; acquiring to-be-screened production data from the production data set and mapping the to-be-screened production data to a preset two-dimensional coordinate system to obtain a target data point set, wherein the to-be-screened production data is the industrial production data corresponding to a material of a to-be-screened type; and screening the target data point set according to a preset screening rule to obtain a target industrial production data set. Through the selection and mapping of the to-be-screened production data and the screening processing of the production data, abnormal data in the industrial production data can be effectively investigated, and the accuracy of subsequent process cost accounting analysis can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0039] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope of protection of the present application. In each drawing, similar components are marked with similar reference numerals.
[0040] Figure 1 A method flow diagram of an industrial production data processing method provided by an embodiment of the present application is shown;
[0041] Figure 2 A filtering rectangle diagram of an industrial production data processing method provided by an embodiment of the present application is shown;
[0042] Figure 3 A device module diagram of an industrial production data processing device provided by an embodiment of the present application is shown. DETAILED DESCRIPTION
[0043] The technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application.
[0044] The components of the embodiments of the present application generally described and illustrated in the accompanying drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application.
[0045] Hereinafter, the terms "include", "have", and their conjugates, used in various embodiments of the present application, are intended to indicate that specific features, numbers, steps, operations, elements, components, or combinations thereof are present, and should not be understood as excluding the presence or addition of one or more other features, numbers, steps, operations, elements, components, or combinations thereof.
[0046] In addition, the terms "first", "second", "third", and the like are used only to distinguish descriptions, and should not be understood as indicating or implying relative importance.
[0047] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present application belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is the same as the contextual meaning in the relevant technical field and should not be interpreted in an idealized or overly formal sense, unless clearly defined in various embodiments of the present application.
[0048] In actual production work, the accounting steps for production process cost are often very critical, and the cost accounting steps include: obtaining the monthly unit time cost of each process production site = total cost of the site / effective production working hours (yuan / hour); calculating the unit production time of the product = total production time of each product at each site / total output quantity; calculating the unit production cost of a single site of the product = monthly unit time cost * unit production time; and summing up the unit production cost of all process production sites of a product to obtain the actual production cost of the product in the month.
[0049] In order to improve the accuracy of the actual cost accounting of the product, an industrial production data processing method capable of excluding abnormal data in the industrial production data is provided in the embodiments of the present application.
[0050] Reference Figure 1 A method flowchart of an industrial production data processing method provided by an embodiment of the present application is shown in FIG. 1. The industrial production data processing method provided by the embodiment of the present application includes the following steps. Figure 1
[0051] In step S101, all process production sites passed by each batch of materials are acquired, wherein each batch of materials includes multiple types of materials.
[0052] In specific embodiments, a manufacturing execution system (MES) is commonly used in industrial production to manage production data of process production sites. In the embodiment, process production sites and material flow data of process production sites can be acquired from corresponding MES systems.
[0053] The process production sites include chip cutting sites, lead welding sites, wire welding sites, soldering sites, and encapsulation sites, etc.
[0054] Specifically, in the industrial production process, the materials are automatically transported to corresponding process production sites by a conveyor belt after being placed on a production line. Different types of materials can pass through different process production sites. For example, some industrial products do not need to pass through a wire welding site, and some industrial products do not need to pass through an encapsulation site. The process production sites passed by the materials can be adaptively set according to actual application scenarios, which will not be described here.
[0055] In the process of product production, production materials are usually provided to each process production site in batches. For each batch of production materials, it can include only one type of material, or it can include multiple types of materials, which is determined according to actual application scenarios, which will not be limited here.
[0056] For a production process, it can be processed by multiple production devices during execution. Specifically, one process production site can include multiple production devices, and the number of production devices can be adaptively set according to actual application scenarios.
[0057] In step S102, industrial production data corresponding to each process production site is acquired according to material flow conditions of each process production site, wherein the industrial production data includes unit production time of the corresponding process production site.
[0058] In specific embodiments, when the material passes through each process production station, the production equipment corresponding to the process production station automatically records the type of the material, the material passing time and the material passing quantity. Specifically, the material passing time is the total time consumed by a material passing through the process production station, and the material passing quantity is the number of production equipment through which a material passes in the process production station.
[0059] Each process production station automatically records industrial production data of the processed material. Specifically, the industrial production data can be the unit production time of the material in the process production station, or other industrial production parameters, which are adaptively replaced according to actual application scenarios.
[0060] Specifically, the formula for calculating the unit production time can be wherein, Ut is the unit production time, SumTime is the material passing time, and SumQty is the material passing quantity.
[0061] Step S103: Collecting industrial production data of all process production stations to form a production data set.
[0062] In specific embodiments, after obtaining the industrial production data of each process production station through step S102, the industrial production data of all process production stations and the material flow of all process production stations are counted, and the industrial production data is stored in the corresponding storage medium in the form of a production data set.
[0063] In subsequent screening and analysis of material production data, the industrial production data of the corresponding process production station can be directly called from the production data set, and the material flow of the process production station can be obtained for targeted analysis and processing.
[0064] In subsequent analysis and calculation of material production data, the industrial production data of all materials and all process production stations in the production data set can also be counted, which is not limited here.
[0065] In the process of collecting industrial production data of all process production stations, some industrial production data may not conform to normal conditions, and therefore, the production data set needs to be subjected to corresponding screening processing steps.
[0066] According to a specific embodiment of an embodiment of the present application, after the step of collecting industrial production data of all process production stations to form a production data set, the method further comprises:
[0067] If the passing record quantity of a type of material is lower than a preset quantity threshold, the industrial production data of the material is marked as an unselectable state.
[0068] In specific embodiments, a minimum threshold of the number of passes GZmin corresponding to each material can be set in advance. When the number of pass records of the material in a preset sampling period is less than the minimum threshold of the number of passes, the industrial production data corresponding to the material can be directly filtered. The preset sampling period can be adaptively replaced according to the actual application scenario. The preset sampling period in the present embodiment can be one month.
[0069] Specifically, the filtering method can mark the industrial production data of the material as an unselectable state, so that the industrial production data of the material cannot participate in the subsequent data acquisition step of generating data to be screened. The filtering method can also directly delete the industrial production data corresponding to the material, which can be adaptively replaced according to the actual application scenario.
[0070] Step S104, obtaining production data to be screened from the production data set, and mapping the production data to be screened to a preset two-dimensional coordinate system to obtain a target data point set, wherein the production data to be screened is industrial production data corresponding to a material to be screened.
[0071] In specific embodiments, the user can select the material to be screened according to the material type that needs to be calculated and counted.
[0072] After selecting the material to be screened, the production data to be screened corresponding to the material data can be called from the production data set. The production data to be screened is industrial production data corresponding to a type of material at one process production site.
[0073] In the process of constructing the production data to be screened, production data in a preset sampling period can be selected, for example, all production data of a specified type of material at one process production site in one month.
[0074] The construction of the two-dimensional coordinate system can be achieved by setting the horizontal coordinate as the production date and the vertical coordinate as the unit production time to construct a two-dimensional rectangular coordinate system as shown in Figure 2 .
[0075] Each piece of industrial production data in the production data to be screened is mapped to the two-dimensional coordinate system according to the production date and unit production time corresponding to the industrial production data to form a target data point set as shown in Figure 2 .
[0076] Step S105, screening the target data point set according to a preset screening rule to obtain a target industrial production data set.
[0077] In a specific embodiment, the target data point set is processed based on a preset rectangle filtering rule to obtain the target rectangle position containing the most data points, and the industrial production data included in the target rectangle position is counted to obtain the target industrial production dataset.
[0078] According to a specific implementation of the present application, the step of filtering the target data point set according to a preset filtering rule to obtain a target industrial production dataset includes:
[0079] The minimum effective working hours and the maximum effective working hours are calculated based on the unit production time and the preset ratio parameters.
[0080] A filtering rectangle is formed based on the preset sampling time, the minimum effective working time, and the maximum effective working time;
[0081] The target data point set is continuously sampled a preset number of times according to the filtering rectangle, and the target sampling result is output to the sampling result set;
[0082] The sampling result with the largest number of data points in the filtering rectangle is selected from the sampling result set as the target industrial production data.
[0083] In a specific embodiment, a preset ratio parameter is set to achieve the filtering effect. The preset ratio parameter can be the upper limit ratio parameter Fmax of the effective production time and the lower limit ratio parameter Fmin of the effective production time. The minimum effective working time Vt_min = Fmin * unit production time Ut, and the maximum effective working time Vt_Max = Fmax * unit production time Ut.
[0084] Specifically, when Fmin = 50% and Fmax = 150%, it means that 50% to 150% of the data in the standard time period are considered valid data.
[0085] The preset sampling time is used as the horizontal axis range, and the difference between the maximum and minimum effective working hours, Vt_Max-Vt_Min, is used as the vertical axis to construct a filtering rectangle.
[0086] like Figure 2 As shown, the target data point set is continuously sampled by moving along the filter rectangle, and the industrial production data corresponding to all data points within the filter rectangle are statistically analyzed as the sampling result. Specifically, the points within the filter rectangle include the points on each side of the filter rectangle. It should be noted that whether the points within the filter rectangle are included in the sampling result can be set according to the actual application scenario, and is not limited here.
[0087] The results of the screening are all counted in a result data set, and the sampling result with the most data points in the result data set can be selected as a target sampling result to achieve the best data screening effect, facilitating subsequent cost accounting and production data statistics steps.
[0088] According to a specific embodiment of the present application, the step of performing a preset number of continuous moving sampling on the target data point set according to the screening rectangle and outputting a target sampling result to a sampling result set includes:
[0089] The sampling number is calculated according to the preset data screening ratio and the preset conversion rule.
[0090] The screening rectangle is placed at a target position of the target data point set, and the target position is the position where the highest data point of the target data point set coincides with the upper base of the screening rectangle.
[0091] According to the sampling number, the screening rectangle is sequentially sampled downward, and the number of data points sampled each time is output.
[0092] The target sampling result, in which the data point number accounts for more than the data screening ratio in the target data point set, is output to the sampling result set.
[0093] In a specific embodiment, the data screening ratio is set to x%, and the sampling number can be set to (100-x)*2 times.
[0094] For example, the screening ratio is set to 80%, which means that the number of target industrial production data to be screened accounts for more than 80% of the total production data number of the production data set to be screened, and only the sampling result of the sampling step can be considered as a qualified sampling. When the data screening ratio is set to 80%, the sampling number is 40 times.
[0095] In the specific screening process, the starting position of the screening rectangle is set to the position where the upper base coincides with the point with the maximum vertical coordinate in the target data point set, and the displacement is sequentially performed downward according to the preset sampling number. Specifically, the difference between the highest point and the lowest point of the vertical coordinate in the target data point set is divided by the preset sampling number to obtain the displacement amount of each downward sampling.
[0096] In each sampling process, the sampling result in which the ratio of the number of data points in the screening rectangle to the number of data points in the target data point set is greater than the preset data screening ratio is selected as the target sampling result, and the target sampling result is stored in the sampling result set.
[0097] Through the above industrial production data screening method, abnormal data in process production site statistics can be effectively excluded, the accuracy of the obtained industrial production data is improved, and the use of the industrial production data for cost accounting analysis of the corresponding process is more beneficial, thereby guiding the configuration of the production process.
[0098] According to a specific embodiment of the present application, the material flow condition includes material passing time and material passing quantity, and after obtaining the industrial production data of each process production site according to the material flow condition of each process production site, the method further includes:
[0099] If the number of abnormal data of the industrial production data of the process production site exceeds the preset number threshold, an abnormal signal corresponding to the process production site is sent to a monitoring terminal;
[0100] The abnormal data includes production data with a unit production time greater than a preset upper limit time threshold and production data with a unit production time less than a preset lower limit time threshold.
[0101] In specific embodiments, part of the abnormal data is generated after each sampling step. For example, when the standard production time is 10 seconds, there are abnormal data with an actual production time of 0.1 seconds and abnormal data with an actual production time of 200 seconds.
[0102] The corresponding process production site can be obtained according to the abnormal industrial production data, and when the number of abnormal data of the corresponding process production site is greater than the preset number threshold, an abnormal signal is sent to a monitoring terminal used by a maintenance technician to remind the technician to troubleshoot the production equipment of the corresponding process production site, thereby further improving the efficiency of production cost acquisition.
[0103] The industrial production data processing method of the present application embodiment can effectively exclude part of the error data in the production data obtained from the production equipment, thereby improving the accuracy of the obtained industrial production data set, and can be better applied in process cost accounting analysis, further improving the accuracy of actual cost accounting.
[0104] Reference Figure 3 A device module schematic diagram of an industrial production data processing device 300 provided by the present application embodiment, the industrial production data processing device 300 provided by the present application embodiment, as shown in Figure 3 The industrial production data processing device 300 includes:
[0105] The first acquisition module 301 is configured to acquire all process production sites passed by each batch of materials, wherein each batch of materials includes a plurality of types of materials.
[0106] The second obtaining module 302 is configured to obtain industrial production data of each process production site according to material flow conditions of the process production site, wherein the industrial production data comprises unit production time of the corresponding process production site.
[0107] The collection module 303 is configured to collect the industrial production data of all process production sites to form a production data set.
[0108] The third obtaining module 304 is configured to obtain to-be-screened production data from the production data set and map the to-be-screened production data to a preset two-dimensional coordinate system to obtain a target data point set, wherein the to-be-screened production data is industrial production data corresponding to a material of a to-be-screened type.
[0109] The screening module 305 is configured to screen the target data point set according to a preset screening rule to obtain a target industrial production data set.
[0110] According to a specific embodiment of the present application, the screening module 305 is specifically configured to:
[0111] calculate minimum effective working hours and maximum effective working hours according to the unit production time and a preset proportion parameter, form a screening rectangle according to a preset sampling time, the minimum effective working hours and the maximum effective working hours, perform continuous moving sampling on the target data point set for a preset number of times according to the screening rectangle, output a target sampling result to a sampling result set, and select, from the sampling result set, a sampling result in which a number of data points in the screening rectangle is the largest as the target industrial production data.
[0112] According to a specific embodiment of the present application, the screening module 305 is specifically configured to:
[0113] calculate a sampling number according to a preset data screening proportion and a preset conversion rule, place the screening rectangle at a target position of the target data point set, the target position being a position at which a highest data point of the target data point set coincides with an upper base of the screening rectangle, sample downwards successively through the screening rectangle according to the sampling number, and output a number of data points of each sampling, and output, to the sampling result set, a target sampling result in which the number of data points accounts for more than the data screening proportion in the target data point set.
[0114] In addition, the present application further provides a production device, which comprises a processor and a memory, wherein the memory stores a computer program, and the computer program performs the industrial production data processing method in the above embodiments when the computer program runs on the processor.
[0115] The embodiment of the present application provides a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program executes the industrial production data processing method in the above embodiment when running on a processor.
[0116] To sum up, the embodiment of the present application provides an industrial production data processing method, device, production equipment and readable storage medium, by setting the screening rectangle corresponding to the minimum effective working hours and the maximum effective working hours, the collected industrial production data point set is subjected to displacement screening, the effective data can be retained to the greatest extent, and abnormal data that does not meet the cost accounting requirement is screened out. In addition, by filtering part of the data that has little statistical quantity and does not have statistical significance, the screening effect of the data screening can be ensured, and the quality of the industrial production data acquisition is further improved. In addition, the specific implementation process of the industrial production data processing device, production equipment and computer readable storage medium mentioned in the above embodiment can be referred to the specific implementation process of the method embodiment, which will not be repeated here.
[0117] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can also be implemented by other manners. The apparatus embodiment described above is only schematic, for example, the flow chart and structural chart in the drawings show the possible implementation architecture, function and operation of the apparatus, method and computer program product according to the embodiments of the present application. In this regard, each block in the flow chart or block diagram can represent a module, a program segment or a part of code, which contains one or more executable instructions for implementing the specified logic function. It should also be noted that, in the alternative implementation manner, the functions marked in the block can also occur in the order different from that marked in the drawings. For example, two continuous blocks can actually be executed substantially in parallel, and sometimes they can also be executed in reverse order, depending on the functions involved. It should also be noted that, each block in the structural chart and / or flow chart, and the combination of blocks in the structural chart and / or flow chart, can be implemented by a dedicated hardware-based system for executing the specified function or action, or can be implemented by a combination of special hardware and computer instructions.
[0118] In addition, each functional module or unit in each embodiment of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0119] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the parts of the present application that essentially contribute to the prior art or the parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0120] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered within the protection scope of the present application.
Claims
1. A method for processing industrial production data, characterized in that, The method includes: Obtain all process production stations that each batch of materials passes through, where each batch of materials includes multiple types of materials; The industrial production data for each process production station is obtained based on the material flow situation at each process production station. The industrial production data includes the unit production time for the corresponding process production station. The unit production time is the material transit time divided by the material transit quantity. The material flow status includes material transit time and material transit quantity. If the number of abnormal data in the industrial production data of the process production station exceeds a preset threshold, an abnormal signal corresponding to the process production station is sent to the monitoring terminal. The abnormal data includes production data where the unit production time is greater than a preset upper limit threshold and the unit production time is less than a preset lower limit threshold. Collect industrial production data from all process production sites to form a production dataset; The production data to be screened is obtained from the production dataset, and the production data to be screened is mapped to a preset two-dimensional coordinate system to obtain a target data point set, wherein the production data to be screened is the industrial production data corresponding to the material of the type to be screened; The target data point set is filtered according to preset filtering rules to obtain the target industrial production dataset, including: The minimum effective working hours and the maximum effective working hours are calculated based on the unit production time and the preset ratio parameters. The filtering rectangle is formed based on the preset sampling time, the minimum effective working time, and the maximum effective working time, including: using the preset sampling time as the horizontal axis range and the difference between the maximum effective working time and the minimum effective working time as the vertical axis to construct the filtering rectangle; The target data point set is continuously sampled a preset number of times according to the filtering rectangle, and the target sampling result is output to the sampling result set; The sampling result with the largest number of data points in the filtering rectangle is selected from the sampling result set and used as the target industrial production data. The preset ratio parameters include an upper limit ratio parameter for effective production hours and a lower limit ratio parameter for effective production hours. The maximum effective working hours are the product of the upper limit ratio parameter for effective production hours and the unit production time. The minimum effective working hours are the product of the lower limit ratio parameter for effective production hours and the unit production time. The steps of performing a preset number of continuous moving samples on the target data point set according to the filtering rectangle, and outputting the target sampling results to the sampling result set, include: The number of samples is calculated based on the preset data filtering ratio and preset conversion rules; The filtering rectangle is placed at the target position of the target data point set, where the highest data point of the target data point set coincides with the top edge of the filtering rectangle. Based on the stated number of samplings, data is sequentially sampled downwards through the filtering rectangle, and the number of data points sampled each time is output. The target sampling results, in which the number of data points accounts for a greater proportion of the target data point set than the data filtering ratio, are output to the sampling result set.
2. The industrial production data processing method according to claim 1, characterized in that, After the step of aggregating industrial production data from all process production sites to form a production dataset, the method further includes: If the number of transit records for a material of a certain type is lower than a preset threshold, the industrial production data of the material will be marked as unselectable.
3. An industrial production data processing device, employing the industrial production data processing method of claim 1 or 2, characterized in that, The industrial production data processing device includes: The first acquisition module is used to acquire all the process production stations that each batch of materials has passed through, where each batch of materials includes multiple types of materials; The second acquisition module is used to acquire industrial production data corresponding to each process production station based on the material flow situation of each process production station. The industrial production data includes the unit production time of the corresponding process production station. The material flow situation includes the material transit time and the quantity of material transiting the station. If the number of abnormal data in the industrial production data of the process production station exceeds a preset threshold, an abnormal signal corresponding to the process production station is sent to the monitoring terminal. The abnormal data includes production data where the unit production time is greater than a preset upper limit time threshold and the unit production time is less than a preset lower limit time threshold. The collection module is used to collect industrial production data from all process production sites to form a production dataset; The third acquisition module is used to acquire production data to be screened from the production dataset and map the production data to be screened to a preset two-dimensional coordinate system to obtain a target data point set, wherein the production data to be screened is the industrial production data corresponding to the material of the type to be screened; The filtering module is used to filter the target data point set according to preset filtering rules to obtain the target industrial production dataset; The filtering module is specifically used for: The minimum effective working hours and the maximum effective working hours are calculated based on the unit production time and the preset ratio parameters. The filtering rectangle is formed based on the preset sampling time, the minimum effective working time, and the maximum effective working time, including: using the preset sampling time as the horizontal axis range and the difference between the maximum effective working time and the minimum effective working time as the vertical axis to construct the filtering rectangle; Based on the filtering rectangle, the target data point set is continuously sampled a preset number of times, and the target sampling results are output to the sampling result set, including: The number of sampling times is calculated based on a preset data filtering ratio and preset conversion rules; the filtering rectangle is placed at the target position of the target data point set, where the highest data point in the target data point set coincides with the top edge of the filtering rectangle; sampling is performed sequentially downwards through the filtering rectangle according to the number of sampling times, and the number of data points sampled each time is output; the target sampling result, where the proportion of the number of data points in the target data point set is greater than the data filtering ratio, is output to the sampling result set; The sampling result with the largest number of data points in the filtering rectangle is selected from the sampling result set and used as the target industrial production data. The preset ratio parameters include an upper limit ratio parameter for effective production hours and a lower limit ratio parameter for effective production hours. The maximum effective working hours are the product of the upper limit ratio parameter for effective production hours and the unit production time. The minimum effective working hours are the product of the lower limit ratio parameter for effective production hours and the unit production time.
4. A production equipment, characterized in that, The production equipment includes a processor and a memory, the memory storing a computer program, which executes the industrial production data processing method according to claim 1 or 2 when running on the processor.
5. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a processor, executes the industrial production data processing method of claim 1 or 2.
Citation Information
Patent Citations
Data set labeling method, data set labeling device and computer readable storage medium
CN111414907A
Power consumption anomaly detection method and device, computer equipment and storage medium
CN112541016A