Visual modeling method and device for primitive members, equipment and medium

By displaying element members in element visual modeling and using relation-related element connections, the limitations of internal attributes and methods of element display in the prior art are solved, and a simple and intuitive complex logical expression and correlation between element is achieved.

CN120372730APending Publication Date: 2025-07-25BEIJING TONGYU ZHICHENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510504015.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-07-25

AI Technical Summary

Technical Problem

Existing modeling techniques have limitations in expressing the internal properties and methods of the primitives, making it difficult to concisely and intuitively display the processes and attribute influences of complex logic.

Method used

By responding to user operations in the visual interactive interface, all members of the primitive are read and displayed in a floating box form, the target member primitive is generated and displayed on the same layer as the original primitive, and the relationship-related primitives are connected to form a whole.

Benefits of technology

It realizes the simple and intuitive display of internal properties and methods of the primitive in the current layer, and supports the concise expression of complex logic and the associated calls between primitives.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120372730A_ABST
    Figure CN120372730A_ABST
Patent Text Reader

Abstract

The invention provides a visual modeling method and device for primitive members, equipment and a medium, and relates to the technical field of graphical model simulation, and the method comprises the steps: responding to a selection operation of a user on a first target primitive under a target scene view on a navigation area of a visual interaction interface, displaying the first target primitive in a canvas area of the visual interaction interface; reading all members of the first target primitive from a configured primitive library in response to an expansion operation of a user on the first target primitive on a canvas area of the visual interaction interface, and visually displaying all the members of the first target primitive in the canvas area in a suspension frame form; and in response to a selection operation of a user on a target member in all the members in the suspension frame, generating a target member primitive of the target member, and displaying the target member primitive in the canvas area, so that the first target primitive and the target member primitive are displayed in the same layer.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of graphical model simulation. Specifically, it relates to a method, device, equipment, and medium for visual modeling of graphic element members. Background Art

[0002] The graphic elements of existing models are established for a single object. To display the attributes and methods owned by an object, it is often shown through a pop-up window or on other layers, which has certain limitations when displaying and invoking the attributes and methods of complex objects.

[0003] Regardless of whether it is UML, SysML, or other types of graphical modeling tools, the graphic elements are an integral whole during modeling. To express what kind of attributes and processes exist inside a graphic element, it is rather cumbersome and often requires using a pop-up window or switching layers for display.

[0004] When existing modeling technologies express the influence of a process on a certain attribute in a graphic element, they can only be expressed by connecting the graphic element itself. In more complex logics, multiple ways of connecting the graphic element itself are difficult to simply and intuitively reflect the influence of a process on a certain attribute of a graphic element or the invocation of a certain method. Summary of the Invention

[0005] The purpose of the embodiments of this application is to provide a method, device, equipment, and medium for visual modeling of graphic element members to solve the above problems existing in the prior art. By connecting and expanding graphic elements, a concise expression of the attributes in the graphic element can be achieved.

[0006] In a first aspect, the present invention provides a method for visual modeling of graphic element members, which is applied to a modeling tool using an object-oriented modeling method. The modeling tool includes a graphic element library; the graphic element library is used to store graphic elements and all members of the corresponding graphic elements; the members of any graphic element are used to represent the attributes and methods of the corresponding graphic element. The method includes:

[0007] In response to a user's selection operation on a first target graphic element in a target scene view in the navigation area of the visual interaction interface, display the first target graphic element in the canvas area of the visual interaction interface;

[0008] In response to a user's expansion operation on the first target graphic element in the canvas area of the visual interaction interface, read all members of the first target graphic element from the configured graphic element library, and visually display all members of the first target graphic element in the canvas area in the form of a floating box;

[0009] In response to the user's selection operation on the target member among all members in the floating box, generate a target member graphic primitive of the target member, and display the target member graphic primitive in the canvas area, so that the first target graphic and the target member graphic primitive are displayed in the same layer.

