Equipment drawing generation method and device based on component key points

By acquiring equipment operating parameters, querying the operating database, and using topology connection rules to stitch vector diagrams at key points of equipment exterior components, the problem of low efficiency and low accuracy of manual drawing of CAD drawings for hoisting operations is solved, and fast and accurate equipment drawing generation is achieved.

CN121600102APending Publication Date: 2026-03-03ZOOMLION HEAVY INDUSTRY SCIENCE AND TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511452011.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-10-11
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

The current CAD drawings for hoisting operations rely on manual drawing, which is inefficient and inaccurate, and the standards for manual drawing are not uniform.

Method used

By acquiring equipment operating parameters, querying a pre-built operating condition database, and using topology connection rules and initial attitude parameters, vector diagrams are stitched together at key points of the equipment's exterior components to generate equipment drawings.

Benefits of technology

It enables the rapid and accurate generation of equipment drawings, reduces manual operation, avoids errors in manual drawing, and provides flexibility and accuracy, providing a data foundation for subsequent working condition simulation and hoisting scheme planning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121600102A_ABST
    Figure CN121600102A_ABST
Patent Text Reader

Abstract

The invention discloses an equipment drawing generation method and device based on component key points. The method comprises the following steps: acquiring a drawing generation request; the drawing generation request carries equipment working condition parameters; querying a pre-constructed working condition database according to the equipment working condition parameters, and obtaining vector diagrams of a plurality of corresponding equipment appearance parts; the working condition database at least stores vector diagrams of all equipment appearance parts required by each working condition of the equipment and a mapping relation between the equipment working condition parameters and the equipment appearance parts; according to a preset topology connection rule and an initial attitude parameter in the equipment working condition parameters, splicing all the vector diagrams at key points of the equipment appearance parts, and displaying a splicing result on a front-end page; and generating an equipment drawing based on a splicing result displayed on the current page. According to the method, the equipment drawing can be quickly generated by setting the key points and the connection rules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information technology, specifically to a method for generating equipment drawings based on key points of components, an apparatus for generating equipment drawings based on key points of components, a computer program product, and a computer-readable storage medium. Background Technology

[0002] CAD drawings are graphic files created using computer-aided design software. They are widely used in many fields such as engineering machinery and construction. Before hoisting operations, corresponding CAD drawings are usually needed to visually demonstrate the overall situation of the hoisting operation, which is a simple and efficient form of presentation.

[0003] Currently, the creation of CAD drawings for hoisting operations largely relies on manual drawing. A complete hoisting plan includes schematic diagrams from multiple angles, with a large number of repetitive elements. Manual production is costly and inefficient. In addition, the lack of uniformity in the implementation of manual drawing standards leads to low accuracy of the drawings. Summary of the Invention

[0004] Therefore, it is necessary to provide a method for generating equipment drawings based on key points of components, an apparatus for generating equipment drawings based on key points of components, a computer program product, and a computer-readable storage medium to address the above-mentioned technical problems.

[0005] In a first aspect, this application provides a method for generating equipment drawings based on key points of components. The method includes: obtaining a drawing generation request; the drawing generation request carrying equipment operating condition parameters; querying a pre-built operating condition database according to the equipment operating condition parameters to obtain vector graphics of multiple corresponding equipment appearance components; the operating condition database storing at least vector graphics of all equipment appearance components required for each operating condition of the equipment, and the mapping relationship between equipment operating condition parameters and equipment appearance components; splicing all vector graphics at key points of their equipment appearance components according to preset topology connection rules and initial attitude parameters in the equipment operating condition parameters, and displaying the splicing result on the front-end page; and generating equipment drawings based on the splicing result displayed on the current page.

[0006] In one embodiment, the vector diagram of the device's exterior components includes at least a main arm and a host; the step of stitching all the vector diagrams at key points of the device's exterior components according to preset topology connection rules and initial attitude parameters in the device's operating parameters includes: determining the connection relationship between the main arm and the host in the vector diagram according to the topology connection rules; obtaining the coordinates of the key points of the main arm and the host; moving the spatial position of the main arm according to the connection relationship so that the coordinates of the key points of the main arm coincide with the corresponding coordinates of the key points of the host; and adjusting the amplitude of the main arm with the coincident key points as the center according to the initial attitude parameters.

