Control method and device of wire harness production equipment, computer equipment and readable storage medium

By establishing an association relationship between the cloud platform and the edge gateway, and automatically allocating work orders to the wiring harness production equipment, the problem of manual operation dependence in the wiring harness production process is solved, and production efficiency and equipment operation stability are improved.

CN120029217APending Publication Date: 2025-05-23SUZHOU HUAXING YUANCHUANG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510211289.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-25
Publication Date
2025-05-23

AI Technical Summary

Technical Problem

During the production process of wire harness, the existing technology relies on a large number of manual operations, resulting in low production efficiency and unstable quality control. A control method that can improve the production efficiency of wire harness and enhance production controllability is urgently needed.

Method used

By establishing an association relationship between the cloud platform and the edge gateway, the relationship between the work ticket data and the wire harness production equipment is determined. The edge gateway receives the work ticket data sent by the cloud platform, and imports the work ticket data when the target device is idle, and controls the equipment to perform production actions.

Benefits of technology

The automated ordering strategy of wire harness production equipment is realized, the production efficiency and equipment operation stability are improved, the real-time performance of work order data is ensured, and the impact of wire harness legacy on work order execution is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120029217A_ABST
    Figure CN120029217A_ABST
Patent Text Reader

Abstract

The invention relates to a control method and device of wire harness production equipment, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: receiving work order data sent by a cloud platform and identification information of target wire harness production equipment associated with the work order data; based on the identification information, adding the work order data to a queue corresponding to the target wire harness production equipment; based on the image of the wire taking table in the target wire harness production equipment, determining the equipment state of the target wire harness production equipment; and under the condition that the equipment state is an idle state, importing the work order data in the queue into target wire harness production equipment, and controlling the target wire harness production equipment to execute corresponding production actions according to the imported work order data. By adopting the method, the production efficiency of the wire harness can be improved, and the production controllability is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of wire harness production, and in particular to a control method, device, computer equipment, computer-readable storage medium and computer program product for wire harness production equipment. Background Art

[0002] A wiring harness is a device that integrates multiple wires or cables through insulating materials and connectors. It is used to transmit power and signals between various components and is widely used in many fields such as automobile manufacturing, aerospace, medical equipment, home appliances, industrial equipment, etc. For example, in a car, the wiring harness provides and distributes power to various systems of the vehicle, and also acts as a medium for signal transmission between various components.

[0003] However, the industrial production process of wire harnesses is complex and large-scale, and usually requires the participation of a large number of wire harness processing equipment. When these equipment execute work orders, some operations still rely on manual labor, which limits the overall production efficiency and makes quality control unstable. Therefore, there is an urgent need for a control method for wire harness production equipment that can improve wire harness production efficiency and enhance production controllability. Summary of the invention

[0004] Based on this, it is necessary to provide a control method, device, computer equipment, computer-readable storage medium and computer program product for wire harness production equipment that can improve wire harness production efficiency and enhance production controllability in response to the above technical problems.

[0005] In a first aspect, the present application provides a control method for a wire harness production device, which is applied to an edge gateway, and the method includes:

[0006] Receiving work order data sent by the cloud platform and identification information of a target wire harness production device associated with the work order data; the target wire harness production device is determined by the cloud platform based on an association relationship between the work order data and the wire harness production device;

[0007] Based on the identification information, adding the work order data to a queue corresponding to the target wire harness production equipment;

[0008] Determining the equipment state of the target wire harness production equipment based on the image of the wire taking table in the target wire harness production equipment;

[0009] When the device state is an idle state, the work order data in the queue is imported into the target wire harness production device, and the target wire harness production device is controlled to perform corresponding production actions according to the imported work order data.

[0010] In one of the embodiments, the association relationship includes at least one of the execution priority of the work order data and the number of work orders to be executed by the wire harness production equipment.

[0011] In one embodiment, determining the equipment state of the target wire harness production equipment based on the image of the wire taking table in the target wire harness production equipment includes:

[0012] Obtaining the operating status of the target wire harness production equipment;

[0013] When the running state is a stopped running state, an image of a wire taking table in the target wire harness production equipment is acquired based on an image acquisition device;