[0010] In an alternative embodiment, any graphic primitive corresponds to a graphic primitive type; any member corresponds to a member type;

[0011] The graphic primitive types include: custom type, set type, and basic type.

[0012] In an alternative embodiment, when the graphic primitive type of the target graphic is a custom type, the members of the target graphic are obtained through custom settings.

[0013] In an alternative embodiment, when the graphic primitive type of the target graphic is a set type, any target graphic includes multiple instances;

[0014] The members of the target graphic include: the length of the set and the attributes and methods common to all instances included in the target graphic.

[0015] In an alternative embodiment, when the graphic primitive type of the target graphic is a basic type, the members of the target graphic are the attributes associated with the graphic primitive type of the target graphic.

[0016] In an alternative embodiment, after displaying the target member graphic primitive in the canvas area, the method further includes:

[0017] Match the first target relationship-related graphic primitive corresponding to the graphic primitive type of the first target graphic and the member type of the target member in a configured different graphic primitive type, different member type, and different relationship-related graphic primitive comparison table; wherein, the first target relationship-related graphic primitive is used to characterize the relationship type between the first target graphic and the target member;

[0018] On the canvas area, connect the first target graphic and the target member graphic primitive with the first target relationship-related graphic primitive, so that the first target graphic, the target member graphic primitive, and the first target relationship-related graphic primitive form a whole and are displayed in the same layer.

[0019] In an alternative embodiment, after generating the first target relationship-related graphic primitive, the method further includes:

[0020] In response to the user's selection operation on the second target graphic in the target scene view in the navigation area, display the second target graphic in the canvas area;

[0021] Obtain a second target relationship-related graphic element configured to characterize the relationship type between the second target graphic element and the target member;

[0022] Display the second target relationship-related graphic element in the canvas area;

[0023] On the canvas area, use the second target relationship-related graphic element to connect the second target graphic element and the target member graphic element, so that the second target graphic element, the target member graphic element, and the second target relationship-related graphic element form a whole and are displayed in the same layer.

[0024] In a second aspect, the present invention provides a visualization modeling device for graphic element members, which is applied to a modeling tool using an object-oriented modeling method. The modeling tool includes a graphic element library; the graphic element library is used to store graphic elements and all members of the corresponding graphic elements; the members of any graphic element are used to characterize the attributes and methods of the corresponding graphic element. The device includes:

[0025] A display unit, configured to respond to a user's selection operation on a first target graphic element in a target scene view in the navigation area of the visualization interaction interface, and display the first target graphic element in the canvas area of the visualization interaction interface;

[0026] A display unit, configured to respond to a user's expansion operation on the first target graphic element in the canvas area of the visualization interaction interface, read all members of the first target graphic element from the configured graphic element library, and visually display all members of the first target graphic element in the canvas area in the form of a floating box;

[0027] A generation unit, configured to respond to a user's selection operation on a target member among all members in the floating box, generate a target member graphic element of the target member, and display the target member graphic element in the canvas area, so that the first target graphic element and the corresponding target member graphic element are displayed in the same layer.

[0028] In a third aspect, the present invention provides an electronic device, which includes a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0029] The memory is used to store a computer program;

[0030] The processor is configured to implement the method according to any one of the foregoing embodiments when executing the program stored on the memory.

[0031] In a fourth aspect, the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program implements the method according to any one of the foregoing embodiments when executed by a processor.

[0032] This application displays some attributes or methods of complex graphic elements in the current layer, enabling users to more concisely and intuitively view the internal attributes and methods of the graphic elements; moreover, other graphic elements in the current layer can be associated with the displayed partial attributes or methods to express relatively complex semantics with as concise a picture as possible.

[0033] This application can selectively supplement some or all of the attributes and processes of complex graphic elements on the current page. By using the extended graphic element method, more information can be displayed as concisely as possible on one layer.

[0034] The attributes and processes of complex graphic elements supplemented by this application in the current layer can continue to form associations or call each other with other graphic elements in the current layer; it provides a more concise way to enable the model to perform more complex logical expressions. Description of the Drawings

