CN117311567A - Object data display method and device based on navigation tree, electronic equipment and medium - Google Patents

Object data display method and device based on navigation tree, electronic equipment and medium Download PDF

Info

Publication number
CN117311567A
CN117311567A CN202311237349.2A CN202311237349A CN117311567A CN 117311567 A CN117311567 A CN 117311567A CN 202311237349 A CN202311237349 A CN 202311237349A CN 117311567 A CN117311567 A CN 117311567A
Authority
CN
China
Prior art keywords
object data
navigation tree
service
business
tree
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311237349.2A
Other languages
Chinese (zh)
Inventor
武晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Inovance Technology Co Ltd
Original Assignee
Shenzhen Inovance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Inovance Technology Co Ltd filed Critical Shenzhen Inovance Technology Co Ltd
Priority to CN202311237349.2A priority Critical patent/CN117311567A/en
Publication of CN117311567A publication Critical patent/CN117311567A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04815Interaction with a metaphor-based environment or interaction object displayed as three-dimensional, e.g. changing the user viewpoint with respect to the environment or object
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a navigation tree-based object data display method, a device, electronic equipment and a medium, and relates to the technical field of computer application, wherein the navigation tree-based object data display method comprises the following steps: acquiring service object data corresponding to the three-dimensional model object data in each service module respectively; analyzing the business object data according to preset rules of the business modules to obtain hierarchical relations among the business objects in the business object data; and constructing business navigation trees respectively corresponding to the business object data according to the hierarchical relations so as to display the organization structure and attribute information among the business objects through the business navigation trees. The method and the device can overcome the technical defect that the classification management of the navigation tree of the service object is not clear through the self-adaptive construction scheme of the navigation tree, and promote the classification management of the navigation tree on the three-dimensional model object data and the service object data.

Description

