A three-dimensional topological drawing method, device, electronic device and readable storage medium

By receiving selection instructions and alignment strategies in the three-dimensional topology drawing method, directly aligning the three-dimensional topology elements is solved, and a simplified three-dimensional topology graphics drawing process is realized.

CN114037790BActive Publication Date: 2025-05-09HARBIN ANTIY TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111307033.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-05
Publication Date
2025-05-09
Estimated Expiration
2041-11-05

AI Technical Summary

Technical Problem

In the prior art, the drawing process of a three-dimensional topological pattern is relatively complicated, and it is necessary to create at least two three-dimensional topological elements, and then to satisfy the relative positional relationship by modifying their coordinates.

Method used

A three-dimensional topology drawing method is provided, by receiving the three-dimensional topology element selection instruction to be aligned, determining at least two three-dimensional topology elements to be aligned, and aligning these elements in a three-dimensional coordinate system according to the determined alignment strategy.

Benefits of technology

The drawing process of three-dimensional topological graphics is simplified, and the complexity caused by modification of coordinates in the prior art is avoided. The elements are aligned directly through the alignment strategy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114037790B_ABST
    Figure CN114037790B_ABST
Patent Text Reader

Abstract

The embodiments of the present application disclose a three-dimensional topological drawing method, device, electronic device and readable storage medium, which relate to the field of drawing technology and are invented to simplify the three-dimensional topological graphics drawing process to a certain extent. The method comprises: receiving a selection instruction for three-dimensional topological elements to be aligned; determining at least two three-dimensional topological elements to be aligned according to the selection instruction for three-dimensional topological elements to be aligned; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system; determining a three-dimensional topological element alignment strategy; and performing an alignment operation on the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the three-dimensional topological element alignment strategy, so that the at least two three-dimensional topological elements are aligned in the three-dimensional coordinate system. The present application is applicable to aligning three-dimensional topological elements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of drawing technology, and in particular to a three-dimensional topological drawing method, device, electronic device and readable storage medium. Background Art

[0002] In the process of drawing a three-dimensional topological graph, the relative position relationship between the three-dimensional topological elements must be satisfied to satisfy the overall layout of the three-dimensional topological graph. In the prior art, in the process of satisfying the overall layout of the three-dimensional topological graph, at least two three-dimensional topological elements must be generated first, and then the coordinates of the at least two three-dimensional topological elements must be modified to satisfy the relative position relationship between the three-dimensional topological elements, resulting in a relatively complicated drawing process of the three-dimensional topological graph. Summary of the invention

[0003] In view of this, embodiments of the present application provide a three-dimensional topology drawing method, device, electronic device and readable storage medium, which simplify the three-dimensional topology graphics drawing process to a certain extent.

[0004] In a first aspect, an embodiment of the present application provides a three-dimensional topological drawing method, comprising: receiving an instruction to select three-dimensional topological elements to be aligned; determining at least two three-dimensional topological elements to be aligned according to the instruction to select three-dimensional topological elements to be aligned; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system; determining a three-dimensional topological element alignment strategy; and according to the three-dimensional topological element alignment strategy, performing an alignment operation on the at least two three-dimensional topological elements in the three-dimensional coordinate system so that the at least two three-dimensional topological elements are aligned in the three-dimensional coordinate system.

[0005] According to a specific implementation method of an embodiment of the present application, determining the three-dimensional topological element alignment strategy includes: receiving a three-dimensional topological element alignment strategy instruction input and / or selected in an alignment strategy selection box; generating a three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment strategy instruction.

[0006] According to a specific implementation method of an embodiment of the present application, the three-dimensional topological element is a text or a node; the receiving of the three-dimensional topological element alignment policy instruction input and / or selected in the alignment policy selection box includes: receiving the alignment to reference object instruction and the alignment direction instruction input and / or selected in the alignment policy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; the generating of the three-dimensional topological element alignment policy according to the three-dimensional topological element alignment policy instruction includes: generating a first three-dimensional topological element alignment policy according to the alignment to reference object instruction and the alignment direction instruction; wherein the first three-dimensional topological element alignment policy includes a reference object and an alignment direction; or, the receiving of the three-dimensional topological element alignment policy instruction input and / or selected in the alignment policy selection box includes: receiving the alignment to selected object instruction, the alignment direction instruction and the alignment position instruction input and / or selected in the alignment policy selection box; wherein the The selected object is each of the at least two three-dimensional topological elements; the generating of the three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment strategy instruction includes: generating a second three-dimensional topological element alignment strategy according to the align selected object instruction, the alignment direction instruction and the alignment position instruction; wherein the second three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, the receiving of the three-dimensional topological element alignment strategy instruction inputted and / or selected in the alignment strategy selection box includes: receiving an align to predetermined position instruction, an alignment direction instruction and an alignment coordinate instruction inputted and / or selected in the alignment strategy selection box; the generating of the three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment strategy instruction includes: generating a third three-dimensional topological element alignment strategy according to the align to predetermined position instruction, the alignment direction instruction and the alignment coordinate instruction; wherein the third three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

[0007] According to a specific implementation method of an embodiment of the present application, the alignment operation of the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the three-dimensional topological element alignment strategy includes: according to the first three-dimensional topological element alignment strategy, moving the other three-dimensional topological elements of the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the other three-dimensional topological elements and the reference object in the alignment direction are consistent; or, according to the second three-dimensional topological element alignment strategy, moving each three-dimensional topological element of the at least two three-dimensional topological elements to the alignment position in the alignment direction, so that the coordinates of each three-dimensional topological element in the alignment direction are consistent; or, according to the third three-dimensional topological element alignment strategy, moving each three-dimensional topological element of the at least two three-dimensional topological elements to the alignment coordinate position in the alignment direction, so that the coordinates of each three-dimensional topological element in the alignment direction are consistent.

[0008] According to a specific implementation method of an embodiment of the present application, the three-dimensional topological element is a bottom frame; the receiving of the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box includes: receiving the alignment to reference object instruction, alignment direction instruction and positioning point instruction input and / or selected in the alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; the generating of the three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment strategy instruction includes: generating a fourth three-dimensional topological element alignment strategy according to the alignment to reference object instruction, the alignment direction instruction and the positioning point instruction; wherein the fourth three-dimensional topological element alignment strategy includes a reference object, a positioning point and an alignment direction; or, the receiving of the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box includes: receiving the alignment to selected object instruction, alignment direction instruction, alignment position instruction and positioning point instruction input and / or selected in the alignment strategy selection box; wherein , the selected object is each of the at least two three-dimensional topological elements; the generating of the three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment strategy instruction includes: generating a fifth three-dimensional topological element alignment strategy according to the align selected object instruction, the alignment direction instruction, the alignment position instruction and the positioning point instruction; wherein the fifth three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, the receiving of the three-dimensional topological element alignment strategy instruction inputted and / or selected in the alignment strategy selection box includes: receiving the align to predetermined position instruction, the alignment direction instruction, the alignment coordinate instruction and the positioning point instruction inputted and / or selected in the alignment strategy selection box; the generating of the three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment strategy instruction includes: generating a sixth three-dimensional topological element alignment strategy according to the align to predetermined position instruction, the alignment coordinate instruction and the positioning point instruction; wherein the sixth three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