[0035] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings required for use in the embodiments of this application will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application, and thus should not be regarded as limiting the scope. For those of ordinary skill in the art, without creative efforts, other relevant drawings can also be obtained based on these drawings.

[0036] Figure 1 It is a flowchart of a visual modeling method for graphic element members provided by an embodiment of this application;

[0037] Figure 2 It is a scene graph for displaying a target graphic element in a canvas area provided by an embodiment of this application;

[0038] Figure 3 It is a scene graph for displaying all members of a target graphic element in the form of a floating box provided by an embodiment of this application;

[0039] Figure 4 It is a scene graph for a target graphic element and a target member graphic element to be displayed on the same layer provided by an embodiment of this application;

[0040] Figure 5 It is a schematic structural diagram of a visual modeling device for graphic element members provided by an embodiment of this application;

[0041] Figure 6 It is a schematic structural diagram of an electronic device provided by an embodiment of this application. Detailed Embodiments

[0042] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present application.

[0043] The visual modeling method of the graphic element members provided by the embodiments of the present application can be applied to a server or a terminal with strong computing power. The server can be a physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. The terminal can be a user equipment (UE) such as a mobile phone, a smart phone, a laptop computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), a handheld device, a vehicle-mounted device, a wearable device, a computing device or other processing devices connected to a wireless modem, a mobile station (MS), a mobile terminal, etc. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, and the present application does not make any limitations here.

[0044] The following describes the preferred embodiments of the present application in conjunction with the accompanying drawings of the specification. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present application, and are not used to limit the present application. And without conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0045] Figure 1 It is a schematic flowchart of a visual modeling method for a graphic element member provided by an embodiment of the present application. As Figure 1 shown, the method may include:

[0046] Step S110: In response to the user's selection operation on the first target graphic element in the target scene view in the navigation area of the visual interaction interface, display the first target graphic element in the canvas area of the visual interaction interface.

[0047] In the embodiments of the present application, the visual modeling method of the graphic element members is applied to a modeling tool that adopts an object-oriented modeling method; the modeling tool includes a graphic element library; the graphic element library is used to store graphic elements and all members of the corresponding graphic elements; the members of any graphic element are used to represent the attributes and / or methods of the corresponding graphic element.

[0048] In the embodiments of the present application, the attributes of a graphic element are used to characterize the state or features of the graphic element, such as position, size, color, etc.; the methods of a graphic element can also be referred to as the processes of the graphic element, which are used to represent a certain function or behavior implemented by the graphic element, that is, the function or logic of the graphic element to perform operations; the methods usually operate on the attributes of the graphic element, thereby changing its state or interacting with other objects.

[0049] In the embodiments of the present application, any graphic element corresponds to a graphic element type; any member corresponds to a member type.

[0050] In the embodiments of the present application, the graphic element types include: custom type, set type, and basic type.

[0051] In the embodiments of the present application, the member types include: attribute members and method members.

[0052] In the embodiments of the present application, when the graphic element type of the target graphic element is a custom type, the members of the target graphic element are obtained through custom settings; they can include attributes and / or methods; the attributes and methods can be the unique attributes and / or methods of the graphic element configured by the user.

[0053] In the embodiments of the present application, when the graphic element type of the target graphic element is a set type, any target graphic element contains multiple instances; the members of the target graphic element include: the length of the set and the attributes and methods common to all the instances included in the target graphic element; specifically, the length of the set is obtained by the modeling tool through analyzing the constructed set.

[0054] In the embodiments of the present application, when the graphic element type of the target graphic element is a basic type, the members of the target graphic element are the attributes associated with the graphic element type of the target graphic element; the basic types include: string, judgment (Boolean), date, and integer, etc.; the members corresponding to different basic types are different.

[0055] In the embodiments of the present application, when the graphic element type is "string" or "judgment (Boolean)" in the basic types, the members of the target graphic element include default values; when the graphic element type is the "date" type in the basic types, then the members of the target graphic element include start date, default date, and end date; when the graphic element type is an integer, the members of the target graphic element include the default value, maximum value, and minimum value of the target graphic element; when the graphic element type of the target graphic element is a basic type, the target graphic element is actually a value; multiple values can be configured for this value, and each value represents a different attribute; maximum value, minimum value, and / or default value can also be configured for this value.

[0056] For example, create an "integer" with a "maximum value of 9, a minimum value of 3, and a default value of 6"; when (x) is created, the value of the object is automatically assigned to 6; after addition (x+1) is performed on it, its value is 7; when it is multiplied (x*2), because it is set to a "maximum value of 9", although the calculated result is 14, its calculated value will still be 9; but no matter when, as long as it is not modified, the "maximum value, minimum value, and default value" of the main object (x) are its own three attributes.

[0057] In an embodiment of the present application, in any simulation model, multiple first target primitives and multiple second target primitives can be defined; and the first target primitive can also be a second target primitive; the number of attributes and methods corresponding to any primitive is not limited; and the members of any primitive are also configured with attributes and methods.

[0058] For example, in the wolf-sheep-grass simulation model, a first target primitive can be defined including grassland, wolf, sheep and grass; all members of the custom grassland can be defined including wolf, sheep and grass; the attributes of the custom wolf include hunger; the wolf's method includes eating grass; then when the grassland is selected as the first target primitive for expansion, all members under the grassland and the attributes and methods of each member can be selected.

[0059] Step S120, in response to the user's expansion operation on the first target primitive in the canvas area of the visual interactive interface, all members of the first target primitive are read from the configured primitive library, and all members of the first target primitive are visually displayed in the canvas area in the form of a floating frame.

[0060] In the embodiment of the present application, the expansion operation is a supplementary association operation. The user completes the expansion operation on the selected first target element by clicking on the first target element and then clicking on the supplementary association button at the top of the canvas area of the visual interactive interface.

[0061] In an embodiment of the present application, the primitive library can be customized by the user according to the user's actual needs or simulation scenarios; the user can also customize the primitives of a custom type and all members of the corresponding primitives, combined with the primitive library that comes with the modeling tool.

[0062] In an embodiment of the present application, when the members of the first target primitive are read from the configured primitive library and also have configured properties and methods, all members of the first target primitive and the corresponding properties and methods of each member are visually displayed in the canvas area in the form of a floating box.

[0063] Step S130: In response to the user's selection operation on the target member among all members in the floating box, generate the target member primitive of the target member, and display the target member primitive in the canvas area, so that the first target primitive and the target member primitive are displayed in the same layer.

[0064] In the embodiment of the present application, the floating box can be a tree-shaped floating box with a tick function or other charts with a tick function.

[0065] In the embodiment of the present application, the user determines the selected target member by ticking in the floating box. The target member is one or more members among all members. The user can select all or part of the members to be displayed as the target member according to actual needs.

[0066] For example, if there are 5 members of the target primitive of grassland, including grass, wolf, rabbit, sheep, and car; the user can only select grass as the target member, or select grass, wolf, rabbit, sheep, and car as the target member. The number of target members is less than or equal to the number of all members included in any first target primitive and is a positive integer.

[0067] In the embodiment of the present application, when the user selects the target member, the target member primitive of the corresponding target member will be displayed in the canvas area of the visual interaction interface. The target member primitive is a supplementary primitive of the model; the first target primitive is the basic primitive of the model.

[0068] In the embodiment of the present application, different member types correspond to different primitive shapes. The member types include attribute members and method members, and the primitive shapes of attribute members and method members are different.

[0069] In the embodiment of the present application, the target member primitive of the target member selected by the user is displayed in the canvas area, so that some attributes or methods and primitives of the complex first target primitive are displayed in the same layer, so that the user can more concisely and intuitively see the attributes and methods inside the primitive.

