Assembly and disassembly method, device and equipment
By using assembly path labels to determine and modify the assembly status in the virtual environment, simple and rapid assembly and disassembly of parts is realized, solving the problem of high assembly complexity in the existing technology, and improving user experience and efficiency.
Patent Information
- Application Number
- CN201910430042.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-05-22
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2039-05-22
AI Technical Summary
Existing assembly methods have high complexity in assembling parts in a virtual environment and require users to have professional backgrounds in mechanical manufacturing and virtual simulation. It is difficult for users to easily and quickly complete assembly and disassembly.
By determining the assembly path labels of the reference parts and the parts to be assembled, it is judged whether the assembly path can be assembled, and the path labels are modified according to the label status to determine the assembly status, thereby realizing automated assembly and disassembly processes.
Assembly and disassembly of parts can be completed simply and quickly without professional background, reducing operational complexity and time costs, and improving user experience.
Smart Images

Figure CN110147619B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer-aided manufacturing, and in particular to an assembly and disassembly method, device and equipment. Background Art
[0002] In recent years, with the development of CAD (Computer Aided Design) technology, computer technology and simulation technology, many mechanical design and manufacturing, product virtual assembly and disassembly process display, assembly sequence based on digital simulation technology and other technologies have become more and more important. The application of these technologies will greatly help enterprises improve product quality, shorten product design, research and development and manufacturing cycles, and reduce production costs. Therefore, the application of these technologies to complete the assembly and disassembly of parts in a virtual environment has become a necessary means for many companies before real products are put into use.
[0003] At present, when existing assembly methods assemble parts in a virtual environment, it is necessary to perform a series of design and assembly of parts in the virtual reality environment according to the constraints, hierarchical relationships and assembly relationships between the parts; and when assembling using the constraints between these parts, users are required to have technical capabilities in the fields of virtual simulation, mechanical manufacturing, etc., in order to complete the assembly of parts in the virtual reality environment according to the constraints, hierarchical relationships and assembly relationships.
[0004] It can be seen that the existing assembly methods have high requirements on the professional background of users, and even users with professional backgrounds have to consider the constraints, hierarchical relationships and assembly relationships between parts during assembly, so the existing assembly methods are highly complex. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide an assembly and disassembly method, device and equipment, which can simply and quickly complete the assembly and disassembly of various parts.
[0006] The specific technical solutions are as follows:
[0007] An assembly method, the method comprising:
[0008] Determine the reference part from each assembly unit of the body to be assembled;
[0009] Determining a component to be assembled with the reference component;
[0010] Determine whether the assembly path between the reference part and the part to be assembled is an assembleable path according to the first label and the second label of the assembly path corresponding to the part to be assembled; wherein the first label is used to indicate whether the assembly level of a certain assembly path is in an assembleable state, and the second label is used to indicate whether the assembly position pointed to by a certain assembly path has been assembled;
[0011] If it is an assembleable path, one of the assembly paths of the reference part and the to-be-assembled part is determined as the first assembly path, and the to-be-assembled part is assembled to the reference part according to the first assembly path; if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to indicate an assembled state, wherein the second assembly path is: an assembly path pointing to the same assembly position as the first assembly path;
[0012] If there is a third assembly path, determining whether there is an assembleable assembly path in the third assembly path according to the second label of the third assembly path; wherein the third assembly path is: an assembly path of the same assembly level as the first assembly path and the second assembly path;
[0013] If it does not exist, the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path are all modified to indicate that the assembly level is a non-assembly state.
[0014] Further, the determining whether the assembly path between the reference component and the part to be assembled is an assembleable path according to the first label and the second label of the assembly path corresponding to the part to be assembled includes:
[0015] Detecting whether a first label of an assembly path corresponding to the to-be-assembled component indicates an assembleable state;
[0016] If yes, activate the assembly path corresponding to the to-be-assembled part, and determine whether the second label of the assembly path corresponding to the to-be-assembled part indicates an unassembled state, so as to determine whether the assembly path of the reference part and the to-be-assembled part is an assembleable path.
[0017] Furthermore, the detecting whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state includes:
[0018] Based on the assembly level of the assembly path corresponding to the to-be-assembled part, it is determined whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state.
[0019] Furthermore, before determining the reference part from each assembly unit of the assembly body to be assembled, the method further includes:
[0020] Get the various assembly units that make up a body to be assembled.
[0021] Further, after the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path are all modified to indicate that the assembly level is not assembleable, the method further includes:
[0022] The assembled reference part is taken as a new assembly unit, and the step of determining the reference part from each assembly unit of the body to be assembled is returned to be executed.
[0023] A disassembly method, the method comprising:
[0024] Disassemble the assembly from the assembly in an assembly order opposite to that of any of the above-mentioned assembly methods; if a second assembly path exists, modify the second labels of the first assembly path and the second assembly path to indicate an unassembled state, respectively; if a third path exists, modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path to indicate an assembly level that is capable of being assembled.
[0025] An assembly device, comprising:
[0026] A reference part determination module is used to determine the reference part from each assembly unit of the body to be assembled;
[0027] A module for determining a part to be assembled, used for determining a part to be assembled with the reference part;
[0028] A first determination module is used to determine whether the assembly path between the reference part and the part to be assembled is an assembleable path according to the first label and the second label of the assembly path corresponding to the part to be assembled; if it is an assembleable path, trigger the first assembly path determination module, wherein the first label is used to indicate whether the assembly level of a certain assembly path is in an assembleable state, and the second label is used to indicate whether the assembly position pointed to by a certain assembly path has been assembled;
[0029] The first assembly path determination module is used to determine one of the assembly paths of the reference part and the to-be-assembled part as the first assembly path, and assemble the to-be-assembled part onto the reference part according to the first assembly path, and if there is a second assembly path, modify the second labels of the first assembly path and the second assembly path to indicate an assembled state, respectively, wherein the second assembly path is: an assembly path pointing to the same assembly position as the first assembly path;
[0030] The second determination module is used to determine whether there is an assembleable assembly path in the third assembly path according to the second tag of the third assembly path if the third assembly path exists; if not, trigger the modification module, wherein the third assembly path is: an assembly path of the same assembly level as the first assembly path and the second assembly path;
[0031] The modification module is used to modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path to a state indicating that the assembly level is not assembleable.
[0032] Furthermore, the first determining module includes:
[0033] A detection submodule, used to detect whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state; if yes, activate the submodule;
[0034] The activation submodule is used to activate the assembly path corresponding to the part to be assembled, and determine whether the second label of the assembly path corresponding to the part to be assembled represents an unassembled state, so as to determine whether the assembly path between the reference part and the part to be assembled is an assembleable path.
[0035] A disassembly device, comprising:
[0036] A disassembly module is used to disassemble the assembly parts from the assembly according to the assembly order opposite to the assembly method described in any one of claims 1 to 5; if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to indicate an unassembled state; if there is a third path, the first label of the first assembly path, the first label of the second assembly path and the first label of the third assembly path are all modified to indicate an assembly level that is an assemblable state.
[0037] According to another aspect of the present invention, there is provided an electronic device, comprising a processor and a machine-readable storage medium, wherein the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to cause the computer to execute any of the above-mentioned assembly and / or disassembly methods when the processor runs on the computer.
[0038] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes any of the above-mentioned assembly and / or disassembly methods.
[0039] An assembly and disassembly method, device and equipment provided by an embodiment of the present invention comprises: determining a to-be-assembled part to be assembled with a reference part; according to the first label and the second label of the assembly path corresponding to the to-be-assembled part, the assembly path for which the assembly path between the reference part and the to-be-assembled part is an assembleable path is determined as the first assembly path, and the to-be-assembled part is assembled to the reference part according to the first assembly path, and if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to represent the assembled state; if there is a third assembly path, and there is no assembleable assembly path in the third assembly path, the first label of the first assembly path, the first label of the second assembly path and the first label of the third assembly path are all modified to represent the assembly level as a non-assembleable state. Compared with the prior art, by applying the scheme of the embodiment of the present invention, the user does not need to have a professional background in the field of mechanical manufacturing and virtual simulation, nor does he need to analyze the constraint relationship, hierarchical relationship and assembly relationship between parts and components, and only needs to follow the prompts of the first label and the second label of the assembly path corresponding to the to-be-assembled part, so as to simply and quickly complete the assembly of each part and component. Of course, any product or method implementing the present invention does not necessarily need to achieve all the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0041] Figure 1 A schematic diagram of a flow chart of an assembly method provided by an embodiment of the present invention;
[0042] Figure 2 A schematic diagram of a first type of shaft and gear assembly provided by an embodiment of the present invention;
[0043] Figure 3 A schematic diagram of a second shaft and gear assembly provided by an embodiment of the present invention;
[0044] Figure 4 A schematic diagram of a first assembly path and a second assembly path provided in an embodiment of the present invention;
[0045] Figure 5 A schematic diagram of the structure of an assembly device provided by an embodiment of the present invention;
[0046] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention.
[0047] Among them, 1-first gear, 2-shaft, 3-second gear. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] In order to solve the problems in the prior art, an embodiment of the present invention provides an assembly method.
[0050] See also Figure 1 , Figure 1 A flowchart of an assembly method provided in this embodiment is applied to a server or a client, and the method includes:
[0051] S101, determining a reference part from each assembly unit of the body to be assembled;
[0052] Mechanical products are generally composed of multiple parts and components. According to technical requirements, several parts are assembled into components, which is called component assembly. The process of combining several parts or components into a machine is called general assembly.
[0053] Therefore, the above-mentioned assembly unit can be a part, or a component assembled from multiple parts, or a part and a component, which is not limited in the embodiment of the present invention.
[0054] The selection conditions for the above-mentioned reference parts can be that the base or main parts and components of the product should have a large volume and weight, sufficient supporting surfaces and more common joint surfaces.
[0055] The above-mentioned method of determining the reference part is an interactive process between the user and the client, specifically: according to an assembly unit selected by the user from multiple assembly units, the assembly unit is determined as the reference part.
[0056] The reference part may be a reference component or a reference member.
[0057] In an embodiment of the present invention, before S101, the method may further include the following steps:
[0058] Get the individual assembly units that make up an assembly.
[0059] An assembly can be a component or a machine assembled from parts.
[0060] The assembly units obtained in the embodiment of the present invention may be assembly units drawn by the client or server executing the embodiment of the present invention itself, or may be assembly units imported from other 3D software, which is not limited in the embodiment of the present invention.
[0061] It can be seen that the embodiment of the present invention obtains various assembly units that constitute an assembly. If the various assemblies are imported assembly units, the method of the embodiment of the present invention has low requirements on the dimensional accuracy of the imported assembly units, and has no requirements on information such as texture quality and material properties. Therefore, the method will not lose the data information of parts, resulting in the problem that the acquired assembly cannot be assembled due to incomplete data information. It can be seen that this method not only has low requirements and simple operation, but is also fast, thereby being able to bring a good experience effect to users.
[0062] In one embodiment of the present invention, after obtaining the assembly units of an assembly body as described above, the method further includes steps A and B:
[0063] Step A, obtaining the attribute information and name of each assembly unit;
[0064] Step B: Display editable attribute information and names of each acquired assembly unit.
[0065] It can be seen that the embodiment of the present invention can adjust or reset the attribute information and name of the three-dimensional model, so that the method is easy to operate, easy for users to remember and use, and further improves the user experience.
[0066] S102, determining a component to be assembled with the reference component;
[0067] The determination of the above-mentioned to-be-assembled component may be that a user determines an assembly unit from preset assembly units as the to-be-assembled component.
[0068] The above-mentioned to-be-assembled component may be a to-be-assembled component that can be assembled with the reference component, or may be a to-be-assembled component that cannot be assembled with the reference component.
[0069] S103, according to the first label and the second label of the assembly path corresponding to the to-be-assembled part, determine whether the assembly path between the reference part and the to-be-assembled part is an assembleable path; if it is an assembleable path, execute S104; if it is an unassembleable path, prompt to indicate that the assembly path corresponding to the assembly part is an unassembleable path, or, prompt and exit; wherein, the first label is used to indicate whether the assembly level of a certain assembly path is in an assembleable state, and the second label is used to indicate whether the assembly position pointed to by a certain assembly path has been assembled;
[0070] Based on the above description, it can be known that the part to be assembled may not be able to be assembled with the reference part. Therefore, based on the above situation, it is necessary to judge the assembly path of the part to be assembled to determine whether the part to be assembled can be assembled on the reference part according to the assembly path of the part.
[0071] The first label and the second label may be letters, numbers, words, or a combination of numbers, words or letters, which is not limited in the embodiment of the present invention.
[0072] For example: when the first label is 1, it indicates that the assembly level of the assembly path corresponding to the part to be assembled is in an assembleable state; when the first label is 0, it indicates that the assembly level of the assembly path corresponding to the part to be assembled is in a non-assembleable state; or, when the first label is a text label with "assembleable", it indicates that the assembly level of the assembly path corresponding to the part to be assembled is in an assembleable state; when the first label is a text label with "non-assembleable", it indicates that the assembly level of the assembly path corresponding to the part to be assembled is in a non-assembleable state.
[0073] When the second label is A, it indicates that the assembly position pointed to by the assembly path corresponding to the part to be assembled has been assembled, and when the second label is B, it indicates that the assembly position pointed to by the assembly path corresponding to the part to be assembled has not been assembled; or, when the second label is A1, it indicates that the assembly position pointed to by the assembly path corresponding to the part to be assembled has been assembled, and when the second label is A0, it indicates that the assembly position pointed to by the assembly path corresponding to the part to be assembled has not been assembled.
[0074] The assembly level is a level of priority for an assembly, which is determined according to the assembly sequence of each assembly unit and the constraint relationship of the assembly units.
[0075] For example, a gear is to be installed at two positions of an axis respectively, which are recorded as the first gear and the second gear. The assembly paths corresponding to the first gear and the second gear are both of the same assembly level. If a third gear is installed on the first gear, the assembly level of the assembly path corresponding to the third gear is higher than the assembly level corresponding to the first gear and the second gear.
[0076] In an embodiment of the present invention, the S103 may include the following steps C to D:
[0077] Step C, detecting whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state; if yes, executing step D;
[0078] Whether the first label represents an assembleable state can be determined by the content of the numbers, letters, words or a combination of the three represented by the first label, or can be determined at the assembly level of the assembly body according to the assembly path.
[0079] In one embodiment of the present invention, the above step C specifically includes the following steps:
[0080] Based on the assembly level of the assembly path corresponding to the to-be-assembled part, it is determined whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state.
[0081] The assembly level of the assembly path can be determined according to the assembly sequence of the parts in the assembly, and the assembly level of each assembly path can be calibrated in advance.
[0082] If the assembly level is in ascending order, when it is detected that the assembly level is 1, the first label indicates that the assembly path is in an assembleable state; when it is detected that the assembly level is not 1, the first label indicates that the assembly path is in a non-assembleable state.
[0083] It can be seen that the embodiment of the present invention determines whether the first label of the assembly path corresponding to the part to be assembled represents an assembleable state by measuring the assembly level of the assembly path corresponding to the part to be assembled. This is not only simple to operate, but also can quickly determine the physical meaning represented by the first label.
[0084] Step D, activating the assembly path corresponding to the to-be-assembled part, and determining whether the second label of the assembly path corresponding to the to-be-assembled part indicates an unassembled state, so as to determine whether the assembly path between the reference part and the to-be-assembled part is an assembleable path.
[0085] When it is not determined whether the assembly path is an assembleable assembly path, the assembly path is not activated. Therefore, when it is determined that the assembly path is an assembleable assembly path, the assembly path is activated.
[0086] There may be one, two, or even more than three assembly paths for an assembly part to be assembled to a reference part, which is not limited in the embodiment of the present invention.
[0087] For example: Figure 2 As shown, a shaft 2 is a reference part, and the part to be assembled with the shaft 2 is a first gear 1. There may be two assembly paths for installing the first gear 1 on the raised platform in the shaft, wherein the raised platform is the assembly position, one assembly path is to pass through one end of the shaft 1 and install on the raised platform of the shaft 1, and the other assembly path is to pass through the other end of the shaft 1 and install on the raised platform of the shaft.
[0088] It can be seen that in the embodiment of the present invention, the first label of the assembly path corresponding to the part to be assembled is characterized as an assembleable state, the assembly path corresponding to the part to be assembled is activated, and it is determined whether the second label of the assembly path corresponding to the part to be assembled is characterized as a non-assembled state, so as to determine whether the assembly path between the part to be assembled and the part to be assembled is an assembleable path. Only by detecting the first label and the second label of the assembly path corresponding to the part to be assembled, it can be determined whether the assembly path between the part to be assembled and the part to be assembled is an assembleable path. The operation is simple and easy to understand, which can further improve the user experience.
[0089] S104, determining one of the assembly paths of the reference part and the to-be-assembled component as a first assembly path, and assembling the to-be-assembled component onto the reference part according to the first assembly path, and if there is a second assembly path, modifying the second labels of the first assembly path and the second assembly path to indicate an assembled state, respectively, wherein the second assembly path is: an assembly path pointing to the same assembly position as the first assembly path;
[0090] Based on the above description, it can be known that there may be one or more assembly paths between the reference part and the part to be assembled. Therefore, if there is one assembly path, the assembly path is determined as the first assembly path, and if there are multiple assembly paths, one assembly path is determined from the assembly paths as the first assembly path.
[0091] The second assembly path may or may not exist, that is, the assembly path pointing to the same assembly position as the first assembly path may or may not exist;
[0092] Based on the above example, Figure 2 As shown, there is a second assembly path for assembling the first gear 1 and the shaft 2, such as Figure 3 As shown, the shaft 2 is provided with two raised platforms, which are respectively used to install the first gear 1 and the second gear 3. Then, relative to one of the gears as the part to be assembled, the first gear 1 or the second gear 3 has only one assembly path, so there is no second assembly path for the assembly of the first gear 1 or the second gear 3 with the shaft 1.
[0093] If there is a second assembly path, the second labels of the first assembly path and the second assembly path are both modified to indicate an assembled state;
[0094] If the second assembly path does not exist, the second label of the first assembly path is modified to represent an assembled state.
[0095] The above-mentioned second assembly path can also be understood as the assembly path between the above-mentioned reference part and the part to be assembled excluding the first assembly path. In order to facilitate user identification, both the second assembly path and the first assembly path can be marked with a third label, and the third label is an identifier for indicating assembly paths pointing to the same assembly position.
[0096] For example, Figure 4 As shown, the first assembly path is S1→S2, indicating an assembly path with an assembly direction from S1 to S2, and the second assembly path is S3→S2, indicating an assembly path with an assembly direction from S3 to S2.
[0097] The second labels of the first assembly path and the second assembly path are both modified to indicate an assembled state, that is, the second label of the first assembly path is modified to indicate that the assembly position pointed to by the first assembly path has been assembled; the second label of the second assembly path is modified to indicate that the assembly position pointed to by the second assembly path has been assembled;
[0098] The first assembly path and the second assembly path both point to the same assembly position. When the part to be assembled is assembled onto the reference part along the first assembly path, it indicates that the assembly position has been assembled.
[0099] S105, if the third assembly path exists, determine whether there is an assembleable assembly path in the third assembly path according to the second tag of the third assembly path; if not, execute S106, wherein the third assembly path is: an assembly path of the same assembly level as the first assembly path and the second assembly path;
[0100] The third assembly path may or may not exist, that is, there may be no assembly path at the same assembly level as the first assembly path and the second assembly path, or there may be one or more assembly paths.
[0101] In one embodiment of the present invention, if the third assembly path does not exist, the process ends.
[0102] S106: Modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path to indicate that the assembly level is not assembleable.
[0103] If there is an assembly path that cannot be assembled in the third assembly path, it means that the assembly paths at the same assembly level as the first assembly path and the second assembly path have completed the assembly. Therefore, it is necessary to modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path.
[0104] If there is an assembleable assembly path in the third assembly path, there is no need to modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path, that is, any part of the third assembly path needs to be assembled.
[0105] In one embodiment of the present invention, after S106, the following steps are further included:
[0106] S107, taking the assembled reference part as a new assembly unit, and returning to execute step S101.
[0107] The step of returning to execute S101 is returning to execute S101 to S107.
[0108] After the assembly part and the reference part are assembled, a new assembly unit is formed, and S101 to S107 are continued to be executed to complete the entire assembly.
[0109] It can be seen that the embodiment of the present invention can quickly, accurately and orderly complete the assembly of the entire parts by taking the assembled reference part as a new assembly unit and continuing to return to execute step S101.
[0110] It can be seen that the method provided by the embodiment of the present invention determines the to-be-assembled part to be assembled with the reference part; according to the first label and the second label of the assembly path corresponding to the to-be-assembled part, the assembly path for which the assembly path between the reference part and the to-be-assembled part is an assembleable path is determined as the first assembly path, and the to-be-assembled part is assembled to the reference part according to the first assembly path, and if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to represent the assembled state; if there is a third assembly path, and there is no assembleable assembly path in the third assembly path, the first label of the first assembly path, the first label of the second assembly path and the first label of the third assembly path are all modified to represent the assembly level as a non-assembleable state. Compared with the prior art, by applying the solution of the embodiment of the present invention, the user does not need to have a professional background in the field of mechanical manufacturing and virtual simulation, nor does he need to analyze the constraint relationship, hierarchical relationship and assembly relationship between parts and components. He only needs to follow the prompts of the first label and the second label of the assembly path corresponding to the to-be-assembled part, and can simply and quickly complete the assembly of each part.
[0111] The first disassembly method provided by the embodiment of the present invention comprises the following steps:
[0112] Disassemble the assembly from the assembly according to an assembly sequence opposite to the assembly method described in any of the above embodiments; if a second assembly path exists, modify the second labels of the first assembly path and the second assembly path to indicate an unassembled state, and if a third path exists, modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path to indicate an assembly level that is assembleable.
[0113] The assembly unit is disassembled from the assembly body according to the disassembly sequence, and the above-mentioned disassembly sequence is the reverse sequence of the above-mentioned assembly sequence.
[0114] The assembly sequence is the sequence in which the parts to be assembled are assembled according to the above-mentioned assembly method.
[0115] After the component or machine is assembled, the parts can be disassembled one by one according to the disassembly sequence.
[0116] The above-mentioned assembly may be a component composed of a plurality of parts, or may be a machine composed of a plurality of components.
[0117] It can be seen that the method provided in the embodiment of the present invention can efficiently and accurately disassemble the assembly unit from the assembly by disassembling the assembly parts from the assembly in the opposite assembly order to the assembly method described in any of the above embodiments. It is not only simple to operate, but also can bring a good experience effect to the user.
[0118] Corresponding to the above-mentioned assembly method, an embodiment of the present invention further provides an assembly device.
[0119] See also Figure 5 , Figure 5 A schematic diagram of the structure of an assembly device provided in an embodiment of the present invention, which is applied to a server or a client, includes:
[0120] A reference part determination module 201 is used to determine a reference part from each assembly unit of the assembly to be assembled;
[0121] A to-be-assembled component determination module 202 is used to determine the to-be-assembled component to be assembled with the reference component;
[0122] The first determination module 203 is used to determine whether the assembly path between the reference part and the part to be assembled is an assembleable path according to the first label and the second label of the assembly path corresponding to the part to be assembled; if it is an assembleable path, the first assembly path determination module 204 is triggered, wherein the first label is used to indicate whether the assembly level of a certain assembly path is in an assembleable state, and the second label is used to indicate whether the assembly position pointed to by a certain assembly path has been assembled;
[0123] The first assembly path determination module 204 is used to determine one of the assembly paths of the reference part and the to-be-assembled part as the first assembly path, and assemble the to-be-assembled part onto the reference part according to the first assembly path, and if there is a second assembly path, modify the second labels of the first assembly path and the second assembly path to indicate an assembled state, respectively, wherein the second assembly path is: an assembly path pointing to the same assembly position as the first assembly path;
[0124] The second determination module 205 is used to determine whether there is an assembleable assembly path in the third assembly path according to the second tag of the third assembly path if there is a third assembly path; if not, trigger the modification module 206, wherein the third assembly path is: an assembly path of the same assembly level as the first assembly path and the second assembly path;
[0125] The modification module 206 is used to modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path to indicate that the assembly level is not assembleable.
[0126] In one embodiment, the first determining module 203 may include:
[0127] A detection submodule, used to detect whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state; if yes, activate the submodule;
[0128] The activation submodule is used to activate the assembly path corresponding to the part to be assembled, and determine whether the second label of the assembly path corresponding to the part to be assembled represents an unassembled state, so as to determine whether the assembly path between the reference part and the part to be assembled is an assembleable path.
[0129] In one embodiment, the detection submodule may include:
[0130] The determination unit is configured to determine whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state based on the assembly level of the assembly path corresponding to the to-be-assembled part.
[0131] In one embodiment, the device further comprises:
[0132] The acquisition module is used to acquire various assembly units constituting a body to be assembled.
[0133] In one embodiment, the device further comprises:
[0134] The assembled reference part is taken as a new assembly unit, and the step of determining the reference part from each assembly unit of the body to be assembled is returned to be executed.
[0135] It can be seen that the device provided by the embodiment of the present invention determines the to-be-assembled part to be assembled with the reference part; according to the first label and the second label of the assembly path corresponding to the to-be-assembled part, the assembly path for which the assembly path between the reference part and the to-be-assembled part is an assembleable path is determined as the first assembly path, and the to-be-assembled part is assembled to the reference part according to the first assembly path, and if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to represent the assembled state; if there is a third assembly path, and there is no assembleable assembly path in the third assembly path, the first label of the first assembly path, the first label of the second assembly path and the first label of the third assembly path are all modified to represent the assembly level as a non-assembleable state. Compared with the prior art, by applying the solution of the embodiment of the present invention, the user does not need to have a professional background in the field of mechanical manufacturing and virtual simulation, nor does he need to analyze the constraint relationship, hierarchical relationship and assembly relationship between parts and components. He only needs to follow the prompts of the first label and the second label of the assembly path corresponding to the to-be-assembled part, and can simply and quickly complete the assembly of each part.
[0136] Corresponding to the first disassembly method described above, an embodiment of the present invention further provides a first disassembly device, which includes:
[0137] A disassembly module is used to disassemble the assembly from the assembly according to an assembly order opposite to that of the assembly method described in any of the above items; if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to indicate a state of being unassembled; if there is a third path, the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path are all modified to indicate a state of being able to be assembled at the assembly level.
[0138] It can be seen that the device provided in the embodiment of the present invention can efficiently and accurately disassemble the assembly unit from the assembly by disassembling the assembly parts from the assembly according to the assembly order opposite to the assembly method described in any of the above embodiments. It is not only simple to operate, but also can bring a good experience effect to the user.
[0139] The embodiment of the present invention further provides an electronic device, such as Figure 6 As shown, the electronic device includes a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 communicate with each other through the communication bus 304.
[0140] Memory 303, used for storing computer programs;
[0141] The processor 301 is used to implement the assembly method provided by the embodiment of the present invention when executing the program stored in the memory 303.
[0142] Specifically, the above-mentioned assembly method comprises:
[0143] Determine the reference part from each assembly unit of the body to be assembled;
[0144] Determining a component to be assembled with the reference component;
[0145] Determine whether the assembly path between the reference part and the part to be assembled is an assembleable path according to the first label and the second label of the assembly path corresponding to the part to be assembled; wherein the first label is used to indicate whether the assembly level of a certain assembly path is in an assembleable state, and the second label is used to indicate whether the assembly position pointed to by a certain assembly path has been assembled;
[0146] If it is an assembleable path, one of the assembly paths of the reference part and the to-be-assembled part is determined as the first assembly path, and the to-be-assembled part is assembled to the reference part according to the first assembly path; if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to indicate an assembled state, wherein the second assembly path is: an assembly path pointing to the same assembly position as the first assembly path;
[0147] If there is a third assembly path, determining whether there is an assembleable assembly path in the third assembly path according to the second label of the third assembly path; wherein the third assembly path is: an assembly path of the same assembly level as the first assembly path and the second assembly path;
[0148] If it does not exist, the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path are all modified to indicate that the assembly level is a non-assembly state.
[0149] It can be seen that the electronic device provided by the present embodiment is executed by determining the to-be-assembled part to be assembled with the reference part; according to the first label and the second label of the assembly path corresponding to the to-be-assembled part, the assembly path for which the assembly path between the reference part and the to-be-assembled part is an assembleable path is determined as the first assembly path, and the to-be-assembled part is assembled to the reference part according to the first assembly path, and if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to represent the assembled state; if there is a third assembly path, and there is no assembleable assembly path in the third assembly path, the first label of the first assembly path, the first label of the second assembly path and the first label of the third assembly path are all modified to represent the assembly level as a non-assembleable state. Compared with the prior art, by applying the solution of the embodiment of the present invention, the user does not need to have a professional background in the field of mechanical manufacturing and virtual simulation, nor does he need to analyze the constraint relationship, hierarchical relationship and assembly relationship between parts and components. He only needs to follow the prompts of the first label and the second label of the assembly path corresponding to the to-be-assembled part to simply and quickly complete the assembly of each part.
[0150] or / and,
[0151] Specifically, the first disassembly method mentioned above comprises:
[0152] Disassemble the assembly from the assembly according to an assembly order opposite to the assembly method in any of the above embodiments; if a second assembly path exists, modify the second labels of the first assembly path and the second assembly path to indicate an unassembled state, and if a third path exists, modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path to indicate an assembly level that is assembleable.
[0153] It can be seen that the electronic device provided by this embodiment can efficiently and accurately remove the assembly unit from the assembly by disassembling the assembly parts from the assembly in the opposite order of the assembly method described in any of the above embodiments. This is not only simple to operate, but also can bring a good experience to the user.
[0154] The implementation methods of the above-mentioned related content assembly and / or disassembly methods are the same as the assembly and / or disassembly methods provided in the aforementioned method embodiment part, and will not be repeated here.
[0155] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0156] The communication interface is used for communication between the above electronic device and other devices.
[0157] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0158] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0159] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the assembly method described in any one of the above embodiments.
[0160] In another embodiment provided by the present invention, a computer program product including instructions is also provided, and when the computer program product is run on a computer, the computer is enabled to execute the assembly method described in any one of the above embodiments.
[0161] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the first disassembly method described in any one of the above embodiments.
[0162] In another embodiment provided by the present invention, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the first disassembly method described in any one of the above embodiments.
[0163] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital stock investor line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0164] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0165] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, storage medium or computer program product embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0166] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. An assembly method, It is characterized in that The method comprises: Determine the reference part from each assembly unit of the body to be assembled; Determining a component to be assembled with the reference component; Determine whether the assembly path between the reference part and the part to be assembled is an assembleable path according to the first label and the second label of the assembly path corresponding to the part to be assembled; wherein the first label is used to indicate whether the assembly level of a certain assembly path is in an assembleable state, and the second label is used to indicate whether the assembly position pointed to by a certain assembly path has been assembled; If it is an assembleable path, one of the assembly paths of the reference part and the to-be-assembled part is determined as a first assembly path, and the to-be-assembled part is assembled to the reference part according to the first assembly path; if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to indicate an assembled state, wherein the second assembly path is: an assembly path pointing to the same assembly position as the first assembly path; If there is a third assembly path, determining whether there is an assembleable assembly path in the third assembly path according to the second label of the third assembly path; wherein the third assembly path is: an assembly path of the same assembly level as the first assembly path and the second assembly path; If it does not exist, the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path are all modified to indicate that the assembly level is a non-assembly state.
2. The method according to claim 1, It is characterized in that The determining, based on the first label and the second label of the assembly path corresponding to the to-be-assembled component, whether the assembly path between the reference component and the to-be-assembled component is an assembleable path comprises: Detecting whether a first label of an assembly path corresponding to the to-be-assembled component indicates an assembleable state; If yes, activate the assembly path corresponding to the to-be-assembled part, and determine whether the second label of the assembly path corresponding to the to-be-assembled part indicates an unassembled state, so as to determine whether the assembly path between the reference part and the to-be-assembled part is an assembleable path.
3. The method according to claim 2, It is characterized in that The detecting whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state includes: Based on the assembly level of the assembly path corresponding to the to-be-assembled part, it is determined whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state.
4. The method according to claim 3, It is characterized in that Before determining the reference part from each assembly unit of the assembly body to be assembled, the method further includes: Get the various assembly units that make up a body to be assembled.
5. The method according to claim 4, It is characterized in that After the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path are all modified to indicate that the assembly level is not assembleable, the method further includes: The assembled reference part is taken as a new assembly unit, and the step of determining the reference part from each assembly unit of the body to be assembled is returned to be executed.
6. A disassembly method, It is characterized in that The method comprises: Disassemble the assembly parts from the assembly body in an assembly sequence opposite to the assembly method described in any one of claims 1 to 5; if a second assembly path exists, modify the second labels of the first assembly path and the second assembly path to indicate an unassembled state, and if a third path exists, modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path to indicate an assembly level that is assembleable.
7. An assembly device, It is characterized in that The device comprises: A reference part determination module is used to determine the reference part from each assembly unit of the body to be assembled; A module for determining a part to be assembled, used for determining a part to be assembled with the reference part; A first determination module is used to determine whether the assembly path between the reference part and the part to be assembled is an assembleable path according to the first label and the second label of the assembly path corresponding to the part to be assembled; if it is an assembleable path, trigger the first assembly path determination module, wherein the first label is used to indicate whether the assembly level of a certain assembly path is in an assembleable state, and the second label is used to indicate whether the assembly position pointed to by a certain assembly path has been assembled; The first assembly path determination module is used to determine one of the assembly paths of the reference part and the to-be-assembled part as the first assembly path, and assemble the to-be-assembled part onto the reference part according to the first assembly path, and if there is a second assembly path, modify the second labels of the first assembly path and the second assembly path to indicate an assembled state, respectively, wherein the second assembly path is: an assembly path pointing to the same assembly position as the first assembly path; A second determination module is used to determine whether there is an assembleable assembly path in the third assembly path according to the second tag of the third assembly path if there is a third assembly path; if not, trigger a modification module, wherein the third assembly path is: an assembly path of the same assembly level as the first assembly path and the second assembly path; The modification module is used to modify the first label of the first assembly path, the first label of the second assembly path, and the first label of the third assembly path to a state indicating that the assembly level is not assembleable.
8. The device according to claim 7, It is characterized in that The first determining module comprises: A detection submodule, used to detect whether the first label of the assembly path corresponding to the to-be-assembled part indicates an assembleable state; if yes, activate the submodule; The activation submodule is used to activate the assembly path corresponding to the part to be assembled, and determine whether the second label of the assembly path corresponding to the part to be assembled represents an unassembled state, so as to determine whether the assembly path between the reference part and the part to be assembled is an assembleable path.
9. A disassembly device, It is characterized in that The device comprises: A disassembly module is used to disassemble the assembly parts from the assembly according to the assembly order opposite to the assembly method described in any one of claims 1 to 5; if there is a second assembly path, the second labels of the first assembly path and the second assembly path are respectively modified to indicate an unassembled state; if there is a third path, the first label of the first assembly path, the first label of the second assembly path and the first label of the third assembly path are all modified to indicate an assembly level that is an assemblable state.
10. An electronic device, It is characterized in that It includes a processor, a communication interface, a motor, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 6 when executing a program stored in a memory.