[0009] According to a specific implementation method of an embodiment of the present application, the alignment operation of the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the three-dimensional topological element alignment strategy includes: according to the fourth three-dimensional topological element alignment strategy, moving the other three-dimensional topological elements of the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the positioning points of the other three-dimensional topological elements are consistent with the coordinates of the positioning points of the reference object in the alignment direction; or, according to the fifth three-dimensional topological element alignment strategy, moving each of the at least two three-dimensional topological elements to the alignment position in the alignment direction, so that the coordinates of the positioning points of each three-dimensional topological element in the alignment direction are consistent; or, according to the sixth three-dimensional topological element alignment strategy, moving each of the at least two three-dimensional topological elements to the alignment coordinate position in the alignment direction, so that the coordinates of the positioning points of each three-dimensional topological element in the alignment direction are consistent.

[0010] In a second aspect, an embodiment of the present application provides a three-dimensional topological drawing device, comprising: a receiving module, used to receive an instruction for selecting three-dimensional topological elements to be aligned; a first determination module, used to determine at least two three-dimensional topological elements to be aligned according to the instruction for selecting three-dimensional topological elements to be aligned; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system; a second determination module, used to determine a three-dimensional topological element alignment strategy; an alignment module, used to perform an alignment operation on the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the three-dimensional topological element alignment strategy, so as to align the at least two three-dimensional topological elements in the three-dimensional coordinate system.

[0011] According to a specific implementation method of an embodiment of the present application, the second determination module includes: a receiving submodule, used to receive a three-dimensional topological element alignment policy instruction input and / or selected in the alignment strategy selection box; and a generating submodule, used to generate a three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment policy instruction.

[0012] According to a specific implementation method of an embodiment of the present application, the three-dimensional topological element is a text or a node; the receiving submodule is specifically used to: receive an align to reference object instruction and an align direction instruction input and / or selected in an alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; the generating submodule is specifically used to: generate a first three-dimensional topological element alignment strategy according to the align to reference object instruction and the alignment direction instruction; wherein the first three-dimensional topological element alignment strategy includes a reference object and an alignment direction; or, the receiving submodule is specifically used to: receive an align to selected object instruction, an alignment direction instruction and an alignment position instruction input and / or selected in the alignment strategy selection box; wherein the selected The object is each three-dimensional topological element of the at least two three-dimensional topological elements; the generating submodule is specifically used to generate a second three-dimensional topological element alignment strategy according to the align selected object instruction, the alignment direction instruction and the alignment position instruction; wherein the second three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, the receiving submodule is specifically used to receive an align to predetermined position instruction, an alignment direction instruction and an alignment coordinate instruction input and / or selected in an alignment strategy selection box; the generating submodule is specifically used to generate a third three-dimensional topological element alignment strategy according to the align to predetermined position instruction, the alignment direction instruction and the alignment coordinate instruction; wherein the third three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

[0013] According to a specific implementation method of an embodiment of the present application, the alignment module is specifically used to: according to the first three-dimensional topological element alignment strategy, move the other three-dimensional topological elements among the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the other three-dimensional topological elements and the reference object in the alignment direction are consistent; or, according to the second three-dimensional topological element alignment strategy, move each three-dimensional topological element among the at least two three-dimensional topological elements to the alignment position in the alignment direction, so that the coordinates of each three-dimensional topological element in the alignment direction are consistent; or, according to the third three-dimensional topological element alignment strategy, move each three-dimensional topological element among the at least two three-dimensional topological elements to the alignment coordinate position in the alignment direction, so that the coordinates of each three-dimensional topological element in the alignment direction are consistent.

[0014] According to a specific implementation method of an embodiment of the present application, the three-dimensional topological element is a bottom frame; the receiving submodule is specifically used to: receive an alignment to reference object instruction, an alignment direction instruction and a positioning point instruction input and / or selected in an alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; the generating submodule is specifically used to: generate a fourth three-dimensional topological element alignment strategy according to the alignment to reference object instruction, the alignment direction instruction and the positioning point instruction; wherein the fourth three-dimensional topological element alignment strategy includes a reference object, a positioning point and an alignment direction; or, the receiving submodule is specifically used to: receive an alignment to selected object instruction, an alignment direction instruction, an alignment position instruction and a positioning point instruction input and / or selected in an alignment strategy selection box; wherein, The selected object is each three-dimensional topological element of the at least two three-dimensional topological elements; the generating submodule is specifically used to generate a fifth three-dimensional topological element alignment strategy according to the align selected object instruction, the alignment direction instruction, the alignment position instruction and the positioning point instruction; wherein the fifth three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, the receiving submodule is specifically used to receive an align to predetermined position instruction, an alignment direction instruction, an alignment coordinate instruction and a positioning point instruction input and / or selected in the alignment strategy selection box; the generating submodule is specifically used to generate a sixth three-dimensional topological element alignment strategy according to the align to predetermined position instruction, the alignment coordinate instruction and the positioning point instruction; wherein the sixth three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

[0015] According to a specific implementation method of an embodiment of the present application, the alignment module is specifically used to: according to the fourth three-dimensional topological element alignment strategy, move the other three-dimensional topological elements among the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the positioning points of the other three-dimensional topological elements are consistent with the coordinates of the positioning points of the reference object in the alignment direction; or, according to the fifth three-dimensional topological element alignment strategy, move each of the at least two three-dimensional topological elements to the alignment position in the alignment direction, so that the coordinates of the positioning points of each three-dimensional topological element in the alignment direction are consistent; or, according to the sixth three-dimensional topological element alignment strategy, move each of the at least two three-dimensional topological elements to the alignment coordinate position in the alignment direction, so that the coordinates of the positioning points of each three-dimensional topological element in the alignment direction are consistent.

[0016] In the third aspect, an embodiment of the present application provides an electronic device, comprising: a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the three-dimensional topology drawing method described in any of the aforementioned implementation methods.

[0017] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement the three-dimensional topology drawing method described in any of the aforementioned implementation methods.

[0018] The 3D topology drawing method, device, electronic device and readable storage medium of this embodiment determine at least two 3D topology elements to be aligned according to a received 3D topology element selection instruction; wherein the at least two 3D topology elements to be aligned are in the same 3D coordinate system, and then according to the determined 3D topology element alignment strategy, an alignment operation is performed on the at least two 3D topology elements in the 3D coordinate system, so that the at least two 3D topology elements are aligned in the 3D coordinate system. Since the alignment operation is performed on the at least two 3D topology elements in the 3D coordinate system according to the determined 3D topology element alignment strategy, there is no need to redraw the 3D topology elements, thereby simplifying the 3D topology graphics drawing process to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present application 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A schematic diagram of a process flow of a three-dimensional topology drawing method provided in an embodiment of the present application;

[0021] Figure 2 This is a schematic diagram of node distribution before alignment in a specific embodiment of the present application;

[0022] Figure 3 A schematic diagram of selecting nodes to be aligned according to a specific embodiment of the present application;

