CN110673845A - Development method and system for dismounting software - Google Patents

Development method and system for dismounting software Download PDF

Info

Publication number
CN110673845A
CN110673845A CN201910935753.4A CN201910935753A CN110673845A CN 110673845 A CN110673845 A CN 110673845A CN 201910935753 A CN201910935753 A CN 201910935753A CN 110673845 A CN110673845 A CN 110673845A
Authority
CN
China
Prior art keywords
file
disassembly
model
assembly sequence
user
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.)
Granted
Application number
CN201910935753.4A
Other languages
Chinese (zh)
Other versions
CN110673845B (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.)
Guangzhou Yidao Intelligent Information Technology Co Ltd
Guangdong University of Technology
Original Assignee
Guangzhou Yidao Intelligent Information Technology Co Ltd
Guangdong University of Technology
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 Guangzhou Yidao Intelligent Information Technology Co Ltd, Guangdong University of Technology filed Critical Guangzhou Yidao Intelligent Information Technology Co Ltd
Priority to CN201910935753.4A priority Critical patent/CN110673845B/en
Publication of CN110673845A publication Critical patent/CN110673845A/en
Application granted granted Critical
Publication of CN110673845B publication Critical patent/CN110673845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of virtual reality, and provides a development method and a development system of disassembly and assembly software, wherein a model file of target equipment and a disassembly and assembly sequence file of the target equipment are obtained; and generating a dismounting flow of the target equipment in response to the operation of a developer based on the model file and the dismounting sequence file. The software development efficiency of the mechanical equipment virtual dismounting system is improved. The usability of the virtual dismounting system is enriched; the degree of freedom and maintainability of the virtual disassembly and assembly system are improved, and the disassembly and assembly sequence can be modified randomly and stored in a disassembly and assembly sequence set.

Description