[0014] Determining the equipment status of the target wire harness production equipment according to the wire harness recognition result of the image;

[0015] The device state being an idle state includes: determining that the device state is an idle state when a harness identification result indicates that no harness exists.

[0016] In one embodiment, the method for determining the wiring harness identification result includes:

[0017] converting the image into a grayscale image;

[0018] Converting the grayscale image into a binary image;

[0019] A connected area in the binary image is determined, and based on the connected area, it is determined whether there is a contour of a line bundle in the image.

[0020] In one embodiment, the target wire harness production device corresponds to a first queue and a second queue, and adding the work order data to the queue corresponding to the target wire harness production device based on the identification information includes:

[0021] In response to the execution priority of the work order data being higher than a preset level, the work order data is added to the second queue corresponding to the target wire harness production equipment based on the identification information; the first queue is used for the edge gateway to import the work order data in the first queue to the target wire harness production equipment when the device status is idle and the second queue is empty.

[0022] In one of the embodiments, the work order data is obtained by the cloud platform integrating task data of the same category, and the task data is obtained by the cloud platform splitting the original work order data based on preset classification rules; the preset classification rules include a target field.

[0023] In one of the embodiments, before receiving the work order data sent by the cloud platform and the identification information of the target wire harness production equipment associated with the work order data, the method includes:

[0024] In response to an electrical connection with a target wire harness production device, a request instruction for an edge application is sent to a cloud platform, so that the cloud platform assigns an edge application corresponding to the target wire harness production device to the edge gateway; the edge application is at least used to add work order data to a queue corresponding to the target wire harness production device, determine the device status of the target wire harness production device, import the work order data in the queue to the target wire harness production device, or control the target wire harness production device to perform corresponding production actions according to the imported work order data.

[0025] In a second aspect, the present application also provides a control device for a wire harness production device, comprising:

[0026] A data receiving module, used to receive the work order data sent by the cloud platform and the identification information of the target wire harness production equipment associated with the work order data; the target wire harness production equipment is determined by the cloud platform based on the association relationship between the work order data and the wire harness production equipment;

[0027] A data storage module, used for adding the work order data to a queue corresponding to the target wire harness production equipment based on the identification information;

[0028] A state determination module, used for determining the equipment state of the target wire harness production equipment based on the image of the wire taking table in the target wire harness production equipment;

[0029] The equipment control module is used to import the work order data in the queue to the target wire harness production equipment when the equipment is in an idle state, and control the target wire harness production equipment to perform corresponding production actions according to the imported work order data.

[0030] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any of the above-described methods when executing the computer program.

[0031] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the methods described above when executed by a processor.

[0032] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of any of the methods described above when executed by a processor.

[0033] The control method, device, computer equipment, computer-readable storage medium and computer program product of the wire harness production equipment described above can facilitate overall adjustment of the automated order scheduling strategy by determining the assignment object of each work order from multiple wire harness production equipment according to the association relationship predetermined by the cloud platform; by receiving work orders close to the edge gateway of the wire harness production equipment, and importing and executing the work orders stored in the edge gateway into the wire harness production equipment when it is determined that the equipment is idle, the stability of the operation of the wire harness production equipment can be ensured, and the real-time nature of the work order data is relatively high; and the equipment idleness is determined in combination with the image of the wire taking table in the wire harness production equipment, thereby avoiding the influence of wire harness legacy on the execution of the current work order. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 An application environment diagram of a control method for a wire harness production device in one embodiment;

[0036] Figure 2 A schematic flow chart of a control method for a wire harness production device in one embodiment;

[0037] Figure 3 A schematic diagram of the association relationship between work order data and wire harness production equipment in one embodiment;

[0038] Figure 4 is a flow chart of step S206 in one embodiment;

[0039] Figure 5 A schematic diagram of a flow chart of a method for determining a wiring harness identification result in an embodiment;

[0040] Figure 6 is an application environment diagram of a control method for a wire harness production device in another embodiment;

[0041] Figure 7 is a structural block diagram of a control device for a wire harness production device in one embodiment;