[0023] Figure 4 A schematic diagram of setting a node alignment strategy in a specific embodiment of the present application;

[0024] Figure 5 This is a schematic diagram of node distribution after alignment operation in an embodiment of the present application;

[0025] Figure 6 A schematic diagram of setting a node alignment strategy in another specific embodiment of the present application;

[0026] Figure 7 A schematic diagram of setting a node alignment strategy in yet another specific embodiment of the present application;

[0027] Figure 8 This is a schematic diagram of the bottom frame distribution before alignment in a specific embodiment of the present application;

[0028] Fig. 9 This is a schematic diagram of selecting a bottom frame to be aligned in a specific embodiment of the present application;

[0029] Fig.10 This is a schematic diagram of setting a bottom frame alignment strategy in a specific embodiment of the present application;

[0030] Fig.11 This is a schematic diagram of the bottom frame distribution after the alignment operation in one embodiment of the present application;

[0031] Fig.12 This is a schematic diagram of setting a bottom frame alignment strategy in another specific embodiment of the present application;

[0032] Fig.13 This is a schematic diagram of setting a bottom frame alignment strategy in yet another specific embodiment of the present application;

[0033] Fig.14 A schematic diagram of the structure of a three-dimensional topology drawing device provided in one embodiment of the present application;

[0034] Fig.15 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0035] The embodiments of the present application are described in detail below in conjunction with the accompanying drawings. It should be clear that the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0036] In order to enable those skilled in the art to better understand the technical concept, implementation plan and beneficial effects of the embodiments of the present application, specific embodiments are described in detail below.

[0037] An embodiment of the present application provides a three-dimensional topology drawing method, including: receiving a three-dimensional topology element selection instruction to be aligned; determining at least two three-dimensional topology elements to be aligned according to the three-dimensional topology element selection instruction; wherein the at least two three-dimensional topology elements to be aligned are in the same three-dimensional coordinate system; determining a three-dimensional topology element alignment strategy; and according to the three-dimensional topology element alignment strategy, performing an alignment operation on at least two three-dimensional topology elements in the three-dimensional coordinate system so that at least two of the three-dimensional topology elements are aligned in the three-dimensional coordinate system, thereby simplifying the three-dimensional topology graphics drawing process to a certain extent.

[0038] Figure 1 A schematic diagram of a process flow of a three-dimensional topology drawing method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the 3D topology drawing method of this embodiment may include:

[0039] S101, receiving an instruction for selecting a three-dimensional topological element to be aligned.

[0040] The three-dimensional topological elements to be aligned are three-dimensional topological elements that need to be aligned. It can be understood that the number of the three-dimensional topological elements to be aligned is at least two.

[0041] S102: Determine at least two three-dimensional topological elements to be aligned according to a three-dimensional topological element selection instruction.

[0042] The three-dimensional topological elements to be aligned can be selected through the instruction for selecting the three-dimensional topological elements to be aligned, that is, at least two three-dimensional topological elements to be aligned can be determined.

[0043] In this embodiment, at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system. The three-dimensional coordinate system may include an X-axis, a Y-axis, and a Z-axis.

[0044] The three-dimensional topological elements may include text, nodes and bottom frames. In some examples, at least two three-dimensional topological elements to be aligned may both be text, both be nodes, or both be text or nodes; in other examples, at least two three-dimensional topological elements to be aligned may both be bottom frames.

[0045] S103: Determine a three-dimensional topological element alignment strategy.

[0046] The three-dimensional topology element alignment strategy may be a rule for aligning at least two three-dimensional topology elements.

[0047] S104: performing an alignment operation on at least two of the three-dimensional topological elements in a three-dimensional coordinate system according to a three-dimensional topological element alignment strategy, so as to align the at least two three-dimensional topological elements in the three-dimensional coordinate system.

[0048] In this embodiment, at least two three-dimensional topological elements to be aligned are determined according to a received instruction for selecting three-dimensional topological elements to be aligned; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system, and then according to a determined three-dimensional topological element alignment strategy, an alignment operation is performed on the at least two three-dimensional topological elements in the three-dimensional coordinate system, so that the at least two three-dimensional topological elements are aligned in the three-dimensional coordinate system. Since the alignment operation is performed on the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the determined three-dimensional topological element alignment strategy, there is no need to redraw the three-dimensional topological elements. To a certain extent, the three-dimensional topological graphics drawing process is simplified, and the problem of a relatively complicated three-dimensional topological graphics drawing process caused by modifying the coordinates to satisfy the relative position relationship between the three-dimensional topological elements in the prior art is avoided.

[0049] In order to facilitate flexible determination of the three-dimensional topological element alignment strategy and meet various drawing requirements, another embodiment of the present application is basically the same as the above embodiment, except that the determination of the three-dimensional topological element alignment strategy (S103) in this embodiment may include:

[0050] S103a, receiving a three-dimensional topological element alignment strategy instruction input and / or selected in an alignment strategy selection box.

[0051] You can enter the 3D topology element alignment strategy in the Alignment Strategy selection box, or select the 3D topology element alignment strategy in the Alignment Strategy selection box.

[0052] By receiving the three-dimensional topological element alignment strategy instructions input and / or selected in the alignment strategy selection box, the user can flexibly determine the three-dimensional topological element alignment strategy. Different alignment strategies can correspond to different alignment methods. In this way, it is convenient to perform different alignment operations on at least two of the three-dimensional topological elements in the three-dimensional coordinate system, thereby achieving different alignment effects.

[0053] S103b: Generate a three-dimensional topology element alignment strategy according to the three-dimensional topology element alignment strategy instruction.

[0054] According to the input and / or selected 3D topology element alignment strategy instructions, a 3D topology element alignment strategy may be generated.

[0055] In some examples, the three-dimensional topological element is a text or a node; receiving the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box (S103a) may include:

[0056] A1. Receive the align to reference object instruction and the align direction instruction input and / or selected in the alignment strategy selection box.

[0057] In this embodiment, the reference object is one of the at least two three-dimensional topological elements.

[0058] Based on the rationality of the alignment results and the actual drawing scenarios, the volume of nodes and text is not important compared to the topological structure. Therefore, when performing the alignment of topological nodes, the model volume of the nodes and text elements is not considered, and they are simplified to a point. The center point of the model is used as the position of the node. The node alignment is simplified according to the actual application scenario, and there is no need to specially set the node positioning point, making the node alignment operation faster and easier.

[0059] This embodiment can be applied to the topology drawing of the network structure, and correspondingly, the node can be an asset in the network such as an office computer, a server, etc. The text is used to describe and explain the topology.

[0060] The aligning to the reference object may be aligning the other three-dimensional topological elements of the at least two three-dimensional topological elements to the reference object.

[0061] In three-dimensional coordinates, the alignment direction may be the X-axis direction, the Y-axis direction, or the Z-axis direction.

[0062] Accordingly, generating a three-dimensional topology element alignment strategy (S103b) according to the three-dimensional topology element alignment strategy instruction may include:

[0063] B1. Generate a first three-dimensional topological element alignment strategy according to an align to reference object instruction and an align direction instruction.

[0064] In this embodiment, the first three-dimensional topological element alignment strategy includes a reference object and an alignment direction.

[0065] Accordingly, according to the three-dimensional topological element alignment strategy, performing an alignment operation on at least two of the three-dimensional topological elements in a three-dimensional coordinate system (S104) may include:

[0066] According to the first 3D topological element alignment strategy, other 3D topological elements of at least two 3D topological elements except the reference object are moved to the alignment direction of the reference object so that the coordinates of other 3D topological elements and the reference object in the alignment direction are consistent.

[0067] In the alignment direction, the coordinates of all the 3D topological elements to be aligned are consistent and are all the coordinates in the alignment direction of the reference object.

[0068] As an alternative implementation, receiving the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box (S103a) may include:

[0069] A2. Receive the align selected object instruction, align direction instruction and align position instruction input and / or selected in the alignment strategy selection box.

[0070] In this embodiment, the selected object is each three-dimensional topological element of the at least two three-dimensional topological elements.

[0071] Aligning the selected objects may be aligning at least two of the three-dimensional topological elements. The difference from A1 is that none of the three-dimensional topological elements is selected as a reference object.

[0072] In three-dimensional coordinates, the alignment direction may be the X-axis direction, the Y-axis direction, or the Z-axis direction.

[0073] The alignment position can be maximum alignment, minimum alignment or center alignment.

[0074] Regarding the alignment direction and alignment position, in this embodiment, the alignment method may include the following 9 alignment methods: X-axis and maximum value alignment, X-axis and minimum value alignment, X-axis and center alignment, Y-axis and maximum value alignment, Y-axis and minimum value alignment, Y-axis and center alignment, Z-axis and maximum value alignment, Z-axis and minimum value alignment, and Z-axis and center alignment.

[0075] Accordingly, generating a three-dimensional topology element alignment strategy (S103b) according to the three-dimensional topology element alignment strategy instruction may include:

[0076] B2. Generate a second three-dimensional topological element alignment strategy according to the align selected object instruction, the align direction instruction and the align position instruction.

[0077] In this embodiment, the second three-dimensional topological element alignment strategy includes an alignment direction and an alignment position.

[0078] Accordingly, according to the three-dimensional topological element alignment strategy, performing an alignment operation on at least two of the three-dimensional topological elements in a three-dimensional coordinate system (S104) may include:

[0079] According to the second 3D topological element alignment strategy, each of the at least two 3D topological elements is moved to an alignment position in the alignment direction so that the coordinates of each 3D topological element in the alignment direction are consistent.

[0080] In the alignment direction, the coordinates of all the 3D topological elements to be aligned are consistent. If the alignment position is a maximum value, the coordinates of all the 3D topological elements to be aligned are the maximum values ​​of the coordinates of at least two 3D topological elements in the alignment direction.

[0081] As another alternative implementation, receiving the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box (S103a) may include:

[0082] A3. Receive the alignment to predetermined position instruction, alignment direction instruction and alignment coordinate instruction input and / or selected in the alignment strategy selection box.

[0083] Aligning to a predetermined position may be aligning at least two three-dimensional topological elements to a predetermined position.

[0084] In three-dimensional coordinates, the alignment direction may be the X-axis direction, the Y-axis direction, or the Z-axis direction.

[0085] The alignment coordinate can be a specific value, such as 100.

[0086] Accordingly, generating a three-dimensional topology element alignment strategy (S103b) according to the three-dimensional topology element alignment strategy instruction may include:

[0087] B3. Generate a third three-dimensional topological element alignment strategy according to the alignment to predetermined position instruction, the alignment direction instruction and the alignment coordinate instruction.

[0088] In this embodiment, the third three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

[0089] Accordingly, according to the three-dimensional topological element alignment strategy, performing an alignment operation on at least two of the three-dimensional topological elements in a three-dimensional coordinate system (S104) may include:

[0090] According to the third 3D topological element alignment strategy, each of the at least two 3D topological elements is moved to an alignment coordinate position in the alignment direction so that the coordinates of each 3D topological element in the alignment direction are consistent.

[0091] In the alignment direction, the coordinates of all the 3D topological elements to be aligned are consistent, and the coordinates are all alignment coordinates.

[0092] In some other examples, the three-dimensional topological element is a bottom frame; receiving the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box (S103a) may include:

[0093] A4. Receive the alignment to reference object instruction, alignment direction instruction and positioning point instruction input and / or selected in the alignment strategy selection box.

[0094] In this example, the reference object is one of the at least two three-dimensional topological elements.

[0095] The aligning to the reference object may be aligning the other three-dimensional topological elements of the at least two three-dimensional topological elements to the reference object.

[0096] In three-dimensional coordinates, the alignment direction may be the X-axis direction, the Y-axis direction, or the Z-axis direction.

[0097] For the bottom frame, its volume cannot be ignored. According to the bottom frame element model, its positioning point can be set at the center point of the 6 faces of the cube or 8 vertices or center points (a total of 15 types) to determine the position of the bottom frame, that is, the positioning point can be the center point of the 6 faces or the 8 vertices or center points.

[0098] This embodiment can be applied to the topology drawing of the network structure. Correspondingly, the bottom frame can be used to partition assets, such as physical partitioning by department, and virtual partitioning such as computing equipment, security equipment, network equipment, etc.

[0099] With reference to the 9 alignment methods in A2, since the alignment method of this embodiment also needs to take the factors of positioning points into consideration, and since the number of positioning points can be 15, thus, the alignment methods of this embodiment can be 135.

[0100] Accordingly, generating a three-dimensional topology element alignment strategy (S103b) according to the three-dimensional topology element alignment strategy instruction may include:

[0101] B4. Generate a fourth three-dimensional topological element alignment strategy according to the align to reference object instruction, the align direction instruction and the positioning point instruction.

[0102] In this embodiment, the fourth three-dimensional topological element alignment strategy includes a reference object, a positioning point, and an alignment direction.

[0103] Accordingly, according to the three-dimensional topological element alignment strategy, performing an alignment operation on at least two of the three-dimensional topological elements in a three-dimensional coordinate system (S104) may include:

[0104] According to the fourth three-dimensional topological element alignment strategy, other three-dimensional topological elements except the reference object among at least two three-dimensional topological elements are moved to the alignment direction of the reference object so that the coordinates of the positioning points of the other three-dimensional topological elements are consistent with the coordinates of the positioning points of the reference object in the alignment direction.

[0105] In the alignment direction, the coordinates of the positioning points of all the 3D topological elements to be aligned are consistent, and are all the coordinates of the positioning points of the reference object in the alignment direction.

[0106] As an alternative implementation, receiving the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box (S103a) may include:

[0107] A5. Receive the align selected object instruction, align direction instruction, align position instruction and positioning point instruction input and / or selected in the alignment strategy selection box.

[0108] In this embodiment, the selected object is each three-dimensional topological element of the at least two three-dimensional topological elements.

[0109] Aligning the selected objects may be aligning at least two of the three-dimensional topological elements. The difference from A1 is that none of the three-dimensional topological elements is selected as a reference object.

