CN110069733B - Processing method and device for networked release data of mechanical products and storage medium - Google Patents
Processing method and device for networked release data of mechanical products and storage medium Download PDFInfo
- Publication number
- CN110069733B CN110069733B CN201910323002.7A CN201910323002A CN110069733B CN 110069733 B CN110069733 B CN 110069733B CN 201910323002 A CN201910323002 A CN 201910323002A CN 110069733 B CN110069733 B CN 110069733B
- Authority
- CN
- China
- Prior art keywords
- application
- loading
- priority
- model
- component
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T19/00—Manipulating 3D models or images for computer graphics
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Computer Graphics (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The disclosure relates to a mechanical product network release data processing method and device and a storage medium. The method comprises the following steps: acquiring an application mode of networked release application of a mechanical product model; extracting corresponding model grid data according to different application modes, and determining the loading priority of the model grid data; and gradually loading the corresponding model grid data according to the loading priority of the model grid data to realize model networked release. Aiming at the network release requirement of complex mechanical products, the method can realize the progressive loading method of three-dimensional models with different applications, and effectively improve the online loading speed of the complex models.
Description
Technical Field
The disclosure relates to the technical field of three-dimensional model networking display of complex mechanical products, in particular to a mechanical product networking release data processing method and device and a storage medium.
Background
With the development of network technology, the demand for checking the three-dimensional model of a mechanical product through a mobile network is more and more urgent, and the provision of rapid and real online display and interaction of the three-dimensional model of the product becomes a core technology for manufacturing enterprises to realize intelligent services. Generally, a three-dimensional model is composed of a large number of complex triangular meshes, however, the huge data volume of the three-dimensional model brings huge challenges to rendering performance, transmission bandwidth, storage capacity and the like of a network end.
Disclosure of Invention
The applicant found that: the related technology mechanical product processing method is to simplify the grid data of the three-dimensional model and generate the progressive grid of the model. Progressive mesh is a general storage and transmission scheme for triangular meshes, and comprises two processes of mesh simplification and mesh recovery. In the mesh simplification process, simplification operation information of each step is saved, thereby making it possible to restore the original model without loss.
However, a mechanical product is composed of a plurality of parts, is different from an ordinary three-dimensional model integral grid, and has different characteristics by itself, different networking application forms are different from a model checking mode, and the mode needs to be specifically processed by combining the characteristics of parts, so that the modes of model dismounting animation, part book detail interaction and the like cannot be displayed if the model is used as integral processing.
In the related technology, only one complete set of complete machine three-dimensional models is published in the networking publishing process of complex mechanical products, namely, the structural forms of the three-dimensional models searched by all users through a publishing terminal are completely consistent.
Due to the complex structure of the three-dimensional model of the complex mechanical product and the huge number of parts of the product, the problems of long model loading time and low user interaction response efficiency exist in the network release process of the whole machine product, and the requirements of various application scenes can not be effectively met.
In view of at least one of the above technical problems, the present disclosure provides a method and an apparatus for processing data distributed in a networked manner for a mechanical product, and a storage medium, which are used for realizing progressive loading of three-dimensional models of different applications according to the requirement of the networked distribution for a complex mechanical product.
According to one aspect of the disclosure, a method for processing networked release data of mechanical products is provided, which includes:
acquiring an application mode of networked release application of a mechanical product model;
extracting corresponding model grid data according to different application modes, and determining the loading priority of the model grid data;
and gradually loading the corresponding model grid data according to the loading priority of the model grid data to realize model networked release.
In some embodiments of the present disclosure, said progressively loading the corresponding model mesh data according to the loading priority of the model mesh data comprises:
carrying out encryption compression processing on the mode grid data;
and carrying out progressive loading on the encrypted and compressed model grid data according to the loading priority of the model grid data.
In some embodiments of the disclosure, the method for processing the networked release data of the mechanical product further includes:
an application mode of the networked release application of the mechanical product model is preset.
In some embodiments of the present disclosure, the application modes include whole level applications and component level applications.
In some embodiments of the present disclosure, for a whole-machine-level application, said extracting corresponding model mesh data, determining a loading priority of the model mesh data comprises:
establishing display quality grades of different models;
taking the display quality grades of different models as the loading priority of the model grid data;
and extracting the model appearance data according to the loading priority of the model grid data.
In some embodiments of the present disclosure, said extracting model appearance data according to loading priority of model mesh data comprises:
acquiring a shrinkage enveloping entity for the whole machine model, and acquiring a shrinkage entity only comprising the appearance;
setting the grid output precision of the contracted entity;
the contracted solid model is converted into triangulated mesh data.
In some embodiments of the present disclosure, for a component-level application, said extracting the corresponding model mesh data, determining a loading priority of the model mesh data comprises:
extracting the grid data of the related components according to the application mode of the product;
the load priority order of the components is determined.
In some embodiments of the present disclosure, the determining the loading priority order of the components comprises:
determining the loading priority of the published application component;
determining a loading priority for publishing the application independent component;
the loading priority is adjusted through interactive settings.
In some embodiments of the disclosure, the determining a loading priority of the publishing application component comprises:
acquiring a publishing application component complete set corresponding to all networked publishing applications;
setting a preset loading priority for each published application component in the published application component complete set;
judging whether each published application component is visible in the published application;
in the event that a published application component is visible in a published application, increasing a predetermined loading priority of the published application component.
In some embodiments of the disclosure, the determining a loading priority of publishing the application independent component comprises:
extracting all component sets contained in the mechanical product assembly model;
acquiring a publishing application component complete set corresponding to all networked publishing applications;
determining the combination of the application independent components according to the assembly sets and the release application component complete set;
a predetermined load priority is set for each published application component in the full set of published application independent components, wherein the predetermined load priority of the published application independent component is lower than the predetermined load priority of the published application component.
In some embodiments of the present disclosure, said determining a loading priority of publishing the application independent component further comprises:
all published application-independent components are merged and published as a whole.
In some embodiments of the present disclosure, said determining a loading priority of publishing the application independent component further comprises:
judging whether each published application independent component is visible or not; in the event that a publishing application-independent component is not visible, lowering a predetermined loading priority of the publishing application-independent component or skipping publishing of the publishing application-independent component.
In some embodiments of the present disclosure, said progressively loading the encrypted and compressed model mesh data according to the loading priority of the model mesh data includes:
and creating a loading thread of the component according to the issuing priority order, setting the priority of the loading thread of the component according to the priority, and gradually loading the encrypted and compressed model mesh data.
According to another aspect of the present disclosure, there is provided a machine product networked distribution data processing apparatus, including:
the application mode acquisition module is used for acquiring an application mode of the networked release application of the mechanical product model;
the priority determining module is used for extracting corresponding model grid data according to the type of the application mode and determining the loading priority of the model grid data;
and the progressive loading module is used for progressively loading the corresponding model grid data according to the loading priority of the model grid data so as to realize model networked release.
In some embodiments of the disclosure, the machine product networked distribution data processing apparatus is configured to perform operations for implementing the machine product networked distribution data processing method according to any of the embodiments.
According to another aspect of the present disclosure, there is provided a machine product networked distribution data processing apparatus, including:
a memory to store instructions;
a processor, configured to execute the instructions, so that the machine product networked distribution data processing apparatus performs operations to implement the machine product networked distribution data processing method according to any of the above embodiments.
According to another aspect of the present disclosure, a computer-readable storage medium is provided, which stores computer instructions, which when executed by a processor, implement the method for processing networked distributed data of mechanical products according to any of the embodiments described above.
Aiming at the network release requirement of complex mechanical products, the method can realize the progressive loading method of three-dimensional models with different applications, and effectively improve the online loading speed of the complex models.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of some embodiments of a mechanical product network distribution data processing method according to the disclosure.
Fig. 2 is a schematic diagram of other embodiments of the mechanical product network distribution data processing method of the disclosure.
FIG. 3 is a schematic diagram of a complete machine level application mode setup in some embodiments of the present disclosure. .
FIG. 4 is a schematic diagram of component-level application mode settings in some embodiments of the present disclosure.
Fig. 5 is a schematic diagram of some further embodiments of the disclosed method for processing networked release data of mechanical products.
Fig. 6 is a schematic diagram of some further embodiments of the disclosed method for processing networked release data of mechanical products.
FIG. 7 is a diagram of a publication priority component structure tree for software auto-setup in some embodiments of the disclosure.
FIG. 8 is a schematic illustration of publication priority interaction specification in some embodiments of the disclosure.
FIG. 9 is a schematic diagram of some embodiments of a networked distributed data processing apparatus for mechanical products according to the present disclosure.
FIG. 10 is a schematic diagram of another embodiment of a networked distributed data processing apparatus for mechanical products according to the present disclosure.
FIG. 11 is a schematic diagram of further embodiments of the disclosed machine product networked distribution data processing apparatus.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The relative arrangement of the components and steps, the numerical expressions, and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a schematic diagram of some embodiments of a mechanical product network distribution data processing method according to the disclosure. Preferably, the embodiment can be executed by the networked distributed data processing device of the mechanical product disclosed by the invention. The method comprises the following steps:
and 11, acquiring an application mode of networked release application of the mechanical product model.
In some embodiments of the present disclosure, the application modes may include whole-level applications and component-level applications.
And step 12, extracting corresponding model grid data according to different application modes, and determining the loading priority of the model grid data.
In some embodiments of the present disclosure, step 12 may include:
step 121, for the whole machine level application: and only extracting the appearance data of the whole product, and finishing the acquisition of the appearance grid data through different display quality grades.
Step 122, for the component level application: and extracting the information of the sub-components involved in the application, setting the loading priority and finishing the extraction of the sub-component model data.
And step 13, gradually loading the corresponding model grid data according to the loading priority of the model grid data, and realizing model networked release.
In some embodiments of the present disclosure, step 13 may comprise:
and step 131, carrying out encryption compression processing on the template grid data.
Step 132, according to the loading priority of the model mesh data, progressively loading the encrypted and compressed model mesh data.
Based on the mechanical product networked release data processing method provided by the embodiment of the disclosure, aiming at the complex mechanical product networked release requirement, the progressive loading method of three-dimensional models of different applications can be realized, so that the online loading speed of the complex model is effectively increased, and the response speed and the interaction experience of a user operating the three-dimensional model through a network are further improved.
Fig. 2 is a schematic diagram of other embodiments of the mechanical product network distribution data processing method of the disclosure. Preferably, the embodiment can be executed by the networked distributed data processing device of the mechanical product disclosed by the invention. The method comprises the following steps:
and 20, presetting an application mode of the networked release application of the mechanical product model.
In some embodiments of the present disclosure, the mechanical product model may be a complex product assembly model (·. ASM), as shown in fig. 2.
In some embodiments of the present disclosure, the application modes may include whole-level applications and component-level applications.
In some embodiments of the present disclosure, step 20 may be implemented by building a software tool.
Fig. 3 and 4 are schematic diagrams of the publishing application mode settings of the present disclosure. FIG. 3 is a schematic diagram of a complete machine level application mode setup in some embodiments of the present disclosure.
FIG. 4 is a schematic diagram of component-level application mode settings in some embodiments of the present disclosure. In the embodiment of fig. 4, a publishing application may also be selected in the list, for example: a part album, an installation animation, a three-dimensional process, or a repair process may be selected as the release application type in the component application list.
And step 21, acquiring an application mode of networked release application of the mechanical product model. For the whole machine level application, step 22 is performed; otherwise, for the component level application, step 24 is performed.
Step 22, establishing display quality grades of different models; and taking the display quality grades of different models as the loading priority of the model grid data.
Step 23, extracting model appearance data according to the loading priority of the model grid data; step 26 is then performed.
And 24, extracting the grid data of the related components according to the application mode of the product.
At step 25, the loading priority order of the components is determined.
In some embodiments of the present disclosure, step 25 may comprise:
at step 251, the load priority of the publishing application component is determined.
In some embodiments of the present disclosure, the step 251 may include:
step 2511, a full set of published application components corresponding to all networked published applications is obtained.
Step 2512, a predetermined loading priority is set for each published application component in the full set of published application components.
Step 2513, determine if each published application component is visible in the published application.
Step 2514, in case the publishing application component is visible in the publishing application, increasing the predetermined loading priority of said publishing application component.
At step 252, the load priority of publishing the application independent component is determined.
In some embodiments of the present disclosure, step 252 may comprise:
at step 2521, all component assemblies contained in the mechanical product assembly model are extracted.
Step 2522, obtain a full set of published application components corresponding to all networked published applications.
Step 2523, determine the published application independent component associations from the set of all components and the full set of published application components.
Step 2524 sets a predetermined load priority to each published application component in the full set of published application independent components, wherein the predetermined load priority of the published application independent components is lower than the predetermined load priority of the published application components.
In some embodiments of the present disclosure, the step 252 may further include: all published application-independent components are merged and published as a whole.
In other embodiments of the present disclosure, the step 252 may further include: judging whether each published application independent component is visible or not; in the event that a publishing application-independent component is not visible, lowering a predetermined loading priority of the publishing application-independent component or skipping publishing of the publishing application-independent component.
Step 253, adjusting the loading priority through interactive setting.
And step 26, carrying out encryption compression processing on the template grid data.
And 27, gradually loading the encrypted and compressed model grid data according to the loading priority of the model grid data.
In some embodiments of the present disclosure, step 27 may comprise:
and creating a loading thread of the component according to the issuing priority order, setting the priority of the loading thread of the component according to the priority, and gradually loading the encrypted and compressed model mesh data.
The mechanical product networked release data processing method provided by the embodiment of the disclosure is a complex mechanical product three-dimensional model networked data processing method, and comprises the steps of setting a model networked release application mode, finishing the extraction of model grid data according to application classification, carrying out encryption compression processing on the model grid data and carrying out networked release on a model.
The embodiment of the disclosure can distinguish different application modes of the three-dimensional model, namely, the three-dimensional model is divided into whole machine level application and component level application, and classified grid data of the three-dimensional model is constructed according to the application modes.
The embodiment of the disclosure aims at the whole machine level application, does not relate to the internal structure of a product, only needs appearance data of the product, and only keeps the appearance grid data of the whole machine of the product through model geometric data processing.
For the component-level application, the embodiment of the disclosure firstly extracts the grid data of related components according to the application mode of the product, identifies the priority order of component loading, and adjusts the loading priority through interactive setting;
the embodiment of the disclosure can finally realize networked release at the web end through the mesh data of the multithreading priority asynchronous loading model.
Therefore, the embodiment of the disclosure can realize the progressive loading method of the three-dimensional models of different applications aiming at the network release requirement of the complex mechanical product, thereby effectively improving the online loading speed of the complex model and further improving the response speed and the interaction experience of a user for operating the three-dimensional model through a network.
Fig. 5 is a schematic diagram of some further embodiments of the disclosed method for processing networked release data of mechanical products. The embodiment of fig. 5 relates specifically to overall level application model publishing. Preferably, the embodiment can be executed by the networked distributed data processing device of the mechanical product disclosed by the invention. The method comprises the following steps:
and step 51, acquiring a shrinkage envelope entity for the whole machine model, and acquiring a shrinkage entity only containing the appearance.
And step 54, carrying out encryption compression processing on the template grid data.
And step 55, gradually loading the encrypted and compressed model grid data according to the loading priority of the model grid data.
The processing method for releasing data of the whole machine-level application model according to the above embodiments of the present disclosure may include obtaining a shrinking envelope entity of the whole machine model, setting a mesh output precision of the shrinking entity, extracting triangulated mesh data of the entity model, performing encryption compression processing on the model mesh data, and releasing the whole machine-level application model in a networked manner.
The above embodiments of the present disclosure are directed to whole machine level applications: independent parts are not concerned, only the overall appearance of the model is needed, different model display quality grades are established, appearance data are extracted according to different grades, progressive data output is completed after data processing (encryption and compression), and progressive loading of the whole model is completed according to different quality grades when the corresponding model is loaded.
Fig. 6 is a schematic diagram of some further embodiments of the disclosed method for processing networked release data of mechanical products. The FIG. 6 embodiment relates specifically to component-level application model publishing. Preferably, the embodiment can be executed by the networked distributed data processing device of the mechanical product disclosed by the invention. The method comprises the following steps:
step (1), firstly, loading an assembly model of a product, and extracting a product structure tree set Cmptree contained in the model.
Step (2), extracting a published application set PubAppList contained in the three-dimensional model, for example: product part picture book, dismounting and mounting process, etc.
And (3) each application in the model may correspond to a different component, each published application is circularly processed, and a component set PubCampList contained in the corresponding published application is extracted.
And (4) solving a union set of all the published application component sets to obtain a published application component complete set PubCampListAll of the model.
And (5) setting the default publishing priority of the full set PubCampListAll of the published application components, and then circularly processing the publishing priority of each application component. The principle is to preferentially load components that are visible in an application, i.e., components that are visible in the direction of the application's view. If visible to each component in the application, the booster defaults to the publishing priority; otherwise, not visible, a default publication priority is used.
And (6) solving a difference set between the product structure tree component set Cmpree and the publishing component full set PubCampList all to obtain a publishing application-independent component set NoPubCampList, entering a step (8) if the NoPubCampList is empty, and entering a step (7) if the NobCampList is not empty.
And (7) for the components which are not related to the published application, namely the components which are not related in all published applications, the published loading priority of the components is lower than that of the application components, and the default published priority is set. In order to reduce the number of model grids loaded on line and reduce the occupation of memory resources, the application-independent components can be selected to be combined in the release and released as a whole; if the publications are not merged, the publication priority is circularly processed for each irrelevant component, and the invisible component reduces or skips the publication of the component.
And (8) completing the setting of the publishing priority of all the components (the publishing application component and the publishing application independent component) contained in the product through the steps (6) and (7), wherein the interactive specification of the publishing priority can be completed for a specific component, namely, the publishing of the component is increased, decreased or skipped, and then the publishing priority ordering of all the components is completed.
And (9) creating a loading thread of the component according to the issuing priority order, and setting the priority of the loading thread of the component according to the priority, so that the progressive loading of the component according to the issuing priority is realized.
The processing method for issuing data by the component-level application model according to the above embodiments of the present disclosure may include extracting sub-component information related to a product model, setting a loading priority, completing extraction of sub-component model mesh data, performing encryption compression processing on model mesh data, and issuing a component-level model in a networked manner.
For the component-level application, the embodiment of the disclosure can output the independent geometric data of the component, obtain the component related to the product application, establish the loading priority list of the component, and create the thread with the corresponding priority to complete the loading of different components when the model is loaded according to the priority of the component loading.
FIG. 7 is a diagram of a publication priority component structure tree for software auto-setup in some embodiments of the disclosure. As shown in fig. 7, the priority of the same-level component is the same in the automatically set priorities.
FIG. 8 is a schematic illustration of publication priority interaction specification in some embodiments of the disclosure. As shown in fig. 7, the existing publication priority may be set through a right-click menu interaction, which includes raising or lowering the existing publication priority.
FIG. 9 is a schematic diagram of some embodiments of a networked distributed data processing apparatus for mechanical products according to the present disclosure. As shown in fig. 9, the mechanical product networked distribution data processing apparatus may include an application mode acquiring module 91, a priority determining module 92, and a progressive loading module 93, wherein:
the application mode obtaining module 91 is configured to obtain an application mode of the networked release application of the mechanical product model.
In some embodiments of the present disclosure, the application modes include whole level applications and component level applications.
And a priority determining module 92, configured to extract corresponding model mesh data according to the type of the application mode, and determine a loading priority of the model mesh data.
In some embodiments of the present disclosure, for a whole-machine level application, the priority determination module 92 may be used to establish display quality levels for different models; taking the display quality grades of different models as the loading priority of the model grid data; and extracting the model appearance data according to the loading priority of the model grid data.
In some embodiments of the present disclosure, for a whole machine level application, the priority determination module 92 may be configured to obtain a contracted envelope entity for the whole machine model, obtaining a contracted entity containing only the appearance; setting the grid output precision of the contracted entity; taking the grid output precision as the display quality grades of different models; taking the display quality grades of different models as the loading priority of the model grid data; the contracted solid model is converted into triangulated mesh data.
In some embodiments of the present disclosure, for component-level applications, the prioritization module 92 may be used to extract grid data for the relevant components according to the application mode of the product; the load priority order of the components is determined.
In some embodiments of the present disclosure, for component-level applications, the prioritization module 92 may be used to extract grid data for the relevant components according to the application mode of the product; determining the loading priority of the published application component; determining a loading priority for publishing the application independent component; the loading priority is adjusted through interactive settings.
In some embodiments of the present disclosure, the priority determining module 9 may be configured to obtain a full set of published application components corresponding to all networked published applications when determining the loading priority of the published application components; setting a preset loading priority for each published application component in the published application component complete set; judging whether each published application component is visible in the published application; in the event that a published application component is visible in a published application, increasing a predetermined loading priority of the published application component.
In some embodiments of the present disclosure, the priority determination module 9, in case of determining the loading priority of publishing application-independent components, may be configured to extract all the component sets contained in the mechanical product assembly model; acquiring a publishing application component complete set corresponding to all networked publishing applications; determining the combination of the application independent components according to the assembly sets and the release application component complete set; setting a predetermined loading priority for each published application component in the full set of published application-independent components, wherein the predetermined loading priority for the published application-independent components is lower than the predetermined loading priority for the published application components; all published application-independent components are merged and published as a whole.
In some embodiments of the present disclosure, the priority determination module 9, in case of determining the loading priority of publishing application-independent components, may be configured to extract all the component sets contained in the mechanical product assembly model; acquiring a publishing application component complete set corresponding to all networked publishing applications; determining the combination of the application independent components according to the assembly sets and the release application component complete set; setting a predetermined loading priority for each published application component in the full set of published application-independent components, wherein the predetermined loading priority for the published application-independent components is lower than the predetermined loading priority for the published application components; judging whether each published application independent component is visible or not; in the event that a publishing application-independent component is not visible, lowering a predetermined loading priority of the publishing application-independent component or skipping publishing of the publishing application-independent component.
And the progressive loading module 93 is configured to progressively load the corresponding model grid data according to the loading priority of the model grid data, so as to implement model networked distribution.
In some embodiments of the present disclosure, the progressive loading module 93 may be configured to create a loading thread of the component according to the issuing priority order, set the priority of the component loading thread according to the priority, and perform progressive loading on the encrypted and compressed model mesh data.
In some embodiments of the disclosure, the machine product network distribution data processing apparatus is configured to perform operations for implementing the machine product network distribution data processing method according to any of the embodiments (for example, any of fig. 1 to 8).
FIG. 10 is a schematic diagram of another embodiment of a networked distributed data processing apparatus for mechanical products according to the present disclosure. Compared to the embodiment shown in fig. 9, in the embodiment shown in fig. 10, in some embodiments of the present disclosure, the mechanical product networked distribution data processing apparatus further includes an application mode setting module 90, where:
and the application mode setting module 90 is used for presetting an application mode of the networked release application of the mechanical product model.
Based on the mechanical product networked release data processing device provided by the embodiment of the disclosure, research is carried out on a complex mechanical product three-dimensional model networked display technology, and the complex mechanical product is progressively released and loaded in a networked manner, so that progressive loading of three-dimensional models with different application requirements can be met, online loading speed of the complex models is effectively increased, and perpetual interactive experience satisfaction is improved.
FIG. 11 is a schematic diagram of further embodiments of the disclosed machine product networked distribution data processing apparatus. As shown in fig. 11, the mechanical product networked distribution data processing device may include a memory 98 and a processor 99, wherein:
a memory 98 for storing instructions;
a processor 99, configured to execute the instructions, so that the machine product network distribution data processing apparatus performs operations to implement the machine product network distribution data processing method according to any of the embodiments described above (for example, any of fig. 1 to 8).
Based on the mechanical product networked release data processing device provided by the embodiment of the disclosure, aiming at the characteristic that the size of a complex mechanical product model is large, the progressive loading of the complex mechanical product three-dimensional model networked release is realized by combining different release application modes.
According to the embodiment of the disclosure, different model geometric data can be output according to different application modes, so that the generation of irrelevant part data volume can be reduced, and the output and loading speed of model data can be increased, thereby effectively solving the problem of low user interaction response efficiency and improving the user satisfaction.
According to another aspect of the present disclosure, a computer-readable storage medium is provided, which stores computer instructions, which when executed by a processor, implement the method for processing networked distribution data of mechanical products according to any of the embodiments described above (e.g., any of fig. 1-8).
Based on the computer readable storage medium provided by the embodiment of the disclosure, the progressive loading is released to the complex mechanical product in a networked manner, so that the progressive loading of the three-dimensional model with different application requirements can be met, and the online loading speed of the complex model is effectively improved.
According to the embodiment of the disclosure, different model geometric data can be output according to different application modes, so that the generation of irrelevant part data volume can be reduced, and the output and loading speed of model data can be increased, thereby effectively solving the problem of low user interaction response efficiency and improving the user satisfaction.
The mechanical product networked distribution data processing apparatus described above may be implemented as a general purpose processor, a Programmable Logic Controller (PLC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any suitable combination thereof, for performing the functions described herein.
Thus far, the present disclosure has been described in detail. Some details that are well known in the art have not been described in order to avoid obscuring the concepts of the present disclosure. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware to implement the above embodiments, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk, an optical disk, or the like.
The description of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the disclosure in the form disclosed. Many modifications and variations will be apparent to practitioners skilled in this art. The embodiment was chosen and described in order to best explain the principles of the disclosure and the practical application, and to enable others of ordinary skill in the art to understand the disclosure for various embodiments with various modifications as are suited to the particular use contemplated.
Claims (11)
1. A processing method for networked release data of mechanical products is characterized by comprising the following steps:
acquiring an application mode of a mechanical product model networked release application, wherein the application mode comprises a complete machine level application and a component level application, and the component level application comprises at least one of a part atlas application, an installation animation application, a three-dimensional process application or a maintenance process application;
extracting corresponding model grid data according to different application modes, and determining the loading priority of the model grid data, wherein the loading priorities of the different application modes are different;
progressively loading corresponding model grid data according to the loading priority of the model grid data to realize model networked release;
for the component-level application, extracting corresponding model mesh data, and determining the loading priority of the model mesh data includes:
extracting the grid data of the related components according to the application mode of the product;
determining a loading priority order of the components;
wherein the determining a loading priority order of components comprises:
determining the loading priority of the published application component;
determining a loading priority for publishing the application independent component;
adjusting the loading priority through interactive setting;
wherein the determining the loading priority of the publishing application component comprises:
acquiring a publishing application component complete set corresponding to all networked publishing applications;
setting a preset loading priority for each published application component in the published application component complete set;
judging whether each published application component is visible in the published application;
in the event that a published application component is visible in a published application, increasing a predetermined loading priority of the published application component.
2. The method for processing the networked release data of the mechanical product according to claim 1, wherein the progressively loading the corresponding model mesh data according to the loading priority of the model mesh data includes:
carrying out encryption compression processing on the mode grid data;
and carrying out progressive loading on the encrypted and compressed model grid data according to the loading priority of the model grid data.
3. The method for processing the networked release data of the mechanical product according to claim 2, further comprising:
an application mode of the networked release application of the mechanical product model is preset.
4. The method for processing mechanical product network release data according to any one of claims 1-3,
for the whole-machine-level application, the extracting corresponding model grid data and determining the loading priority of the model grid data comprise:
establishing display quality grades of different models;
taking the display quality grades of different models as the loading priority of the model grid data;
and extracting the model appearance data according to the loading priority of the model grid data.
5. The method for processing the networked release data of mechanical products according to claim 4, wherein the extracting model appearance data according to the loading priority of the model mesh data comprises:
acquiring a shrinkage enveloping entity for the whole machine model, and acquiring a shrinkage entity only comprising the appearance;
setting the grid output precision of the contracted entity;
the contracted solid model is converted into triangulated mesh data.
6. The method of processing mechanical product networked release data according to any of claims 1-3, wherein said determining a loading priority for releasing application-independent components further comprises:
merging all the published application independent components and publishing the merged components as a whole;
or the like, or, alternatively,
judging whether each published application independent component is visible or not; in the event that a publishing application-independent component is not visible, lowering a predetermined loading priority of the publishing application-independent component or skipping publishing of the publishing application-independent component.
7. The method for processing the data distributed by the mechanical product network according to any one of claims 1 to 3, wherein the step of progressively loading the encrypted and compressed model mesh data according to the loading priority of the model mesh data comprises:
and creating a loading thread of the component according to the issuing priority order, setting the priority of the loading thread of the component according to the priority, and gradually loading the encrypted and compressed model mesh data.
8. A machine product network release data processing device is characterized by comprising:
the application mode acquisition module is used for acquiring an application mode of a networked release application of a mechanical product model, wherein the application mode comprises a complete machine level application and a component level application, and the component level application comprises at least one of a part album application, an installation animation application, a three-dimensional process application or a maintenance process application;
the priority determining module is used for extracting corresponding model grid data according to the type of the application mode and determining the loading priority of the model grid data, wherein the loading priorities of different application modes are different;
the progressive loading module is used for progressively loading the corresponding model grid data according to the loading priority of the model grid data to realize model networked release;
wherein, for the component level application, the priority determining module is used for extracting the grid data of the related components according to the application mode of the product; determining a loading priority order of the components;
for the component-level application, a priority determining module is used for determining the loading priority of the published application component; determining a loading priority for publishing the application independent component; adjusting the loading priority through interactive setting;
the system comprises a priority determining module, a priority determining module and a priority determining module, wherein the priority determining module is used for acquiring a publishing application component complete set corresponding to all networked publishing applications; setting a preset loading priority for each published application component in the published application component complete set; judging whether each published application component is visible in the published application; in the event that a published application component is visible in a published application, increasing a predetermined loading priority of the published application component.
9. The mechanical product networked distribution data processing device according to claim 8, wherein the mechanical product networked distribution data processing device is configured to perform operations for implementing the mechanical product networked distribution data processing method according to any one of claims 1 to 7.
10. A machine product network release data processing device is characterized by comprising:
a memory to store instructions;
a processor configured to execute the instructions to cause the machine product networked distribution data processing apparatus to perform operations to implement the machine product networked distribution data processing method according to any one of claims 1 to 7.
11. A computer-readable storage medium storing computer instructions which, when executed by a processor, implement the method of processing machine product networked release data according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910323002.7A CN110069733B (en) | 2019-04-22 | 2019-04-22 | Processing method and device for networked release data of mechanical products and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910323002.7A CN110069733B (en) | 2019-04-22 | 2019-04-22 | Processing method and device for networked release data of mechanical products and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110069733A CN110069733A (en) | 2019-07-30 |
CN110069733B true CN110069733B (en) | 2021-12-31 |
Family
ID=67368412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910323002.7A Active CN110069733B (en) | 2019-04-22 | 2019-04-22 | Processing method and device for networked release data of mechanical products and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110069733B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114026604A (en) * | 2020-09-30 | 2022-02-08 | 深圳市大疆创新科技有限公司 | Model display method and device, electronic equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103885788A (en) * | 2014-04-14 | 2014-06-25 | 焦点科技股份有限公司 | Dynamic WEB 3D virtual reality scene construction method and system based on model componentization |
CN103927781A (en) * | 2014-05-06 | 2014-07-16 | 苏州中科图新网络科技有限公司 | Vision correlation model progressive rendering method on three-dimensional scene |
CN106909640A (en) * | 2017-02-16 | 2017-06-30 | 杭州新迪数字工程系统有限公司 | Threedimensional model lightweight display technique based on webgl |
CN108763765A (en) * | 2018-05-30 | 2018-11-06 | 红塔烟草(集团)有限责任公司 | A method of multidimensional installation diagram is drawn based on simulation model |
-
2019
- 2019-04-22 CN CN201910323002.7A patent/CN110069733B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103885788A (en) * | 2014-04-14 | 2014-06-25 | 焦点科技股份有限公司 | Dynamic WEB 3D virtual reality scene construction method and system based on model componentization |
CN103927781A (en) * | 2014-05-06 | 2014-07-16 | 苏州中科图新网络科技有限公司 | Vision correlation model progressive rendering method on three-dimensional scene |
CN106909640A (en) * | 2017-02-16 | 2017-06-30 | 杭州新迪数字工程系统有限公司 | Threedimensional model lightweight display technique based on webgl |
CN108763765A (en) * | 2018-05-30 | 2018-11-06 | 红塔烟草(集团)有限责任公司 | A method of multidimensional installation diagram is drawn based on simulation model |
Non-Patent Citations (3)
Title |
---|
Creo管理大型装配之收缩包络模型;卓兔网;《http://www.zhuotoo.com/page105?article_id=62》;20190304;1-4 * |
三维模型轻量化技术研究与实现;王文志;《中国优秀硕士学位论文全文数据库 信息科技辑》;20170615(第6期);20-21,24-32 * |
基于WebGL的轻量级PBR技术研究与实现;郑维欣;《中国优秀硕士学位论文全文数据库 信息科技辑》;20190415(第4期);2-5,13-22 * |
Also Published As
Publication number | Publication date |
---|---|
CN110069733A (en) | 2019-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110362927B (en) | Multilayer step-by-step optimized BIM model lightweight processing method and system | |
CN109816762A (en) | A kind of image rendering method, device, electronic equipment and storage medium | |
CN111931097B (en) | Information display method and device, electronic equipment and storage medium | |
US9342498B2 (en) | System and method for generating a design template based on graphical input | |
CN114066718A (en) | Image style migration method and device, storage medium and terminal | |
CN116340260A (en) | Building model data rendering method and device, electronic equipment and readable storage medium | |
CN110069733B (en) | Processing method and device for networked release data of mechanical products and storage medium | |
WO2023025269A1 (en) | Slice processing method, printing method, system, and device, and storage medium | |
CN113885935A (en) | Resource packaging method and device, electronic equipment and computer readable storage medium | |
CN115310420A (en) | Simulation analysis report generation method, device, equipment and storage medium | |
CN113781642B (en) | Three-dimensional model multi-level LOD generation method based on face reduction algorithm | |
CN111475511A (en) | Data storage method, data access method, data storage device, data access device and data access equipment based on tree structure | |
CN110930056A (en) | Thinking-guidance-graph-based task management method, terminal device and storage medium | |
CN111210826B (en) | Voice information processing method and device, storage medium and intelligent terminal | |
WO2023246403A1 (en) | Model training method, watermark restoration method, and related device | |
CN109947702A (en) | Index structuring method and device, electronic equipment | |
CN111967478A (en) | Feature map reconstruction method and system based on weight inversion, storage medium and terminal | |
CN104793837A (en) | Picture generation method and device | |
CN108614694A (en) | A kind of method and apparatus of Optimized code | |
CN110297958A (en) | Data visualization processing method and processing device | |
CN104239049A (en) | Method and system for processing photos in text edit box | |
CN110827367A (en) | Mass model loading method based on high compression of model data | |
CN106408638B (en) | The material replacement method and material alternative of rendering objects | |
CN113082720A (en) | Prompt message determination method and device and electronic equipment | |
CN114140569B (en) | Three-dimensional scene serialization compression 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220712 Address after: 221004 26 Tuo Lan Shan Road, Xuzhou economic and Technological Development Zone, Jiangsu Patentee after: Jiangsu XCMG Guozhong Laboratory Technology Co.,Ltd. Address before: 221004 26 Tuo Lan Shan Road, Xuzhou economic and Technological Development Zone, Jiangsu Patentee before: XCMG CONSTRUCTION MACHINERY Co.,Ltd. |
|
TR01 | Transfer of patent right |