[0042] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] In the related art, the order scheduling process requires a lot of manual operations, and the generated work orders (for example, work orders in Excel format) are usually passed to the wire harness production equipment by manual import, which is inefficient and prone to importing wrong work orders.

[0045] Based on this, the embodiment of the present application provides a control method for a wire harness production device, which can be applied to Figure 1 In the application environment shown. Among them, the cloud platform 102 can communicate with one or more edge gateways 104 through the network. The data storage system can store the data that the cloud platform 102 needs to process. The edge gateway 104 is usually deployed on the edge side close to the wire harness production equipment 106, and each edge gateway 104 can be electrically connected to one or more wire harness production equipment 106. The cloud platform 102 can determine the association relationship between the work order data and the wire harness production equipment 106, and the higher the execution priority of the work order data, the fewer the number of work orders to be executed of the wire harness production equipment 106 associated with the work order data. The edge gateway 104 can receive the work order data sent by the cloud platform 102 and the identification information of the target wire harness production equipment 106 associated with the work order data; based on the identification information, add the work order data to the queue corresponding to the target wire harness production equipment 106; obtain the device status of the target wire harness production equipment 106, and when the device status is idle, import the work order data in the queue to the target wire harness production equipment 106, and control the target wire harness production equipment 106 to perform corresponding production actions according to the imported work order data. Specifically, the cloud platform 102 and the edge gateway 104 can communicate based on the Internet of Things (IoT) technology. The edge gateway 104 and the wire harness production equipment 106 can communicate based on the OPC UA (Open Platform Communications Unified Architecture) protocol.

[0046] In an exemplary embodiment, Figure 2 As shown, a control method for a wire harness production device is provided, and the method is applied to Figure 1 The edge gateway 104 in the example is used as an example to illustrate, including the following steps S202 to S208. Among them:

[0047] Step S202, receiving the work order data sent by the cloud platform and the identification information of the target wire harness production equipment associated with the work order data; the target wire harness production equipment is determined by the cloud platform based on the association relationship between the work order data and the wire harness production equipment.

[0048] The target wire harness production device associated with the work order data is one of the wire harness production devices electrically connected to the edge gateway 104. The work order data may include the content of the corresponding work order, which is used to be imported into the wire harness production device to generate the corresponding wire making task. In one possible implementation, the work order data is generated by the cloud platform in response to the production demand for the wire harness. In another possible implementation, the work order data is uploaded to the cloud platform by the production management system.

[0049] For example, the cloud platform may store an association relationship between work order data and wire harness production equipment, which may be obtained by matching the production capacity required by the work order data with the actual production capacity of the wire harness production equipment.

[0050] Step S204: based on the identification information, add the work order data to the queue corresponding to the target wire harness production equipment.

[0051] Exemplarily, the edge gateway 104 can obtain the address of the queue corresponding to the target wire harness production equipment in response to receiving the identification information of the target wire harness production equipment, and then add the work order data to the end of the queue, or insert the work order data into the queue to ensure that the work order data in the queue is arranged in order of execution priority from high to low.

[0052] Step S206, determining the equipment state of the target wire harness production equipment based on the image of the wire taking table in the target wire harness production equipment.

[0053] In one possible implementation, the equipment state of the target harness production equipment can be determined based on the image of the wire taking platform in the target harness production equipment and the operating state of the target harness production equipment. Among them, the operating state of the target harness production equipment may include normal operation state / stop operation state. For example, when the image of the wire taking platform does not contain the harness image and the target harness production equipment is in a stopped operation state, it can be determined that the equipment state of the target harness production equipment is in an idle state. Specifically, the edge gateway 104 can continuously obtain its operating state when the target harness production equipment is in a normal operation state until the target harness production equipment is in a stopped operation state, and then obtain the image of the wire taking platform; when the image of the wire taking platform does not contain the harness image, it is determined that the target harness production equipment is in an idle state; when the image of the wire taking platform contains the harness image, a warning of the existence of harness residue is reported to the cloud platform. In another possible implementation, the equipment state of the target harness production equipment can be determined based on the images of components such as the wire taking platform and the processing platform in the target harness production equipment.