Object data display method and device based on navigation tree, electronic equipment and medium
Technical Field
The present disclosure relates to the field of computer applications, and in particular, to a method and apparatus for displaying object data based on a navigation tree, an electronic device, and a computer readable storage medium.
Background
In the process of designing and displaying a model object by using a computer, there are two modes for displaying a three-dimensional model object by design class industrial software in general: the first is to draw the three-dimensional model in the view area, so that the model shape can be intuitively displayed to the user; the second is the organization relation display among the three-dimensional model objects, and the three-dimensional model object data and the corresponding attribute information are generally displayed in the form of a navigation tree.
However, when the three-dimensional model object is combined with the business scene, the information contained in the organization structure of the three-dimensional model object data is very complex, and contains a plurality of types of business objects in addition to the three-dimensional model object. In this case, the three-dimensional model object and various business objects are shown by the navigation tree, so that the overall organization structure is quite disordered, and the hierarchical relationship between the business objects is poor in definition.
Disclosure of Invention
The main object of the present application is to provide a method, an apparatus, an electronic device and a computer readable storage medium for displaying object data based on a navigation tree, which promote classification management of the navigation tree on three-dimensional model object data and business object data.
In order to achieve the above object, the present application provides a navigation tree-based object data display method, which includes:
acquiring service object data corresponding to the three-dimensional model object data in each service module respectively;
analyzing the business object data according to preset rules of the business modules to obtain hierarchical relations among the business objects in the business object data;
according to the hierarchical relations, constructing business navigation trees respectively corresponding to the business object data so as to display the organization structure and attribute information among the business objects through the business navigation trees
Optionally, the hierarchical relationship at least includes a parent-child relationship between each business object in each business object data;
the step of constructing the business navigation tree corresponding to each business object data according to each hierarchical relationship comprises the following steps:
determining the position of each business object in the navigation tree according to each father-son relationship;
establishing an initial navigation tree according to the position of each business object in the navigation tree;
and displaying attribute information of each service object in each initial navigation tree according to the navigation tree style rule respectively corresponding to each service module to obtain a service navigation tree respectively corresponding to each service object data.
Optionally, before the step of displaying the attribute information of each service object in each initial navigation tree according to the navigation tree style rule respectively corresponding to each service module, the method further includes:
and acquiring a navigation tree style rule input by a user through an interface control management page, wherein the navigation tree style rule at least comprises a basic control layout of a navigation tree and a service object needing to display attribute information in the navigation tree.
Optionally, after the step of constructing the service navigation tree corresponding to each service object data according to each hierarchical relationship, the method further includes:
associating each business navigation tree with a plurality of tag pages in a dialog box respectively;
responding to the click command received by the label page, and displaying a service navigation tree corresponding to the label page;
and displaying the nested reference relation between the business objects or the geometric objects through the hierarchical relation among the tree nodes in the business navigation tree.
Optionally, after the step of constructing the service navigation tree corresponding to each service object data according to each hierarchical relationship, the method further includes:
Displaying each service object and attribute information corresponding to the service object through tree nodes in the service navigation tree;
when an operation instruction corresponding to the tree node is received, inquiring a service event corresponding to the operation instruction according to a preset service event rule;
and executing the service event corresponding to the tree node at the interface corresponding to the service navigation tree.
Optionally, the step of querying the service event corresponding to the operation instruction according to a preset service event rule includes:
judging whether the operation instruction is associated with a custom service event in the service event rule, wherein the operation instruction is generated based on one operation of left click, right click and simultaneous click;
if yes, setting the custom service event as the service event corresponding to the operation instruction;
if not, setting the default business event as the business event corresponding to the operation instruction.
Optionally, the method further comprises:
sequentially establishing each tree node according to the organization relation among the geometric objects in the three-dimensional model object data so as to obtain a geometric navigation tree corresponding to the three-dimensional model object data;
Displaying the organization structure and attribute information among the geometric objects through the geometric navigation tree;
associating the geometric navigation tree with a tab page in a dialog box;
and responding to the click command received by the label page corresponding to the geometric navigation tree, and displaying the geometric navigation tree.
The application also provides an object data display device based on the navigation tree, which is applied to an object data display device based on the navigation tree, and comprises:
the data acquisition module is used for acquiring service object data corresponding to the three-dimensional model object data in each service module respectively;
the hierarchy analysis module is used for respectively analyzing the business object data according to the preset rules of the business modules so as to obtain the hierarchy relation among the business objects in the business object data;
and the navigation tree construction module is used for constructing the business navigation tree corresponding to the business object data respectively according to the hierarchical relations so as to display the organization structure and attribute information among the business objects through the business navigation tree.
The application also provides an electronic device, which is an entity device, and includes: the navigation tree-based object data presentation method comprises a memory, a processor and a program of the navigation tree-based object data presentation method stored on the memory and executable on the processor, wherein the program of the navigation tree-based object data presentation method can realize the steps of the navigation tree-based object data presentation method when being executed by the processor.
The present application also provides a computer-readable storage medium having stored thereon a program for implementing a navigation tree-based object data presentation method, which when executed by a processor implements the steps of the navigation tree-based object data presentation method as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a navigation tree based object data presentation method as described above.
In the method, firstly, business object data corresponding to three-dimensional model object data in business modules is obtained, then, the business object data are respectively analyzed according to preset rules of the business modules to obtain hierarchical relations among business objects in the business object data, and finally, business navigation trees corresponding to the business object data are constructed according to the hierarchical relations so as to display organization structures and attribute information among the business objects through the business navigation trees.
According to the technical scheme, the service object data is divided according to the service modules, the navigation tree is built in a self-adaptive mode, and different service navigation trees are used for displaying respectively, so that different service modules are used for displaying respectively, organization structure information and attribute information among the service objects in each service module can be clearly displayed in each service navigation tree, the technical defects that the hierarchical relationship of displaying three-dimensional model object data and service object data in the same navigation tree is unclear and the classification management of the service object navigation tree is ambiguous are overcome, and the classification management of the three-dimensional model object data and the service object data by the navigation tree is improved.
In addition, the technical scheme of the application can automatically construct the navigation tree according to the business object data of various different business modules, if a new business module is needed to be added, the analysis of the business object data of the newly added business module and the construction of the navigation module can be realized by only adding the preset rule of the business module, the workload of secondary development is small, the expansion and development of the business object data can be well adapted, and the good expansibility is realized.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a flowchart of a first embodiment of a navigation tree-based object data display method according to the present application;
FIG. 2 is a schematic diagram of the overall inventive concept in the navigation tree-based object data display method of the present application;
FIG. 3 is a schematic diagram of a display interface of a navigation tree in the navigation tree-based object data display method of the present application;
fig. 4 is a schematic structural diagram of an object data display device based on a navigation tree in an embodiment of the present application;
fig. 5 is a schematic device structure diagram of a hardware operating environment related to a navigation tree-based object data display method in an embodiment of the present application.
The implementation, functional features and advantages of the present application will be further described with reference to the accompanying drawings in conjunction with the embodiments.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the embodiments of the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the embodiments of the present application with unnecessary detail.
It should be noted that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different from that in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
It should also be appreciated that references to "one embodiment" or "some embodiments" or the like described in the specification of embodiments of the present application mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In the embodiment of the application, it should be noted that the method for displaying object data based on the navigation tree may be applied to a navigator of design class industrial software, where the object data includes three-dimensional model object data and business object data. In general, the navigator of the conventional design type industrial software has two modes for displaying model objects, the first mode is that a user can draw the three-dimensional model objects in a view area and intuitively display the model shape; the second is the presentation of the organization relationship between three-dimensional model objects, in which case model object data and attribute information are typically presented in the form of a navigational tree. Moreover, the interface interaction of the design class industrial software is the most basic user requirement, namely, a user can pick up the view area or the bottom object in the navigation tree through the mouse operation so as to implement the subsequent operation on the corresponding object. For design class software, three-dimensional model objects generally only contain build objects of the three-dimensional model, such as free curves, cubes; curved surfaces and solid, sub-parts, sub-assemblies, etc. However, when the information contained in the underlying object organization structure in the industrial software is very complex, for example, in addition to the three-dimensional model objects, a plurality of types of service objects are also contained, for example, if a certain cube represents a certain part in a service scene, etc., then in the service module of the service scene, each three-dimensional model object has a corresponding service object. In the prior art, the organization relation of the three-dimensional model object and the business objects of the three-dimensional model object in each business module are usually displayed in the navigation tree, the organization structure is disordered, and the hierarchical relation is unclear, so the technical scheme of the embodiment of the application puts forward new demands on the self-adaption of the navigation tree manager, namely, how to automatically divide the bottom object according to the business modules is considered, and the three-dimensional model object data and the business object data are displayed by using different navigation trees.
Firstly, the three-dimensional model object data comprises a plurality of three-dimensional model objects, each three-dimensional model object has an organization structure relationship, namely a father-son relationship, a brother parallel relationship and the like, each business module is a specific application of the three-dimensional model object data under different business scenes, for example, the three-dimensional model object data comprises a cube, in a certain business module, the cube is a brick, in the business module, the business object corresponding to the cube is a brick, and attribute information can comprise information such as names, sizes, weights, materials and the like. In addition, each business module has a preset rule input by a user in advance, and the preset rule is used for defining the hierarchical relationship and the father-son relationship between the business objects in each business module, for example, in a certain business module, the business object is a wall surface, wherein the business object comprises a child business object brick, the brick is a child business object of the wall surface, and the wall surface is a father business object of the brick. In the business module, the preset rules corresponding to the hierarchical relationship and the father-son relationship among all the business objects are set in advance, and when each business object in the business object data is analyzed, the hierarchical relationship among each business object can be determined according to the set preset rules, so that a business navigation tree with distinct hierarchy is constructed. On the other hand, the three-dimensional model object data further comprises a plurality of geometric objects, the organization relationship (i.e. parent-child relationship) between the geometric objects is already determined in the construction of the three-dimensional model object data, and the scheme of constructing the navigation tree according to the established three-dimensional model object data is already mature in the prior art, so that in the process of establishing the navigation tree of the three-dimensional model object data, the corresponding navigation tree can be generated according to the organization relationship between the three-dimensional model objects inherent in the three-dimensional model object data. According to the technical scheme, the organization structure and the attribute information of the service objects are respectively displayed through the service navigation trees respectively corresponding to different service modules, so that the service object data are clearer, and the readability of the navigation tree is stronger.
The method, the device, the electronic device and the computer readable storage medium for displaying object data based on a navigation tree provided in the embodiments of the present application are specifically described through the following embodiments, and the method for displaying object data based on a navigation tree in the embodiments of the present application is described first.
Referring to fig. 1, in a first embodiment of the navigation tree-based object data presentation method of the present application, the navigation tree-based object data presentation method includes:
step S10, obtaining service object data corresponding to the three-dimensional model object data in each service module respectively;
in the technical solution of the embodiment of the present application, referring to fig. 2, a basic framework of a navigator in design industrial software may be built by management based on a bottom basic tree and interface control, where the bottom basic tree management may automatically build a corresponding service navigation tree according to each geometrical object in the obtained three-dimensional model object data and a service object in service object data corresponding to each service module respectively. In one possible embodiment, as shown in fig. 2, in addition to building a business navigation tree, a corresponding geometric navigation tree may also be built according to each geometric object in the three-dimensional model object data.
As an example, a user may input object data to a navigator by opening a local folder to obtain a file corresponding to the locally stored three-dimensional model object data and business object data, thereby facilitating the underlying base tree management to parse it to generate a corresponding navigational tree.
As an example, service object data corresponding to the three-dimensional model object data input by the user in each service module can be obtained through a public tool in the navigator, wherein the three-dimensional model object data and the service object data both need to construct corresponding navigation trees.
Step S20, analyzing each business object data according to the preset rule of each business module to obtain the hierarchical relationship among each business object in each business object data;
it should be noted that, the underlying base tree management in the navigator may analyze the complex nested reference relationship between each service object according to a preset rule of each service module, so as to determine a hierarchical structure between each service object, where the preset rule mainly includes an organization form of each data object and a name of each service module that may be used in each service module.
As an example, the nested reference relationship between the plurality of service objects in the service object data may be parsed according to preset rules of the service module corresponding to the service object data, so as to obtain a hierarchical relationship between the service objects in the service object data of the service module, where the hierarchical relationship includes a parent-child node relationship and a sibling node relationship between the service objects.
Step S30, constructing business navigation trees respectively corresponding to the business object data according to the hierarchical relations so as to display the organization structure and attribute information among the business objects through the business navigation trees
It should be noted that, the interface control management in the navigator can also obtain the user-defined basic control layout setting rule and management for the navigation tree, can support the user to perform the user definition of different navigation tree styles, default events and user-defined events, and can define public tool classes.
The navigator framework in the embodiment of the application can adapt to any expansion of service object data, and meanwhile, the technical scheme of the embodiment of the application can also meet the requirement of customizing the navigation tree style according to the characteristics of the service module.
As an example, each service object in each service module may be respectively converted into a corresponding tree node based on a parent-child node relationship and a sibling node relationship between each service object in service object data corresponding to each service module, so as to generate service navigation trees corresponding to each service module, where each service navigation tree corresponds to a plurality of service objects in service object data of one service module, and the service navigation tree is used to display organization structure and attribute information between service objects.
The embodiment of the application provides an object data display method based on a navigation tree, which comprises the steps of firstly obtaining service object data of three-dimensional model object data corresponding to each service module respectively, then respectively analyzing each service object data according to preset rules of each service module to obtain a hierarchical relationship among each service object in each service object data, and finally constructing a service navigation tree corresponding to each service object data respectively according to each hierarchical relationship so as to display organization structure and attribute information among service objects through the service navigation tree. According to the technical scheme, the business object data are divided according to the business modules and are displayed by different business navigation trees, so that different business modules are displayed by different business navigation trees, the organization structure information and attribute information among the business objects in each business module can be clearly displayed in each business navigation tree, and the technical defect that the hierarchical relationship of the three-dimensional model object data and the business object data displayed in the same navigation tree is unclear is overcome.
In some possible embodiments, the hierarchical relationship at least includes a parent-child relationship between each service object in each service object data, and the step of constructing a service navigation tree corresponding to each service object data according to each hierarchical relationship to display an organization structure and attribute information between service objects through the service navigation tree may further include:
step S31, determining the position of each business object in the navigation tree according to each father-son relationship;
it should be noted that, in the technical solution of the embodiment of the present application, the three-dimensional model object data and the service object data of each service module are respectively displayed by using different navigation trees, and through this layout, the navigation trees respectively corresponding to the service modules can be better and independently displayed, so that the organization structure of the navigation tree and the attribute information of each service object in each tree node are clear and independent, and the readability of the navigation tree is greatly enhanced.
As an example, the position of each business object in the navigation tree may be determined according to the parent-child relationship and the sibling relationship between each business object in each business object data, where the position includes a root node, a tree node, and child nodes of each tree node, and it should be noted that in the navigation tree, a navigation tree with a multi-layer structure may be constructed according to the hierarchical relationship between each business object, and the number of layers of tree nodes in the navigation tree depends on the hierarchical relationship of the business objects.
Step S32, establishing an initial navigation tree according to the position of each business object in the navigation tree;
as an example, in the embodiment of the present application, each tree node may be sequentially built in layers according to a position of each service object in a navigation tree of a corresponding service module, so as to build an initial navigation tree corresponding to each service module, where the initial navigation tree is a navigation tree reflecting a hierarchical relationship between a plurality of service objects in each service object data.
And step S33, according to the navigation tree style rule respectively corresponding to each service module, the attribute information of each service object is displayed in each initial navigation tree, and the service navigation tree respectively corresponding to each service object data is obtained.
In the embodiment of the application, in the process of constructing the corresponding service navigation tree according to the hierarchical relationship between the service objects in the service object data, the position in the navigation tree is firstly determined directly according to the determined father-son relationship between the service objects, wherein the position can comprise a root node, a tree node, sub-nodes of the tree node and the like, and then the display effect of the service navigation tree is adjusted by combining with the navigation tree style rule of the service module, so that the generated service navigation tree accords with the navigation tree style rule defined by a user. According to the technical scheme, the self-defining construction of the navigation tree can be realized, different navigation tree styles can be designed aiming at different service modules, and attribute information displayed in the service navigation tree can meet the requirements of users.
As an example, in the embodiment of the present application, a navigation tree style rule corresponding to each service module may be obtained, and an initial navigation tree corresponding to each service module may be adjusted according to the navigation tree style rule to obtain a service navigation tree corresponding to each service object data, where the navigation tree style rule at least includes attribute information displayed by a service object in a navigation tree of each service module and a UI (User Interface) display form of the navigation tree, such as a font, a maximum layer number, a tree node expression form, and so on.
The style of the business navigation tree in the embodiment of the application can be customized based on the existing control, secondary development is not needed, development workload is saved, and additional development work is not needed for circulation and updating of data. It should be noted that the attribute information of each service object is embodied in the acquired service object data of each service module, where the service object data includes not only each service object but also attribute information corresponding to each service object, and in the process of constructing a corresponding service navigation tree according to the service object data, which service objects need to display the corresponding attribute information and which displayed attribute information dimensions include can be set according to a navigation tree style rule preset by a user, so as to generate a customized service navigation tree according to the needs of the user, and clearly display the structural hierarchy and attribute information between the service objects.
In some possible embodiments, before the step of displaying the attribute information of each service object in each initial navigation tree according to the navigation tree style rule respectively corresponding to each service module, the method may further include:
And step A10, acquiring a navigation tree style rule input by a user through an interface control management page, wherein the navigation tree style rule at least comprises a basic control layout of a navigation tree and a service object needing to display attribute information in the navigation tree.
In this embodiment of the present invention, a method for obtaining a navigation tree style rule before a step of displaying attribute information of each service object in each initial navigation tree according to a navigation tree style rule corresponding to each service module, where the navigation tree style rule corresponds to each service module one by one, that is, a navigation tree style of a service navigation tree generated by each different service module may be customized according to a user's requirement, and specifically, a basic control layout of the navigation tree and tree nodes corresponding to which service objects in the navigation tree have corresponding attribute information display in the navigation tree may be customized. The display of the navigation tree can be set in a self-defining mode according to the service module, the style of the navigation tree is more suitable for the type and style of the service object data in the service module, the readability of the navigation tree is improved, and the organization structure of each service object in the navigation tree is clearer.
In some possible embodiments, after the step of constructing a service navigation tree corresponding to each service object data according to each hierarchical relationship to display the organization structure and attribute information between service objects through the service navigation tree, the method may further include:
step S40, each business navigation tree is respectively associated with a plurality of label pages in the dialog box;
in this embodiment, a method for displaying each service navigation Tree through multiple Tab pages in a navigator after the service navigation Tree is generated is provided, specifically, referring to fig. 3, multiple Tab pages (Tab 1, tab2, etc.) are included in a navigation dialog box in an interface planning of the navigator, where each Tab is used to display own navigation Tree objects (Tree 1 and Tree 2), each navigation Tree object has own node, and each node corresponds to a basic data object (geometric object or service object).
As an example, the generated business navigation trees corresponding to the business object data may be respectively associated with the tab pages in the navigation dialog box in the navigator, where each tab page corresponds to one business navigation tree.
Step S50, responding to the click command received by the label page, and displaying a service navigation tree corresponding to the label page;
it should be noted that, the clicking instruction is an instruction input by the user through the mouse, that is, when the user needs to browse the tab page, the user clicks the tab page, and at this time, jumps to the page corresponding to the tab page to display the service navigation tree associated with the tab page.
As an example, when the user clicks on a tab page in the navigation dialog box through a mouse, the user may jump to the business navigation tree corresponding to the tab page.
Step S60, the nested referencing relation between the business objects or the geometric objects is displayed through the hierarchical relation among the tree nodes in the business navigation tree.
It should be noted that, in the embodiment of the present application, in response to a click command of a user on a tab page and displaying a corresponding service navigation tree, the service navigation tree of three-dimensional model object data under each service module is separately and independently displayed, and on the basis of designing different navigation tree styles for different service modules, a bottom object is divided according to the service modules, so that the organization structure and the hierarchical relationship of the bottom object are clearly displayed, which is also more beneficial to the new addition and update of the service modules, and is convenient for secondary expansion.
As an example, the service navigation tree includes multiple levels of tree nodes, each tree node corresponds to one underlying object, where the underlying object includes a service object, and a tree node hierarchical relationship in the service navigation tree is used to characterize a nested reference relationship between the underlying objects.
In some possible embodiments, after the step of constructing a service navigation tree corresponding to each service object data according to each hierarchical relationship to display the organization structure and attribute information between service objects through the service navigation tree, the method may further include:
step S70, each service object and the attribute information corresponding to the service object are displayed through tree nodes in the service navigation tree;
as an example, attribute information of a service object corresponding to a tree node of the service navigation tree may be displayed at the tree node, and a hierarchical structure between service objects may be displayed through a hierarchical relationship between the tree nodes of the service navigation tree.
Step S80, when an operation instruction corresponding to the tree node is received, inquiring a service event corresponding to the operation instruction according to a preset service event rule;
It should be noted that, in the embodiment of the present application, a method for performing interface interaction through an interface where a service navigation tree is located is provided, which specifically includes a step of enabling a user to pick up, through a mouse operation, a bottom object (i.e., a service object) corresponding to each tree node in the navigation tree, so as to implement a subsequent operation of the bottom object, where the subsequent operation may include a conventional operation of expanding attribute information, folding, expanding, right-key menu, deleting and viewing a tree node in the navigation tree such as nested reference information, and is not limited to the foregoing various operations.
As an example, when a tree node on the service navigation tree receives an operation instruction input by a user, a service event corresponding to the operation instruction is queried in a preset service event rule, wherein an action corresponding to the operation instruction at least comprises one of clicking, double clicking and dragging, and the service event at least comprises one of unfolding attribute information, folding, unfolding, right-click menu, deleting and viewing nested reference information.
And step S90, executing the service event corresponding to the tree node on the interface corresponding to the service navigation tree.
In the embodiment of the application, by providing the method for interaction between the service navigation tree and the user, the user can operate each bottom object in the service navigation tree according to actual requirements, so that the working requirements under more scenes are met. In addition, it should be noted that the operation instruction may be a click instruction input through a mouse, in the service event rule, each operation instruction corresponds to an individual service event, specifically, the service event rule may be stored in a two-dimensional mapping table to facilitate query, and the service is actually various subsequent operations.
In some possible embodiments, the step of querying the service event corresponding to the operation instruction according to a preset service event rule may further include:
step S81, judging whether the operation instruction is related to a custom service event in the service event rule, wherein the operation instruction is generated based on one operation of left click, right click and simultaneous click;
as an example, the business event rule stored in the navigator may be used to query whether the operation instruction has a user-defined business event input by the user, where the action corresponding to the operation instruction includes at least one of a left click, a right click, and a simultaneous click, and the business event includes at least one of expanding attribute information, dragging, zooming in, deleting, and viewing nested reference information.
Step S82, if yes, setting the self-defined business event as the business event corresponding to the operation instruction;
it should be noted that, the user-defined service event is a user-defined service event set by the user according to the personal requirement, so as to meet the user's own operation requirement, further conform to the user's operation habit, and improve the operation efficiency, for example, the user is used to right click to delete a tree node, so that the service event corresponding to "right click" can be set as deletion.
As an example, if the operation instruction is associated with a user-defined service event input by a user, the user-defined service event is set as a service event corresponding to the operation instruction, and the user-defined service event is executed.
Step S83, if not, setting the default business event as the business event corresponding to the operation instruction.
As an example, if the operation instruction is not associated with the user-defined service event input by the user, setting a default service event corresponding to the operation instruction as the service event corresponding to the operation instruction, and executing the default service event.
In the embodiment of the application, a method for a user to customize a service event corresponding to an operation instruction is provided, and the user can set the operation instruction input to a tree node in a navigation tree to be a service event commonly used by the user according to own needs, so that when each tree node in the navigation tree executes subsequent operation, the method is more in line with own operation habit and event service logic. Specifically, the user-defined event business logic input by the user can be received through the interface, and if the user does not set a corresponding business event for a certain operation instruction, the default business event is executed according to the default business logic.
In some possible embodiments, the navigation tree-based object data presentation method may further include:
step B10, sequentially establishing each tree node according to the organization relation among the geometric objects in the three-dimensional model object data so as to obtain a geometric navigation tree corresponding to the three-dimensional model object data;
in the method for displaying object data based on the navigation tree, besides establishing the service navigation tree corresponding to the service object data of each service module, a geometric navigation tree corresponding to the three-dimensional model object data can be established, and the geometric navigation tree and the service navigation tree are displayed separately, so that the logic structure of the lower-layer object of the object data with different dimensions in the object data can be more clearly and geographically cleared. Specifically, the construction process of the geometric navigation tree is similar to that of the business navigation tree, and reference may be made to the construction process of the business navigation tree in the foregoing, which is not described herein.
Step B20, displaying the organization structure and attribute information among the geometric objects through the geometric navigation tree;
it should be noted that, the organization structure and attribute information between the geometric objects displayed by the geometric navigation tree are the same as those between the business objects displayed by the business navigation tree, and are the hierarchical structure displayed by the tree nodes of the multi-layer structure, and the attribute information corresponding to the geometric objects of each tree node is displayed by the dialog box of the suffix of each tree node, and the attribute information may include information such as display, hiding, color, etc.
Step B30, associating the geometric navigation tree with a tab page in a dialog box;
it should be noted that, the tab page associated with the geometric navigation tree may be located in the same dialog box with the tab page associated with each service navigation tree, where each tab page exists in parallel, so that when a user needs to browse, the user jumps to a corresponding page and displays the geometric navigation tree, and the hierarchical relationship and attribute information between each geometric object in the geometric navigation tree are displayed more clearly.
And step B40, responding to the click command received by the label page corresponding to the geometric navigation tree, and displaying the geometric navigation tree.
In this embodiment of the present application, the click command is a command input by the user through the mouse, that is, when the user needs to browse the tab page, the user clicks the tab page, and at this time, jumps to the page corresponding to the tab page to display the geometric navigation tree associated with the tab page.
The embodiment of the application provides an object data display method based on a navigation tree, which comprises the steps of firstly obtaining service object data corresponding to each service module by three-dimensional model object data, respectively analyzing each service object data according to preset rules of each service module to obtain hierarchical relations among service objects in each service object data, and finally constructing service navigation trees corresponding to each service object data respectively according to the hierarchical relations so as to display organization structures and attribute information among service objects through the service navigation trees.
In addition, the technical scheme of the embodiment of the application can automatically construct the navigation tree according to the business object data of various business modules, if a new business module is needed to be added, the analysis and the construction of the navigation module on the business object data of the new business module can be realized by only adding the preset rule of the business module, the workload of secondary development is small, the expansion and the development of the business object data can be well adapted, and the method has good expansibility. In addition, the technical scheme of the embodiment of the application can design different navigation tree patterns aiming at different service modules, and support the customization of the navigation tree patterns and the customization of service events so as to support secondary development.
In addition, the embodiment of the application further provides a navigation tree-based object data display device, which is applied to a navigation tree-based object data display device, and referring to fig. 4, the navigation tree-based object data display device includes:
the data acquisition module 101 is configured to acquire service object data corresponding to the three-dimensional model object data in each service module respectively;
the hierarchy analysis module 102 is configured to analyze each service object data according to a preset rule of each service module, so as to obtain a hierarchy relationship between each service object in each service object data;
The navigation tree construction module 103 is configured to construct a service navigation tree corresponding to each service object data according to each hierarchical relationship, so as to display an organization structure and attribute information between service objects through the service navigation tree.
Optionally, the hierarchical relationship includes at least a parent-child relationship between each business object in each business object data, and the navigation tree construction module 103 is further configured to:
determining the position of each business object in the navigation tree according to each father-son relationship;
establishing an initial navigation tree according to the position of each business object in the navigation tree;
and displaying attribute information of each service object in each initial navigation tree according to the navigation tree style rule respectively corresponding to each service module to obtain a service navigation tree respectively corresponding to each service object data.
Optionally, the navigation tree-based object data display device further includes a style setting module, and the style setting module is further configured to:
and acquiring a navigation tree style rule input by a user through an interface control management page, wherein the navigation tree style rule at least comprises a basic control layout of a navigation tree and a service object needing to display attribute information in the navigation tree.
Optionally, the object data display device based on the navigation tree further includes a display paging display module, and the paging display module is further configured to:
associating each business navigation tree with a plurality of tag pages in a dialog box respectively;
responding to the click command received by the label page, and displaying a service navigation tree corresponding to the label page;
and displaying the nested reference relation between the business objects or the geometric objects through the hierarchical relation among the tree nodes in the business navigation tree.
Optionally, the object data display device based on the navigation tree further comprises an interaction module, and the interaction module is further used for:
displaying each service object and attribute information corresponding to the service object through tree nodes in the service navigation tree;
when an operation instruction corresponding to the tree node is received, inquiring a service event corresponding to the operation instruction according to a preset service event rule;
and executing the service event corresponding to the tree node at the interface corresponding to the service navigation tree.
Optionally, the interaction module is further configured to:
judging whether the operation instruction is associated with a custom service event in the service event rule, wherein the operation instruction is generated based on one operation of left click, right click and simultaneous click;
If yes, setting the custom service event as the service event corresponding to the operation instruction;
if not, setting the default business event as the business event corresponding to the operation instruction.
Optionally, the object data display device based on the navigation tree is further configured to:
sequentially establishing each tree node according to the organization relation among the geometric objects in the three-dimensional model object data so as to obtain a geometric navigation tree corresponding to the three-dimensional model object data;
displaying the organization structure and attribute information among the geometric objects through the geometric navigation tree;
associating the geometric navigation tree with a tab page in a dialog box;
and responding to the click command received by the label page corresponding to the geometric navigation tree, and displaying the geometric navigation tree.
The object data display device based on the navigation tree, which is provided by the application, solves the technical problem of poor readability when displaying the three-dimensional model object data and the business object data through the navigation tree by adopting the object data display method based on the navigation tree in the embodiment. Compared with the prior art, the beneficial effects of the object data display device based on the navigation tree provided by the embodiment of the application are the same as those of the object data display method based on the navigation tree provided by the embodiment, and other technical features in the object data display device based on the navigation tree are the same as those disclosed in the method of the previous embodiment, so that details are not repeated here.
In addition, the embodiment of the application also provides electronic equipment, which comprises: at least one processor; and a memory communicatively linked to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the object data presentation method based on the navigation tree in the first embodiment.
Referring now to fig. 5, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistant, personal digital assistants), PADs (tablet computers), PMPs (Portable Media Player, portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic apparatus may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.) that may perform various appropriate actions and processes according to a program stored in a read only memory 1002 (ROM) or a program loaded from a storage device 1003 into a random access memory 1004 (RAM, random access memory). In the RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1004, the ROM1002, and the RAM1004 are connected to each other by a bus 1005. An input/output (I/O) interface 1006 is also linked to bus 1005.
In general, the following systems may be linked to the I/O interface 1006: input devices 1007 including, for example, a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, and the like; an output device 1008 including, for example, a liquid crystal display (LCD, liquid crystal display), a speaker, a vibrator, and the like; storage device 1003 including, for example, a magnetic tape, a hard disk, and the like; and communication means 1009. The communication means 1009 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While electronic devices having various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from ROM. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by a processing device.
The electronic equipment provided by the application adopts the object data display method based on the navigation tree in the embodiment, so that the technical problem of poor readability when the three-dimensional model object data and the business object data are displayed through the navigation tree is solved. Compared with the prior art, the electronic device provided in the embodiment of the present application has the same beneficial effects as the object data display method based on the navigation tree provided in the first embodiment, and other technical features in the electronic device are the same as the features disclosed in the method of the previous embodiment, which are not described in detail herein.
In addition, the embodiment of the application further provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, and a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the method for displaying object data based on the navigation tree provided by any embodiment is implemented.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
While the preferred embodiments of the present application have been described in detail, the embodiments are not limited to the above-described embodiments, and various equivalent modifications and substitutions can be made by those skilled in the art without departing from the spirit of the embodiments, and these equivalent modifications and substitutions are intended to be included in the scope of the embodiments of the present application as defined in the appended claims.