[0110] In three-dimensional coordinates, the alignment direction may be the X-axis direction, the Y-axis direction, or the Z-axis direction.

[0111] The alignment position can be maximum alignment, minimum alignment or center alignment.

[0112] The anchor points can be the center points of the 6 faces or the 8 vertices or center points.

[0113] Accordingly, generating a three-dimensional topology element alignment strategy (S103b) according to the three-dimensional topology element alignment strategy instruction may include:

[0114] B5. Generate a fifth three-dimensional topological element alignment strategy according to the align selected object instruction, the align direction instruction, the align position instruction and the anchor point instruction.

[0115] In this embodiment, the fifth three-dimensional topological element alignment strategy includes an alignment direction and an alignment position.

[0116] Accordingly, according to the three-dimensional topological element alignment strategy, performing an alignment operation on at least two of the three-dimensional topological elements in a three-dimensional coordinate system (S104) may include:

[0117] According to the fifth 3D topological element alignment strategy, each of the at least two 3D topological elements is moved to an alignment position in the alignment direction so that the coordinates of the positioning points of each 3D topological element in the alignment direction are consistent.

[0118] In the alignment direction, the coordinates of the positioning points of all the 3D topological elements to be aligned are consistent. If the alignment position is the maximum value, the coordinates of the positioning points of all the 3D topological elements to be aligned are the maximum value of the coordinates of at least two 3D topological element positioning points in the alignment direction.

[0119] As another alternative implementation, receiving the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box (S103a) may include:

[0120] A6. Receive the alignment to predetermined position instruction, alignment direction instruction, alignment coordinate instruction and positioning point instruction input and / or selected in the alignment strategy selection box.

[0121] Aligning to a predetermined position may be aligning at least two three-dimensional topological elements to a predetermined position.

[0122] In three-dimensional coordinates, the alignment direction may be the X-axis direction, the Y-axis direction, or the Z-axis direction.

[0123] The alignment coordinate can be a specific value, such as 100.

[0124] The anchor points can be the center points of the 6 faces or the 8 vertices or center points.

[0125] Accordingly, generating a three-dimensional topology element alignment strategy (S103b) according to the three-dimensional topology element alignment strategy instruction may include:

[0126] A sixth three-dimensional topological element alignment strategy is generated according to the align to predetermined position instruction, the align coordinate instruction and the positioning point instruction.

[0127] In this embodiment, the sixth three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

[0128] Accordingly, according to the three-dimensional topological element alignment strategy, performing an alignment operation on at least two of the three-dimensional topological elements in a three-dimensional coordinate system (S104) may include:

[0129] According to the sixth 3D topological element alignment strategy, each of at least two of the 3D topological elements is moved to the alignment coordinate position in the alignment direction so that the coordinates of the positioning points of each 3D topological element in the alignment direction are consistent.

[0130] In the alignment direction, the coordinates of all the 3D topological elements to be aligned are consistent, and the coordinates are all alignment coordinates.

[0131] The solution of the present application is described in detail below with a specific embodiment.

[0132] Through an embodiment, the operation process and the effect achieved by aligning nodes and text elements according to different alignment strategies are demonstrated. The three-dimensional topology drawing method of this embodiment may include:

[0133] A1. Select the nodes to be aligned.

[0134] See also Figure 2 and Figure 3 In this embodiment, Figure 2 There are three non-overlapping nodes in the scene, namely Node 1, Node 2, and Node 3.

[0135] The nodes in this embodiment do not have volume. Figure 2 The size of the midpoints is for clarity only.

[0136] A2. After selecting the three nodes in the canvas, click "Align" to pop up the "Align Settings Window". In the alignment settings, you can choose one of the alignment methods: "Align to reference object", "Align selected object", or "Align to fixed position".

[0137] See also Figure 4 When "Align to reference object" is selected in the alignment mode, the reference object defaults to the first selected node. The reference node has a special state, such as a yellow stroke. Double-clicking other nodes can set the node as the new reference object.

[0138] When the alignment mode is "Align to reference object", the alignment direction can be selected from X-axis, Y-axis, and Z-axis. In this embodiment, the alignment direction selects Y-axis, and clicks the Confirm button to complete the effect application.

[0139] See also Figure 5 In this embodiment, the three nodes are aligned vertically (in the Y-axis direction) with the current screen viewing angle and node 1 as the reference object, that is, the Y-axis coordinates of each node in the three-dimensional scene are unified and are the Y-axis coordinate values ​​of node 1.

[0140] See also Figure 6 , when "Align selected objects" is selected in the alignment mode, the alignment direction can be selected from the X-axis, Y-axis, and Z-axis. In this embodiment, the alignment direction is the Y-axis; the alignment position can be selected from the maximum value, minimum value, and center value. In this embodiment, the maximum value is selected for the alignment position. Then click the confirmation button to complete the effect application. In this embodiment, the three nodes are aligned vertically with the current screen viewing angle, that is, the y-axis coordinates of each node in the three-dimensional scene are unified and are the maximum value of the Y-axis coordinates of its nodes.

[0141] See also Figure 7 , when the alignment mode is "Align to fixed position", the alignment position can be selected from the X-axis and the corresponding coordinates, the Y-axis and the corresponding coordinates, and the Z-axis and the corresponding coordinates. In this embodiment, the Y-axis can be selected and the corresponding coordinate 100 can be entered, and then click OK to complete the effect application. In this embodiment, the three nodes are aligned vertically with the Y-axis coordinate value of 100 based on the current screen viewing angle.

[0142] Through another embodiment, the operation process and the effect achieved by aligning the bottom frame elements according to different alignment strategies are shown. The three-dimensional topology drawing method of this embodiment may include:

[0143] B1. Select the bottom frame that needs to be aligned.

[0144] In this embodiment, see Figure 8 and Fig. 9 Select three bottom frames, bottom frame 1, bottom frame 2 and bottom frame 3 do not overlap.

[0145] B2. After selecting the three bottom frames in the canvas, the "Align" pops up the "Align Settings Window". In the alignment settings, you can choose one of the alignment methods: "Align to Reference Object", "Align Selected Object", or "Align to Fixed Position". The anchor point can be selected from the center point of the 6 faces, 8 vertices, or the center point of the bottom frame element model cube.

[0146] See also Fig.10 When "Align to reference object" is selected in the alignment mode, the reference object defaults to the first selected bottom frame. The reference bottom frame has a special state, such as a yellow stroke. Double-clicking other bottom frames can set the bottom frame as the new reference object.

[0147] When the alignment mode is "Align to reference object", in this embodiment, the center point can be selected as the positioning point, and the alignment direction can be selected from the X-axis, Y-axis, and Z-axis. In this embodiment, the Y-axis is selected as the alignment direction, and click the Confirm button to complete the effect application.

[0148] See also Fig.11 In this embodiment, the three bottom frames are aligned vertically with the current screen viewing angle, bottom frame 1 as the reference object and the positioning point as the center point, that is, the center point of the bottom frame is used to confirm the position of the bottom frame in the three-dimensional scene, and the Y-axis coordinates of each bottom frame are unified and are the Y-axis coordinate value of bottom frame 1.

[0149] See also Fig.12 When "Align selected objects" is selected in the alignment mode, the alignment direction can be selected from the X-axis, Y-axis, and Z-axis. In this embodiment, the alignment direction is the Y-axis; in this embodiment, the positioning point can be selected from the center point; the alignment position can be selected from the maximum value, minimum value, and center value. In this embodiment, the alignment position selects the maximum value, and then click the Confirm button to complete the effect application.

[0150] In this embodiment, the three bottom frames are aligned vertically with the bottom frame positioning point as the center point based on the current screen viewing angle, that is, the center point of the bottom frame is used to confirm the position of the bottom frame in the three-dimensional scene, and the Y-axis coordinates of each bottom frame are unified and are the maximum value of the Y-axis coordinates in its bottom frame.

[0151] See also Fig.13 When the alignment mode is "Align to fixed position", the alignment position can be selected from the X-axis and its corresponding coordinates, the Y-axis and its corresponding coordinates, and the Z-axis and its corresponding coordinates. In this embodiment, you can select the Y-axis and enter the corresponding coordinate 100. In this embodiment, the positioning point can be selected as the center point, and then click OK to complete the effect application.

[0152] In this embodiment, the three bottom frames are vertically aligned with the bottom frame positioning point as the center point based on the current screen viewing angle and the y-axis coordinate value is 100.

[0153] In this embodiment, at least two three-dimensional topological elements to be aligned are determined according to the received three-dimensional topological element selection instruction; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system, and then according to the determined three-dimensional topological element alignment strategy, the at least two three-dimensional topological elements are aligned in the three-dimensional coordinate system, so that the at least two three-dimensional topological elements are aligned in the three-dimensional coordinate system. Since the at least two three-dimensional topological elements are aligned in the three-dimensional coordinate system according to the determined three-dimensional topological element alignment strategy, there is no need to redraw the three-dimensional topological elements, which simplifies the three-dimensional topological graphics drawing process to a certain extent. In order to facilitate the flexible determination of the three-dimensional topological element alignment strategy, a three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box can be received, and a three-dimensional topological element alignment strategy is generated according to the three-dimensional topological element alignment strategy instruction. In order to improve the convenience of operation, for the case where the three-dimensional topological element is text or node, the present application provides three alignment strategies, and the corresponding strategies are used to align the three-dimensional topological elements. For the case where the three-dimensional topological element is a bottom frame, the present application also provides three alignment strategies, and the corresponding strategies are used to align the bottom frame.

[0154] An embodiment of the present application provides a three-dimensional topology drawing device, including: a receiving module, used to receive a selection instruction for three-dimensional topology elements to be aligned; a first determination module, used to determine at least two three-dimensional topology elements to be aligned according to the selection instruction for three-dimensional topology elements to be aligned; wherein the at least two three-dimensional topology elements to be aligned are in the same three-dimensional coordinate system; a second determination module, used to determine a three-dimensional topology element alignment strategy; an alignment module, used to perform an alignment operation on the at least two three-dimensional topology elements in the three-dimensional coordinate system according to the three-dimensional topology element alignment strategy, so that the at least two three-dimensional topology elements are aligned in the three-dimensional coordinate system, thereby simplifying the three-dimensional topology graphics drawing process to a certain extent.

[0155] Fig.14 A schematic diagram of the structure of a three-dimensional topology drawing device provided in an embodiment of the present application is shown in FIG. Fig.14 As shown, the three-dimensional topology drawing device of this embodiment may include: a receiving module 11, used to receive a selection instruction for three-dimensional topological elements to be aligned; a first determination module 12, used to determine at least two three-dimensional topological elements to be aligned according to the selection instruction for three-dimensional topological elements to be aligned; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system; a second determination module 13, used to determine a three-dimensional topological element alignment strategy; an alignment module 14, used to perform an alignment operation on the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the three-dimensional topological element alignment strategy, so as to align the at least two three-dimensional topological elements in the three-dimensional coordinate system.

[0156] The device of this embodiment can be used to perform Figure 1 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.

[0157] The device of this embodiment determines at least two three-dimensional topological elements to be aligned according to the received three-dimensional topological element selection instruction; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system, and then according to the determined three-dimensional topological element alignment strategy, an alignment operation is performed on the at least two three-dimensional topological elements in the three-dimensional coordinate system, so that the at least two three-dimensional topological elements are aligned in the three-dimensional coordinate system. Since the alignment operation is performed on the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the determined three-dimensional topological element alignment strategy, there is no need to redraw the three-dimensional topological elements. To a certain extent, the three-dimensional topological graphics drawing process is simplified, and the problem of a relatively complicated three-dimensional topological graphics drawing process caused by modifying the coordinates to meet the relative position relationship between the three-dimensional topological elements in the prior art is avoided.

[0158] As an optional implementation, the second determination module includes: a receiving submodule for receiving a three-dimensional topological element alignment policy instruction input and / or selected in an alignment policy selection box; and a generating submodule for generating a three-dimensional topological element alignment strategy based on the three-dimensional topological element alignment policy instruction.

[0159] As an optional implementation, the three-dimensional topological element is a text or a node; the receiving submodule is specifically used to: receive an align to reference object instruction and an alignment direction instruction input and / or selected in the alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; the generating submodule is specifically used to: generate a first three-dimensional topological element alignment strategy according to the align to reference object instruction and the alignment direction instruction; wherein the first three-dimensional topological element alignment strategy includes a reference object and an alignment direction; or, the receiving submodule is specifically used to: receive an align to selected object instruction, an alignment direction instruction and an alignment position instruction input and / or selected in the alignment strategy selection box; wherein the selected object is Each of the at least two three-dimensional topological elements; the generating submodule is specifically used to generate a second three-dimensional topological element alignment strategy according to the align selected object instruction, the alignment direction instruction and the alignment position instruction; wherein the second three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, the receiving submodule is specifically used to receive an align to predetermined position instruction, an alignment direction instruction and an alignment coordinate instruction input and / or selected in the alignment strategy selection box; the generating submodule is specifically used to generate a third three-dimensional topological element alignment strategy according to the align to predetermined position instruction, the alignment direction instruction and the alignment coordinate instruction; wherein the third three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

[0160] As an optional implementation, the alignment module is specifically used to: according to the first three-dimensional topological element alignment strategy, move the other three-dimensional topological elements among the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the other three-dimensional topological elements and the reference object in the alignment direction are consistent; or, according to the second three-dimensional topological element alignment strategy, move each three-dimensional topological element among the at least two three-dimensional topological elements to the alignment position in the alignment direction, so that the coordinates of each three-dimensional topological element in the alignment direction are consistent; or, according to the third three-dimensional topological element alignment strategy, move each three-dimensional topological element among the at least two three-dimensional topological elements to the alignment coordinate position in the alignment direction, so that the coordinates of each three-dimensional topological element in the alignment direction are consistent.