[0054] Step S208, when the device state is idle, the work order data in the queue is imported into the target wire harness production device, and the target wire harness production device is controlled to perform corresponding production actions according to the imported work order data.

[0055] Exemplarily, when the device status is idle, the edge gateway 104 can take out the work order data from the queue, import the work order data into the database of the target wire harness production equipment, and then send a control signal to the target wire harness production equipment so that the target wire harness production equipment generates and executes the corresponding wiring task.

[0056] Optionally, the edge gateway 104 can also obtain the production completion status of the work order data (including: completed status / uncompleted status), the production information of each wire harness corresponding to the work order data (including: qualified status / unqualified status, unqualified reasons, processing start time and processing time, etc.), and upload them to the cloud platform for analysis.

[0057] In the control method of the above-mentioned wire harness production equipment, the assignment objects of each work order are determined from multiple wire harness production equipment according to the association relationship predetermined by the cloud platform, so that the overall adjustment of the automated order scheduling strategy can be facilitated; by receiving the work order close to the edge gateway of the wire harness production equipment, when it is determined that the equipment is idle, the work order stored in the edge gateway is imported into the wire harness production equipment and executed, which can ensure the stability of the operation of the wire harness production equipment and the high real-time nature of the work order data; and the equipment idleness is determined in combination with the image of the wire taking table in the wire harness production equipment, avoiding the influence of the wire harness legacy on the current work order execution.

[0058] In an exemplary embodiment, the association relationship between the work order data and the wire harness production equipment includes at least one of the execution priority of the work order data and the number of work orders to be executed by the wire harness production equipment.

[0059] For example, the cloud platform may preferentially send work order data with a higher execution priority based on the association relationship and / or preferentially send work order data to the wire harness production equipment with a smaller number of work orders to be executed. Figure 3 , the association relationship may include: for mutually associated work order data and wire harness production equipment, the execution priority of the work order data is negatively correlated with the number of work orders to be executed by the wire harness production equipment. Here, the execution priority of the work order data can be determined based on the planned start time of the work order. When the planned start time of the work order is closer, the execution priority of the corresponding work order data is higher.

[0060] In this embodiment, the cloud platform compares the execution priority of the work order and the number of work orders to be executed by the wire harness production equipment, and determines the assignment object of each work order from multiple wire harness production equipment. This can give priority to processing more urgent or more important work orders, improve the flexibility of work order processing, and give priority to assigning work orders to wire harness production equipment with a smaller number of work orders to be executed for processing, thereby ensuring load balancing among multiple wire harness production equipment and increasing the overall effective working time of multiple wire harness production equipment.

[0061] In an exemplary embodiment, Figure 4 As shown, the above step S206 may include:

[0062] Step S2061, obtaining the operating status of the target wire harness production equipment.

[0063] Exemplarily, the edge gateway 104 may periodically send a status query instruction to the target wire harness production device, and determine the operating status of the target wire harness production device based on a response of the target wire harness production device to the status query instruction.

[0064] Step S2062: when the running state is the stopped running state, an image of a wire taking table in the target wire harness production equipment is acquired based on an image acquisition device.

[0065] Step S2063, determining the equipment status of the target wire harness production equipment according to the wire harness recognition result of the image.

[0066] The device state being idle may include: determining the device state to be idle when the harness recognition result is that there is no harness. Exemplarily, the harness recognition result may be determined by: determining the harness recognition result of the image based on a deep learning model, an image processing algorithm, or the like.

[0067] Furthermore, if Figure 5 As shown, the method for determining the harness recognition result may include:

[0068] Step A1, converting the image into a grayscale image.

[0069] Step A2, converting the grayscale image into a binary image.

[0070] Step A3, determining the connected regions in the binary image, and determining whether there is a harness contour in the image based on the connected regions.