Development method and system for dismounting software
Technical Field
The invention relates to the technical field of virtual reality, in particular to a development method and a development system for dismounting software.
Background
The disassembly and assembly of mechanical equipment is an important component in mechanical maintenance training, and the equipment structure and the working principle can be intuitively known through the disassembly and assembly training. For some mechanical equipment with large size, high price or easy damage, the cost of dismounting and mounting learning by adopting entity equipment is high, and the dismounting and mounting simulation by using a virtual reality technology is needed, namely, a corresponding virtual dismounting and mounting system is developed for the equipment.
The development method of the virtual disassembly and assembly system of the mechanical equipment mainly aims at the development of the specific mechanical equipment on a development platform, and comprises the definition of a model, a disassembly and assembly sequence, interaction, disassembly and assembly process action classes and the like. According to the existing implementation process analysis, the following disadvantages exist:
as the software development of each dismounting system is started from zero aiming at different mechanical equipment, developers need to program to realize dismounting flows including dismounting action types, interaction, dismounting sequences and the like, the development period is long, the labor cost is high, and the development efficiency is low.
The traditional virtual dismounting system of mechanical equipment has a single mode and a single dismounting process, and the dismounting process is dismounting according to a fixed sequence and lacks of freedom degrees. Once the mechanical equipment dismounting flow is determined after the system development is completed, the flow cannot be secondarily customized.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a development method and a development system for dismounting software, which solve at least one problem in the prior art.
In one aspect, an embodiment of the present invention provides a development method for dismounting software, including:
reading the imported file and analyzing;
if the imported files are model files and disassembly and assembly sequence files, displaying each model component of the target equipment and an editing scene where the model component is located based on the model files and the disassembly and assembly sequence files;
if the imported file is a compressed file, processing the compressed file to obtain a model file and a disassembly and assembly sequence file in the compressed file, and then displaying each model component of the target equipment and an editing scene where the model component is located based on the model file and the disassembly and assembly sequence file;
modifying the model file and the disassembly and assembly sequence file in response to the operation of a user to obtain a second model file and a second disassembly and assembly sequence file;
responding to the re-selection of the user to the interface graph, editing the operation interface of the software, and saving the graph file selected as the interface graph;
responding to user-defined operation of a user, and performing visual editing on the basis of the second disassembly and assembly sequence file to obtain a third disassembly and assembly sequence file;
and packaging the second model file, the third disassembly and assembly sequence file and the graphic file to obtain an AssetBundle format file, and issuing disassembly and assembly software of the target equipment.
Further, the modifying the model file and the disassembly and assembly sequence file in response to the operation of the user to obtain a second model file and a second disassembly and assembly sequence file includes:
in response to the adjustment and setting operations of the user on the position, the posture, the size ratio and/or the like of the model component in the editing scene, modifying the model file to obtain a second model file;
and/or, in response to the selection operation of the user on the text prompt, modifying the disassembly and assembly sequence file to obtain a second disassembly and assembly sequence file.
Further, the responding to the user-defined operation, performing visual editing on the second disassembly and assembly sequence file to obtain a third disassembly and assembly sequence file, including:
analyzing the second disassembly and assembly sequence file, dividing the whole operation flow into each independent operation step, and performing visual conversion on the node text of the second disassembly and assembly sequence file to convert the node text into a tree diagram;
when a user self-defines the dismounting process, each independent operation step in the tree graph is reordered according to the operation of the user;
and converting the information in the edited tree graph into a text of a third disassembly and assembly sequence file for storage.
Further, the disassembly and assembly software of the target equipment comprises a disassembly and assembly demonstration mode, an exercise mode and an assessment mode;
the demonstration mode is a mode for demonstrating the defined disassembly and assembly process;
the practice mode is a mode in which disassembly and assembly practice is conducted through step guidance until all disassembly and assembly steps are completed;
the examination mode is a mode for carrying out dismounting examination without steps.
Further, the method further comprises: and responding to the self-defined operation of the developer, and setting the assessment indexes of the assessment mode, wherein the assessment indexes are used for reflecting assessment results.
On the other hand, an embodiment of the present invention provides a development system for dismounting software, including:
the file reading module is used for reading the imported file, analyzing the imported file and sending the analyzed model file and the disassembled sequence file to the software design module;
the software design module is used for modifying the model file and the disassembly and assembly sequence file in response to the operation of a user to obtain a second model file and a second disassembly and assembly sequence file; the system comprises a software interface, a graphic file and a display, wherein the software interface is used for editing an operation interface of the software and saving the graphic file selected as the interface graph in response to the reselection of a user to the interface graph;
the user-defined disassembly and assembly module is used for responding to user-defined operation of a user and visually editing the second disassembly and assembly sequence file to obtain a third disassembly and assembly sequence file;
and the export module is used for packaging the second model file, the third disassembly and assembly sequence file and the graphic file to obtain an AssetBundle format file and issuing disassembly and assembly software of the target equipment.
Further, the software design module includes:
the model editing unit is used for responding to the adjustment and setting operation of a user on the position, the posture, the size ratio and the like of the model component in an editing scene, and modifying the model file to obtain a second model file;
the prompt editing unit is used for responding to the selection operation of a user on the character prompt, modifying the disassembly and assembly sequence file and obtaining a second disassembly and assembly sequence file;
and the interface editing unit is used for responding to the reselection of the user to the interface graph, editing the operation interface of the software and saving the graph file selected as the interface graph.
Further, the user-defined disassembling and assembling module includes:
the tree graph conversion unit is used for analyzing the second disassembly and assembly sequence file, dividing the whole operation flow into each independent operation step, and performing visual conversion on the node text of the second disassembly and assembly sequence file to convert the node text into a tree graph;
the adjusting unit is used for reordering each independent operation step in the tree diagram according to the operation of the user when the user defines the dismounting flow;
and the storage unit is used for converting the information in the edited tree graph into a text of a third disassembly and assembly sequence file for storage.
Further, the system further comprises: and the examination setting unit is used for responding to the self-defined operation of the developer and setting the examination indexes of the examination mode, and the examination indexes are used for reflecting examination results.
Based on the technical scheme disclosed above, the method comprises the steps of obtaining a model file of the target equipment and a disassembly and assembly sequence file of the target equipment; and generating a dismounting flow of the target equipment in response to the operation of a developer based on the model file and the dismounting sequence file. The software development efficiency of the mechanical equipment virtual dismounting system is improved. The usability of the virtual dismounting system is enriched; the degree of freedom and maintainability of the virtual disassembly and assembly system are improved, and the disassembly and assembly sequence can be modified randomly and stored in a disassembly and assembly sequence set.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a development method for disassembling and assembling software according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a development method for disassembling and assembling software according to another embodiment of the present invention;
fig. 3 is a schematic flowchart of editing pose information of a development method for dismounting software according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of an edit prompt message of a development method for dismounting software according to an embodiment of the present invention;
FIG. 5 is a schematic view illustrating a process of editing assessment indicators of a method for developing software for dismounting according to an embodiment of the present invention;
fig. 6 is a schematic flow chart illustrating an editing, dismounting and mounting process of a development method for dismounting and mounting software according to an embodiment of the present invention;
fig. 7 is an interface of a virtual dismounting system of a practical training platform of an industrial robot according to an embodiment of the present invention;
8-9 are highlighted representations of a virtual disassembly and assembly system of a training platform of an industrial robot provided by an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a software dismounting development system according to yet another embodiment of the present invention;
fig. 11 is a schematic structural diagram of a software design module of a development system for disassembling and assembling software according to another embodiment of the present invention;
fig. 12 is a schematic structural diagram of a custom dismounting module of a development system for dismounting software according to another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, it shows a flowchart of a development method for dismounting software according to an embodiment of the present invention, which includes the following steps:
s101, reading the imported file and analyzing.
In this step, the imported file may be a model file and a disassembly sequence file. The model file and the disassembly and assembly sequence file are the model file and the disassembly and assembly sequence file of the target equipment to be developed. In other embodiments, the imported file may also be a compressed file that stores different resources of the virtual unmount software scenario of the undeveloped device, where the compressed file includes a model file and an unmount sequence file, and/or content in a streaming media format. The model file format can be FBX, and the disassembly and assembly sequence file format can be XML file or converted into XML format by excel table writing. The compressed file may be of the AssetBundle file type.
And S102, if the read files are model files and disassembly and assembly sequence files, displaying each model component of the target equipment and the editing scene where the model component is located based on the model files and the disassembly and assembly sequence files. For example, the model file that the hypothesis was read is the model file of a robot, shows the editing scene of this robot, and the scene is a laboratory bench in laboratory, and there are goods shelves and toolbox in the laboratory in addition, places each model subassembly of robot on the goods shelves or on the laboratory bench.
And if the read file is a compressed file, processing the compressed file to obtain a model file and a disassembly and assembly sequence file in the compressed file, and then displaying each model component of the target equipment and an editing scene where the model component is positioned based on the model file and the disassembly and assembly sequence file.
S103, the model file and the disassembly and assembly sequence file are modified in response to the operation of the user, and a second model file and a second disassembly and assembly sequence file are obtained. In the step, in response to the adjustment and setting operations of the position, the posture, the size ratio and the like of the model component by the user in the editing scene, modifying the read model file to obtain a second model file; and/or (step text prompt editing) in response to the selection operation of the user on the text prompt, modifying the read disassembly and assembly sequence file to obtain a second disassembly and assembly sequence file. Wherein the contents of the read model file include the complete model components of the target device.
The position and posture information of the model component in the scene mainly refers to the position and the angular direction of the equipment needing to be disassembled and assembled in a virtual room, for example, the position of the model component of the robot refers to the position of the model component placed in the virtual scene of the laboratory, whether the model component is on a laboratory bench or a shelf; the posture of the model component refers to the angle at which the model component is placed on a laboratory bench or a goods shelf, and whether the front face is forward or the side face is forward or the like; the size proportion of the model component is the size of the component compared with the size displayed in a scene, and if the matching degree of the size of the model and the size of a laboratory is too poor, the model can be scaled proportionally, so that the real effect is restored. The user may change the position, pose, and/or size of the model component, move the position of the model component, change the pose presented by the model component, and/or resize the model component in the scene via an input device such as a mouse or keyboard. The embodiment can adjust the world coordinates of the model component in the virtual scene in response to the input operation of the user. The model editing module obtains initial coordinate information of the model component after obtaining the scaling, the rotation angle and the displacement of the model component according to the input operation of a user; the coordinates of the adjusted model components are then derived based on the above scaling, rotation angle and displacement, as shown in FIG. 3. The scaling of the model refers to that the size of the three-dimensional model on the X, Y and Z axes can be uniformly and proportionally changed by changing the scaling of the three-dimensional model in the virtual scene. The rotation angle of the model refers to the azimuth direction of the three-dimensional model in the virtual scene, represents the posture of the model in the virtual scene, and comprises the rotation angles of the model around the X, Y and Z axes. The world coordinates in the virtual scene are defined as a three-dimensional space, and the origin of the virtual scene is set at a position in the scene, and the world coordinates (X, Y, Z) of the model are determined at the origin. The execution sequence of the last three steps in fig. 3 is not specifically limited, and the scaling may be adjusted first and then the original position and the rotation angle may be adjusted, the coordinate origin may be adjusted first and then the scaling and the rotation angle may be adjusted, the rotation angle may be adjusted first, or the three parameters may be adjusted almost simultaneously.
The text prompt is one of information prompts of the disassembling and assembling software of the target equipment in the using process, and the information prompt of the disassembling and assembling software of the target equipment comprises the information prompt of a detachable object and a text prompt of specific disassembling and assembling operations in the using process. In the step, each step of mounting and dismounting responds to the step of inputting the text prompt for the operation selected by the user. And directly modifying the prompt node of the disassembly and assembly sequence file based on the content of the selected text prompt to obtain a second disassembly and assembly sequence file. Specifically, the text prompt for each attachment/detachment step requires the user to edit the text, and the text content of the prompt needs to be simply input for each step, as shown in fig. 4. The method is realized by developing and packaging on the basis of the UGUI framework of Unity3d, and simply visualizing the relatively complicated development process of the Text part in the UGUI of Unity3d, thereby reducing the work of developers.
The prompt information of the detachable object is used to prompt whether the model component is a detachable or non-detachable object when a certain step is in progress. These are already implemented in the platform for removable and non-removable object cues, which do not require the user to develop. The manipulable object may be marked with a highlighting or flashing display or pointing in the scene using an arrow. The prompt information of the dismounting object is realized based on a Shader framework in Unity3d, the HighLight of the dismounting object frame can be displayed and hidden by the platform by using a basic Shader script of Unity3d about a HighLight component part, the frame and the component are complex to use, and the development workload of dismounting software is reduced by packaging and script configuration.
And S104, responding to the re-selection of the interface graph by the user, editing the operation interface of the software, and saving the file selected as the interface graph.
The user can reselect some pictures and text contents of the software operation interface according to the difference of the target device, for example, fig. 7 is a virtual dismounting system of a practical training platform of an industrial robot. The interface editing is mainly to modify the cover page of the software, namely, to modify the left picture in the figure. Generally, the cover sheet of the software is changed according to the model to be disassembled. If the object of the disassembly and assembly is a motorcycle, a motorcycle can be placed on the drawing; if the object is an automobile, it is possible to put a model of the automobile. This link is an editing on the interface, in which the user may not reselect the interface graphics, and the UI interface required for forming the virtual assembly and disassembly according to the default settings generally includes "time, progress bar, exit program, operation prompt" and the like. Therefore, when the virtual assembly and disassembly are carried out, the text prompt content can be directly expressed through a platform for reading the XML file. And (4) the disassembled UI prompting interface is finished, so that the developer does not need to do the interface development work, and only the content prompted in the step is input.
And S105, responding to the user-defined operation, and performing visual editing on the basis of the second disassembly and assembly sequence file to obtain a third disassembly and assembly sequence signal. Since the imported disassembly and assembly sequence file is a possibility of the disassembly and assembly process of the equipment, the program can enable a user to carry out a self-defined disassembly and assembly sequence on the original basis, but the logicality of the disassembly and assembly sequence needs to be ensured by professionals. The specific process of this step is as follows:
firstly, the second disassembly and assembly sequence file is analyzed, the whole operation process is divided into independent operation steps, and node texts of the second disassembly and assembly sequence file are visually converted into a tree graph.
Then, when the user defines the dismounting process, each independent operation step in the tree graph is reordered according to the operation of the user, and the ordering process is to modify the text content of the nodes in the second dismounting sequence file.
And finally, converting the information in the edited tree graph into a text of a third disassembly and assembly sequence file for storage. The disassembly and assembly sequence file is a structural form of node storage data, each disassembly and assembly step is written in a node form of step-operation object-operation movement mode and the like one by one, then the program analyzes the content of each node, and the process is also the same.
The Unity disassembly and assembly system software platform can only define the disassembly and assembly process according to the initial disassembly and assembly sequence file, the disassembly and assembly sequence file is an XML file, and users are particularly troublesome if modifying the disassembly and assembly process. The user-defined assembly and disassembly process program can be visually edited on the basis of the original XML file, as shown in FIG. 6.
S106, packaging the second model file, the third disassembly and assembly sequence file and the graphic file to obtain an AssetBundle format file, and issuing disassembly and assembly software of the target equipment. The process here published is essentially a replication process, except for the files in the AssetBundle, which are the Unity framework and its dll files. The AssetBundle format is a format used by Unity software to transmit files, and can store contents in streaming media formats such as FBX, XML and JPG, PNG, and the like. The Unity framework can parse and package it.
The released disassembly and assembly software of the target equipment comprises a disassembly and assembly demonstration mode and an exercise mode. The demonstration mode is to demonstrate the disassembly and assembly process defined by the user, such as video or animation, and the trainer does not need to operate in the whole process but only needs to watch and learn. The practice mode is a process that a trainer guides and the like through steps, and the disassembly and assembly practice is completed step by step until all the disassembly and assembly steps are completed.
Based on the development method disclosed above, the invention obtains the model file of the target device and the disassembly and assembly sequence file of the target device; and generating a dismounting flow of the target equipment in response to the operation of a developer based on the model file and the dismounting sequence file. The software development efficiency of the mechanical equipment virtual dismounting system is improved. The usability of the virtual dismounting system is enriched; the degree of freedom and maintainability of the virtual disassembly and assembly system are improved, and the disassembly and assembly sequence can be modified randomly and stored in a disassembly and assembly sequence set.
Referring to fig. 2, which shows a flowchart of another development method for dismounting software according to an embodiment of the present invention, compared to the development method of fig. 1, step S107 is added in fig. 2:
and S107, responding to the custom operation of the developer, and setting the assessment indexes of the assessment mode.
If a user decides to distribute software with examination modes, the user needs to define the examination indexes of disassembly and assembly. The assessment index refers to the mathematical relationship between the final result and the operation duration and the number of help seeking times, and a user can customize the assessment index. Here, the user can define the corresponding operation duration of "excellent, good, medium, passing and failing", and the proportional relationship between the final operation duration and the influence of the number of recourse on the total performance. For example, the operation time is 70%, the help seeking frequency is 30%, the dismounting and mounting process is 10 steps in total, and then a 3% point is deducted each time of seeking help. The method is realized by using a Unity script file.
The disassembly and assembly software of the target equipment obtained by the method also comprises an examination mode. In the assessment mode, the trainer is not provided with prompt information of the disassembly and assembly steps, and only seeks help through the help system to obtain the prompt information of the current step, as shown in fig. 5. If a user decides to distribute software with examination modes, the user needs to define the examination indexes of disassembly and assembly. The assessment index refers to the mathematical relationship between the final result and the operation duration and the number of help seeking times, and a user can customize the assessment index.
The virtual disassembly and assembly process of the exercise mode and the assessment mode comprises the steps of rendering by a plurality of cameras, including rendering of a model, rendering of a UI (user interface) and the like. The model action of virtual dismouting has the multiclass, and basic action contains translation, free movement, rotation, revolution, apparent and hidden action etc. and this unit has defined and encapsulated these action class. The interface of the virtual dismounting software is similar to that of the common program software, and comprises an upper menu bar, a lower information prompt bar and the like, and has UIs (user interfaces) with time prompt, progress prompt and the like and buttons for closing exit, helping prompt and the like. The module is the expression for these interface elements.
The process of virtual disassembly and assembly of the exercise mode and the assessment mode is an operation process of acting on the model. When the model needs to be operated, the model frame can be highlighted; when the model is not in the process of needing operation, the border of the model is not highlighted, as shown in fig. 8 and 9. The process of virtual disassembly and assembly is the process of analyzing the XML file and the model and searching for the corresponding XML file and model one by one. The module is a module for processing the action input instruction of the trainer in real time, updating the position and the posture of the operable object in real time and detecting whether the trainer will complete the steps and the like.
The XML file is a structural form of node storage data, each disassembly and assembly step is written in a node form of step-operation object-operation movement mode and the like one by one, and then a program analyzes the content of each node. The step prompt module for virtual disassembly and assembly not only comprises text prompt contents, but also comprises a prompt of a tool required by the current operation step. When the user uses the incorrect tool operation, corresponding reminding can be carried out.
On the other hand, an embodiment of the present invention provides a development system for dismounting software, including: a file reading module, a software design module, a custom disassembly and assembly module, and an export module, as shown in fig. 10.
And the file reading module is used for reading the imported file, analyzing the imported file and sending the analyzed model file and the disassembled sequence file to the software design module.
The imported files may be a model file and a disassembly sequence file. The model file and the disassembly and assembly sequence file are the model file and the disassembly and assembly sequence file of the target equipment to be developed. In other embodiments, the imported file may also be a compressed file that stores different resources of the virtual unmount software scenario of the undeveloped device, where the compressed file includes a model file and an unmount sequence file, and/or content in a streaming media format. The model file format can be FBX, and the disassembly and assembly sequence file format can be XML file or converted into XML format by excel table writing. The compressed file may be of the AssetBundle file type.
If the read files are the model file and the disassembly and assembly sequence file, directly sending the model file and the disassembly and assembly sequence file to a software design module; if the read file is a compressed file, the file reading module processes the compressed file to obtain a model file and a disassembly and assembly sequence file in the compressed file, and then sends the model file and the disassembly and assembly sequence file to the software design module.
And the software design module responds to the operation of a user to modify the model file and the disassembly and assembly sequence file to obtain a second model file and a second disassembly and assembly sequence file. The software design module comprises a model editing unit, a prompt editing unit and an interface editing unit, as shown in fig. 11.
The model editing unit is used for displaying each model component of the target equipment and an editing scene where the model component is located based on the model file and the dismounting sequence file. For example, the model file that the hypothesis was read is the model file of a robot, shows the editing scene of this robot, and the scene is a laboratory bench in laboratory, and there are goods shelves and toolbox in the laboratory in addition, places each model subassembly of robot on the goods shelves or on the laboratory bench.
And the model editing unit is also used for modifying the read model file in response to the adjustment and setting operations of the user on the position, the posture, the size ratio and the like of the model component in the editing scene to obtain a second model file. Wherein the contents of the read model file comprise the complete model components of the target device
And the prompt editing unit is used for responding to the selection operation of the user on the character prompt, and modifying the read disassembly and assembly sequence file to obtain a second disassembly and assembly sequence file.
For the specific working processes of the two units, please refer to step S103 of the above method embodiment, which is not described herein again.
And the interface editing unit is used for responding to the reselection of the user to the interface graph, editing the operation interface of the software and saving the graph file selected as the interface graph. For the specific working process of this unit, please refer to step S104 of the above method embodiment, which is not described herein again.
And the user-defined disassembly and assembly module is used for responding to user-defined operation of a user and visually editing the second disassembly and assembly sequence file to obtain a third disassembly and assembly sequence file. Since the imported disassembly and assembly sequence file is a possibility of the disassembly and assembly process of the equipment, the program can enable a user to carry out a self-defined disassembly and assembly sequence on the original basis, but the logicality of the disassembly and assembly sequence needs to be ensured by professionals. The self-defined dismouting module includes: a tree diagram conversion unit, an adjustment unit and a saving unit, as shown in fig. 12.
The tree graph conversion unit is used for analyzing the second disassembly and assembly sequence file, dividing the whole operation flow into each independent operation step, and performing visual conversion on the node text of the second disassembly and assembly sequence file to convert the node text into the tree graph.
And the adjusting unit is used for reordering each independent operation step in the tree diagram according to the operation of the user when the user defines the dismounting flow. The sequencing process is to modify the text content of the nodes in the second disassembly and assembly sequence file.
And the storage unit is used for converting the information in the edited tree graph into a text of a third disassembly and assembly sequence file for storage. The disassembly and assembly sequence file is a structural form of node storage data, each disassembly and assembly step is written in a node form of step-operation object-operation movement mode and the like one by one, then the program analyzes the content of each node, and the process is also the same.
And the export module is used for packaging the second model file and the third disassembly and assembly sequence file to obtain an AssetBundle format file and releasing the disassembly and assembly software of the target equipment. The process here published is essentially a replication process, except for the files in the AssetBundle, which are the Unity framework and its dll files. The AssetBundle format is a format used by Unity software to transmit files, and can store contents in streaming media formats such as FBX, XML and JPG, PNG, and the like. The Unity framework can parse and package it.
Based on the technical scheme disclosed above, the method comprises the steps of obtaining a model file of the target equipment and a disassembly and assembly sequence file of the target equipment; and generating a dismounting flow of the target equipment in response to the operation of a developer based on the model file and the dismounting sequence file. The software development efficiency of the mechanical equipment virtual dismounting system is improved. The usability of the virtual dismounting system is enriched; the degree of freedom and maintainability of the virtual disassembly and assembly system are improved, and the disassembly and assembly sequence can be modified randomly and stored in a disassembly and assembly sequence set.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (9)