Claims (10)

1. The object data display method based on the navigation tree is characterized by comprising the following steps of:
acquiring service object data corresponding to the three-dimensional model object data in each service module respectively;
analyzing the business object data according to preset rules of the business modules to obtain hierarchical relations among the business objects in the business object data;
according to the hierarchical relations, constructing business navigation trees respectively corresponding to the business object data so as to display the organization structure and attribute information among the business objects through the business navigation trees
2. The navigation tree based object data presentation method of claim 1, wherein the hierarchical relationship includes at least a parent-child relationship between each business object in each business object data;
The step of constructing the business navigation tree corresponding to each business object data according to each hierarchical relationship comprises the following steps:
determining the position of each business object in the navigation tree according to each father-son relationship;
establishing an initial navigation tree according to the position of each business object in the navigation tree;
and displaying attribute information of each service object in each initial navigation tree according to the navigation tree style rule respectively corresponding to each service module to obtain a service navigation tree respectively corresponding to each service object data.
3. The method for displaying object data based on a navigation tree according to claim 2, wherein before the step of displaying attribute information of each of the service objects in each of the initial navigation trees according to the navigation tree style rule respectively corresponding to each of the service modules, the method further comprises:
and acquiring a navigation tree style rule input by a user through an interface control management page, wherein the navigation tree style rule at least comprises a basic control layout of a navigation tree and a service object needing to display attribute information in the navigation tree.
4. The method for displaying object data based on a navigation tree according to claim 1, wherein after said step of constructing a business navigation tree corresponding to each of said business object data according to each of said hierarchical relationships, said method further comprises:
Associating each business navigation tree with a plurality of tag pages in a dialog box respectively;
responding to the click command received by the label page, and displaying a service navigation tree corresponding to the label page;
and displaying the nested reference relation between the business objects or the geometric objects through the hierarchical relation among the tree nodes in the business navigation tree.
5. The navigation tree-based object data presentation method of any one of claims 1 to 4, wherein after the step of constructing a business navigation tree to which each of the business object data corresponds, according to each of the hierarchical relationships, the method further comprises:
displaying each service object and attribute information corresponding to the service object through tree nodes in the service navigation tree;
when an operation instruction corresponding to the tree node is received, inquiring a service event corresponding to the operation instruction according to a preset service event rule;
and executing the service event corresponding to the tree node at the interface corresponding to the service navigation tree.
6. The method for displaying object data based on a navigation tree according to claim 5, wherein the step of querying the service event corresponding to the operation instruction according to a preset service event rule comprises:
Judging whether the operation instruction is associated with a custom service event in the service event rule, wherein the operation instruction is generated based on one operation of left click, right click and simultaneous click;
if yes, setting the custom service event as the service event corresponding to the operation instruction;
if not, setting the default business event as the business event corresponding to the operation instruction.
7. The navigation tree based object data presentation method of claim 1, wherein the method further comprises:
sequentially establishing each tree node according to the organization relation among the geometric objects in the three-dimensional model object data so as to obtain a geometric navigation tree corresponding to the three-dimensional model object data;
displaying the organization structure and attribute information among the geometric objects through the geometric navigation tree;
associating the geometric navigation tree with a tab page in a dialog box;
and responding to the click command received by the label page corresponding to the geometric navigation tree, and displaying the geometric navigation tree.
8. A navigational tree-based object data presentation device, the navigational tree-based object data presentation device comprising:
The data acquisition module is used for acquiring service object data corresponding to the three-dimensional model object data in each service module respectively;
the hierarchy analysis module is used for respectively analyzing the business object data according to the preset rules of the business modules so as to obtain the hierarchy relation among the business objects in the business object data;
and the navigation tree construction module is used for constructing the business navigation tree corresponding to the business object data respectively according to the hierarchical relations so as to display the organization structure and attribute information among the business objects through the business navigation tree.
9. An electronic device, the electronic device comprising:
at least one processor; the method comprises the steps of,
a memory communicatively linked to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the navigational tree based object data presentation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a program implementing a navigation tree-based object data presentation method is stored, the program implementing the navigation tree-based object data presentation method being executed by a processor to implement the steps of the navigation tree-based object data presentation method according to any one of claims 1 to 7.
CN202311237349.2A 2023-09-22 2023-09-22 Object data display method and device based on navigation tree, electronic equipment and medium Pending CN117311567A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311237349.2A CN117311567A (en) 2023-09-22 2023-09-22 Object data display method and device based on navigation tree, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311237349.2A CN117311567A (en) 2023-09-22 2023-09-22 Object data display method and device based on navigation tree, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN117311567A true CN117311567A (en) 2023-12-29