[0007] In one embodiment, after the step of displaying the splicing result on the front-end page, the method further includes: receiving simulated attitude parameters, the simulated attitude parameters including at least one of target amplitude parameters, target hoisting parameters, and target rotation parameters; and according to the simulated attitude parameters and the topology connection rules, re-sponsoring all vector graphics at key points of their device appearance components to generate a new splicing result and displaying it on a new page on the front end.

[0008] In one embodiment, the operating condition database also stores CAD drawings of all equipment exterior components required for each operating condition of the equipment; the step of generating equipment drawings based on the splicing result displayed on the current page includes: in response to a drawing export command, obtaining equipment operating condition parameters corresponding to the splicing result displayed on the current page; querying the operating condition database according to the equipment operating condition parameters to obtain CAD drawings of multiple corresponding equipment exterior components; and splicing all CAD drawings at key points of the equipment exterior components according to the topology connection rules and the final attitude parameters in the equipment operating condition parameters to generate equipment drawings.

[0009] In one embodiment, the step of generating key points of the device appearance component includes: obtaining CAD drawings of the device appearance component; encoding the center of the mating circle in the CAD drawing as a key point and saving it as an encoding file.

[0010] In one embodiment, the step of generating a vector graphic of the device appearance component includes: obtaining the encoding file; parsing the graphic entities and coordinate data in the encoding file; mapping the graphic entities to corresponding vector elements in a blank vector graphic, and drawing an image based on the coordinate data; encoding the key points in the graphic entities as semantic attributes and synchronizing them to the corresponding elements in the vector graphic to generate a vector graphic of the device appearance component.

[0011] In one embodiment, the step of establishing the operating condition database includes: determining the combination of equipment appearance components required for different operating conditions of the equipment according to the equipment's operation manual, so as to establish a mapping relationship between equipment operating condition parameters and equipment appearance components; and associating and storing the mapping relationship, the encoded file, and the vector graphic to construct the operating condition database.

[0012] Secondly, this application also provides a device for generating equipment drawings based on key points of components. The device includes: a request acquisition module for acquiring a drawing generation request; the drawing generation request carries equipment operating condition parameters; an image acquisition module for querying a pre-built operating condition database according to the equipment operating condition parameters to acquire vector graphics of multiple corresponding equipment appearance components; the operating condition database stores at least vector graphics of all equipment appearance components required for each operating condition of the equipment, and the mapping relationship between equipment operating condition parameters and equipment appearance components; a drawing display module for splicing all vector graphics at key points of the equipment appearance components according to preset topology connection rules and initial attitude parameters in the equipment operating condition parameters, and displaying the splicing result on the front-end page; and a drawing generation module for generating equipment drawings based on the splicing result displayed on the current page.

[0013] Thirdly, embodiments of this application provide a computer program product, the computer program product including computer program code, which, when executed by a computer, causes the computer to perform the method described in the first aspect or any possible implementation of the first aspect.

[0014] Fourthly, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method.

[0015] One of the above technical solutions has the following advantages or beneficial effects: A drawing generation request is obtained; the drawing generation request carries equipment operating parameters; the equipment operating parameters query a pre-built operating condition database to obtain vector graphics of multiple corresponding equipment appearance components; according to preset topology connection rules and initial attitude parameters in the equipment operating parameters, all vector graphics are stitched together at key points of the equipment appearance components, and the stitching result is displayed on the front-end page; based on the stitching result displayed on the current page, an equipment drawing is generated. This method can set the connection relationship of each part of the equipment through explicit docking and connection rules, and achieve rapid generation of equipment drawings through a small number of key point configurations.

[0016] Other features and advantages of the embodiments of this application will be described in detail in the following detailed description section. Attached Figure Description

[0017] The accompanying drawings are provided to further illustrate the embodiments of this application and form part of the specification. They are used together with the following detailed description to explain the embodiments of this application, but do not constitute a limitation on the embodiments of this application. In the drawings: Figure 1 This is a flowchart illustrating a method for generating device drawings based on key component points in one embodiment. Figure 2This is a flowchart illustrating a method for generating device drawings based on key component points in another embodiment. Figure 3 This is a flowchart illustrating the steps for generating key points of a device's exterior components in one embodiment. Figure 4 This is a flowchart illustrating the steps for generating vector graphics of device exterior components in one embodiment; Figure 5 This is a flowchart illustrating the steps involved in establishing a working condition database in one embodiment. Figure 6 (a) Figure 6 (b) are front view schematic diagrams of the device corresponding to the initial attitude parameters and simulated attitude parameters in one embodiment; Figure 7 (a) Figure 7 (b) are front view schematic diagrams of the equipment corresponding to two different target rotation parameters in one embodiment; Figure 8 This is a schematic diagram of a device in one embodiment; Figure 9 This is a structural block diagram of a device drawing generation apparatus based on key component points in one embodiment; Figure 10 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only for illustration and explanation of the embodiments of this application and are not intended to limit the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0019] It should be noted that the acquisition, transmission, storage, use, and processing of data in the technical solution of this application all comply with relevant laws and regulations. In the embodiments of this application, certain existing industry solutions such as software, components, and models may be mentioned. These should be considered exemplary, intended only to illustrate the feasibility of implementing the technical solution of this application, and do not imply that the applicant has already used or necessarily used such solutions.

[0020] In one embodiment, such as Figure 1 , Figure 2 As shown, this application provides a method for generating equipment drawings based on key points of components, including: S102, Obtain drawing generation request; the drawing generation request carries equipment operating parameters.

[0021] The drawing generation request is a user instruction returned from the front end, mainly carrying the user's identity information and equipment operating parameters, used to define the equipment drawings the user wants to generate. Equipment operating parameters are a set of variables used to determine the equipment's configuration. These may include equipment type, equipment model, boom assembly type, main boom length, vehicle counterweight, turntable configuration, additional configurations, and slewing angle, etc. Taking cranes as an example, equipment types may include crawler cranes, all-terrain cranes, truck cranes, etc., and boom assembly types may include main boom, fixed jib, tower jib, flying boom, etc.

[0022] S104. Query the pre-built operating condition database according to the equipment operating condition parameters to obtain vector diagrams of multiple corresponding equipment appearance components; the operating condition database stores at least the vector diagrams of all equipment appearance components required for each operating condition of the equipment, as well as the mapping relationship between equipment operating condition parameters and equipment appearance components.

[0023] The operating condition database is a pre-built structured database that stores vector graphics and CAD drawings of all equipment exterior components required for various operating conditions, as well as the mapping relationship between equipment operating condition parameters and equipment exterior components. The vector graphics of the equipment exterior components are vector graphics files used for front-end display and splicing; they can be SVG images, AI images (Adobe Illustrator), etc., and contain key points defined through pre-coding, which exist in the form of attributes. The CAD drawings of the equipment exterior components are source files used for high-precision output and key point pre-coding. They can be opened and modified using professional software such as AutoCAD, DraftSight, and FreeCAD, and can include DWG format, DXF format, SLDDRW, etc.

[0024] S106. Based on the preset topology connection rules and the initial attitude parameters in the equipment operating parameters, all vector graphics are spliced ​​at the key points of the equipment's exterior components, and the splicing result is displayed on the front-end page.

[0025] Among them, topology connection rules refer to the logical rules defining how components are connected. It explicitly specifies that a key point of component A is connected to a key point of component B. For example, the key point of the main arm on the host is defined as "mainboom_install_socket", and the key point at the bottom of the main arm that is installed on the host is named "mainboom_install_plug_loc". During splicing, the key point of the main arm is connected to the key point of the host.

[0026] Initial attitude parameters refer to the initial position state of movable parts of the device that are not fully extended or fully retracted.

[0027] Key points of equipment appearance components refer to geometric points that are predefined and coded on the component's CAD drawing. These points represent the locations where components are docked or connected. One specific implementation method is to convert the geometric figures representing these points in the corresponding dxf file of the CAD drawing into blocks with a naming convention, and to precisely set the base point of the block at the center of that point. Its name is the key point code.

[0028] The splicing result refers to the complete visual graphic of the device under a specific working condition rendered on the front-end page, which has dynamism and interactivity.

[0029] S108: Generate equipment drawings based on the splicing results displayed on the current page.

[0030] Equipment drawings are drawing documents used to guide production, construction, and scheme review. They are generated based on the associated data of the splicing results and include information such as dimension annotations, project name, drawing number, version, a list of major components in the drawing, and core parameters such as lifting capacity, working radius, and elevation angle under this working condition.