[0070] In the embodiment of the present application, after the target member primitive is displayed in the canvas area, the method further includes:

[0071] Match the first target relationship-related primitive corresponding to the primitive type of the first target primitive and the member type of the target member according to the configured different primitive types, different member types, and different relationship-related primitive comparison tables;

[0072] On the canvas area, connect the first target primitive and the target member primitive with the first target relationship-related primitive, so that the first target primitive, the target member primitive, and the first target relationship-related primitive form a whole and are displayed in the same layer.

[0073] In the embodiments of the present application, the user pre-configures a correspondence table of different primitive types, different member types, and different relationship-related primitives, so as to automatically match the corresponding first target relationship-related primitive for characterizing the relationship type between the first target primitive and the target member according to the primitive type of the first target primitive and the member type of the target member.

[0074] In the embodiments of the present application, the relationship types include: composition relationship, representation relationship, inheritance relationship, attribution relationship, consumption relationship, generation relationship, conditional relationship, call relationship, etc.

[0075] In the embodiments of the present application, the relationship-related primitives corresponding to different relationship types are different, that is, different relationships are represented by different graphic symbols.

[0076] For example, if the first target primitive of the grassland and its target member sheep have a composition relationship, then generate the relationship-related primitive corresponding to the composition relationship, and connect the first target primitive of the grassland and its target member sheep with the relationship-related primitive corresponding to the composition relationship.

[0077] In the embodiments of the present application, the method further includes:

[0078] In response to the user's selection operation on the second target primitive in the target scene view in the navigation area, display the second target primitive in the canvas area; obtain the configured second target relationship-related primitive for characterizing the relationship type between the second target primitive and the target member; display the second target relationship-related primitive in the canvas area; in the canvas area, use the second target relationship-related primitive to connect the second target primitive and the target member primitive, so that the second target primitive, the target member primitive, and the second target relationship-related primitive form a whole and are displayed in the same layer.

[0079] In the embodiments of the present application, there may be multiple target primitives in a simulation model at the same time. For example, the first target primitive of the grassland and the second target primitive of the desert; after displaying the target member primitive of the grass, which is the target member of the first target primitive of the grassland, in the canvas area; select the second target primitive of the desert through the navigation area to display it in the canvas area; at this time, the user can configure the relationship type between the second target primitive and the target member primitive according to actual needs, assuming it is a consumption relationship; at this time, the relationship-related primitive of the consumption relationship (i.e., the second target relationship-related primitive) can be generated, and the second target primitive of the desert and the target member primitive of the grass are connected by the second target relationship-related primitive; instead of establishing a relationship between the first target primitive and the second target primitive, the second target primitive and the target member primitive are associated, and the second target primitive can call the target member primitive; it realizes that a certain primitive in the layer establishes a direct association relationship or can be directly called with the methods or attributes subordinate to other primitives.

[0080] In one embodiment of the present application, the visual modeling method for graphic elements provided by the embodiments of the present application includes:

[0081] (1) First, a basic graphic element for supplementation (i.e., the first target graphic element) is required. Depending on the type, this graphic element may have basic attributes or user-defined methods, such as Figure 2 as shown;

[0082] (2) Use the "supplementary association" function (i.e., expansion operation) on this node to pop up a checkable tree diagram (i.e., floating box) for the user to select the supplementary members to be displayed on the current page. Depending on the type of this graphic element, the attributes and methods displayed in the tree diagram will also be different, such as Figure 3 as shown;

[0083] (3) Check the content to be supplemented and click OK. The checked content will be added to the current layer in the form of a graphic element (i.e., the target member graphic element of the target member), and will be connected to the basic graphic element with a specific association relationship (i.e., the relationship-related graphic element), such as Figure 4 as shown.

[0084] Corresponding to the above method, the embodiments of the present application also provide a visual modeling device for graphic elements, such as Figure 5 shown. The visual modeling device for graphic elements includes:

[0085] A display unit 510, configured to display a first target graphic element in a canvas area of the visual interaction interface in response to a user's selection operation on the first target graphic element in a target scene view in a navigation area of the visual interaction interface;

[0086] A display unit 520, configured to read all members of the first target graphic element from a configured graphic element library and visually display all members of the first target graphic element in the form of a floating box in the canvas area in response to a user's expansion operation on the first target graphic element in the canvas area of the visual interaction interface;

[0087] A generation unit 530, configured to generate a target member graphic element of the target member and display the target member graphic element in the canvas area in response to a user's selection operation on the target member among all members in the floating box, so that the first target graphic element and the corresponding target member graphic element are displayed in the same layer.

[0088] The functions of the functional units of the visual modeling device for graphic elements provided in the above embodiments of the present application can be implemented by the above method steps. Therefore, the specific working processes and beneficial effects of each unit in the visual modeling device for graphic elements provided in the embodiments of the present application will not be repeated here.

[0089] An embodiment of the present application further provides an electronic device, such as Figure 6 shown, including a processor 610, a communication interface 620, a memory 630, and a communication bus 640. Among them, the processor 610, the communication interface 620, and the memory 630 complete mutual communication through the communication bus 640.

[0090] The memory 630 is used to store computer programs;

[0091] When the processor 610 is used to execute the program stored on the memory 630, the following steps are implemented:

[0092] In response to the user's selection operation on the first target primitive under the target scene view in the navigation area of the visual interaction interface, display the first target primitive in the canvas area of the visual interaction interface;

[0093] In response to the user's expansion operation on the first target primitive in the canvas area of the visual interaction interface, read all members of the first target primitive from the configured primitive library, and visually display all members of the first target primitive in the canvas area in the form of a floating box;

[0094] In response to the user's selection operation on the target member among all members in the floating box, generate a target member primitive of the target member, and display the target member primitive in the canvas area, so that the first target primitive and the target member primitive are displayed in the same layer.

[0095] The above-mentioned communication bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity, only a thick line is used to represent it in the figure, but it does not mean that there is only one bus or one type of bus.

[0096] The communication interface is used for communication between the above-mentioned electronic device and other devices.

[0097] The memory may include a Random Access Memory (RAM), or may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0098] The above-mentioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0099] Since the implementation manners and beneficial effects of the components of the electronic device in the above embodiments for solving problems can be implemented by referring to the steps in the embodiments shown in Figure 1 Therefore, the specific working process and beneficial effects of the electronic device provided in the embodiments of the present application will not be repeated here.

[0100] In another embodiment provided by the present application, a computer-readable storage medium is further provided. Instructions are stored in the computer-readable storage medium. When it runs on a computer, it causes the computer to execute the visualization modeling method of the graphic element member described in any one of the above embodiments.

[0101] In another embodiment provided by the present application, a computer program product containing instructions is further provided. When it runs on a computer, it causes the computer to execute the visualization modeling method of the graphic element member described in any one of the above embodiments.

[0102] Those skilled in the art should understand that the embodiments in the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the embodiments in the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments in the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0103] Embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, such that the instructions executed by the processor of the computer or other programmable data processing device generate a means for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0104] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including an instruction means that implements the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0105] These computer program instructions can also be loaded onto a computer or other programmable data processing device, such that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.

[0106] Although the preferred embodiments in the embodiments of the present application have been described, those skilled in the art can make additional changes and modifications once they know the basic creative concepts. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.

[0107] Obviously, those skilled in the art can make various changes and variations to the embodiments in the embodiments of the present application without departing from the spirit and scope of the embodiments in the embodiments of the present application. Thus, if these modifications and variations of the embodiments in the embodiments of the present application fall within the scope of the claims of the embodiments of the present application and their equivalent technologies, the embodiments in the embodiments of the present application are also intended to include these changes and variations.

Claims

