Production flow sorting method, electronic device and storage medium
By calculating the total weighted value of product project investment and optimizing the sequencing of production stages and test stations, the problem of data incoherence in the existing technology is solved, and the display efficiency and user experience of factory equipment data are improved.
Patent Information
- Application Number
- CN202310286450.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, in factory production equipment, the data sorting method only sorts based on the order of test nodes and workstation identifiers, resulting in incoherent data and affecting user browsing experience and efficiency.
By calculating the total weighted value of investment in product projects, sorting the priorities of production stages and test stations, optimizing the display order of data pages, ensuring the rationality of data and user browsing efficiency.
It improves the efficiency of data page layout and user browsing efficiency, and enhances the rationality and beauty of data display.
Smart Images

Figure CN118732613A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a production process, and in particular to a production process sorting method based on the input quantity of project products and the distance between the input date and the current time, an electronic device and a storage medium. Background Art
[0002] With the rapid development of industrial automation, factory production equipment has gradually been digitized, and a large amount of data has followed. The problem of massive data display is closely followed. The factory will have many work orders from various projects, and these work orders belong to different production stages. Each production stage has its own test station that needs to be tested in a specific order. When users need to browse a specific range of data, data pages that are not properly sorted will affect the user's browsing experience and search efficiency.
[0003] refer to Figure 1 The existing technology only sorts the data according to the test node sequence (sf_node) and the test station identifier (station_id), and all the data are mixed together, resulting in the following problems:
[0004] (1) The data is incoherent, and the correlation and continuity between the data are weak; and
[0005] (2) It increases the user's browsing time, reduces the user's browsing experience, and reduces the overall aesthetics of the page. Summary of the invention
[0006] In view of the above, it is necessary to provide a production process sorting method, electronic device and storage medium to effectively improve the display of factory equipment data and user browsing efficiency.
[0007] An embodiment of the present invention provides a method for sorting a production process, which is applied to an electronic device, and includes: calculating a total weighted value for the input quantity of all work orders of each of a plurality of product items within a preset period; sorting the total weighted values of the plurality of product items by a mathematical algorithm, wherein products with a large total weighted value of the input quantity of the product items are displayed first; obtaining priority data of the production stage of a process system according to the semi-finished product production process number (GPN) of the production stage of each project by the mathematical algorithm, wherein a production stage with a high priority is displayed first; sorting the test stations according to the priorities of the test stations of the work orders contained in each semi-finished product GPN by the mathematical algorithm, wherein a test station with a higher priority is displayed first; and sorting the work orders of machines belonging to the same test station by the mathematical algorithm according to the name of each test station.
[0008] An embodiment of the present invention further provides an electronic device, including a calculation module and a sorting module.
[0009] The calculation module is used to calculate the total weighted value of the input quantity of all work orders of each product item of multiple product items within a preset period.
[0010] The sorting module is used to sort the total weighted values of the multiple product items through a mathematical algorithm, wherein products with a large total weighted value of the input quantity of the product items are displayed first, and the priority data of the production stage of the process system is obtained according to the semi-finished product production process number (GPN) of the production stage of each project, wherein the production stage with a high priority is displayed first, and the test stations are sorted according to the priority of the test stations of the work orders contained in each semi-finished product GPN, wherein the test stations with a higher priority are displayed first, and the work orders of machines belonging to the same test station are sorted according to the name of each test station.
[0011] An embodiment of the present invention further provides a storage medium having a computer program stored thereon, and when the computer program is executed, the steps of the aforementioned production process sorting method are implemented.
[0012] The production process sorting method, electronic device and storage medium of the embodiment of the present invention calculate the weighted value of the total product input of each project within two weeks based on the project product input, thereby determining the order of the projects, and then sorting the data information of the test machines according to the product production process within the project, thereby improving the efficiency and rationality of the display of data page layout information and the efficiency of users browsing the page. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 It is a schematic diagram of the application of the sorting of traditional production processes.
[0014] Figure 2 It is a relationship diagram of the weighted value of the input quantity of the work order product according to the embodiment of the present invention changing with time.
[0015] Figure 3A It is a schematic diagram of the weighted values of the input quantities of all work orders in an embodiment of the present invention.
[0016] Figure 3B It is a schematic diagram of the sorted weighted values of the input quantities of all work orders in an embodiment of the present invention.
[0017] Figure 4 It is a schematic diagram of sorting work orders according to GPN and corresponding work order information according to an embodiment of the present invention.
[0018] Figure 5 It is a schematic diagram of sorting work orders according to test work stations and work station names according to an embodiment of the present invention.
[0019] Figure 6It is a flowchart of the steps of the production process sorting method of an embodiment of the present invention.
[0020] Figure 7 It is a schematic diagram of the sorting results of the production process sorting method according to an embodiment of the present invention.
[0021] Figure 8 Schematic diagram of the hardware architecture of the electronic device according to an embodiment of the present invention.
[0022] Fig. 9 is a functional block diagram of an electronic device according to an embodiment of the present invention.
[0023] Main component symbols
[0024] Electronic Devices 200 processor 210 Memory 220 Sequencing system for production process 230 Computing Module 310 Sorting module 320
[0025] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0026] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0027] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. The embodiments described are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0029] It should be noted that the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.
[0030] The production process sorting method of the embodiment of the present invention calculates the weighted value of the total product input of each project within two weeks based on the product input of the project, thereby determining the order of the projects, and then sorting the data information of the test machines according to the product production process of the project. This sorting method improves the efficiency and rationality of the display of data page layout information and the efficiency of users browsing pages.
[0031] The production process sorting method of the embodiment of the present invention queries the work orders (MO) of each project within a preset time range (for example, two weeks) and the input quantity (MO InputQTY / 1.08) and production process number (GPN) of these work orders from the database. The weighted value of the input quantity of the product of each work order is calculated using the following method:
[0032] Weighted Input QTY = MO input QTY / 1.08^(Today-MO CreateDate) (Today's date - work order creation date).
[0033] Figure 2 This is a relationship diagram of the change in the weighted value of the input amount of the work order product of an embodiment of the present invention over time. It can be seen that the weighted value decreases as the number of days (today's date - work order creation date) increases.
[0034] Figure 3A is a schematic diagram of the weighted values of the input quantities of all work orders in an embodiment of the present invention, Figure 3B Calculate the weighted value of the input of all work orders in a project within two weeks. The calculation result is as follows: Figure 3A Next, add up the weighted input QTY of all work orders for a single project and sort them from large to small to get Figure 3B The order in which the items are shown.
[0035] Each work order belongs to a production stage. After obtaining the sorting order of each item, it is sorted according to the production process number (GPN). The format of the production process number is GXXX-XXXXX-XX. When sorting, first compare the size of the first three digits, that is, GXXX. If the size is the same, then compare the size of the middle five digits. The production process number GPN and the corresponding work order information are arranged from small to large, such as Figure 4 shown.
[0036] refer to Figure 5After determining the order of the projects and the order of the production process, the production process order of the work order is queried in the database, that is, the order of the test stations (sf_node). The information of all test machines in the same work order is arranged according to the order of the test stations. In addition, the machines belonging to the same test station are sorted from small to large according to the station name (station_id).
[0037] Figure 6 The present invention is a flowchart of the steps of the production process sequencing method of the embodiment of the present invention, which is applied to an electronic device, and the electronic device is a process equipment. According to different requirements, the order of the steps in the flowchart can be changed, and some steps can be omitted.
[0038] Step S1, calculate the total weighted value of the input quantity of all work orders (MO) of each product project (project_id) within a preset period, and sort the total weighted values of all product projects (project_id) from large to small through a mathematical algorithm, and display products with large total weighted values of the input quantity of the product project first. In one example, the preset period is two weeks.
[0039] Step S2, using the mathematical algorithm, according to the semi-finished product GPN value of each project's production stage, obtain the data of the production stages of the process system, and the earlier production stages are displayed first.
[0040] Step S3, using the mathematical algorithm, sorting the test stations (sf_node) according to the priorities of the test stations of the MOs contained in each semi-finished product GPN, and displaying the test stations with higher priorities first.
[0041] Step S4, the machines belonging to the same test station are sorted by the mathematical algorithm according to the name (station_id) of each test station from small to large. The sorted result is as follows: Figure 7 shown.
[0042] Figure 8 2 is a schematic diagram of the hardware architecture of an electronic device according to an embodiment of the present invention. The electronic device 200, for example, a process device, but not limited to, can communicate with each other through a system bus to connect a processor 210, a memory 220, and a production process sequencing system 230. Figure 8 The electronic device 200 is shown only with components 210 - 230 , but it is understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0043] The memory 220 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 220 can be an internal storage unit of the electronic device 200, such as a hard disk or memory of the electronic device 200. In other embodiments, the memory can also be an external storage device of the electronic device 200, such as a plug-in hard disk equipped on the electronic device 200, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 220 can also include both the internal storage unit of the electronic device 200 and its external storage device. In this embodiment, the memory 220 is generally used to store the operating system and various application software installed in the electronic device 200, such as the program code of the production process sorting system 230. In addition, the memory 220 can also be used to temporarily store various data that have been output or will be output.
[0044] The processor 210 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 210 is generally used to control the overall operation of the electronic device 200. In this embodiment, the processor 210 is used to run the program code stored in the memory 220 or process data, for example, to run the sorting system 230 of the production process.
[0045] It should be noted that Figure 8 The electronic device 200 is merely illustrated as an example. In other embodiments, the electronic device 200 may also include more or fewer components, or have a different component configuration.
[0046] If the module / unit integrated in the electronic device 200 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0047] Fig. 9 2 is a functional block diagram of an electronic device according to an embodiment of the present invention, which is used to execute the production process sorting method. The production process sorting method according to the embodiment of the present invention can be implemented by a computer program in a storage medium, for example, a memory 220 in the electronic device 200. When the computer program implementing the method of the present invention is loaded into the memory 220 by the processor 210, the processor 210 of the electronic device 200 is driven to execute the production process sorting method according to the embodiment of the present invention.
[0048] The electronic device 200 according to the embodiment of the present invention includes a calculation module 310 and a sorting module 320 .
[0049] The calculation module 310 calculates the total weighted value of the input quantity of all work orders (MO) of each product project (project_id) within a preset period. In one example, the preset period is two weeks.
[0050] The sorting module 320 sorts the total weighted values of all product projects (project_id) from large to small through a mathematical algorithm, and products with large total weighted values of input quantities of product projects are displayed first.
[0051] The sorting module 320 obtains the data of the production stages of the process system according to the GPN value of the semi-finished product of each project in the production stage through the mathematical algorithm, and the ones with the earlier production stages are displayed first.
[0052] The sorting module 320 sorts the test stations (sf_node) of the MOs included in each semi-finished product GPN according to their priorities through the mathematical algorithm, and the test stations with higher priorities are displayed first.
[0053] For machines belonging to the same test station, the sorting module 320 sorts the work orders from small to large according to the name (station_id) of each test station through the mathematical algorithm. The sorted results are as follows: Figure 7 shown.
[0054] It is understandable that the module division described above is only a logical function division, and there may be other division methods in actual implementation. In addition, the functional modules in each embodiment of the present application may be integrated in the same processing unit, or each module may exist physically separately, or two or more modules may be integrated in the same unit. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0055] For ordinary technicians in this field, other corresponding changes or adjustments can be made according to actual needs generated by combining the technical solutions and technical concepts provided by the embodiments of the present invention, and these changes and adjustments should all fall within the scope of protection of the claims of the present invention.
Claims
1. A production process sorting method, applied to electronic devices, characterized in that: The method comprises: Calculate a total weighted value for the input quantity of all work orders of each product item of multiple product items within a preset period; Sorting the total weighted values of the plurality of product items by a mathematical algorithm, wherein products with a large total weighted value of the input amount of the product items are displayed first; By means of the mathematical algorithm, priority data of the production phase of the process system is obtained according to the semi-finished product production process number (GPN) of the production phase of each project, wherein the production phase with a high priority is displayed first; By using the mathematical algorithm, the test stations are sorted according to the priorities of the test stations of the work orders included in each semi-finished product GPN, wherein the test stations with higher priorities are displayed first; and The machines belonging to the same test station are sorted according to the name of each test station by the mathematical algorithm.
2. An electronic device, characterized in that: include: A calculation module, used for calculating a total weighted value of the input quantity of all work orders of each product item of a plurality of product items within a preset period; and A sorting module is used to sort the total weighted values of the multiple product items through a mathematical algorithm, wherein products with a large total weighted value of the input quantity of the product items are displayed first, and the priority data of the production stage of the process system is obtained according to the semi-finished product production process number (GPN) of the production stage of each project, wherein the production stage with a high priority is displayed first, and the test stations are sorted according to the priority of the test stations of the work orders contained in each semi-finished product GPN, wherein the test stations with a higher priority are displayed first, and the work orders of machines belonging to the same test station are sorted according to the name of each test station.
3. A storage medium having at least one computer instruction stored thereon, characterized in that: The instructions are loaded by the processor and executed in the production process sorting method as claimed in claim 1.