Family

ID=89259630

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311237349.2A Pending CN117311567A (en) 2023-09-22 2023-09-22 Object data display method and device based on navigation tree, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN117311567A (en)

Similar Documents

Publication Publication Date Title
US8281238B2 (en) System, method and computer program for creating and manipulating data structures using an interactive graphical interface
US9336267B2 (en) Method and system for navigation and visualization of data in relational and/or multidimensional databases
JP4812337B2 (en) Method and apparatus for generating a form using a form type
CN105229678B (en) Process modeling and interface
JP4856237B2 (en) Declarative definitions that allow graphic designers to be reused
US11093693B2 (en) Hierarchical navigation control
US8108789B2 (en) Information processing device, user interface method, and information storage medium
US20100083172A1 (en) Method and system for generating and displaying an interactive dynamic list view of multiply connected objects
US20120120086A1 (en) Interactive and Scalable Treemap as a Visualization Service
CN104216691A (en) Application creating method and device
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
CN108958731B (en) Application program interface generation method, device, equipment and storage medium
US11093548B1 (en) Dynamic graph for time series data
US5479589A (en) Object-oriented system for selecting a graphic image on a display
RU2679971C2 (en) Implementation of access to semantic content in development system
CN116301785A (en) Method and device for realizing custom text editor component
CN117311567A (en) Object data display method and device based on navigation tree, electronic equipment and medium
CN115691772A (en) Operation visualization system and corresponding computer device and storage medium
CN114327395A (en) Webpage design method, device, computer equipment, storage medium and product
CN110908647A (en) Object variable presenting method, device, terminal and storage medium for building block programming
US11593410B1 (en) User-defined groups of graphical objects
US20230325049A1 (en) Legend of graphical objects
KR101526263B1 (en) Computer device and method for managing configuration thereof
WO2016205519A1 (en) Hybrid map drawing display
US10032203B2 (en) Dynamic property surfacing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination