CN115081042B - Rendering method, device, equipment and storage medium based on sole characteristic data - Google Patents

Rendering method, device, equipment and storage medium based on sole characteristic data Download PDF

Info

Publication number
CN115081042B
CN115081042B CN202210745550.0A CN202210745550A CN115081042B CN 115081042 B CN115081042 B CN 115081042B CN 202210745550 A CN202210745550 A CN 202210745550A CN 115081042 B CN115081042 B CN 115081042B
Authority
CN
China
Prior art keywords
data
component
mapping
sole
characteristic data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210745550.0A
Other languages
Chinese (zh)
Other versions
CN115081042A (en
Inventor
林子森
黄南海
谢冬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Shidi Intelligent Technology Co Ltd
Original Assignee
Guangdong Shidi Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Shidi Intelligent Technology Co Ltd filed Critical Guangdong Shidi Intelligent Technology Co Ltd
Priority to CN202210745550.0A priority Critical patent/CN115081042B/en
Publication of CN115081042A publication Critical patent/CN115081042A/en
Application granted granted Critical
Publication of CN115081042B publication Critical patent/CN115081042B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • G06F30/27Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/04Constraint-based CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/04Indexing scheme for image data processing or generation, in general involving 3D image data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application discloses a rendering method, device and equipment based on sole characteristic data and a storage medium. The application belongs to the field of computers. The method comprises the following steps: acquiring characteristic data of a first part of the shoe body based on the shoe body design interface; reading the associated sole components from the pre-established association relationship; determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component according to a preset mapping rule; the target characteristic data comprise material data, thickness data and layer number data of the sole component; and determining target characteristic data of the sole component based on the mapping relation, obtaining a rendering model of the sole component, and displaying the rendering model. According to the technical scheme, the problem that the efficiency is low due to the fact that the determination of the characteristics of the sole component is carried out according to personal experience of a designer in the prior art can be solved, an efficient and convenient automatic generation mechanism for the characteristic data of the sole component is provided, and the efficiency of determining the characteristics of the sole component is improved.

Description

Rendering method, device, equipment and storage medium based on sole characteristic data
Technical Field
The application belongs to the field of computers, and particularly relates to a rendering method, device, equipment and storage medium based on sole characteristic data.
Background
In the existing design system, such as the design of shoes, the determination of data such as the material, thickness and layer number of sole components is one of important design links. In a typical design, options corresponding to different data dimensions are provided for a designer to select respectively, and then displayed according to the selected results for the designer to check whether the design meets the expected effect.
In the prior art, the characteristic data of the sole component is manually selected according to personal experience of a designer, and the operation method has low efficiency and needs improvement.
Disclosure of Invention
The embodiment of the application aims to provide a rendering method, a rendering device, rendering equipment and a storage medium based on sole feature data, which can solve the problem of low efficiency caused by determining the sole feature by depending on personal experience of a designer, provide an efficient and convenient automatic generation mechanism of sole feature data, and improve the efficiency of determining the feature of a shoe body.
In a first aspect, an embodiment of the present application provides a rendering method based on sole feature data, where the method includes:
if the condition that the first part is positioned on the shoe body design interface is detected, acquiring characteristic data of a first part of the shoe body;
reading the sole component associated with the first component from a pre-established association relationship;
determining the mapping relation between the characteristic data of the first part and the target characteristic data of the sole part according to a preset mapping rule; the target characteristic data comprise material data, thickness data and layer number data of the sole component;
and determining target feature data of the sole component based on the mapping relation, obtaining a rendering model of the sole component, and displaying the rendering model.
Further, the first component includes an upper;
the characteristic data of the first component includes: at least one of color matching data, material data, texture data and wiring data of the vamp.
Further, determining, according to a preset mapping rule, a mapping relationship between the feature data of the first component and the target feature data of the sole component, includes:
determining a data dimension of the feature data of the first component;
Determining a mapping function of data dimension adaptation of the characteristic data of the first component according to a preset mapping rule;
and determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component based on the mapping function.
Further, determining, according to a preset mapping rule, a mapping relationship between the feature data of the first component and the target feature data of the sole component, includes:
determining a data dimension of the feature data of the first component;
taking the data dimension of the characteristic data of the first component as input data, and inputting the data dimension into a pre-trained mapping model;
identifying a mapping function output by the mapping model and a mapping function weight;
and determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component based on the mapping function and the mapping function weight.
Further, determining target feature data for the sole component based on the mapping relationship includes:
reading the mapping relation;
determining a mapping result of target feature data of the sole component based on the mapping relationship;
identifying a number of mapping results for target feature data for the sole component;
And determining target characteristic data of the sole component according to the number of the mapping results.
Further, determining target feature data of the sole component according to the number of mapping results, including:
if the number of the mapping results is 1, determining target characteristic data of the sole component according to the mapping results;
if the number of the mapping results is at least 2, determining target feature data of the sole component according to the mapping function weight of each mapping result; wherein the mapping function weight is determined based on a preset mapping rule.
Further, prior to determining the target characteristic data for the sole component, the method further comprises:
acquiring physical constraint conditions of target feature data of the sole component;
accordingly, determining target feature data for the sole component based on the mapping relationship includes:
and determining target feature data of the sole component based on the mapping relationship and physical constraint conditions of the target feature data of the sole component.
In a second aspect, embodiments of the present application provide a rendering device based on sole feature data, where the device includes:
The acquisition module is used for acquiring the characteristic data of the first part of the shoe body if the shoe body is detected to be positioned at the shoe body design interface;
the reading module is used for reading the sole component associated with the first component from the pre-established association relation;
the determining module is used for determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component according to a preset mapping rule; the target characteristic data comprise material data, thickness data and layer number data of the sole component;
and the display module is used for determining the target characteristic data of the sole component based on the mapping relation, obtaining a rendering model of the sole component and displaying the rendering model.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor implement the steps of the method according to the first aspect.
In the embodiment of the application, based on a shoe body design interface, acquiring characteristic data of a first part of a shoe body; reading the associated sole components from the pre-established association relationship; determining the mapping relation between the characteristic data of the first part and the target characteristic data of the sole part according to a preset mapping rule; the target characteristic data comprise material data, thickness data and layer number data of the sole component; and determining target feature data of the sole component based on the mapping relation, obtaining a rendering model of the sole component, and displaying the rendering model. According to the technical scheme, the problem that the efficiency is low due to the fact that the determination of the characteristics of the sole component is carried out according to personal experience of a designer in the prior art can be solved, an efficient and convenient automatic generation mechanism for the characteristic data of the sole component is provided, and the efficiency of determining the characteristics of the sole component is improved.
Drawings
Fig. 1 is a flowchart of a rendering method based on sole feature data according to an embodiment of the present application;
FIG. 2 is a flowchart of another rendering method based on sole feature data according to an embodiment of the present invention;
FIG. 3 is a flowchart of another rendering method based on sole feature data according to an embodiment of the present invention;
FIG. 4 is a flowchart of another rendering method based on sole feature data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a rendering device based on sole feature data according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments thereof is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The method, the device, the equipment and the storage medium for rendering the sole characteristic data provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart of a rendering method based on sole feature data according to an embodiment of the present application, where the rendering method based on sole feature data according to an embodiment of the present application may be implemented by a rendering device based on sole feature data, and the rendering device based on sole feature data may be implemented by hardware and/or software and integrated in a computer device. Referring to fig. 1, the method may specifically include:
and S110, if the condition that the shoe body is in the shoe body design interface is detected, acquiring the characteristic data of the first part of the shoe body.
The use scene of this scheme is the designer and carries out the design of the shoes body through intelligent terminal, in this process, can design to shoe last characteristic data, vamp characteristic data, sole characteristic data and shoelace characteristic data etc. design. Specifically, the design software may be run on the intelligent terminal, or the design page may be accessed through a browser. The intelligent terminal can be intelligent equipment such as a computer, a tablet personal computer and a smart phone, and is not particularly limited herein.
The shoe body design interface is an interface for a designer to design a shoe body model. The shoe body design interface comprises a three-dimensional shoe body model for displaying design results. In this embodiment, the detection of the shoe design interface may be that the intelligent terminal recognizes that the design software is triggered, or may be that a website of the shoe design interface is accessed through recognition of a browser.
The first component of the shoe body may be an upper component, a lace component, a last component, or the like. The characteristic data may be data information characterizing properties of the body component, such as material characteristic data of the upper, color characteristic data of the lace, and the like. In the application, the feature data may be obtained by the intelligent device after the designer selects the attribute feature of the first component, or the intelligent device may automatically obtain the feature data of the first component according to every preset time, where the obtained frequency may be set according to the requirement, and the obtaining frequency is not excessively limited.
In this embodiment, taking the design of the shoe body by the designer through the intelligent terminal as an example, when the intelligent terminal detects that the design software is triggered, the intelligent device obtains the feature data of the vamp component based on the selection operation of the attribute features of the vamp component by the designer.
In this embodiment, optionally, the first component may be an upper; the characteristic data of the first component may be one or a combination of any of color matching data, material data, texture data and wiring data of the vamp. The color matching data may be all colors included in the vamp, for example, if the vamp is a checkerboard with red and white phases, the color matching data is red and white, and if the vamp is pure black, the color matching data is black. The material data can be the material of constituteing the vamp, can be one kind or also can be multiple, for example, if only include the canvas this kind of material in the vamp, then material data is canvas, if the vamp comprises canvas and chamois leather jointly, then material data is canvas and chamois leather. The texture data may be texture of the physical material that makes up the upper, such as a smooth texture of leather shoes, an alligator skin texture. The routing data may be a stitched line on the upper, such as a double loop stitched line at the toe cap.
The intelligent device obtains color matching characteristic data of the vamp part based on the selection operation of the color matching of the vamp part by the designer. Illustratively, if the designer selects the vamp component to be black and white, the intelligent device acquires the color matching data to be black and white, and uploads the acquired color matching characteristic data of the vamp component to the display terminal for display. By acquiring the characteristic data of the vamp component, the characteristic data of other components of the shoe body can be matched with the characteristic data based on the characteristic data, so that the suitability of the different components of the shoe body is improved.
In this embodiment, optionally, the characteristic data of the vamp part may be height data, and the vamp height may be the height of the vamp in the shoe body three-dimensional model. The characteristic data of other parts of the shoe body are determined based on the obtained height data of the vamp, so that the overall smoothness of the shoe body can be ensured.
S120, reading the sole component associated with the first component from the pre-established association relation.
The pre-constructed association relationship may be a file, a database table, or the like for embodying a relationship in which attribute association exists between the first component and the other component. The construction process of the scheme can be completed based on manual operation of a designer, and can also be completed by training a machine learning model. The sole component may be a component of the bottom of the shoe body, which may include, but is not limited to, the cushion of athletic shoes, the heel of high-heeled shoes, and the integral sole of leather shoes.
In this embodiment, the number information of the first component may be used to read the number information by referring to the database table. If it is pre-stored in the database table and its associated other components are stored, then the read is determined to be successful, and if it is not stored, then the read is determined to be failed.
The scheme is to determine whether the first part has the associated sole part or not based on a pre-established association relation. By adopting the means, the complex operation of independently designing each part and then comprehensively adjusting is avoided in the design process. The association relation is constructed in advance, the related components with the association relation can be directly read in the design process, and the attribute information of the related components is determined, so that the design time can be saved, the consistency of the overall design of the shoe body can be ensured, and the obtained design result is more in line with the conception of a designer.
S130, determining the mapping relation between the characteristic data of the first part and the target characteristic data of the sole part according to a preset mapping rule; the target characteristic data comprise material data, thickness data and layer number data of the sole component.
In this embodiment, the mapping rule may be a file, database table, or the like that specifies whether or not there is a correspondence between the feature data of the first component and the target feature data of the sole component. The mapping relationship may be a file, database table defining a correspondence rule between the characteristic data of the first component and the target characteristic data of the sole component. The target characteristic data of the sole may be characteristic data to be determined that is adapted to the first component of the body of the shoe.
The mapping rules and the mapping relations are correspondingly stored in a database table, and a designer can determine the mapping rules and the mapping relations between the characteristic data of the first part of the shoe body and the target characteristic data of the sole part by querying the database table. If the mapping rule specifies that the two feature data have a mapping relationship, a specific corresponding rule is queried through the mapping relationship. It will be appreciated that if certain characteristic data of the first component does not affect certain characteristic data of the sole component, there is no mapping relationship between the two. For example, if the color matching data of the vamp component does not affect the layer number data of the sole component, a mapping relationship does not exist between the color matching data and the layer number data; if the material data of the upper part affects the material data of the sole part, a mapping relationship exists between the upper part and the sole part. The plurality of feature data of the first component may all affect a certain target feature data of the sole component, that is, a mapping relationship exists between the plurality of feature data of the first component and the target feature data of the sole component.
In this embodiment, the target characteristic data of the sole component may be material data, thickness data, and layer number data. The material data refers to the material materials composing the sole, including but not limited to vulcanized soles, cowhells, etc. The thickness data refers to the sole height, which may be the overall sole height of the flat sole, or the height described in the heel, front cushion, etc. of the high-heeled shoe. The layer number data can be divided into different layer numbers according to different materials, and also can be divided into different layer numbers according to different heights of different positions of the sole.
And S140, determining target characteristic data of the sole component based on the mapping relation, obtaining a rendering model of the sole component, and displaying the rendering model.
In this embodiment, the rendering model may be a three-dimensional model that renders according to the target feature data of the sole component, and the entity effect of the sole component corresponding to the target feature data of the sole component may be intuitively displayed through the three-dimensional model.
In the scheme, the mapping relation between the target characteristic data of the sole component and the characteristic data of the first component of the shoe body is used as input data to be input into a machine learning model, and the machine output model directly outputs the target characteristic data of the sole component based on the mapping relation. And rendering and displaying the three-dimensional model of the sole component according to the output target characteristic data of the sole component.
In this embodiment, optionally, the rendering model of the sole component may be displayed separately, or may be displayed in the same three-dimensional shoe body model in combination with the first component. The designer can intuitively know the entity effect corresponding to the target characteristic data of the sole component and the integral effect of the combination of the sole component and the first component according to the rendering model in the display interface.
In this embodiment, optionally, the rendering model of the sole component has an editing function, and when a designer finds that an error exists in the rendering model corresponding to the output target feature data of the sole component or the rendering model does not conform to the design principle, the rendering model of the sole component can be manually modified, so that the rendering model of the sole component is more accurate and attractive.
According to the embodiment, according to a preset mapping rule, a mapping relation between the feature data of the first component and the target feature data of the sole component is determined, the target feature data of the sole component is determined based on the mapping relation, a rendering model of the sole component is obtained, and the rendering model is displayed. The target characteristic data of the sole component is automatically generated through the characteristic data of the vamp component and the preset mapping rule, so that the problem that the efficiency is low due to the fact that the characteristic of the sole component is determined according to personal experience of a designer in the prior art is solved, and the efficiency of determining the target characteristic data of the sole component is improved. Rendering and displaying the sole component model according to the automatically generated target feature data, so that a user can intuitively acquire a rendering result of the sole component model corresponding to the automatically generated target feature data, and user experience is improved.
On the basis of the above embodiments, fig. 2 is a flowchart of another rendering method based on sole feature data according to an embodiment of the present invention, where the rendering method based on sole feature data is a specific implementation of the rendering method based on sole feature data. Referring to fig. 2, the rendering method based on sole feature data includes:
and S210, if the condition that the shoe body is in the shoe body design interface is detected, acquiring characteristic data of a first part of the shoe body.
S220, reading the sole component associated with the first component from the pre-established association relation.
S230, determining the data dimension of the characteristic data of the first component.
In this embodiment, the data dimension refers to data information of a plurality of feature corresponding attributes of the first component. For example, the data dimension of the first component may be attribute information for a plurality of characteristics of the upper component, such as color, texture, and wiring. For example, the vamp component has red and white color matching data, canvas as material data, crocodile skin as texture data and a stitch line along the sole as wiring data.
In this solution, optionally, the data dimension may be obtained based on a data dimension obtaining operation of the designer, and may also be automatically generated based on an attribute selecting operation of the designer on the first component of the shoe body.
S240, determining a mapping function of the data dimension adaptation of the characteristic data of the first component according to a preset mapping rule.
In this embodiment, the mapping function refers to specific data representing a rule corresponding to a data dimension of the feature data of the first component, the mapping function may be obtained by training a machine learning model, querying a mapping rule in a database table, if a correspondence exists between the feature data of the first component and the sole target feature data, inputting the data dimension and the correspondence of the first component as input data to the machine learning model, and outputting the mapping function corresponding to the data dimension by the model.
In the scheme, a mapping rule is queried through a database table, the data characteristic of a first component with a corresponding relation with a target data characteristic is determined, and a mapping function with the data dimension of the data characteristic being matched is determined. For example, the mapping function corresponding to the material data of the upper member may be the sole vulcanized sole corresponding to the upper canvas by querying the mapping rules to determine the material data of the upper member corresponding to the material data of the sole member.
S250, determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component based on the mapping function.
In this scheme, the mapping relationship between the feature data of the first component and the target feature data of the sole component can be directly determined according to the rule of correspondence of the dimension data of the first component represented by the mapping function. For example, if the mapping function corresponding to the material data of the vamp component may be a sole vulcanized material corresponding to the vamp canvas, it may be determined that the mapping relationship between the material data of the vamp component and the material data of the sole component is a sole vulcanized material corresponding to the canvas material of the vamp component.
And S260, determining target characteristic data of the sole component based on the mapping relation, obtaining a rendering model of the sole component, and displaying the rendering model.
According to the embodiment, according to the preset mapping rule, the mapping function of the data dimension adaptation of the characteristic data of the first component is determined, the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component is determined based on the mapping function, and the mapping relation between the characteristic data of the vamp component and the characteristic data of the sole component is respectively determined, so that the sole target characteristic data is directly determined according to the vamp characteristic data and the mapping relation, on one hand, the sole target characteristic data can be directly and automatically determined, the efficiency of determining the sole target characteristic data is improved, on the other hand, the corresponding relation between the vamp component characteristic data and the sole target characteristic data is fully considered, and the obtained sole component target characteristic data is adapted to the vamp characteristic data.
On the basis of the above embodiments, fig. 3 is a flowchart of another rendering method based on sole feature data according to an embodiment of the present invention, where the rendering method based on sole feature data is a specific implementation of the rendering method based on sole feature data. Referring to fig. 3, the rendering method based on sole feature data includes:
and S310, if the condition that the shoe body is in the shoe body design interface is detected, acquiring the characteristic data of the first part of the shoe body.
S320, reading the sole component associated with the first component from the pre-established association relation.
S330, determining the data dimension of the characteristic data of the first component.
S340, taking the data dimension of the characteristic data of the first component as input data, and inputting the data dimension into a pre-trained mapping model.
The input data refers to original data utilized by analyzing a result through a certain algorithm or model, and the mapping model may be a learning machine model for analyzing the input data according to a preset algorithm and outputting a corresponding result. Wherein the mapping model may be derived based on multiple sets of training samples, each set of training samples may include sample dimension data and labeled mapping function results.
In this embodiment, the intelligent device inputs dimension data of the feature data of the first component to the mapping model, and the mapping model performs an operation with the dimension data as input data and outputs an operation result.
S350, identifying a mapping function output by the mapping model and mapping function weights.
In this embodiment, the mapping function weight may be used to characterize the importance degree of the mapping function corresponding to the feature data of the first component on the target feature data when the feature data of the plurality of first components have a corresponding relationship with a certain item of target feature data of the sole component. The identifying the mapping function and the mapping function weight may be that the intelligent device determines its corresponding mapping function and mapping function weight based on the dimension data number of the feature data of the input first component.
It will be appreciated that the greater the effect a certain characteristic data of a first component has on the target characteristic data of a sole component, the greater the weighting coefficient of the mapping function corresponding to the data dimension of this characteristic data. Illustratively, the material data and the wiring data of the vamp component have a corresponding relationship with the thickness data of the sole component, and the importance degree of the material data of the vamp component to the thickness data of the sole component is greater than the importance degree of the wiring data of the vamp component to the thickness data of the sole component, so that the mapping function weight coefficient corresponding to the material data of the vamp component is given to be 0.6, and the mapping function weight coefficient corresponding to the wiring data of the vamp component is given to be 0.4. Optionally, if only one dimension data exists in the feature data of the first component and a corresponding relation exists between the feature data and the target feature data in the sole component, a weight coefficient corresponding to a mapping function corresponding to the dimension data is 1.
S360, determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component based on the mapping function and the mapping function weight.
In this embodiment, the mapping relationship between the feature data of the first component and the target feature data of the sole component may be determined by multiplying a mapping function by a weight coefficient of the mapping function. For example, there is a correspondence between the material data of the vamp part and the thickness data of the sole part, the mapping function of the material data of the vamp part and the thickness data of the sole part is that the canvas material corresponds to the thickness of 2 cm, and the weight coefficient of the mapping function is 0.6, so that the mapping relationship between the material data of the vamp part and the thickness data of the sole part is that the canvas material of the vamp part corresponds to the thickness data of the sole part of 2×0.6=1.2 cm. When the weight coefficient of the mapping function is 1, the mapping function directly characterizes the mapping relation.
And S370, determining target characteristic data of the sole component based on the mapping relation, obtaining a rendering model of the sole component, and displaying the rendering model.
In the above, the data dimension of the feature data of the first component is used as input data, the input data is input into the pre-trained mapping model, the mapping function and the mapping function weight output by the mapping model are identified, the mapping relation between the feature data of the first component and the target feature data of the sole component is determined based on the mapping function and the mapping function weight, and the mapping function corresponding to the data dimension of the feature data of the vamp component can be determined more accurately through the pre-trained mapping model. The mapping relation is determined through the mapping function and the weight of the mapping function, the importance degree of the characteristic data of the plurality of first components to the target characteristic data of the sole component is comprehensively considered, and the obtained mapping relation can be more accurate.
On the basis of the above embodiments, fig. 4 is a flowchart of another rendering method based on sole feature data according to an embodiment of the present invention, where the rendering method based on sole feature data is a specific implementation of the rendering method based on sole feature data. Referring to fig. 4, the rendering method based on sole feature data includes:
and S410, if the shoe body design interface is detected, acquiring the characteristic data of the first part of the shoe body.
S420, reading the sole component associated with the first component from the pre-established association relation.
S430, determining a mapping relation between the characteristic data of the first part and the target characteristic data of the sole part according to a preset mapping rule; the target characteristic data comprise material data, thickness data and layer number data of the sole component.
S440, reading the mapping relation.
In this embodiment, the read mapping relationship may be a mapping relationship between the feature data of the first component stored in the database table and the target feature data of the sole component based on the number information of the target data feature.
S450, determining a mapping result of the target characteristic data of the sole component based on the mapping relation.
In this embodiment, the mapping result of the target feature data of the sole component may be a data result obtained by dimension data of feature data of the first component corresponding to the mapping result according to a corresponding rule, and the corresponding result corresponding to the air mapping relationship may be queried in the database table based on the number of the target feature data to determine. It will be appreciated that the mapping result corresponding to the target feature data of the sole component will only exist if there is a correspondence between the feature data of the first component and the target feature data of the sole component.
S460, identifying the number of mapping results of the target feature data of the sole component.
In this embodiment, the number of mapping results of the target characteristic data of the sole component is determined by the number of characteristic data of the upper component with which the mapping relationship exists. The number of mapping results identifying the target feature data of the sole component may be the number of feature data of the sole component with which a mapping relationship exists, i.e., the number of mapping results of the target feature data, which is queried in the database table based on the number of the target feature data. For example, if only the material data and the material data in the first component are found to have a mapping relationship in the database table based on the thickness number of the sole component, the mapping result of the material data of the sole component is 1, and if the material data and the wiring data in the first component are found to have a mapping relationship, the mapping result of the thickness data of the sole component is 2, that is, the material data and the wiring data of the first component generate a mapping result for the thickness data of the sole component respectively.
And S470, if the number of the mapping results is 1, determining target characteristic data of the sole component according to the mapping results.
In this embodiment, if the number of mapping results of the target data features is 1 as identified by the database table, the mapping results are directly used as the target feature data of the sole component. By way of example, the number of vamp part characteristic data having a mapping relation with the material data of the sole part is determined to be 1 by querying the database table, only the material data of the vamp part and the material data of the sole part have a mapping relation, and the mapping relation is that the canvas material of the vamp part corresponds to the vulcanized sole material of the sole part, and then the vulcanized sole material is directly used as the material data of the sole part.
S480, if the number of the mapping results is at least 2, determining target feature data of the sole component according to the mapping function weight of each mapping result; wherein the mapping function weight is determined based on a preset mapping rule.
In this embodiment, the target feature data of the sole component may be determined by multiplying and summing the mapping result with the weight coefficient of the mapping result. If the number of the mapping results of the target data features is 2 or more through the database table, determining the target feature data of the sole component according to the weight of each mapping result. And if the mapping relation exists between the feature data of the plurality of first components and the target feature data, determining the target feature data according to the importance degree of the plurality of mapping results on the target feature data.
Taking the example that the number of the first part characteristic data which are inquired in the database table and have a mapping relation with the thickness data of the sole part is 2 for description: for example, the material data and the wiring data of the vamp component have a mapping relationship with the thickness data of the sole component, the mapping result of the canvas material of the vamp component corresponding to the thickness data of the sole component is 2 cm, the weight coefficient is 0.6, the mapping result of the wiring data of the vamp component corresponding to the thickness data of the sole component is 1.5 cm, the weight coefficient is 0.4, and the thickness data of the sole component is 2×0.6+1.5×0.4=1.8 cm.
In this embodiment, the mapping function weight may be calculated by the learning machine model based on a preset mapping rule, or may be manually set by a designer, which is not limited herein.
In this embodiment, optionally, the physical constraint condition of the target feature data of the sole component may also be acquired before the target feature data of the sole component is determined. The physical constraint condition can be determined by inquiring a design principle data table of the shoe body model, or can be correspondingly set by a designer according to design requirements. Accordingly, when determining the target feature data, determining the target feature data of the sole component based on the mapping relationship and the physical constraints of the target feature data of the sole component. Inquiring a design principle data table to determine whether a mapping result corresponding to the mapping relation meets the requirement of the design principle, and if so, directly determining the mapping result as target feature data; if not, the data closest to the mapping result in the constraint condition range of the design principle data is taken as target characteristic data. For example, if the thickness data of the sole component is determined to be 1.8 cm according to the mapping relationship, and the physical constraint condition of the thickness data of the sole component is that the sole thickness does not exceed 1.5 cm, the thickness data of the sole component is determined to be 1.5 cm. The hardness requirement of the sole component can be determined through physical constraint conditions, and the corresponding relation between the characteristic data of the vamp component and the target characteristic data of the sole component is combined with the hardness requirement, so that the target characteristic data of the sole component is determined, and the obtained target characteristic data can be more in accordance with the requirement.
In this embodiment, the mapping relation is read, the number of mapping results of the target feature data of the sole component is identified, the target feature data of the sole component is determined according to the number of mapping results, the importance degree of the feature data of the plurality of first components on the target feature data of the sole component is comprehensively considered, and the suitability of the sole component and the vamp component is improved.
Fig. 5 is a schematic structural diagram of a rendering device based on sole feature data according to an embodiment of the present invention, and referring to fig. 5, the schematic structural diagram of the rendering device based on sole feature data according to the embodiment specifically includes: the various devices may be connected via a bus or other means, such as by a bus connection in fig. 5, for example, the acquisition module 510, the reading module 520, the determination module 530, and the display module 540.
The acquiring module 510 is configured to acquire feature data of the first component of the shoe body if the first component is detected to be in the shoe body design interface.
In one embodiment, the acquisition module is specifically configured to acquire the characteristic data of the upper component based on a designer's selection operation of the attribute characteristic of the upper component when the intelligent terminal detects that the design software is triggered.
The reading module 520 is configured to read the sole component associated with the first component from a pre-constructed association relationship.
In one embodiment, the reading module is specifically configured to read, based on the number information of the first component, other components associated with the first component, which are pre-stored in the database table, by querying from the database table.
The determining module 530 is configured to determine, according to a preset mapping rule, a mapping relationship between feature data of the first component and target feature data of the sole component; the target characteristic data comprise material data, thickness data and layer number data of the sole component.
In one embodiment, the determining module is specifically configured to determine, by querying a database table, a mapping relationship between the characteristic data of the first component of the shoe body and the target characteristic data of the sole component.
The display module 540 is configured to determine target feature data of the sole component based on the mapping relationship, obtain a rendering model of the sole component, and display the rendering model.
In one embodiment, the display module is specifically configured to display, in a display interface, a rendering result of the sole component model that is rendered based on the generated target feature data.
The determining module 530 includes a first determining unit for determining a data dimension of the feature data of the first component.
In one embodiment, the first determining unit is specifically configured to automatically generate the dimension data based on a selection operation of the attribute of the first part of the shoe body based on the designer.
The determining module 530 further includes a second determining unit, configured to determine, according to a preset mapping rule, a mapping function for adapting to a data dimension of the feature data of the first component.
In one embodiment, the second determining unit is specifically configured to determine, by querying a database table, a data feature of the first component having a correspondence with the target data feature, and determine a mapping function adapted to a data dimension of the data feature.
The determining module 530 further includes a third determining unit configured to determine a mapping relationship between the feature data of the first component and the target feature data of the sole component based on the mapping function.
In one embodiment, the third determining unit is specifically configured to directly determine a mapping relationship between the feature data of the first component and the target feature data of the sole component according to a rule corresponding to the dimension data of the first component represented by the mapping function.
The rendering device based on the sole characteristic data further comprises an input module, wherein the input module is used for inputting the data dimension of the characteristic data of the first component as input data into a pre-trained mapping model.
In one embodiment, the input module is specifically configured to input dimension data of the feature data of the first component into the mapping model, and the mapping model performs an operation with the dimension data as input data and outputs an operation result.
The rendering device based on the sole characteristic data further comprises the identification module, wherein the identification module comprises a first identification unit and is used for identifying the mapping function and the mapping function weight output by the mapping model.
In one embodiment, the first recognition module is specifically configured to determine a mapping function and a mapping function weight corresponding to the feature data of the first component based on the dimension data number of the feature data.
The determining module 530 further includes a fourth determining unit configured to determine a mapping relationship between the feature data of the first component and the target feature data of the sole component based on the mapping function and the mapping function weight.
In one embodiment, the fourth determining unit is specifically configured to determine a mapping relationship between the feature data of the first component and the target feature data of the sole component by multiplying the mapping function by a weight coefficient of the mapping function.
The reading module 520 includes a first reading unit for reading the mapping relationship.
In one embodiment, the first reading unit is specifically configured to read, based on the number information of the target data feature, a mapping relationship between the feature data of the first component stored in the database table and the target feature data of the sole component.
The determining module 530 further includes a fifth determining unit for determining a mapping result of the target feature data of the sole component based on the mapping relation.
In one embodiment, the fifth determining unit is specifically configured to query a database table for a corresponding result corresponding to the gas mapping relationship based on the number of the target feature data.
The identification module further includes a second identification unit for identifying a number of mapping results of the target feature data of the sole component.
In one embodiment, the second unit is specifically configured to query, in the database table, the number of feature data of the sole component having a mapping relationship with the number of the target feature data, that is, the number of mapping results of the target feature data.
The determining module 530 further includes a sixth determining unit, configured to determine target feature data of the sole component according to the number of mapping results, and if the number of mapping results is 1, determine target feature data of the sole component according to the mapping results; if the number of the mapping results is at least 2, determining target feature data of the sole component according to the mapping function weight of each mapping result; wherein the mapping function weight is determined based on a preset mapping rule.
In one embodiment, the sixth determining unit is specifically configured to, if the number of mapping results of the target data features is identified through the database table, directly take the mapping results as target feature data of the sole component if the number is 1; if the number is 2 or more, the result obtained by multiplying the mapping result by the weight coefficient of the mapping result and summing the result is used as the determination target feature data.
The acquisition module 510 includes a first acquisition unit for acquiring physical constraints of target feature data of the sole component.
In one embodiment, the first obtaining module is specifically configured to query a design principle data table of the shoe body model to obtain the physical constraint condition of the target feature data.
The determining module 530 further includes a seventh determining unit for determining target feature data of the sole component based on the mapping relationship, including: and determining target feature data of the sole component based on the mapping relationship and physical constraint conditions of the target feature data of the sole component.
In one embodiment, the seventh determining module is specifically configured to query a design principle data table to determine whether a mapping result corresponding to the mapping relationship meets a requirement of a design principle, and if so, directly determine the mapping result as target feature data; if not, the data closest to the mapping result in the constraint condition range of the design principle data is taken as target characteristic data.
The rendering device based on the sole characteristic data provided by the embodiment of the application can be used for executing the rendering method based on the sole characteristic data provided by the embodiment, and has corresponding functions and beneficial effects.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 6, the device includes a processor 610, a memory 620, an input device 630, and an output device 640. The number of processors 610 in the device may be one or more, one processor 610 being taken as an example in fig. 6; the processor 610, memory 620, input 630 and output 640 in the device may be connected by a bus or other means, for example in fig. 6. The present embodiments also provide a storage medium containing computer executable instructions, which when executed by a computer processor, are for performing a sole feature data-based rendering method, the sole feature data-based rendering method comprising: if the condition that the first part is positioned on the shoe body design interface is detected, acquiring characteristic data of a first part of the shoe body; reading the sole component associated with the first component from a pre-established association relationship; determining the mapping relation between the characteristic data of the first part and the target characteristic data of the sole part according to a preset mapping rule; the target characteristic data comprise material data, thickness data and layer number data of the sole component; and determining target feature data of the sole component based on the mapping relation, obtaining a rendering model of the sole component, and displaying the rendering model.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the sole feature data-based rendering method described above, and may also perform the relevant operations in the sole feature data-based rendering method provided in any embodiment of the present application.
The sole feature data-based rendering device and the storage medium provided in the foregoing embodiments may perform the sole feature data-based rendering method provided in any embodiment of the present application, and technical details not described in detail in the foregoing embodiments may be referred to the sole feature data-based rendering method provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (9)

1. A rendering method based on sole feature data, the method comprising:
if the condition that the first part is positioned on the shoe body design interface is detected, acquiring characteristic data of a first part of the shoe body;
reading the sole component associated with the first component from a pre-established association relationship;
according to a preset mapping rule, determining a mapping relation between the feature data of the first component and the target feature data of the sole component comprises: determining the data dimension of the characteristic data of the first component, determining a mapping function which is matched with the data dimension of the characteristic data of the first component according to a preset mapping rule, and determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component based on the mapping function; the target characteristic data comprise material data, thickness data and layer number data of the sole component;
and determining target feature data of the sole component based on the mapping relation, obtaining a rendering model of the sole component, and displaying the rendering model.
2. The method of claim 1, wherein the first component comprises an upper;
The characteristic data of the first component includes: at least one of color matching data, material data, texture data and wiring data of the vamp.
3. The method of claim 2, wherein determining the mapping relationship of the characteristic data of the first component to the target characteristic data of the sole component according to a preset mapping rule comprises:
determining a data dimension of the feature data of the first component;
taking the data dimension of the characteristic data of the first component as input data, and inputting the data dimension into a pre-trained mapping model;
identifying a mapping function output by the mapping model and a mapping function weight;
and determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component based on the mapping function and the mapping function weight.
4. The method of claim 1, wherein determining target characteristic data for the sole component based on the mapping relationship comprises:
reading the mapping relation;
determining a mapping result of target feature data of the sole component based on the mapping relationship;
identifying a number of mapping results for target feature data for the sole component;
And determining target characteristic data of the sole component according to the number of the mapping results.
5. The method of claim 4, wherein determining target characteristic data for the sole component based on the number of mapping results comprises:
if the number of the mapping results is 1, determining target characteristic data of the sole component according to the mapping results;
if the number of the mapping results is at least 2, determining target feature data of the sole component according to the mapping function weight of each mapping result; wherein the mapping function weight is determined based on a preset mapping rule.
6. The method of claim 5, wherein prior to determining the target characteristic data for the sole component, the method further comprises:
acquiring physical constraint conditions of target feature data of the sole component;
accordingly, determining target feature data for the sole component based on the mapping relationship includes:
and determining target feature data of the sole component based on the mapping relationship and physical constraint conditions of the target feature data of the sole component.
7. A rendering device based on sole characteristic data, comprising:
The acquisition module is used for acquiring the characteristic data of the first part of the shoe body if the shoe body is detected to be positioned at the shoe body design interface;
the reading module is used for reading the sole component associated with the first component from the pre-established association relation;
the determining module is used for determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component according to a preset mapping rule, and comprises the following steps: determining the data dimension of the characteristic data of the first component, determining a mapping function which is matched with the data dimension of the characteristic data of the first component according to a preset mapping rule, and determining the mapping relation between the characteristic data of the first component and the target characteristic data of the sole component based on the mapping function; the target characteristic data comprise material data, thickness data and layer number data of the sole component;
and the display module is used for determining the target characteristic data of the sole component based on the mapping relation, obtaining a rendering model of the sole component and displaying the rendering model.
8. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the sole characteristic data-based rendering method of any one of claims 1-6.
9. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the steps of the sole characteristic data-based rendering method according to any one of claims 1 to 6.
CN202210745550.0A 2022-06-27 2022-06-27 Rendering method, device, equipment and storage medium based on sole characteristic data Active CN115081042B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210745550.0A CN115081042B (en) 2022-06-27 2022-06-27 Rendering method, device, equipment and storage medium based on sole characteristic data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210745550.0A CN115081042B (en) 2022-06-27 2022-06-27 Rendering method, device, equipment and storage medium based on sole characteristic data

Publications (2)

Publication Number Publication Date
CN115081042A CN115081042A (en) 2022-09-20
CN115081042B true CN115081042B (en) 2023-07-21

Family

ID=83255068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210745550.0A Active CN115081042B (en) 2022-06-27 2022-06-27 Rendering method, device, equipment and storage medium based on sole characteristic data

Country Status (1)

Country Link
CN (1) CN115081042B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344904B (en) * 2022-10-18 2023-03-10 广东时谛智能科技有限公司 Shoe body model design method and device providing highly available association structure option
CN115544606B (en) * 2022-12-01 2023-05-12 广东时谛智能科技有限公司 Design method, device, equipment and medium of multifunctional shoe body

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106663134A (en) * 2014-06-23 2017-05-10 耐克创新有限合伙公司 Footwear designing tool
WO2017167628A1 (en) * 2016-03-29 2017-10-05 Koninklijke Philips N.V. Data model mapping

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101339640A (en) * 2008-08-27 2009-01-07 清华大学 Network platform based footwear customization system and method
US20230030271A1 (en) * 2019-12-20 2023-02-02 Ecco Sko A/S Automatic stitching of footwear parts
CN115334922A (en) * 2020-04-03 2022-11-11 耐克创新有限合伙公司 System and method for forming an article of footwear using a base footwear structure
CN114399615A (en) * 2021-12-24 2022-04-26 广东时谛智能科技有限公司 Efficient shoe color matching setting method and device based on three-dimensional model

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106663134A (en) * 2014-06-23 2017-05-10 耐克创新有限合伙公司 Footwear designing tool
WO2017167628A1 (en) * 2016-03-29 2017-10-05 Koninklijke Philips N.V. Data model mapping

Also Published As

Publication number Publication date
CN115081042A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN115081042B (en) Rendering method, device, equipment and storage medium based on sole characteristic data
US11243998B2 (en) User interface for context labeling of multimedia items
US20210256054A1 (en) Textual and image based search
JP3899523B2 (en) Image similarity calculation system and image search system
US9082162B2 (en) System and method for enabling image searching using manual enrichment, classification, and/or segmentation
WO2021036304A1 (en) Image retrieval method and device
US8090222B1 (en) Selection of an image or images most representative of a set of images
US8732025B2 (en) System and method for enabling image recognition and searching of remote content on display
CN114399615A (en) Efficient shoe color matching setting method and device based on three-dimensional model
US11841735B2 (en) Object based image search
CN114155328A (en) Shoe body exclusive customization method and device based on graphic elements and color matching data
CN114445554B (en) Special customization method and device for shoe body, electronic equipment and storage medium
CN115081043B (en) Method, device, equipment and storage medium for determining characteristic data in shoe body design
JP2009528117A (en) Identifying image feature sets for assessing image similarity
CN115033943B (en) Automatic shoelace characteristic determination method and device, electronic equipment and storage medium
CN114638026A (en) Block dividing method and device in shoe body design process
CN113192605A (en) Medical image classification method, medical image retrieval method and medical image retrieval device
US20050041886A1 (en) Image search program, information storage medium, image search apparatus and image search method
US20230011114A1 (en) Visual quality performance predictors
CN109635004B (en) Object description providing method, device and equipment of database
BR112021008735A2 (en) automatic real-time high dynamic range content analysis system
JP6997161B2 (en) Image-based data processing methods, devices, electronic devices, computer-readable storage media and computer programs
CN114611169B (en) Method and device for automatically generating selectable color scheme based on big data
CN113642667B (en) Picture enhancement strategy determination method and device, electronic equipment and storage medium
JP2010250634A (en) Image server, image retrieval system, image retrieval method, and index creation method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant