A method and system for managing a production process in a plant
By adjusting the resource supply parameters in the workshop production process to a preset mode, the problem of missed detection of workpiece surface defects caused by insufficient light source brightness of the testing equipment was solved, realizing efficient utilization of resources and expansion of business scope.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZTE SOFTWARE TECH NANCHANG CO LTD
- Filing Date
- 2026-05-25
- Publication Date
- 2026-07-31
AI Technical Summary
In workshop production, insufficient light source brightness can lead to missed detection of surface defects in precision workpieces, especially when inspecting precision workpieces after inspecting ordinary workpieces. The resource access point of the inspection equipment only provides 300 lux of light source brightness, resulting in insufficient resources for the inspection of precision workpieces.
By monitoring production data, the resource supply parameters of the production unit access point are adjusted to a preset mode to meet the production needs of the target equipment. This also avoids adjusting the resource supply parameters when the monitoring data is inconsistent, thus preventing missed detections due to insufficient monitoring resources.
It effectively avoids missed detection of workpiece surface defects due to insufficient testing resources, optimizes resource utilization, avoids resource waste and equipment aging, and expands the scope of business.
Smart Images

Figure CN122491676A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of workshop production technology, and in particular relates to a workshop production process management method and system. Background Technology
[0002] Workshop production refers to the on-site activities in manufacturing that transform raw materials and components into finished or semi-finished products through equipment, labor, and technological processes. For example, it may include processes such as stamping, welding, assembly, painting, inspection, and packaging.
[0003] During the inspection process in the workshop, two inspection lines (e.g., a precision workpiece inspection line and a general workpiece inspection line) are installed, and inspection resources are provided by a vision inspection system. To ensure full resource utilization, the two inspection lines are housed in a single inspection device, which is equipped with a resource access point. Both inspection lines can access the inspection resources provided by the vision inspection system through this access point.
[0004] Different workpieces have different precision requirements, resulting in different demands for inspection resources. For example, the inspection of ordinary workpieces requires a vision inspection system with a light source brightness of 300 lux, while the inspection of precision workpieces requires a light source brightness of 800 lux. However, when precision workpieces are inspected first, followed by ordinary workpieces, the resource access point of the inspection equipment will only provide enough inspection resources to maintain a light source brightness of 300 lux. This leads to insufficient inspection resources for the precision workpieces, resulting in missed detections of surface defects. Summary of the Invention
[0005] This application provides a workshop production process management method and system, which can solve the problem that when ordinary workpieces are inspected first and then inspected, the resource access point of the inspection equipment only provides inspection resources that can maintain the light source brightness of 300 lux, which leads to the problem of missed detection of surface defects of precision workpieces due to insufficient inspection resources for light source brightness.
[0006] In a first aspect, embodiments of this application provide a workshop production process management method, including: The system detects production data, which includes operation types and device identifiers. The operation types in the production data are used to configure resource supply parameters for the production unit access point, so as to perform start or stop operations on the devices corresponding to the device identifiers in the production data. The production unit includes a target device and a designated device. The production mode of the target device is a preset mode, and the production mode of the designated device is a target mode. The target device and the designated device consume the same type of resource during operation, and the amount of resource consumed by the preset mode is greater than the amount of resource consumed by the target mode. When the operation type in the production data is the target operation type, the resource supply parameters of the production unit access point are adjusted to the preset mode, and the device identifier in the production data is recorded in the production list; wherein, the production list is used to record the device identifier of the target device that has been started; If the operation type in the production data is a preset operation type, and there is a device identifier recorded in the production list, and the device identifier recorded in the production list is inconsistent with the device identifier in the production data, no action will be performed based on the production data.
[0007] The technical solutions described in this application embodiment have at least the following technical effects: The workshop production process management method provided in this application detects production data. This production data includes operation types and equipment identifiers. The operation type in the production data is used to configure the resource supply parameters of the production unit access point to perform start or stop operations on the equipment corresponding to the equipment identifier in the production data. The production unit includes target equipment and designated equipment. The production mode of the target equipment is a preset mode, and the production mode of the designated equipment is a target mode. The target equipment and the designated equipment consume the same resource during operation, and the resource consumption in the preset mode is greater than that in the target mode. When the operation type in the production data is the target operation type, the resource supply parameters of the production unit access point are adjusted to the preset mode, and the equipment identifier in the production data is recorded in the production list. When the operation type in the production data is the preset operation type, if there is a equipment identifier recorded in the production list that is inconsistent with the equipment identifier in the production data, no action is performed based on the production data. This application, when the operation type in the production data is the target operation type, can adjust the resource supply parameters of the production unit access point to the supply parameters corresponding to the preset mode, thus meeting the production needs of the target equipment in the production unit. Meanwhile, if other equipment is in production within the production unit, since the resource consumption of the preset mode is greater than that of the target mode, adjusting the resource supply parameters of the production unit access point to the preset mode will not cause other equipment in production to miss detections due to insufficient detection resources. Then, when the operation type in the production data is the preset operation type, if a device identifier is recorded in the production list, and this identifier differs from the one in the production data, it indicates that the production data controls the start or stop operation of the specified device. Since the target device in the production unit is currently in production, no action needs to be performed based on the production data. This avoids adjusting the resource supply parameters of the production unit access point to the target mode, preventing the detection device's resource access point from only providing enough detection resources to maintain the specified device's production. This prevents the target device's detection process from missing surface defects due to insufficient detection resources. Specifically, the detection device's resource access point might only provide enough detection resources to maintain a light source brightness of 300 lux, leading to missed detections of surface defects in precision workpieces due to insufficient light source brightness.
[0008] In one possible implementation of the first aspect, after detecting production data, the method further includes: When the operation type in the production data is a preset operation type, if there is a device identifier recorded in the production list and the device identifier recorded in the production list is consistent with the device identifier in the production data, the resource supply parameters of the production unit access point are adjusted according to the preset operation type in the production data, and the device identifier in the production list is cleared.
[0009] In one possible implementation of the first aspect, after detecting production data, the method further includes: If the operation type in the production data is a preset operation type, and no equipment mark is recorded in the production list, the resource supply parameters of the production unit access point are adjusted according to the preset operation type in the production data.
[0010] In one possible implementation of the first aspect, after detecting production data, the method further includes: If the operation type in the production data is a preset operation type, and the production list records multiple device markers, no action will be performed based on the production data.
[0011] In one possible implementation of the first aspect, when the operation type in the production data is a preset operation type, and when the production list records multiple device markers, no action is performed based on the production data, including: If the operation type in the production data is a preset operation type, and the production list contains multiple device identifiers, and all of these device identifiers are inconsistent with the device identifiers in the production data, no action will be performed based on the production data.
[0012] In one possible implementation of the first aspect, when the operation type in the production data is a preset operation type, and when the production list records multiple device markers, no action is performed based on the production data, including: When the operation type in the production data is a preset operation type, if the production list records multiple device tokens, and one of the multiple device tokens in the production list is consistent with the device token in the production data, no action is performed according to the production data, and at the same time, the device token in the production list that is consistent with the device token in the production data is cleared.
[0013] In one possible implementation of the first aspect, the production data is determined when the target device or the designated device performs a start-up or stop operation.
[0014] In one possible implementation of the first aspect, the production unit is a workshop inspection production line, and the target equipment or the designated equipment is equipment for different production tasks.
[0015] Secondly, embodiments of this application provide a workshop production process management system, applied to workshop production process management equipment, for implementing the workshop production process management method described in any one of the first aspects above, wherein the workshop production process management system includes: A detection unit is used to detect production data. The production data includes operation type and device identifier. The operation type in the production data is used to configure the resource supply parameters of the production unit access point to perform start or stop operations on the device corresponding to the device identifier in the production data. The production unit includes a target device and a designated device. The production mode of the target device is a preset mode, and the production mode of the designated device is a target mode. The target device and the designated device consume the same resource during operation. The amount of resource consumed by the preset mode is greater than the amount of resource consumed by the target mode. An adjustment unit is used to adjust the resource supply parameters of the production unit access point to the supply parameters corresponding to the preset mode when the operation type in the production data is the target operation type, and at the same time, record the device tokens in the production data to the production list; wherein, the production list is used to record the device tokens of the target device that has been started. The analysis unit is configured to, when the operation type in the production data is a preset operation type, if there is a device identifier recorded in the production list and the device identifier recorded in the production list is inconsistent with the device identifier in the production data, not to perform any action based on the production data.
[0016] Thirdly, embodiments of this application provide a workshop production process management device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the workshop production process management method described in any one of the first aspects above.
[0017] It is understood that the beneficial effects of the second and third aspects mentioned above can be found in the relevant descriptions in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This is a schematic flowchart of a workshop production process management method provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of a production unit provided in an embodiment of this application; Figure 3 This is a flowchart illustrating a workshop production process management method provided in another embodiment of this application; Figure 4 This is a schematic diagram of the structure of the workshop production process management system provided in the embodiments of this application; Figure 5 This is a schematic diagram of the structure of the workshop production process management equipment provided in the embodiments of this application. Detailed Implementation
[0020] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0021] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0022] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0023] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if the described condition or event is detected" may be interpreted, depending on the context, as "once determined," "in response to determination," "once the described condition or event is detected," or "in response to the detection of the described condition or event."
[0024] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0025] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0026] In traditional workshop production management, different workpieces generally have different precision requirements, resulting in different demands for inspection resources. For example, the inspection of ordinary workpieces requires a light source brightness of 300 lux from the vision inspection system, while the inspection of precision workpieces requires a light source brightness of 800 lux. Therefore, a vision inspection master control module can be set up to provide inspection resources to the resource access points of the production unit (such as inspection equipment with two inspection branches). In this way, the inspection resources of the production unit's resource access points can be controlled by controlling the parameters of the vision inspection master control module (such as the provided light source power and the vision inspection computing power provided to analyze the corresponding light source brightness).
[0027] It should be noted that when the vision inspection main control module controls the production unit resource access point to only provide inspection resources with a light source brightness of 800 lux, then both the precision workpiece inspection line and the ordinary workpiece inspection line in the inspection equipment can only obtain inspection resources with a light source brightness of 800 lux from the production unit resource access point. That is, whether the precision workpiece inspection line or the ordinary workpiece inspection line is running, it can only obtain inspection resources from the production unit resource access point that can maintain a light source brightness of 800 lux.
[0028] When the vision inspection main control module controls the production unit resource access point to only provide inspection resources with a light source brightness of 300 lux, then both the precision workpiece inspection line and the ordinary workpiece inspection line in the inspection equipment can only obtain inspection resources with a light source brightness of 300 lux from the production unit resource access point. That is, regardless of whether the precision workpiece inspection line or the ordinary workpiece inspection line is running, it can only obtain inspection resources from the production unit resource access point sufficient to maintain a light source brightness of 300 lux. In other words, the inspection resources provided by the production unit resource access point do not represent the total inspection resources, but rather the inspection resources that each inspection branch line (i.e., the target device and the designated device) in the production unit can obtain; that is, how many inspection resources each inspection branch line (i.e., each device) in the production unit can obtain from the production unit resource access point. Figure 2 As shown.
[0029] A detailed description of the problem described above: In the case of multi-type workpiece inspection, when inspecting precision workpieces, the parameters can be adjusted by the vision inspection main control module to maintain a light source brightness of 800 lux. This allows the production unit to obtain inspection resources that can maintain a light source brightness of 800 lux based on the resource access point. (These inspection resources can support inspection requirements with light source brightness of 800 lux and below, or they can support visual inspection computing power at a light source brightness of 800 lux and below.) Then, when inspecting ordinary workpieces, the parameters can be adjusted by the vision inspection main control module to maintain a light source brightness of 300 lux. This allows the production unit to obtain inspection resources that can maintain a light source brightness of 300 lux based on the resource access point. (These inspection resources can support inspection requirements with light source brightness of 300 lux and below, or they can support visual inspection computing power at a light source brightness of 300 lux and below.) This can lead to a situation where, when inspecting precision workpieces first and then ordinary workpieces, the resource access point of the inspection equipment will only provide enough inspection resources to maintain a light source brightness of 300 lux. Consequently, the inspection of precision workpieces may miss surface defects due to insufficient light source brightness.
[0030] In traditional solutions, to avoid the problem of missed detection of surface defects in ordinary workpieces due to insufficient light source brightness when inspecting precision workpieces first and then ordinary workpieces, methods a and b described below are provided.
[0031] Method A involves converting both inspection branches into precision workpiece inspection lines or ordinary workpiece inspection lines. Since both inspection branches are identical and require the same light source brightness, providing a single inspection resource is sufficient to meet the brightness requirements of both branches. This prevents missed detections of surface defects due to insufficient light source brightness. However, this method severely restricts the types of workpieces that can be inspected in production orders (either precision workpieces or ordinary workpieces), hindering business expansion.
[0032] Alternatively, method A is to convert both inspection branches into precision workpiece inspection lines or ordinary workpiece inspection lines. Since both inspection branches are identical, the required visual inspection computing power corresponding to the light source brightness is also the same. That is, the resources that the resource access point of the inspection equipment can obtain can only maintain the visual inspection computing power when the light source brightness is 800 lux or below, or only maintain the visual inspection computing power when the light source brightness is 300 lux or below. This will prevent the problem of missed detection of workpiece surface defects due to insufficient detection computing power. However, this method is too restrictive to the workpiece models of production orders (that is, it can only perform the business of inspecting precision workpieces or only the business of inspecting ordinary workpieces), which is not conducive to expanding the business scope.
[0033] Method b is as follows: Regardless of the workpiece inspection requirements, although ordinary workpiece inspection requires the vision inspection system to provide inspection resources with a light source brightness of 300 lux, and precision workpiece inspection requires the vision inspection system to provide inspection resources with a light source brightness of 800 lux, during inspection, the resource supply parameters are always adjusted to maintain a light source brightness of 800 lux. This allows the production unit to obtain inspection resources that can maintain a light source brightness of 800 lux based on the resource access point (i.e., regardless of whether inspection resources corresponding to a light source brightness of 300 lux or 800 lux are needed, the resource access point is provided with inspection resources corresponding to a light source brightness of 800 lux. In this way, when inspecting precision workpieces first and then ordinary workpieces, inspection resources that can maintain a light source brightness of 800 lux can still be provided). However, when only ordinary workpiece inspection is performed and precision workpiece inspection is not performed, since ordinary workpiece inspection only requires inspection resources corresponding to 300 lux, maintaining inspection resources with a light source brightness of 800 lux will lead to a waste of inspection resources, and maintaining excessively high brightness will accelerate the aging of the inspection camera's photosensitive element.
[0034] Alternatively, method b is as follows: Regardless of the workpiece inspection requirements, although ordinary workpiece inspection requires the vision inspection system to provide inspection resources corresponding to a light source brightness of 300 lux, and precision workpiece inspection requires the vision inspection system to provide inspection resources corresponding to a light source brightness of 800 lux, during inspection, the resource supply parameters are always adjusted to maintain the vision inspection computing power at a light source brightness of 800 lux. That is, regardless of whether the vision inspection computing power corresponding to a light source brightness of 300 lux or 800 lux is required, the resource access point is provided with the vision inspection computing power corresponding to a light source brightness of 800 lux. In this way, when inspecting precision workpieces first and then ordinary workpieces, the vision inspection computing power that can maintain a light source brightness of 800 lux can still be provided. However, when only ordinary workpieces are inspected and not precision workpieces are inspected, since ordinary workpiece inspection only requires the vision inspection computing power corresponding to 300 lux, maintaining the vision inspection computing power at a light source brightness of 800 lux will lead to a waste of inspection resources.
[0035] To address the aforementioned issues, this application provides a workshop production process management method and system.
[0036] This method involves detecting production data, which includes operation types and equipment identifiers. The operation type in the production data is used to configure the resource supply parameters of the production unit access point to perform start or stop operations on the equipment corresponding to the equipment identifier in the production data. The production unit includes a target equipment and a designated equipment. The production mode of the target equipment is a preset mode, and the production mode of the designated equipment is a target mode. The target equipment and the designated equipment consume the same resource during operation, and the resource consumption in the preset mode is greater than that in the target mode. When the operation type in the production data is the target operation type, the resource supply parameters of the production unit access point are adjusted to the preset mode, and the equipment identifier in the production data is recorded in the production list. When the operation type in the production data is the preset operation type, if there is a equipment identifier recorded in the production list that is inconsistent with the equipment identifier in the production data, no action is performed based on the production data. This application, when the operation type in the production data is the target operation type, can adjust the resource supply parameters of the production unit access point to the supply parameters corresponding to the preset mode, thus meeting the production needs of the target equipment in the production unit. Meanwhile, if other equipment is in production within the production unit, since the resource consumption of the preset mode is greater than that of the target mode, adjusting the resource supply parameters of the production unit access point to the preset mode will not cause other equipment in production to miss detections due to insufficient detection resources. Then, when the operation type in the production data is the preset operation type, if a device identifier is recorded in the production list, and this identifier differs from the one in the production data, it indicates that the production data controls the start or stop operation of the specified device. Since the target device in the production unit is currently in production, no action needs to be performed based on the production data. This avoids adjusting the resource supply parameters of the production unit access point to the target mode, preventing the detection device's resource access point from only providing enough detection resources to maintain the specified device's production. This prevents the target device's detection process from missing surface defects due to insufficient detection resources. Specifically, the detection device's resource access point might only provide enough detection resources to maintain a light source brightness of 300 lux, leading to missed detections of surface defects in precision workpieces due to insufficient light source brightness.
[0037] The workshop production process management method provided in this application embodiment can be applied to workshop production process management equipment. In this case, the workshop production process management equipment is the executing subject of the workshop production process management method provided in this application embodiment. This application embodiment does not impose any restrictions on the specific type of workshop production process management equipment.
[0038] For example, workshop production process management equipment can be microcontrollers, mobile phones, tablets, laptops, ultra-mobile personal computers (UMPCs), netbooks, desktop computers, computing devices, or computers connected to wireless modems, laptops, handheld communication devices, handheld computing devices, etc.
[0039] To better understand the workshop production process management method provided in the embodiments of this application, the specific implementation process of the workshop production process management method provided in the embodiments of this application will be described by way of example below.
[0040] Figure 1 This illustration shows a schematic flowchart of a workshop production process management method provided in an embodiment of this application. The workshop production process management method includes: S100, Detect production data. The production data includes operation type and equipment identifier. The operation type in the production data is used to configure the resource supply parameters of the production unit access point to perform start or stop operations on the equipment corresponding to the equipment identifier in the production data. The production unit includes a target device and a designated device. The production mode of the target device is a preset mode, and the production mode of the designated device is a target mode. The target device and the designated device consume the same resource during operation, and the amount of resource consumed in the preset mode is greater than the amount of resource consumed in the target mode.
[0041] It can be understood that production data consists of instructions generated by the workshop control center, process operation terminal, or automated scheduling module. The operation type in the production data is used to adjust the resource supply parameters of the production unit to execute start-up or stop operations on the equipment within the production unit. For example, it might specify the resources provided for light source power or the resources provided for visual inspection computing power capable of analyzing the corresponding light source brightness. Equipment identifiers are used to distinguish equipment within the target production unit. Both target and designated equipment are devices capable of detecting defects in workpieces. For example, target equipment could be an inspection line capable of inspecting precision workpieces, while designated equipment could be an inspection line capable of inspecting ordinary workpieces. A production unit can be a unit within the workshop that collectively consumes the same type of resource, such as an entire assembly line, a machining center, or an inspection station. This production unit includes both target and designated equipment. The production unit access point can be a resource channel, such as a conveyor pipeline providing energy for the operation of the light source brightness, or a computing resource channel providing computing power for intelligent inspection, visual recognition, or edge computing nodes.
[0042] For example, the resource supply level required by the target device in the preset mode is greater than the resource supply level required by the specified device in the target mode. For instance, the resources required by the target device in the preset mode for light source power, or the resources required for visual detection computing power to analyze the corresponding light source brightness, are both greater than the resource supply level required by the specified device in the target mode.
[0043] For example, when production data indicates that a start-up operation should be performed on the target device, the resource supply parameters of the production unit access point can be adjusted to the supply parameters corresponding to the preset mode. When production data indicates that a start-up operation should be performed on the specified device, the resource supply parameters of the production unit access point can be adjusted to the supply parameters corresponding to the target mode.
[0044] S200: If the operation type in the production data is the target operation type, adjust the resource supply parameters of the production unit access point to the supply parameters corresponding to the preset mode. At the same time, record the equipment identifier in the production data into the production list. The production list is used to record the equipment identifier of the target equipment that has been started.
[0045] It can be understood that the target operation type is used to indicate how to adjust the resource supply parameters of the production unit access point to the level required by the preset mode, that is, the supply parameters corresponding to the preset mode, to meet the operational needs of the target device. For example, detection resources capable of maintaining a light source brightness of 800 lux or less, or detection resources capable of maintaining a visual inspection computing power of 800 lux or less. The production list is a dynamically maintained data structure used to record the device identifiers of currently running target devices. For example, if the device identifier recorded in the production list is 001, it indicates that the target device is running. In this way, if the operation type in the subsequent production data is detected to be the preset operation type, it can indicate how to adjust the resource supply parameters of the production unit access point.
[0046] It should be noted that if there are other devices in production within the production unit, since the resource consumption of the preset mode is greater than that of the target mode, adjusting the resource supply parameters of the production unit access point to the supply parameters corresponding to the preset mode will not cause other devices in production to miss detection due to insufficient detection resources.
[0047] S300: When the operation type in the production data is a preset operation type, if there is a device mark recorded in the production list and the device mark recorded in the production list is inconsistent with the device mark in the production data, no action is performed based on the production data.
[0048] It is understandable that the preset operation type is used to indicate that the resource supply parameters of the production unit access point be adjusted to the level required by the target mode, that is, the supply parameters corresponding to the target mode. Alternatively, the preset operation type is used to indicate that the resource supply parameters of the production unit access point be adjusted to zero. For example, when the specified equipment detection is completed, a stop operation needs to be performed on the specified equipment.
[0049] For example, in this scenario, if the operation type in the production data is indeed a preset operation type, the resource supply parameters of the production unit access point are adjusted to the supply parameters corresponding to the target mode (e.g., detection resources that can maintain a light source brightness of 300 lux or less, and detection resources that can maintain a visual detection computing power of 300 lux or less), or the resource supply parameters of the production unit access point are adjusted to zero, the detection of precision workpieces in operation will be missed due to insufficient detection resources for light source brightness.
[0050] For example, if the resource supply parameters of the production unit access point were previously adjusted to maintain a light source brightness of 800 lux or less due to the operation of the target equipment, and if the operation is actually performed according to the preset operation type in the production data, then the resource supply parameters of the production unit access point will be adjusted to the supply parameters corresponding to the target mode (e.g., a detection resource that can maintain a light source brightness of 300 lux or less, or a detection resource with visual inspection computing power that can maintain a light source brightness of 300 lux or less), or adjusted to zero. In this case, the target equipment that was previously inspecting precision workpieces will miss the detection of surface defects due to insufficient light source brightness detection resources or insufficient visual inspection computing power detection resources.
[0051] To avoid the above problems, the equipment marks recorded in the production list can be traversed. When there is a equipment mark recorded in the production list and the equipment mark recorded in the production list is inconsistent with the equipment mark in the production data, it indicates that the production data is to perform a start or stop operation on the specified equipment. This is because the target equipment in the production unit is performing a detection task. In order to prevent the target equipment that is inspecting precision workpieces from missing the detection of surface defects due to insufficient detection resources for light source brightness or insufficient detection resources for visual inspection computing power, no action can be performed based on the production data.
[0052] With this setup, when the operation type in the production data is the target operation type, the resource supply parameters of the production unit access point can be adjusted to the supply parameters corresponding to the preset mode. This ensures that the production needs of the target equipment in the production unit are met. Simultaneously, if other equipment is in production within the production unit, since the resource consumption of the preset mode is greater than that of the target mode, adjusting the resource supply parameters of the production unit access point to the preset mode will not cause other equipment in production to miss detections due to insufficient detection resources. Furthermore, when the operation type in the production data is the preset operation type, if a device identifier is recorded in the production list, and this identifier differs from the identifier in the production data, it indicates that the production data controls the start or stop operation of the specified device, since the target equipment in the production unit is currently in production. In this scenario, no action needs to be performed based on the production data. This prevents the resource supply parameters of the production unit access point from being adjusted to the supply parameters corresponding to the target mode. Consequently, it avoids the problem that the resource access point of the inspection equipment only provides enough inspection resources to maintain the production of the specified equipment, which could lead to missed detection of surface defects on the workpiece due to insufficient inspection resources during the inspection process of the target equipment. In other words, the resource access point of the inspection equipment only provides enough inspection resources to maintain a light source brightness of 300 lux, which could lead to missed detection of surface defects on the workpiece due to insufficient inspection resources for the light source brightness.
[0053] In one possible implementation, such as Figure 3 As shown, after detecting production data in step S100, the workshop production process management method further includes: When the operation type in the production data is a preset operation type, if there is a device mark recorded in the production list and the device mark recorded in the production list is consistent with the device mark in the production data, the resource supply parameters of the production unit access point are adjusted according to the preset operation type in the production data, and the device mark in the production list is cleared.
[0054] It is understandable that when the operation type in the production data is the preset operation type, if there is a device mark recorded in the production list and the device mark recorded in the production list is consistent with the device mark in the production data, it means that only the target device is performing the detection task in the production unit, and no other devices are performing the detection task. The preset operation type in the current production data is obtained after the target device has completed the detection task. That is, the preset operation type in the current production data indicates that the resource supply parameter of the production unit access point should be adjusted to zero. In other words, the target device has completed the detection task, and a stop operation should be performed on the target device. Since only the target device is performing the detection task in the production unit, and no other devices are performing the detection task, the resource supply parameter of the production unit access point can be adjusted to zero based on the preset operation type in the production data. At the same time, in order to avoid subsequent confusion of device marks, the device marks in the production list can be cleared.
[0055] This configuration, by conditionally adjusting the resource supply parameters, allows for the timely release and shutdown of high resource supply after the target device completes its task, avoiding the waste of detection resources and thus solving the problem existing in method b mentioned above.
[0056] In one possible implementation, after detecting the production data in step S100, the workshop production process management method further includes: If the operation type in the production data is the preset operation type, and no equipment mark is recorded in the production list, the resource supply parameters of the production unit access point are adjusted based on the preset operation type in the production data.
[0057] It is understandable that when the operation type in the production data is the preset operation type, if no equipment mark is recorded in the production list, it means that no equipment in the production unit is performing a testing task. Therefore, the preset operation type in the production data indicates that the resource supply parameters of the production unit access point should be adjusted to the level required by the target mode, that is, the supply parameters corresponding to the target mode. Since there is no target equipment performing a testing task in the production unit, the resource supply parameters of the production unit access point can be adjusted to the level required by the target mode, that is, the supply parameters corresponding to the target mode, to meet the testing needs of the specified equipment.
[0058] It should be noted that since the preset mode consumes more resources than the target mode, when the operation type in the production data is the preset operation type, the resource supply parameters of the production unit access point cannot be directly adjusted as they can be when the operation type in the production data is the target operation type. Instead, further judgment is required based on the marks in the production list.
[0059] This configuration ensures that the resource supply parameters of the production unit access point are adjusted only when the production list is empty. This avoids accidentally adjusting the resource supply status to a low-consumption mode and unintentionally affecting other devices that are currently running.
[0060] In one possible implementation, after detecting the production data in step S100, the workshop production process management method further includes: S400: When the operation type in the production data is a preset operation type, and there are multiple device markers recorded in the production list, no action is performed based on the production data.
[0061] It is understandable that when the operation type in the production data is the preset operation type, if multiple device markers are recorded in the production list, it means that multiple target devices in the production unit are performing detection tasks. At this time, regardless of whether the preset operation type is to indicate that the resource supply parameters of the production unit access point are adjusted to the level required by the target mode, i.e., the supply parameters corresponding to the target mode, in order to perform a start operation on the specified device, or whether the preset operation type is used to indicate that the resource supply parameters of the production unit access point are adjusted to zero in order to perform a stop operation on one of the previously started target devices, or to perform a stop operation on the specified device, no action is performed based on the production data.
[0062] This configuration avoids the problem of blindly responding to the start / stop command of any single device when multiple target devices are performing testing tasks in the production unit, which could affect the normal testing tasks of other devices and thus prevent missed detections.
[0063] In one possible implementation, S400, when the operation type in the production data is a preset operation type, and when the production list records multiple device identifiers, no action is performed based on the production data, including: S410, when the operation type in the production data is a preset operation type, if the production list contains multiple device symbols and all of these device symbols are inconsistent with the device symbols in the production data, no action is performed based on the production data.
[0064] It is understandable that when the operation type in the production data is a preset operation type, if the production list records multiple device marks and these multiple device marks are inconsistent with the device marks in the production data, it indicates that there are multiple target devices performing detection tasks in the production unit. Furthermore, the preset operation type in the production data indicates that a start or stop operation should be performed on the specified device. Therefore, no action needs to be performed based on the production data.
[0065] This configuration avoids the problem of blindly responding to the start / stop command of any single device when multiple target devices are performing testing tasks in the production unit, which could affect the normal testing tasks of other devices and thus prevent missed detections.
[0066] In one possible implementation, S400, when the operation type in the production data is a preset operation type, and when the production list records multiple device identifiers, no action is performed based on the production data, including: S420, when the operation type in the production data is a preset operation type, if the production list records multiple equipment marks, and one of the multiple equipment marks in the production list is consistent with the equipment mark in the production data, no action is performed according to the production data, and at the same time, the equipment mark in the production list that is consistent with the equipment mark in the production data is cleared.
[0067] It is understandable that when the operation type in the production data is the preset operation type, if the production list records multiple device markers, and one of the multiple device markers in the production list matches the device marker in the production data, it indicates that multiple target devices in the production unit are performing detection tasks. The preset operation type in the production data indicates that a stop operation should be performed on one of the target devices that was previously started. This is because the stop operation will adjust the resource supply parameters of the production unit access point to zero, so no action needs to be performed based on the production data. At the same time, the device marker in the production list that matches the device marker in the production data will be cleared.
[0068] It should be noted that if a device identifier in the production list that matches the device identifier in the production data is not cleared, the system will still misjudge that the target device with the same identifier in the production data is running, even if the target device has stopped working. This will lead to a misjudgment of the operating status of the target device with the same identifier in the production data.
[0069] This configuration avoids the problem of blindly responding to the start / stop command of any single device when multiple target devices are performing testing tasks in the production unit, which could affect the normal testing tasks of other devices and thus prevent missed detections.
[0070] In one possible implementation, production data is determined when the target device or designated device performs a start-up or stop operation.
[0071] It is understandable that the production data generation process is triggered only when the target device or designated device performs a start or stop operation. By analyzing the operation type in the production data, it can be determined whether the target device or designated device needs to perform a start operation or a stop operation.
[0072] In one possible implementation, the production unit is a workshop inspection production line, and the target equipment or the designated equipment is equipment for different production tasks.
[0073] It is understood that the production unit can be a workshop inspection production line, which includes target equipment and designated equipment. For example, the target equipment can be an inspection line capable of inspecting precision workpieces, and the designated equipment can be an inspection line capable of inspecting ordinary workpieces.
[0074] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0075] Corresponding to the workshop production process management method described in the above embodiments, this application also provides a workshop production process management system, in which each unit can implement each step of the workshop production process management method. Figure 4 A structural block diagram of the workshop production process management system provided in the embodiments of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.
[0076] Reference Figure 4 The workshop production process management system includes: The detection unit is used to detect production data. This production data includes operation types and equipment identifiers. The operation types in the production data are used to configure the resource supply parameters of the production unit access point, enabling the execution of start or stop operations on the equipment corresponding to the equipment identifier in the production data. The production unit includes a target device and a designated device. The production mode of the target device is a preset mode, and the production mode of the designated device is a target mode. Both the target device and the designated device consume the same type of resource during operation, with the preset mode consuming more resources than the target mode.
[0077] The adjustment unit is used to adjust the resource supply parameters of the production unit access point to the supply parameters corresponding to the preset mode when the operation type in the production data is the target operation type. At the same time, it records the equipment markers in the production data to the production list. The production list is used to record the equipment markers of the target equipment that has been started.
[0078] The analysis unit is used to perform no action based on the production data when the operation type in the production data is a preset operation type, and when there is a device mark recorded in the production list, and the device mark recorded in the production list is inconsistent with the device mark in the production data.
[0079] It should be noted that the information interaction and execution process between the above systems / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.
[0080] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units is merely an example. In practical applications, the above functions can be assigned to different functional units as needed, that is, the internal structure of the system can be divided into different functional units to complete all or part of the functions described above. The functional units in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0081] This application also provides a workshop production process management device. Figure 5 This is a schematic diagram of the structure of a workshop production process management device provided in one embodiment of this application. Figure 5 As shown, the workshop production process management device 6 in this embodiment includes: at least one processor 60 ( Figure 5 Only one is shown in the image), at least one memory 61 ( Figure 5 (Only one is shown in the image) and a computer program 62 stored in the at least one memory 61 and executable on the at least one processor 60, wherein when the processor 60 executes the computer program 62, it causes the workshop production process management device 6 to implement the steps in any of the above-described workshop production process management method embodiments, or causes the workshop production process management device 6 to implement the functions of each unit in the above-described system embodiments.
[0082] For example, the computer program 62 may be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to complete this application. The one or more units may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program 62 in the workshop production process management equipment 6.
[0083] The workshop production process management device 6 can be a microcontroller, mobile phone, tablet computer, laptop computer, ultra-mobile personal computer (UMPC), netbook, desktop computer, computing device, or computer, laptop computer, handheld communication device, handheld computing device connected to a wireless modem, etc. The workshop production process management device 6 may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that... Figure 5 This is merely an example of workshop production process management equipment 6 and does not constitute a limitation on workshop production process management equipment 6. It may include more or fewer components than shown in the figure, or combine certain components, or different components, such as input / output devices, network access devices, buses, etc.
[0084] The processor 60 can be a Central Processing Unit (CPU), or it can be 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.
[0085] In some embodiments, the memory 61 may be an internal storage unit of the workshop production process management device 6, such as a hard disk or memory of the workshop production process management device 6. In other embodiments, the memory 61 may be an external storage device of the workshop production process management device 6, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the workshop production process management device 6. Further, the memory 61 may include both internal storage units and external storage devices of the workshop production process management device 6. The memory 61 is used to store operating systems, applications, bootloaders, data, and other programs, such as the program code of computer programs. The memory 61 can also be used to temporarily store data that has been output or will be output.
[0086] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps in any of the above method embodiments.
[0087] This application provides a computer program product that, when run on a workshop production process management device, enables the workshop production process management device to implement the steps in any of the above method embodiments.
[0088] If the integrated unit 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 methods of the above embodiments of this application can 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 at least: any entity or device capable of carrying the computer program code to workshop production process management equipment, recording media, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, such as USB flash drives, portable hard drives, magnetic disks, or optical disks.
[0089] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0090] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0091] In the embodiments provided in this application, it should be understood that the disclosed workshop production process management equipment, workshop production process management system, and workshop production process management method can be implemented in other ways. For example, the workshop production process management equipment and workshop production process management system embodiments described above are merely illustrative. For instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0092] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0093] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A method of managing a production process in a plant, characterized by, The method includes: The system detects production data, which includes operation types and device identifiers. The operation types in the production data are used to configure resource supply parameters for the production unit access point, so as to perform start or stop operations on the devices corresponding to the device identifiers in the production data. The production unit includes a target device and a designated device. The production mode of the target device is a preset mode, and the production mode of the designated device is a target mode. The target device and the designated device consume the same type of resource during operation, and the amount of resource consumed by the preset mode is greater than the amount of resource consumed by the target mode. When the operation type in the production data is the target operation type, the resource supply parameters of the production unit access point are adjusted to the supply parameters corresponding to the preset mode. At the same time, the device identifier in the production data is recorded in the production list; wherein, the production list is used to record the device identifier of the target device that has been started. If the operation type in the production data is a preset operation type, and there is a device identifier recorded in the production list, and the device identifier recorded in the production list is inconsistent with the device identifier in the production data, no action will be performed based on the production data.
2. The management method of a production process in a plant as set forth in claim 1, characterized by, After detecting production data, the method further includes: When the operation type in the production data is a preset operation type, if there is a device identifier recorded in the production list and the device identifier recorded in the production list is consistent with the device identifier in the production data, the resource supply parameters of the production unit access point are adjusted according to the preset operation type in the production data, and the device identifier in the production list is cleared.
3. The shop production process management method according to Claim 1, characterized by, After detecting production data, the method further includes: If the operation type in the production data is a preset operation type, and no equipment mark is recorded in the production list, the resource supply parameters of the production unit access point are adjusted according to the preset operation type in the production data.
4. The shop production process management method according to Claim 1, characterized by, After detecting production data, the method further includes: If the operation type in the production data is a preset operation type, and the production list records multiple device markers, no action will be performed based on the production data.
5. The workshop production process management method as described in claim 4, characterized in that, When the operation type in the production data is a preset operation type, and the production list records multiple device markers, no action is performed based on the production data, including: If the operation type in the production data is a preset operation type, and the production list contains multiple device identifiers, and all of these device identifiers are inconsistent with the device identifiers in the production data, no action will be performed based on the production data.
6. The workshop production process management method as described in claim 4, characterized in that, When the operation type in the production data is a preset operation type, and the production list records multiple device markers, no action is performed based on the production data, including: When the operation type in the production data is a preset operation type, if the production list records multiple device tokens, and one of the multiple device tokens in the production list is consistent with the device token in the production data, no action is performed according to the production data, and at the same time, the device token in the production list that is consistent with the device token in the production data is cleared.
7. The workshop production process management method as described in claim 1, characterized in that, The production data is determined when the target device or the designated device performs a start-up or stop operation.
8. The workshop production process management method as described in claim 1, characterized in that, The production unit is a workshop testing production line, and the target equipment or the designated equipment refers to equipment with different production tasks.
9. A workshop production process management system, characterized in that, An equipment for managing workshop production processes, used to implement the workshop production process management method as described in any one of claims 1 to 8, wherein the workshop production process management system comprises: A detection unit is used to detect production data. The production data includes operation type and device identifier. The operation type in the production data is used to configure the resource supply parameters of the production unit access point to perform start or stop operations on the device corresponding to the device identifier in the production data. The production unit includes a target device and a designated device. The production mode of the target device is a preset mode, and the production mode of the designated device is a target mode. The target device and the designated device consume the same resource during operation. The amount of resource consumed by the preset mode is greater than the amount of resource consumed by the target mode. An adjustment unit is used to adjust the resource supply parameters of the production unit access point to the supply parameters corresponding to the preset mode when the operation type in the production data is the target operation type, and at the same time, record the device tokens in the production data to the production list; wherein, the production list is used to record the device tokens of the target device that has been started. The analysis unit is configured to, when the operation type in the production data is a preset operation type, if there is a device identifier recorded in the production list and the device identifier recorded in the production list is inconsistent with the device identifier in the production data, not to perform any action based on the production data.
10. A workshop production process management device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the method as claimed in any one of claims 1 to 8.