1. A development method for disassembling and assembling software is characterized by comprising the following steps:
reading an imported file, and analyzing, wherein the imported file is related to target equipment;
if the imported files are model files and disassembly and assembly sequence files, displaying each model component of the target equipment and an editing scene where the model component is located based on the model files and the disassembly and assembly sequence files;
if the imported file is a compressed file, processing the compressed file to obtain a model file and a disassembly and assembly sequence file in the compressed file, and then displaying each model component of the target equipment and an editing scene where the model component is located based on the model file and the disassembly and assembly sequence file;
modifying the model file and the disassembly and assembly sequence file in response to the operation of a user to obtain a second model file and a second disassembly and assembly sequence file;
responding to the re-selection of the user to the interface graph, editing the operation interface of the software, and saving the graph file selected as the interface graph;
responding to user-defined operation of a user, and performing visual editing on the basis of the second disassembly and assembly sequence file to obtain a third disassembly and assembly sequence file;
and packaging the second model file, the third disassembly and assembly sequence file and the graphic file to obtain an AssetBundle format file, and issuing disassembly and assembly software of the target equipment.
2. The method of claim 1, wherein modifying the model file and the disassembly sequence file in response to a user operation to obtain a second model file and a second disassembly sequence file comprises:
in response to the adjustment and setting operations of the user on the position, the posture, the size ratio and/or the like of the model component in the editing scene, modifying the model file to obtain a second model file;
and/or, in response to the selection operation of the user on the text prompt, modifying the disassembly and assembly sequence file to obtain a second disassembly and assembly sequence file.
3. The method of claim 1, wherein the performing visual editing based on the second disassembled serial file in response to the user's custom operation to obtain a third disassembled serial file comprises:
analyzing the second disassembly and assembly sequence file, dividing the whole operation flow into each independent operation step, and performing visual conversion on the node text of the second disassembly and assembly sequence file to convert the node text into a tree diagram;
when a user self-defines the dismounting process, each independent operation step in the tree graph is reordered according to the operation of the user;
and converting the information in the edited tree graph into a text of a third disassembly and assembly sequence file for storage.
4. The method of claim 1, wherein the software for disassembling and assembling the target device comprises a demonstration mode, an exercise mode and an assessment mode;
the demonstration mode is a mode for demonstrating the defined disassembly and assembly process;
the practice mode is a mode in which disassembly and assembly practice is conducted through step guidance until all disassembly and assembly steps are completed;
the examination mode is a mode for carrying out dismounting examination without steps.
5. The method of claim 4, further comprising:
and responding to the self-defined operation of the developer, and setting the assessment indexes of the assessment mode, wherein the assessment indexes are used for reflecting assessment results.
6. A development system for disassembling and assembling software, comprising:
the file reading module is used for reading and analyzing an imported file, and sending the analyzed model file and the analyzed disassembly and assembly sequence file to the software design module, wherein the imported file is related to target equipment;
the software design module is used for modifying the model file and the disassembly and assembly sequence file in response to the operation of a user to obtain a second model file and a second disassembly and assembly sequence file; the system comprises a software interface, a graphic file and a display, wherein the software interface is used for editing an operation interface of the software and saving the graphic file selected as the interface graph in response to the reselection of a user to the interface graph;
the user-defined disassembly and assembly module is used for responding to user-defined operation of a user and visually editing the second disassembly and assembly sequence file to obtain a third disassembly and assembly sequence file;
and the export module is used for packaging the second model file, the third disassembly and assembly sequence file and the graphic file to obtain an AssetBundle format file and issuing disassembly and assembly software of the target equipment.
7. The system of claim 6, wherein the software design module comprises:
the model editing unit is used for responding to the adjustment and setting operation of a user on the position, the posture, the size ratio and the like of the model component in an editing scene, and modifying the model file to obtain a second model file;
the prompt editing unit is used for responding to the selection operation of a user on the character prompt, modifying the disassembly and assembly sequence file and obtaining a second disassembly and assembly sequence file;
and the interface editing unit is used for responding to the reselection of the user to the interface graph, editing the operation interface of the software and saving the graph file selected as the interface graph.
8. The system of claim 6, wherein the custom dismouting module comprises:
the tree graph conversion unit is used for analyzing the second disassembly and assembly sequence file, dividing the whole operation flow into each independent operation step, and performing visual conversion on the node text of the second disassembly and assembly sequence file to convert the node text into a tree graph;
the adjusting unit is used for reordering each independent operation step in the tree diagram according to the operation of the user when the user defines the dismounting flow;
and the storage unit is used for converting the information in the edited tree graph into a text of a third disassembly and assembly sequence file for storage.
9. The method of claim 6, further comprising:
and the examination setting unit is used for responding to the self-defined operation of the developer and setting the examination indexes of the examination mode, and the examination indexes are used for reflecting examination results.
CN201910935753.4A 2019-09-29 2019-09-29 Development method and system for dismounting software Active CN110673845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910935753.4A CN110673845B (en) 2019-09-29 2019-09-29 Development method and system for dismounting software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910935753.4A CN110673845B (en) 2019-09-29 2019-09-29 Development method and system for dismounting software