[0031] This method can quickly and automatically generate various equipment configuration diagrams by changing the operating parameters, without the need for manual redrawing. The spatial position is calculated from the coordinates in the diagram, avoiding errors caused by manual placement. It has flexibility and accuracy, and provides a data foundation for subsequent applications such as operating condition simulation, stress analysis, and hoisting scheme planning.

[0032] In one embodiment, the vector diagram of the device's exterior components includes at least the main arm and the main unit. The step of stitching all the vector diagrams at key points of the device's exterior components according to preset topology connection rules and initial attitude parameters in the device's operating parameters includes: determining the connection relationship between the main arm and the main unit in the vector diagram according to the topology connection rules; obtaining the key point coordinates of the main arm and the main unit; moving the spatial position of the main arm according to the connection relationship so that the key point coordinates of the main arm coincide with the corresponding key point coordinates of the main unit; and adjusting the amplitude of the main arm with the coincident key point as the center according to the initial attitude parameters.

[0033] Initial attitude parameters may include initial luffing parameters and initial hoisting parameters. Initial luffing parameters refer to the initial elevation angle of the boom. Initial hoisting parameters refer to the initial height of the hook, which determines the length of the wire rope that can be wound up or down, thus affecting the distance of the hook from the ground or from the boom tip.

[0034] In the front-end splicing process, the position and angle of each component's vector graphic in the image are calculated according to the topology connection rules and initial posture parameters. Then, they are aligned at key points to render the device graphic. Taking the vector splicing of the main arm and the host as an example, the two key points that the main arm and the host need to be connected are determined according to the topology connection rules. The position of the host is taken as the starting position. The absolute coordinates of the two key points on the canvas are made to coincide by translating the main arm. The main arm is rotated with the coincident key point as the center. The pseudocode for this section is described as follows: The bottom mounting point "mainboom_install_plug_loc" on the main boom coincides with the center of the main boom "mainboom_install_socket" on the host machine, and rotates 81.95° around this coincident center. This rotation angle can be calculated based on the right triangle established by the main boom length and minimum working radius; the bottom key point "mast_install_plug_loc" on the mast coincides with the center of the mast key point "mast_install_socket" on the host machine; the key point "mast_top_link_poin" on the host machine connecting to the top of the mast coincides with the line point "mast_top_link_point" at the top of the mast; the key point "mast_top_link_point" at the top of the mast coincides with the line point "mainboom_mast_link_point" at the top of the main boom; the key point "mainboom_sheave_wirerope_out" on the wire rope pulley at the top of the main boom coincides with the line point "main_hook_boom_link_point_loc" on the hook.

[0035] In one embodiment, the operating condition database also stores CAD drawings of all equipment exterior components required for each operating condition of the equipment; after the step of displaying the splicing result on the front-end page, the method further includes: receiving simulated attitude parameters, which include at least one of target amplitude parameters, target hoisting parameters, and target rotation parameters; and according to the simulated attitude parameters and topology connection rules, re-splitting all vector graphics at key points of their equipment exterior components to generate a new splicing result and displaying it on a new page on the front end.

[0036] The CAD drawings of equipment exterior components may include basic graphic elements such as straight lines, circles, arcs, and polylines that constitute the shape of the components, the precise dimensions of each component, and pre-coded key points. It should be noted that the file format of the CAD drawings can be switched according to the actual application scenario, and the pre-coded key points can be changed according to the equipment type.

[0037] Simulated attitude parameters refer to control commands input by the user to adjust a specific state of the simulated equipment. Target luffing parameters refer to the required range of motion of the boom and other equipment; target hoisting parameters refer to the lifting and lowering of the hoisting system; and target slewing parameters refer to the rotation range of the boom and other equipment relative to the chassis. In this embodiment, functions such as luffing adjustment, hoisting adjustment, and left / right slewing are provided to adjust the rotation angles of the equipment and boom so that the equipment drawings support various operating modes, such as... Figure 6 (a) Figure 6 As shown in (b), a front view is generated upon receiving the initial attitude parameters to most intuitively display the relationship between the boom's elevation angle, amplitude, and height. The boom can be adjusted according to functions such as luffing and winch adjustment. At the same time, a top view can be provided to display the boom's projection direction on the horizontal plane, slewing radius, etc.