[0071] Exemplarily, the edge gateway 104 may perform denoising processing on the image by means of mean filtering; converting the denoised image into a grayscale image; determining the threshold of the grayscale image by using the OTSU (maximum between-class variance) algorithm, and converting the grayscale image into a binary image based on the threshold; using the 8-neighborhood algorithm to determine the connected regions in the binary image, and retrieving whether there is a harness contour in the binary image based on the connected regions to obtain the harness recognition result of the image. The harness recognition result indicating the absence of a harness includes: when there is no harness contour in the binary image, the harness recognition result is that there is no harness.

[0072] In this embodiment, by determining that the device is idle in combination with the image information of the wire taking table when the overall status information of the device meets the conditions, the accuracy of determining the device idle is improved, and the resources consumed by monitoring the device idle are reduced. Further, the structure of the harness is simple. By converting the image into a grayscale image and then into a binary image, the contour of the harness in the image can be effectively highlighted, and thus the harness can be quickly and accurately recognized based on the connected regions.

[0073] In an exemplary embodiment, the above-mentioned target harness production device may correspond to multiple queues, and the priority of importing the work order data in the multiple queues into the target harness production device may be different. For example, the above-mentioned target harness production device may correspond to a first queue and a second queue, and the above-mentioned step S204 may include:

[0074] Step S2041, in response to the execution priority of the work order data being higher than the preset level, adding the work order data to the second queue corresponding to the target harness production device based on the identification information; the first queue is used for the edge gateway to import the work order data in the first queue into the target harness production device when the device status is idle and the second queue is empty.

[0075] Optionally, the edge gateway 104 may also, in response to the execution priority of the work order data not being higher than the preset level, add the work order data to the first queue corresponding to the target harness production device based on the identification information.

[0076] Further, the above-mentioned step S208 may include:

[0077] Step S2081, when the device state is idle and the second queue is not empty, the work order data in the second queue is imported into the target wire harness production device, and the target wire harness production device is controlled to perform corresponding production actions according to the imported work order data.

[0078] Step S2082, when the device state is idle and the second queue is empty, the work order data in the first queue is imported into the target wire harness production device, and the target wire harness production device is controlled to perform corresponding production actions according to the imported work order data.

[0079] In this embodiment, by setting queues with different import priorities, it is possible to quickly execute work orders that need to be produced in an emergency.

[0080] In an exemplary embodiment, the work order data is obtained by integrating task data of the same category by the cloud platform, and the task data is obtained by splitting the original work order data by the cloud platform based on preset classification rules; the preset classification rules include a target field.

[0081] The task data may include the content of the corresponding line-making task, and a work order may include one or more line-making tasks. Task data of the same category may be task data whose one or more target fields in the planned start time, product model, operation category, etc. meet the same preset conditions.

[0082] Exemplarily, the cloud platform can periodically obtain work orders that need to be processed in the next production cycle, identify unprocessed or failed line-making tasks under multiple work orders; group the line-making tasks based on preset classification rules to obtain multiple groups of line-making tasks; and generate one or more corresponding work order data based on each group of line-making tasks.

[0083] In this embodiment, by splitting and integrating multiple work orders, the distribution of line tasks can be achieved, which can further improve the overall production efficiency.

[0084] In an exemplary embodiment, the control method of the wire harness production equipment may further include:

[0085] Step S201, in response to the electrical connection with the target wire harness production equipment, sends a request instruction for the edge application to the cloud platform, so that the cloud platform assigns the edge application corresponding to the target wire harness production equipment to the edge gateway; the edge application is at least used to add the work order data to the queue corresponding to the target wire harness production equipment, determine the equipment status of the target wire harness production equipment, import the work order data in the queue to the target wire harness production equipment, or control the target wire harness production equipment to perform corresponding production actions according to the imported work order data.

[0086] For example, please refer to Figure 6 , the edge gateway 104 can be configured with multiple edge applications, and each wire harness production device electrically connected to the edge gateway 104 corresponds to at least one of the multiple edge applications. The edge application can be used to add the associated work order data to the queue corresponding to the wire harness production device in response to the identification information of the corresponding wire harness production device. The edge application can also be used to determine the device status of the wire harness production device based on the image of the wire picking table in the wire harness production device. The edge application can also be used to import the work order data in the queue to the wire harness production device when the device status is idle, and control the wire harness production device to perform corresponding production actions according to the imported work order data. In this way, it can be achieved that the cloud platform can grasp the topological structure of the wire harness production system in real time, and realize the automatic control of the wire harness production equipment by allocating edge applications. It can be understood that the edge application can also be used to implement the steps in the above-mentioned method embodiments during execution.