Publications (2)

Publication Number Publication Date
CN110673845A true CN110673845A (en) 2020-01-10
CN110673845B CN110673845B (en) 2021-01-05

Family

ID=69080474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910935753.4A Active CN110673845B (en) 2019-09-29 2019-09-29 Development method and system for dismounting software

Country Status (1)

Country Link
CN (1) CN110673845B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8213164B2 (en) * 2010-03-04 2012-07-03 Jamal Benbrahim Quick mounting system and media for video recording
CN102663916A (en) * 2012-04-24 2012-09-12 河海大学常州校区 Electromechanical device model dismantling training system under virtual roaming scene and development method thereof
CN104700686A (en) * 2013-12-09 2015-06-10 上海仪电信息网络有限公司 Real-object simulated maintenance training system for domestic electronic products
CN105096694A (en) * 2015-09-17 2015-11-25 中国人民解放军海军工程大学 Electrical equipment virtual maintenance training system simulation method
CN105551088A (en) * 2015-12-29 2016-05-04 北京航天测控技术有限公司 Three-dimensional model dismounting method and device based on virtual group object
CN106782013A (en) * 2017-01-06 2017-05-31 湖南大学 A kind of virtual experience system of mechanized equipment and method
CN109118869A (en) * 2018-09-19 2019-01-01 大连海事大学 A kind of watercraft cabinet equipment three-dimensional examination training system of high realism
CN109523854A (en) * 2018-11-15 2019-03-26 大连理工大学 A kind of method of Hydraulic Elements machine & equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8213164B2 (en) * 2010-03-04 2012-07-03 Jamal Benbrahim Quick mounting system and media for video recording
CN102663916A (en) * 2012-04-24 2012-09-12 河海大学常州校区 Electromechanical device model dismantling training system under virtual roaming scene and development method thereof
CN104700686A (en) * 2013-12-09 2015-06-10 上海仪电信息网络有限公司 Real-object simulated maintenance training system for domestic electronic products
CN105096694A (en) * 2015-09-17 2015-11-25 中国人民解放军海军工程大学 Electrical equipment virtual maintenance training system simulation method
CN105551088A (en) * 2015-12-29 2016-05-04 北京航天测控技术有限公司 Three-dimensional model dismounting method and device based on virtual group object
CN106782013A (en) * 2017-01-06 2017-05-31 湖南大学 A kind of virtual experience system of mechanized equipment and method
CN109118869A (en) * 2018-09-19 2019-01-01 大连海事大学 A kind of watercraft cabinet equipment three-dimensional examination training system of high realism
CN109523854A (en) * 2018-11-15 2019-03-26 大连理工大学 A kind of method of Hydraulic Elements machine & equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
任新刚: "虚拟装配实训软件开发流程实践", 《林业机械与木工设备》 *