[0038] In a specific embodiment, such as Figure 7 (a) Figure 7 As shown in (b), the display of the front view can be adjusted according to the target rotation parameters. For example, see... Figure 7 (a) is a front view of the equipment with the rotation angle at 0°. Figure 7 (b) is a front view of the equipment with a rotation angle of 90°. When the rotation angle in the target rotation parameter is between 315° and 44°, the chassis in the front view points to the right. The orientation of the chassis in the front view changes every 90° rotation. When the rotation angle is between 45° and 134°, the chassis points to the front; when the rotation angle is between 135° and 224°, the chassis points to the left; and when the rotation angle is between 225° and 314°, the chassis points to the rear. This is to facilitate the user's simulation of the equipment's motion control. It should be noted that the control functions can be added or reduced according to the drawings of each direction and the predefined topology connection rules stored in the working condition database. No limitation is made here.

[0039] In one embodiment, such as Figure 8 As shown, the steps for generating equipment drawings based on the splicing results displayed on the current page include: responding to the drawing export command, obtaining equipment operating parameters corresponding to the splicing results displayed on the current page; querying the operating database based on the equipment operating parameters to obtain CAD drawings of multiple corresponding equipment appearance components; and splicing all CAD drawings at key points of the equipment appearance components according to the topology connection rules and the final attitude parameters in the equipment operating parameters to generate equipment drawings.

[0040] After the front-end is adjusted, the user can export the equipment drawings. The back-end receives the crane operating parameters, working range, hoisting height and other equipment operating parameters from the front-end. Then, according to the unified topology connection rules, it assembles the CAD drawings of the required equipment appearance parts into a new crane posture drawing and transmits it to the user.

[0041] In one embodiment, such as Figure 3 As shown, the steps for generating key points of the equipment's exterior components include: obtaining CAD drawings of the equipment's exterior components; encoding the center of the mating circle in the CAD drawing as a key point and saving it as an encoding file.

[0042] During product development, a large number of component drawings will be generated. First, it is necessary to collect drawings of relevant equipment exterior components, which may include the main unit, main boom, auxiliary boom, mast, strut, gooseneck frame, hook, etc., and name each drawing according to the naming convention. For example, the main unit drawing of ZCC1500V-1 is named "ZCC1500V-1_carrier.dxf", the 19-meter main boom drawing in S condition is named "ZCC1500V-1_mainboom_S_19.0.dxf", the mast drawing is named "ZCC1500V-1_mast.dxf", the 80-ton main hook is named "ZCC1500V-1_mainhook_80.0.dxf", and so on.

[0043] According to the key point naming convention, key points in the CAD drawings of exterior components are encoded. One specific implementation method is to select the circle corresponding to the key points used for docking and connecting in the DXF file using AutoCAD's block definition function, define this circle as a block with a specified name, and assign the block's base point to the corresponding circle's center. This encoding process can be implemented using Python to achieve one-click batch encoding of key points in CAD drawings, or it can be implemented using other programming languages ​​such as C++, C#, and Java.

[0044] In one embodiment, such as Figure 4 As shown, the steps for generating a vector graphic of a device's exterior components include: obtaining an encoding file; parsing the graphic entities and coordinate data in the encoding file; mapping the graphic entities to corresponding vector elements in a blank vector graphic and drawing the image based on the coordinate data; encoding the key points in the graphic entities as semantic attributes and synchronizing them to the corresponding elements in the vector graphic to generate a vector graphic of the device's exterior components.

[0045] This process involves converting the encoded file into structured vector graphics while preserving the semantic encoding information of key points. The encoded file is traversed and each graphic entity within it is parsed, including entities such as lines, polylines, circles, and arcs. Data for each graphic entity is extracted and converted into uniform trajectory coordinates. One possible implementation is to create a blank SVG file, ensuring its internal coordinate system aligns with the world coordinate system of the DXF file by setting its attributes. The trajectory data of each graphic entity is then converted into corresponding vector elements, which can include lines, circles, polylines, etc. Graphic entities defined as blocks in the encoded file with names conforming to the encoding specifications are identified, and the key point encoding is synchronized as semantic attributes to the corresponding elements in the vector graphics. This encoding process can be implemented using Python, or other programming languages ​​such as C++, C#, and Java.

[0046] After the above method is completed, there is one set of data corresponding to two sets of drawings. The user's front end sees a crane drawing composed of vector drawings spliced ​​together and connected, while the exported equipment drawing is generated from the CAD drawing file of the appearance component. This ensures that the front end rendering and the back end generation are independent of each other, avoiding drawing conversion during the simulation and adjustment process.