[0087] To summarize, in the control method of the above-mentioned wire harness production equipment, by determining the assignment objects of each work order from multiple wire harness production equipment according to the association relationship predetermined by the cloud platform, it is possible to facilitate the overall adjustment of the automated order scheduling strategy; by receiving work orders close to the edge gateway of the wire harness production equipment, and importing the work orders stored in the edge gateway into the wire harness production equipment and executing them when it is determined that the equipment is idle, the stability of the operation of the wire harness production equipment is ensured, and the real-time nature of the work order data is high; and the equipment idleness is determined in combination with the image of the wire taking table in the wire harness production equipment, thereby avoiding the influence of the wire harness legacy on the current work order execution.

[0088] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0089] Based on the same inventive concept, the embodiment of the present application also provides a control device for a wire harness production device for implementing the control method for the wire harness production device involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the control device for one or more wire harness production devices provided below can refer to the limitations of the control method for the wire harness production device above, and will not be repeated here.

[0090] In an exemplary embodiment, Figure 7 As shown, a control device 300 for a wire harness production device is provided, comprising: a data receiving module 301, a data storage module 302, a state determination module 303 and an equipment control module 304, wherein:

[0091] The data receiving module 301 is used to receive the work order data sent by the cloud platform and the identification information of the target wire harness production equipment associated with the work order data; the target wire harness production equipment is determined by the cloud platform based on the association relationship between the work order data and the wire harness production equipment.

[0092] The data storage module 302 is used to add the work order data to the queue corresponding to the target wire harness production equipment based on the identification information.

[0093] The state determination module 303 is used to determine the device state of the target wire harness production device based on the image of the wire take-up table in the target wire harness production device.

[0094] The equipment control module 304 is used to import the work order data in the queue to the target wire harness production equipment when the equipment status is idle, and control the target wire harness production equipment to perform corresponding production actions according to the imported work order data.

[0095] In an exemplary embodiment, the above-mentioned association relationship includes at least one of the execution priority of the work order data and the number of work orders to be executed by the wire harness production equipment.

[0096] In an exemplary embodiment, the state determination module 303 includes:

[0097] The status acquisition submodule is used to obtain the operating status of the target wire harness production equipment.

[0098] The image acquisition submodule is used to acquire the image of the wire taking platform in the target wire harness production equipment based on the image acquisition device when the running state is the stopped running state.

[0099] The state determination submodule is used to determine the equipment state of the target wire harness production equipment according to the wire harness recognition result of the image.

[0100] The device state being an idle state includes: when the harness identification result is that the harness does not exist, determining that the device state is an idle state.

[0101] In an exemplary embodiment, the state determination module 303 further includes:

[0102] The image recognition submodule is used to convert the image into a grayscale image.

[0103] The image recognition submodule is also used to convert the grayscale image into a binary image.

[0104] The image recognition submodule is further used to determine a connected area in the binary image, and determine whether there is a line bundle outline in the image based on the connected area.

[0105] In an exemplary embodiment, the target wire harness production equipment corresponds to a first queue and a second queue, and the equipment control module 304 is further used to:

[0106] In response to the execution priority of the work order data being higher than the preset level, the work order data is added to the second queue corresponding to the target wire harness production equipment based on the identification information; the first queue is used for the edge gateway to import the work order data in the first queue to the target wire harness production equipment when the device status is idle and the second queue is empty.

[0107] In an exemplary embodiment, the work order data is obtained by integrating task data of the same category by the cloud platform, and the task data is obtained by splitting the original work order data by the cloud platform based on preset classification rules; the preset classification rules include a target field.

[0108] In an exemplary embodiment, the control device 300 of the wire harness production equipment further includes:

[0109] An application request module is used to send an edge application request instruction to the cloud platform in response to an electrical connection with a target wire harness production device, so that the cloud platform allocates an edge application corresponding to the target wire harness production device to the edge gateway; the edge application is at least used to add work order data to a queue corresponding to the target wire harness production device, determine the device status of the target wire harness production device, import the work order data in the queue to the target wire harness production device, or control the target wire harness production device to perform corresponding production actions according to the imported work order data.

[0110] Each module in the control device of the above-mentioned wire harness production equipment can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0111] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a control method for a wire harness production device is implemented.

[0112] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0113] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0114] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented.

[0115] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0116] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0117] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0118] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A control method for a wire harness production device, characterized in that: Applied to an edge gateway, the method includes: Receiving work order data sent by the cloud platform and identification information of a target wire harness production device associated with the work order data; the target wire harness production device is determined by the cloud platform based on an association relationship between the work order data and the wire harness production device; Based on the identification information, adding the work order data to a queue corresponding to the target wire harness production equipment; Determining the equipment state of the target wire harness production equipment based on the image of the wire taking table in the target wire harness production equipment; When the device state is an idle state, the work order data in the queue is imported into the target wire harness production device, and the target wire harness production device is controlled to perform corresponding production actions according to the imported work order data.

2. The method according to claim 1, characterized in that The association relationship includes at least one of the execution priority of the work order data and the number of work orders to be executed by the wire harness production equipment.

3. The method according to claim 1, characterized in that The determining the equipment state of the target wire harness production equipment based on the image of the wire taking table in the target wire harness production equipment comprises: Obtaining the operating status of the target wire harness production equipment; When the running state is a stopped running state, an image of a wire taking table in the target wire harness production equipment is acquired based on an image acquisition device; Determining the equipment status of the target wire harness production equipment according to the wire harness recognition result of the image; The device state being an idle state includes: determining that the device state is an idle state when a harness identification result indicates that no harness exists.

4. The method according to claim 3, characterized in that The method for determining the wiring harness identification result includes: converting the image into a grayscale image; Converting the grayscale image into a binary image; A connected area in the binary image is determined, and based on the connected area, it is determined whether there is a contour of a line bundle in the image.

5. The method according to claim 1, characterized in that The target wire harness production device corresponds to a first queue and a second queue, and adding the work order data to the queue corresponding to the target wire harness production device based on the identification information includes: In response to the execution priority of the work order data being higher than a preset level, the work order data is added to the second queue corresponding to the target wire harness production equipment based on the identification information; the first queue is used for the edge gateway to import the work order data in the first queue to the target wire harness production equipment when the device status is idle and the second queue is empty.

6. The method according to claim 1, characterized in that The work order data is obtained by integrating task data of the same category by the cloud platform, and the task data is obtained by splitting the original work order data by the cloud platform based on preset classification rules; the preset classification rules include a target field.

7. The method according to claim 1, characterized in that The work order data sent by the receiving cloud platform and the identification information of the target wire harness production equipment associated with the work order data include: In response to an electrical connection with a target wire harness production device, a request instruction for an edge application is sent to a cloud platform, so that the cloud platform assigns an edge application corresponding to the target wire harness production device to the edge gateway; the edge application is at least used to add work order data to a queue corresponding to the target wire harness production device, determine the device status of the target wire harness production device, import the work order data in the queue to the target wire harness production device, or control the target wire harness production device to perform corresponding production actions according to the imported work order data.

8. A control device for a wire harness production device, characterized in that: The device comprises: A data receiving module, used to receive the work order data sent by the cloud platform and the identification information of the target wire harness production equipment associated with the work order data; the target wire harness production equipment is determined by the cloud platform based on the association relationship between the work order data and the wire harness production equipment; A data storage module, used for adding the work order data to a queue corresponding to the target wire harness production equipment based on the identification information; A state determination module, used for determining the equipment state of the target wire harness production equipment based on the image of the wire taking table in the target wire harness production equipment; The equipment control module is used to import the work order data in the queue to the target wire harness production equipment when the equipment is in an idle state, and control the target wire harness production equipment to perform corresponding production actions according to the imported work order data.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.