Also Published As

Publication number Publication date
CN110673845B (en) 2021-01-05

Similar Documents

Publication Publication Date Title
US5745738A (en) Method and engine for automating the creation of simulations for demonstrating use of software
Holland et al. Graphics and GUIs with MATLAB
Liarokapis An augmented reality interface for visualizing and interacting with virtual content
KR20160102580A (en) Manipulating graphical objects
US20090244071A1 (en) Synthetic image automatic generation system and method thereof
KR20180103982A (en) Part information search device, part information search method and program
Cannavò et al. A visual editing tool supporting the production of 3D interactive graphics assets for public exhibitions
Schmidt Speeding up the engineering of interactive systems with generative ai
Li et al. Instruction manual for product assembly process based on augmented visualization
Lee Beginning IOS 5 Application Development
CN110673845B (en) Development method and system for dismounting software
CN111651922A (en) Method, system, device and storage medium for analyzing simulated manual calculation of force method calculation
Bowman et al. Virtual-SAP: an immersive tool for visualizing the response of building structures to environmental conditions
US6518988B1 (en) Virtual manipulatives
Gimeno et al. An easy-to-use AR authoring tool for industrial applications
Gimeno et al. An occlusion-aware AR authoring tool for assembly and repair tasks
Lee et al. Prototyping a spatial skills AR authoring tool for partially sighted, blind, and sighted individuals
KR101505174B1 (en) Methods and apparatuses of an learning simulation model using images
Khuri A user-centered approach for designing algorithm visualizations
Ty et al. A mobile authoring tool for ar content generation using images as annotations
Zgoda et al. Virtual and augmented reality technologies in training architecture and civil engineering specialists
Cao et al. A novel augmented reality guidance system for future informatization experimental teaching
Campos-López et al. Model-Driven Engineering for Augmented Reality.
McWhirter AlgorithmExplorer: A student centered algorithm animation system
Constancio et al. MARS: Mobile augmented reality script framework

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