[0047] In one embodiment, such as Figure 5 As shown, the steps for establishing the operating condition database include: determining the combination of equipment appearance components required for different operating conditions based on the equipment's operation manual, in order to establish a mapping relationship between equipment operating condition parameters and equipment appearance components; and storing the mapping relationship, coded files, and vector graphics together to construct the operating condition database.

[0048] The mapping relationship in the operating condition database defines the correspondence between equipment operating condition parameters and a list of vector graphics files and CAD drawing files of the specific components required for that operating condition. For example, querying the drawings of the main unit, main hook, and main booms of different lengths required for the ZCC1500V-1 S operating condition will return the drawing codes for the main unit, main hook, mast, strut, gooseneck, hook, strut, and various main booms. Based on this operating condition database, the corresponding drawings can be quickly located according to the request returned by the front end, improving database query efficiency. Simultaneously, drawings from various directions and components in product development can be integrated; only one set of CAD drawings for each orientation needs to be collected, converted, and uploaded to the server to allow users to select operating condition parameters for hoisting simulation.

[0049] In one embodiment, such as Figure 9 As shown, this application also provides a device 900 for generating equipment drawings based on key points of components. The device includes: The request acquisition module 901 is used to acquire drawing generation requests; the drawing generation requests carry equipment operating parameters.

[0050] The image acquisition module 902 is used to query a pre-built operating condition database based on the equipment operating condition parameters to obtain vector graphics of multiple corresponding equipment appearance components; the operating condition database stores at least the vector graphics of all equipment appearance components required for each operating condition of the equipment, as well as the mapping relationship between equipment operating condition parameters and equipment appearance components.

[0051] The drawing display module 903 is used to stitch all vector graphics at key points of the equipment's exterior components according to preset topology connection rules and initial attitude parameters in the equipment's operating parameters, and display the stitching result on the front-end page.

[0052] The drawing generation module 904 generates equipment drawings based on the splicing results displayed on the current page.

[0053] In one embodiment, the vector diagram of the device's exterior components includes at least the main arm and the host; the drawing display module 903 is specifically used to determine the connection relationship between the main arm and the host in the vector diagram according to the topology connection rules; obtain the key point coordinates of the main arm and the host; move the spatial position of the main arm according to the connection relationship so that the key point coordinates of the main arm coincide with the corresponding key point coordinates of the host; and adjust the amplitude of the main arm with the coincident key point as the center according to the initial attitude parameters.

[0054] In one embodiment, the device further includes a simulation module for receiving simulated attitude parameters, including at least one of target amplitude parameters, target hoisting parameters, and target rotation parameters; and re-splicing all vector graphics at key points of its device appearance components according to the simulated attitude parameters and topology connection rules, generating a new splicing result and displaying it on a new page on the front end.

[0055] In one embodiment, the operating condition database also stores CAD drawings of all equipment exterior components required for each operating condition of the equipment; the drawing generation module 904 is specifically used to respond to the drawing export command, obtain equipment operating condition parameters corresponding to the splicing result displayed on the current page; query the operating condition database according to the equipment operating condition parameters to obtain CAD drawings of multiple corresponding equipment exterior components; and splice all CAD drawings at key points of the equipment exterior components according to the topology connection rules and the final attitude parameters in the equipment operating condition parameters to generate equipment drawings.

[0056] In one embodiment, the apparatus further includes a key point generation module for acquiring CAD drawings of the device's exterior components; encoding the center of the docking circle in the CAD drawing as a key point and saving it as an encoded file.

[0057] In one embodiment, the device further includes a drawing conversion module for acquiring an encoded file; parsing the graphic entities and coordinate data in the encoded file; mapping the graphic entities to corresponding vector elements in a blank vector image and drawing an image based on the coordinate data; encoding the key points in the graphic entities as semantic attributes and synchronizing them to the corresponding elements in the vector image to generate a vector image of the device's exterior components.

[0058] In one embodiment, the apparatus further includes a database construction module, which is used to determine the combination of equipment appearance components required for different operating conditions of the equipment according to the equipment's operation manual, so as to establish a mapping relationship between equipment operating condition parameters and equipment appearance components; and to associate and store the mapping relationship, encoding files and vector graphics to construct an operating condition database.

[0059] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0060] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0061] This invention provides a processor for running a program, wherein the program executes a device drawing generation method based on component key points.

