Interface generation method, device and computer readable storage medium
Through client extraction and server-side calculation methods, the geometric data and quotation parameters of customized parts are automatically identified and calculated, solving the problem of inconsistent and time-consuming quotation of customized parts, and achieving fast, unified and accurate quotation interface rendering , improves the user experience.
Patent Information
- Application Number
- CN202110683396.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-18
- Publication Date
- 2025-02-18
- Estimated Expiration
- 2041-06-18
AI Technical Summary
In the prior art, the quotation of customized parts is not uniform and takes a long time, resulting in poor user experience.
Get part drawings through the client, identify and extract the three-dimensional model of the target part, determine its geometric data, and send it to the server. The server calculates customized price rendering parameters based on geometric data and sends them back to the client, and the client renders and displays the quotation interface based on these parameters.
It realizes automatic identification of target parts that need to be customized, and automatically determines customized price rendering parameters based on its geometric information, improves the rendering speed of the quotation interface, optimizes the rendering process of the quotation interface, ensures the uniformity of customized prices, improves the accuracy of quotations, and reduces labor. Error, improve user experience.
Smart Images

Figure CN113342443B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to an interface generation method, device and computer-readable storage medium. Background Art
[0002] In the prior art, with the development of the mechanical mold industry, the parts needed are becoming more and more complicated, and most of them are customized parts that need to be processed by professional mechanical processing plants. Before processing the parts, the mold factory or the mechanical factory needs to provide the parts drawings to each supplier. Each supplier manually checks the parts drawings, manually calculates the geometric dimensions of the parts in the parts drawings and gives a quotation. The calculation time is long, and the entire quotation process takes about a day. In addition, the quotations calculated manually by each supplier are not uniform, and there may be quotations errors due to manual calculation errors, which leads to poor user experience. Summary of the invention
[0003] The main purpose of the present invention is to provide an interface generation method, aiming to solve the technical problems in the prior art that the quotations for customized parts are inconsistent and time-consuming.
[0004] To achieve the above object, the present invention provides an interface generation method, comprising the following contents:
[0005] The server receives the geometric data of the target part sent by the client;
[0006] Determine rendering parameters of a corresponding quotation interface of the target part according to the geometric data;
[0007] The rendering parameters are sent to a client, wherein the client renders the quotation interface according to the rendering parameters and displays the quotation interface.
[0008] The step of receiving the geometric data of the target part sent by the client at the server includes:
[0009] The client extracts the three-dimensional model of the target part corresponding to the preset name in the part drawing file;
[0010] Receive the geometric data of the target part corresponding to the preset name acquired by the client.
[0011] Wherein, the step of determining the rendering parameters of the quotation interface corresponding to the target part according to the geometric data includes:
[0012] Presetting a processing difficulty coefficient identification model, wherein the processing difficulty coefficient identification model is provided with at least one processing difficulty coefficient interval;
[0013] The geometric data of the target part is input into the processing difficulty coefficient identification model to calculate the processing difficulty coefficient of the target part.
[0014] The step of determining the rendering parameters of the quotation interface corresponding to the target part according to the geometric data includes:
[0015] The delivery cycle rendering parameters of the quotation interface of the target part are determined based on the processing difficulty coefficient of the target part.
[0016] The step of determining the rendering parameters of the quotation interface corresponding to the target part according to the geometric data includes:
[0017] According to the preset material unit price, the geometric data, the processing difficulty coefficient and the delivery period, the customized price rendering parameters of the corresponding quotation interface of the target part are calculated.
[0018] Wherein, after the step of determining the rendering parameters of the quotation interface corresponding to the target part according to the geometric data, the method further includes:
[0019] Obtaining the serial number and / or three-dimensional model screenshot of the target part sent by the client;
[0020] Rendering parameters corresponding to the number and / or the three-dimensional model screenshot of the target part are extracted, and a quotation interface of the target part is rendered accordingly.
[0021] To achieve the above object, the present invention also provides another interface generation method, comprising the following contents:
[0022] The client obtains a part drawing and a three-dimensional model of a target part in the part drawing;
[0023] Measuring geometric data of the target part based on the three-dimensional model of the target part;
[0024] Sending the geometric data of the target part to the server, and receiving rendering parameters of the quotation interface returned by the server;
[0025] The quotation interface of the target part is rendered according to the rendering parameters of the quotation interface, and the quotation interface of the target part is displayed.
[0026] Wherein, the step of measuring the geometric data of the target part based on the three-dimensional model of the target part comprises:
[0027] Scanning the three-dimensional model of the target part to determine the number of processing surfaces of the part and the content of the part processing;
[0028] Acquire part size data and part processing content size data of the target part;
[0029] The part size data, the number of part processing surfaces and the part processing content size data are marked as the geometric data of the target part.
[0030] In addition, to achieve the above-mentioned purpose, the present invention also provides an interface generation device, which includes: a memory, a processor, and an interface generation program stored in the memory and executable on the processor, and the interface generation program implements the steps of the above-mentioned interface generation method when executed by the processor.
[0031] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which an interface generation program is stored, and when the interface generation program is executed by a processor, the steps of the interface generation method described above are implemented.
[0032] An interface generation method proposed in an embodiment of the present invention obtains a part drawing through a client, identifies and extracts a three-dimensional model of a target part in the part drawing according to the part drawing; after obtaining the three-dimensional model of the target part, determines the geometric data of the target part, sends the geometric data of the part to the server, and the server calculates and obtains the customized price rendering parameters of the target part according to the geometric data of the target part, and sends the rendering parameters to the client, drives the client to render a quotation interface according to the rendering parameters, and displays the rendered quotation interface on the display interface of the client. Automatically identify the target part that needs to be customized according to the part drawing, and automatically determine the customized price rendering parameters according to the geometric information of the target part, improve the rendering speed of the quotation interface, optimize the rendering process of the quotation interface, ensure the uniformity of the customized price rendering parameters of the target part, improve the accuracy of the rendering of the quotation interface of the customized part, avoid human errors in the rendering process of the quotation interface, and optimize the beneficial effect of user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the structure of an interface generation device of a hardware operating environment involved in an embodiment of the present invention;
[0034] Figure 2 It is a flow chart of an embodiment of the interface generation method of the present invention;
[0035] Figure 3 A timing diagram of an embodiment of an interface generation method of the present invention;
[0036] Figure 4 It is a flowchart of another embodiment of the interface generation method of the present invention.
[0037] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0038] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0039] The main solution of the embodiment of the present application is: obtain the part drawing through the client, identify and extract the three-dimensional model of the target part in the part drawing according to the part drawing; after obtaining the three-dimensional model of the target part, determine the geometric data of the target part, send the geometric data of the part to the server, the server calculates and obtains the customized price rendering parameters of the target part according to the geometric data of the target part, and sends the rendering parameters to the client, drives the client to render the quotation interface according to the rendering parameters, and displays the rendered quotation interface on the display interface of the client. Automatically identify the target part that needs to be customized according to the part drawing, and automatically determine the customized price rendering parameters according to the geometric information of the target part, improve the rendering speed of the quotation interface, optimize the rendering process of the quotation interface, ensure the uniformity of the customized price rendering parameters of the target part, improve the accuracy of the rendering of the quotation interface of the customized part, avoid manual errors in the rendering process of the quotation interface, and optimize the beneficial effect of user experience.
[0040] like Figure 1 As stated, Figure 1 It is a structural diagram of the interface generation device of the hardware operating environment involved in the embodiment scheme of the present application.
[0041] like Figure 1 As shown, the embodiment of the present application involves an interface generation device, which may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard and a mouse, etc. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0042] Optionally, the interface generating device may also include a camera, a sound card module, an RF (Radio Frequency) circuit, a sensor, a remote controller, an audio circuit, a WiFi module, a detector, and the like.
[0043] Those skilled in the art will understand that Figure 1The structure of the interface generating device shown in the figure does not constitute a limitation on the interface generating device, and may include more or less components than those shown in the figure, or a combination of certain components, or a different arrangement of components.
[0044] like Figure 1 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and an interface generation program.
[0045] exist Figure 1 In the interface generation device shown in FIG. 1 , the network interface is mainly used to connect to the client and perform data interaction with the client, the user interface 1003 is mainly used to perform data communication with the user and receive the user's setting instructions or other instructions, and the processor 1001 can be used to call the interface generation program stored in the memory 1005 and perform the following operations:
[0046] The server receives the geometric data of the target part sent by the client, wherein the geometric data is the part data obtained by the client scanning the three-dimensional model of the target part;
[0047] Determine rendering parameters of a corresponding quotation interface of the target part according to the geometric data;
[0048] The rendering parameters are sent to a client, wherein the client renders the quotation interface according to the rendering parameters and displays the quotation interface.
[0049] Furthermore, the processor 1001 may also call the interface generation program stored in the memory 1005 and perform the following operations:
[0050] Receive the geometric data of the target part corresponding to the preset name acquired by the client.
[0051] Furthermore, the processor 1001 may also call the interface generation program stored in the memory 1005 and perform the following operations:
[0052] Presetting a processing difficulty coefficient identification model, wherein the processing difficulty coefficient identification model is provided with at least one processing difficulty coefficient interval;
[0053] The geometric data of the target part is input into the processing difficulty coefficient identification model to calculate the processing difficulty coefficient of the target part.
[0054] Furthermore, the processor 1001 may also call the interface generation program stored in the memory 1005 and perform the following operations:
[0055] The delivery cycle rendering parameters of the quotation interface of the target part are determined based on the processing difficulty coefficient of the target part.
[0056] Furthermore, the processor 1001 may also call the interface generation program stored in the memory 1005 and perform the following operations:
[0057] According to the preset material unit price, the geometric data, and the processing difficulty coefficient, the customized price rendering parameters of the corresponding quotation interface of the target part are calculated.
[0058] Furthermore, the processor 1001 may also call the interface generation program stored in the memory 1005 and perform the following operations:
[0059] Obtaining the serial number and / or three-dimensional model screenshot of the target part sent by the client;
[0060] Rendering parameters corresponding to the number and / or the three-dimensional model screenshot of the target part are extracted, and a quotation interface of the target part is rendered accordingly.
[0061] Reference Figure 2 , Figure 2 It is a flow chart of an embodiment of the interface generation method of the present invention.
[0062] In this embodiment, the interface generation method includes:
[0063] Step S10: The server receives the geometric data of the target part sent by the client;
[0064] like Figure 1 and Figure 3 As shown, in this embodiment, the interface generation system includes a server and a client. The server is set by the parts customizer and is configured to identify the geometric data of the target part and automatically generate the customized quotation rendering parameters of the customized part. The client is a smart terminal facing the customer group, which can receive the user's part drawing and automatically analyze the geometric data of the target part carried in the part drawing, and render and display the quotation interface of the customized part on the display interface.
[0065] Specifically, the client is preset with a target part database, which has one or more preset names of customized parts built in. Optionally, the preset name may be a part name of a part that can be produced by the customized part manufacturer written by the administrator when setting the target part database.
[0066] Optionally, when the client completes the setting of the target part database, and the user as a customer group has a need for part customization, the part drawing is imported into the client. After receiving the part drawing, the client identifies the 3D model of the part in the part drawing, obtains the model name stored in the entity attribute of the 3D model of the part, obtains the 3D model of the part whose model name matches the preset name in the target part database, and thus extracts the 3D model of the target part recorded in the part drawing. The target part is a customized part that the user needs to customize and whose model name matches the preset name in the target part database.
[0067] Optionally, when the client identifies the three-dimensional model of the scanned target part, it can identify the three-dimensional model of a single target part or identify the three-dimensional models of multiple target parts at the same time.
[0068] Optionally, the user can also manually select a 3D model of a target part whose preset name is not stored in the target part database. The client performs further recognition processing on the target part manually selected by the user.
[0069] Optionally, after obtaining the three-dimensional model of the target part, the client calls the screenshot module to take a screenshot of the three-dimensional model of the target part, obtains the three-dimensional screenshot rendering parameters of the target part, and numbers the target parts so that the user can distinguish the customized part price rendering parameters of the target part according to the three-dimensional screenshot rendering parameters, thereby optimizing the user experience.
[0070] In this embodiment, after acquiring the three-dimensional model of the target part, the client performs geometric analysis and measurement on the three-dimensional model of the target part, thereby determining the geometric data of the target part.
[0071] Specifically, the client scans the three-dimensional model of the target part to determine the number of part processing faces and part processing content of the target part, wherein the number of part processing faces is the number of three-dimensional model faces of the target part, and the more three-dimensional model faces of the target part, the more complex the part model. The part processing content is the holes, grooves or other processing content required to process the part embryo into the target part. The interface generation device scans the three-dimensional model of the target part to determine the distribution position information of the holes and grooves in the three-dimensional model of the target part.
[0072] Specifically, the client also performs geometric analysis and measurement on the three-dimensional model of the target part to obtain part size data of the target part, wherein the part size data is the overall size data of the target part, including at least the length data of the target part, the width data of the target part, and the height data of the target part.
[0073] Specifically, the client performs geometric analysis on the three-dimensional model and obtains the part processing content size data of the target part. Specifically, the part processing content size data at least includes the hole size data and groove size data of the hole required to be processed and opened on the target part. Specifically, the hole size includes the diameter and depth of the hole; the groove size data includes the groove volume and groove area.
[0074] Optionally, when the client obtains the size data of the part processing content of the three-dimensional model, it also obtains the processing direction information of the part processing content.
[0075] Optionally, after obtaining the part dimension data and part processing content dimension data of the target part, the client aggregates the part dimension data and part processing content dimension data and marks them as geometric data of the target part, and sends the geometric data of the target part to the server for use when the server generates customized price rendering parameters.
[0076] Optionally, in another embodiment, the client also obtains one or more data of the slope area, plane area and curved surface area of the target part, and summarizes the obtained slope area, plane area and curved surface area into the geometric data of the target part, and sends the geometric data of the target part to the server side, so that the server side can generate customized price rendering parameters based on the geometric data of the target part.
[0077] Step S20: determining rendering parameters of a quotation interface corresponding to the target part according to the geometric data;
[0078] Specifically, a material unit price database is built into the server, and a mapping relationship between each part material and part unit price is set in the material unit price database. The server receives the geometric data of the target part obtained by the client based on the part drawing, obtains the part size data in the geometric data of the target part, obtains the length data of the target part, the width data of the target part, and the height data of the target part, calculates the volume of the target part according to the length data of the target part, the width data of the target part, and the height data of the target part, multiplies the obtained volume of the target part by the density to obtain the weight of the target part, multiplies the material unit price corresponding to the part material by the weight of the target part, and obtains the required material cost rendering parameters for customizing the target part.
[0079] Optionally, in a specific embodiment, the server presets a single preset material unit price for the target part, and the server obtains the required material cost rendering parameters for the customized target part by multiplying the preset material unit price by the weight of the target part.
[0080] Optionally, in another specific embodiment, the server presets a plurality of preset material unit prices for the target part material. The server calculates the required material cost rendering parameters when the target part is customized using different preset materials based on the plurality of preset material unit prices, and displays the required material cost rendering parameters of the target part using different preset materials in a subsequent quotation interface.
[0081] Specifically, the server also calculates the processing cost rendering parameters of the target part according to the part processing content size data of the target part.
[0082] Specifically, the server obtains the hole geometry data in the part processing content size data, that is, the diameter and depth of the hole. Specifically, the interface generation device has a built-in database of processing unit prices for different hole diameters, and the processing unit prices for holes of different diameters are different. In a specific embodiment, the processing unit price for holes with a diameter of 8mm (unit: millimeter) to 9mm (unit: millimeter) is 0.1 yuan per 1mm (unit: millimeter) of depth; the processing unit price for holes with a diameter of 9mm (unit: millimeter) to 10mm (unit: millimeter) is 0.15 yuan per 1mm (unit: millimeter) of depth. The interface generation device retrieves the processing unit price database and calculates the processing fee rendering parameters of the hole processing content of the target part accordingly.
[0083] Specifically, the server side also obtains the groove-type geometric data in the dimension data of the part processing content, namely, the groove volume and the groove area. Optionally, the processing fee rendering parameters of the groove-type processing content include rough processing fee rendering parameters and fine processing fee rendering parameters. The interface generation device presets the rough processing unit price per unit groove volume, and multiplies the rough processing unit price per unit groove volume by the groove volume, thereby obtaining the rough processing fee rendering parameters of the groove-type processing content of the target part. Optionally, the interface generation device also presets the fine processing unit price per unit groove area, and multiplies the fine processing unit price per unit groove area by the groove area that needs to be finely processed, thereby obtaining the fine processing fee rendering parameters of the groove processing content.
[0084] The server calculates the customized price rendering parameters of the target part based on the preset material unit price of the target part, the processing fee rendering parameters of the hole processing content, the rough processing fee rendering parameters of the groove processing content, the fine processing fee rendering parameters of the groove processing content and the corresponding processing difficulty coefficient.
[0085] Step S30: sending the rendering parameters to the client, wherein the client renders the quotation interface according to the rendering parameters and displays the quotation interface.
[0086] Specifically, after generating customized price rendering parameters and delivery cycle rendering parameters based on the geometric data of the target part, the server acquires the generated rendering parameters and sends them to the client.
[0087] After receiving the customized price rendering parameters, delivery cycle rendering parameters, target part number and three-dimensional model screenshot of the target part sent back by the server, the client generates a quotation interface for the customized part of the part drawing, and enters the target part number, part three-dimensional shape screenshot rendering parameters, delivery cycle rendering parameters and customized part quotation parameters into the quotation interface for the customized part, and renders the quotation interface for the customized part.
[0088] Specifically, the server can also determine the corresponding target part based on the target part number and the three-dimensional model screenshot, enter the customized price rendering parameters and delivery cycle rendering parameters of the target part into the quotation interface of the customized part, generate the quotation interface of the customized part on the server, and send the rendered quotation interface to the client.
[0089] Optionally, in a specific embodiment, the quotation interface of the customized parts can be set to a quotation form. Specifically, the server sends the delivery cycle rendering parameters and the customized price rendering parameters to the client, so that the client generates a quotation PDF file locally after receiving the delivery cycle rendering parameters and the customized price rendering parameters.
[0090] Optionally, in a specific embodiment, the rendering parameters of the quotation interface of the customized parts include customized part price rendering parameters, delivery cycle rendering parameters, customized part number, part three-dimensional screenshot rendering parameters and other quotation interface rendering parameters.
[0091] Optionally, the server sends the delivery cycle rendering parameters and customized price rendering parameters to the client, so that after receiving the delivery cycle rendering parameters and customized price rendering parameters, the client displays a quotation interface carrying the delivery cycle rendering parameters and customized price rendering parameters of the target part on the display interface, and sends a prompt message to the user indicating that the customized part quotation is completed.
[0092] Optionally, after receiving the user's order or order payment information, the client sends a model drawing upload request to the user, requesting the user to upload the complete part processing drawing of the customized part, and the manufacturer processes and customizes the customized part according to the complete part processing drawing. The order payment information includes feedback information generated after the user completes the part payment through the payment link or payment QR code.
[0093] Specifically, after the client obtains the part processing drawing, it transmits the part processing drawing to the server. After the server obtains the part processing drawing, it associates and binds the part processing drawing with the quotation number and stores it in a designated storage folder.
[0094] In this embodiment, the server calculates the customized price rendering parameters of the target part based on the geometric data and processing difficulty coefficient of the target part measured by the client, and sends the customized price rendering parameters and delivery cycle rendering parameters to the client, driving the client to generate a quotation interface for the customized part carrying the customized price rendering parameters, and displays the rendered quotation interface on the display interface to achieve fast and unified quotation, reduce human errors caused by human factors in the quotation process, improve the effectiveness of customized parts quotation, and effectively shorten the quotation cycle of customized parts, save users' waiting time, and improve user experience.
[0095] Reference Figure 4 , Figure 4 It is a flowchart of another embodiment of the interface generation method of the present invention.
[0096] Step S01: The server side presets a processing difficulty coefficient identification model, wherein the processing difficulty coefficient identification model is provided with at least one processing difficulty coefficient interval;
[0097] Step S21: inputting the geometric data of the target part into the processing difficulty coefficient identification model to calculate the processing difficulty coefficient of the target part.
[0098] In this embodiment, a processing difficulty coefficient identification model for distinguishing the processing difficulty coefficient of the target part is set in the server side. Specifically, at least one processing difficulty coefficient interval is preset in the processing difficulty coefficient identification model. The server side determines the processing difficulty coefficient of the target part from multiple dimensions according to the processing difficulty coefficient identification model, wherein the processing difficulty coefficient is a correlation coefficient for determining the customization difficulty of the target part. The larger the processing difficulty coefficient, the larger the delivery cycle rendering parameter and the customization price rendering parameter.
[0099] Specifically, the processing difficulty coefficient identification model presets an identification interval for determining the processing difficulty coefficient according to the part size. Optionally, in actual applications, the larger the target part to be processed, the larger the processing machine tool required, and therefore the corresponding part processing difficulty coefficient is also greater. In one embodiment, the processing difficulty coefficient interval is set according to the part size threshold of the target part, and a small part interval, a medium-sized part interval, and a large part interval are set. The processing difficulty coefficients corresponding to the small part interval, the medium-sized part interval, and the large part interval increase in sequence. Optionally, in another embodiment, the identification intervals for refining each processing difficulty coefficient can be further set according to actual needs.
[0100] Specifically, the processing difficulty coefficient identification model also presets an identification interval for determining the processing difficulty coefficient according to the number of processing surfaces of the target part. Specifically, the more processing surfaces the target part needs to process, the more complex the target part is, and the greater the corresponding processing difficulty coefficient is. The processing difficulty coefficient identification model sets a plurality of identification intervals with different numbers of processing surfaces in the processing difficulty coefficient identification interval in accordance with the number of processing surfaces of the part from small to large. The more processing surfaces the identification interval corresponds to, the greater the corresponding processing difficulty coefficient.
[0101] Specifically, the processing difficulty coefficient identification model also presets an algorithm interval for determining the processing difficulty coefficient according to the part processing content. Specifically, the algorithm interval sets a plurality of processing difficulty coefficient identification intervals corresponding to the hole size data, groove size data, hole position information, groove position information and processing direction of the processing content in the part processing content. The processing difficulty coefficient of the target part is analyzed according to the identification interval, so as to determine the identification interval that the processing difficulty coefficient of the target part meets.
[0102] Specifically, after obtaining the geometric data of the target part sent by the client, the server inputs the geometric data of the target part into the processing difficulty coefficient identification model, calls the processing difficulty coefficient identification model to analyze the geometric data of the target part, thereby comprehensively calculating the processing difficulty coefficient of the target part, and finally outputs the processing difficulty coefficient of the target part.
[0103] Specifically, the server side is also provided with a delivery cycle database, wherein the delivery cycle rendering parameters corresponding to the processing difficulty coefficient are preset in the delivery cycle database.
[0104] Specifically, after the processing difficulty coefficient of the target part is obtained on the server side, the delivery cycle rendering parameter of the target part is obtained according to the processing difficulty coefficient. The greater the processing difficulty coefficient, the greater the value of the delivery cycle rendering parameter.
[0105] Specifically, the server also determines the customized price rendering parameters of the target part based on the processing difficulty coefficient, geometric data and preset material unit price of the target part, wherein the customized price rendering parameters of the target part include the material cost rendering parameters of the target part and the processing cost rendering parameters of the target part.
[0106] Specifically, after determining the delivery cycle rendering parameters of the target part, the server transmits the delivery cycle rendering parameters and the customized price rendering parameters of the target part to the client, so that the client renders the quotation interface according to the delivery cycle rendering parameters and the customized price rendering parameters.
[0107] In this embodiment, by acquiring a part drawing file carrying a target part to be customized, extracting a 3D model of the target part based on the part drawing file, and measuring the geometric data of the 3D model according to the 3D model of the target part, and inputting the geometric data into a preset processing difficulty coefficient model, the processing difficulty coefficient of the target part is determined according to the geometric data. The delivery cycle rendering parameters of the target part are determined according to the acquired processing difficulty coefficient, so that the client can further render the quotation interface according to the delivery cycle rendering parameters.
[0108] In addition, to implement the above embodiment, the present application also provides an interface generation system, which includes:
[0109] A client, the client is used to receive a part drawing, obtain a three-dimensional model of a target part carried in the part drawing, obtain geometric data of the target part based on the three-dimensional model, send the geometric data of the target part to a server, and render a quotation interface of the target part according to rendering parameters returned by the server;
[0110] A server side, the server side is used to receive the geometric data of the target part sent by the client, generate corresponding rendering parameters of the target part based on the geometric data, transmit the rendering parameters to the client, and drive the client to render the quotation interface of the target part accordingly;
[0111] When executed, the interface generation system implements any steps of the interface generation method described in the above embodiment.
[0112] In addition, the present application also provides a computer-readable storage medium, on which an interface generation program is stored, and when the interface generation program is executed by a processor, the steps of the above-mentioned interface generation method are implemented.
[0113] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, drug or system including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, drug or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, drug or system including the element.
[0114] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0115] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.
[0116] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for generating an interface, characterized in that: The interface generation method comprises the following steps: The server receives the geometric data of the target part sent by the client, wherein the geometric data is the part data obtained by the client scanning the three-dimensional model of the target part, the three-dimensional model refers to the three-dimensional model of the part identified by the client in the part drawing after receiving the part drawing, and the part data refers to the part processing content size data of the target part obtained by the client performing geometric analysis on the three-dimensional model, and the part processing content size data at least includes the hole size data of the hole required to be processed and opened on the target part, and the hole size includes the diameter and depth of the hole; Determine rendering parameters of a corresponding quotation interface of the target part according to the geometric data; Sending the rendering parameters to a client, wherein the client renders the quotation interface according to the rendering parameters and displays the quotation interface; The rendering parameters include a delivery cycle rendering parameter and a custom price rendering parameter. The step of determining the rendering parameters of the corresponding quotation interface of the target part according to the geometric data includes: Presetting a processing difficulty coefficient identification model, wherein the processing difficulty coefficient identification model is provided with at least one processing difficulty coefficient interval; Inputting the geometric data of the target part into the processing difficulty coefficient identification model to calculate the processing difficulty coefficient of the target part; Calculate the delivery cycle rendering parameters of the quotation interface of the target part according to the processing difficulty coefficient of the target part; Calculate the customized price rendering parameters of the corresponding quotation interface of the target part according to the preset material unit price, the geometric data, and the processing difficulty coefficient; After the step of determining the rendering parameters of the quotation interface corresponding to the target part according to the geometric data, the method further includes: Obtaining the serial number and / or three-dimensional model screenshot of the target part sent by the client; Rendering parameters corresponding to the number and / or the three-dimensional model screenshot of the target part are extracted, and a quotation interface of the target part is rendered accordingly.
2. The interface generation method according to claim 1, characterized in that: The steps for the server to receive the geometric data of the target part sent by the client include: The client extracts the three-dimensional model of the target part corresponding to the preset name in the part drawing file; Receive the geometric data of the target part corresponding to the preset name acquired by the client.
3. A method for generating an interface, characterized in that: The interface generation method comprises the following steps: The client obtains a part drawing and a three-dimensional model of a target part in the part drawing; Measuring geometric data of the target part based on the three-dimensional model of the target part; Sending the geometric data of the target part to the server, and receiving rendering parameters of the quotation interface returned by the server; Rendering the quotation interface of the target part according to the rendering parameters of the quotation interface, and displaying the quotation interface of the target part; Confirm the order payment information of the target part, display a reminder to upload the part processing drawing, and receive the part processing drawing; The step of measuring the geometric data of the target part based on the three-dimensional model of the target part comprises: Scanning the three-dimensional model of the target part to determine the number of part processing surfaces and part processing content of the target part; Acquire part size data and part processing content size data of the target part, wherein the part processing content size data at least includes hole size data of a hole required to be processed and opened in the target part, and the hole size includes a diameter and a depth of the hole; Marking the part size data, the number of part processing surfaces and the part processing content size data as the geometric data of the target part; The rendering parameters include a delivery cycle rendering parameter and a custom price rendering parameter. The step of sending the geometric data of the target part to the server and receiving the rendering parameters of the quotation interface returned by the server includes: Presetting a processing difficulty coefficient identification model, wherein the processing difficulty coefficient identification model is provided with at least one processing difficulty coefficient interval; Inputting the geometric data of the target part into the processing difficulty coefficient identification model to calculate the processing difficulty coefficient of the target part; Calculate the delivery cycle rendering parameters of the quotation interface of the target part according to the processing difficulty coefficient of the target part; Calculate the customized price rendering parameters of the corresponding quotation interface of the target part according to the preset material unit price, the geometric data, and the processing difficulty coefficient; The step of rendering the quotation interface of the target part according to the rendering parameters of the quotation interface includes: Obtaining the serial number and / or three-dimensional model screenshot of the target part sent by the client; Rendering parameters corresponding to the number and / or the three-dimensional model screenshot of the target part are extracted, and a quotation interface of the target part is rendered accordingly.
4. An interface generation device, characterized in that: The interface generation device includes a memory, a processor, and an interface generation program stored in the memory and executable on the processor. When the processor executes the interface generation program, the steps of the interface generation method according to any one of claims 1 to 3 are implemented.
5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an interface generation program, and when the interface generation program is executed by the processor, the steps of the interface generation method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Cyclone separator customization system
CN104008488A
Three-dimensional model printing cost evaluation method and device
CN108305095A
Commodity customization method and device, equipment and storage medium
CN111028045A