A clothes hanger station entry processing method and device, a terminal device, and a storage medium
By optimizing the storage of access permissions and card number information on the workstation controller in the hanging system, the problem of low efficiency in processing hangers upon arrival at the station was solved. This enabled efficient and accurate arrival of hangers and optimized allocation of production resources, thereby improving overall production efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUIZHOU TECHZEN IOT SCI & TECH CO LTD
- Filing Date
- 2025-07-30
- Publication Date
- 2026-06-30
AI Technical Summary
The low efficiency of the hanging system in processing coat hangers leads to production chaos and resource waste, affecting overall production efficiency.
By querying permission flow on the workstation controller, the next destination workstation of the hanger can be determined in advance, and its access permission can be quickly determined when the hanger arrives, avoiding real-time queries. The storage and query algorithms are optimized by combining the byte structure of card number information, thereby improving the response speed and accuracy of the hanger entering the station.
This improves the response speed of hanger arrival at the station and the stability of the production process, ensuring that hangers arrive at their destination workstations accurately, optimizing the allocation of production resources, reducing transportation costs and time, and improving overall production efficiency.
Smart Images

Figure CN121158397B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automation control technology, and in particular to a method, apparatus, terminal equipment, and storage medium for processing coat hangers entering a station. Background Technology
[0002] Hanging systems are widely used material handling and management systems in manufacturing, especially in the apparel and textile industries. Through the use of tracks and hangers, they automate the transport and distribution of materials (such as clothing and fabric) between different workstations, effectively improving production automation and management efficiency. Hanger arrival is a crucial step in the operation of a hanging system. Hanger arrival ensures that materials reach the appropriate workstations promptly and accurately for specific processing steps. This guarantees the smooth flow of each process, preventing material backlog or supply delays, and thus maintaining the overall smooth operation of the production process.
[0003] The typical process for handling hangers entering a station involves installing an entry card reader approximately 10 centimeters from the entrance of each workstation. When a hanger enters the reader's sensing range, the reader reads the hanger's information and sends this information to the management software via the workstation's controller. The management software then determines whether the hanger has entry permission and sends the final permission determination result back to the controller. The controller, based on the received permission determination result, sends the corresponding control signal to the entry mechanism. The management software accesses a database to obtain the flow information of each hanger for scheduling. However, the database stores a large amount of data related to hanger entry permission determination, such as historical entry records, material information, and production plans. When the management software queries the entry permission of a specific hanger, it needs to traverse a large amount of data in the database, which takes considerable time. The time from when the hanger's information is read by the entry card reader to when it reaches the entrance is typically around 300ms, leaving very little time for the entry mechanism to respond. Therefore, in the actual operation of the hanging system, it is inevitable that a few hangers will not arrive on time. This delay not only affects the overall production schedule but can also lead to production planning chaos. For example, subsequent processes may experience waiting times due to a lack of necessary materials, increasing production uncertainty and management difficulty. Simultaneously, the occupation of main track resources may also hinder the transport of other hangers, creating a chain reaction and further reducing the overall operating efficiency of the hanging system. How to improve the hanger handling efficiency of the hanging system to meet the ever-increasing production demands of enterprises is a pressing technical problem that needs to be solved. Summary of the Invention
[0004] The present invention aims to provide a method, apparatus, terminal equipment and storage medium for processing clothes hangers entering the station, so as to solve the above-mentioned technical problems and improve the processing efficiency of clothes hangers entering the station in the hanging system.
[0005] To solve the above-mentioned technical problems, the present invention provides a method for processing garment hangers entering a station, applied to a hanging system. The hanging system includes several workstations, each workstation being configured with an entry card reader and a controller. The method for processing garment hangers entering a station includes:
[0006] Based on the hanger card number information to be brought in uploaded by each workstation controller and the current order requirements, the permission flow query is performed to determine the next destination workstation for the hanger to be brought in, and the hanger card number information to be brought in is sent to the corresponding destination workstation controller.
[0007] A database of hanger card numbers for each workstation controller is established based on the hanger card number information to be entered.
[0008] Each workstation controller searches the corresponding hanger card number database based on the hanger card number information sent by the current inbound card reader. When a matching hanger card number is found in the database, the controller determines that the hanger has the access permission of the workstation and triggers the hanger entry operation.
[0009] In the above scheme, by querying the access control flow based on the hanger card number information uploaded by each workstation controller and the current order requirements, the next destination workstation for the hangers can be accurately determined. This makes production scheduling more precise. Managers can rationally arrange the production tasks of each workstation based on the hanger flow and access control information, optimize the production process, and improve the efficiency of production plan execution. The advance issuance of hanger card numbers shifts the access control work to the controllers of each workstation. The management software only needs to calculate and issue card number permissions during the time from when the hanger enters the workstation to when it completes its process and is ready to leave, eliminating the need for real-time access control queries and judgments when the hanger enters the station. This ensures that the management software can maintain high efficiency even when processing a large number of card numbers, improving response speed and stability. Furthermore, by issuing hanger card numbers in advance, the controller can obtain the hanger's entry permission information in advance. When the hanger arrives at the entrance, the controller can quickly determine its permission without waiting for an additional permission query process. This improves the response speed of hanger entry, avoids the backlog and waiting time of hangers at the entrance, ensures the smooth operation of the production process, and can significantly improve overall production efficiency.
[0010] In one implementation, the step of performing an access control query based on the hanger card number information uploaded by each workstation controller and the current order requirements to determine the next destination workstation for the hanger to be received specifically includes:
[0011] A workstation-process matching table is pre-established based on the aforementioned suspension system;
[0012] Establish a process flow sheet based on the current order requirements;
[0013] The process to which each workstation belongs and the next target process are determined based on the workstation number;
[0014] Based on the next target process of each workstation, a matching query is performed in the workstation-process matching table to determine the next destination workstation for each hanger to be brought in.
[0015] In the above solution, by pre-establishing a workstation-process matching table and creating a process flow sheet based on the current production order requirements, the process to which each workstation belongs and its next target process can be accurately determined based on its number. Matching queries based on this allow for precise identification of the next destination workstation for each hanger awaiting arrival, enabling accurate scheduling of hangers among various workstations and preventing production chaos caused by haphazard hanger movement. By rationally arranging the flow of hangers according to process flow and workstation matching, the resources of each workstation can be allocated reasonably. This avoids situations where some workstations are overloaded while others are underloaded, thus achieving optimized allocation of production resources.
[0016] In one implementation, the step of performing a matching query on the workstation-process matching table based on the next target process of each workstation to determine the next destination workstation for each garment hanger to be brought in specifically includes:
[0017] The target workstation set for each hanger to be brought in is obtained based on the workstation-process matching table; wherein, the target workstation set contains several workstations for performing the next target process;
[0018] Obtain the inventory data of each workstation in the target workstation set, and select the workstation with the lowest inventory data as the next destination workstation for the clothes hanger to be received; wherein, when the inventory data is the same, select the workstation in the target workstation set that is closest to the current workstation as the next destination workstation for the clothes hanger to be received.
[0019] In the above scheme, by acquiring the target workstation set and considering inventory data to select the destination workstation, the hangers can be allocated to workstations with less inventory, avoiding task backlogs at some workstations, making the production load of each workstation more balanced, and improving the overall utilization rate of production resources. When inventory data is consistent, selecting the nearest workstation can shorten the transportation distance of the hangers within the system, reduce energy consumption and time costs during transportation, and thus reduce overall logistics costs.
[0020] In one implementation, the hanger entry processing method further includes defining the card number information of each hanger in the hanging system based on a pre-set byte structure, specifically:
[0021] The number of bytes of the card number information is predefined;
[0022] The least significant byte in the card number information is defined as the number of pages in the workstation controller where the card number information is stored.
[0023] The remaining bytes of data in the card number information are defined as the storage location of the card number information in the storage page.
[0024] In the above solution, card number information is split into smaller bytes. The least significant byte is used to locate the storage page number, and the remaining bytes are used to locate the position within the storage page, thus achieving mapped storage. This method significantly reduces the originally enormous range of card number searches. When searching for a specific hanger card number, it is not necessary to traverse all card numbers; instead, the storage page and specific location where the card number may be present can be quickly located. This significantly reduces search time, ensuring that the controller completes the card number search in a short time, improving the response speed of hanger arrivals, and ensuring the smooth operation of the production process.
[0025] In one implementation, the controller of each workstation performs a traversal query of the hanger card number information database based on the hanger card number information to be entered sent by the current inbound card reader. When a matching hanger card number information is found in the inbound hanger card number information database, it is determined that the hanger to be entered has the entry permission of the workstation and the hanger entry operation is triggered, specifically including:
[0026] Based on the least significant byte of the hanger card number information to be entered, the corresponding storage page in the hanger card number information database is retrieved.
[0027] The remaining bytes of the hanger card number information to be entered are traversed and queried on the storage page. When the storage page contains hanger card number information that matches the hanger card number information to be entered, it is determined that the hanger to be entered has the entry permission of the current workstation and the hanger entry operation is triggered.
[0028] In the above solution, the least significant byte of the hanger card number information is used to directly retrieve the corresponding storage page, avoiding an indiscriminate traversal of the entire hanger card number database. This narrows the search scope from the entire database to a specific storage page. The remaining bytes are then used to search that page, significantly reducing the amount of data that needs to be compared and dramatically improving the speed of finding matching hanger card numbers. This makes hanger entry determination faster and accelerates logistics efficiency. By precisely traversing and searching within a specific storage page step by step, records matching the hanger card number information can be found more accurately. This avoids potential misjudgments or omissions due to a large database, ensuring that only hangers with genuine entry permissions can enter the station, improving the accuracy of entry permission determination, and guaranteeing the standardization of workstation production order and logistics management.
[0029] Secondly, this application also provides a hanger entry processing device for use in a hanging system, the hanging system comprising a plurality of workstations, each workstation being configured with an entry card reader and a controller, the hanger entry processing device comprising: a target station generation module, an information database establishment module and an access control matching module;
[0030] The target station generation module is used to perform permission flow query based on the hanger card number information to be entered uploaded by each workstation controller and the current order requirements, determine the next destination workstation for the hanger to be entered, and send the hanger card number information to the corresponding destination workstation controller.
[0031] The information database establishment module is used to establish an information database of the hanger card numbers for each workstation controller based on the hanger card number information to be entered.
[0032] The permission matching module is used to control each workstation controller to traverse and query the corresponding hanger card number information database based on the hanger card number information to be entered sent by the current entry card reader. When a matching hanger card number information exists in the corresponding entry hanger card number information database, it is determined that the hanger to be entered has the entry permission of the workstation and the hanger entry operation is triggered.
[0033] In the above scheme, the next destination workstation for the incoming hangers is accurately determined by querying the permission flow based on the hanger card number information uploaded by each workstation controller and the current order requirements. This makes production scheduling more precise. Managers can rationally arrange the production tasks of each workstation according to the hanger flow and permission information, optimize the production process, and improve the execution efficiency of the production plan. The advance issuance of hanger card numbers transfers the permission judgment work to the controllers of each workstation. The management software only needs to calculate and issue card number permissions during the time from when the hanger enters the workstation to when it completes the process and is ready to leave the station. It does not need to perform real-time permission queries and judgments when the hanger enters the station, ensuring that the management software can still maintain efficient operation when processing a large number of card numbers, improving response speed and stability. Furthermore, by issuing hanger card numbers in advance, the controller can obtain the hanger's entry permission information in advance. When the hanger arrives at the entrance, the controller can quickly determine its permission without waiting for an additional permission query process. This improves the response speed of hanger entry, avoids the backlog and waiting time of hangers at the entrance, ensures the smooth operation of the production process, and can significantly improve overall production efficiency.
[0034] In one implementation, the target station generation module is used to perform permission flow queries based on the hanger card number information to be received uploaded by each workstation controller and the current order requirements, to determine the next destination workstation for the hanger to be received, specifically including:
[0035] A workstation-process matching table is pre-established based on the aforementioned suspension system;
[0036] Establish a process flow sheet based on the current order requirements;
[0037] The process to which each workstation belongs and the next target process are determined based on the workstation number;
[0038] Based on the next target process of each workstation, a matching query is performed in the workstation-process matching table to determine the next destination workstation for each hanger to be brought in.
[0039] In the above scheme, by acquiring the target workstation set and considering inventory data to select the destination workstation, the hangers can be allocated to workstations with less inventory, avoiding task backlogs at some workstations, making the production load of each workstation more balanced, and improving the overall utilization rate of production resources. When inventory data is consistent, selecting the nearest workstation can shorten the transportation distance of the hangers within the system, reduce energy consumption and time costs during transportation, and thus reduce overall logistics costs.
[0040] In one implementation, the step of performing a matching query on the workstation-process matching table based on the next target process of each workstation to determine the next destination workstation for each garment hanger to be brought in specifically includes:
[0041] The target workstation set for each hanger to be brought in is obtained based on the workstation-process matching table; wherein, the target workstation set contains several workstations for performing the next target process;
[0042] Obtain the inventory data of each workstation in the target workstation set, and select the workstation with the lowest inventory data as the next destination workstation for the clothes hanger to be received; wherein, when the inventory data is the same, select the workstation in the target workstation set that is closest to the current workstation as the next destination workstation for the clothes hanger to be received.
[0043] In the above scheme, by acquiring the target workstation set and considering inventory data to select the destination workstation, the hangers can be allocated to workstations with less inventory, avoiding task backlogs at some workstations, making the production load of each workstation more balanced, and improving the overall utilization rate of production resources. When inventory data is consistent, selecting the nearest workstation can shorten the transportation distance of the hangers within the system, reduce energy consumption and time costs during transportation, and thus reduce overall logistics costs.
[0044] In one implementation, the hanger inbound processing device further includes card number information for each hanger in the hanging system, defined based on a pre-set byte structure. Specifically:
[0045] The number of bytes of the card number information is predefined;
[0046] The least significant byte in the card number information is defined as the number of pages in the workstation controller where the card number information is stored.
[0047] The remaining bytes of data in the card number information are defined as the storage location of the card number information in the storage page.
[0048] In the above solution, card number information is split into smaller bytes. The least significant byte is used to locate the storage page number, and the remaining bytes are used to locate the position within the storage page, thus achieving mapped storage. This method significantly reduces the originally enormous range of card number searches. When searching for a specific hanger card number, it is not necessary to traverse all card numbers; instead, the storage page and specific location where the card number may be present can be quickly located. This significantly reduces search time, ensuring that the controller completes the card number search in a short time, improving the response speed of hanger arrivals, and ensuring the smooth operation of the production process.
[0049] In one implementation, the permission matching module controls each workstation controller to traverse and query the hanger card number information database based on the hanger card number information sent by the current inbound card reader. When a matching hanger card number information exists in the inbound hanger card number information database, it is determined that the hanger to be entered has the entry permission of the workstation and the hanger entry operation is triggered, specifically including:
[0050] Based on the least significant byte of the hanger card number information to be entered, the corresponding storage page in the hanger card number information database is retrieved.
[0051] The remaining bytes of the hanger card number information to be entered are traversed and queried on the storage page. When the storage page contains hanger card number information that matches the hanger card number information to be entered, it is determined that the hanger to be entered has the entry permission of the current workstation and the hanger entry operation is triggered.
[0052] In the above solution, the least significant byte of the hanger card number information is used to directly retrieve the corresponding storage page, avoiding an indiscriminate traversal of the entire hanger card number database. This narrows the search scope from the entire database to a specific storage page. The remaining bytes are then used to search that page, significantly reducing the amount of data that needs to be compared and dramatically improving the speed of finding matching hanger card numbers. This makes hanger entry determination faster and accelerates logistics efficiency. By precisely traversing and searching within a specific storage page step by step, records matching the hanger card number information can be found more accurately. This avoids potential misjudgments or omissions due to a large database, ensuring that only hangers with genuine entry permissions can enter the station, improving the accuracy of entry permission determination, and guaranteeing the standardization of workstation production order and logistics management.
[0053] Thirdly, this application also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the hanger entry processing method described above.
[0054] Fourthly, this application also provides a computer-readable storage medium, which includes a stored computer program, wherein the computer program controls the device where the computer-readable storage medium is located to perform the hanger receiving processing method as described above when it is running. Attached Figure Description
[0055] Figure 1 This is a flowchart illustrating a method for processing coat hangers upon arrival at a station, as provided in one embodiment of the present invention.
[0056] Figure 2 This is a schematic diagram of a hanger receiving and processing device provided in one embodiment of the present invention. Detailed Implementation
[0057] The specific embodiments of the present invention will be described in further detail below with reference to the accompanying drawings and examples. The following examples are for illustrative purposes only and are not intended to limit the scope of the invention.
[0058] The terms "first" and "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such processes, methods, products, or apparatus.
[0059] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0060] Example 1
[0061] See Figure 1 , Figure 1 This is a flowchart illustrating a method for processing coat hangers upon arrival at a station, as provided in one embodiment of the present invention. The embodiment of the present invention provides a method for processing coat hangers upon arrival at a station, applied to a hanging system. The hanging system includes several workstations, each workstation being configured with an arrival card reader and a controller. The method includes steps 101 to 103, each step of which is detailed below:
[0062] Step 101: Based on the hanger card number information to be entered uploaded by each workstation controller and the current order requirements, perform permission flow query to determine the next destination workstation of the hanger to be entered, and send the hanger card number information to the corresponding destination workstation controller.
[0063] In this embodiment of the invention, the destination workstation is determined by querying the permission flow based on the current order requirements. This ensures that the hangers accurately go to the workstations that conform to the production process, avoiding production chaos caused by incorrect entry into the wrong station. This makes the connection between each process smoother and improves the accuracy and reliability of the entire hanging system.
[0064] In one embodiment, the step of performing a permission flow query based on the hanger card number information to be received uploaded by each workstation controller and the current order requirements to determine the next destination workstation for the hanger to be received specifically includes: pre-establishing a workstation-process matching table based on the hanging system; establishing a process flow sheet based on the current order requirements; determining the process to which each workstation belongs and the next target process based on the number of each workstation; and performing a matching query on the workstation-process matching table based on the next target process of each workstation to determine the next destination workstation for each hanger to be received.
[0065] In this embodiment of the invention, it is assumed that there exists a hanging line equipped with N workstations. There is also a production order containing M sets of processes. The first workstation is designated as a manual hanging station, primarily responsible for hanging materials onto hangers; the last workstation is an inspection station, used for quality inspection of completed products; the intermediate N-2 workstations are process stations, used to complete various processing steps of the product. Typically, N-2 is greater than M, meaning that several workstations may perform the same process. It should be noted that the workstations mentioned in this embodiment represent workstations within process stations. All workstations in the hanging system are analyzed in detail to clarify the processes each workstation can perform. Since multiple workstations may perform the same process, the information of workstations corresponding to the same process is integrated together. For example, assuming N=10 and M=3, there are 10 workstations and 3 sets of processes. After analysis, the workstation-process matching representation is as follows:
[0066] Process Corresponding workstation number M1 2、3、4 M2 5、6 M3 7、8、9
[0067] Based on the specific requirements of the current order, the sequence of processes the product needs to undergo is determined, forming a process flow sheet. For example, if the current order requires the product to go through processes M1, M2, and M3 in sequence, then the process flow sheet would be: M1→M2→M3. Using the workstation number and the workstation-process matching table, the current process executed by each workstation is determined. Then, based on the process flow sheet, the next target process is found. For example, for workstation 2, the workstation-process matching table shows that it executes process M1. According to the process flow sheet M1→M2→M3, its next target process is M2. For workstation 5, process M2, the next target process is M3. When the workstation controller uploads the card number information of the hanger to be received, the management software first determines the process of the workstation where the hanger is currently located, then derives the next target process, and finally finds the corresponding destination workstation through the workstation-process matching table. For example, suppose the hanger card number information of a hanger is sent to the controller via the card reader at workstation 3, and then enters workstation 3 to perform process M1. At this time, the management software learns from the process flow sheet that the next target process for this hanger is M2, and looks up the workstation numbers 5 and 6 corresponding to process M2 in the workstation-process matching table. The management software can select one of 5 and 6 as the next destination workstation for this hanger according to certain rules. Assuming workstation 5 is selected, the hanger card number information is sent to the controller of workstation 5.
[0068] In one embodiment, the step of matching and querying the workstation-process matching table based on the next target process of each workstation to determine the next destination workstation for each hanger to be brought in specifically includes: obtaining a target workstation set for each hanger to be brought in based on the workstation-process matching table; wherein, the target workstation set contains several workstations for executing the next target process; obtaining the inventory data of each workstation in the target workstation set, and selecting the workstation with the lowest inventory data as the next destination workstation for the hanger to be brought in; wherein, when the inventory data is consistent, the workstation in the target workstation set that is closest to the current workstation is selected as the next destination workstation for the hanger to be brought in.
[0069] In this embodiment of the invention, it is assumed that the hanger card number information of a hanger is sent to the controller via the inbound card reader of workstation 3, indicating that it is about to enter workstation 3 to perform process M1. The management software, based on the previously established workstation-process matching table, determines that the hanger is currently performing process M1 at workstation 3, and its next target process is M2. From the workstation-process matching table, it can be found that the workstations performing process M2 are numbered 5 and 6, so the target workstation set for the hanger to enter is {5, 6}. The management software sends requests to the controllers of workstations 5 and 6 to obtain the inventory data of these two workstations. The inventory data can be understood as the number of hangers currently being processed or waiting to be processed at each workstation, reflecting the workstation's workload and processing speed. Assume that workstation 5 currently has 3 hangers waiting to be processed, and workstation 6 currently has 5 hangers waiting to be processed. Since the inventory quantity of workstation 5 is lower than that of workstation 6, this means that workstation 5's processing speed is relatively faster, and its current load is lighter. Therefore, the management software selects workstation 5 as the next destination workstation for the hanger to be received and sends the hanger's card number information to the controller of workstation 5. However, when the inventory data of workstations 5 and 6 are the same, the management software needs to consider the distance between the destination workstation and the current workstation (i.e., workstation 3). Assuming that in the hanging line layout, workstation 5 is 2 workstations away from workstation 3, and workstation 6 is 3 workstations away from workstation 3, workstation 5 is clearly closer to workstation 3. Therefore, the management software will select workstation 5 as the next destination workstation for the hanger to be received. Through these steps, the management software can rationally select the next destination workstation for each hanger to be received based on the inventory status and distance of the target workstation, achieving efficient flow of hangers in the hanging system and improving overall production efficiency.
[0070] Step 102: Establish a database of hanger card number information for each workstation controller based on the hanger card number information to be entered.
[0071] In this embodiment of the invention, the arrival status of each hanger can be clearly recorded through the hanger card number information database, thereby tracking the processing of each product at each workstation. When a product quality problem occurs, the specific processing workstation, processing time, and other key information can be quickly traced back based on the card number information, facilitating the identification of the source of the problem and enabling targeted solutions, thus improving product quality and the reliability of production management. Furthermore, centrally storing the hanger card number information in the database significantly improves the speed and accuracy of data processing, allowing for a more timely response to various needs during the production process.
[0072] In one embodiment, the hanger entry processing method further includes defining the card number information of each hanger in the hanging system based on a pre-set byte structure. Specifically: the number of bytes of the card number information is pre-defined; the least significant byte of the card number information is defined as the storage page number of the card number information in the workstation controller; and the remaining bytes of the card number information are defined as the storage location of the card number information in the storage page.
[0073] In this embodiment of the invention, to manage and store hanger card number information more efficiently, a specific storage area is allocated to the card number information. The least significant byte is defined as the storage page number, meaning that the value range of this byte (usually 0-255) can be used to correspond to different storage pages. For example, when the least significant byte is 0, it indicates that the hanger card number information is stored on page 0; when it is 10, it is stored on page 10. The advantage of this is that the approximate storage area where the card number information is located can be quickly located, reducing search time. Preferably, in practical applications, the number of storage pages can be further optimized according to the characteristics of the production process. For example, frequently used hanger card number information can be centrally stored within a specific page number range for convenient and quick access. After determining the storage page number, the remaining bytes are used to determine the specific storage location within that storage page. Assuming the card number information is 4 bytes, and the least significant byte is used to store the page number, the remaining 3 bytes can be combined into a larger value to represent the storage location. For example, if each storage page has 256 storage units, 3 bytes can represent 2... 24 The various storage locations are sufficient for precise storage within a single page. This method allows each hanger card number to be accurately stored in a designated storage unit, achieving ordered storage. Preferably, data structures can be used to further optimize storage location management during the storage process. For example, a hash table can be used to record the storage location corresponding to each card number, allowing for quick location of the card number information during lookup using a hash function, improving search efficiency. By splitting the card number information into two parts—the storage page number and the storage location—fast location searching can be achieved. When searching for a specific hanger card number, the storage page number is first determined based on the least significant byte, and then the specific storage location is quickly found within that page based on the remaining bytes.
[0074] Step 103: Control each workstation controller to traverse and query the hanger card number information database based on the hanger card number information sent by the current inbound card reader. When a matching hanger card number information exists in the inbound hanger card number information database, determine that the hanger to be entered has the entry permission of the workstation and trigger the hanger entry operation.
[0075] In this embodiment of the invention, the access permission determination mechanism provides a certain level of security for the hanging system. Only hangers with matching card number information are allowed to enter the system, effectively preventing the intrusion of unauthorized hangers and protecting the normal operation of the system. During the process of traversing and querying the hanger card number information database, the system can accurately compare the card number information to ensure the accuracy of the hanger information. This helps improve the accuracy of system data processing and avoids production errors or management chaos caused by information errors.
[0076] In one embodiment, the controller of each workstation performs a traversal query in the hanger card number information database based on the hanger card number information to be entered sent by the current inbound card reader. When a matching hanger card number is found in the inbound hanger card number information database, it is determined that the hanger to be entered has the entry permission of the workstation and the hanger entry operation is triggered. Specifically, this includes: retrieving the corresponding storage page in the inbound hanger card number information database based on the least significant byte data of the hanger card number information to be entered; and performing a traversal query in the storage page based on the remaining bytes of the hanger card number information to be entered. When a hanger card number information that matches the hanger card number information to be entered is found in the storage page, it is determined that the hanger to be entered has the entry permission of the current workstation and the hanger entry operation is triggered.
[0077] In this embodiment of the invention, to address the problem of time-consuming lookup by the workstation controller due to varying numbers of pre-issued hanger card numbers, a mapping storage lookup algorithm is employed. This algorithm splits and stores card numbers according to specific rules, locating the storage page and specific position based on different bytes of the hanger card number information to be entered, thus enabling rapid lookup to determine the hanger's entry permission. For example, each hanger card number consists of 4 bytes, denoted as B3B2B1B0, where B3 is the most significant byte and B0 is the least significant byte, with each byte ranging from 0 to 255. The controller's Flash storage unit is calculated per page, with each page containing 264 bytes. For example, two sets of 255-page storage spaces are set up to store the hanger card numbers. When the card reader sends the hanger card number information, it first extracts the least significant byte B0. Based on the value of B0 (range 0-255), the corresponding storage page is determined from the two 255-page storage spaces. For example, if B0 = 50, then page 50 is retrieved. Extract the remaining bytes (B3B2B1) of the hanger card number information to be received and traverse and search the determined storage pages. Since each page stores 88 card numbers and there are 2 batches, each search requires processing a maximum of 88*2=176 card numbers. For the workstation controller, this search operation can be completed within 10ms. If a card number information matching B3B2B1 is found in the storage page, it is determined that the hanger to be received has the entry permission of the current workstation, triggering the hanger entry operation (such as controlling the relevant entry structure or mechanical device to open the channel, allowing the hanger to enter the workstation smoothly); if no matching hanger card number information is found, it is determined that it does not have the entry permission. Through this mapping storage search algorithm, even when faced with a large number of hanger card numbers issued in advance, the controller of each workstation can complete the search in a short time, ensuring that all hangers that are required to enter the station can enter the station in a timely manner without affecting the normal operation of the production process.
[0078] In this embodiment of the invention, a hanger-in-station processing device is also provided, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the above-described hanger-in-station processing method.
[0079] In this embodiment of the invention, a computer-readable storage medium is also provided, which includes a stored computer program, wherein the computer program controls the device where the computer-readable storage medium is located to execute the above-described hanger entry processing method when it is running.
[0080] For example, a computer program can be divided into one or more modules, one or more of which are stored in memory and executed by a processor to perform the present invention. One or more modules can be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the hanger inbound processing device.
[0081] The hanger inbound processing device can be a computing device such as a desktop computer, laptop, handheld computer, or cloud server. The hanger inbound processing device may include, but is not limited to, a processor, memory, and display. Those skilled in the art will understand that the above components are merely examples of the hanger inbound processing device and do not constitute a limitation on the device. It may include more or fewer components, combinations of certain components, or different components. For example, the hanger inbound processing device may also include input / output devices, network access devices, buses, etc.
[0082] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the hanger inbound processing equipment, connecting all parts of the equipment via various interfaces and lines.
[0083] The memory can be used to store computer programs and / or modules. The processor implements various functions of the hanger-in-station processing equipment by running or executing the computer programs and / or modules stored in the memory, and by calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, at least one application program required for a function (such as sound playback function, text conversion function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, text message data, etc.). In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0084] If the module for processing the clothes hangers entering the station is implemented as 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, all or part of the processes in the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. Those skilled in the art can understand and implement this without any inventive effort.
[0085] This invention provides a method for processing hangers entering the station. Based on the hanger card number information uploaded by each workstation controller and the current order requirements, permission flow queries are performed to accurately determine the next destination workstation for the hangers. This makes production scheduling more precise. Managers can rationally arrange production tasks for each workstation based on the hanger flow and permission information, optimizing the production process and improving the efficiency of production plan execution. The advance issuance of hanger card numbers shifts the permission judgment work to the controllers of each workstation. The management software only needs to calculate and issue card number permissions during the time from when the hanger enters the workstation to when it completes its process and is ready to leave the station. It does not need to perform real-time permission queries and judgments when the hanger enters the station, ensuring that the management software can maintain efficient operation even when processing a large number of card numbers, improving response speed and stability. Furthermore, by issuing hanger card numbers in advance, the controller can obtain the hanger's entry permission information in advance. When the hanger arrives at the entrance, the controller can quickly determine its permission without waiting for an additional permission query process. This improves the response speed of hanger entry, avoids the backlog and waiting time of hangers at the entrance, ensures the smooth operation of the production process, and can significantly improve overall production efficiency.
[0086] Example 2
[0087] See Figure 2 , Figure 2This is a schematic diagram of a hanger entry processing device provided in one embodiment of the present invention. The present invention provides a hanger entry processing device applied to a hanging system, the hanging system comprising several workstations, each workstation being configured with an entry card reader and a controller. The hanger entry processing device comprises: a target station generation module 201, an information database establishment module 202, and an access control matching module 203.
[0088] The target station generation module 201 is used to perform permission flow query based on the hanger card number information to be entered uploaded by each workstation controller and the current order requirements, determine the next destination workstation of the hanger to be entered, and send the hanger card number information to the corresponding destination workstation controller.
[0089] The information database establishment module 202 is used to establish an information database of the hanger card numbers for each workstation controller based on the hanger card number information to be entered.
[0090] The permission matching module 203 is used to control each workstation controller to traverse and query the corresponding hanger card number information database based on the hanger card number information to be entered sent by the current entry card reader. When a matching hanger card number information exists in the corresponding hanger card number information database, it is determined that the hanger to be entered has the entry permission of the workstation and the hanger entry operation is triggered.
[0091] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0092] In one embodiment, the target station generation module is used to perform permission flow queries based on the hanger card number information to be received uploaded by each workstation controller and the current order requirements to determine the next destination workstation for the hanger to be received. Specifically, this includes: pre-establishing a workstation-process matching table based on the hanging system; establishing a process flow sheet based on the current order requirements; determining the process to which each workstation belongs and the next target process based on the number of each workstation; and performing a matching query on the workstation-process matching table based on the next target process of each workstation to determine the next destination workstation for each hanger to be received.
[0093] In one embodiment, the step of matching and querying the workstation-process matching table based on the next target process of each workstation to determine the next destination workstation for each hanger to be brought in specifically includes: obtaining a target workstation set for each hanger to be brought in based on the workstation-process matching table; wherein, the target workstation set contains several workstations for executing the next target process; obtaining the inventory data of each workstation in the target workstation set, and selecting the workstation with the lowest inventory data as the next destination workstation for the hanger to be brought in; wherein, when the inventory data is consistent, the workstation in the target workstation set that is closest to the current workstation is selected as the next destination workstation for the hanger to be brought in.
[0094] In one embodiment, the hanger entry processing device further includes defining the card number information of each hanger in the hanging system based on a pre-set byte structure. Specifically, the number of bytes in the card number information is pre-defined; the least significant byte in the card number information is defined as the storage page number of the card number information in the workstation controller; and the remaining bytes in the card number information are defined as the storage location of the card number information in the storage page.
[0095] In one embodiment, the permission matching module is used to control each workstation controller to traverse and query the hanger card number information database based on the hanger card number information to be entered sent by the current entry card reader. When a matching hanger card number information exists in the entry hanger card number information database, it is determined that the hanger to be entered has the entry permission of the workstation and the hanger entry operation is triggered. Specifically, this includes: retrieving the corresponding storage page in the entry hanger card number information database based on the least significant byte data of the hanger card number information to be entered; traversing and querying the storage page based on the remaining bytes of the hanger card number information to be entered; when a hanger card number information that matches the hanger card number information to be entered exists in the storage page, it is determined that the hanger to be entered has the entry permission of the current workstation.
[0096] This invention provides a hanger entry processing device. Based on the hanger card number information uploaded by each workstation controller and the current order requirements, it performs permission flow queries to accurately determine the next destination workstation for the hangers. This makes production scheduling more precise. Managers can rationally arrange production tasks for each workstation based on the hanger flow and permission information, optimizing the production process and improving the efficiency of production plan execution. The advance issuance of hanger card numbers shifts the permission judgment work to the controllers of each workstation. The management software only needs to calculate and issue card number permissions during the time from when the hanger enters the workstation to when it completes its process and is ready to leave, eliminating the need for real-time permission queries and judgments when the hanger enters the station. This ensures that the management software can maintain high efficiency even when processing a large number of card numbers, improving response speed and stability. Furthermore, by issuing hanger card numbers in advance, the controller can obtain the hanger's entry permission information in advance. When the hanger arrives at the entrance, the controller can quickly determine its permission without waiting for an additional permission query process. This improves the response speed of hanger entry, avoids the backlog and waiting time of hangers at the entrance, ensures the smooth operation of the production process, and can significantly improve overall production efficiency.
[0097] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make several improvements and substitutions without departing from the technical principles of the present invention, and these improvements and substitutions should also be considered within the scope of protection of the present invention.
Claims
1. A method for processing coat hangers upon arrival at a station, applied to a hanging system, the hanging system comprising a plurality of workstations, each workstation being configured with an arrival card reader and a controller, characterized in that, The method for handling coat hangers upon arrival at the station includes: Based on the hanger card number information to be brought in uploaded by each workstation controller and the current order requirements, the permission flow query is performed to determine the next destination workstation for the hanger to be brought in, and the hanger card number information to be brought in is sent to the corresponding destination workstation controller. A database of hanger card numbers for each workstation controller is established based on the hanger card number information to be entered. Each workstation controller is controlled to traverse and query the corresponding hanger card number information database based on the hanger card number information sent by the current inbound card reader. When a matching hanger card number information is found in the corresponding inbound hanger card number information database, it is determined that the hanger to be entered has the entry permission of the workstation and the hanger entry operation is triggered. The process of querying access permissions based on the hanger card number information uploaded by each workstation controller and the current order requirements to determine the next destination workstation for the hanger to be received includes: A workstation-process matching table is pre-established based on the aforementioned suspension system; Establish a process flow sheet based on the current order requirements; The process to which each workstation belongs and the next target process are determined based on the workstation number; Based on the next target process of each workstation, a matching query is performed in the workstation-process matching table to determine the next destination workstation for each hanger to be entered. The next target process for each workstation is matched and queried in the workstation-process matching table to determine the next destination workstation for each garment hanger to be brought in, specifically including: The target workstation set for each hanger to be brought in is obtained based on the workstation-process matching table; wherein, the target workstation set contains several workstations for performing the next target process; Obtain the inventory data of each workstation in the target workstation set, and select the workstation with the lowest inventory data as the next destination workstation for the clothes hanger to be received; wherein, when the inventory data is the same, select the workstation in the target workstation set that is closest to the current workstation as the next destination workstation for the clothes hanger to be received.
2. The method for processing coat hangers upon arrival at the station as described in claim 1, characterized in that, The hanger entry processing method also includes defining the card number information of each hanger in the hanging system based on a pre-set byte structure, specifically: The number of bytes of the card number information is predefined; The least significant byte in the card number information is defined as the number of pages in the workstation controller where the card number information is stored. The remaining bytes of data in the card number information are defined as the storage location of the card number information in the storage page.
3. A method for processing coat hangers upon arrival at a station as described in claim 1 or 2, characterized in that, The control system for each workstation controller involves iterating through the corresponding hanger card number database based on the hanger card number information sent by the current inbound card reader. When a matching hanger card number is found in the database, the system determines that the hanger has the necessary access permissions for the workstation and triggers the hanger entry operation. Specifically, this includes: Based on the least significant byte of the hanger card number information to be entered, the corresponding storage page in the hanger card number information database is retrieved. The remaining bytes of the hanger card number information to be entered are traversed and queried on the storage page. When the storage page contains hanger card number information that matches the hanger card number information to be entered, it is determined that the hanger to be entered has the entry permission of the current workstation and the hanger entry operation is triggered.
4. A hanger entry processing device, applied to a hanging system, the hanging system comprising a plurality of workstations, each workstation being configured with an entry card reader and a controller, characterized in that, The hanger entry processing device includes: a target station generation module, an information database establishment module, and an access control matching module; The target station generation module is used to perform permission flow query based on the hanger card number information to be entered uploaded by each workstation controller and the current order requirements, determine the next destination workstation for the hanger to be entered, and send the hanger card number information to the corresponding destination workstation controller. The information database establishment module is used to establish an information database of the hanger card numbers for each workstation controller based on the hanger card number information to be entered. The permission matching module is used to control each workstation controller to traverse and query the corresponding hanger card number information database based on the hanger card number information to be entered sent by the current entry card reader. When there is a matching hanger card number information in the corresponding entry hanger card number information database, it is determined that the hanger to be entered has the entry permission of the workstation and the hanger entry operation is triggered. The target station generation module is used to perform permission flow queries based on the hanger card number information to be received uploaded by each workstation controller and the current order requirements, to determine the next destination workstation for the hanger to be received, specifically including: A workstation-process matching table is pre-established based on the aforementioned suspension system; Establish a process flow sheet based on the current order requirements; The process to which each workstation belongs and the next target process are determined based on the workstation number; Based on the next target process of each workstation, a matching query is performed in the workstation-process matching table to determine the next destination workstation for each hanger to be entered. The next target process for each workstation is matched and queried in the workstation-process matching table to determine the next destination workstation for each garment hanger to be brought in, specifically including: The target workstation set for each hanger to be brought in is obtained based on the workstation-process matching table; wherein, the target workstation set contains several workstations for performing the next target process; Obtain the inventory data of each workstation in the target workstation set, and select the workstation with the lowest inventory data as the next destination workstation for the clothes hanger to be received; wherein, when the inventory data is the same, select the workstation in the target workstation set that is closest to the current workstation as the next destination workstation for the clothes hanger to be received.
5. A terminal device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement a hanger receiving processing method as described in any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device on which the computer-readable storage medium is located to perform a hanger receiving processing method as described in any one of claims 1 to 3.