1. A visualization modeling method for graphic primitive members, characterized in that, Applied to a modeling tool adopting an object - oriented modeling method, the modeling tool includes a graphic element library; the graphic element library is used to store graphic elements and all members of the corresponding graphic elements; The members of any graphic element are used to characterize the attributes and methods of the corresponding graphic element, and the methods include: In response to a user's selection operation on a first target graphic element in a target scene view in the navigation area of the visual interaction interface, display the first target graphic element in the canvas area of the visual interaction interface; In response to a user's expansion operation on the first target graphic element in the canvas area of the visual interaction interface, read all members of the first target graphic element from the configured graphic element library, and visually display all members of the first target graphic element in the form of a floating box in the canvas area; In response to a user's selection operation on a target member among all members in the floating box, generate a target member graphic element of the target member, and display the target member graphic element in the canvas area so that the first target graphic element and the target member graphic element are displayed in the same layer.

2. The method according to claim 1, wherein Any graphic element corresponds to a graphic element type; any member corresponds to a member type; The graphic element types include: custom type, set type, and basic type.

3. The method according to claim 2, wherein When the graphic element type of the target graphic element is a custom type, the members of the target graphic element are obtained through custom settings.

4. The method according to claim 2, characterized in that, When the graphic element type of the target graphic element is a set type, any target graphic element contains multiple instances; The members of the target graphic element include: the length of the set and the attributes and methods common to all instances included in the target graphic element.

5. The method according to claim 2, wherein When the graphic element type of the target graphic element is a basic type, the members of the target graphic element are attributes associated with the graphic element type of the target graphic element.

6. The method according to claim 2, wherein After displaying the target member graphic element in the canvas area, the method further includes: Match a first target relationship - related graphic element corresponding to the graphic element type of the first target graphic element and the member type of the target member in a configured comparison table of different graphic element types, different member types, and different relationship - related graphic elements; wherein, the first target relationship - related graphic element is used to characterize the relationship type between the first target graphic element and the target member; On the canvas area, connect the first target graphic element and the target member graphic element with the first target relationship - related graphic element so that the first target graphic element, the target member graphic element, and the first target relationship - related graphic element form a whole and are displayed in the same layer.

7. The method according to claim 6, characterized in that, After generating the first target relationship - related graphic element, the method further includes: In response to a user's selection operation on a second target graphic element in a target scene view in the navigation area, display the second target graphic element in the canvas area; Obtain a second target relationship - related graphic element configured to characterize the relationship type between the second target graphic element and the target member; Display the second target relationship - related graphic element in the canvas area; On the canvas area, connect the second target primitive and the target member primitive by using the second target relationship-related primitive, so that the second target primitive, the target member primitive, and the second target relationship-related primitive form an integral whole and are displayed in the same layer.

8. A visualization modeling device for graphic primitive members, characterized in that Applied to a modeling tool that adopts an object-oriented modeling method, the modeling tool includes a primitive library; the primitive library is used to store primitives and all members of the corresponding primitives; The members of any primitive are used to characterize the attributes and methods of the corresponding primitive. The device includes: A display unit, configured to display the first target primitive in the canvas area of the visual interaction interface in response to a user's selection operation on the first target primitive in the target scene view in the navigation area of the visual interaction interface; A display unit, configured to read all members of the first target primitive from the configured primitive library in response to a user's expansion operation on the first target primitive in the canvas area of the visual interaction interface, and visually display all members of the first target primitive in the form of a floating box in the canvas area; A generation unit, configured to generate a target member primitive of the target member in response to a user's selection operation on the target member among all members in the floating box, and display the target member primitive in the canvas area, so that the first target primitive and the corresponding target member primitive are displayed in the same layer.

9. An electronic device, characterized in that, The electronic device includes a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete communication with each other through the communication bus; The memory is used to store a computer program; The processor is configured to implement the method according to any one of claims 1-7 when executing the program stored on the memory.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and the computer program implements the method according to any one of claims 1-7 when executed by the processor.