[0161] As an optional implementation, the three-dimensional topological element is a bottom frame; the receiving submodule is specifically used to: receive an alignment to reference object instruction, an alignment direction instruction, and a positioning point instruction input and / or selected in an alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; the generating submodule is specifically used to: generate a fourth three-dimensional topological element alignment strategy according to the alignment to reference object instruction, the alignment direction instruction, and the positioning point instruction; wherein the fourth three-dimensional topological element alignment strategy includes a reference object, a positioning point, and an alignment direction; or, the receiving submodule is specifically used to: receive an alignment to selected object instruction, an alignment direction instruction, an alignment position instruction, and a positioning point instruction input and / or selected in an alignment strategy selection box; wherein the selected The object is each three-dimensional topological element of the at least two three-dimensional topological elements; the generating submodule is specifically used to generate a fifth three-dimensional topological element alignment strategy according to the align selected object instruction, the alignment direction instruction, the alignment position instruction and the positioning point instruction; wherein the fifth three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, the receiving submodule is specifically used to receive an align to predetermined position instruction, an alignment direction instruction, an alignment coordinate instruction and a positioning point instruction input and / or selected in the alignment strategy selection box; the generating submodule is specifically used to generate a sixth three-dimensional topological element alignment strategy according to the align to predetermined position instruction, the alignment coordinate instruction and the positioning point instruction; wherein the sixth three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

[0162] As an optional implementation, the alignment module is specifically used to: according to the fourth three-dimensional topological element alignment strategy, move the other three-dimensional topological elements among the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the positioning points of the other three-dimensional topological elements are consistent with the coordinates of the positioning points of the reference object in the alignment direction; or, according to the fifth three-dimensional topological element alignment strategy, move each of the at least two three-dimensional topological elements to the alignment position in the alignment direction, so that the coordinates of the positioning points of each three-dimensional topological element in the alignment direction are consistent; or, according to the sixth three-dimensional topological element alignment strategy, move each of the at least two three-dimensional topological elements to the alignment coordinate position in the alignment direction, so that the coordinates of the positioning points of each three-dimensional topological element in the alignment direction are consistent.

[0163] The device of the above embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0164] Fig.15A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Fig.15 As shown, it may include: a shell 61, a processor 62, a memory 63, a circuit board 64 and a power supply circuit 65, wherein the circuit board 64 is placed inside the space enclosed by the shell 61, and the processor 62 and the memory 63 are arranged on the circuit board 64; the power supply circuit 65 is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory 63 is used to store executable program codes; the processor 62 runs the program corresponding to the executable program code by reading the executable program code stored in the memory 63, so as to execute any one of the three-dimensional topology drawing methods provided in the aforementioned embodiments, and thus can also achieve corresponding beneficial technical effects, which have been described in detail in the previous text and will not be repeated here.

[0165] The above electronic devices exist in many forms, including but not limited to:

[0166] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0167] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0168] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, smart toys, and portable car navigation devices.

[0169] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.

[0170] (5) Other electronic devices with data interaction functions.

[0171] Correspondingly, an embodiment of the present application also provides a computer-readable storage medium, which stores one or more programs, and the one or more programs can be executed by one or more processors to implement any one of the three-dimensional topology drawing methods provided in the aforementioned embodiments, thereby also being able to achieve the corresponding technical effects, which have been described in detail above and will not be repeated here.

[0172] 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.

[0173] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0174] In particular, for the device 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.

[0175] For the convenience of description, the above device is described by dividing the functions into various units / modules. Of course, when implementing the present application, the functions of each unit / module can be implemented in the same or multiple software and / or hardware.

[0176] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0177] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A three-dimensional topology drawing method, characterized in that: include: Receive a selection instruction of a three-dimensional topological element to be aligned; Determining at least two three-dimensional topological elements to be aligned according to the three-dimensional topological element selection instruction; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system; Receive a three-dimensional topological element alignment strategy instruction input and / or selected in an alignment strategy selection box; Generate a three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment strategy instruction; According to the three-dimensional topological element alignment strategy, an alignment operation is performed on the at least two three-dimensional topological elements in the three-dimensional coordinate system so that the at least two three-dimensional topological elements are aligned in the three-dimensional coordinate system; Wherein, the three-dimensional topological element is a character or a node; The receiving of the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box includes: Receiving an align to reference object instruction and an align direction instruction input and / or selected in an alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; The step of generating a three-dimensional topology element alignment strategy according to the three-dimensional topology element alignment strategy instruction includes: Generate a first three-dimensional topological element alignment strategy according to the alignment to reference object instruction and the alignment direction instruction; wherein the first three-dimensional topological element alignment strategy includes a reference object and an alignment direction; or, The receiving of the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box includes: Receiving an align selected object instruction, an align direction instruction, and an align position instruction input and / or selected in an alignment strategy selection box; wherein the selected object is each of the at least two three-dimensional topological elements; The step of generating a three-dimensional topology element alignment strategy according to the three-dimensional topology element alignment strategy instruction includes: Generate a second three-dimensional topological element alignment strategy according to the align selected object instruction, the alignment direction instruction and the alignment position instruction; wherein the second three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, The receiving of the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box includes: Receiving an align to predetermined position instruction, an align direction instruction, and an align coordinate instruction inputted and / or selected in an alignment strategy selection box; The step of generating a three-dimensional topology element alignment strategy according to the three-dimensional topology element alignment strategy instruction includes: Generate a third three-dimensional topological element alignment strategy according to the alignment to predetermined position instruction, the alignment direction instruction and the alignment coordinate instruction; wherein the third three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate; Or, the three-dimensional topological element is a bottom frame; The receiving of the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box includes: Receiving an align to reference object instruction, an align direction instruction, and a positioning point instruction input and / or selected in an alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; The step of generating a three-dimensional topology element alignment strategy according to the three-dimensional topology element alignment strategy instruction includes: Generate a fourth three-dimensional topological element alignment strategy according to the alignment to reference object instruction, the alignment direction instruction and the positioning point instruction; wherein the fourth three-dimensional topological element alignment strategy includes a reference object, a positioning point and an alignment direction; or, The receiving of the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box includes: Receiving an align selected object instruction, an align direction instruction, an align position instruction, and a positioning point instruction inputted and / or selected in an alignment strategy selection box; wherein the selected object is each of the at least two three-dimensional topological elements; The step of generating a three-dimensional topology element alignment strategy according to the three-dimensional topology element alignment strategy instruction includes: Generate a fifth three-dimensional topological element alignment strategy according to the align selected object instruction, the align direction instruction, the align position instruction and the anchor point instruction; wherein the fifth three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, The receiving of the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box includes: Receive an align to predetermined position instruction, an align direction instruction, an align coordinate instruction, and a positioning point instruction inputted and / or selected in an alignment strategy selection box; The step of generating a three-dimensional topology element alignment strategy according to the three-dimensional topology element alignment strategy instruction includes: A sixth three-dimensional topological element alignment strategy is generated according to the align to predetermined position instruction, the alignment coordinate instruction and the positioning point instruction; wherein the sixth three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

