Drawing distribution method and system, computer equipment and medium
By obtaining and analyzing the characteristics of the parts to be processed and the level of employees, accurately allocating drawing programming tasks, solving the problems of low efficiency and large errors in traditional manual allocation, and achieving efficient and accurate drawing allocation and programming task allocation.
Patent Information
- Application Number
- CN202510124434.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-26
- Publication Date
- 2025-05-30
AI Technical Summary
In the fields of mechanical processing such as automobile manufacturing and mold manufacturing, the traditional way of allocating drawing programming tasks by relying on manual experience is low efficiency and prone to errors, which cannot meet the needs of efficient and precise production.
By obtaining the processing type and number of clips of the parts to be processed, and the level of employees, the feature identification of the parts to be processed based on the processing type, the programming time is determined, and the drawing level is divided according to the total programming time, and the target drawings are accurately allocated.
The precise allocation of drawings is achieved, the risk of manual calculation time and allocation level error is reduced, and the accuracy of programming time is improved and the efficiency of drawing programming time is improved.
Smart Images

Figure CN120069411A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of machining technologies, and particularly to a drawing allocation method, system, computer device, and medium. Background Art
[0002] In machining fields such as automobile manufacturing and die manufacturing, it is necessary to distribute drawings to programmers for programming. Employees estimate the time required for programming the drawings based on experience and simply distribute them according to the difficulty level of the drawings.
[0003] However, the efficiency of manually calculating the programming time of drawings is low, and when determining the allocation of programming tasks to employees with different technical levels, errors are likely to occur, and suitable programmers cannot be accurately matched. Especially in processing requirements with heavy production tasks, a large number of complex and variable drawings, the traditional method of relying on manual experience to allocate drawing programming tasks can no longer meet the needs of efficient and accurate production. Summary of the Invention
[0004] The main purpose of the embodiments of this application is to propose a drawing allocation method, system, computer device, and storage medium, which can reduce the risk of manual calculation time and allocation level errors and achieve accurate allocation of drawings.
[0005] To achieve the above object, the first aspect of the embodiments of this application proposes a drawing allocation method, and the method includes: Obtain the processing type of the parts to be processed and the number of clamping positions of the processing components, and obtain the employee level of the personnel; Based on the processing type, perform feature recognition on all the parts to be processed to obtain processing features; Determine a first programming duration according to the processing features, and determine a second programming duration according to the number of clamping positions; Determine the total programming duration corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming duration, and the second programming duration; Divide the drawing levels according to the total programming duration, and allocate target drawings according to the drawing levels and the employee level.
[0006] In some embodiments, the performing feature recognition on all the parts to be processed based on the processing type to obtain processing features includes: Classify the parts to be processed according to the processing type to obtain multiple part categories; For each of the part categories, perform shape recognition on the parts to be processed in the part category to obtain hole features and plane features; Determine a first feature quantity of the hole features and a second feature quantity of the plane features; Statistically analyze the hole-shaped features and the planar features to obtain machining features.
[0007] In some embodiments, determining the total programming duration corresponding to the machining type according to the number of parts corresponding to the machining type, the first programming duration, and the second programming duration includes: Compare the number of parts corresponding to the machining type with a preset batch quantity to screen out a first set of parts and a second set of parts, where the number of parts corresponding to the machining type in the first set of parts is greater than or equal to the preset batch quantity, and the number of parts corresponding to the machining type in the second set of parts is less than the preset batch quantity; For the first set of parts, determine a first total duration according to a preset batch optimization duration, a preset layout duration, the first programming duration, and the second programming duration; For the second set of parts, determine a second total duration according to the first programming duration and the second programming duration; Determine the total programming duration corresponding to the machining type according to the first total duration and the second total duration.
[0008] In some embodiments, determining the first programming duration according to the machining features includes: Compare the first feature quantity of the hole-shaped features with a preset first correspondence to determine the hole-shaped programming duration, where the first correspondence is used to represent the correspondence between the quantity range of the hole-shaped features and the programming duration; Compare the second feature quantity of the planar features with a preset second correspondence to determine the planar programming duration, where the second correspondence is used to represent the correspondence between the quantity range of the planar features and the programming duration; Determine the first programming duration according to the hole-shaped programming duration and the planar programming duration.
[0009] In some embodiments, determining the second programming duration according to the number of clamping positions includes: Compare the number of clamping positions with a preset third correspondence to determine the clamping position programming duration, where the third correspondence is used to represent the correspondence between the clamping position quantity range of the machining component and the programming duration; Calculate the drawing taking duration, the folder creation duration, and the drawing review duration of the machining component; Determine the second programming duration according to the clamping position programming duration, the drawing taking duration, the folder creation duration, and the drawing review duration.
[0010] In some embodiments, the allocation of target drawings according to the drawing level and the employee level includes: Select target drawings according to the drawing level, and determine the target employees and alternate employees corresponding to the drawing level according to the employee level; Determine the number of drawing sheets of the target drawings and the number of employees of the target employees; When the number of drawing sheets is less than or equal to the preset number of drawing sheets and the number of employees is greater than or equal to the preset idle number, allocate the target drawings to the target employees.
[0011] In some embodiments, after determining the number of drawing sheets of the target drawings and the number of employees of the target employees, the method further includes: When the number of drawing sheets is greater than the preset number of drawing sheets or the number of employees is less than the preset idle number, allocate the target drawings to the alternate employees.
[0012] A second aspect of the embodiments of the present application provides a drawing allocation system, the system includes: A data acquisition module, configured to acquire the processing type of the parts to be processed and the number of clamping positions of the processing components, and acquire the employee level of the personnel; A feature recognition module, configured to perform feature recognition on all the parts to be processed based on the processing type to obtain processing features; A sub-duration determination module, configured to determine a first programming duration according to the processing features and determine a second programming duration according to the number of clamping positions; A total duration determination module, configured to determine the total programming duration corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming duration, and the second programming duration; A drawing allocation module, configured to divide the drawing level according to the total programming duration, and allocate target drawings according to the drawing level and the employee level.
[0013] A third aspect of the embodiments of the present application provides a computer device, the computer device includes a memory and a processor, wherein, a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is configured to execute the drawing allocation method as described in the first aspect.
[0014] A fourth aspect of the embodiments of the present application provides a storage medium, the storage medium is a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the computer is configured to execute the drawing allocation method as described in any one of the first aspect embodiments of the present application.
[0015] The drawing allocation method, system, computer device and medium proposed in the embodiments of this application have the following beneficial effects: First, obtain the processing type of the parts to be processed and the number of clamping positions of the processing components, and obtain the employee level of the personnel, which is convenient for subsequent calculation of programming time. Then, based on the processing type, perform feature recognition on all parts to be processed to obtain processing features, realizing accurate recognition of the processing features of the parts to be processed, which is convenient for subsequent calculation of feature programming time. After that, determine the first programming duration according to the processing features, and determine the second programming duration according to the number of clamping positions, so as to realize the determination of the programming duration required for processing features and the programming duration required for processing clamping positions, which is convenient for subsequent addition of the calculation dimensions of part processing features and CNC machining clamping positions in the calculation of drawing programming levels. Then, determine the total programming duration corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming duration, and the second programming duration, and can accurately calculate the total processing duration according to the number of parts to be processed, so as to be able to add the calculation logic of batch optimization under the batch part programming time, optimize the batch programming time, and improve the calculation programming accuracy. After that, divide the drawing levels according to the total programming duration, reduce the risk of manual calculation time and allocation level errors, and allocate the target drawings according to the drawing levels and employee levels, and can realize accurate allocation of the drawings by combining the drawing levels and employee levels. The embodiments of this application can accurately identify the processing features of the parts to be processed, and improve the programming duration accuracy by accurately calculating the first programming duration corresponding to the processing features and the second programming duration corresponding to the CNC machining clamping positions. At the same time, considering the addition of the calculation logic of batch optimization under the batch part programming time, it further improves the efficiency of the drawing programming time and the accurate matching of the drawing levels. Brief Description of the Drawings
[0016] Figure 1 is the flowchart of the specific method of the drawing allocation method provided by the embodiments of this application; Figure 2 is the specific flowchart of performing feature recognition on all parts to be processed based on the processing type provided by the embodiments of this application; Figure 3 is the specific flowchart of step S104 provided by an embodiment of this application; Figure 4 is the specific flowchart of determining the first programming duration according to the processing features provided by the embodiments of this application; Figure 5 is the specific flowchart of determining the second programming duration according to the number of clamping positions provided by the embodiments of this application; Figure 6 is the specific flowchart of allocating the target drawings according to the drawing levels and employee levels provided by an embodiment of this application; Figure 7 is the specific flowchart of the drawing allocation method provided by another embodiment of this application; Figure 8 It is a schematic structural diagram of the drawing allocation system provided by the embodiments of the present application; Figures 9a to 9e It is a schematic diagram of the processing features and programming duration provided by this example; Figures 10a to 10b It is a schematic diagram of the engineer level and drawing level provided by this example; Figure 11 It is a schematic hardware structure diagram of the computer device provided by the embodiments of the present application. Detailed implementation manners
[0017] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to 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.
[0018] It should be noted that although functional module division is performed in the system schematic diagram and the logical sequence is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order from the module division in the system or the sequence in the flowchart. Terms such as "first" and "second" in the specification, claims and the above-mentioned drawings are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0020] A drawing allocation method provided by the embodiments of the present application can be applied to a terminal, can also be applied to a server side, or can also be software running on a terminal or a server side. In some embodiments, the terminal can be a smart phone, a tablet computer, a notebook computer, a desktop computer or a smart watch, etc.; the server side can be configured as an independent physical server, can also be configured as a server cluster or a distributed system composed of multiple physical servers, or can also be configured as a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms; the software can be an application implementing the above method, etc., but is not limited to the above forms.
[0021] Embodiments of the present application can be used in numerous general-purpose or special-purpose computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multi-processor systems, microprocessor-based systems, set-top boxes, programmable consumer computer devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, and so on. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in a distributed computing environment where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0022] In the field of machining such as automobile manufacturing and die manufacturing, it is necessary to issue drawings to programmers for programming. Employees estimate the time required for programming the drawings based on experience and simply issue them according to the difficulty level of the drawings.
[0023] However, the efficiency of manually calculating the programming time of drawings is low, and errors are likely to occur when determining the assignment of programming tasks to employees with different technical levels, and it is impossible to accurately match suitable programmers. Especially in the processing requirements with heavy production tasks, a large number of complex and changeable drawings, the traditional method of relying on manual experience to assign drawing programming tasks can no longer meet the needs of efficient and accurate production.
[0024] To solve the above problems, this embodiment provides a drawing allocation method, system, computer device, and medium. First, obtain the processing type of the parts to be processed and the number of clamping positions of the processing components, and obtain the employee level of the personnel, which is convenient for calculating the programming time later. Then, based on the processing type, perform feature recognition on all parts to be processed to obtain processing features, realizing accurate recognition of the processing features of the parts to be processed, which is convenient for calculating the feature programming time later. After that, determine the first programming duration according to the processing features, and determine the second programming duration according to the number of clamping positions, thereby realizing the determination of the programming duration required for the processing features and the programming duration required for the processing clamping positions, which is convenient for adding the calculation dimensions of the part processing features and the numerical control processing clamping positions to the calculation of the drawing programming level later. Then, determine the total programming duration corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming duration, and the second programming duration, which can accurately calculate the total processing duration according to the number of parts to be processed, and thus can add the calculation logic of batch optimization to the batch programming time, optimize the batch programming time, and improve the calculation programming accuracy. After that, divide the drawing level according to the total programming duration, reducing the risk of manual calculation time and allocation level error, and allocate the target drawing according to the drawing level and the employee level, which can achieve accurate allocation of the drawing by combining the drawing level and the employee level. The embodiment of the present application can accurately identify the processing features of the parts to be processed, and improve the programming duration accuracy by accurately calculating the first programming duration corresponding to the processing features and the second programming duration corresponding to the numerical control processing clamping positions. At the same time, it considers adding the calculation logic of batch optimization to the batch programming time, further improving the efficiency of the drawing programming time and accurately matching the drawing level.
[0025] Please refer to Figure 1 , Figure 1 which is the flowchart of the specific method of the drawing allocation method provided by the embodiment of the present application. In some embodiments, the method includes but is not limited to steps S101 to S105.
[0026] Step S101, obtain the processing type of the parts to be processed and the number of clamping positions of the processing components, and obtain the employee level of the personnel.
[0027] In step S101 of some embodiments, obtain the processing type of the parts to be processed and the number of clamping positions of the processing components, which is convenient for calculating the drawing programming practice later, and obtain the employee level of the personnel, which is convenient for allocating different-level drawings according to the employee level later.
[0028] It can be understood that the processing types in the embodiments of the present application can be classified according to actual different processing scenarios. Specifically, the processing types include but are not limited to magnetic adsorption processing, clamping processing, vacuum suction processing, precision processing, circular part processing, medium-sized plate processing, etc. The processing component is a component that fixes the part to be processed during the numerical control processing, ensuring that the workpiece remains stable during the processing and preventing movement or deformation caused by the processing force, thereby ensuring the accuracy and quality of the processing.
[0029] Specifically, the processing component can be a dual-station telescopic platform with a single-power stroke feed (Computer Numerical Control Machine Tool, CNC machine tool), including but not limited to an X-axis transmission mechanism, a telescopic mechanism, and a Y-axis transmission mechanism. The number of clamping positions is the number of positions for fixing the part to be processed on the machine tool workbench.
[0030] Step S102: Perform feature recognition on all parts to be processed based on the processing type to obtain processing features.
[0031] In step S102 of some embodiments, performing feature recognition on all parts to be processed based on the processing type improves the accuracy of feature recognition, facilitates subsequent improvement of processing efficiency and processing accuracy, obtains processing features, and realizes accurate recognition and extraction of the features of the parts to be processed.
[0032] Step S103: Determine the first programming duration according to the processing features, and determine the second programming duration according to the number of clamping positions.
[0033] In step S103 of some embodiments, determining the first programming duration according to the processing features can accurately calculate the programming time of the processing features of the parts to be processed, improve the accuracy of subsequent calculation of the total programming duration, and determine the second programming duration according to the number of clamping positions, so as to accurately calculate the programming time corresponding to the number of clamping positions of the parts to be processed, improve production efficiency and resource utilization rate, ensure the accuracy of design and production, and improve production flexibility and response speed.
[0034] Step S104: Determine the total programming duration corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming duration, and the second programming duration.
[0035] In step S104 of some embodiments, determining the total programming duration corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming duration, and the second programming duration realizes accurate determination of the total programming duration in different situations, thereby improving the efficiency of calculating the programming duration, reasonably allocating computing resources, ensuring that the resource utilization rate reaches the highest when processing a large number of tasks, optimizing the time of batch programming, further improving the accuracy of calculating the programming time, and at the same time improving the efficiency of drawing programming time.
[0036] Step S105: Divide the drawing levels according to the total programming duration, and allocate target drawings according to the drawing levels and employee levels.
[0037] In step S105 of some embodiments, the drawing levels are divided according to the total programming duration, so as to divide the drawings into different levels, and the target drawings are allocated according to the drawing levels and employee levels, which can allocate the target drawings to the employees corresponding to their levels, and realize the distribution of corresponding level drawings according to the writable degree of employees at different levels.
[0038] Please refer to Figure 2 , Figure 2 which is the specific flowchart for feature recognition of all parts to be processed based on the processing type provided by the embodiments of the present application. In some embodiments, the method includes but is not limited to steps S201 to S204.
[0039] Step S201: Classify the parts to be processed according to the processing type to obtain multiple part categories.
[0040] Step S202: For each part category, perform shape recognition on the parts to be processed in the part category to obtain hole features and plane features.
[0041] Step S203: Determine the first feature quantity of the hole features and the second feature quantity of the plane features.
[0042] Step S204: Statistically analyze the hole features and the plane features to obtain processing features.
[0043] In steps S201 to S204 of some embodiments, in the process of feature recognition of all parts to be processed based on the processing type, the embodiments of the present application first classify the parts to be processed according to the processing type to classify the parts to be processed into different categories and obtain multiple part categories, which is convenient for subsequent processing of different types of parts to be processed. For each part category, perform shape recognition on the parts to be processed in the part category. Specifically, the embodiments of the present application extract features from the parts to be processed, then perform feature classification on the preliminary features obtained by feature extraction, and then perform feature recognition on the separated features through a neural network to obtain hole features and plane features, thereby realizing the accurate recognition of hole features and plane features, improving the accuracy of feature recognition, and facilitating subsequent improvement of processing efficiency and processing accuracy. Then, determine the first feature quantity of the hole features and the second feature quantity of the plane features to calculate the quantities of different types of hole features and different types of plane features, which is convenient for subsequent accurate calculation of the programming duration. Then, statistically analyze the hole features and the plane features to obtain processing features, realizing the accurate recognition and extraction of the features of the parts to be processed.
[0044] It should be noted that the hole-shaped features and planar features in the embodiments of the present application can be classified according to actual different processing scenarios. Specifically, the hole-shaped features include, but are not limited to, blind holes, through holes, counterbores, precision holes, etc., and the planar features include, but are not limited to, precision grooves, steps, etc. Among them, a blind hole refers to a hole drilled on the surface of a part, the bottom of the hole is not connected to the inside, and there is only one open end; a through hole refers to a hole that completely penetrates the thickness of the part, and both ends are open; a counterbore refers to an enlarged opening (cylindrical groove) for accommodating the head of a fastener, so that the head of the fastener is flush with the material surface; a precision hole refers to a hole that has been finely processed (such as reaming), with high precision and better surface finish; a precision groove refers to a groove that has been finely processed, with high precision and good surface finish; a step refers to one or more planes on a part for positioning and supporting other components. In the embodiments of the present application, taking the hole-shaped features including blind holes, through holes, counterbores and precision holes, and the planar features including precision grooves and steps as examples for illustration, where, in the case that the hole-shaped features include multiple different types of features, the first feature quantity includes the specific quantity of each feature in the hole-shaped features; similarly, in the case that the planar features include multiple different types of features, the second feature quantity includes the specific quantity of each feature in the planar features, and the embodiments of the present application do not make specific limitations.
[0045] Please refer to Figure 3 , Figure 3 which is a specific flowchart of step S104 provided by an embodiment of the present application. The method includes, but is not limited to, steps S301 to S304.
[0046] Step S301, comparing the quantity of parts corresponding to the processing type with a preset batch quantity to screen out a first set of parts and a second set of parts.
[0047] It should be noted that the quantity of parts corresponding to the processing type in the first set of parts is greater than or equal to the preset batch quantity, and the quantity of parts corresponding to the processing type in the second set of parts is less than the preset batch quantity.
[0048] Step S302, for the first set of parts, determining a first total duration according to a preset batch optimization duration, a preset layout duration, a first programming duration, and a second programming duration.
[0049] Step S303, for the second set of parts, determining a second total duration according to the first programming duration and the second programming duration.
[0050] Step S304, determining the total programming duration corresponding to the processing type according to the first total duration and the second total duration.
[0051] In steps S301 to S304 of some embodiments, in the process of determining the total programming duration corresponding to the processing type, the embodiments of the present application first determine whether the part to be processed is a batch part, that is, a part that needs to be processed in large quantities. Specifically, the number of parts corresponding to the processing type is compared with a preset batch quantity. The parts to be processed with the number of parts greater than or equal to the preset batch quantity are used as the first part set, and the parts to be processed with the number of parts less than the preset batch quantity are used as the second part set, so as to realize the screening of batch parts and non-batch parts, and the classification of batch parts and non-batch parts, which is convenient for accurately determining the programming duration of the first part set and the second part set later. For the first part set, that is, the batch part set, the embodiments of the present application determine the first total duration according to the preset batch optimization duration, preset typesetting duration, first programming duration, and second programming duration. Among them, the batch optimization duration refers to the process of reducing the task execution time by means of optimization algorithms, resource allocation, and process management when processing batch tasks. The typesetting duration is the time required for formatting and layout adjustment of the content, so as to improve the efficiency of calculating the programming duration, reasonably allocate computing resources, and ensure the highest resource utilization rate when processing a large number of tasks, and optimize the time of batch programming. For the second part set, that is, the non-batch part set, the embodiments of the present application directly determine the second total duration according to the first programming duration and the second programming duration, so as to improve the efficiency of drawing programming time. After that, the total programming duration corresponding to the processing type is determined according to the first total duration and the second total duration, so as to accurately determine the total programming duration in different situations, further improve the accuracy of calculating the programming time, and at the same time improve the efficiency of drawing programming time.
[0052] It should be noted that the preset batch quantity in the embodiments of the present application can be set by the user according to needs. For example, it can be set to 50, 80, 100, etc. Taking the preset batch quantity of 50 as an example, when the number of parts to be processed by magnetic adsorption processing is greater than or equal to 50, it means that the parts to be processed by magnetic adsorption processing are batch parts; when the number of parts to be processed by vacuum suction processing is less than 50, it means that the parts to be processed by vacuum suction processing are non-batch parts. The embodiments of the present application do not make specific limitations.
[0053] It is worth noting that for the first part set, the first total duration is the sum of the batch optimization duration, typesetting duration, first programming duration, and second programming duration; for the second part set, the second total duration is the sum of the first programming duration and the second programming duration.
[0054] It can be understood that the batch optimization duration and typesetting duration can be set by the user according to needs. For example, the batch optimization duration can be set to ten minutes, twenty minutes, eight minutes, etc., and the typesetting duration can be set to five minutes, eight minutes, etc. The embodiments of the present application do not make specific limitations.
[0055] Please refer to Figure 4 , Figure 4 which is a specific flowchart for determining the first programming duration according to machining features provided by an embodiment of the present application. The method includes but is not limited to steps S401 to S403.
[0056] Step S401: Compare the first feature quantity of the hole-shaped feature with a preset first correspondence to determine the hole-shaped programming duration.
[0057] It should be noted that the first correspondence is used to represent the correspondence between the quantity range of the hole-shaped feature and the programming duration.
[0058] Step S402: Compare the second feature quantity of the planar feature with a preset second correspondence to determine the planar programming duration.
[0059] It should be noted that the second correspondence is used to represent the correspondence between the quantity range of the planar feature and the programming duration.
[0060] Step S403: Determine the first programming duration according to the hole-shaped programming duration and the planar programming duration.
[0061] In steps S401 to S403 of some embodiments, in the process of determining the first programming duration according to machining features, the embodiment of the present application compares the first feature quantity of the hole-shaped feature with a preset first correspondence to determine the programming duration corresponding to the first feature quantity through the first correspondence, so as to obtain the hole-shaped programming duration. The embodiment of the present application also compares the second feature quantity of the planar feature with a preset second correspondence to determine the programming duration corresponding to the second feature quantity through the second correspondence, so as to obtain the planar programming duration, and then determines the first programming duration according to the hole-shaped programming duration and the planar programming duration, thereby being able to accurately calculate the programming time of the machining features of the part to be machined, improving the accuracy of subsequent calculation of the total programming duration, and ensuring the efficient operation of the production process.
[0062] It can be understood that the representation forms of the first correspondence and the second correspondence in the embodiment of the present application can be arrays, tables, etc., and the embodiment of the present application does not make specific limitations.
[0063] Specifically, the first correspondence stores the correspondence between the quantity intervals of multiple groups of hole-shaped features and the programming duration, and the second correspondence stores the correspondence between the quantity intervals of multiple groups of planar features and the programming duration. In the embodiments of the present application, the first feature quantity is compared with the quantity intervals in the first correspondence respectively to determine the first target quantity interval where the first feature quantity is located, and then the programming duration corresponding to the target quantity interval is determined, and this programming duration is used as the hole-shaped programming duration; similarly, in the embodiments of the present application, the second feature quantity is compared with the quantity intervals in the second correspondence respectively to determine the second target quantity interval where the second feature quantity is located, and then the programming duration corresponding to the second target quantity interval is determined, and this programming duration is used as the planar programming duration.
[0064] Please refer to Figure 5 , Figure 5 which is a specific flowchart for determining the second programming duration according to the number of clamping positions provided by the embodiments of the present application. The method includes but is not limited to steps S501 to S503.
[0065] Step S501: Compare the number of clamping positions with a preset third correspondence to determine the clamping position programming duration.
[0066] It should be noted that the third correspondence is used to represent the correspondence between the clamping position quantity interval of the processing component and the programming duration.
[0067] Step S502: Calculate the image-taking duration, folder creation duration, and drawing review duration of the processing component.
[0068] Step S503: Determine the second programming duration according to the clamping position programming duration, image-taking duration, folder creation duration, and drawing review duration.
[0069] In steps S501 to S503 of some embodiments, in the process of determining the second programming duration according to the number of clamping positions, in the embodiments of the present application, the number of clamping positions is first compared with a preset third correspondence to determine the programming duration corresponding to the number of clamping positions through the third correspondence to obtain the clamping position programming duration, and then the image-taking duration, folder creation duration, and drawing review duration of the processing component are calculated, so as to ensure that each link from the drawing to the finished product is efficient and accurate, reduce the total production time, and then determine the second programming duration according to the clamping position programming duration, image-taking duration, folder creation duration, and drawing review duration. That is, the second programming duration at this time is the cumulative duration of the clamping position programming duration, image-taking duration, folder creation duration, and drawing review duration, thereby improving production efficiency and resource utilization rate, ensuring the accuracy of design and production, and improving production flexibility and response speed.
[0070] It can be understood that the representation form of the third corresponding relationship in the embodiments of the present application can be an array, a table, etc., and the embodiments of the present application do not make specific limitations. The time taken to retrieve the drawing is the time required from issuing the drawing retrieval instruction to the complete transmission of the image data to the processing system. The time taken to create a folder is the time required from the system receiving the instruction to create a folder to the actual completion of the folder creation. The time taken to review the drawing is the time required from the distribution of the drawing to the completion of the review.
[0071] It should be noted that the fixture programming time in the embodiments of the present application includes but is not limited to the process review time, the program inspection time, and the post-processing / program list generation time. Among them, the fixture programming time is the total time of the process review time, the program inspection time, and the post-processing / program list generation time.
[0072] Please refer to Figure 6 , Figure 6 is the specific flowchart for allocating target drawings according to the drawing level and employee level provided by an embodiment of the present application. In some embodiments, it includes but is not limited to steps S601 to S603.
[0073] Step S601, select a target drawing according to the drawing level, and determine the target employee and the alternate employee corresponding to the drawing level according to the employee level.
[0074] Step S602, determine the number of drawings of the target drawing and the number of employees of the target employee.
[0075] Step S603, when the number of drawings is less than or equal to the preset number of drawings and the number of employees is greater than or equal to the preset idle number, allocate the target drawing to the target employee.
[0076] In steps S601 to S603 of some embodiments, in the process of allocating target drawings according to the drawing level and employee level, the embodiments of the present application first randomly select a target drawing according to the drawing level, and determine the target employee and the alternate employee corresponding to the drawing level according to the employee level. Among them, the employee level of the target employee corresponds to the drawing level, that is, the employee who can write the target drawing, and the alternate employee is the employee who can write the target drawing across levels. Then, determine the number of drawings of the target drawing and the number of employees of the target employee, compare the number of drawings with the preset number of drawings, and compare the number of employees with the preset idle number. When the number of drawings is less than or equal to the preset number of drawings and the number of employees is greater than or equal to the preset idle number, it means that the current number of drawings is small, and the number of employees who can write the current level of drawings is sufficient. The target drawing can be directly allocated to the target employee to achieve the accurate allocation of the target drawing, and the target drawing can be allocated to the employee corresponding to its level, so as to distribute the corresponding level of drawings according to the writable degree of employees at different levels.
[0077] Please refer to Figure 7, Figure 7 It is a specific flowchart of the drawing allocation method provided by another embodiment of this application. The method includes but is not limited to step S701.
[0078] It should be noted that step S701 occurs after determining the number of drawings of the target drawing and the number of employees of the target employee.
[0079] Step S701: When the number of drawings is greater than the preset number of drawings or the number of employees is less than the preset idle number, allocate the target drawing to the standby employees.
[0080] In step S701 of some embodiments, after determining the number of drawings of the target drawing and the number of employees of the target employee, when the number of drawings is greater than the preset number of drawings or the number of employees is less than the preset idle number, it indicates that the number of drawings to be processed currently is too large, or the number of idle employees who can process the target drawing is insufficient. The target drawing can be allocated to the standby employees, that is, to the employees who can write the target drawing across levels, so as to ensure the timeliness of drawing writing and improve the drawing writing efficiency.
[0081] Please refer to Figure 8 , this application embodiment also provides a drawing allocation system, which can implement the above drawing allocation method. The system includes: A data acquisition module 801, configured to acquire the processing type of the parts to be processed and the number of clamping positions of the processing components, and acquire the employee levels of the personnel; A feature recognition module 802, configured to perform feature recognition on all parts to be processed based on the processing type to obtain processing features; A sub-duration determination module 803, configured to determine a first programming duration according to the processing features and determine a second programming duration according to the number of clamping positions; A total-duration determination module 804, configured to determine the total programming duration corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming duration, and the second programming duration; A drawing allocation module 805, configured to divide the drawing levels according to the total programming duration and allocate the target drawing according to the drawing levels and the employee levels.
[0082] To more clearly illustrate the drawing allocation method, system, computer device, and medium of the embodiments of this application, specific examples are used for illustration below.
[0083] Example 1: First, acquire the processing type of the parts to be processed. Among them, the processing type includes but is not limited to magnetic adsorption processing, clamping batch processing, vacuum suction processing, precision processing, circular part processing, medium plate processing, etc. The processing type can be classified according to actual different processing scenarios.
[0084] Reference Figures 9a to 9e, Figures 9a to 9e A schematic diagram of the machining features and programming duration provided for this example. Specifically, Figure 9a The corresponding relationship between the blind hole and through hole features and the programming duration provided for this example, Figure 9b The corresponding relationship between the counterbore and precision hole features and the programming duration provided for this example, Figure 9c The corresponding relationship between the precision groove feature and the programming duration provided for this example, Figure 9d The corresponding relationship of the step feature provided for this example, Figure 9e The corresponding relationship between the number of clamping positions and the programming duration provided for this example.
[0085] After that, calculate the machining features of the part to be machined and calculate the first programming duration corresponding to the machining features. Specifically, in the embodiments of the present application, first determine the quantity of each feature. Among them, the machining features can be classified according to actual different machining scenarios, including but not limited to blind holes and through holes, counterbores and precision holes, precision grooves, steps, etc. Then calculate the programming duration according to the set quantity interval of each feature. Reference can be made to Figures 9a to 9d to determine the programming duration, so as to obtain the programming duration corresponding to different types of features.
[0086] After calculating the programming duration corresponding to the machining features of the part to be machined, the embodiments of the present application also need to obtain the number of CNC machining clamping positions, and then calculate the programming duration according to the quantity interval of the clamping positions. Reference can be made to Figure 9e for determination. Among them, the programming duration is specifically classified into process review time, program inspection time, and post-processing / program list output time. After completing the calculation of the programming time for the CNC machining clamping positions of the features, the embodiments of the present application will also add the calculation of drawing retrieval time, folder creation time, and drawing review time.
[0087] It can be understood that the embodiments of the present application take the blind hole and through hole feature as feature 1, the counterbore and precision hole feature as feature 2, the precision groove feature as feature 3, and the step feature as feature 4 as examples for illustration. When the number of parts to be machined is 2, the number of feature 1 is 63, the number of feature 2 is 15, the numbers of feature 3 and feature 4 are both 0, the number of process clamping positions is 2, the drawing retrieval and folder creation time is 1 minute, and the drawing review time is 2 minutes, reference is made to Figures 9a to 9e , at this time, the programming duration corresponding to the machining features and the CNC machining clamping positions is: 5 + 8 + 0 + 11 + 1 + 2, that is, 27 minutes.
[0088] It should be noted that while identifying the machining features of the part to be machined, the embodiments of the present application will also synchronously identify whether the part is a batch part. When it is determined that the part to be machined is not a batch part, no operation is required; when it is determined that the part to be machined is a batch part, the batch optimization time and layout time are added.
[0089] Finally, the total programming duration in the embodiments of the present application is accumulated by various times. Specifically, it includes the programming duration of machining features, the programming duration of CNC machining clamping positions, the duration of calculating and fetching drawings, the duration of creating folders, the duration of reviewing drawings, the duration of batch optimization, and the duration of typesetting. After calculating the total programming time, the drawing levels are divided according to the total programming duration.
[0090] In some embodiments, the total programming duration is directly related to the drawing levels and is classified according to different programming scenarios. Specifically, the drawing levels in the embodiments of the present application are divided into S, A, B, C, and D, where S is further divided into S1, S2, S3, and S4, and each level increases gradually.
[0091] Reference Figures 10a to 10b , Figures 10a to 10b is a schematic diagram of the engineer levels and drawing levels provided for this example.
[0092] It can be seen from Figures 10a to 10b that the engineer levels are divided into 6 levels in total. For each level, there are set drawing levels that can be written (√), drawing levels that cannot be written (×), and drawing levels that can cross levels (○). When there are many drawings or the number of personnel is insufficient, according to the drawing levels set for each level, the drawings can be distributed as needed to maintain the timeliness of the drawings.
[0093] Referring to Figure 11 , Figure 11 is a schematic diagram of the hardware structure of the computer device provided in the embodiments of the present application.
[0094] The following will Figure 11 describe the hardware structure of the computer device in detail. The computer device includes: a processor 910, a memory 920, an input / output interface 930, a communication interface 940, and a bus 950.
[0095] The processor 910 can be implemented in ways such as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application; The memory 920 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM), etc. The memory 920 can store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 920, and the processor 910 is used to call and execute the drawing allocation method of the embodiments of this application; The input / output interface 930 is used to implement information input and output; The communication interface 940 is used to implement communication interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.); and the bus 950 is used to transmit information between various components of the device (such as the processor 910, the memory 920, the input / output interface 930, and the communication interface 940); Among them, the processor 910, the memory 920, the input / output interface 930, and the communication interface 940 are communicatively connected to each other inside the device through the bus 950.
[0096] The embodiments of this application also provide a storage medium, which is a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a computer, the computer is used to execute the drawing allocation method as described in the above embodiments of this application.
[0097] As a non-transitory computer-readable storage medium, the memory can be used to store non-transitory software programs and non-transitory computer-executable programs. In addition, the memory can include high-speed random access memory, and can also include non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some embodiments, the memory optionally includes a memory remotely set relative to the processor, and these remote memories can be connected to the processor through a network. Examples of the above networks include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.
[0098] The embodiments described in the embodiments of this application are for more clearly explaining the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. Those skilled in the art know that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of this application are equally applicable to similar technical problems.
[0099] Those skilled in the art can understand that Figures 1 to 11The technical solutions shown do not constitute a limitation on the embodiments of the present application. There may be more or fewer steps than those shown in the figures, or some steps may be combined, or different steps may be involved.
[0100] The embodiments of the drawing distribution system described above are merely illustrative. The units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0101] Those of ordinary skill in the art can understand that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, and appropriate combinations thereof.
[0102] The terms "first", "second", "third", "fourth", etc. (if any) in the description of this application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0103] It should be understood that in this application, "at least one (item)" means one or more, and "a plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Here, A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. "At least one (one) of the following" or similar expressions refer to any combination of these items, including any combination of single items (one) or plural items (ones). For example, at least one (one) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0104] In several embodiments provided by this application, it should be understood that the disclosed drawing distribution system and method can be implemented in other ways. For example, the above-described drawing distribution system embodiments are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections between each other can be through some interfaces. The indirect couplings or communication connections of the drawing distribution system or unit can be in electrical, mechanical or other forms.
[0105] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0106] In addition, in each embodiment of this application, each functional unit can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0107] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in each embodiment of this application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store programs.
[0108] The above has illustrated the preferred embodiments of the embodiments of this application with reference to the accompanying drawings, and thus does not limit the scope of rights of the embodiments of this application. Any modifications, equivalent replacements, and improvements made by those skilled in the art without departing from the scope and essence of the embodiments of this application shall be within the scope of rights of the embodiments of this application.
Claims
1. A drawing distribution method, characterized in that: The method comprises: Get the processing type of the part to be processed and the number of clamps of the processing component, and get the employee level of the person; Perform feature recognition on all the parts to be processed based on the processing type to obtain processing features; Determine a first programming time according to the processing characteristics, and determine a second programming time according to the number of clamping positions; Determine a total programming time corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming time, and the second programming time; Drawing levels are divided according to the total programming time, and target drawings are allocated according to the drawing levels and the employee levels.
2. The drawing distribution method according to claim 1, characterized in that: The step of performing feature recognition on all the parts to be processed based on the processing type to obtain processing features includes: Classifying the parts to be processed according to the processing type to obtain multiple part categories; For each of the part categories, shape recognition is performed on the parts to be processed in the part category to obtain hole features and plane features; Determining a first feature quantity of the hole-shaped feature and a second feature quantity of the planar feature; The hole features and the plane features are counted to obtain processing features.
3. The drawing distribution method according to claim 1, characterized in that: The determining of the total programming time corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming time, and the second programming time includes: Compare the number of parts corresponding to the processing type with the preset batch number to screen out a first part set and a second part set, wherein the number of parts corresponding to the processing type in the first part set is greater than or equal to the preset batch number, and the number of parts corresponding to the processing type in the second part set is less than the preset batch number; For the first set of parts, determining a first total duration according to a preset batch optimization duration, a preset typesetting duration, the first programming duration, and the second programming duration; For the second set of parts, determining a second total duration according to the first programming duration and the second programming duration; A total programming time corresponding to the processing type is determined according to the first total time and the second total time.
4. The drawing distribution method according to claim 2, characterized in that: The determining of the first programming duration according to the processing feature comprises: Comparing the first characteristic quantity of the hole-shaped feature with a preset first corresponding relationship to determine the hole-shaped programming time, wherein the first corresponding relationship is used to characterize the corresponding relationship between the quantity interval of the hole-shaped feature and the programming time; Comparing the second feature quantity of the plane feature with a preset second corresponding relationship to determine the plane programming time, wherein the second corresponding relationship is used to characterize the corresponding relationship between the quantity interval of the plane feature and the programming time; A first programming time length is determined according to the hole-shaped programming time length and the plane programming time length.
5. The drawing distribution method according to claim 1, characterized in that: The determining of the second programming duration according to the number of clamping positions includes: Comparing the number of clamping positions with a preset third corresponding relationship to determine the programming duration of the clamping positions, wherein the third corresponding relationship is used to characterize the corresponding relationship between the number interval of the clamping positions of the processing component and the programming duration; Calculate the time for obtaining drawings, creating folders, and reviewing drawings of the processing components; The second programming duration is determined according to the clamp programming duration, the drawing retrieval duration, the folder creation duration and the drawing review duration.
6. The drawing distribution method according to claim 1, characterized in that: The allocating target drawings according to the drawing level and the employee level includes: Selecting a target drawing according to the drawing level, and determining a target employee and a candidate employee corresponding to the drawing level according to the employee level; Determine the number of drawings of the target drawings and the number of employees of the target employees; When the number of drawings is less than or equal to a preset number of drawings and the number of employees is greater than or equal to a preset number of free employees, the target drawings are allocated to the target employees.
7. The drawing distribution method according to claim 6, characterized in that: After determining the number of drawings of the target drawings and the number of employees of the target employees, the method further includes: When the number of drawings is greater than the preset number of drawings or the number of employees is less than the preset number of available employees, the target drawings are allocated to the standby employees.
8. A drawing distribution system, characterized in that: The system comprises: A data acquisition module is used to obtain the processing type of the part to be processed and the number of clamping positions of the processing component, and to obtain the employee level of the personnel; A feature recognition module, used for performing feature recognition on all the parts to be processed based on the processing type to obtain processing features; A time determination module, used to determine a first programming time according to the processing characteristics, and to determine a second programming time according to the number of clamping positions; A total duration determination module, configured to determine a total programming duration corresponding to the processing type according to the number of parts corresponding to the processing type, the first programming duration, and the second programming duration; The drawing allocation module is used to divide the drawing levels according to the total programming time, and allocate target drawings according to the drawing levels and the employee levels.
9. A computer device, characterized in that: The computer device includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is used to execute the drawing allocation method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium storing a computer program. When the computer program is executed by a computer, the computer is used to execute the drawing allocation method according to any one of claims 1 to 7.