[0062] In one embodiment, a computer device is provided, which may be a mobile terminal, and the internal structure diagram of the computer device may be as follows: Figure 10As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements a method for generating device drawings based on key component points. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0063] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps in the above-described method embodiments.

[0064] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects.

[0065] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0066] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0067] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for generating equipment drawings based on key points of components, characterized in that, include: Obtain the drawing generation request; The drawing generation request carries equipment operating parameters; The pre-built operating condition database is queried according to the equipment operating condition parameters to obtain vector diagrams of multiple corresponding equipment appearance components; the operating condition database stores at least the vector diagrams of all equipment appearance components required for each operating condition of the equipment, and the mapping relationship between equipment operating condition parameters and equipment appearance components. Based on the preset topology connection rules and the initial attitude parameters in the equipment operating parameters, all vector graphics are spliced ​​at key points of the equipment's exterior components, and the splicing result is displayed on the front-end page. Based on the stitching results displayed on the current page, generate equipment drawings.

2. The method according to claim 1, characterized in that, The vector diagram of the device's exterior components includes at least the main arm and the main unit; The step of stitching together all vector graphics at key points of the device's exterior components according to preset topology connection rules and initial attitude parameters in the device operating parameters includes: The connection relationship between the main arm and the host in the vector diagram is determined according to the topology connection rules. Obtain the key point coordinates of the main arm and the host; The spatial position of the main arm is moved according to the connection relationship so that the key point coordinates of the main arm coincide with the corresponding key point coordinates of the host. The main boom amplitude is adjusted based on the initial attitude parameters, with the overlapping key points as the center.

3. The method according to claim 1, characterized in that, After the step of displaying the splicing result on the front-end page, the method further includes: Receive simulated attitude parameters, which include at least one of target amplitude parameters, target winch parameters, and target rotation parameters; Based on the simulated attitude parameters and the topology connection rules, all vector graphics are re-stitched at key points of the device's exterior components to generate a new stitching result, which is then displayed on a new page on the front end.

4. The method according to claim 1, characterized in that, The operating condition database also stores CAD drawings of all the equipment's exterior components required for each operating condition; the step of generating equipment drawings based on the splicing results displayed on the current page includes: In response to the drawing export command, obtain the equipment operating parameters corresponding to the splicing result displayed on the current page; Based on the equipment operating parameters, query the operating condition database to obtain CAD drawings of multiple corresponding equipment exterior components; Based on the topology connection rules and the final attitude parameters in the equipment operating parameters, all CAD drawings are spliced ​​together at key points of the equipment's exterior components to generate equipment drawings.

5. The method according to claim 1, characterized in that, The steps for generating key points of the device's exterior components include: Obtain CAD drawings of the equipment's exterior components; The center of the docking circle in the CAD drawing is used as a key point for encoding and saved as an encoded file.

6. The method according to claim 5, characterized in that, The steps for generating vector graphics of the device's exterior components include: Obtain the encoded file; Parse the graphic entities and coordinate data in the encoded file; In a blank vector graphic, the graphic entities are mapped to corresponding vector elements, and the image is drawn based on the coordinate data; The key points in the graphic entity are encoded as semantic attributes and synchronized to the corresponding elements in the vector image to generate a vector image of the device's exterior components.

7. The method according to claim 6, characterized in that, The steps for establishing the operating condition database include: Based on the equipment's operation manual, determine the required combination of equipment exterior components for different operating conditions, in order to establish a mapping relationship between equipment operating parameters and equipment exterior components; The mapping relationship, the encoded file, and the vector graphic are associated and stored to construct the working condition database.

8. A device for generating equipment drawings based on key points of components, characterized in that, The device includes: The request acquisition module is used to acquire drawing generation requests; the drawing generation requests carry equipment operating parameters. The image acquisition module is used to query a pre-built operating condition database based on the equipment operating condition parameters to obtain vector images of multiple corresponding equipment appearance components; the operating condition database stores at least the vector images of all equipment appearance components required for each operating condition of the equipment, and the mapping relationship between equipment operating condition parameters and equipment appearance components. The drawing display module is used to stitch all vector graphics at key points of the equipment's exterior components according to preset topology connection rules and initial attitude parameters in the equipment's operating parameters, and display the stitching result on the front-end page. The drawing generation module generates equipment drawings based on the splicing results displayed on the current page.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 7.

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