2. The method according to claim 1, characterized in that The aligning operation of the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the three-dimensional topological element alignment strategy includes: According to the first three-dimensional topological element alignment strategy, move the other three-dimensional topological elements of the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the other three-dimensional topological elements and the reference object in the alignment direction are consistent; or, According to the second three-dimensional topological element alignment strategy, each of the at least two three-dimensional topological elements is moved to the alignment position in the alignment direction so that the coordinates of each three-dimensional topological element in the alignment direction are consistent; or According to the third three-dimensional topological element alignment strategy, each of the at least two three-dimensional topological elements is moved to the alignment coordinate position in the alignment direction so that the coordinates of each three-dimensional topological element in the alignment direction are consistent.

3. The method according to claim 1, characterized in that The aligning operation of the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the three-dimensional topological element alignment strategy includes: According to the fourth three-dimensional topological element alignment strategy, move the other three-dimensional topological elements of the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the positioning points of the other three-dimensional topological elements and the positioning points of the reference object in the alignment direction are consistent; or, According to the fifth three-dimensional topological element alignment strategy, each of the at least two three-dimensional topological elements is moved to the alignment position in the alignment direction so that the coordinates of the positioning point of each three-dimensional topological element in the alignment direction are consistent; or According to the sixth three-dimensional topological element alignment strategy, each of the at least two three-dimensional topological elements is moved to the alignment coordinate position in the alignment direction so that the coordinates of the positioning point of each three-dimensional topological element in the alignment direction are consistent.

4. A three-dimensional topology drawing device, characterized in that: include: A receiving module, used for receiving a selection instruction of a three-dimensional topological element to be aligned; A first determination module is used to determine at least two three-dimensional topological elements to be aligned according to the three-dimensional topological element selection instruction to be aligned; wherein the at least two three-dimensional topological elements to be aligned are in the same three-dimensional coordinate system; A second determination module is used to determine the three-dimensional topological element alignment strategy; the second determination module includes: a receiving submodule, which is used to receive the three-dimensional topological element alignment strategy instruction input and / or selected in the alignment strategy selection box; a generating submodule, which is used to generate the three-dimensional topological element alignment strategy according to the three-dimensional topological element alignment strategy instruction; An alignment module, configured to perform an alignment operation on the at least two three-dimensional topological elements in the three-dimensional coordinate system according to the three-dimensional topological element alignment strategy, so as to align the at least two three-dimensional topological elements in the three-dimensional coordinate system; Wherein, the three-dimensional topological element is a character or a node; The receiving submodule is specifically used for: Receiving an align to reference object instruction and an align direction instruction input and / or selected in an alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; The generating submodule is specifically used for: Generate a first three-dimensional topological element alignment strategy according to the alignment to reference object instruction and the alignment direction instruction; wherein the first three-dimensional topological element alignment strategy includes a reference object and an alignment direction; or, The receiving submodule is specifically used for: Receiving an align selected object instruction, an align direction instruction, and an align position instruction input and / or selected in an alignment strategy selection box; wherein the selected object is each of the at least two three-dimensional topological elements; The generating submodule is specifically used for: Generate a second three-dimensional topological element alignment strategy according to the align selected object instruction, the alignment direction instruction and the alignment position instruction; wherein the second three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, The receiving submodule is specifically used for: Receiving an align to predetermined position instruction, an align direction instruction, and an align coordinate instruction inputted and / or selected in an alignment strategy selection box; The generating submodule is specifically used for: Generate a third three-dimensional topological element alignment strategy according to the alignment to predetermined position instruction, the alignment direction instruction and the alignment coordinate instruction; wherein the third three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate; Or, the three-dimensional topological element is a bottom frame; The receiving submodule is specifically used for: Receiving an align to reference object instruction, an align direction instruction, and a positioning point instruction input and / or selected in an alignment strategy selection box; wherein the reference object is one of the at least two three-dimensional topological elements; The generating submodule is specifically used for: Generate a fourth three-dimensional topological element alignment strategy according to the alignment to reference object instruction, the alignment direction instruction and the positioning point instruction; wherein the fourth three-dimensional topological element alignment strategy includes a reference object, a positioning point and an alignment direction; or, The receiving submodule is specifically used for: Receiving an align selected object instruction, an align direction instruction, an align position instruction, and a positioning point instruction inputted and / or selected in an alignment strategy selection box; wherein the selected object is each of the at least two three-dimensional topological elements; The generating submodule is specifically used for: Generate a fifth three-dimensional topological element alignment strategy according to the align selected object instruction, the align direction instruction, the align position instruction and the anchor point instruction; wherein the fifth three-dimensional topological element alignment strategy includes an alignment direction and an alignment position; or, The receiving submodule is specifically used for: Receive an align to predetermined position instruction, an align direction instruction, an align coordinate instruction, and a positioning point instruction inputted and / or selected in an alignment strategy selection box; The generating submodule is specifically used for: A sixth three-dimensional topological element alignment strategy is generated according to the align to predetermined position instruction, the alignment coordinate instruction and the positioning point instruction; wherein the sixth three-dimensional topological element alignment strategy includes an alignment direction and an alignment coordinate.

5. The device according to claim 4, characterized in that The alignment module is specifically used for: According to the first 3D topological element alignment strategy, move other 3D topological elements of the at least two 3D topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the other 3D topological elements and the reference object in the alignment direction are consistent; or, According to the second three-dimensional topological element alignment strategy, each of the at least two three-dimensional topological elements is moved to the alignment position in the alignment direction, so that the coordinates of each three-dimensional topological element in the alignment direction are consistent; or, According to the third three-dimensional topological element alignment strategy, each of the at least two three-dimensional topological elements is moved to the alignment coordinate position in the alignment direction so that the coordinates of each three-dimensional topological element in the alignment direction are consistent.

6. The device according to claim 4, characterized in that The alignment module is specifically used for: According to the fourth three-dimensional topological element alignment strategy, move the other three-dimensional topological elements of the at least two three-dimensional topological elements except the reference object to the alignment direction of the reference object, so that the coordinates of the positioning points of the other three-dimensional topological elements and the positioning points of the reference object in the alignment direction are consistent; or, According to the fifth three-dimensional topological element alignment strategy, each of the at least two three-dimensional topological elements is moved to the alignment position in the alignment direction, so that the coordinates of the positioning points of each three-dimensional topological element in the alignment direction are consistent; or, According to the sixth three-dimensional topological element alignment strategy, each of the at least two three-dimensional topological elements is moved to the alignment coordinate position in the alignment direction so that the coordinates of the positioning point of each three-dimensional topological element in the alignment direction are consistent.

7. An electronic device, characterized in that: The electronic device includes: a shell, a processor, a memory, a circuit board and a power supply circuit, wherein the circuit board is placed inside the space enclosed by the shell, and the processor and the memory are arranged on the circuit board; the power supply circuit is used to supply power to various circuits or devices of the above-mentioned electronic device; the memory is used to store executable program code; the processor runs the program corresponding to the executable program code by reading the executable program code stored in the memory, so as to execute the three-dimensional topology drawing method described in any one of the preceding claims 1-3.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the three-dimensional topology drawing method described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Characteristic element alignment method

    CN101673312A