A method and system for optimizing the assembly sequence of cabinet door panels based on APS scheduling data
By constructing a dedicated data analysis model and process constraint rule library, generating a three-dimensional relational data table and performing time-series optimization, the problem of chaotic assembly sequence of electrical cabinet doors was solved, achieving efficient visual guidance and data closed-loop verification, reducing rework rate, and improving the level of intelligent production.
Patent Information
- Application Number
- CN202611711916.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-11-02
- Publication Date
- 2026-11-27
AI Technical Summary
The existing APS scheduling system cannot perform refined processing for the assembly of electrical cabinet doors, resulting in chaotic assembly sequence, error-prone parameter matching, lack of visual guidance, high rework rate, and lack of process optimization capabilities in data processing.
By constructing a dedicated data analysis model for cabinet door panels, generating a three-dimensional related data table, combining it with a process constraint rule library for time-series optimization, and using a visualization rendering engine to generate assembly guidance views, a data closed-loop verification mechanism is established to achieve standardized assembly sequence and parameter matching.
It has achieved standardized and visual guidance for the assembly of cabinet door panels, reduced the assembly error rate, improved production accuracy and efficiency, and opened up a production closed loop of scheduling, assembly and verification.
Smart Images

Figure CN123180690A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent manufacturing technology for electrical cabinet production, specifically to a method and system for optimizing the assembly sequence of cabinet door panels based on APS production scheduling data. Background Technology
[0002] APS (Advanced Planning and Scheduling) systems are core systems for production scheduling in modern manufacturing workshops. They can coordinate production processes based on order demand, equipment capacity, and personnel allocation, and are widely used in the production of non-standard customized products such as electrical cabinets and mechanical equipment. In the production of electrical cabinets, door panel assembly is a core process. Different batches of cabinets exhibit variations in cabinet size, color scheme, and door panel model customization. The assembly sequence of door panels in different locations and with different functions has strict process requirements. Incorrect assembly sequence can directly lead to substandard assembly accuracy, unqualified appearance, and even affect the subsequent installation of electrical components.
[0003] Current technologies have significant shortcomings: First, traditional APS scheduling systems only output a general list of production processes, indicating only production batches and approximate procedures, without being specifically adapted for cabinet door panel assembly scenarios. They cannot associate core customized parameters such as cabinet dimensions, color schemes, and door panel models, nor can they output detailed door panel assembly sequences. Second, workshop assembly operations heavily rely on worker experience, lacking standardized and visual assembly guidance. Novice workers are prone to errors such as incorrect door panel model assembly, size mismatches, and chaotic assembly sequences, resulting in high product rework rates. Third, existing cabinet production auxiliary software only achieves simple reception and display of scheduling data, functioning as general software data forwarding functions. It lacks dedicated process constraint logic, timing optimization algorithms, and data closed-loop verification capabilities, failing to address the core issue of the disconnect between scheduling and on-site assembly. Fourth, existing message queue software only implements data transmission caching functions and lacks dedicated data processing and process optimization capabilities for industrial assembly scenarios.
[0004] Therefore, there is an urgent need for a targeted visual intelligent processing technology solution for cabinet door panel assembly to address the industry pain points of low precision, lack of process constraints, lack of verification mechanism, and high assembly error rate of existing technologies. Summary of the Invention
[0005] To address the aforementioned technical shortcomings, the purpose of this invention is to provide a method and system for optimizing the assembly sequence of cabinet door panels based on APS scheduling data, thereby solving the technical problems of insufficient precision in traditional APS scheduling, lack of standardized visual guidance for cabinet door panel assembly, easy errors in parameter matching, and chaotic process sequence.
[0006] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: In a first aspect, the present invention provides a method for optimizing the assembly sequence of cabinet door panels based on APS production scheduling data, the method comprising: Step S1: Connect to the APS scheduling system through the preset message queue interface to receive the original scheduling data of the prefabricated production of the cabinet in real time. The original scheduling data includes at least the order number, cabinet production batch, cabinet body dimensions, cabinet body color matching parameters, door panel model at each position, production process node and process sequence priority data. Step S2: Construct a dedicated data analysis model for the cabinet door panels. Perform structured purification processing on the original production scheduling data, filter out redundant data that is not related to door panel assembly, and extract effective fields such as cabinet size parameters, color matching parameters, door panel model parameters, and initial assembly process sequence. Taking a single cabinet as an independent assembly unit, associate and bind the cabinet size parameters, cabinet color matching parameters, and door panel model parameters at different locations with the corresponding assembly process nodes to form a three-dimensional association data table of "cabinet parameters - door panel parameters - assembly sequence". Step S3: Pre-store the cabinet door panel assembly process constraint rule library. The cabinet door panel assembly process constraint rule library includes the assembly sequence logic of multiple door panels in the same cabinet, the assembly adaptation requirements of different door panel models, the size matching threshold, and the color matching assembly consistency rules. Based on the cabinet door panel assembly process constraint rule library, the initial assembly process sequence is conflict identified. When there is a violation of the assembly sequence logic or the parallel process causes assembly interference, it is determined as a timing conflict. The timing conflict process is serially sorted and adjusted to eliminate the conflicting timing arrangement and generate a standardized optimal assembly sequence of door panels. Step S4: Call the visualization rendering engine to construct a virtual assembly model of the cabinet based on the optimal assembly sequence and the size, color scheme, and model parameters in the three-dimensional related data table. Dynamically render and display the assembly position, assembly sequence, size parameters, color scheme parameters, and model parameters of each door panel, and generate a visual assembly guidance view. Step S5: Establish a data closed-loop verification mechanism. The optimal assembly sequence and its corresponding size, color, and model parameters are transmitted back to the APS production scheduling system. The original production scheduling data is compared to verify the matching rationality of the door panel model and cabinet size and the assembly consistency of the cabinet color parameters. Parameter mismatch and abnormal process sequence are identified and early warning information is generated to complete the iterative optimization of the production scheduling data.
[0007] Preferably, in one possible implementation of the first aspect, the construction of the three-dimensional associated data table in step S2 includes: Establish a unique identifier ID for the cabinet and bind the cabinet dimensions and color scheme parameters to the unique identifier ID; Using assembly stations and assembly sequence as the related dimensions, the door panel models and specifications of different locations are mapped one by one to the corresponding cabinets and assembly nodes.
[0008] Preferably, in one possible implementation of the first aspect, the cabinet door panel assembly process constraint rule library in step S3 includes: The assembly sequence is as follows: the standard side door panel is assembled first, the top door panel is assembled later, door panels of the same height are assembled from left to right, and special assembly sequence is used for irregularly shaped door panels. The serial sorting adjustment includes: adjusting the assembly order of processes that cause timing conflicts according to the cabinet door panel assembly process constraint rule library, and generating a single cabinet door panel assembly process.
[0009] Preferably, in one possible implementation of the first aspect, the step S4 of constructing the virtual assembly model of the cabinet includes: A two-dimensional virtual assembly model of a screen cabinet is constructed based on SVG dynamic rendering technology, or a three-dimensional virtual assembly model of a screen cabinet is constructed based on lightweight three-dimensional modeling technology. In the virtual assembly model of the two-dimensional or three-dimensional cabinet, exclusive identifiers are set for different door panel models, cabinet color schemes are distinguished by color, size parameters and door panel models are displayed by labeled text, and the current door panel to be assembled and subsequent assembly processes are dynamically highlighted in real time.
[0010] Preferably, in one possible implementation of the first aspect, the warning information in step S5 includes at least one of model mismatch warning, size deviation warning, timing disorder warning, and color matching assembly warning.
[0011] Secondly, the present invention provides a cabinet door panel assembly sequence optimization system based on APS production scheduling data. The system is used to implement a cabinet door panel assembly sequence optimization method based on APS production scheduling data as described in the first aspect, including a data docking module, a data parsing and processing module, a process rule storage module, a timing optimization module, a visualization rendering module, and a closed-loop verification and early warning module. The data docking module adopts a distributed message queue architecture to achieve concurrent reception and classified caching of production scheduling data for multiple batches and multiple categories of display cabinets, thereby avoiding data congestion and loss. The data parsing and processing module is used to automatically adapt to the parameter characteristics of different specifications of cabinets, complete redundant data filtering, multi-dimensional parameter association and binding, and output structured assembly data. The process rule storage module is used to store the cabinet door panel assembly process constraint rule library, providing process standard basis for process sequence optimization; The timing optimization module is used to identify conflicts in the initial assembly timing based on process constraint rules, adjust the serial order of processes that cause timing conflicts, eliminate conflicting timing arrangements, and generate a standardized optimal assembly sequence. The visualization rendering module is used to construct a virtual assembly model of the cabinet based on the optimal assembly sequence and associated parameters, dynamically render and generate a visualization assembly guidance view, and display the assembly sequence, cabinet size, color scheme and door panel model parameters. The closed-loop verification and early warning module is used to compare and verify the optimal assembly sequence and its corresponding size, color matching, and model parameters with the original APS production scheduling data, identify assembly parameter and timing abnormalities and trigger early warnings, and push the early warnings to the workshop terminal and APS production scheduling backend.
[0012] Preferably, in one possible implementation of the second aspect, the visualization rendering module supports two-dimensional / three-dimensional assembly view switching, view zooming, process switching, and parameter floating viewing functions, and is applied to workshop touch terminals and computer terminals.
[0013] Thirdly, the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that, when the computer program is executed by a processor, it implements the steps of the method for optimizing the assembly sequence of cabinet door panels based on APS production scheduling data as described in the first aspect.
[0014] The beneficial effects of this invention are as follows: it breaks through the limitations of the generalized production scheduling of traditional APS systems, and for the first time constructs a dedicated data analysis and process optimization model for cabinet door panels, transforming general production scheduling data into industry-specific assembly process data. This is different from the general functions of data forwarding and interface display in ordinary software, and has substantial technological innovation.
[0015] It enables integrated visual guidance for the assembly sequence, dimensions, color matching, and model of cabinet door panels, eliminating reliance on manual experience, completely solving problems such as incorrect assembly, omissions, and chaotic processes, and significantly reducing product rework rates.
[0016] By verifying both visualized data and production scheduling data, the production scheduling process can be iteratively optimized, and a production closed loop of "production scheduling-assembly-verification-optimization" can be established to improve the level of intelligent production in the workshop. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This application provides a flowchart of a method for optimizing the assembly sequence of cabinet door panels based on APS production scheduling data. Detailed Implementation
[0019] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0020] Example 1: As Figure 1 As shown, this invention provides a method for optimizing the assembly sequence of cabinet door panels based on APS production scheduling data.
[0021] In this embodiment, the cabinet door panel assembly sequence optimization method is applied to the door panel assembly station in the electrical cabinet production workshop. The workshop deploys an APS scheduling system, workshop touch terminals, an edge computing server, and assembly station displays. The APS scheduling system is deployed in the central computer room of the factory, the workshop touch terminals are installed at each door panel assembly station, the edge computing server establishes a communication connection with the APS scheduling system through the factory local area network, and the assembly station displays are connected to the edge computing server.
[0022] The edge computing server interfaces with the APS scheduling system via a pre-defined message queue interface. In this embodiment, the message queue interface adopts a Kafka distributed message queue architecture and is configured with a workshop assembly data exchange topic. The APS scheduling system publishes the raw production scheduling data for prefabricated cabinets in JSON format to the assembly data exchange topic. The edge computing server receives the raw production scheduling data for prefabricated cabinets in real time by subscribing to the assembly data exchange topic. The Kafka cluster is configured with multiple partitions, each corresponding to a cabinet production batch. The APS scheduling system calculates a hash value for the order number field, performs a modulo operation between the hash value and the total number of partitions in the Kafka cluster, and uses the modulo operation result as the partition number. Based on the partition number, the raw production scheduling data is routed to the corresponding partition.
[0023] The message consumption component in the edge computing server uses a consumer group approach to concurrently consume the raw production scheduling data from each partition, enabling concurrent reception and categorized caching of production scheduling data for multiple batches and categories of display cabinets, thus avoiding data congestion and loss. The raw production scheduling data includes order number, display cabinet production batch, cabinet dimensions, cabinet color parameters, door panel models for each location, production process nodes, and process sequence priority data.
[0024] In this embodiment, the cabinet's external dimensions are 2200 mm high, 800 mm wide, and 600 mm deep. The cabinet's color scheme is orange-textured from the RAL7035 color family. The door panels include the left door panel, right door panel, upper front door panel, lower front door panel, top door panel, and rear door panel. The production process nodes include door panel prefabrication, door panel installation, and door panel debugging. The process sequence priority data identifies the execution priority of each production process node in the overall cabinet assembly process. The minimum execution priority value is set to 1, and the maximum value is set to 10. The smaller the priority value, the earlier the execution order of the process.
[0025] Edge computing servers construct a dedicated data parsing model for cabinet doors, performing structured purification processing on the raw production scheduling data. The data parsing model adopts an architecture of cascading multi-source adapters and field extractors. The multi-source adapters include built-in JSON parsing adapters, XML parsing adapters, and CSV parsing adapters. Each parsing adapter selects and matches according to the encapsulation format of the raw production scheduling data. The JSON parsing adapter converts the raw production scheduling data in JSON format into intermediate data objects in key-value pair format; the XML parsing adapter converts the raw production scheduling data in XML format into intermediate data objects in node tree format; and the CSV parsing adapter converts the raw production scheduling data in CSV format into intermediate data objects in row-column structure. The field extractor has preset templates for extracting cabinet size parameters, color matching parameters, door panel model parameters, and initial assembly process sequence. Each extraction template uses regular expressions to define field extraction rules. The field extractor matches the intermediate data object with each extraction template, filters redundant data fields that are irrelevant to door panel assembly, and extracts cabinet height parameters, cabinet width parameters, cabinet depth parameters, cabinet color matching parameters, door panel model parameters at each location, door panel installation process node identifiers, and process sequence priority values from the intermediate data object. The parameters obtained above are output as valid fields.
[0026] Treating each cabinet as an independent assembly unit, the edge computing server associates and binds cabinet size parameters, cabinet color parameters, and door panel model parameters at different locations with corresponding assembly process nodes, forming a three-dimensional association data table of cabinet parameters, door panel parameters, and assembly sequence. The construction process of the three-dimensional association data table is as follows: a unique cabinet identifier ID is established, which is generated by combining the order number and the cabinet production batch code. In this embodiment, the unique cabinet identifier ID is APS20260817001-20260817-A. After the unique cabinet identifier ID is assigned, the cabinet external size parameters, cabinet color parameters, and the unique cabinet identifier ID are bound and stored. The assembly station and assembly sequence are used as association dimensions. The model parameters and specifications of the left door panel, right door panel, upper front door panel, lower front door panel, top door panel, and rear door panel are mapped to the corresponding cabinet and assembly node one by one. In each assembly node, the door panel installation position identifier, door panel model, door panel length dimension, door panel width dimension, and assembly sequence number are recorded.
[0027] The three-dimensional relational data table uses a relational database for persistent storage, and a caching layer is used to store the most frequently accessed assembly node data. The relational database establishes a cabinet main table, a door panel parameter sub-table, and an assembly sequence sub-table. The primary key of the cabinet main table is the cabinet unique identifier ID. The door panel parameter sub-table is linked to the cabinet main table through the cabinet unique identifier ID foreign key. The assembly sequence sub-table is linked to the door panel parameter sub-table through the assembly node number.
[0028] The edge computing server pre-stores a constraint rule library for the assembly process of cabinet doors. This constraint rule library is deployed in a process rule storage module, which uses an embedded database to store the constraint rules. The constraint rule library includes the assembly sequence logic for multiple doors within the same cabinet, assembly adaptation requirements for different door models, size matching thresholds, and color matching assembly consistency rules.
[0029] The assembly sequence logic for multiple door panels within the same cabinet includes a priority assembly rule for the reference side door panel, a follow-up assembly rule for the top door panel, a left-to-right assembly rule for door panels of the same height, and a specific assembly sequence rule for irregularly shaped door panels. The priority assembly rule for the reference side door panel stipulates that the reference side door panel has a higher assembly priority than non-reference side door panels within the same cabinet. In this embodiment, the side containing the rear door panel is taken as the reference side, and the rear door panel is assembled first. After the rear door panel is assembled, the left, right, upper front, and lower front door panels are then assembled. The follow-up assembly rule for the top door panel stipulates that the top door panel must be assembled after all side door panels and front and rear door panels of the cabinet have been assembled. The left-to-right assembly rule for door panels of the same height stipulates that multiple door panels located within the same height range along the cabinet height direction are assembled sequentially from left to right, based on the operator's viewing angle when facing the front of the cabinet. The assembly sequence rules for irregularly shaped door panels stipulate that door panels with irregular contours have their own independent assembly sequence. In this embodiment, the assembly sequence for irregularly shaped door panels is set as an independent process period after the side door panel assembly process is completed and before the top door panel assembly process begins. The assembly compatibility requirements for different door panel models specify the set of door panel models that can be assembled at each door panel installation position. In this embodiment, the left and right door panel installation positions allow the assembly of door panels from the same model group; the upper front door panel installation position allows the assembly of door panels from the corresponding upper front door panel model group; the lower front door panel installation position allows the assembly of door panels from the corresponding lower front door panel model group; the top door panel installation position allows the assembly of door panels from the corresponding top door panel model group; and the rear door panel installation position allows the assembly of door panels from the corresponding rear door panel model group. The size matching threshold stipulates that the absolute value of the difference between the door panel length and the corresponding opening length of the cabinet at each installation position should not exceed 2 mm, and the absolute value of the difference between the door panel width and the corresponding opening width of the cabinet should not exceed 2 mm. The color matching assembly consistency rule stipulates that the color code of all door panels within the same cabinet should be consistent with the color code of the cabinet.
[0030] The timing optimization module identifies conflicts in the initial assembly process based on the constraint rule base. The conflict identification process is as follows: traverse each assembly process node in the three-dimensional association data table, extract the assembly sequence number of the assembly process node, and match the door panel assembly position, door panel model, and assembly sequence number involved in the assembly process node with the assembly sequence logic in the constraint rule base one by one; when there is a process arrangement where the preceding door panel has not been assembled but the subsequent door panel is assembled first, it is determined that the process violates the assembly sequence logic; when two assembly process nodes correspond to door panels in different spatial locations and the assembly operation space overlaps in the same time period, it is determined that the parallel process causes assembly interference.
[0031] In this embodiment, the assembly processes of the upper front panel, the left side panel, and the top panel are all performed within the same time period in the initial assembly sequence. The tool operation ranges of the upper front panel and the top panel overlap within the installation operation space, leading to assembly interference due to the parallel processes. Furthermore, it was found that when the top panel assembly process was executed, the lateral positioning installation of the lower support frame of the top panel was still underway, violating the rule of post-assembly of the top panel. Therefore, this process was determined to violate the assembly sequence logic.
[0032] When adjusting the sequential order of conflicting assembly processes, the timing optimization module uses a topological sorting algorithm based on a directed acyclic graph to generate a conflict-free assembly sequence. Each door panel assembly process is defined as a node in a directed graph. Directed edges are established between nodes according to the assembly sequence logic in the constraint rule base, with the direction of the directed edges pointing from the first assembly process to the last.
[0033] In this embodiment, directed edges are established from the rear door panel assembly node to the left door panel assembly node, right door panel assembly node, front upper door panel assembly node, and front lower door panel assembly node according to the priority assembly rule of the reference side door panel. Directed edges are established from the left door panel assembly node, right door panel assembly node, front upper door panel assembly node, and front lower door panel assembly node to the top door panel assembly node according to the rear assembly rule of the top door panel. Directed edges are established from the front upper door panel assembly node to the front lower door panel assembly node according to the assembly rule of door panels of the same height from left to right.
[0034] During topological sorting, the in-degree of each node is counted, and nodes with an in-degree of 0 are added to the queue to be processed. Nodes in the queue to be processed are taken out one by one and output. The in-degree of all successor nodes of the output node is decremented by 1. When the in-degree of a successor node becomes 0, it is added to the queue to be processed. The above operation is repeated until all nodes are output.
[0035] In this embodiment, the node with an initial in-degree of 0 is the rear door panel assembly node. The output of this node is extracted, and the in-degrees of the left door panel assembly node, right door panel assembly node, front upper door panel assembly node, and front lower door panel assembly node are decremented by 1. At this point, the in-degree of the front upper door panel assembly node becomes 0, and it is added to the processing queue. This process is repeated sequentially, and topological sorting is used to obtain the assembly order of the rear door panel, left door panel, front upper door panel, front lower door panel, right door panel, and top door panel. The assembly order obtained from the topological sorting is used as the standardized optimal assembly order sequence for the door panels. Simultaneously, a single-cabinet door panel assembly process list is generated, which sequentially records the assembly position identifier, door panel model, and assembly sequence number of each door panel.
[0036] The edge computing server invokes the visualization rendering engine. The visualization rendering module adopts a web-based rendering architecture, and the engine is deployed within the web service component of the edge computing server. Workshop touch terminals and computer terminals access the visualization rendering engine through a browser. The visualization rendering engine reads the optimal assembly sequence and the size, color, and model parameters from the 3D correlation data table to construct a virtual assembly model of the cabinet. The engine simultaneously constructs two sets of virtual assembly models: a 2D model based on SVG dynamic rendering technology and a 3D model based on WebGL lightweight 3D modeling technology. The display interfaces of the workshop touch terminals and computer terminals provide a switching control between the 2D and 3D views, allowing users to switch between the two virtual assembly models.
[0037] In the two-dimensional virtual assembly model of the display cabinet, rectangular primitives are used to represent each door panel. The size of the rectangular primitives is scaled according to the actual size of the door panels based on the screen display ratio. The layout position of each rectangular primitive in the two-dimensional plane corresponds to the actual assembly position of the door panels on the cabinet. In the three-dimensional virtual assembly model of the display cabinet, a cube combination model is used to represent the cabinet frame and door panels. By applying rotation matrix transformations around the X, Y, and Z axes to the cube combination model, the three-dimensional spatial coordinates of the door panels are transformed from the local coordinate system to the global coordinate system of the cabinet, realizing the assembly position layout of each door panel in three-dimensional space.
[0038] In the two sets of virtual assembly models of the cabinets, exclusive identifiers are set for different models of door panels. Each model of door panel has an independent graphic identifier category, which includes the outer frame line type, corner mark graphic, and fill texture. The cabinet color scheme is distinguished by color. When the cabinet color scheme is the corresponding light gray, the fill color of the door panel elements is grayish-white with RGB values of 211, 211, 211. When the cabinet color scheme is the corresponding dark gray, the fill color of the door panel elements is dark gray with RGB values of 150, 150, 150. The size parameters and door panel model are displayed by labeled text. A text box is generated next to each set of door panel elements. The first line of the text box displays the door panel model, the second line displays the door panel length and width, and the third line displays the door panel installation position identifier.
[0039] The visualization rendering engine synchronously and dynamically highlights the current door panel to be assembled and subsequent assembly processes. The current door panel to be assembled is highlighted with a red outline in the virtual assembly model of the cabinet, the corresponding annotation text box of the current door panel to be assembled is highlighted with a yellow background, and the subsequent door panels to be assembled are highlighted with a blue semi-transparent overlay. The door panels that have been assembled are displayed normally.
[0040] The visualization rendering engine dynamically renders and generates a visual assembly guidance view step by step. The engine outputs the view state of each assembly step sequentially according to the optimal assembly sequence. The workshop touch terminals and computer terminals receive and display this view state. The visual assembly guidance view supports view zooming, process switching, and parameter hovering. View zooming adjusts the scaling ratio of the SVG window using the browser wheel event. Process switching allows users to jump to the view state of the corresponding assembly step by clicking the process number button. Parameter hovering displays a detailed parameter tooltip by hovering the mouse over the door panel element, showing all the assembly parameters for that door panel.
[0041] The edge computing server establishes a data closed-loop verification mechanism. This mechanism is executed by the closed-loop verification early warning module, which establishes bidirectional data communication with the APS scheduling system via a message queue interface. The closed-loop verification early warning module packages the optimal assembly sequence and its corresponding size, color, and model parameters into a JSON-formatted return message. This message is then sent back to the APS scheduling system via the verification result feedback topic in the message queue interface. Upon receiving the return message, the APS scheduling system writes it to the scheduling verification receiving topic. The closed-loop verification early warning module sends a data query request through the scheduling data query topic in the message queue interface. The APS scheduling system responds to the query request and publishes the original scheduling data to the scheduling data response topic. The closed-loop verification early warning module subscribes to the scheduling data response topic to obtain the original scheduling data and compares the optimal assembly sequence with it for verification.
[0042] The comparison verification includes three aspects. The first aspect is the verification of the reasonableness of the matching between the door panel model and the cabinet size. The length and width of the door panel at each installation position in the optimal assembly sequence are compared with the length and width of the corresponding opening position in the cabinet one by one. The length difference and width difference are calculated and compared with the preset size matching threshold. When the length difference exceeds the size matching threshold, it is identified as a size deviation abnormality. When the width difference exceeds the size matching threshold, it is identified as a size deviation abnormality, and a size deviation warning message is generated. The size deviation warning message includes the cabinet's unique identifier ID, door panel installation position, door panel model, cabinet opening length, cabinet opening width, door panel length, door panel width, deviation direction, and deviation value.
[0043] The second aspect is the assembly consistency verification of the cabinet color matching parameters. The color matching numbers of all door panels in the optimal assembly sequence are compared with the color matching numbers of the cabinet. When the color matching numbers of the door panels and the color matching numbers of the cabinet are inconsistent, it is identified as a color matching assembly abnormality and a color matching assembly warning message is generated. The color matching assembly warning message includes the cabinet's unique identifier ID, the door panel installation position, and the actual color matching number.
[0044] The third aspect is the verification of assembly sequence rationality. The assembly sequence number of each assembly process node in the optimal assembly sequence is compared with the process sequence priority value in the original production scheduling data. When the order of the assembly sequence numbers contradicts the priority order indicated by the process sequence priority value, it is identified as a sequence disorder anomaly, generating a sequence disorder warning message. The timing disorder warning message includes the cabinet's unique identifier ID, the conflicting assembly process node pair, and the assembly sequence numbers of the two assembly process nodes. When the door panel model cannot be matched to any of the allowed door panel models for the cabinet during the door panel model and cabinet size matching verification, it is identified as a model mismatch anomaly, generating a model mismatch warning message. The model mismatch warning message includes the cabinet's unique identifier ID, the door panel installation location, the incorrect door panel model, and the allowed set of door panel models.
[0045] After the warning information is generated, the closed-loop verification warning module pushes the warning information to the workshop touch terminal and the APS scheduling backend. The workshop touch terminal displays the warning information in a pop-up window, and the APS scheduling backend writes the warning information to the scheduling log table. After receiving the warning information, the APS scheduling system locates the corresponding original scheduling data record based on the anomaly type and anomaly parameter items in the warning information, corrects the anomaly scheduling parameters in the original scheduling data record, and republishes the corrected scheduling data to the assembly data exchange topic in the message queue interface.
[0046] The edge computing server receives the corrected production scheduling data in real time, re-executes the assembly order sorting, and performs parsing, purification, timing optimization, visualization rendering, and comparison verification again. After the comparison verification is completed, the closed-loop verification and early warning module determines whether there are any anomalies in the verification results. If there are no anomalies in the verification results, the production scheduling data iteration optimization is considered complete; if there are still anomalies in the verification results, the process of correction, receiving, parsing, optimizing, rendering, and verification continues to repeat until there are no anomalies in the verification results.
[0047] In this embodiment, the first comparison and verification found that the difference between the length of the front upper door panel and the corresponding opening length of the cabinet exceeded the size matching threshold, generating a size deviation warning. The APS scheduling system corrected the door panel length parameter of the front upper door panel to a parameter value that matches the opening length of the cabinet and then pushed it again. After the edge computing server re-executed the subsequent steps, the comparison and verification showed no abnormalities, and the scheduling data iteration optimization was completed.
[0048] The early warning information in this embodiment includes model mismatch warnings, dimensional deviation warnings, timing sequence disorder warnings, and color matching assembly warnings. The color matching assembly warning is used to indicate inconsistencies between the door panel color and the cabinet color. When each early warning is generated, the closed-loop verification early warning module simultaneously records the generation time and the original production scheduling data identifier that triggered the warning, facilitating subsequent quality traceability. In this embodiment, model mismatch warnings, dimensional deviation warnings, timing sequence disorder warnings, and color matching assembly warnings are all encapsulated in a structured data format. This structured data format includes a warning type code, a trigger timestamp, a unique cabinet identifier ID, abnormal parameter items, and an abnormal description field.
[0049] Example 2: This invention provides a cabinet door panel assembly sequence optimization system based on APS scheduling data, comprising: The data docking module adopts a distributed message queue architecture to achieve concurrent reception and classified caching of production scheduling data for multiple batches and multiple categories of display cabinets, thereby avoiding data congestion and loss. The data parsing and processing module is used to automatically adapt to the parameter characteristics of different specifications of cabinets, complete redundant data filtering, multi-dimensional parameter association and binding, and output structured assembly data. The process rule storage module is used to store the assembly process constraint rule library of the cabinet door panel, providing process standard basis for process sequence optimization; The timing optimization module is used to identify conflicts in the initial assembly timing based on process constraint rules, adjust the serial order of processes that cause timing conflicts, eliminate conflicting timing arrangements, and generate a standardized optimal assembly sequence. The visualization rendering module is used to construct a virtual assembly model of the cabinet based on the optimal assembly sequence and related parameters, and dynamically render and generate a visual assembly guidance view, displaying the assembly sequence, cabinet dimensions, color scheme and door panel model parameters; the visualization rendering module supports two-dimensional / three-dimensional assembly view switching, view zooming, process switching and parameter floating viewing functions, and can be applied to workshop touch terminals and computer terminals.
[0050] The closed-loop verification and early warning module is used to compare and verify the optimal assembly sequence and its corresponding size, color matching, and model parameters with the original APS production scheduling data, identify assembly parameter and timing abnormalities and trigger early warnings, and push the early warnings to the workshop terminal and APS production scheduling backend.
[0051] Example 3: The present invention provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the steps of a method for optimizing the assembly sequence of cabinet door panels based on APS scheduling data.
[0052] Obviously, those skilled in the art can make various modifications and variations to this invention without departing from its spirit and scope. Therefore, if these modifications and variations fall within the scope of the claims of this invention and their equivalents, this invention also intends to include these modifications and variations.
Claims
1. A method for optimizing the assembly sequence of cabinet door panels based on APS scheduling data, characterized in that, The method includes: Step S1: Connect to the APS scheduling system through the preset message queue interface to receive the original scheduling data of the prefabricated production of the cabinet in real time. The original scheduling data includes at least the order number, cabinet production batch, cabinet body dimensions, cabinet body color matching parameters, door panel model at each position, production process node and process sequence priority data. Step S2: Construct a dedicated data analysis model for the cabinet door panels. Perform structured purification processing on the original production scheduling data, filter out redundant data that is not related to door panel assembly, and extract valid fields such as cabinet size parameters, color matching parameters, door panel model parameters, and initial assembly process sequence. Taking a single cabinet as an independent assembly unit, associate and bind the cabinet size parameters, cabinet color matching parameters, and door panel model parameters at different locations with the corresponding assembly process nodes to form a three-dimensional association data table of "cabinet parameters - door panel parameters - assembly sequence". Step S3: Pre-store the cabinet door panel assembly process constraint rule library. The cabinet door panel assembly process constraint rule library includes the assembly sequence logic of multiple door panels in the same cabinet, the assembly adaptation requirements of different door panel models, the size matching threshold, and the color matching assembly consistency rules. Based on the cabinet door panel assembly process constraint rule library, the initial assembly process sequence is conflict identified. When there is a violation of the assembly sequence logic or the parallel process causes assembly interference, it is determined as a timing conflict. The timing conflict process is serially sorted and adjusted to eliminate the conflicting timing arrangement and generate a standardized optimal assembly sequence of door panels. Step S4: Call the visualization rendering engine to construct a virtual assembly model of the cabinet based on the optimal assembly sequence and the size, color scheme, and model parameters in the three-dimensional related data table. Dynamically render and display the assembly position, assembly sequence, size parameters, color scheme parameters, and model parameters of each door panel, and generate a visual assembly guidance view. Step S5: Establish a data closed-loop verification mechanism. The optimal assembly sequence and its corresponding size, color, and model parameters are transmitted back to the APS production scheduling system. The original production scheduling data is compared to verify the matching rationality of the door panel model and cabinet size and the assembly consistency of the cabinet color parameters. Parameter mismatch and abnormal process sequence are identified and early warning information is generated to complete the iterative optimization of the production scheduling data.
2. The method for optimizing the assembly sequence of cabinet door panels based on APS scheduling data as described in claim 1, characterized in that, The construction of the three-dimensional associated data table in step S2 includes: Establish a unique identifier ID for the cabinet and bind the cabinet dimensions and color scheme parameters to the unique identifier ID; Using assembly station and assembly sequence as the related dimensions, the door panel model and specifications of different locations are mapped one by one to the corresponding cabinet and assembly node.
3. The method for optimizing the assembly sequence of cabinet door panels based on APS scheduling data as described in claim 1, characterized in that, The cabinet door panel assembly process constraint rule library in step S3 includes: The assembly sequence is as follows: the standard side door panel is assembled first, the top door panel is assembled later, door panels of the same height are assembled from left to right, and special assembly sequence is used for irregularly shaped door panels. The serial sorting adjustment includes: adjusting the assembly sequence of processes that cause timing conflicts according to the cabinet door panel assembly process constraint rule library, and generating a single cabinet door panel assembly process.
4. The method for optimizing the assembly sequence of cabinet door panels based on APS scheduling data as described in claim 1, characterized in that, The step S4 of constructing the virtual assembly model of the cabinet includes: A two-dimensional virtual assembly model of a screen cabinet is constructed based on SVG dynamic rendering technology, or a three-dimensional virtual assembly model of a screen cabinet is constructed based on lightweight three-dimensional modeling technology. In the virtual assembly model of the two-dimensional or three-dimensional cabinet, exclusive identifiers are set for different door panel models, cabinet color schemes are distinguished by color, size parameters and door panel models are displayed by labeled text, and the current door panel to be assembled and subsequent assembly processes are dynamically highlighted in real time.
5. The method for optimizing the assembly sequence of cabinet door panels based on APS scheduling data as described in claim 1, characterized in that, The warning information in step S5 includes at least one of the following: model mismatch warning, size deviation warning, timing disorder warning, and color matching assembly warning.
6. A cabinet door panel assembly sequence optimization system based on APS scheduling data, characterized in that, The system is used to implement a method for optimizing the assembly sequence of cabinet door panels based on APS scheduling data as described in any one of claims 1 to 5, including a data docking module, a data parsing and processing module, a process rule storage module, a timing optimization module, a visualization rendering module, and a closed-loop verification and early warning module. The data docking module adopts a distributed message queue architecture to achieve concurrent reception and classified caching of production scheduling data for multiple batches and multiple categories of display cabinets, thereby avoiding data congestion and loss. The data parsing and processing module is used to automatically adapt to the parameter characteristics of different specifications of cabinets, complete redundant data filtering, multi-dimensional parameter association and binding, and output structured assembly data. The process rule storage module is used to store the cabinet door panel assembly process constraint rule library, providing process standard basis for process sequence optimization; The timing optimization module is used to identify conflicts in the initial assembly timing based on process constraint rules, adjust the serial order of processes that cause timing conflicts, eliminate conflicting timing arrangements, and generate a standardized optimal assembly sequence. The visualization rendering module is used to construct a virtual assembly model of the cabinet based on the optimal assembly sequence and associated parameters, dynamically render and generate a visualization assembly guidance view, and display the assembly sequence, cabinet size, color scheme and door panel model parameters. The closed-loop verification and early warning module is used to compare and verify the optimal assembly sequence and its corresponding size, color matching, and model parameters with the original APS production scheduling data, identify assembly parameter and timing abnormalities and trigger early warnings, and push the early warnings to the workshop terminal and APS production scheduling backend.
7. The cabinet door panel assembly sequence optimization system based on APS scheduling data as described in claim 6, characterized in that, The visualization rendering module supports switching between 2D / 3D assembly views, view zooming, process switching, and parameter floating viewing functions, and can be applied to workshop touch terminals and computer terminals.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for optimizing the assembly sequence of cabinet door panels based on APS production scheduling data as described in any one of claims 1-5.
